OCC Main Page | DataExchange | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

DataExchange
TKVRML
VrmlData


VrmlData_ShapeNode Class Reference

#include <VrmlData_ShapeNode.hxx>

Inheritance diagram for VrmlData_ShapeNode:

Inheritance graph
[legend]

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 Standard_EXPORT Handle (VrmlData_Node) Clone(const Handle(VrmlData_Node)&theOther) const
virtual Standard_EXPORT VrmlData_ErrorStatus Read (VrmlData_InBuffer &theBuffer)
virtual Standard_EXPORT VrmlData_ErrorStatus Write (const char *thePrefix) const
virtual Standard_EXPORT Standard_Boolean IsDefault () const

Private Member Functions

 Handle (VrmlData_Appearance) myAppearance
 Handle (VrmlData_Geometry) myGeometry

Detailed Description

Implementation of the Shape node type


Constructor & Destructor Documentation

VrmlData_ShapeNode::VrmlData_ShapeNode  )  [inline]
 

Empty constructor

VrmlData_ShapeNode::VrmlData_ShapeNode const VrmlData_Scene theScene,
const char *  theName
[inline]
 

Constructor


Member Function Documentation

VrmlData_ShapeNode::Handle VrmlData_Geometry   )  [private]
 

VrmlData_ShapeNode::Handle VrmlData_Appearance   )  [private]
 

virtual Standard_EXPORT VrmlData_ShapeNode::Handle VrmlData_Node   )  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 VrmlData_ShapeNode::Handle VrmlData_Geometry   )  const [inline]
 

Query the Geometry.

const VrmlData_ShapeNode::Handle VrmlData_Appearance   )  const [inline]
 

Query the Appearance.

virtual Standard_EXPORT Standard_Boolean VrmlData_ShapeNode::IsDefault  )  const [virtual]
 

Check if the Shape Node is writeable.

Reimplemented from VrmlData_Node.

virtual Standard_EXPORT 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 Standard_EXPORT VrmlData_ErrorStatus VrmlData_ShapeNode::Write const char *  thePrefix  )  const [virtual]
 

Write the Node to output stream.

Reimplemented from VrmlData_Node.


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 14:46:13 2008 for OpenCASCADE by  doxygen 1.4.1