extract components of vector as separate scalars
More...
#include <vtkExtractVectorComponents.h>
Inherits vtkDataSetAlgorithm.
extract components of vector as separate scalars
vtkExtractVectorComponents is a filter that extracts vector components as separate scalars. This is accomplished by creating three different outputs. Each output is the same as the input, except that the scalar values will be one of the three components of the vector. These can be found in the VxComponent, VyComponent, and VzComponent. Alternatively, if the ExtractToFieldData flag is set, the filter will put all the components in the field data. The first component will be the scalar and the others will be non-attribute arrays.
- Warning
- This filter is unusual in that it creates multiple outputs. If you use the GetOutput() method, you will be retrieving the x vector component.
- Tests:
- vtkExtractVectorComponents (Tests)
Definition at line 44 of file vtkExtractVectorComponents.h.
vtkExtractVectorComponents::vtkExtractVectorComponents |
( |
| ) |
|
|
protected |
vtkExtractVectorComponents::~vtkExtractVectorComponents |
( |
| ) |
|
|
protected |
static int vtkExtractVectorComponents::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkExtractVectorComponents::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkExtractVectorComponents::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkExtractVectorComponents::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
virtual void vtkExtractVectorComponents::SetInputData |
( |
vtkDataSet * |
input | ) |
|
|
virtual |
Specify the input data or filter.
vtkDataSet* vtkExtractVectorComponents::GetVxComponent |
( |
| ) |
|
Get the output dataset representing velocity x-component. If output is NULL then input hasn't been set, which is necessary for abstract objects. (Note: this method returns the same information as the GetOutput() method with an index of 0.)
vtkDataSet* vtkExtractVectorComponents::GetVyComponent |
( |
| ) |
|
Get the output dataset representing velocity y-component. If output is NULL then input hasn't been set, which is necessary for abstract objects. (Note: this method returns the same information as the GetOutput() method with an index of 1.) Note that if ExtractToFieldData is true, this output will be empty.
vtkDataSet* vtkExtractVectorComponents::GetVzComponent |
( |
| ) |
|
Get the output dataset representing velocity z-component. If output is NULL then input hasn't been set, which is necessary for abstract objects. (Note: this method returns the same information as the GetOutput() method with an index of 2.) Note that if ExtractToFieldData is true, this output will be empty.
virtual void vtkExtractVectorComponents::SetExtractToFieldData |
( |
int |
| ) |
|
|
virtual |
Determines whether the vector components will be put in separate outputs or in the first output's field data
virtual int vtkExtractVectorComponents::GetExtractToFieldData |
( |
| ) |
|
|
virtual |
Determines whether the vector components will be put in separate outputs or in the first output's field data
virtual void vtkExtractVectorComponents::ExtractToFieldDataOn |
( |
| ) |
|
|
virtual |
Determines whether the vector components will be put in separate outputs or in the first output's field data
virtual void vtkExtractVectorComponents::ExtractToFieldDataOff |
( |
| ) |
|
|
virtual |
Determines whether the vector components will be put in separate outputs or in the first output's field data
virtual int vtkExtractVectorComponents::RequestData |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protectedvirtual |
int vtkExtractVectorComponents::ExtractToFieldData |
|
protected |
int vtkExtractVectorComponents::OutputsInitialized |
|
protected |
The documentation for this class was generated from the following file: