compute 1D, 2D, or 3D texture coordinates based on scalar threshold
More...
#include <vtkThresholdTextureCoords.h>
Inherits vtkDataSetAlgorithm.
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
- Examples:
- vtkThresholdTextureCoords (Examples)
- Tests:
- vtkThresholdTextureCoords (Tests)
Definition at line 49 of file vtkThresholdTextureCoords.h.
vtkThresholdTextureCoords::vtkThresholdTextureCoords |
( |
| ) |
|
|
protected |
vtkThresholdTextureCoords::~vtkThresholdTextureCoords |
( |
| ) |
|
|
inlineprotected |
static int vtkThresholdTextureCoords::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkThresholdTextureCoords::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkThresholdTextureCoords::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkThresholdTextureCoords::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
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 |
int vtkThresholdTextureCoords::Lower |
( |
double |
s | ) |
|
|
inlineprotected |
int vtkThresholdTextureCoords::Upper |
( |
double |
s | ) |
|
|
inlineprotected |
int vtkThresholdTextureCoords::Between |
( |
double |
s | ) |
|
|
inlineprotected |
double vtkThresholdTextureCoords::LowerThreshold |
|
protected |
double vtkThresholdTextureCoords::UpperThreshold |
|
protected |
int vtkThresholdTextureCoords::TextureDimension |
|
protected |
double vtkThresholdTextureCoords::InTextureCoord[3] |
|
protected |
double vtkThresholdTextureCoords::OutTextureCoord[3] |
|
protected |
int(vtkThresholdTextureCoords::* vtkThresholdTextureCoords::ThresholdFunction)(double s) |
|
protected |
The documentation for this class was generated from the following file: