#include <VrmlData_Box.hxx>
Inheritance diagram for VrmlData_Box:
Public Member Functions | |
VrmlData_Box () | |
VrmlData_Box (const VrmlData_Scene &theScene, const char *theName, const Standard_Real sizeX=2., const Standard_Real sizeY=2., const Standard_Real sizeZ=2.) | |
const gp_XYZ & | Size () const |
void | SetSize (const gp_XYZ &theSize) |
virtual Standard_EXPORT const | Handle (TopoDS_TShape)&TShape() |
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 |
Private Attributes | |
gp_XYZ | mySize |
|
Empty constructor |
|
Constructor |
|
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. |
|
Query the primitive topology. This method returns a Null shape if there is an internal error during the primitive creation (zero radius, etc.) Implements VrmlData_Geometry. |
|
Fill the Node internal data from the given input stream. Implements VrmlData_Node. |
|
Set the Box Size |
|
Query the Box size |
|
Write the Node to output stream. Reimplemented from VrmlData_Node. |
|
|