Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Attributes

Geometry::Element Class Reference

Inheritance diagram for Geometry::Element:
CallBacker Geometry::ParametricCurve Geometry::RowColSurface Geometry::CubicBezierCurve Geometry::Horizon2DLine Geometry::ParametricSurface Geometry::PolygonSurface Geometry::BinIDSurface Geometry::CubicBezierSurface

List of all members.

Public Member Functions

 Element ()
virtual ~Element ()
virtual void getPosIDs (TypeSet< GeomPosID > &, bool noudf=true) const =0
virtual IntervalND< float > boundingBox (bool approx) const
virtual Elementclone () const =0
virtual const char * errMsg () const
virtual Coord3 getPosition (GeomPosID) const =0
virtual bool setPosition (GeomPosID, const Coord3 &)=0
virtual bool isDefined (GeomPosID) const =0
virtual bool isChanged () const
virtual void resetChangedFlag ()
virtual void trimUndefParts ()
void blockCallBacks (bool yn, bool flush=true)
bool blocksCallBacks () const

Public Attributes

CNotifier< Element, const
TypeSet< GeomPosID > * > 
movementnotifier
CNotifier< Element, const
TypeSet< GeomPosID > * > 
nrpositionnotifier

Protected Member Functions

void triggerMovement (const TypeSet< GeomPosID > &)
void triggerMovement (const GeomPosID &)
void triggerMovement ()
void triggerNrPosCh (const TypeSet< GeomPosID > &)
void triggerNrPosCh (const GeomPosID &)
void triggerNrPosCh ()
BufferStringerrmsg ()

Protected Attributes

bool blockcbs_
TypeSet< GeomPosID > nrposchbuffer_
TypeSet< GeomPosID > movementbuffer_
bool ischanged_

Private Attributes

BufferStringerrmsg_

Constructor & Destructor Documentation

Geometry::Element::Element (  ) 
virtual Geometry::Element::~Element (  )  [virtual]

Member Function Documentation

void Geometry::Element::blockCallBacks ( bool  yn,
bool  flush = true 
)
bool Geometry::Element::blocksCallBacks (  )  const [inline]

Block callbacks until further notice. If blocked, lists of added/changed positions will accumulate changes, so they can be flushed when the block is turned off.

Parameters:
flush specifies whether a callback with all accumulated changes will be triggered.
virtual IntervalND<float> Geometry::Element::boundingBox ( bool  approx  )  const [virtual]
BufferString& Geometry::Element::errmsg (  )  [protected]
virtual const char* Geometry::Element::errMsg (  )  const [virtual]
virtual void Geometry::Element::getPosIDs ( TypeSet< GeomPosID > &  ,
bool  noudf = true 
) const [pure virtual]
virtual Coord3 Geometry::Element::getPosition ( GeomPosID   )  const [pure virtual]
virtual bool Geometry::Element::isChanged (  )  const [inline, virtual]
virtual bool Geometry::Element::isDefined ( GeomPosID   )  const [pure virtual]
virtual void Geometry::Element::resetChangedFlag (  )  [inline, virtual]
virtual bool Geometry::Element::setPosition ( GeomPosID  ,
const Coord3  
) [pure virtual]
void Geometry::Element::triggerMovement ( const TypeSet< GeomPosID > &   )  [protected]
void Geometry::Element::triggerMovement (  )  [protected]
void Geometry::Element::triggerMovement ( const GeomPosID &   )  [protected]
void Geometry::Element::triggerNrPosCh ( const GeomPosID &   )  [protected]
void Geometry::Element::triggerNrPosCh (  )  [protected]
void Geometry::Element::triggerNrPosCh ( const TypeSet< GeomPosID > &   )  [protected]
virtual void Geometry::Element::trimUndefParts (  )  [inline, virtual]

Member Data Documentation

bool Geometry::Element::blockcbs_ [protected]