Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Protected Attributes
VrmlData_Geometry Class Reference

#include <VrmlData_Geometry.hxx>

Inheritance diagram for VrmlData_Geometry:
Inheritance graph
[legend]

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_TShapemyTShape
Standard_Boolean myIsModified

Detailed Description

Implementation of the Geometry node. Contains the topological representation (TopoDS_Shell) of the VRML geometry


Constructor & Destructor Documentation

Empty constructor

VrmlData_Geometry::VrmlData_Geometry ( const VrmlData_Scene theScene,
const char *  theName 
) [inline]

Constructor


Member Function Documentation

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_IndexedFaceSet, VrmlData_IndexedLineSet, VrmlData_Cylinder, VrmlData_Cone, VrmlData_Box, and VrmlData_Sphere.


Field Documentation


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