#include <vtkCastToConcrete.h>
Inheritance diagram for vtkCastToConcrete:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
Static Public Methods | |
vtkCastToConcrete * | New () |
int | IsTypeOf (const char *type) |
vtkCastToConcrete * | SafeDownCast (vtkObject *o) |
Protected Methods | |
vtkCastToConcrete () | |
~vtkCastToConcrete () | |
void | Execute () |
void | ExecuteInformation () |
vtkCastToConcrete is a filter that works around type-checking limitations in the filter classes. Some filters generate abstract types on output, and cannot be connected to the input of filters requiring a concrete input type. For example, vtkElevationFilter generates vtkDataSet for output, and cannot be connected to vtkDecimate, because vtkDecimate requires vtkPolyData as input. This is true even though (in this example) the input to vtkElevationFilter is of type vtkPolyData, and you know the output of vtkElevationFilter is the same type as its input.
vtkCastToConcrete performs run-time checking to insure that output type is of the right type. An error message will result if you try to cast an input type improperly. Otherwise, the filter performs the appropriate cast and returns the data.
Definition at line 79 of file vtkCastToConcrete.h.
|
Definition at line 87 of file vtkCastToConcrete.h. |
|
Definition at line 88 of file vtkCastToConcrete.h. |
|
Instantiate object with no start, end, or progress methods. Reimplemented from vtkDataSetSource. |
|
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. |
|
This method is the old style execute method Reimplemented from vtkSource. |
|
Reimplemented from vtkDataSetToDataSetFilter. |