Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkThresholdTextureCoords Class Reference

#include <vtkThresholdTextureCoords.h>

Inheritance diagram for vtkThresholdTextureCoords:

Inheritance graph
[legend]
Collaboration diagram for vtkThresholdTextureCoords:

Collaboration graph
[legend]
List of all members.

Detailed Description

compute 1D, 2D, or 3D texture coordinates based on scalar threshold

vtkThresholdTextureCoords is a filter that generates texture coordinates for any input dataset type given a threshold criterion. The criterion can take three forms: 1) greater than a particular value (ThresholdByUpper()); 2) less than a particular value (ThresholdByLower(); or 3) between two values (ThresholdBetween(). If the threshold criterion is satisfied, the "in" texture coordinate will be set (this can be specified by the user). If the threshold criterion is not satisfied the "out" is set.

Warning:
There is a texture map - texThres.vtk - that can be used in conjunction with this filter. This map defines a "transparent" region for texture coordinates 0<=r<0.5, and an opaque full intensity map for texture coordinates 0.5<r<=1.0. There is a small transition region for r=0.5.
See also:
vtkThreshold vtkThresholdPoints vtkTextureMapToPlane vtkTextureMapToSphere vtkTextureMapToCylinder vtkTextureMapToBox
Created by:
  • Schroeder, Will
CVS contributions (if > 5%):
  • Schroeder, Will (61%)
  • Martin, Ken (17%)
  • Geveci, Berk (5%)
CVS logs (CVSweb):
  • .h (/Graphics/vtkThresholdTextureCoords.h)
  • .cxx (/Graphics/vtkThresholdTextureCoords.cxx)
Examples:
vtkThresholdTextureCoords (Examples)
Tests:
vtkThresholdTextureCoords (Tests)

Definition at line 60 of file vtkThresholdTextureCoords.h.

Public Types

typedef vtkDataSetToDataSetFilter Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void ThresholdByLower (double lower)
void ThresholdByUpper (double upper)
void ThresholdBetween (double lower, double upper)
virtual double GetUpperThreshold ()
virtual double GetLowerThreshold ()
virtual void SetTextureDimension (int)
virtual int GetTextureDimension ()
virtual void SetInTextureCoord (double, double, double)
virtual void SetInTextureCoord (double[3])
virtual double * GetInTextureCoord ()
virtual void GetInTextureCoord (double data[3])
virtual void SetOutTextureCoord (double, double, double)
virtual void SetOutTextureCoord (double[3])
virtual double * GetOutTextureCoord ()
virtual void GetOutTextureCoord (double data[3])

Static Public Member Functions

vtkThresholdTextureCoordsNew ()
int IsTypeOf (const char *type)
vtkThresholdTextureCoordsSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkThresholdTextureCoords ()
 ~vtkThresholdTextureCoords ()
void Execute ()
int Lower (double s)
int Upper (double s)
int Between (double s)

Protected Attributes

double LowerThreshold
double UpperThreshold
int TextureDimension
double InTextureCoord [3]
double OutTextureCoord [3]
int(vtkThresholdTextureCoords::* ThresholdFunction )(double s)


Member Typedef Documentation

typedef vtkDataSetToDataSetFilter vtkThresholdTextureCoords::Superclass
 

Reimplemented from vtkDataSetToDataSetFilter.

Definition at line 64 of file vtkThresholdTextureCoords.h.


Constructor & Destructor Documentation

vtkThresholdTextureCoords::vtkThresholdTextureCoords  )  [protected]
 

vtkThresholdTextureCoords::~vtkThresholdTextureCoords  )  [inline, protected]
 

Definition at line 105 of file vtkThresholdTextureCoords.h.


Member Function Documentation

vtkThresholdTextureCoords* vtkThresholdTextureCoords::New  )  [static]
 

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkAlgorithm.

virtual const char* vtkThresholdTextureCoords::GetClassName  )  [virtual]
 

Reimplemented from vtkDataSetToDataSetFilter.

int vtkThresholdTextureCoords::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetToDataSetFilter.

virtual int vtkThresholdTextureCoords::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetToDataSetFilter.

