Section: Visualization Toolkit Imaging Classes
To create an instance of class vtkTriangularTexture, simply invoke its constructor as follows
obj = vtkTriangularTexture
obj
is an instance of the vtkTriangularTexture class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkTriangularTexture = obj.NewInstance ()
vtkTriangularTexture = obj.SafeDownCast (vtkObject o)
obj.SetScaleFactor (double )
- Set a Scale Factor.
double = obj.GetScaleFactor ()
- Set a Scale Factor.
obj.SetXSize (int )
- Set the X texture map dimension. Default is 64.
int = obj.GetXSize ()
- Set the X texture map dimension. Default is 64.
obj.SetYSize (int )
- Set the Y texture map dimension. Default is 64.
int = obj.GetYSize ()
- Set the Y texture map dimension. Default is 64.
obj.SetTexturePattern (int )
- Set the texture pattern.
1 = opaque at centroid (default)
2 = opaque at vertices
3 = opaque in rings around vertices
int = obj.GetTexturePatternMinValue ()
- Set the texture pattern.
1 = opaque at centroid (default)
2 = opaque at vertices
3 = opaque in rings around vertices
int = obj.GetTexturePatternMaxValue ()
- Set the texture pattern.
1 = opaque at centroid (default)
2 = opaque at vertices
3 = opaque in rings around vertices
int = obj.GetTexturePattern ()
- Set the texture pattern.
1 = opaque at centroid (default)
2 = opaque at vertices
3 = opaque in rings around vertices