#include <VrmlData_Sphere.hxx>
Inheritance diagram for VrmlData_Sphere:
Public Member Functions | |
VrmlData_Sphere () | |
VrmlData_Sphere (const VrmlData_Scene &theScene, const char *theName, const Standard_Real theRadius=1.) | |
Standard_Real | Radius () const |
void | SetRadius (const Standard_Real theRadius) |
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 | |
Standard_Real | myRadius |
|
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. |
|
Query the sphere radius |
|
Fill the Node internal data from the given input stream. Implements VrmlData_Node. |
|
Set the spere radius |
|
Write the Node to output stream. Reimplemented from VrmlData_Node. |
|
|