#include <vtkRenderer.h>
Inheritance diagram for vtkRenderer:
vtkRenderer provides an abstract specification for renderers. A renderer is an object that controls the rendering process for objects. Rendering is the process of converting geometry, a specification for lights, and a camera view into an image. vtkRenderer also performs coordinate transformation between world coordinates, view coordinates (the computer graphics rendering coordinate system), and display coordinates (the actual screen coordinates on the display device). Certain advanced rendering features such as two-sided lighting can also be controlled.
Definition at line 58 of file vtkRenderer.h.
|
Reimplemented from vtkViewport. Reimplemented in vtkMesaRenderer, and vtkOpenGLRenderer. Definition at line 61 of file vtkRenderer.h. |
|
|
|
|
|
Reimplemented from vtkViewport. Reimplemented in vtkMesaRenderer, and vtkOpenGLRenderer. |
|
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 vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkViewport. Reimplemented in vtkMesaRenderer, and vtkOpenGLRenderer. |
|
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 vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkViewport. Reimplemented in vtkMesaRenderer, and vtkOpenGLRenderer. |
|
Reimplemented from vtkViewport. Reimplemented in vtkMesaRenderer, and vtkOpenGLRenderer. |
|
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 vtkViewport. Reimplemented in vtkMesaRenderer, and vtkOpenGLRenderer. |
|
Create a vtkRenderer with a black background, a white ambient light, two-sided lighting turned on, a viewport of (0,0,1,1), and backface culling turned off. Reimplemented from vtkObject. Reimplemented in vtkMesaRenderer, and vtkOpenGLRenderer. |
|
Add/Remove different types of props to the renderer. These methods are all synonyms to AddViewProp and RemoveViewProp. They are here for convenience and backwards compatibility. |
|
Add/Remove different types of props to the renderer. These methods are all synonyms to AddViewProp and RemoveViewProp. They are here for convenience and backwards compatibility. |
|
Add/Remove different types of props to the renderer. These methods are all synonyms to AddViewProp and RemoveViewProp. They are here for convenience and backwards compatibility. |
|
Add/Remove different types of props to the renderer. These methods are all synonyms to AddViewProp and RemoveViewProp. They are here for convenience and backwards compatibility. |
|
Add a light to the list of lights. |
|
Remove a light from the list of lights. |
|
Return the collection of lights. Definition at line 452 of file vtkRenderer.h. References Lights. |
|
Create and add a light to renderer. |
|
Create a new Light sutible for use with this type of Renderer. For example, a vtkMesaRenderer should create a vtkMesaLight in this function. The default is to just call vtkLight::New. Reimplemented in vtkMesaRenderer. |
|
Turn on/off two-sided lighting of surfaces. If two-sided lighting is off, then only the side of the surface facing the light(s) will be lit, and the other side dark. If two-sided lighting on, both sides of the surface will be lit. |
|
Create a new Light sutible for use with this type of Renderer. For example, a vtkMesaRenderer should create a vtkMesaLight in this function. The default is to just call vtkLight::New. |
|
Create a new Light sutible for use with this type of Renderer. For example, a vtkMesaRenderer should create a vtkMesaLight in this function. The default is to just call vtkLight::New. |
|
Create a new Light sutible for use with this type of Renderer. For example, a vtkMesaRenderer should create a vtkMesaLight in this function. The default is to just call vtkLight::New. |
|
Turn on/off the automatic repositioning of lights as the camera moves. If LightFollowCamera is on, lights that are designated as Headlights or CameraLights will be adjusted to move with this renderer's camera. If LightFollowCamera is off, the lights will not be adjusted. (Note: In previous versions of vtk, this light-tracking functionality was part of the interactors, not the renderer. For backwards compatibility, the older, more limited interactor behavior is enabled by default. To disable this mode, turn the interactor's LightFollowCamera flag OFF, and leave the renderer's LightFollowCamera flag ON.) |
|
Turn on/off the automatic repositioning of lights as the camera moves. If LightFollowCamera is on, lights that are designated as Headlights or CameraLights will be adjusted to move with this renderer's camera. If LightFollowCamera is off, the lights will not be adjusted. (Note: In previous versions of vtk, this light-tracking functionality was part of the interactors, not the renderer. For backwards compatibility, the older, more limited interactor behavior is enabled by default. To disable this mode, turn the interactor's LightFollowCamera flag OFF, and leave the renderer's LightFollowCamera flag ON.) |
|
Turn on/off the automatic repositioning of lights as the camera moves. If LightFollowCamera is on, lights that are designated as Headlights or CameraLights will be adjusted to move with this renderer's camera. If LightFollowCamera is off, the lights will not be adjusted. (Note: In previous versions of vtk, this light-tracking functionality was part of the interactors, not the renderer. For backwards compatibility, the older, more limited interactor behavior is enabled by default. To disable this mode, turn the interactor's LightFollowCamera flag OFF, and leave the renderer's LightFollowCamera flag ON.) |
|
Turn on/off the automatic repositioning of lights as the camera moves. If LightFollowCamera is on, lights that are designated as Headlights or CameraLights will be adjusted to move with this renderer's camera. If LightFollowCamera is off, the lights will not be adjusted. (Note: In previous versions of vtk, this light-tracking functionality was part of the interactors, not the renderer. For backwards compatibility, the older, more limited interactor behavior is enabled by default. To disable this mode, turn the interactor's LightFollowCamera flag OFF, and leave the renderer's LightFollowCamera flag ON.) |
|
Turn on/off a flag which disables the automatic light creation capability. Normally in VTK if no lights are associated with the renderer, then a light is automatically created. However, in special circumstances this feature is undesirable, so the following boolean is provided to disable automatic light creation. (Turn AutomaticLightCreation off if you do not want lights to be created.) |
|
Turn on/off a flag which disables the automatic light creation capability. Normally in VTK if no lights are associated with the renderer, then a light is automatically created. However, in special circumstances this feature is undesirable, so the following boolean is provided to disable automatic light creation. (Turn AutomaticLightCreation off if you do not want lights to be created.) |
|
Turn on/off a flag which disables the automatic light creation capability. Normally in VTK if no lights are associated with the renderer, then a light is automatically created. However, in special circumstances this feature is undesirable, so the following boolean is provided to disable automatic light creation. (Turn AutomaticLightCreation off if you do not want lights to be created.) |
|
Turn on/off a flag which disables the automatic light creation capability. Normally in VTK if no lights are associated with the renderer, then a light is automatically created. However, in special circumstances this feature is undesirable, so the following boolean is provided to disable automatic light creation. (Turn AutomaticLightCreation off if you do not want lights to be created.) |
|
Ask the lights in the scene that are not in world space (for instance, Headlights or CameraLights that are attached to the camera) to update their geometry to match the active camera. |
|
Return the collection of volumes. |
|
Return any actors in this renderer. |
|
Specify the camera to use for this renderer. |
|
Get the current camera. If there is not camera assigned to the renderer already, a new one is created automatically. This does *not* reset the camera. |
|
Create a new Camera sutible for use with this type of Renderer. For example, a vtkMesaRenderer should create a vtkMesaCamera in this function. The default is to just call vtkCamera::New. Reimplemented in vtkMesaRenderer. |
|
When this flag is off, the renderer will not erase the background or the Zbuffer. It is used to have overlapping renderers. Both the RenderWindow Erase and Render Erase must be on for the camera to clear the renderer. By default, Erase is on. |
|
Create a new Camera sutible for use with this type of Renderer. For example, a vtkMesaRenderer should create a vtkMesaCamera in this function. The default is to just call vtkCamera::New. |
|
Create a new Camera sutible for use with this type of Renderer. For example, a vtkMesaRenderer should create a vtkMesaCamera in this function. The default is to just call vtkCamera::New. |
|
Create a new Camera sutible for use with this type of Renderer. For example, a vtkMesaRenderer should create a vtkMesaCamera in this function. The default is to just call vtkCamera::New. |
|
Add an culler to the list of cullers. |
|
Remove an actor from the list of cullers. |
|
Return the collection of cullers. Definition at line 457 of file vtkRenderer.h. References Cullers. |
|
Set the intensity of ambient lighting. |
|
Return the collection of cullers. |
|
Return the collection of cullers. |
|
Return the collection of cullers. |
|
Set/Get the amount of time this renderer is allowed to spend rendering its scene. This is used by vtkLODActor's. |
|
Set/Get the amount of time this renderer is allowed to spend rendering its scene. This is used by vtkLODActor's. |
|
Get the ratio between allocated time and actual render time. TimeFactor has been taken out of the render process. It is still computed in case someone finds it useful. It may be taken away in the future. |
|
Create an image. This is a superclass method which will in turn call the DeviceRender method of Subclasses of vtkRenderer |
|
Create an image. Subclasses of vtkRenderer must implement this method. Implemented in vtkMesaRenderer, and vtkOpenGLRenderer. |
|
Clear the image to the background color. Reimplemented in vtkMesaRenderer, and vtkOpenGLRenderer. Definition at line 205 of file vtkRenderer.h. |
|
Returns the number of visible actors. |
|
Returns the number of visible volumes. |
|
Compute the bounding box of all the visible props Used in ResetCamera() and ResetCameraClippingRange() |
|
Wrapper-friendly version of ComputeVisiblePropBounds |
|
Reset the camera clipping range based on the bounds of the visible actors. This ensures that no props are cut off |
|
Reset the camera clipping range based on a bounding box. This method is called from ResetCameraClippingRange() |
|
Reset the camera clipping range based on the bounds of the visible actors. This ensures that no props are cut off |
|
Specify tolerance for near clipping plane distance to the camera as a percentage of the far clipping plane distance. By default this will be set to 0.01 for 16 bit zbuffers and 0.001 for higher depth z buffers |
|
Specify tolerance for near clipping plane distance to the camera as a percentage of the far clipping plane distance. By default this will be set to 0.01 for 16 bit zbuffers and 0.001 for higher depth z buffers |
|
Automatically set up the camera based on the visible actors. The camera will reposition itself to view the center point of the actors, and move along its initial view plane normal (i.e., vector defined from camera position to focal point) so that all of the actors can be seen. |
|
Automatically set up the camera based on a specified bounding box (xmin,xmax, ymin,ymax, zmin,zmax). Camera will reposition itself so that its focal point is the center of the bounding box, and adjust its distance and position to preserve its initial view plane normal (i.e., vector defined from camera position to focal point). Note: is the view plane is parallel to the view up axis, the view up axis will be reset to one of the three coordinate axes. |
|
Alternative version of ResetCamera(bounds[6]); |
|
Specify the rendering window in which to draw. This is automatically set when the renderer is created by MakeRenderer. The user probably shouldn't ever need to call this method. |
|
Specify the rendering window in which to draw. This is automatically set when the renderer is created by MakeRenderer. The user probably shouldn't ever need to call this method. Definition at line 269 of file vtkRenderer.h. |
|
Specify the rendering window in which to draw. This is automatically set when the renderer is created by MakeRenderer. The user probably shouldn't ever need to call this method. Implements vtkViewport. |
|
Turn on/off using backing store. This may cause the re-rendering time to be slightly slower when the view changes. But it is much faster when the image has not changed, such as during an expose event. |
|
Turn on/off using backing store. This may cause the re-rendering time to be slightly slower when the view changes. But it is much faster when the image has not changed, such as during an expose event. |
|
Turn on/off using backing store. This may cause the re-rendering time to be slightly slower when the view changes. But it is much faster when the image has not changed, such as during an expose event. |
|
Turn on/off using backing store. This may cause the re-rendering time to be slightly slower when the view changes. But it is much faster when the image has not changed, such as during an expose event. |
|
Turn on/off interactive status. An interactive renderer is one that can receive events from an interactor. Should only be set if there are multiple renderers in the same section of the viewport. |
|
Turn on/off interactive status. An interactive renderer is one that can receive events from an interactor. Should only be set if there are multiple renderers in the same section of the viewport. |
|
Turn on/off interactive status. An interactive renderer is one that can receive events from an interactor. Should only be set if there are multiple renderers in the same section of the viewport. |
|
Turn on/off interactive status. An interactive renderer is one that can receive events from an interactor. Should only be set if there are multiple renderers in the same section of the viewport. |
|
Set/Get the layer that this renderer belongs to. This is only used if there are layered renderers. |
|
Set/Get the layer that this renderer belongs to. This is only used if there are layered renderers. |
|
Returns a boolean indicating if this renderer is transparent. It is transparent if it is not in the deepest layer of its render window. |
|
Convert world point coordinates to view coordinates. Reimplemented from vtkViewport. |
|
Convert view point coordinates to world coordinates. Reimplemented from vtkViewport. |
|
Convert world point coordinates to view coordinates. Reimplemented from vtkViewport. |
|
Convert world point coordinates to view coordinates. Reimplemented from vtkViewport. |
|
Given a pixel location, return the Z value. The z value is normalized (0,1) between the front and back clipping planes. |
|
Return the MTime of the renderer also considering its ivars. Reimplemented from vtkObject. |
|
Get the time required, in seconds, for the last Render call. |
|
Should be used internally only during a render Get the number of props that were rendered using a RenderOpaqueGeometry or RenderTranslucentGeometry call. This is used to know if something is in the frame buffer. |
|
Return the prop (via a vtkAssemblyPath) that has the highest z value at the given x, y position in the viewport. Basically, the top most prop that renders the pixel at selectionX, selectionY will be returned. If nothing was picked then NULL is returned. This method selects from the renderers Prop list. Implements vtkViewport. |
|
Do anything necessary between rendering the left and right viewpoints in a stereo render. Doesn't do anything except in the derived vtkIceTRenderer in ParaView. Definition at line 344 of file vtkRenderer.h. |
|
Compute the aspect ratio of this renderer for the current tile. When tiled displays are used the aspect ratio of the renderer for a given tile may be diferent that the aspect ratio of the renderer when rendered in it entirity |
|
|
|
|
|
|
|
Ask all props to update and draw any opaque and translucent geometry. This includes both vtkActors and vtkVolumes Returns the number of props that rendered geometry. |
|
Ask the active camera to do whatever it needs to do prior to rendering. Creates a camera if none found active. |
|
Update the geometry of the lights in the scene that are not in world space (for instance, Headlights or CameraLights that are attached to the camera). |
|
Ask all lights to load themselves into rendering pipeline. This method will return the actual number of lights that were on. Reimplemented in vtkMesaRenderer, and vtkOpenGLRenderer. Definition at line 441 of file vtkRenderer.h. |
|
Get the current camera and eventually reset it if it gets created automatically (see GetActiveCamera). This is mainly used internally. |
|
Definition at line 360 of file vtkRenderer.h. |
|
Definition at line 361 of file vtkRenderer.h. |
|
Definition at line 363 of file vtkRenderer.h. Referenced by GetLights(). |
|
Definition at line 364 of file vtkRenderer.h. Referenced by GetCullers(). |
|
Definition at line 366 of file vtkRenderer.h. |
|
Definition at line 367 of file vtkRenderer.h. |
|
Definition at line 369 of file vtkRenderer.h. |
|
Definition at line 370 of file vtkRenderer.h. |
|
Definition at line 371 of file vtkRenderer.h. |
|
Definition at line 372 of file vtkRenderer.h. |
|
Definition at line 373 of file vtkRenderer.h. |
|
Definition at line 374 of file vtkRenderer.h. |
|
Definition at line 375 of file vtkRenderer.h. |
|
Definition at line 376 of file vtkRenderer.h. |
|
Definition at line 377 of file vtkRenderer.h. |
|
Definition at line 378 of file vtkRenderer.h. |
|
Definition at line 380 of file vtkRenderer.h. |
|
Definition at line 382 of file vtkRenderer.h. |
|
Definition at line 389 of file vtkRenderer.h. |
|
Definition at line 393 of file vtkRenderer.h. |
|
Definition at line 394 of file vtkRenderer.h. |
|
Definition at line 397 of file vtkRenderer.h. |
|
Definition at line 398 of file vtkRenderer.h. |
|
Definition at line 402 of file vtkRenderer.h. |
|
Definition at line 406 of file vtkRenderer.h. |
|
Definition at line 410 of file vtkRenderer.h. |
|
Specifies the minimum distance of the near clipping plane as a percentage of the far clipping plane distance. Values below this threshold are clipped to NearClippingPlaneTolerance*range[1]. Note that values which are too small may cause problems on systems with low z-buffer resolution. Definition at line 417 of file vtkRenderer.h. |
|
When this flag is off, the renderer will not erase the background or the Zbuffer. It is used to have overlapping renderers. Both the RenderWindow Erase and Render Erase must be on for the camera to clear the renderer. By default, Erase is on. Definition at line 423 of file vtkRenderer.h. |