VTK
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkCompositePainter Class Reference

painter that can be inserted before any vtkDataSet painting chain to handle composite datasets. More...

#include <vtkCompositePainter.h>

Inheritance diagram for vtkCompositePainter:
Inheritance graph
[legend]
Collaboration diagram for vtkCompositePainter:
Collaboration graph
[legend]

List of all members.

Classes

class  RenderBlockState

Public Types

typedef vtkPainter Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkCompositePainterNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual vtkDataObjectGetOutput ()
void SetCompositeDataDisplayAttributes (vtkCompositeDataDisplayAttributes *attributes)
virtual
vtkCompositeDataDisplayAttributes
GetCompositeDataDisplayAttributes ()

Static Public Member Functions

static vtkCompositePainterNew ()
static int IsTypeOf (const char *type)
static vtkCompositePainterSafeDownCast (vtkObjectBase *o)
static
vtkInformationObjectBaseKey
DISPLAY_ATTRIBUTES ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkCompositePainter ()
 ~vtkCompositePainter ()
virtual void ReportReferences (vtkGarbageCollector *collector)
virtual void ProcessInformation (vtkInformation *information)
void RenderBlock (vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly, vtkDataObject *dobj, unsigned int &flat_index, RenderBlockState &state)
virtual void RenderInternal (vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)
virtual void UpdateRenderingState (vtkRenderWindow *, vtkProperty *, RenderBlockState &)

Protected Attributes

vtkDataObjectOutputData
vtkCompositeDataDisplayAttributesCompositeDataDisplayAttributes

Detailed Description

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.


Member Typedef Documentation

Reimplemented from vtkPainter.

Reimplemented in vtkOpenGLCompositePainter.

Definition at line 41 of file vtkCompositePainter.h.


Constructor & Destructor Documentation


Member Function Documentation

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.

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.

Get the output data object from this painter. The default implementation simply forwards the input data object as the output.

Reimplemented from vtkPainter.

Key used to pass a vtkCompositeDataDisplayAttributes instance doing the painter pipeline.

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.

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.


Member Data Documentation

Definition at line 111 of file vtkCompositePainter.h.

Definition at line 112 of file vtkCompositePainter.h.


The documentation for this class was generated from the following file: