#include <VrmlData_Group.hxx>
Inheritance diagram for VrmlData_Group:
Public Types | |
typedef VrmlData_ListOfNode::Iterator | Iterator |
Public Member Functions | |
VrmlData_Group (const Standard_Boolean isTransform=Standard_False) | |
Standard_EXPORT | VrmlData_Group (const VrmlData_Scene &theScene, const char *theName, const Standard_Boolean isTransform=Standard_False) |
Handle (VrmlData_Node)&AddNode(const Handle(VrmlData_Node)&theNode) | |
Standard_EXPORT Standard_Boolean | RemoveNode (const Handle(VrmlData_Node)&theNode) |
Iterator | NodeIterator () const |
const Bnd_B3f & | Box () const |
void | SetBox (const Bnd_B3f &theBox) |
Standard_EXPORT Standard_Boolean | SetTransform (const gp_Trsf &theTrsf) |
const gp_Trsf & | GetTransform () const |
Standard_Boolean | IsTransform () const |
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 |
Standard_EXPORT | Handle (VrmlData_Node) FindNode(const char *theName |
Standard_EXPORT void | Shape (TopoDS_Shape &theShape, VrmlData_DataMapOfShapeAppearance *pMapApp) |
Data Fields | |
Standard_EXPORT gp_Trsf &theLocation | const |
Protected Member Functions | |
Standard_EXPORT VrmlData_ErrorStatus | openFile (Standard_IStream &theStream, const TCollection_AsciiString &theFilename) |
Private Attributes | |
Standard_Boolean | myIsTransform |
VrmlData_ListOfNode | myNodes |
Bnd_B3f | myBox |
gp_Trsf | myTrsf |
|
|
|
Empty constructor.
|
|
Constructor.
|
|
Query the bounding box. |
|
Query the transform value. For group without transformation this always returns Identity |
|
Find a node by its name, inside this Group
Reimplemented from VrmlData_Node. |
|
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. |
|
Add one node to the Group. Reimplemented from VrmlData_Node. |
|
Query if the node is Transform type. |
|
Create iterator on nodes belonging to the Group. |
|
Try to open a file by the given filename, using the search directories list myVrmlDir of the Scene. |
|
Fill the Node internal data from the given input stream. Implements VrmlData_Node. |
|
Remove one node from the Group.
|
|
Set the bounding box. |
|
Set the transformation. Returns True if the group is Transform type, otherwise do nothing and return False. |
|
Get the shape representing the group geometry. |
|
Write the Node to output stream. Reimplemented from VrmlData_Node. |
|
|
|
|
|
|
|
|
|
|