VTK
|
split multicomponent table columns More...
#include <vtkSplitColumnComponents.h>
split multicomponent table columns
Splits any columns in a table that have more than one component into individual columns. Single component columns are passed through without any data duplication. NamingMode can be used to control how columns with multiple components are labelled in the output, e.g., if column names "Points" had three components this column would be split into "Points (0)", "Points (1)", and Points (2)" when NamingMode is NUMBERS_WITH_PARENS, into Points_0, Points_1, and Points_2 when NamingMode is NUMBERS_WITH_UNDERSCORES, into "Points (X)", "Points (Y)", and "Points (Z)" when NamingMode is NAMES_WITH_PARENS, and into Points_X, Points_Y, and Points_Z when NamingMode is NAMES_WITH_UNDERSCORES.
Definition at line 46 of file vtkSplitColumnComponents.h.
Reimplemented from vtkTableAlgorithm.
Definition at line 50 of file vtkSplitColumnComponents.h.
anonymous enum |
Definition at line 60 of file vtkSplitColumnComponents.h.
vtkSplitColumnComponents::vtkSplitColumnComponents | ( | ) | [protected] |
vtkSplitColumnComponents::~vtkSplitColumnComponents | ( | ) | [protected] |
static vtkSplitColumnComponents* vtkSplitColumnComponents::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkTableAlgorithm.
static int vtkSplitColumnComponents::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 vtkTableAlgorithm.
virtual int vtkSplitColumnComponents::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 vtkTableAlgorithm.
static vtkSplitColumnComponents* vtkSplitColumnComponents::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkTableAlgorithm.
virtual vtkObjectBase* vtkSplitColumnComponents::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkTableAlgorithm.
Reimplemented from vtkTableAlgorithm.
void vtkSplitColumnComponents::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 vtkTableAlgorithm.
virtual void vtkSplitColumnComponents::SetCalculateMagnitudes | ( | bool | ) | [virtual] |
If on this filter will calculate an additional magnitude column for all columns it splits with two or more components. Default is on.
virtual bool vtkSplitColumnComponents::GetCalculateMagnitudes | ( | ) | [virtual] |
If on this filter will calculate an additional magnitude column for all columns it splits with two or more components. Default is on.
virtual void vtkSplitColumnComponents::SetNamingMode | ( | int | ) | [virtual] |
Get/Set the array naming mode. Description is NUMBERS_WITH_PARENS.
void vtkSplitColumnComponents::SetNamingModeToNumberWithParens | ( | ) | [inline] |
Get/Set the array naming mode. Description is NUMBERS_WITH_PARENS.
Definition at line 71 of file vtkSplitColumnComponents.h.
void vtkSplitColumnComponents::SetNamingModeToNumberWithUnderscores | ( | ) | [inline] |
Get/Set the array naming mode. Description is NUMBERS_WITH_PARENS.
Definition at line 73 of file vtkSplitColumnComponents.h.
void vtkSplitColumnComponents::SetNamingModeToNamesWithParens | ( | ) | [inline] |
Get/Set the array naming mode. Description is NUMBERS_WITH_PARENS.
Definition at line 75 of file vtkSplitColumnComponents.h.
void vtkSplitColumnComponents::SetNamingModeToNamesWithUnderscores | ( | ) | [inline] |
Get/Set the array naming mode. Description is NUMBERS_WITH_PARENS.
Definition at line 77 of file vtkSplitColumnComponents.h.
virtual int vtkSplitColumnComponents::GetNamingMode | ( | ) | [virtual] |
Get/Set the array naming mode. Description is NUMBERS_WITH_PARENS.
vtkStdString vtkSplitColumnComponents::GetComponentLabel | ( | vtkAbstractArray * | array, |
int | component_no | ||
) | [protected] |
Returns the label to use for the specific component in the array based on this->NamingMode. Use component_no==-1 for magnitude.
int vtkSplitColumnComponents::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkTableAlgorithm.
bool vtkSplitColumnComponents::CalculateMagnitudes [protected] |
Definition at line 90 of file vtkSplitColumnComponents.h.
int vtkSplitColumnComponents::NamingMode [protected] |
Definition at line 97 of file vtkSplitColumnComponents.h.