Public Member Functions | Protected Member Functions | Protected Attributes

Geometry::ExplPolygonSurface Class Reference

Inheritance diagram for Geometry::ExplPolygonSurface:
Geometry::IndexedShape CallBacker

List of all members.

Public Member Functions

 ExplPolygonSurface (const PolygonSurface *, float zscale=1)
 ~ExplPolygonSurface ()
void display (bool polygons, bool body)
void setSurface (const PolygonSurface *)
const PolygonSurfacegetSurface () const
void setZScale (float)
bool arePolygonsDisplayed () const
bool isBodyDisplayed () const
bool needsUpdate () const
DAGTetrahedraTreegetTetrahedraTree () const
TypeSet< Coord3getSurfaceSamples () const
TypeSet< int > getSampleIndices () const
bool prepareBodyDAGTree ()
char positionToBody (const Coord3 point)
bool createsNormals () const
bool update (bool forceall, TaskRunner *)
void setRightHandedNormals (bool yn)

Protected Member Functions

void updateGeometries ()
bool updateBodyDisplay ()
void removeAll ()
void addToGeometries (IndexedGeometry *)
void removeFromGeometries (const IndexedGeometry *)

Protected Attributes

bool displaypolygons_
bool displaybody_
bool needsupdate_
Coord3 scalefacs_
DAGTetrahedraTreetetrahedratree_
TypeSet< Coord3samples_
TypeSet< int > sampleindices_
const PolygonSurfacesurface_
IndexedGeometrybodytriangle_
IndexedGeometrypolygondisplay_

Detailed Description

A triangulated representation of a polygonsurface


Constructor & Destructor Documentation

Geometry::ExplPolygonSurface::ExplPolygonSurface ( const PolygonSurface ,
float  zscale = 1 
)
Geometry::ExplPolygonSurface::~ExplPolygonSurface (  ) 

Member Function Documentation

void Geometry::ExplPolygonSurface::addToGeometries ( IndexedGeometry  )  [protected]
bool Geometry::ExplPolygonSurface::arePolygonsDisplayed (  )  const [inline]
bool Geometry::ExplPolygonSurface::createsNormals (  )  const [inline]
void Geometry::ExplPolygonSurface::display ( bool  polygons,
bool  body 
)
TypeSet<int> Geometry::ExplPolygonSurface::getSampleIndices (  )  const [inline]
const PolygonSurface* Geometry::ExplPolygonSurface::getSurface (  )  const [inline]
TypeSet<Coord3> Geometry::ExplPolygonSurface::getSurfaceSamples (  )  const [inline]
DAGTetrahedraTree* Geometry::ExplPolygonSurface::getTetrahedraTree (  )  const [inline]
bool Geometry::ExplPolygonSurface::isBodyDisplayed (  )  const [inline]
bool Geometry::ExplPolygonSurface::needsUpdate (  )  const [inline]
char Geometry::ExplPolygonSurface::positionToBody ( const Coord3  point  ) 
bool Geometry::ExplPolygonSurface::prepareBodyDAGTree (  ) 
void Geometry::ExplPolygonSurface::removeAll (  )  [protected]
void Geometry::ExplPolygonSurface::removeFromGeometries ( const IndexedGeometry  )  [protected]
void Geometry::ExplPolygonSurface::setRightHandedNormals ( bool  yn  ) 
void Geometry::ExplPolygonSurface::setSurface ( const PolygonSurface  ) 
void Geometry::ExplPolygonSurface::setZScale ( float   ) 
bool Geometry::ExplPolygonSurface::update ( bool  forceall,
TaskRunner  
)
bool Geometry::ExplPolygonSurface::updateBodyDisplay (  )  [protected]
void Geometry::ExplPolygonSurface::updateGeometries (  )  [protected]

Member Data Documentation