VTK
|
generates scalars from blocks. More...
#include <vtkBlockIdScalars.h>
Public Types | |
typedef vtkMultiBlockDataSetAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkBlockIdScalars * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
Static Public Member Functions | |
static vtkBlockIdScalars * | New () |
static int | IsTypeOf (const char *type) |
static vtkBlockIdScalars * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkBlockIdScalars () | |
~vtkBlockIdScalars () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
vtkDataObject * | ColorBlock (vtkDataObject *input, int group) |
generates scalars from blocks.
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 29 of file vtkBlockIdScalars.h.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
Definition at line 33 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.
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 vtkTypeMacro 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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
static vtkBlockIdScalars* vtkBlockIdScalars::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkMultiBlockDataSetAlgorithm.
virtual vtkObjectBase* vtkBlockIdScalars::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkMultiBlockDataSetAlgorithm.
vtkBlockIdScalars* vtkBlockIdScalars::NewInstance | ( | ) | const |
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] |