90 void RemoveAllLights();
101 void CreateLight(
void);
113 vtkGetMacro(TwoSidedLighting,
int);
114 vtkSetMacro(TwoSidedLighting,
int);
115 vtkBooleanMacro(TwoSidedLighting,
int);
129 vtkSetMacro(LightFollowCamera,
int);
130 vtkGetMacro(LightFollowCamera,
int);
131 vtkBooleanMacro(LightFollowCamera,
int);
141 vtkGetMacro(AutomaticLightCreation,
int);
142 vtkSetMacro(AutomaticLightCreation,
int);
143 vtkBooleanMacro(AutomaticLightCreation,
int);
149 virtual int UpdateLightsGeometryToFollowCamera(
void);
175 vtkSetMacro(Erase,
int);
176 vtkGetMacro(Erase,
int);
177 vtkBooleanMacro(Erase,
int);
184 vtkSetMacro(Draw,
int);
185 vtkGetMacro(Draw,
int);
186 vtkBooleanMacro(Draw,
int);
192 int CaptureGL2PSSpecialProp(
vtkProp *);
210 vtkSetVector3Macro(Ambient,
double);
211 vtkGetVectorMacro(Ambient,
double,3);
217 vtkSetMacro(AllocatedRenderTime,
double);
218 virtual double GetAllocatedRenderTime();
225 virtual double GetTimeFactor();
231 virtual void Render();
235 virtual void DeviceRender() =0;
241 virtual void DeviceRenderTranslucentPolygonalGeometry();
247 int VisibleActorCount();
250 int VisibleVolumeCount();
254 void ComputeVisiblePropBounds(
double bounds[6] );
257 double *ComputeVisiblePropBounds();
261 void ResetCameraClippingRange();
267 void ResetCameraClippingRange(
double bounds[6] );
268 void ResetCameraClippingRange(
double xmin,
double xmax,
269 double ymin,
double ymax,
270 double zmin,
double zmax);
278 vtkSetClampMacro(NearClippingPlaneTolerance,
double,0,0.99);
279 vtkGetMacro(NearClippingPlaneTolerance,
double);
296 void ResetCamera(
double bounds[6]);
300 void ResetCamera(
double xmin,
double xmax,
double ymin,
double ymax,
301 double zmin,
double zmax);
317 vtkSetMacro(BackingStore,
int);
318 vtkGetMacro(BackingStore,
int);
319 vtkBooleanMacro(BackingStore,
int);
326 vtkSetMacro(Interactive,
int);
327 vtkGetMacro(Interactive,
int);
328 vtkBooleanMacro(Interactive,
int);
340 virtual void SetLayer(
int layer);
341 vtkGetMacro(Layer,
int);
352 vtkGetMacro(PreserveColorBuffer,
int);
353 vtkSetMacro(PreserveColorBuffer,
int);
354 vtkBooleanMacro(PreserveColorBuffer,
int);
361 vtkSetMacro(PreserveDepthBuffer,
int);
362 vtkGetMacro(PreserveDepthBuffer,
int);
363 vtkBooleanMacro(PreserveDepthBuffer,
int);
376 virtual void ViewToWorld(
double &wx,
double &wy,
double &wz);
380 virtual void WorldToView(
double &wx,
double &wy,
double &wz);
384 double GetZ (
int x,
int y);
391 vtkGetMacro( LastRenderTimeInSeconds,
double );
399 vtkGetMacro( NumberOfPropsRendered,
int );
410 return this->
PickProp(selectionX, selectionY, selectionX, selectionY);
413 double selectionX2,
double selectionY2);
425 double GetTiledAspectRatio();
432 {
return (this->ActiveCamera != NULL); }
444 vtkSetMacro(UseDepthPeeling,
int);
445 vtkGetMacro(UseDepthPeeling,
int);
446 vtkBooleanMacro(UseDepthPeeling,
int);
457 vtkSetClampMacro(OcclusionRatio,
double,0.0,0.5);
458 vtkGetMacro(OcclusionRatio,
double);
465 vtkSetMacro(MaximumNumberOfPeels,
int);
466 vtkGetMacro(MaximumNumberOfPeels,
int);
472 vtkGetMacro(LastRenderingUsedDepthPeeling,
int);
494 virtual void SetBackgroundTexture(
vtkTexture*);
495 vtkGetObjectMacro(BackgroundTexture,
vtkTexture);
501 vtkSetMacro(TexturedBackground,
bool);
502 vtkGetMacro(TexturedBackground,
bool);
503 vtkBooleanMacro(TexturedBackground,
bool);
507 virtual void ReleaseGraphicsResources(
vtkWindow *);
511 vtkSetMacro(UseShadows,
int);
512 vtkGetMacro(UseShadows,
int);
513 vtkBooleanMacro(UseShadows,
int);
523 virtual void PickGeometry();
528 virtual void ExpandBounds(
double bounds[6],
vtkMatrix4x4 *matrix);
547 int BackingStoreSize[2];
582 double ComputedVisiblePropBounds[6];
618 virtual int UpdateTranslucentPolygonalGeometry();
635 vtkCamera *GetActiveCameraAndResetIfCreated();
670 { this->Selector = selector; this->
Modified(); }
abstract superclass for all actors, volumes and annotations
represents a volume (data & properties) in a rendered scene
represents an object (geometry & properties) in a rendered scene
represent and manipulate 4x4 transformation matrices
abstract specification for Viewports
vtkRenderWindow * RenderWindow
virtual int UpdateLights(void)
a actor that draws 2D data
record modification and/or execution time
void UpdateCamera(vtkRenderer *renderer)
virtual void SetRenderWindow(vtkRenderWindow *renwin)
abstract specification for renderers
double AllocatedRenderTime
vtkRendererDelegate * Delegate
double LastRenderTimeInSeconds
window superclass for vtkRenderWindow
vtkVolumeCollection * Volumes
vtkCullerCollection * Cullers
virtual vtkAssemblyPath * PickProp(double selectionX, double selectionY)=0
void UpdateGeometry(vtkRenderer *renderer)
void SetSelector(vtkHardwareSelector *selector)
void PrintSelf(ostream &os, vtkIndent indent)
a list of nodes that form an assembly path
unsigned char * BackingImage
virtual unsigned long GetMTime()
a superclass for prop cullers
a simple class to control print indentation
virtual void StereoMidpoint()
a virtual camera for 3D rendering
a virtual light for 3D rendering
vtkLightCollection * GetLights()
vtkPropCollection * GL2PSSpecialPropCollection
handles properties associated with a texture map
vtkLightCollection * Lights
vtkActorCollection * Actors
void UpdateLightGeometry(vtkRenderer *renderer)
vtkWeakPointer< vtkRenderWindow > RenderWindow
vtkHardwareSelector * Selector
double NearClippingPlaneTolerance
create a window for renderers to draw into
virtual void ViewToWorld()
int LastRenderingUsedDepthPeeling
#define VTKRENDERINGCORE_EXPORT
Render the props of a vtkRenderer.
manager for OpenGL-based selection.
vtkTexture * BackgroundTexture
vtkRenderWindow * GetRenderWindow()
int AutomaticLightCreation
vtkCullerCollection * GetCullers()
Perform part of the rendering of a vtkRenderer.
virtual vtkWindow * GetVTKWindow()=0
vtkAssemblyPath ** PathArray
int NumberOfPropsRendered
virtual void WorldToView()
vtkAssemblyPath * PickProp(double selectionX, double selectionY)
int IsActiveCameraCreated()