Open CASCADE Technology
6.5.4
|
#include <VrmlData_ShapeNode.hxx>
Public Member Functions | |
VrmlData_ShapeNode () | |
VrmlData_ShapeNode (const VrmlData_Scene &theScene, const char *theName) | |
const Handle < VrmlData_Appearance > & | Appearance () const |
const Handle< VrmlData_Geometry > & | Geometry () const |
void | SetAppearance (const Handle< VrmlData_Appearance > &theAppear) |
void | SetGeometry (const Handle< VrmlData_Geometry > &theGeometry) |
virtual Handle< VrmlData_Node > | Clone (const Handle< VrmlData_Node > &theOther) const |
virtual VrmlData_ErrorStatus | Read (VrmlData_InBuffer &theBuffer) |
virtual VrmlData_ErrorStatus | Write (const char *thePrefix) const |
virtual Standard_Boolean | IsDefault () const |
Implementation of the Shape node type
VrmlData_ShapeNode::VrmlData_ShapeNode | ( | ) | [inline] |
Empty constructor
VrmlData_ShapeNode::VrmlData_ShapeNode | ( | const VrmlData_Scene & | theScene, |
const char * | theName | ||
) | [inline] |
Constructor
const Handle< VrmlData_Appearance >& VrmlData_ShapeNode::Appearance | ( | ) | const [inline] |
Query the Appearance.
virtual Handle< VrmlData_Node > VrmlData_ShapeNode::Clone | ( | const Handle< VrmlData_Node > & | theOther | ) | const [virtual] |
Create a copy of this node. If the parameter is null, a new copied node is created. Otherwise new node is not created, but rather the given one is modified.
Reimplemented from VrmlData_Node.
const Handle< VrmlData_Geometry >& VrmlData_ShapeNode::Geometry | ( | ) | const [inline] |
Query the Geometry.
virtual Standard_Boolean VrmlData_ShapeNode::IsDefault | ( | ) | const [virtual] |
Check if the Shape Node is writeable.
Reimplemented from VrmlData_Node.
virtual VrmlData_ErrorStatus VrmlData_ShapeNode::Read | ( | VrmlData_InBuffer & | theBuffer | ) | [virtual] |
Fill the Node internal data from the given input stream.
Implements VrmlData_Node.
void VrmlData_ShapeNode::SetAppearance | ( | const Handle< VrmlData_Appearance > & | theAppear | ) | [inline] |
Set the Appearance
void VrmlData_ShapeNode::SetGeometry | ( | const Handle< VrmlData_Geometry > & | theGeometry | ) | [inline] |
Set the Geometry
virtual VrmlData_ErrorStatus VrmlData_ShapeNode::Write | ( | const char * | thePrefix | ) | const [virtual] |
Write the Node to output stream.
Reimplemented from VrmlData_Node.