#include <vtkBlockIdScalars.h>
vtkBlockIdScalars is a filter that generates scalars using the block index for each block. Note that all sub-blocks within a block get the same scalar. The new scalars array is named BlockIdScalars
.
Definition at line 28 of file vtkBlockIdScalars.h.
Public Types | |
typedef vtkMultiBlockDataSetAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
Static Public Member Functions | |
static vtkBlockIdScalars * | New () |
static int | IsTypeOf (const char *type) |
static vtkBlockIdScalars * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkBlockIdScalars () | |
~vtkBlockIdScalars () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
vtkDataObject * | ColorBlock (vtkDataObject *input, int group) |
Reimplemented from vtkMultiBlockDataSetAlgorithm.
Definition at line 32 of file vtkBlockIdScalars.h.
vtkBlockIdScalars::vtkBlockIdScalars | ( | ) | [protected] |
vtkBlockIdScalars::~vtkBlockIdScalars | ( | ) | [protected] |
static vtkBlockIdScalars* vtkBlockIdScalars::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
virtual const char* vtkBlockIdScalars::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkMultiBlockDataSetAlgorithm.
static int vtkBlockIdScalars::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
virtual int vtkBlockIdScalars::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
static vtkBlockIdScalars* vtkBlockIdScalars::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkMultiBlockDataSetAlgorithm.
void vtkBlockIdScalars::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 vtkMultiBlockDataSetAlgorithm.
int vtkBlockIdScalars::RequestData | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
vtkDataObject* vtkBlockIdScalars::ColorBlock | ( | vtkDataObject * | input, | |
int | group | |||
) | [protected] |