Documentation for vtkContourValues

vtkContourValues - helper object to manage setting and generating contour values

Super Class: vtkObject

Description:

vtkContourValues is a general class to manage the creation, generation, and retrieval of contour values. This class serves as a helper class for contouring classes, or those classes operating on lists of contour values.

 

See Also:

vtkContourFilter

 

Methods:

void vtkContourValues ()
void vtkContourValues ()
static vtkContourValues *New ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
void SetValue (int ,float )
float GetValue (int )
float *GetValues ()
void GetValues (float *)
void SetNumberOfContours (const int )
int GetNumberOfContours ()
void GenerateValues (int ,float )
void GenerateValues (int ,float ,float )

 

Detailed Method Descriptions:

Construct object with a single contour value at 0.0.

void vtkContourValues ()

Set the ith contour value.

void SetValue (int ,float )

Get the ith contour value. The return value will be clamped if the index i is out of range.

float GetValue (int )

Return a pointer to a list of contour values. The contents of the list will be garbage if the number of contours <= 0.

float *GetValues ()

Fill a supplied list with contour values. Make sure you've allocated memory of size GetNumberOfContours().

void GetValues (float *)

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.

void SetNumberOfContours (const int )

Return the number of contours in the

int GetNumberOfContours ()

Generate numContours equally spaced contour values between specified range. Contour values will include min/max range values.

void GenerateValues (int ,float )
void GenerateValues (int ,float ,float )