VTK
|
painter that can be inserted before any vtkDataSet painting chain to handle composite datasets. More...
#include <vtkCompositePainter.h>
painter that can be inserted before any vtkDataSet painting chain to handle composite datasets.
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 37 of file vtkCompositePainter.h.
Reimplemented from vtkPainter.
Reimplemented in vtkOpenGLCompositePainter.
Definition at line 41 of file vtkCompositePainter.h.
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.
Reimplemented in vtkOpenGLCompositePainter.
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.
Reimplemented in vtkOpenGLCompositePainter.
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.
Reimplemented in vtkOpenGLCompositePainter.
static vtkCompositePainter* vtkCompositePainter::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkPainter.
Reimplemented in vtkOpenGLCompositePainter.
virtual vtkObjectBase* vtkCompositePainter::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkPainter.
Reimplemented in vtkOpenGLCompositePainter.
Reimplemented from vtkPainter.
Reimplemented in vtkOpenGLCompositePainter.
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.
Reimplemented in vtkOpenGLCompositePainter.
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.
static vtkInformationObjectBaseKey* vtkCompositePainter::DISPLAY_ATTRIBUTES | ( | ) | [static] |
Key used to pass a vtkCompositeDataDisplayAttributes instance doing the painter pipeline.
void vtkCompositePainter::SetCompositeDataDisplayAttributes | ( | vtkCompositeDataDisplayAttributes * | attributes | ) |
Set/get the composite data set display attributes. If set, these attributes can be used by the painter to control specific rendering attributes on a per-block basis for a multi-block dataset.
virtual vtkCompositeDataDisplayAttributes* vtkCompositePainter::GetCompositeDataDisplayAttributes | ( | ) | [virtual] |
Set/get the composite data set display attributes. If set, these attributes can be used by the painter to control specific rendering attributes on a per-block basis for a multi-block dataset.
virtual void vtkCompositePainter::ReportReferences | ( | vtkGarbageCollector * | collector | ) | [protected, virtual] |
Take part in garbage collection.
Reimplemented from vtkPainter.
virtual void vtkCompositePainter::ProcessInformation | ( | vtkInformation * | information | ) | [protected, virtual] |
Called before RenderInternal() if the Information has been changed since the last time this method was called.
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.
void vtkCompositePainter::RenderBlock | ( | vtkRenderer * | renderer, |
vtkActor * | actor, | ||
unsigned long | typeflags, | ||
bool | forceCompileOnly, | ||
vtkDataObject * | dobj, | ||
unsigned int & | flat_index, | ||
RenderBlockState & | state | ||
) | [protected] |
virtual void vtkCompositePainter::UpdateRenderingState | ( | vtkRenderWindow * | , |
vtkProperty * | , | ||
RenderBlockState & | |||
) | [inline, protected, virtual] |
Overridden in vtkOpenGLCompositePainter to pass attributes to OpenGL.
Reimplemented in vtkOpenGLCompositePainter.
Definition at line 107 of file vtkCompositePainter.h.
vtkDataObject* vtkCompositePainter::OutputData [protected] |
Definition at line 111 of file vtkCompositePainter.h.
Definition at line 112 of file vtkCompositePainter.h.