vtkThresholdTextureCoords* vtkThresholdTextureCoords::SafeDownCast vtkObject o  )  [static]
 

Reimplemented from vtkDataSetToDataSetFilter.

void vtkThresholdTextureCoords::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 vtkDataSetToDataSetFilter.

void vtkThresholdTextureCoords::ThresholdByLower double  lower  ) 
 

Criterion is cells whose scalars are less than lower threshold.

void vtkThresholdTextureCoords::ThresholdByUpper double  upper  ) 
 

Criterion is cells whose scalars are less than upper threshold.

void vtkThresholdTextureCoords::ThresholdBetween double  lower,
double  upper
 

Criterion is cells whose scalars are between lower and upper thresholds.

virtual double vtkThresholdTextureCoords::GetUpperThreshold  )  [virtual]
 

Return the upper and lower thresholds.

virtual double vtkThresholdTextureCoords::GetLowerThreshold  )  [virtual]
 

Return the upper and lower thresholds.

virtual void vtkThresholdTextureCoords::SetTextureDimension int   )  [virtual]
 

Set the desired dimension of the texture map.

virtual int vtkThresholdTextureCoords::GetTextureDimension  )  [virtual]
 

Set the desired dimension of the texture map.

virtual void vtkThresholdTextureCoords::SetInTextureCoord double  ,
double  ,
double 
[virtual]
 

Set the texture coordinate value for point satisfying threshold criterion.

virtual void vtkThresholdTextureCoords::SetInTextureCoord double  [3]  )  [virtual]
 

Set the texture coordinate value for point satisfying threshold criterion.

virtual double* vtkThresholdTextureCoords::GetInTextureCoord  )  [virtual]
 

Set the texture coordinate value for point satisfying threshold criterion.

virtual void vtkThresholdTextureCoords::GetInTextureCoord double  data[3]  )  [virtual]
 

Set the texture coordinate value for point satisfying threshold criterion.

virtual void vtkThresholdTextureCoords::SetOutTextureCoord double  ,
double  ,
double 
[virtual]
 

Set the texture coordinate value for point NOT satisfying threshold criterion.

virtual void vtkThresholdTextureCoords::SetOutTextureCoord double  [3]  )  [virtual]
 

Set the texture coordinate value for point NOT satisfying threshold criterion.

virtual double* vtkThresholdTextureCoords::GetOutTextureCoord  )  [virtual]
 

Set the texture coordinate value for point NOT satisfying threshold criterion.

virtual void vtkThresholdTextureCoords::GetOutTextureCoord double  data[3]  )  [virtual]
 

Set the texture coordinate value for point NOT satisfying threshold criterion.

void vtkThresholdTextureCoords::Execute  )  [protected, virtual]
 

This method is the old style execute method

Reimplemented from vtkSource.

int vtkThresholdTextureCoords::Lower double  s  )  [inline, protected]
 

Definition at line 122 of file vtkThresholdTextureCoords.h.

int vtkThresholdTextureCoords::Upper double  s  )  [inline, protected]
 

Definition at line 123 of file vtkThresholdTextureCoords.h.

int vtkThresholdTextureCoords::Between double  s  )  [inline, protected]
 

Definition at line 124 of file vtkThresholdTextureCoords.h.


Member Data Documentation

double vtkThresholdTextureCoords::LowerThreshold [protected]
 

Definition at line 110 of file vtkThresholdTextureCoords.h.

double vtkThresholdTextureCoords::UpperThreshold [protected]
 

Definition at line 111 of file vtkThresholdTextureCoords.h.

int vtkThresholdTextureCoords::TextureDimension [protected]
 

Definition at line 113 of file vtkThresholdTextureCoords.h.

double vtkThresholdTextureCoords::InTextureCoord[3] [protected]
 

Definition at line 115 of file vtkThresholdTextureCoords.h.

double vtkThresholdTextureCoords::OutTextureCoord[3] [protected]
 

Definition at line 116 of file vtkThresholdTextureCoords.h.

int(vtkThresholdTextureCoords::* vtkThresholdTextureCoords::ThresholdFunction)(double s) [protected]
 


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