Points

Concrete subclass of DataFormatter that extracts points from a grid.

[ verification_docs | Source | Implementation | Keywords | Summary | Ancestors | All Members | Descendants ]

Quick Index

DESCRIPTION
AUTHOR

Class Summary

class Points : public virtual DataFormatter

{

public:
Points( const int& side, const int& leftOffset , const int& topOffset ) ;
Points( const Points& s ) ;
Points& operator=(const Points& s);
void formatData(const Grid & g, vector<Area> & a) const;
protected:
private:
int _side;
int _leftOffset;
int _topOffset;
}; // Points


DESCRIPTION

Concrete subclass of DataFormatter that extracts points from a grid.


AUTHOR

Mike Smoot


Points( const int& side, const int& leftOffset , const int& topOffset ) ;

Constructor.

		Points( const int& side, 
			    const int& leftOffset = 0, 
			    const int& topOffset = 0)
			;

Function is currently defined inline.


Points( const Points& s ) ;

Copy constructor.

		Points( const Points& s )
			;

Function is currently defined inline.


Points& operator=(const Points& s);

Operator =

		Points& operator=(const Points& s);

void formatData(const Grid & g, vector<Area> & a) const;

Formats data in squares.

		virtual void formatData(const Grid & g, vector<Area> & a) const;

int _side;

Length of a side.

		int _side;

int _leftOffset;

The number of Grid points offset from the left side of the Grid.

		int _leftOffset;

int _topOffset;

The number of Grid points offset from the top of the Grid.

		int _topOffset;

All Members

public:
DataFormatter& operator=(const DataFormatter& rhs);
string getFormatType() const ;
void formatData(const Grid& g, vector<Area>& areas) ;
Points& operator=(const Points& s);
void formatData(const Grid & g, vector<Area> & a) const;
protected:

Ancestors

Inheritance chain for Points:


Descendants

Class is not inherited by any others.


Generated from source by the Cocoon utilities on Wed Aug 30 12:53:39 2000 .

Report problems to jkotula@stratasys.com