#include <vtkCompositePainter.h>
vtkCompositePainter iterates over the leaves in a composite datasets. This painter can also handle the case when the dataset is not a composite dataset.
Definition at line 29 of file vtkCompositePainter.h.
Public Types | |
typedef vtkPainter | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual vtkDataObject * | GetOutput () |
Static Public Member Functions | |
static vtkCompositePainter * | New () |
static int | IsTypeOf (const char *type) |
static vtkCompositePainter * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkCompositePainter () | |
~vtkCompositePainter () | |
virtual void | ReportReferences (vtkGarbageCollector *collector) |
virtual void | RenderInternal (vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly) |
Protected Attributes | |
vtkDataObject * | OutputData |
vtkCompositePainter::vtkCompositePainter | ( | ) | [protected] |
vtkCompositePainter::~vtkCompositePainter | ( | ) | [protected] |
static vtkCompositePainter* vtkCompositePainter::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
virtual const char* vtkCompositePainter::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkPainter.
static int vtkCompositePainter::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 vtkPainter.
virtual int vtkCompositePainter::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 vtkPainter.
static vtkCompositePainter* vtkCompositePainter::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkPainter.
void vtkCompositePainter::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 vtkPainter.
virtual vtkDataObject* vtkCompositePainter::GetOutput | ( | ) | [virtual] |
Get the output data object from this painter. The default implementation simply forwards the input data object as the output.
Reimplemented from vtkPainter.
virtual void vtkCompositePainter::ReportReferences | ( | vtkGarbageCollector * | collector | ) | [protected, virtual] |
Take part in garbage collection.
Reimplemented from vtkPainter.
virtual void vtkCompositePainter::RenderInternal | ( | vtkRenderer * | renderer, | |
vtkActor * | actor, | |||
unsigned long | typeflags, | |||
bool | forceCompileOnly | |||
) | [protected, virtual] |
Performs the actual rendering. Subclasses may override this method. default implementation merely call a Render on the DelegatePainter, if any. When RenderInternal() is called, it is assured that the DelegatePainter is in sync with this painter i.e. UpdateDelegatePainter() has been called.
Reimplemented from vtkPainter.
vtkDataObject* vtkCompositePainter::OutputData [protected] |
Definition at line 58 of file vtkCompositePainter.h.