#include <vtkRegularPolytopeSource.h>
Inheritance diagram for vtkRegularPolytopeSource:
Definition at line 46 of file vtkRegularPolytopeSource.h.
Public Member Functions | |
vtkTypeRevisionMacro (vtkRegularPolytopeSource, vtkPolyDataSource) | |
void | PrintSelf (ostream &, vtkIndent) |
virtual void | SetPolytope (int) |
Set/Get type of undivided geometry. | |
virtual int | GetPolytope () |
Set/Get type of undivided geometry. | |
void | SetPolytopeToTetrahedron (void) |
Set/Get type of undivided geometry. | |
void | SetPolytopeToHexahedron (void) |
Set/Get type of undivided geometry. | |
void | SetPolytopeToCube (void) |
Set/Get type of undivided geometry. | |
void | SetPolytopeToOctahedron (void) |
Set/Get type of undivided geometry. | |
void | SetPolytopeToIcosahedron (void) |
Set/Get type of undivided geometry. | |
void | SetPolytopeToDodecahedron (void) |
Set/Get type of undivided geometry. | |
const char * | GetPolytopeAsString (void) |
Set/Get type of undivided geometry. | |
virtual void | SetCircumscribedRadius (double) |
Set/Get the distance from the center of each vertex of the polyhedron. | |
virtual double | GetCircumscribedRadius () |
Set/Get the distance from the center of each vertex of the polyhedron. | |
virtual void | SetCenter (double, double, double) |
Set/Get the center of the polyhedron (Default is 0,0,0). | |
virtual void | SetCenter (double[3]) |
Set/Get the center of the polyhedron (Default is 0,0,0). | |
virtual double * | GetCenter () |
Set/Get the center of the polyhedron (Default is 0,0,0). | |
virtual void | GetCenter (double data[3]) |
Set/Get the center of the polyhedron (Default is 0,0,0). | |
virtual void | SetNumberOfSubdivisions (int) |
Number of times to recursively subdivide (approximating a sphere). | |
virtual int | GetNumberOfSubdivisions () |
Number of times to recursively subdivide (approximating a sphere). | |
virtual void | SetTriangulate (int) |
Toggle triangulation of output mesh. | |
virtual int | GetTriangulate () |
Toggle triangulation of output mesh. | |
virtual void | TriangulateOn () |
Toggle triangulation of output mesh. | |
virtual void | TriangulateOff () |
Toggle triangulation of output mesh. | |
virtual void | SetGenerateNormals (int) |
Toggle retention of vertex normals in the output dataset. | |
virtual int | GetGenerateNormals () |
Toggle retention of vertex normals in the output dataset. | |
virtual void | GenerateNormalsOn () |
Toggle retention of vertex normals in the output dataset. | |
virtual void | GenerateNormalsOff () |
Toggle retention of vertex normals in the output dataset. | |
virtual void | SetGenerateTCoords (int) |
Toggle generation of 2D texture coordinates by mapping to sphere. | |
virtual int | GetGenerateTCoords () |
Toggle generation of 2D texture coordinates by mapping to sphere. | |
virtual void | GenerateTCoordsOn () |
Toggle generation of 2D texture coordinates by mapping to sphere. | |
virtual void | GenerateTCoordsOff () |
Toggle generation of 2D texture coordinates by mapping to sphere. | |
virtual void | SetPreventSeam (int) |
Control how texture coordinates are generated. | |
virtual int | GetPreventSeam () |
Control how texture coordinates are generated. | |
virtual void | PreventSeamOn () |
Control how texture coordinates are generated. | |
virtual void | PreventSeamOff () |
Control how texture coordinates are generated. | |
Static Public Member Functions | |
vtkRegularPolytopeSource * | New (void) |
Protected Member Functions | |
vtkRegularPolytopeSource (void) | |
~vtkRegularPolytopeSource () | |
void | ExecuteData (vtkDataObject *) |
Execute method that should be used by subclasses of vtkSource. | |
void | PointToTCoord (const double point[3], double tcoord[2]) |
Calculate 2D texture coordinate given a 3D point on the sphere. | |
void | SubdivideTriangleBy4 (vtkPoints *points, vtkCellArray *polys, vtkFloatArray *normals, vtkFloatArray *tcoords, vtkIdType const &id0, vtkIdType const &id1, vtkIdType const &id2, vtkIdType const &depth, vtkIdType &nextId) |
void | SubdivideTriangleBy4 (vtkPoints *points, vtkCellArray *polys, vtkFloatArray *normals, vtkFloatArray *tcoords, const vtkIdType cell[3], vtkIdType const &depth, vtkIdType &nextId) |
void | SubdivideTriangleBy3 (vtkPoints *points, vtkCellArray *polys, vtkFloatArray *normals, vtkFloatArray *tcoords, vtkIdType const &id0, vtkIdType const &id1, vtkIdType const &id2, vtkIdType const &depth, vtkIdType &nextId) |
void | SubdivideTriangleBy3 (vtkPoints *points, vtkCellArray *polys, vtkFloatArray *normals, vtkFloatArray *tcoords, const vtkIdType cell[3], vtkIdType const &depth, vtkIdType &nextId) |
void | SubdivideQuadBy4 (vtkPoints *points, vtkCellArray *polys, vtkFloatArray *normals, vtkFloatArray *tCoords, vtkIdType const &id0, vtkIdType const &id1, vtkIdType const &id2, vtkIdType const &id3, vtkIdType const &depth, vtkIdType &nextId) |
void | SubdivideQuadBy4 (vtkPoints *points, vtkCellArray *polys, vtkFloatArray *normals, vtkFloatArray *tCoords, const vtkIdType cell[4], vtkIdType const &depth, vtkIdType &nextId) |
void | SubdivideQuadBy2 (vtkPoints *points, vtkCellArray *polys, vtkFloatArray *normals, vtkFloatArray *tCoords, vtkIdType const &id0, vtkIdType const &id1, vtkIdType const &id2, vtkIdType const &id3, vtkIdType const &depth, vtkIdType &nextId) |
void | SubdivideQuadBy2 (vtkPoints *points, vtkCellArray *polys, vtkFloatArray *normals, vtkFloatArray *tCoords, const vtkIdType cell[4], vtkIdType const &depth, vtkIdType &nextId) |
void | SubdividePentagonBy5 (vtkPoints *points, vtkCellArray *polys, vtkFloatArray *normals, vtkFloatArray *tCoords, vtkIdType const &id0, vtkIdType const &id1, vtkIdType const &id2, vtkIdType const &id3, vtkIdType const &id4, vtkIdType const &depth, vtkIdType &nextId) |
void | SubdividePentagonBy5 (vtkPoints *points, vtkCellArray *polys, vtkFloatArray *normals, vtkFloatArray *tCoords, const vtkIdType cell[5], vtkIdType const &depth, vtkIdType &nextId) |
Protected Attributes | |
int | Polytope |
double | CircumscribedRadius |
double | Center [3] |
int | NumberOfSubdivisions |
int | Triangulate |
int | GenerateNormals |
int | GenerateTCoords |
int | PreventSeam |
|
|
|
Definition at line 127 of file vtkRegularPolytopeSource.h. |
|
Execute method that should be used by subclasses of vtkSource.
Reimplemented from vtkSource. |
|
Toggle retention of vertex normals in the output dataset.
|
|
Toggle retention of vertex normals in the output dataset.
|
|
Toggle generation of 2D texture coordinates by mapping to sphere.
|
|
Toggle generation of 2D texture coordinates by mapping to sphere.
|
|
Set/Get the center of the polyhedron (Default is 0,0,0).
|
|
Set/Get the center of the polyhedron (Default is 0,0,0).
|
|
Set/Get the distance from the center of each vertex of the polyhedron.
|
|
Toggle retention of vertex normals in the output dataset.
|
|
Toggle generation of 2D texture coordinates by mapping to sphere.
|
|
Number of times to recursively subdivide (approximating a sphere).
|
|
Set/Get type of undivided geometry.
|
|
Set/Get type of undivided geometry.
|
|
Control how texture coordinates are generated. If PreventSeam is set, the S-coord. ranges from 0->1 and 1->0 corresponding to theta angle variation between 0->180 and 180->0 degrees. Otherwise, the S-coord. ranges from 0->1 between 0->360 degrees. |
|
Toggle triangulation of output mesh.
|
|
Reimplemented from vtkObject. |
|
Calculate 2D texture coordinate given a 3D point on the sphere.
|
|
Control how texture coordinates are generated. If PreventSeam is set, the S-coord. ranges from 0->1 and 1->0 corresponding to theta angle variation between 0->180 and 180->0 degrees. Otherwise, the S-coord. ranges from 0->1 between 0->360 degrees. |
|
Control how texture coordinates are generated. If PreventSeam is set, the S-coord. ranges from 0->1 and 1->0 corresponding to theta angle variation between 0->180 and 180->0 degrees. Otherwise, the S-coord. ranges from 0->1 between 0->360 degrees. |
|
Reimplemented from vtkPolyDataSource. |
|
Set/Get the center of the polyhedron (Default is 0,0,0).
|
|
Set/Get the center of the polyhedron (Default is 0,0,0).
|
|
Set/Get the distance from the center of each vertex of the polyhedron.
|
|
Toggle retention of vertex normals in the output dataset.
|
|
Toggle generation of 2D texture coordinates by mapping to sphere.
|
|
Number of times to recursively subdivide (approximating a sphere).
|
|
Set/Get type of undivided geometry.
|
|
Set/Get type of undivided geometry.
Definition at line 64 of file vtkRegularPolytopeSource.h. References VTK_HEXAHEDRON_SOURCE. |
|
Set/Get type of undivided geometry.
Definition at line 70 of file vtkRegularPolytopeSource.h. References VTK_DODECAHEDRON_SOURCE. |
|
Set/Get type of undivided geometry.
Definition at line 62 of file vtkRegularPolytopeSource.h. References VTK_HEXAHEDRON_SOURCE. |
|
Set/Get type of undivided geometry.
Definition at line 68 of file vtkRegularPolytopeSource.h. References VTK_ICOSAHEDRON_SOURCE. |
|
Set/Get type of undivided geometry.
Definition at line 66 of file vtkRegularPolytopeSource.h. References VTK_OCTAHEDRON_SOURCE. |
|
Set/Get type of undivided geometry.
Definition at line 60 of file vtkRegularPolytopeSource.h. References VTK_TETRAHEDRON_SOURCE. |
|
Control how texture coordinates are generated. If PreventSeam is set, the S-coord. ranges from 0->1 and 1->0 corresponding to theta angle variation between 0->180 and 180->0 degrees. Otherwise, the S-coord. ranges from 0->1 between 0->360 degrees. |
|
Toggle triangulation of output mesh.
|
|
Definition at line 305 of file vtkRegularPolytopeSource.h. References SubdividePentagonBy5(). |
|
Referenced by SubdividePentagonBy5(). |
|
Definition at line 290 of file vtkRegularPolytopeSource.h. References SubdivideQuadBy2(). |
|
Referenced by SubdivideQuadBy2(). |
|
Definition at line 275 of file vtkRegularPolytopeSource.h. References SubdivideQuadBy4(). |
|
Referenced by SubdivideQuadBy4(). |
|
Definition at line 261 of file vtkRegularPolytopeSource.h. References SubdivideTriangleBy3(). |
|
Referenced by SubdivideTriangleBy3(). |
|
Definition at line 247 of file vtkRegularPolytopeSource.h. References SubdivideTriangleBy4(). |
|
Referenced by SubdivideTriangleBy4(). |
|
Toggle triangulation of output mesh.
|
|
Toggle triangulation of output mesh.
|
|
|
|
Definition at line 233 of file vtkRegularPolytopeSource.h. |
|
Definition at line 232 of file vtkRegularPolytopeSource.h. |
|
Definition at line 236 of file vtkRegularPolytopeSource.h. |
|
Definition at line 237 of file vtkRegularPolytopeSource.h. |
|
Definition at line 234 of file vtkRegularPolytopeSource.h. |
|
Definition at line 231 of file vtkRegularPolytopeSource.h. |
|
Definition at line 238 of file vtkRegularPolytopeSource.h. |
|
Definition at line 235 of file vtkRegularPolytopeSource.h. |