Version: 5.1.6

multipr.DecimationAccel Class Reference

#include <MULTIPR_DecimationAccel.hxx>

Inheritance diagram for multipr.DecimationAccel:
Inheritance graph

Public Member Functions

 DecimationAccel ()
 Builds an empty DecimationAccel (default constructor).
virtual ~DecimationAccel ()
 Destructor.
virtual void configure (const char *pArgv)=0
 Interface.
virtual void create (const std::vector< PointOfField > &pPts)=0
 Interface.
virtual std::vector< PointOfFieldfindNeighbours (med_float pCenterX, med_float pCenterY, med_float pCenterZ, med_float pRadius) const =0
 Interface.
void setPrintAll (bool pFlag)
 Sets the flag which control the stream operator <<.
 DecimationAccel (const DecimationAccel &)
 Flag to control the behaviour of the stream operator <<.
DecimationAcceloperator= (const DecimationAccel &)
bool operator== (const DecimationAccel &)

Data Fields

bool mFlagPrintAll

Friends

std::ostream & operator<< (std::ostream &pOs, DecimationAccel &pA)
 Dumps any GaussLoc to the given output stream.

Constructor & Destructor Documentation

multipr.DecimationAccel.DecimationAccel (  ) 

Builds an empty DecimationAccel (default constructor).

virtual multipr.DecimationAccel.~DecimationAccel (  )  [virtual]

Destructor.

Removes everything.

multipr.DecimationAccel.DecimationAccel ( const DecimationAccel  ) 

Flag to control the behaviour of the stream operator <<.


Member Function Documentation

virtual void multipr.DecimationAccel.configure ( const char *  pArgv  )  [pure virtual]

Interface.

Configures this acceleration structure. String is used for genericity.

Parameters:
pArgv all the configuration parameters in a string.

Implemented in multipr.DecimationAccelGrid.

virtual void multipr.DecimationAccel.create ( const std::vector< PointOfField > &  pPts  )  [pure virtual]

Interface.

Creates a new acceleration structure and fills it with the given list of points.

Parameters:
pPts list of points to be inserted in the acceleration structure.

Implemented in multipr.DecimationAccelGrid.

virtual std::vector<PointOfField> multipr.DecimationAccel.findNeighbours ( med_float  pCenterX,
med_float  pCenterY,
med_float  pCenterZ,
med_float  pRadius 
) const [pure virtual]

Interface.

Finds all the points in a sphere defined by its center (x,y,z) and its radius.

Parameters:
pCenterX x-coordinates of the center of the sphere.
pCenterY y-coordinates of the center of the sphere.
pCenterZ z-coordinates of the center of the sphere.
pRadius radius of the sphere.
Returns:
all the points in a sphere defined by its center (x,y,z) and its radius.

Implemented in multipr.DecimationAccelGrid.

void multipr.DecimationAccel.setPrintAll ( bool  pFlag  ) 

Sets the flag which control the stream operator <<.

Parameters:
pFlag new flag value.

References multipr.DecimationAccel.mFlagPrintAll.

DecimationAccel& multipr.DecimationAccel.operator= ( const DecimationAccel  ) 

Reimplemented in multipr.DecimationAccelGrid.

bool multipr.DecimationAccel.operator== ( const DecimationAccel  ) 

Reimplemented in multipr.DecimationAccelGrid.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  pOs,
DecimationAccel pA 
) [friend]

Dumps any GaussLoc to the given output stream.

Parameters:
pOs any output stream.
pA any DecimationAccel.
Returns:
the output stream pOs.

Reimplemented in multipr.DecimationAccelGrid.


Field Documentation