#include <vtkSplitField.h>
Inheritance diagram for vtkSplitField:
Public Types | |
enum | FieldLocations { DATA_OBJECT = 0, POINT_DATA = 1, CELL_DATA = 2 } |
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetInputField (int attributeType, int fieldLoc) |
void | SetInputField (const char *name, int fieldLoc) |
void | SetInputField (const char *name, const char *fieldLoc) |
void | Split (int component, const char *arrayName) |
Static Public Methods | |
int | IsTypeOf (const char *type) |
vtkSplitField * | SafeDownCast (vtkObject *o) |
vtkSplitField * | New () |
Protected Types | |
enum | FieldTypes { NAME, ATTRIBUTE } |
Protected Methods | |
vtkSplitField () | |
virtual | ~vtkSplitField () |
void | Execute () |
vtkDataArray * | SplitArray (vtkDataArray *da, int component) |
Component * | GetNextComponent (Component *op) |
Component * | GetFirst () |
void | AddComponent (Component *op) |
Component * | FindComponent (int index) |
void | DeleteAllComponents () |
void | PrintComponent (Component *op, ostream &os, vtkIndent indent) |
void | PrintAllComponents (ostream &os, vtkIndent indent) |
Protected Attributes | |
char * | FieldName |
int | FieldType |
int | AttributeType |
int | FieldLocation |
Component * | Head |
Component * | Tail |
Static Protected Attributes | |
char | FieldLocationNames [3][12] |
char | AttributeNames [vtkDataSetAttributes::NUM_ATTRIBUTES][10] |
vtkSplitField is used to split a multi-component field (vtkDataArray) into multiple single component fields. The new fields are put in the same field data as the original field. The output arrays are of the same type as the input array. Example:
sf->SetInputField("gradient", vtkSplitField::POINT_DATA); sf->Split(0, "firstcomponent");
sf SetInputField gradient POINT_DATA sf Split 0 firstcomponent AttributeTypes: SCALARS, VECTORS, NORMALS, TCOORDS, TENSORS Field locations: DATA_OBJECT, POINT_DATA, CELL_DATA
Definition at line 91 of file vtkSplitField.h.
|
Definition at line 116 of file vtkSplitField.h. |
|
Definition at line 148 of file vtkSplitField.h. |
|
|
|
|
|
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 vtkDataSetToDataSetFilter. |
|
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 vtkDataSetToDataSetFilter. |
|
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 vtkDataSetToDataSetFilter. |
|
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 vtkDataSetToDataSetFilter. |
|
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 vtkSource. |
|
Create a new vtkSplitField. Reimplemented from vtkDataSetSource. |
|
Use the given attribute in the field data given by fieldLoc as input. |
|
Use the array with given name in the field data given by fieldLoc as input. |
|
Helper method used by other language bindings. Allows the caller to specify arguments as strings instead of enums. |
|
Create a new array with the given component. |
|
This method is the old style execute method Reimplemented from vtkSource. |
|
|
|
Definition at line 176 of file vtkSplitField.h. |
|
Definition at line 178 of file vtkSplitField.h. |
|
|
|
|
|
|
|
Definition at line 184 of file vtkSplitField.h. |
|
Definition at line 190 of file vtkSplitField.h. |
|
Definition at line 160 of file vtkSplitField.h. |
|
Definition at line 161 of file vtkSplitField.h. |
|
Definition at line 162 of file vtkSplitField.h. |
|
Definition at line 163 of file vtkSplitField.h. |
|
Definition at line 165 of file vtkSplitField.h. |
|
Definition at line 166 of file vtkSplitField.h. |
|
Definition at line 172 of file vtkSplitField.h. |
|
Definition at line 173 of file vtkSplitField.h. |