#include <roast.h>
Public Member Functions | |
Ellipse (EqAstCoord rmaxextent, double rminextent) | |
virtual | ~Ellipse () |
virtual void | WriteRegion (std::string &file) const |
EqAstCoord | GetRegRMaxExtent () const |
double | GetRegRMinExtent () const |
virtual std::string | GetRegionShape () const |
void | SetRMaxExtent (EqAstCoord rmaxextent) |
void | SetRMaxExtent (double RMinExtent) |
virtual std::vector< AstroObject > | GetInObjects (AstroObject const &filter) const |
virtual bool | ExecuteEvent (AstroObject &ConditionObject) const |
virtual void | PopulateRegion () |
virtual void | Clear () |
![]() | |
Region (EqAstCoord centre) | |
virtual | ~Region () |
EqAstCoord | GetRegCentre () const |
void | SetRegCentre (EqAstCoord centre) |
virtual void | WriteRegion (std::string const &file)=0 |
virtual bool | ExecuteEvent (AstroObject const &ConditionObject) const =0 |
Public Attributes | |
std::vector< AstroObject > | EllipseContainer |
Protected Attributes | |
EqAstCoord | RMaxExtent |
double | RMinExtent |
std::string | RegionShape |
![]() | |
EqAstCoord | Centre |
Once the region is created can be selected its type
ROAst::Ellipse::Ellipse | ( | EqAstCoord | rmaxextent, |
double | rminextent | ||
) |
A container with the astronomical object of the ellipse
|
virtual |
Creates an elliptic region
|
virtual |
local mathod to project the objects on the region populating its container.
Implements ROAst::Region.
|
virtual |
Local method to extract the all the astronomical objects specified by filter present in the selected region
|
virtual |
Changes RMinExtent
Implements ROAst::Region.
|
virtual |
Retruns RMinExtent
Implements ROAst::Region.
EqAstCoord ROAst::Ellipse::GetRegRMaxExtent | ( | ) | const |
Local method to write in a file the selected region
double ROAst::Ellipse::GetRegRMinExtent | ( | ) | const |
Retruns RMaxExtent
|
virtual |
Local method to return true if the ConditionObject is found in the region
Implements ROAst::Region.
void ROAst::Ellipse::SetRMaxExtent | ( | EqAstCoord | rmaxextent | ) |
Local method to return the region shape
void ROAst::Ellipse::SetRMaxExtent | ( | double | RMinExtent | ) |
Changes RMaxExtent
|
virtual |
Destructor
std::vector<AstroObject> ROAst::Ellipse::EllipseContainer |
The shape of the region
|
protected |
Min radius of the ellipse
|
protected |
One end point of the max radius of the ellipse