VTK
|
extract components of vector as separate scalars More...
#include <vtkExtractVectorComponents.h>
Public Types | |
typedef vtkDataSetAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkExtractVectorComponents * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetInputData (vtkDataSet *input) |
vtkDataSet * | GetVxComponent () |
vtkDataSet * | GetVyComponent () |
vtkDataSet * | GetVzComponent () |
virtual void | SetExtractToFieldData (int) |
virtual int | GetExtractToFieldData () |
virtual void | ExtractToFieldDataOn () |
virtual void | ExtractToFieldDataOff () |
Static Public Member Functions | |
static vtkExtractVectorComponents * | New () |
static int | IsTypeOf (const char *type) |
static vtkExtractVectorComponents * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkExtractVectorComponents () | |
~vtkExtractVectorComponents () | |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
int | ExtractToFieldData |
int | OutputsInitialized |
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.
Definition at line 44 of file vtkExtractVectorComponents.h.
Reimplemented from vtkDataSetAlgorithm.
Definition at line 48 of file vtkExtractVectorComponents.h.
vtkExtractVectorComponents::vtkExtractVectorComponents | ( | ) | [protected] |
vtkExtractVectorComponents::~vtkExtractVectorComponents | ( | ) | [protected] |
static vtkExtractVectorComponents* vtkExtractVectorComponents::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkDataSetAlgorithm.
static int vtkExtractVectorComponents::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 vtkExtractVectorComponents::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 vtkExtractVectorComponents* vtkExtractVectorComponents::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkDataSetAlgorithm.
virtual vtkObjectBase* vtkExtractVectorComponents::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkDataSetAlgorithm.
Reimplemented from vtkDataSetAlgorithm.
void vtkExtractVectorComponents::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.
virtual void vtkExtractVectorComponents::SetInputData | ( | vtkDataSet * | input | ) | [virtual] |
Specify the input data or filter.
Reimplemented from vtkDataSetAlgorithm.
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.)
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.
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 * | |||
) | [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 vtkExtractVectorComponents::ExtractToFieldData [protected] |
Definition at line 87 of file vtkExtractVectorComponents.h.
int vtkExtractVectorComponents::OutputsInitialized [protected] |
Definition at line 88 of file vtkExtractVectorComponents.h.