35 #ifndef __SphereMesh_h 36 #define __SphereMesh_h 71 #ifndef __gVirtualXRayConfig_h 78 #ifndef __PolygonMesh_h 117 unsigned int aNumberOfSectors,
119 int anIndexDataType = 0);
122 SphereMesh(
unsigned int aNumberOfSubdivision = 0,
123 float aRadius = 0.5 *
cm,
124 int anIndexDataType = 0);
139 void create(
unsigned int aNumberOfRings,
140 unsigned int aNumberOfSectors,
142 int anIndexDataType = 0);
145 void create(
unsigned int aNumberOfSubdivision = 0,
146 float aRadius = 0.5 *
cm,
147 int anIndexDataType = 0);
165 #endif // __SphereMesh_h
SphereMesh(unsigned int aNumberOfRings, unsigned int aNumberOfSectors, float aRadius, int anIndexDataType=0)
Default constructor.
void create(unsigned int aNumberOfRings, unsigned int aNumberOfSectors, float aRadius, int anIndexDataType=0)
Create a new sphere.
SphereMesh is a class to handle 3D meshes of spheres.
PolygonMesh is a class to handle polygon (triangles) meshes.
const double cm
centimeter
Class to handle 3D meshes of spheres.
Class to handle polygon (triangles) meshes.