46#include "vtkRenderingOpenGLModule.h"
56class vtkPainterObserver;
129 unsigned long typeflags,
bool forceCompileOnly);
143 vtkSetClampMacro(Progress,
double,0.0,1.0);
144 vtkGetMacro(Progress,
double);
175 {
return this->Input; }
220 unsigned long typeflags,
bool forceCompileOnly);
253 int fieldAttributeType,
255 bool *use_cell_data=0);
258 bool *use_cell_data=0);
263 friend class vtkPainterObserver;
281 void operator=(
const vtkPainter &) VTK_DELETE_FUNCTION;
Abstract superclass for all arrays.
represents an object (geometry & properties) in a rendered scene
general representation of visualization data
abstract class to specify dataset behavior
Detect and break reference loops.
a simple class to control print indentation
abstract base class for most VTK objects
abstract base class for most VTK objects
Abstract class for drawing poly data.
vtkAbstractArray * GetInputArrayToProcess(int fieldAssociation, const char *name, vtkDataSet *dsl, bool *use_cell_data=0)
vtkTimeStamp InformationProcessTime
virtual void SetDelegatePainter(vtkPainter *)
virtual void RenderInternal(vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)
Performs the actual rendering.
virtual void PassInformation(vtkPainter *toPainter)
Pass on the information and data (output) from the this to the argument painter.
void UpdateDelegatePainter()
Updates the delegate painter.
static vtkInformationIntegerKey * CONSERVE_MEMORY()
Keys used to specify control the behaviour of the painter.
virtual double GetTimeToDraw()
Get the time required to draw the geometry last time it was rendered.
vtkPainter * DelegatePainter
static vtkInformationIntegerKey * STATIC_DATA()
Keys used to specify control the behaviour of the painter.
virtual void SetInformation(vtkInformation *)
void UpdateProgress(double amount)
Update the progress of the process object.
vtkWeakPointer< vtkWindow > LastWindow
virtual void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this painter.
void UnRegister(vtkObjectBase *o) override
Decrease the reference count (release by another object).
virtual void Render(vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)
Generates rendering primitives of appropriate type(s).
vtkInformation * Information
virtual void ProcessInformation(vtkInformation *)
Called before RenderInternal() if the Information has been changed since the last time this method wa...
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkInformationIntegerKey * HIGH_QUALITY()
Keys used to specify control the behaviour of the painter.
virtual vtkDataObject * GetOutput()
Get the output data object from this painter.
void SetInput(vtkDataObject *)
Set the data object to paint.
virtual void ObserverPainterProgress(vtkPainter *toObserve)
Adds a progress event observer to toObserve.
virtual void PrepareForRendering(vtkRenderer *, vtkActor *)
Some subclasses may need to do some preprocessing before the actual rendering can be done eg.
double ProgressScaleFactor
virtual void UpdateBounds(double bounds[6])
Expand or shrink the estimated bounds of the object based on the geometric transformations performed ...
vtkAbstractArray * GetInputArrayToProcess(int fieldAssociation, int fieldAttributeType, vtkDataSet *ds, bool *use_cell_data=0)
Helper method to get input array to process.
void ReportReferences(vtkGarbageCollector *collector) override
Take part in garbage collection.
virtual void UpdateDelegateProgress(vtkPainter *delegate, double amount)
Called when the delegate painter reports its progress.
void Register(vtkObjectBase *o) override
Take part in garbage collection.
vtkPainterObserver * Observer
abstract specification for renderers
record modification and/or execution time
Timer support and logging.
window superclass for vtkRenderWindow