Section: Visualization Toolkit Graphics Classes
To create an instance of class vtkImageMarchingCubes, simply invoke its constructor as follows
obj = vtkImageMarchingCubes
obj
is an instance of the vtkImageMarchingCubes class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkImageMarchingCubes = obj.NewInstance ()
vtkImageMarchingCubes = obj.SafeDownCast (vtkObject o)
obj.SetValue (int i, double value)
- Methods to set contour values
double = obj.GetValue (int i)
- Methods to set contour values
obj.GetValues (double contourValues)
- Methods to set contour values
obj.SetNumberOfContours (int number)
- Methods to set contour values
int = obj.GetNumberOfContours ()
- Methods to set contour values
obj.GenerateValues (int numContours, double range[2])
- Methods to set contour values
obj.GenerateValues (int numContours, double rangeStart, double rangeEnd)
- Methods to set contour values
long = obj.GetMTime ()
- Because we delegate to vtkContourValues & refer to vtkImplicitFunction
obj.SetComputeScalars (int )
- Set/Get the computation of scalars.
int = obj.GetComputeScalars ()
- Set/Get the computation of scalars.
obj.ComputeScalarsOn ()
- Set/Get the computation of scalars.
obj.ComputeScalarsOff ()
- Set/Get the computation of scalars.
obj.SetComputeNormals (int )
- Set/Get the computation of normals. Normal computation is fairly expensive
in both time and storage. If the output data will be processed by filters
that modify topology or geometry, it may be wise to turn Normals and Gradients off.
int = obj.GetComputeNormals ()
- Set/Get the computation of normals. Normal computation is fairly expensive
in both time and storage. If the output data will be processed by filters
that modify topology or geometry, it may be wise to turn Normals and Gradients off.
obj.ComputeNormalsOn ()
- Set/Get the computation of normals. Normal computation is fairly expensive
in both time and storage. If the output data will be processed by filters
that modify topology or geometry, it may be wise to turn Normals and Gradients off.
obj.ComputeNormalsOff ()
- Set/Get the computation of normals. Normal computation is fairly expensive
in both time and storage. If the output data will be processed by filters
that modify topology or geometry, it may be wise to turn Normals and Gradients off.
obj.SetComputeGradients (int )
- Set/Get the computation of gradients. Gradient computation is fairly expensive
in both time and storage. Note that if ComputeNormals is on, gradients will
have to be calculated, but will not be stored in the output dataset.
If the output data will be processed by filters that modify topology or
geometry, it may be wise to turn Normals and Gradients off.
int = obj.GetComputeGradients ()
- Set/Get the computation of gradients. Gradient computation is fairly expensive
in both time and storage. Note that if ComputeNormals is on, gradients will
have to be calculated, but will not be stored in the output dataset.
If the output data will be processed by filters that modify topology or
geometry, it may be wise to turn Normals and Gradients off.
obj.ComputeGradientsOn ()
- Set/Get the computation of gradients. Gradient computation is fairly expensive
in both time and storage. Note that if ComputeNormals is on, gradients will
have to be calculated, but will not be stored in the output dataset.
If the output data will be processed by filters that modify topology or
geometry, it may be wise to turn Normals and Gradients off.
obj.ComputeGradientsOff ()
- Set/Get the computation of gradients. Gradient computation is fairly expensive
in both time and storage. Note that if ComputeNormals is on, gradients will
have to be calculated, but will not be stored in the output dataset.
If the output data will be processed by filters that modify topology or
geometry, it may be wise to turn Normals and Gradients off.
int = obj.GetLocatorPoint (int cellX, int cellY, int edge)
obj.AddLocatorPoint (int cellX, int cellY, int edge, int ptId)
obj.IncrementLocatorZ ()
obj.SetInputMemoryLimit (int )
- The InputMemoryLimit determines the chunk size (the number of slices
requested at each iteration). The units of this limit is KiloBytes.
For now, only the Z axis is split.
int = obj.GetInputMemoryLimit ()
- The InputMemoryLimit determines the chunk size (the number of slices
requested at each iteration). The units of this limit is KiloBytes.
For now, only the Z axis is split.