VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkSynchronizedTemplates2D Class Reference

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

#include <vtkSynchronizedTemplates2D.h>

Inherits vtkPolyDataAlgorithm.

Public Types

typedef vtkPolyDataAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkSynchronizedTemplates2DNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
unsigned long int GetMTime ()
 
void SetValue (int i, double value)
 
double GetValue (int i)
 
double * GetValues ()
 
void GetValues (double *contourValues)
 
void SetNumberOfContours (int number)
 
int GetNumberOfContours ()
 
void GenerateValues (int numContours, double range[2])
 
void GenerateValues (int numContours, double rangeStart, double rangeEnd)
 
virtual void SetComputeScalars (int)
 
virtual int GetComputeScalars ()
 
virtual void ComputeScalarsOn ()
 
virtual void ComputeScalarsOff ()
 
virtual void SetArrayComponent (int)
 
virtual int GetArrayComponent ()
 

Static Public Member Functions

static vtkSynchronizedTemplates2DNew ()
 
static int IsTypeOf (const char *type)
 
static vtkSynchronizedTemplates2DSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkSynchronizedTemplates2D ()
 
 ~vtkSynchronizedTemplates2D ()
 
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int FillInputPortInformation (int port, vtkInformation *info)
 

Protected Attributes

vtkContourValues * ContourValues
 
int ComputeScalars
 
int ArrayComponent
 

Detailed Description

generate isoline(s) from a structured points set

vtkSynchronizedTemplates2D is a 2D implementation of the synchronized template algorithm. Note that vtkContourFilter will automatically use this class when appropriate.

Warning
This filter is specialized to 2D images.
See Also
vtkContourFilter vtkSynchronizedTemplates3D

Definition at line 39 of file vtkSynchronizedTemplates2D.h.

Member Typedef Documentation

typedef vtkPolyDataAlgorithm vtkSynchronizedTemplates2D::Superclass

Definition at line 43 of file vtkSynchronizedTemplates2D.h.

Constructor & Destructor Documentation

vtkSynchronizedTemplates2D::vtkSynchronizedTemplates2D ( )
protected
vtkSynchronizedTemplates2D::~vtkSynchronizedTemplates2D ( )
protected

Member Function Documentation

static vtkSynchronizedTemplates2D* vtkSynchronizedTemplates2D::New ( )
static
static int vtkSynchronizedTemplates2D::IsTypeOf ( const char *  type)
static
virtual int vtkSynchronizedTemplates2D::IsA ( const char *  type)
virtual
static vtkSynchronizedTemplates2D* vtkSynchronizedTemplates2D::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkSynchronizedTemplates2D::NewInstanceInternal ( ) const
protectedvirtual
vtkSynchronizedTemplates2D* vtkSynchronizedTemplates2D::NewInstance ( ) const
void vtkSynchronizedTemplates2D::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
unsigned long int vtkSynchronizedTemplates2D::GetMTime ( )

Because we delegate to vtkContourValues

void vtkSynchronizedTemplates2D::SetValue ( int  i,
double  value 
)
inline

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

Definition at line 51 of file vtkSynchronizedTemplates2D.h.

double vtkSynchronizedTemplates2D::GetValue ( int  i)
inline

Get the ith contour value.

Definition at line 54 of file vtkSynchronizedTemplates2D.h.

double* vtkSynchronizedTemplates2D::GetValues ( )
inline

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

Definition at line 58 of file vtkSynchronizedTemplates2D.h.

void vtkSynchronizedTemplates2D::GetValues ( double *  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 64 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 72 of file vtkSynchronizedTemplates2D.h.

int vtkSynchronizedTemplates2D::GetNumberOfContours ( )
inline

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

Definition at line 78 of file vtkSynchronizedTemplates2D.h.

void vtkSynchronizedTemplates2D::GenerateValues ( int  numContours,
double  range[2] 
)
inline

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

Definition at line 85 of file vtkSynchronizedTemplates2D.h.

void vtkSynchronizedTemplates2D::GenerateValues ( int  numContours,
double  rangeStart,
double  rangeEnd 
)
inline

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

Definition at line 92 of file vtkSynchronizedTemplates2D.h.

virtual void vtkSynchronizedTemplates2D::SetComputeScalars ( int  )
virtual

Option to set the point scalars of the output. The scalars will be the iso value of course. By default this flag is on.

virtual int vtkSynchronizedTemplates2D::GetComputeScalars ( )
virtual

Option to set the point scalars of the output. The scalars will be the iso value of course. By default this flag is on.

virtual void vtkSynchronizedTemplates2D::ComputeScalarsOn ( )
virtual

Option to set the point scalars of the output. The scalars will be the iso value of course. By default this flag is on.

virtual void vtkSynchronizedTemplates2D::ComputeScalarsOff ( )
virtual

Option to set the point scalars of the output. The scalars will be the iso value of course. By default this flag is on.

virtual void vtkSynchronizedTemplates2D::SetArrayComponent ( int  )
virtual

Set/get which component of the scalar array to contour on; defaults to 0.

virtual int vtkSynchronizedTemplates2D::GetArrayComponent ( )
virtual

Set/get which component of the scalar array to contour on; defaults to 0.

virtual int vtkSynchronizedTemplates2D::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual
virtual int vtkSynchronizedTemplates2D::FillInputPortInformation ( int  port,
vtkInformation *  info 
)
protectedvirtual

Member Data Documentation

vtkContourValues* vtkSynchronizedTemplates2D::ContourValues
protected

Definition at line 117 of file vtkSynchronizedTemplates2D.h.

int vtkSynchronizedTemplates2D::ComputeScalars
protected

Definition at line 119 of file vtkSynchronizedTemplates2D.h.

int vtkSynchronizedTemplates2D::ArrayComponent
protected

Definition at line 120 of file vtkSynchronizedTemplates2D.h.


The documentation for this class was generated from the following file: