Section: Visualization Toolkit Graphics Classes
This source only generate geometry, no DataArrays like normals or texture coordinates.
To create an instance of class vtkTessellatedBoxSource, simply invoke its constructor as follows
obj = vtkTessellatedBoxSource
obj
is an instance of the vtkTessellatedBoxSource class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkTessellatedBoxSource = obj.NewInstance ()
vtkTessellatedBoxSource = obj.SafeDownCast (vtkObject o)
obj.SetBounds (double , double , double , double , double , double )
- Set the bounds of the box. See GetBounds() for a detail description.
\pre xmin<=xmax && ymin<=ymax && zmin<zmax
obj.SetBounds (double a[6])
- Set the bounds of the box. See GetBounds() for a detail description.
\pre xmin<=xmax && ymin<=ymax && zmin<zmax
double = obj. GetBounds ()
- Bounds of the box in world coordinates. This a 6-uple of xmin,xmax,ymin,
ymax,zmin and zmax. Initial value is (-0.5,0.5,-0.5,0.5,-0.5,0.5), bounds
of a cube of length 1 centered at (0,0,0). Bounds are defined such that
xmin<=xmax, ymin<=ymax and zmin<zmax.
\post xmin<=xmax && ymin<=ymax && zmin<zmax
obj.SetLevel (int )
- Set the level of subdivision of the faces.
\pre positive_level: level>=0
int = obj.GetLevel ()
- Level of subdivision of the faces. Initial value is 0.
\post positive_level: level>=0
obj.SetDuplicateSharedPoints (int )
- Flag to tell the source to duplicate points shared between faces
(vertices of the box and internal edge points). Initial value is false.
Implementation note: duplicating points is an easier method to implement
than a minimal number of points.
int = obj.GetDuplicateSharedPoints ()
- Flag to tell the source to duplicate points shared between faces
(vertices of the box and internal edge points). Initial value is false.
Implementation note: duplicating points is an easier method to implement
than a minimal number of points.
obj.DuplicateSharedPointsOn ()
- Flag to tell the source to duplicate points shared between faces
(vertices of the box and internal edge points). Initial value is false.
Implementation note: duplicating points is an easier method to implement
than a minimal number of points.
obj.DuplicateSharedPointsOff ()
- Flag to tell the source to duplicate points shared between faces
(vertices of the box and internal edge points). Initial value is false.
Implementation note: duplicating points is an easier method to implement
than a minimal number of points.
obj.SetQuads (int )
- Flag to tell the source to generate either a quad or two triangle for a
set of four points. Initial value is false (generate triangles).
int = obj.GetQuads ()
- Flag to tell the source to generate either a quad or two triangle for a
set of four points. Initial value is false (generate triangles).
obj.QuadsOn ()
- Flag to tell the source to generate either a quad or two triangle for a
set of four points. Initial value is false (generate triangles).
obj.QuadsOff ()
- Flag to tell the source to generate either a quad or two triangle for a
set of four points. Initial value is false (generate triangles).