VTK
|
extract parts of tensor and create a scalar, vector, normal, or texture coordinates. More...
#include <vtkExtractTensorComponents.h>
Inherits vtkDataSetAlgorithm.
Public Types | |
typedef vtkDataSetAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkExtractTensorComponents * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetPassTensorsToOutput (int) |
virtual int | GetPassTensorsToOutput () |
virtual void | PassTensorsToOutputOn () |
virtual void | PassTensorsToOutputOff () |
virtual void | SetExtractScalars (int) |
virtual int | GetExtractScalars () |
virtual void | ExtractScalarsOn () |
virtual void | ExtractScalarsOff () |
virtual void | SetScalarComponents (int, int) |
void | SetScalarComponents (int[2]) |
virtual int * | GetScalarComponents () |
virtual void | GetScalarComponents (int data[2]) |
virtual void | SetScalarMode (int) |
virtual int | GetScalarMode () |
void | SetScalarModeToComponent () |
void | SetScalarModeToEffectiveStress () |
void | SetScalarModeToDeterminant () |
void | ScalarIsComponent () |
void | ScalarIsEffectiveStress () |
void | ScalarIsDeterminant () |
virtual void | SetExtractVectors (int) |
virtual int | GetExtractVectors () |
virtual void | ExtractVectorsOn () |
virtual void | ExtractVectorsOff () |
virtual void | SetVectorComponents (int, int, int, int, int, int) |
virtual void | SetVectorComponents (int[6]) |
virtual int * | GetVectorComponents () |
virtual void | GetVectorComponents (int data[6]) |
virtual void | SetExtractNormals (int) |
virtual int | GetExtractNormals () |
virtual void | ExtractNormalsOn () |
virtual void | ExtractNormalsOff () |
virtual void | SetNormalizeNormals (int) |
virtual int | GetNormalizeNormals () |
virtual void | NormalizeNormalsOn () |
virtual void | NormalizeNormalsOff () |
virtual void | SetNormalComponents (int, int, int, int, int, int) |
virtual void | SetNormalComponents (int[6]) |
virtual int * | GetNormalComponents () |
virtual void | GetNormalComponents (int data[6]) |
virtual void | SetExtractTCoords (int) |
virtual int | GetExtractTCoords () |
virtual void | ExtractTCoordsOn () |
virtual void | ExtractTCoordsOff () |
virtual void | SetNumberOfTCoords (int) |
virtual int | GetNumberOfTCoords () |
virtual void | SetTCoordComponents (int, int, int, int, int, int) |
virtual void | SetTCoordComponents (int[6]) |
virtual int * | GetTCoordComponents () |
virtual void | GetTCoordComponents (int data[6]) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkExtractTensorComponents * | SafeDownCast (vtkObjectBase *o) |
static vtkExtractTensorComponents * | New () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkExtractTensorComponents () | |
~vtkExtractTensorComponents () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
int | PassTensorsToOutput |
int | ExtractScalars |
int | ExtractVectors |
int | ExtractNormals |
int | ExtractTCoords |
int | ScalarMode |
int | ScalarComponents [2] |
int | VectorComponents [6] |
int | NormalizeNormals |
int | NormalComponents [6] |
int | NumberOfTCoords |
int | TCoordComponents [6] |
extract parts of tensor and create a scalar, vector, normal, or texture coordinates.
vtkExtractTensorComponents is a filter that extracts components of a tensor to create a scalar, vector, normal, or texture coords. For example, if the tensor contains components of stress, then you could extract the normal stress in the x-direction as a scalar (i.e., tensor component (0,0).
To use this filter, you must set some boolean flags to control which data is extracted from the tensors, and whether you want to pass the tensor data through to the output. Also, you must specify the tensor component(s) for each type of data you want to extract. The tensor component(s) is(are) specified using matrix notation into a 3x3 matrix. That is, use the (row,column) address to specify a particular tensor component; and if the data you are extracting requires more than one component, use a list of addresses. (Note that the addresses are 0-offset -> (0,0) specifies upper left corner of the tensor.)
There are two optional methods to extract scalar data. You can extract the determinant of the tensor, or you can extract the effective stress of the tensor. These require that the ivar ExtractScalars is on, and the appropriate scalar extraction mode is set.
Definition at line 55 of file vtkExtractTensorComponents.h.
typedef vtkDataSetAlgorithm vtkExtractTensorComponents::Superclass |
Definition at line 58 of file vtkExtractTensorComponents.h.
|
protected |
|
inlineprotected |
Definition at line 167 of file vtkExtractTensorComponents.h.
|
static |
|
virtual |
|
static |
|
protectedvirtual |
vtkExtractTensorComponents* vtkExtractTensorComponents::NewInstance | ( | ) | const |
void vtkExtractTensorComponents::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
static |
Construct object to extract nothing and to not pass tensor data through the pipeline.
|
virtual |
Boolean controls whether tensor data is passed through to output.
|
virtual |
Boolean controls whether tensor data is passed through to output.
|
virtual |
Boolean controls whether tensor data is passed through to output.
|
virtual |
Boolean controls whether tensor data is passed through to output.
|
virtual |
Boolean controls whether scalar data is extracted from tensor.
|
virtual |
Boolean controls whether scalar data is extracted from tensor.
|
virtual |
Boolean controls whether scalar data is extracted from tensor.
|
virtual |
Boolean controls whether scalar data is extracted from tensor.
|
virtual |
Specify the (row,column) tensor component to extract as a scalar.
void vtkExtractTensorComponents::SetScalarComponents | ( | int | [2] | ) |
Specify the (row,column) tensor component to extract as a scalar.
|
virtual |
Specify the (row,column) tensor component to extract as a scalar.
|
virtual |
Specify the (row,column) tensor component to extract as a scalar.
|
virtual |
Specify how to extract the scalar. You can extract it as one of the components of the tensor, as effective stress, or as the determinant of the tensor. If you extract a component make sure that you set the ScalarComponents ivar.
|
virtual |
Specify how to extract the scalar. You can extract it as one of the components of the tensor, as effective stress, or as the determinant of the tensor. If you extract a component make sure that you set the ScalarComponents ivar.
|
inline |
Specify how to extract the scalar. You can extract it as one of the components of the tensor, as effective stress, or as the determinant of the tensor. If you extract a component make sure that you set the ScalarComponents ivar.
Definition at line 92 of file vtkExtractTensorComponents.h.
|
inline |
Specify how to extract the scalar. You can extract it as one of the components of the tensor, as effective stress, or as the determinant of the tensor. If you extract a component make sure that you set the ScalarComponents ivar.
Definition at line 94 of file vtkExtractTensorComponents.h.
|
inline |
Specify how to extract the scalar. You can extract it as one of the components of the tensor, as effective stress, or as the determinant of the tensor. If you extract a component make sure that you set the ScalarComponents ivar.
Definition at line 96 of file vtkExtractTensorComponents.h.
|
inline |
Specify how to extract the scalar. You can extract it as one of the components of the tensor, as effective stress, or as the determinant of the tensor. If you extract a component make sure that you set the ScalarComponents ivar.
Definition at line 98 of file vtkExtractTensorComponents.h.
|
inline |
Specify how to extract the scalar. You can extract it as one of the components of the tensor, as effective stress, or as the determinant of the tensor. If you extract a component make sure that you set the ScalarComponents ivar.
Definition at line 100 of file vtkExtractTensorComponents.h.
|
inline |
Specify how to extract the scalar. You can extract it as one of the components of the tensor, as effective stress, or as the determinant of the tensor. If you extract a component make sure that you set the ScalarComponents ivar.
Definition at line 102 of file vtkExtractTensorComponents.h.
|
virtual |
Boolean controls whether vector data is extracted from tensor.
|
virtual |
Boolean controls whether vector data is extracted from tensor.
|
virtual |
Boolean controls whether vector data is extracted from tensor.
|
virtual |
Boolean controls whether vector data is extracted from tensor.
|
virtual |
Specify the ((row,column)0,(row,column)1,(row,column)2) tensor components to extract as a vector.
|
virtual |
Specify the ((row,column)0,(row,column)1,(row,column)2) tensor components to extract as a vector.
|
virtual |
Specify the ((row,column)0,(row,column)1,(row,column)2) tensor components to extract as a vector.
|
virtual |
Specify the ((row,column)0,(row,column)1,(row,column)2) tensor components to extract as a vector.
|
virtual |
Boolean controls whether normal data is extracted from tensor.
|
virtual |
Boolean controls whether normal data is extracted from tensor.
|
virtual |
Boolean controls whether normal data is extracted from tensor.
|
virtual |
Boolean controls whether normal data is extracted from tensor.
|
virtual |
Boolean controls whether normal vector is converted to unit normal after extraction.
|
virtual |
Boolean controls whether normal vector is converted to unit normal after extraction.
|
virtual |
Boolean controls whether normal vector is converted to unit normal after extraction.
|
virtual |
Boolean controls whether normal vector is converted to unit normal after extraction.
|
virtual |
Specify the ((row,column)0,(row,column)1,(row,column)2) tensor components to extract as a vector.
|
virtual |
Specify the ((row,column)0,(row,column)1,(row,column)2) tensor components to extract as a vector.
|
virtual |
Specify the ((row,column)0,(row,column)1,(row,column)2) tensor components to extract as a vector.
|
virtual |
Specify the ((row,column)0,(row,column)1,(row,column)2) tensor components to extract as a vector.
|
virtual |
Boolean controls whether texture coordinates are extracted from tensor.
|
virtual |
Boolean controls whether texture coordinates are extracted from tensor.
|
virtual |
Boolean controls whether texture coordinates are extracted from tensor.
|
virtual |
Boolean controls whether texture coordinates are extracted from tensor.
|
virtual |
Set the dimension of the texture coordinates to extract.
|
virtual |
Set the dimension of the texture coordinates to extract.
|
virtual |
Specify the ((row,column)0,(row,column)1,(row,column)2) tensor components to extract as a vector. Up to NumberOfTCoords components are extracted.
|
virtual |
Specify the ((row,column)0,(row,column)1,(row,column)2) tensor components to extract as a vector. Up to NumberOfTCoords components are extracted.
|
virtual |
Specify the ((row,column)0,(row,column)1,(row,column)2) tensor components to extract as a vector. Up to NumberOfTCoords components are extracted.
|
virtual |
Specify the ((row,column)0,(row,column)1,(row,column)2) tensor components to extract as a vector. Up to NumberOfTCoords components are extracted.
|
protected |
|
protected |
Definition at line 171 of file vtkExtractTensorComponents.h.
|
protected |
Definition at line 173 of file vtkExtractTensorComponents.h.
|
protected |
Definition at line 174 of file vtkExtractTensorComponents.h.
|
protected |
Definition at line 175 of file vtkExtractTensorComponents.h.
|
protected |
Definition at line 176 of file vtkExtractTensorComponents.h.
|
protected |
Definition at line 178 of file vtkExtractTensorComponents.h.
|
protected |
Definition at line 179 of file vtkExtractTensorComponents.h.
|
protected |
Definition at line 181 of file vtkExtractTensorComponents.h.
|
protected |
Definition at line 183 of file vtkExtractTensorComponents.h.
|
protected |
Definition at line 184 of file vtkExtractTensorComponents.h.
|
protected |
Definition at line 186 of file vtkExtractTensorComponents.h.
|
protected |
Definition at line 187 of file vtkExtractTensorComponents.h.