casa
5.7.0-16
|
#include <RegionTool.h>
Public Member Functions | |
State (WorldCanvas *wc, double X, double Y) | |
void | insert (RegionTool *tool, viewer::Region *region, const viewer::region::PointInfo &state) |
unsigned int | count (viewer::region::PointLocation state) |
get the number of regions in a particular state More... | |
bool | exists (viewer::Region *) const |
viewer::region::region_list_type & | regions () |
get the number of regions by a specific tool More... | |
viewer::region::region_list_type & | regions (RegionTool *tool) |
std::shared_ptr < viewer::region::region_list_type > | regions (viewer::region::PointLocation loc, viewer::region::RegionSelect select) |
viewer::region::PointInfo | state (viewer::Region *region) |
double | x () const |
double | y () const |
WorldCanvas * | wc () |
void | refresh () |
~State () | |
Private Types | |
typedef std::map< RegionTool *, viewer::region::region_list_type > | tool_regions_type |
typedef std::map < viewer::region::PointLocation, std::shared_ptr < viewer::region::region_list_type > > | state_count_type |
Private Member Functions | |
std::shared_ptr < viewer::region::region_list_type > | filter (std::shared_ptr< viewer::region::region_list_type >, viewer::region::RegionSelect) |
void * | operator new (size_t) |
State (const State &) | |
State () | |
Private Attributes | |
WorldCanvas * | wc_ |
double | x_ |
double | y_ |
unsigned int | refresh_count |
region_map_type | state_map |
tool_regions_type | tool_map |
state_count_type | count_map |
viewer::region::region_list_type | all_regions |
viewer::region::region_list_type | default_region_list |
Definition at line 45 of file RegionTool.h.
|
private |
Definition at line 88 of file RegionTool.h.
|
private |
Definition at line 87 of file RegionTool.h.
|
inline |
Definition at line 47 of file RegionTool.h.
casa::RegionTool::State::~State | ( | ) |
|
inlineprivate |
Definition at line 84 of file RegionTool.h.
|
inlineprivate |
Definition at line 85 of file RegionTool.h.
unsigned int casa::RegionTool::State::count | ( | viewer::region::PointLocation | state | ) |
get the number of regions in a particular state
bool casa::RegionTool::State::exists | ( | viewer::Region * | ) | const |
|
private |
void casa::RegionTool::State::insert | ( | RegionTool * | tool, |
viewer::Region * | region, | ||
const viewer::region::PointInfo & | state | ||
) |
|
private |
|
inline |
Definition at line 72 of file RegionTool.h.
References refresh_count.
|
inline |
get the number of regions by a specific tool
Definition at line 54 of file RegionTool.h.
References all_regions.
viewer::region::region_list_type& casa::RegionTool::State::regions | ( | RegionTool * | tool | ) |
std::shared_ptr<viewer::region::region_list_type> casa::RegionTool::State::regions | ( | viewer::region::PointLocation | loc, |
viewer::region::RegionSelect | select | ||
) |
viewer::region::PointInfo casa::RegionTool::State::state | ( | viewer::Region * | region | ) |
|
inline |
Definition at line 68 of file RegionTool.h.
References wc_.
|
inline |
Definition at line 62 of file RegionTool.h.
References x_.
|
inline |
Definition at line 65 of file RegionTool.h.
References y_.
|
private |
Definition at line 97 of file RegionTool.h.
Referenced by regions().
|
private |
Definition at line 96 of file RegionTool.h.
|
private |
Definition at line 98 of file RegionTool.h.
|
private |
Definition at line 92 of file RegionTool.h.
Referenced by refresh().
|
private |
Definition at line 94 of file RegionTool.h.
|
private |
Definition at line 95 of file RegionTool.h.
|
private |
Definition at line 90 of file RegionTool.h.
Referenced by wc().
|
private |
Definition at line 91 of file RegionTool.h.
Referenced by x().
|
private |
Definition at line 91 of file RegionTool.h.
Referenced by y().