Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkSynchronizedTemplates2D Class Reference

generate isoline(s) from a structured points set. More...

#include <vtkSynchronizedTemplates2D.h>

Inheritance diagram for vtkSynchronizedTemplates2D:

Inheritance graph
[legend]
Collaboration diagram for vtkSynchronizedTemplates2D:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
unsigned long int GetMTime ()
void SetValue (int i, float value)
float GetValue (int i)
float * GetValues ()
void GetValues (float *contourValues)
void SetNumberOfContours (int number)
int GetNumberOfContours ()
void GenerateValues (int numContours, float range[2])
void GenerateValues (int numContours, float rangeStart, float rangeEnd)

Static Public Methods

vtkSynchronizedTemplates2D * New ()
int IsTypeOf (const char *type)
vtkSynchronizedTemplates2D * SafeDownCast (vtkObject *o)

Protected Methods

 vtkSynchronizedTemplates2D ()
 ~vtkSynchronizedTemplates2D ()
 vtkSynchronizedTemplates2D (const vtkSynchronizedTemplates2D &)
void operator= (const vtkSynchronizedTemplates2D &)
void Execute ()

Protected Attributes

vtkContourValuesContourValues

Friends

VTK_EXPORT vtkKitwareContourFilter

Detailed Description

generate isoline(s) from a structured points set.

Date:
2000/12/10 20:09:17
Revision:
1.11

vtkSynchronizedTemplates2D is a 2D implementation of the synchronized template algorithm. Note that vtkContourFilter will automatically use this class when appropriate if vtk was built with patents.

Warning:
This filter is specialized to 2D images.
See also:
vtkContourFilter vtkSynchronizedTemplates3D
Examples:
vtkSynchronizedTemplates2D (examples)

Definition at line 79 of file vtkSynchronizedTemplates2D.h.


Constructor & Destructor Documentation

vtkSynchronizedTemplates2D::vtkSynchronizedTemplates2D   [protected]
 

vtkSynchronizedTemplates2D::~vtkSynchronizedTemplates2D   [protected]
 

vtkSynchronizedTemplates2D::vtkSynchronizedTemplates2D const vtkSynchronizedTemplates2D &    [inline, protected]
 

Definition at line 129 of file vtkSynchronizedTemplates2D.h.


Member Function Documentation

vtkSynchronizedTemplates2D* vtkSynchronizedTemplates2D::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkPolyDataSource.

virtual const char* vtkSynchronizedTemplates2D::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkStructuredPointsToPolyDataFilter.

int vtkSynchronizedTemplates2D::IsTypeOf const char *    type [static]
 

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkStructuredPointsToPolyDataFilter.

virtual int vtkSynchronizedTemplates2D::IsA const char *    type [virtual]
 

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkStructuredPointsToPolyDataFilter.

vtkSynchronizedTemplates2D* vtkSynchronizedTemplates2D::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkStructuredPointsToPolyDataFilter.

void vtkSynchronizedTemplates2D::PrintSelf ostream &    os,
vtkIndent    indent
[virtual]
 

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkSource.

unsigned long int vtkSynchronizedTemplates2D::GetMTime   [virtual]
 

Because we delegate to vtkContourValues

Reimplemented from vtkObject.

void vtkSynchronizedTemplates2D::SetValue int    i,
float    value
[inline]
 

Set a particular contour value at contour number i. The index i ranges between 0<=i<NumberOfContours.

Definition at line 91 of file vtkSynchronizedTemplates2D.h.

float vtkSynchronizedTemplates2D::GetValue int    i [inline]
 

Get the ith contour value.

Definition at line 94 of file vtkSynchronizedTemplates2D.h.

float* vtkSynchronizedTemplates2D::GetValues   [inline]
 

Get a pointer to an array of contour values. There will be GetNumberOfContours() values in the list.

Definition at line 98 of file vtkSynchronizedTemplates2D.h.

void vtkSynchronizedTemplates2D::GetValues float *    contourValues [inline]
 

Fill a supplied list with contour values. There will be GetNumberOfContours() values in the list. Make sure you allocate enough memory to hold the list.

Definition at line 103 of file vtkSynchronizedTemplates2D.h.

void vtkSynchronizedTemplates2D::SetNumberOfContours int    number [inline]
 

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.

Definition at line 109 of file vtkSynchronizedTemplates2D.h.

int vtkSynchronizedTemplates2D::GetNumberOfContours   [inline]
 

Get the number of contours in the list of contour values.

Definition at line 113 of file vtkSynchronizedTemplates2D.h.

void vtkSynchronizedTemplates2D::GenerateValues int    numContours,
float    range[2]
[inline]
 

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

Definition at line 118 of file vtkSynchronizedTemplates2D.h.

void vtkSynchronizedTemplates2D::GenerateValues int    numContours,
float    rangeStart,
float    rangeEnd
[inline]
 

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

Definition at line 123 of file vtkSynchronizedTemplates2D.h.

void vtkSynchronizedTemplates2D::operator= const vtkSynchronizedTemplates2D &    [inline, protected]
 

Definition at line 130 of file vtkSynchronizedTemplates2D.h.

void vtkSynchronizedTemplates2D::Execute   [protected, virtual]
 

Reimplemented from vtkSource.


Friends And Related Function Documentation

friend VTK_EXPORT vtkKitwareContourFilter [friend]
 

Definition at line 137 of file vtkSynchronizedTemplates2D.h.


Member Data Documentation

vtkContourValues* vtkSynchronizedTemplates2D::ContourValues [protected]
 

Definition at line 133 of file vtkSynchronizedTemplates2D.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 13:00:42 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001