CARTA Backend
The backend component of CARTA
Loading...
Searching...
No Matches
carta::RegionState Struct Reference

#include <RegionState.h>

Collaboration diagram for carta::RegionState:
[legend]

Public Member Functions

 RegionState ()
 
 RegionState (int ref_file_id_, CARTA::RegionType type_, const std::vector< CARTA::Point > &control_points_, float rotation_)
 
bool operator== (const RegionState &rhs)
 
bool operator!= (const RegionState &rhs)
 
bool RegionDefined ()
 
bool RegionChanged (const RegionState &rhs)
 
bool PointsChanged (const RegionState &rhs)
 
bool IsPoint ()
 
bool IsLineType ()
 
bool IsBox ()
 
bool IsRotbox ()
 
bool IsAnnotation ()
 
bool GetRectangleCorners (casacore::Vector< casacore::Double > &x, casacore::Vector< casacore::Double > &y, bool apply_rotation=true)
 
std::string GetLineRegionName ()
 

Public Attributes

int reference_file_id
 
CARTA::RegionType type
 
std::vector< CARTA::Point > control_points
 
float rotation
 

Constructor & Destructor Documentation

◆ RegionState() [1/2]

carta::RegionState::RegionState ( )
inline

◆ RegionState() [2/2]

carta::RegionState::RegionState ( int  ref_file_id_,
CARTA::RegionType  type_,
const std::vector< CARTA::Point > &  control_points_,
float  rotation_ 
)
inline

Member Function Documentation

◆ GetLineRegionName()

std::string carta::RegionState::GetLineRegionName ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetRectangleCorners()

bool carta::RegionState::GetRectangleCorners ( casacore::Vector< casacore::Double > &  x,
casacore::Vector< casacore::Double > &  y,
bool  apply_rotation = true 
)
inline
Here is the caller graph for this function:

◆ IsAnnotation()

bool carta::RegionState::IsAnnotation ( )
inline
Here is the caller graph for this function:

◆ IsBox()

bool carta::RegionState::IsBox ( )
inline
Here is the caller graph for this function:

◆ IsLineType()

bool carta::RegionState::IsLineType ( )
inline
Here is the caller graph for this function:

◆ IsPoint()

bool carta::RegionState::IsPoint ( )
inline
Here is the caller graph for this function:

◆ IsRotbox()

bool carta::RegionState::IsRotbox ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator!=()

bool carta::RegionState::operator!= ( const RegionState rhs)
inline
Here is the call graph for this function:

◆ operator==()

bool carta::RegionState::operator== ( const RegionState rhs)
inline
Here is the call graph for this function:

◆ PointsChanged()

bool carta::RegionState::PointsChanged ( const RegionState rhs)
inline
Here is the caller graph for this function:

◆ RegionChanged()

bool carta::RegionState::RegionChanged ( const RegionState rhs)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ RegionDefined()

bool carta::RegionState::RegionDefined ( )
inline
Here is the caller graph for this function:

Member Data Documentation

◆ control_points

std::vector<CARTA::Point> carta::RegionState::control_points

◆ reference_file_id

int carta::RegionState::reference_file_id

◆ rotation

float carta::RegionState::rotation

◆ type

CARTA::RegionType carta::RegionState::type

The documentation for this struct was generated from the following file: