ROAst
 All Classes Functions Variables Enumerations
Public Member Functions | Protected Attributes | List of all members
ROAst::Region Class Referenceabstract
Inheritance diagram for ROAst::Region:
Inheritance graph
[legend]
Collaboration diagram for ROAst::Region:
Collaboration graph
[legend]

Public Member Functions

 Region (EqAstCoord centre)
 
virtual ~Region ()
 
EqAstCoord GetRegCentre () const
 
void SetRegCentre (EqAstCoord centre)
 
virtual void WriteRegion (std::string const &file)=0
 
virtual std::vector< AstroObjectGetInObjects (AstroObject const &filter) const =0
 
virtual bool ExecuteEvent (AstroObject const &ConditionObject) const =0
 
virtual void PopulateRegion ()=0
 
virtual void Clear ()=0
 
virtual std::string GetRegionShape () const =0
 

Protected Attributes

EqAstCoord Centre
 

Constructor & Destructor Documentation

ROAst::Region::Region ( EqAstCoord  centre)

Centre of the region

virtual ROAst::Region::~Region ( )
virtual

Set the Centre of the region

Member Function Documentation

virtual void ROAst::Region::Clear ( )
pure virtual

Project the objects on the region populating its container.

Implemented in ROAst::Point, ROAst::Line, ROAst::Box, ROAst::Circle, and ROAst::Ellipse.

virtual bool ROAst::Region::ExecuteEvent ( AstroObject const &  ConditionObject) const
pure virtual

Extracts the all the astronomical objects specified by filter present in the selected region

Implemented in ROAst::Point, ROAst::Line, ROAst::Box, and ROAst::Circle.

virtual std::vector<AstroObject> ROAst::Region::GetInObjects ( AstroObject const &  filter) const
pure virtual

Writes to a file the selected region

Implemented in ROAst::Line, ROAst::Box, ROAst::Circle, and ROAst::Ellipse.

EqAstCoord ROAst::Region::GetRegCentre ( ) const

Destructor

virtual std::string ROAst::Region::GetRegionShape ( ) const
pure virtual

Clears the region, which can then be reused.

Implemented in ROAst::Point, ROAst::Line, ROAst::Box, ROAst::Circle, and ROAst::Ellipse.

virtual void ROAst::Region::PopulateRegion ( )
pure virtual

Returns true if the ConditionObject is found in the region

Implemented in ROAst::Point, ROAst::Line, ROAst::Box, ROAst::Circle, and ROAst::Ellipse.

void ROAst::Region::SetRegCentre ( EqAstCoord  centre)

Returns Centre - position of centre

virtual void ROAst::Region::WriteRegion ( std::string const &  file)
pure virtual

Returns Centre - position of centre


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