Open CASCADE Technology 6.6.0
|
#include <VrmlData_Geometry.hxx>
Public Member Functions | |
VrmlData_Geometry () | |
VrmlData_Geometry (const VrmlData_Scene &theScene, const char *theName) | |
virtual const Handle < TopoDS_TShape > & | TShape ()=0 |
Protected Member Functions | |
void | SetTShape (const Handle< TopoDS_TShape > &theTShape) |
void | SetModified () |
Protected Attributes | |
Handle< TopoDS_TShape > | myTShape |
Standard_Boolean | myIsModified |
Implementation of the Geometry node. Contains the topological representation (TopoDS_Shell) of the VRML geometry
VrmlData_Geometry::VrmlData_Geometry | ( | ) | [inline] |
Empty constructor
VrmlData_Geometry::VrmlData_Geometry | ( | const VrmlData_Scene & | theScene, |
const char * | theName | ||
) | [inline] |
Constructor
void VrmlData_Geometry::SetModified | ( | ) | [inline, protected] |
Mark modification
void VrmlData_Geometry::SetTShape | ( | const Handle< TopoDS_TShape > & | theTShape | ) | [inline, protected] |
Set the TShape.
virtual const Handle< TopoDS_TShape >& VrmlData_Geometry::TShape | ( | ) | [pure virtual] |
Query the shape. This method checks the flag myIsModified; if True it should rebuild the shape presentation.
Implemented in VrmlData_Box, VrmlData_Cone, VrmlData_Cylinder, VrmlData_IndexedFaceSet, VrmlData_IndexedLineSet, and VrmlData_Sphere.
Standard_Boolean VrmlData_Geometry::myIsModified [protected] |
Handle< TopoDS_TShape > VrmlData_Geometry::myTShape [protected] |