FreeMat: vtkGridSynchronizedTemplates3D

FreeMat

- Main Page
- Related Pages

vtkGridSynchronizedTemplates3D

Section: Visualization Toolkit Graphics Classes

# Usage

vtkGridSynchronizedTemplates3D is a 3D implementation of the synchronized template algorithm.

To create an instance of class vtkGridSynchronizedTemplates3D, simply invoke its constructor as follows

      obj = vtkGridSynchronizedTemplates3D

# Methods

The class vtkGridSynchronizedTemplates3D has several methods that can be used. They are listed below. Note that the documentation is translated automatically from the VTK sources, and may not be completely intelligible. When in doubt, consult the VTK website. In the methods listed below, `obj` is an instance of the vtkGridSynchronizedTemplates3D class.

- `string = obj.GetClassName ()`
- `int = obj.IsA (string name)`
- `vtkGridSynchronizedTemplates3D = obj.NewInstance ()`
- `vtkGridSynchronizedTemplates3D = obj.SafeDownCast (vtkObject o)`
- `long = obj.GetMTime ()` - Because we delegate to vtkContourValues
- `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.
- `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.SetValue (int i, double value)` - Get the ith contour value.
- `double = obj.GetValue (int i)` - Get a pointer to an array of contour values. There will be GetNumberOfContours() values in the list.
- `obj.GetValues (double contourValues)` - Set the number of contours to place into the list. You only really need to use this method to reduce list size. The method SetValue() will automatically increase list size as needed.
- `obj.SetNumberOfContours (int number)` - Get the number of contours in the list of contour values.
- `int = obj.GetNumberOfContours ()` - Generate numContours equally spaced contour values between specified range. Contour values will include min/max range values.
- `obj.GenerateValues (int numContours, double range[2])` - Generate numContours equally spaced contour values between specified range. Contour values will include min/max range values.
- `obj.GenerateValues (int numContours, double rangeStart, double rangeEnd)` - Needed by templated functions.
- `int = obj.GetExecuteExtent ()` - Needed by templated functions.
- `obj.SetInputMemoryLimit (long limit)` - This filter will initiate streaming so that no piece requested from the input will be larger than this value (KiloBytes).