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< AstroObject > | GetInObjects (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 |
ROAst::Region::Region | ( | EqAstCoord | centre | ) |
Centre of the region
|
virtual |
Set the Centre of the region
|
pure virtual |
Project the objects on the region populating its container.
Implemented in ROAst::Point, ROAst::Line, ROAst::Box, ROAst::Circle, and ROAst::Ellipse.
|
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.
|
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
|
pure virtual |
Clears the region, which can then be reused.
Implemented in ROAst::Point, ROAst::Line, ROAst::Box, ROAst::Circle, and ROAst::Ellipse.
|
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
|
pure virtual |
Returns Centre - position of centre