GeoModel - GeoModelCore
Public Member Functions | Private Member Functions | Private Attributes | List of all members
GeoShapeAction Class Reference

This class is a visitor for shapes. It allows a navigation of the boolean expression tree for shapes, in order to accomplish actions such as volume computation. This is essentially an internal class. More...

#include <GeoShapeAction.h>

Inheritance diagram for GeoShapeAction:
GeoPolyhedrizeAction

Public Member Functions

Query< unsigned int > getDepthLimit ()
 
void setDepthLimit (unsigned int limit)
 
void clearDepthLimit ()
 
void terminate ()
 
bool shouldTerminate () const
 
virtual void handleShape (const GeoShape *)
 
virtual void handleShift (const GeoShapeShift *shift)
 
virtual void handleUnion (const GeoShapeUnion *unio)
 
virtual void handleIntersection (const GeoShapeIntersection *isect)
 
virtual void handleSubtraction (const GeoShapeSubtraction *subtract)
 
virtual void handleBox (const GeoBox *box)
 
virtual void handleCons (const GeoCons *cons)
 
virtual void handlePara (const GeoPara *para)
 
virtual void handlePcon (const GeoPcon *pcon)
 
virtual void handlePgon (const GeoPgon *pgon)
 
virtual void handleTrap (const GeoTrap *trap)
 
virtual void handleTrd (const GeoTrd *trd)
 
virtual void handleTube (const GeoTube *tube)
 
virtual void handleTubs (const GeoTubs *tubs)
 
GeoShapePath * getPath ()
 
virtual void handleSimplePolygonBrep (const GeoSimplePolygonBrep *)
 
virtual void handleTessellatedSolid (const GeoTessellatedSolid *)
 
virtual void handleEllipticalTube (const GeoEllipticalTube *)
 
virtual void handleTorus (const GeoTorus *)
 
virtual void handleGenericTrap (const GeoGenericTrap *)
 
virtual void handleUnidentifiedShape (const GeoUnidentifiedShape *shape)
 

Private Member Functions

 GeoShapeAction (const GeoShapeAction &right)
 
GeoShapeAction & operator= (const GeoShapeAction &right)
 

Private Attributes

Query< unsigned int > m_depth
 
bool m_terminate
 
GeoShapePath m_path
 

Detailed Description

This class is a visitor for shapes. It allows a navigation of the boolean expression tree for shapes, in order to accomplish actions such as volume computation. This is essentially an internal class.

Definition at line 42 of file GeoShapeAction.h.


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