Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkExtractVectorComponents Class Reference

extract components of vector as separate scalars. More...

#include <vtkExtractVectorComponents.h>

Inheritance diagram for vtkExtractVectorComponents:

Inheritance graph
[legend]
Collaboration diagram for vtkExtractVectorComponents:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
virtual void SetInput (vtkDataSet *input)
vtkDataSetGetInput ()
vtkDataSetGetVxComponent ()
vtkDataSetGetVyComponent ()
vtkDataSetGetVzComponent ()
vtkDataSetGetOutput (int i=0)
void SetInput (vtkDataSet &input)

Static Public Methods

vtkExtractVectorComponents * New ()
int IsTypeOf (const char *type)
vtkExtractVectorComponents * SafeDownCast (vtkObject *o)

Protected Methods

 vtkExtractVectorComponents ()
 ~vtkExtractVectorComponents ()
 vtkExtractVectorComponents (const vtkExtractVectorComponents &)
void operator= (const vtkExtractVectorComponents &)
void Execute ()

Detailed Description

extract components of vector as separate scalars.

Date:
2000/12/10 20:08:37
Revision:
1.28

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.

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.
Examples:
vtkExtractVectorComponents (examples)

Definition at line 66 of file vtkExtractVectorComponents.h.


Constructor & Destructor Documentation

vtkExtractVectorComponents::vtkExtractVectorComponents   [protected]
 

vtkExtractVectorComponents::~vtkExtractVectorComponents   [protected]
 

vtkExtractVectorComponents::vtkExtractVectorComponents const vtkExtractVectorComponents &    [inline, protected]
 

Definition at line 111 of file vtkExtractVectorComponents.h.


Member Function Documentation

vtkExtractVectorComponents* vtkExtractVectorComponents::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkSource.

virtual const char* vtkExtractVectorComponents::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkSource.

int vtkExtractVectorComponents::IsTypeOf const char *    type [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 vtkSource.

virtual int vtkExtractVectorComponents::IsA const char *    type [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 vtkSource.

vtkExtractVectorComponents* vtkExtractVectorComponents::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkSource.

virtual void vtkExtractVectorComponents::SetInput vtkDataSet   input [virtual]
 

Specify the input data or filter.

vtkDataSet* vtkExtractVectorComponents::GetInput  
 

Get 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.)

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.)

vtkDataSet* vtkExtractVectorComponents::GetOutput int    i = 0
 

Get the output dataset containing the indicated component. The component is specified by an index between (0,2) corresponding to the x, y, or z vector component. By default, the x component is extracted.

Reimplemented from vtkSource.

void vtkExtractVectorComponents::SetInput vtkDataSet   input [inline]
 

For legacy compatibility. Do not use.

Definition at line 104 of file vtkExtractVectorComponents.h.

void vtkExtractVectorComponents::operator= const vtkExtractVectorComponents &    [inline, protected]
 

Definition at line 112 of file vtkExtractVectorComponents.h.

void vtkExtractVectorComponents::Execute   [protected, virtual]
 

Reimplemented from vtkSource.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:47:53 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001