ROAst
 All Classes Functions Variables Enumerations
Public Member Functions | Public Attributes | Protected Attributes | List of all members
ROAst::Ellipse Class Reference

#include <roast.h>

Inheritance diagram for ROAst::Ellipse:
Inheritance graph
[legend]
Collaboration diagram for ROAst::Ellipse:
Collaboration graph
[legend]

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< AstroObjectGetInObjects (AstroObject const &filter) const
 
virtual bool ExecuteEvent (AstroObject &ConditionObject) const
 
virtual void PopulateRegion ()
 
virtual void Clear ()
 
- Public Member Functions inherited from ROAst::Region
 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< AstroObjectEllipseContainer
 

Protected Attributes

EqAstCoord RMaxExtent
 
double RMinExtent
 
std::string RegionShape
 
- Protected Attributes inherited from ROAst::Region
EqAstCoord Centre
 

Detailed Description

Once the region is created can be selected its type

Constructor & Destructor Documentation

ROAst::Ellipse::Ellipse ( EqAstCoord  rmaxextent,
double  rminextent 
)

A container with the astronomical object of the ellipse

virtual ROAst::Ellipse::~Ellipse ( )
virtual

Creates an elliptic region

Member Function Documentation

virtual void ROAst::Ellipse::Clear ( )
virtual

local mathod to project the objects on the region populating its container.

Implements ROAst::Region.

virtual bool ROAst::Ellipse::ExecuteEvent ( AstroObject ConditionObject) const
virtual

Local method to extract the all the astronomical objects specified by filter present in the selected region

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

Changes RMinExtent

Implements ROAst::Region.

virtual std::string ROAst::Ellipse::GetRegionShape ( ) const
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 void ROAst::Ellipse::PopulateRegion ( )
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 void ROAst::Ellipse::WriteRegion ( std::string &  file) const
virtual

Destructor

Member Data Documentation

std::vector<AstroObject> ROAst::Ellipse::EllipseContainer

The shape of the region

std::string ROAst::Ellipse::RegionShape
protected

Min radius of the ellipse

double ROAst::Ellipse::RMinExtent
protected

One end point of the max radius of the ellipse


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