VTK
|
compute 1D, 2D, or 3D texture coordinates based on scalar threshold More...
#include <vtkThresholdTextureCoords.h>
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.
Definition at line 49 of file vtkThresholdTextureCoords.h.
Reimplemented from vtkDataSetAlgorithm.
Definition at line 53 of file vtkThresholdTextureCoords.h.
vtkThresholdTextureCoords::vtkThresholdTextureCoords | ( | ) | [protected] |
vtkThresholdTextureCoords::~vtkThresholdTextureCoords | ( | ) | [inline, protected] |
Definition at line 94 of file vtkThresholdTextureCoords.h.
static vtkThresholdTextureCoords* vtkThresholdTextureCoords::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkDataSetAlgorithm.
static int vtkThresholdTextureCoords::IsTypeOf | ( | const char * | name | ) | [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 vtkDataSetAlgorithm.
virtual int vtkThresholdTextureCoords::IsA | ( | const char * | name | ) | [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 vtkDataSetAlgorithm.
static vtkThresholdTextureCoords* vtkThresholdTextureCoords::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkDataSetAlgorithm.
virtual vtkObjectBase* vtkThresholdTextureCoords::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkDataSetAlgorithm.
Reimplemented from vtkDataSetAlgorithm.
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 vtkDataSetAlgorithm.
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.
int vtkThresholdTextureCoords::RequestData | ( | vtkInformation * | , |
vtkInformationVector ** | , | ||
vtkInformationVector * | |||
) | [protected, virtual] |
This is called within ProcessRequest when a request asks the algorithm to do its work. This is the method you should override to do whatever the algorithm is designed to do. This happens during the fourth pass in the pipeline execution process.
Reimplemented from vtkDataSetAlgorithm.
int vtkThresholdTextureCoords::Lower | ( | double | s | ) | [inline, protected] |
Definition at line 111 of file vtkThresholdTextureCoords.h.
int vtkThresholdTextureCoords::Upper | ( | double | s | ) | [inline, protected] |
Definition at line 112 of file vtkThresholdTextureCoords.h.
int vtkThresholdTextureCoords::Between | ( | double | s | ) | [inline, protected] |
Definition at line 113 of file vtkThresholdTextureCoords.h.
double vtkThresholdTextureCoords::LowerThreshold [protected] |
Definition at line 99 of file vtkThresholdTextureCoords.h.
double vtkThresholdTextureCoords::UpperThreshold [protected] |
Definition at line 100 of file vtkThresholdTextureCoords.h.
int vtkThresholdTextureCoords::TextureDimension [protected] |
Definition at line 102 of file vtkThresholdTextureCoords.h.
double vtkThresholdTextureCoords::InTextureCoord[3] [protected] |
Definition at line 104 of file vtkThresholdTextureCoords.h.
double vtkThresholdTextureCoords::OutTextureCoord[3] [protected] |
Definition at line 105 of file vtkThresholdTextureCoords.h.
int(vtkThresholdTextureCoords::* vtkThresholdTextureCoords::ThresholdFunction)(double s) [protected] |
Definition at line 108 of file vtkThresholdTextureCoords.h.