VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
vtkOpenGLRenderer Class Reference

OpenGL renderer. More...

#include <vtkOpenGLRenderer.h>

Inheritance diagram for vtkOpenGLRenderer:
[legend]
Collaboration diagram for vtkOpenGLRenderer:
[legend]

Public Types

typedef vtkRenderer Superclass
 
typedef vtkRenderer Superclass
 
- Public Types inherited from vtkRenderer
typedef vtkViewport Superclass
 
- Public Types inherited from vtkViewport
typedef vtkObject Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class. More...
 
vtkOpenGLRendererNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 Methods invoked by print to print information about the object including superclasses. More...
 
void DeviceRender (void)
 Concrete open gl render method. More...
 
virtual void DeviceRenderOpaqueGeometry ()
 Overridden to support hidden line removal. More...
 
virtual void DeviceRenderTranslucentPolygonalGeometry ()
 Render translucent polygonal geometry. More...
 
virtual void ClearLights (void)
 Internal method temporarily removes lights before reloading them into graphics pipeline. More...
 
virtual void Clear (void)
 Clear the image to the background color. More...
 
int UpdateLights (void)
 Ask lights to load themselves into graphics pipeline. More...
 
int GetDepthPeelingHigherLayer ()
 Is rendering at translucent geometry stage using depth peeling and rendering a layer other than the first one? (Boolean value) If so, the uniform variables UseTexture and Texture can be set. More...
 
virtual vtkShaderProgram2GetShaderProgram ()
 
virtual void SetShaderProgram (vtkShaderProgram2 *program)
 
virtual int IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class. More...
 
vtkOpenGLRendererNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 Methods invoked by print to print information about the object including superclasses. More...
 
void DeviceRender (void)
 Concrete open gl render method. More...
 
virtual void DeviceRenderOpaqueGeometry ()
 Overridden to support hidden line removal. More...
 
virtual void DeviceRenderTranslucentPolygonalGeometry ()
 Render translucent polygonal geometry. More...
 
void Clear (void)
 Clear the image to the background color. More...
 
int UpdateLights (void)
 Ask lights to load themselves into graphics pipeline. More...
 
int GetDepthPeelingHigherLayer ()
 Is rendering at translucent geometry stage using depth peeling and rendering a layer other than the first one? (Boolean value) If so, the uniform variables UseTexture and Texture can be set. More...
 
bool HaveApplePrimitiveIdBug ()
 Indicate if this system is subject to the apple/amd bug of not having a working glPrimitiveId. More...
 
- Public Member Functions inherited from vtkRenderer
vtkRendererNewInstance () const
 
void AddActor (vtkProp *p)
 Add/Remove different types of props to the renderer. More...
 
void AddVolume (vtkProp *p)
 
void RemoveActor (vtkProp *p)
 
void RemoveVolume (vtkProp *p)
 
void AddLight (vtkLight *)
 Add a light to the list of lights. More...
 
void RemoveLight (vtkLight *)
 Remove a light from the list of lights. More...
 
void RemoveAllLights ()
 Remove all lights from the list of lights. More...
 
vtkLightCollectionGetLights ()
 Return the collection of lights. More...
 
void SetLightCollection (vtkLightCollection *lights)
 Set the collection of lights. More...
 
void CreateLight (void)
 Create and add a light to renderer. More...
 
virtual vtkLightMakeLight ()
 Create a new Light sutible for use with this type of Renderer. More...
 
virtual int GetTwoSidedLighting ()
 Turn on/off two-sided lighting of surfaces. More...
 
virtual void SetTwoSidedLighting (int)
 
virtual void TwoSidedLightingOn ()
 
virtual void TwoSidedLightingOff ()
 
virtual void SetLightFollowCamera (int)
 Turn on/off the automatic repositioning of lights as the camera moves. More...
 
virtual int GetLightFollowCamera ()
 
virtual void LightFollowCameraOn ()
 
virtual void LightFollowCameraOff ()
 
virtual int GetAutomaticLightCreation ()
 Turn on/off a flag which disables the automatic light creation capability. More...
 
virtual void SetAutomaticLightCreation (int)
 
virtual void AutomaticLightCreationOn ()
 
virtual void AutomaticLightCreationOff ()
 
virtual int UpdateLightsGeometryToFollowCamera (void)
 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. More...
 
vtkVolumeCollectionGetVolumes ()
 Return the collection of volumes. More...
 
vtkActorCollectionGetActors ()
 Return any actors in this renderer. More...
 
void SetActiveCamera (vtkCamera *)
 Specify the camera to use for this renderer. More...
 
vtkCameraGetActiveCamera ()
 Get the current camera. More...
 
virtual vtkCameraMakeCamera ()
 Create a new Camera sutible for use with this type of Renderer. More...
 
virtual void SetErase (int)
 When this flag is off, the renderer will not erase the background or the Zbuffer. More...
 
virtual int GetErase ()
 
virtual void EraseOn ()
 
virtual void EraseOff ()
 
virtual void SetDraw (int)
 When this flag is off, render commands are ignored. More...
 
virtual int GetDraw ()
 
virtual void DrawOn ()
 
virtual void DrawOff ()
 
int CaptureGL2PSSpecialProp (vtkProp *)
 This function is called to capture an instance of vtkProp that requires special handling during vtkRenderWindow::CaptureGL2PSSpecialProps(). More...
 
void SetGL2PSSpecialPropCollection (vtkPropCollection *)
 Set the prop collection object used during vtkRenderWindow::CaptureGL2PSSpecialProps(). More...
 
void AddCuller (vtkCuller *)
 Add an culler to the list of cullers. More...
 
void RemoveCuller (vtkCuller *)
 Remove an actor from the list of cullers. More...
 
vtkCullerCollectionGetCullers ()
 Return the collection of cullers. More...
 
virtual void SetAmbient (double, double, double)
 Set the intensity of ambient lighting. More...
 
virtual void SetAmbient (double[3])
 
virtual doubleGetAmbient ()
 
virtual void GetAmbient (double data[3])
 
virtual void SetAllocatedRenderTime (double)
 Set/Get the amount of time this renderer is allowed to spend rendering its scene. More...
 
virtual double GetAllocatedRenderTime ()
 
virtual double GetTimeFactor ()
 Get the ratio between allocated time and actual render time. More...
 
virtual void Render ()
 CALLED BY vtkRenderWindow ONLY. More...
 
int VisibleActorCount ()
 Returns the number of visible actors. More...
 
int VisibleVolumeCount ()
 Returns the number of visible volumes. More...
 
void ComputeVisiblePropBounds (double bounds[6])
 Compute the bounding box of all the visible props Used in ResetCamera() and ResetCameraClippingRange() More...
 
doubleComputeVisiblePropBounds ()
 Wrapper-friendly version of ComputeVisiblePropBounds. More...
 
void ResetCameraClippingRange ()
 Reset the camera clipping range based on the bounds of the visible actors. More...
 
void ResetCameraClippingRange (double bounds[6])
 Reset the camera clipping range based on a bounding box. More...
 
void ResetCameraClippingRange (double xmin, double xmax, double ymin, double ymax, double zmin, double zmax)
 
virtual void SetNearClippingPlaneTolerance (double)
 Specify tolerance for near clipping plane distance to the camera as a percentage of the far clipping plane distance. More...
 
virtual double GetNearClippingPlaneTolerance ()
 
virtual void SetClippingRangeExpansion (double)
 Specify enlargement of bounds when resetting the camera clipping range. More...
 
virtual double GetClippingRangeExpansion ()
 
virtual void ResetCamera ()
 Automatically set up the camera based on the visible actors. More...
 
virtual void ResetCamera (double bounds[6])
 Automatically set up the camera based on a specified bounding box (xmin,xmax, ymin,ymax, zmin,zmax). More...
 
virtual void ResetCamera (double xmin, double xmax, double ymin, double ymax, double zmin, double zmax)
 Alternative version of ResetCamera(bounds[6]);. More...
 
void SetRenderWindow (vtkRenderWindow *)
 Specify the rendering window in which to draw. More...
 
vtkRenderWindowGetRenderWindow ()
 
virtual vtkWindowGetVTKWindow ()
 Return the vtkWindow that owns this vtkViewport. More...
 
virtual void SetBackingStore (int)
 Turn on/off using backing store. More...
 
virtual int GetBackingStore ()
 
virtual void BackingStoreOn ()
 
virtual void BackingStoreOff ()
 
virtual void SetInteractive (int)
 Turn on/off interactive status. More...
 
virtual int GetInteractive ()
 
virtual void InteractiveOn ()
 
virtual void InteractiveOff ()
 
virtual void SetLayer (int layer)
 Set/Get the layer that this renderer belongs to. More...
 
virtual int GetLayer ()
 
virtual int GetPreserveColorBuffer ()
 By default, the renderer at layer 0 is opaque, and all non-zero layer renderers are transparent. More...
 
virtual void SetPreserveColorBuffer (int)
 
virtual void PreserveColorBufferOn ()
 
virtual void PreserveColorBufferOff ()
 
virtual void SetPreserveDepthBuffer (int)
 By default, the depth buffer is reset for each renderer. More...
 
virtual int GetPreserveDepthBuffer ()
 
virtual void PreserveDepthBufferOn ()
 
virtual void PreserveDepthBufferOff ()
 
int Transparent ()
 Returns a boolean indicating if this renderer is transparent. More...
 
void WorldToView ()
 Convert world point coordinates to view coordinates. More...
 
void ViewToWorld ()
 Convert view point coordinates to world coordinates. More...
 
virtual void ViewToWorld (double &wx, double &wy, double &wz)
 
virtual void WorldToView (double &wx, double &wy, double &wz)
 Convert world point coordinates to view coordinates. More...
 
double GetZ (int x, int y)
 Given a pixel location, return the Z value. More...
 
vtkMTimeType GetMTime ()
 Return the MTime of the renderer also considering its ivars. More...
 
virtual double GetLastRenderTimeInSeconds ()
 Get the time required, in seconds, for the last Render call. More...
 
virtual int GetNumberOfPropsRendered ()
 Should be used internally only during a render Get the number of props that were rendered using a RenderOpaqueGeometry or RenderTranslucentPolygonalGeometry call. More...
 
vtkAssemblyPathPickProp (double selectionX, double selectionY)
 Return the prop (via a vtkAssemblyPath) that has the highest z value at the given x, y position in the viewport. More...
 
vtkAssemblyPathPickProp (double selectionX1, double selectionY1, double selectionX2, double selectionY2)
 Return the Prop that has the highest z value at the given x1, y1 and x2,y2 positions in the viewport. More...
 
virtual void StereoMidpoint ()
 Do anything necessary between rendering the left and right viewpoints in a stereo render. More...
 
double GetTiledAspectRatio ()
 Compute the aspect ratio of this renderer for the current tile. More...
 
int IsActiveCameraCreated ()
 This method returns 1 if the ActiveCamera has already been set or automatically created by the renderer. More...
 
virtual void SetUseDepthPeeling (int)
 Turn on/off rendering of translucent material with depth peeling technique. More...
 
virtual int GetUseDepthPeeling ()
 
virtual void UseDepthPeelingOn ()
 
virtual void UseDepthPeelingOff ()
 
virtual void SetOcclusionRatio (double)
 In case of use of depth peeling technique for rendering translucent material, define the threshold under which the algorithm stops to iterate over peel layers. More...
 
virtual double GetOcclusionRatio ()
 
virtual void SetMaximumNumberOfPeels (int)
 In case of depth peeling, define the maximum number of peeling layers. More...
 
virtual int GetMaximumNumberOfPeels ()
 
virtual int GetLastRenderingUsedDepthPeeling ()
 Tells if the last call to DeviceRenderTranslucentPolygonalGeometry() actually used depth peeling. More...
 
void SetDelegate (vtkRendererDelegate *d)
 Set/Get a custom Render call. More...
 
virtual vtkRendererDelegateGetDelegate ()
 
virtual vtkHardwareSelectorGetSelector ()
 Get the current hardware selector. More...
 
virtual void SetBackgroundTexture (vtkTexture *)
 Set/Get the texture to be used for the background. More...
 
virtual vtkTextureGetBackgroundTexture ()
 
virtual void SetTexturedBackground (bool)
 Set/Get whether this viewport should have a textured background. More...
 
virtual bool GetTexturedBackground ()
 
virtual void TexturedBackgroundOn ()
 
virtual void TexturedBackgroundOff ()
 
virtual void SetUseFXAA (bool)
 Turn on/off FXAA anti-aliasing, if supported. More...
 
virtual bool GetUseFXAA ()
 
virtual void UseFXAAOn ()
 
virtual void UseFXAAOff ()
 
virtual vtkFXAAOptionsGetFXAAOptions ()
 The configuration object for FXAA antialiasing. More...
 
virtual void SetFXAAOptions (vtkFXAAOptions *)
 
virtual void SetUseShadows (int)
 Turn on/off rendering of shadows if supported Initial value is off. More...
 
virtual int GetUseShadows ()
 
virtual void UseShadowsOn ()
 
virtual void UseShadowsOff ()
 
virtual void SetUseHiddenLineRemoval (int)
 If this flag is true and the rendering engine supports it, wireframe geometry will be drawn using hidden line removal. More...
 
virtual int GetUseHiddenLineRemoval ()
 
virtual void UseHiddenLineRemovalOn ()
 
virtual void UseHiddenLineRemovalOff ()
 
void SetPass (vtkRenderPass *p)
 
virtual vtkRenderPassGetPass ()
 
virtual vtkInformationGetInformation ()
 Set/Get the information object associated with this algorithm. More...
 
virtual void SetInformation (vtkInformation *)
 
- Public Member Functions inherited from vtkViewport
vtkViewportNewInstance () const
 
void AddViewProp (vtkProp *)
 Add a prop to the list of props. More...
 
vtkPropCollectionGetViewProps ()
 Return any props in this viewport. More...
 
int HasViewProp (vtkProp *)
 Query if a prop is in the list of props. More...
 
void RemoveViewProp (vtkProp *)
 Remove a prop from the list of props. More...
 
void RemoveAllViewProps (void)
 Remove all props from the list of props. More...
 
void AddActor2D (vtkProp *p)
 Add/Remove different types of props to the renderer. More...
 
void RemoveActor2D (vtkProp *p)
 
vtkActor2DCollectionGetActors2D ()
 
virtual void SetBackground (double, double, double)
 Set/Get the background color of the rendering screen using an rgb color specification. More...
 
virtual void SetBackground (double[3])
 
virtual doubleGetBackground ()
 
virtual void GetBackground (double &, double &, double &)
 
virtual void GetBackground (double[3])
 
virtual void SetBackground2 (double, double, double)
 Set/Get the second background color of the rendering screen for gradient backgrounds using an rgb color specification. More...
 
virtual void SetBackground2 (double[3])
 
virtual doubleGetBackground2 ()
 
virtual void GetBackground2 (double &, double &, double &)
 
virtual void GetBackground2 (double[3])
 
virtual void SetGradientBackground (bool)
 Set/Get whether this viewport should have a gradient background using the Background (bottom) and Background2 (top) colors. More...
 
virtual bool GetGradientBackground ()
 
virtual void GradientBackgroundOn ()
 
virtual void GradientBackgroundOff ()
 
virtual void SetAspect (double, double)
 Set the aspect ratio of the rendered image. More...
 
void SetAspect (double[2])
 
virtual doubleGetAspect ()
 
virtual void GetAspect (double data[2])
 
virtual void ComputeAspect ()
 
virtual void SetPixelAspect (double, double)
 Set the aspect ratio of a pixel in the rendered image. More...
 
void SetPixelAspect (double[2])
 
virtual doubleGetPixelAspect ()
 
virtual void GetPixelAspect (double data[2])
 
virtual void SetViewport (double, double, double, double)
 Specify the viewport for the Viewport to draw in the rendering window. More...
 
virtual void SetViewport (double[4])
 
virtual doubleGetViewport ()
 
virtual void GetViewport (double data[4])
 
virtual void SetDisplayPoint (double, double, double)
 Set/get a point location in display (or screen) coordinates. More...
 
virtual void SetDisplayPoint (double[3])
 
virtual doubleGetDisplayPoint ()
 
virtual void GetDisplayPoint (double data[3])
 
virtual void SetViewPoint (double, double, double)
 Specify a point location in view coordinates. More...
 
virtual void SetViewPoint (double[3])
 
virtual doubleGetViewPoint ()
 
virtual void GetViewPoint (double data[3])
 
virtual void SetWorldPoint (double, double, double, double)
 Specify a point location in world coordinates. More...
 
virtual void SetWorldPoint (double[4])
 
virtual doubleGetWorldPoint ()
 
virtual void GetWorldPoint (double data[4])
 
virtual doubleGetCenter ()
 Return the center of this viewport in display coordinates. More...
 
virtual int IsInViewport (int x, int y)
 Is a given display point in this Viewport's viewport. More...
 
virtual void DisplayToView ()
 Convert display coordinates to view coordinates. More...
 
virtual void ViewToDisplay ()
 Convert view coordinates to display coordinates. More...
 
void DisplayToWorld ()
 Convert display (or screen) coordinates to world coordinates. More...
 
void WorldToDisplay ()
 Convert world point coordinates to display (or screen) coordinates. More...
 
virtual void LocalDisplayToDisplay (double &x, double &y)
 These methods map from one coordinate system to another. More...
 
virtual void DisplayToNormalizedDisplay (double &u, double &v)
 
virtual void NormalizedDisplayToViewport (double &x, double &y)
 
virtual void ViewportToNormalizedViewport (double &u, double &v)
 
virtual void NormalizedViewportToView (double &x, double &y, double &z)
 
virtual void DisplayToLocalDisplay (double &x, double &y)
 
virtual void NormalizedDisplayToDisplay (double &u, double &v)
 
virtual void ViewportToNormalizedDisplay (double &x, double &y)
 
virtual void NormalizedViewportToViewport (double &u, double &v)
 
virtual void ViewToNormalizedViewport (double &x, double &y, double &z)
 
virtual intGetSize ()
 Get the size and origin of the viewport in display coordinates. More...
 
virtual intGetOrigin ()
 
void GetTiledSize (int *width, int *height)
 
virtual void GetTiledSizeAndOrigin (int *width, int *height, int *lowerLeftX, int *lowerLeftY)
 
vtkAssemblyPathPickPropFrom (double selectionX, double selectionY, vtkPropCollection *)
 Same as PickProp with two arguments, but selects from the given collection of Props instead of the Renderers props. More...
 
vtkAssemblyPathPickPropFrom (double selectionX1, double selectionY1, double selectionX2, double selectionY2, vtkPropCollection *)
 Same as PickProp with four arguments, but selects from the given collection of Props instead of the Renderers props. More...
 
double GetPickX () const
 Methods used to return the pick (x,y) in local display coordinates (i.e., it's that same as selectionX and selectionY). More...
 
double GetPickY () const
 
double GetPickWidth () const
 
double GetPickHeight () const
 
double GetPickX1 () const
 
double GetPickY1 () const
 
double GetPickX2 () const
 
double GetPickY2 () const
 
virtual int GetIsPicking ()
 
virtual unsigned int GetCurrentPickId ()
 
void SetCurrentPickId (unsigned int a)
 
virtual vtkPropCollectionGetPickResultProps ()
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 Turn debugging output on. More...
 
virtual void DebugOff ()
 Turn debugging output off. More...
 
bool GetDebug ()
 Get the value of the debug flag. More...
 
void SetDebug (bool debugFlag)
 Set the value of the debug flag. More...
 
virtual void Modified ()
 Update the modification time for this object. More...
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
int HasObserver (unsigned long event)
 
int HasObserver (const char *event)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 Overloads to AddObserver that allow developers to add class member functions as callbacks for events. More...
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 Allow user to set the AbortFlagOn() with the return value of the callback method. More...
 
int InvokeEvent (unsigned long event, void *callData)
 This method invokes an event and return whether the event was aborted or not. More...
 
int InvokeEvent (const char *event, void *callData)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 Return the class name as a string. More...
 
virtual void Delete ()
 Delete a VTK object. More...
 
virtual void FastDelete ()
 Delete a reference to this object. More...
 
void InitializeObjectBase ()
 
void Print (ostream &os)
 Print an object to an ostream. More...
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
virtual void Register (vtkObjectBase *o)
 Increase the reference count (mark as used by another object). More...
 
virtual void UnRegister (vtkObjectBase *o)
 Decrease the reference count (release by another object). More...
 
int GetReferenceCount ()
 Return the current reference count of this object. More...
 
void SetReferenceCount (int)
 Sets the reference count. More...
 
void PrintRevisions (ostream &)
 Legacy. More...
 

Static Public Member Functions

static vtkOpenGLRendererNew ()
 
static int IsTypeOf (const char *type)
 
static vtkOpenGLRendererSafeDownCast (vtkObjectBase *o)
 
static vtkOpenGLRendererNew ()
 
static int IsTypeOf (const char *type)
 
static vtkOpenGLRendererSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkRenderer
static int IsTypeOf (const char *type)
 
static vtkRendererSafeDownCast (vtkObjectBase *o)
 
static vtkRendererNew ()
 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. More...
 
- Static Public Member Functions inherited from vtkViewport
static int IsTypeOf (const char *type)
 
static vtkViewportSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
 
static void BreakOnError ()
 This method is called when vtkErrorMacro executes. More...
 
static void SetGlobalWarningDisplay (int val)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 Return 1 if this class type is the same type of (or a subclass of) the named class. More...
 
static vtkObjectBaseNew ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
 

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkOpenGLRenderer ()
 
 ~vtkOpenGLRenderer ()
 
void CheckCompilation (unsigned int fragmentShader)
 Check the compilation status of some fragment shader source. More...
 
virtual void ReleaseGraphicsResources (vtkWindow *w)
 
virtual void DevicePickRender ()
 
virtual void StartPick (unsigned int pickFromSize)
 
virtual void UpdatePickId ()
 
virtual void DonePick ()
 
virtual unsigned int GetPickedId ()
 
virtual unsigned int GetNumPickedIds ()
 
virtual int GetPickedIds (unsigned int atMost, unsigned int *callerBuffer)
 
virtual double GetPickedZ ()
 Return the Z value for the last picked Prop. More...
 
int RenderPeel (int layer)
 Render a peel layer. More...
 
int GetUseTextureUniformVariable ()
 Access to the OpenGL program shader uniform variable "useTexture" from the vtkOpenGLProperty or vtkOpenGLTexture. More...
 
int GetTextureUniformVariable ()
 Access to the OpenGL program shader uniform variable "texture" from the vtkOpenGLProperty or vtkOpenGLTexture. More...
 
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkOpenGLRenderer ()
 
 ~vtkOpenGLRenderer ()
 
void CheckCompilation (unsigned int fragmentShader)
 Check the compilation status of some fragment shader source. More...
 
virtual void ReleaseGraphicsResources (vtkWindow *w)
 
virtual int UpdateGeometry ()
 Ask all props to update and draw any opaque and translucent geometry. More...
 
virtual void DevicePickRender ()
 
virtual void StartPick (unsigned int pickFromSize)
 
virtual void UpdatePickId ()
 
virtual void DonePick ()
 
virtual unsigned int GetPickedId ()
 
virtual unsigned int GetNumPickedIds ()
 
virtual int GetPickedIds (unsigned int atMost, unsigned int *callerBuffer)
 
virtual double GetPickedZ ()
 Return the Z value for the last picked Prop. More...
 
- Protected Member Functions inherited from vtkRenderer
 vtkRenderer ()
 
 ~vtkRenderer ()
 
virtual void PickRender (vtkPropCollection *props)
 
virtual void PickGeometry ()
 
virtual void ExpandBounds (double bounds[6], vtkMatrix4x4 *matrix)
 
void AllocateTime ()
 
virtual int UpdateTranslucentPolygonalGeometry ()
 Ask all props to update and draw any translucent polygonal geometry. More...
 
virtual int UpdateOpaquePolygonalGeometry ()
 Ask all props to update and draw any opaque polygonal geometry. More...
 
virtual int UpdateCamera (void)
 Ask the active camera to do whatever it needs to do prior to rendering. More...
 
virtual int UpdateLightGeometry (void)
 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). More...
 
vtkCameraGetActiveCameraAndResetIfCreated ()
 Get the current camera and reset it only if it gets created automatically (see GetActiveCamera). More...
 
void SetSelector (vtkHardwareSelector *selector)
 Called by vtkHardwareSelector when it begins rendering for selection. More...
 
- Protected Member Functions inherited from vtkViewport
 vtkViewport ()
 
 ~vtkViewport ()
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
 ~vtkObject () override
 
void RegisterInternal (vtkObjectBase *, vtkTypeBool check) override
 
void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) override
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 These methods allow a command to exclusively grab all events. More...
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

class vtkGLPickInfo * PickInfo
 
double PickedZ
 
int NumberOfLightsBound
 
int DepthPeelingIsSupported
 This flag is on if the current OpenGL context supports extensions required by the depth peeling technique. More...
 
int DepthPeelingIsSupportedChecked
 This flag is on once the OpenGL extensions required by the depth peeling technique have been checked. More...
 
vtkOpenGLRendererLayerList * LayerList
 Used by the depth peeling technique to store the transparency layers. More...
 
unsigned int OpaqueLayerZ
 
unsigned int TransparentLayerZ
 
unsigned int ProgramShader
 
int ViewportX
 Cache viewport values for depth peeling. More...
 
int ViewportY
 
int ViewportWidth
 
int ViewportHeight
 
unsigned int DepthFormat
 Actual depth format: vtkgl::DEPTH_COMPONENT16_ARB or vtkgl::DEPTH_COMPONENT24_ARB. More...
 
int DepthPeelingHigherLayer
 
vtkShaderProgram2ShaderProgram
 
vtkOpenGLFXAAFilterFXAAFilter
 FXAA is delegated to an instance of vtkOpenGLFXAAFilter. More...
 
vtkDepthPeelingPassDepthPeelingPass
 Depth peeling is delegated to an instance of vtkDepthPeelingPass. More...
 
vtkShadowMapPassShadowMapPass
 Shadows are delegated to an instance of vtkShadowMapPass. More...
 
bool HaveApplePrimitiveIdBugValue
 
bool HaveApplePrimitiveIdBugChecked
 
- Protected Attributes inherited from vtkRenderer
vtkCameraActiveCamera
 
vtkLightCreatedLight
 
vtkLightCollectionLights
 
vtkCullerCollectionCullers
 
vtkActorCollectionActors
 
vtkVolumeCollectionVolumes
 
double Ambient [3]
 
vtkRenderWindowRenderWindow
 
double AllocatedRenderTime
 
double TimeFactor
 
int TwoSidedLighting
 
int AutomaticLightCreation
 
int BackingStore
 
unsigned char * BackingImage
 
int BackingStoreSize [2]
 
vtkTimeStamp RenderTime
 
double LastRenderTimeInSeconds
 
int LightFollowCamera
 
int NumberOfPropsRendered
 
vtkProp ** PropArray
 
int PropArrayCount
 
vtkAssemblyPath ** PathArray
 
int PathArrayCount
 
int Interactive
 
int Layer
 
int PreserveColorBuffer
 
int PreserveDepthBuffer
 
double ComputedVisiblePropBounds [6]
 
double NearClippingPlaneTolerance
 Specifies the minimum distance of the near clipping plane as a percentage of the far clipping plane distance. More...
 
double ClippingRangeExpansion
 Specify enlargement of bounds when resetting the camera clipping range. More...
 
int Erase
 When this flag is off, the renderer will not erase the background or the Zbuffer. More...
 
int Draw
 When this flag is off, render commands are ignored. More...
 
vtkPropCollectionGL2PSSpecialPropCollection
 Temporary collection used by vtkRenderWindow::CaptureGL2PSSpecialProps. More...
 
bool UseFXAA
 If this flag is on and the rendering engine supports it, FXAA will be used to antialias the scene. More...
 
vtkFXAAOptionsFXAAOptions
 Holds the FXAA configuration. More...
 
int UseShadows
 If this flag is on and the rendering engine supports it render shadows Initial value is off. More...
 
int UseHiddenLineRemoval
 When this flag is on and the rendering engine supports it, wireframe polydata will be rendered using hidden line removal. More...
 
int UseDepthPeeling
 If this flag is on and the GPU supports it, depth peeling is used for rendering translucent materials. More...
 
double OcclusionRatio
 In case of use of depth peeling technique for rendering translucent material, define the threshold under which the algorithm stops to iterate over peel layers. More...
 
int MaximumNumberOfPeels
 In case of depth peeling, define the maximum number of peeling layers. More...
 
int LastRenderingUsedDepthPeeling
 Tells if the last call to DeviceRenderTranslucentPolygonalGeometry() actually used depth peeling. More...
 
vtkHardwareSelectorSelector
 
vtkRendererDelegateDelegate
 
bool TexturedBackground
 
vtkTextureBackgroundTexture
 
vtkRenderPassPass
 
vtkInformationInformation
 
- Protected Attributes inherited from vtkViewport
vtkAssemblyPathPickedProp
 
vtkPropCollectionPickFromProps
 
vtkPropCollectionPickResultProps
 
int IsPicking
 
unsigned int CurrentPickId
 
double PickX1
 
double PickY1
 
double PickX2
 
double PickY2
 
vtkPropCollectionProps
 
vtkActor2DCollectionActors2D
 
vtkWindowVTKWindow
 
double Background [3]
 
double Background2 [3]
 
double Viewport [4]
 
double Aspect [2]
 
double PixelAspect [2]
 
double Center [2]
 
bool GradientBackground
 
int Size [2]
 
int Origin [2]
 
double DisplayPoint [3]
 
double ViewPoint [3]
 
double WorldPoint [4]
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Friends

class vtkOpenGLProperty
 
class vtkOpenGLTexture
 
class vtkOpenGLImageSliceMapper
 
class vtkOpenGLImageResliceMapper
 
class vtkRenderPass
 

Detailed Description

OpenGL renderer.

vtkOpenGLRenderer is a concrete implementation of the abstract class vtkRenderer. vtkOpenGLRenderer interfaces to the OpenGL graphics library.

Tests:
vtkOpenGLRenderer (Tests)

vtkOpenGLRenderer is a concrete implementation of the abstract class vtkRenderer. vtkOpenGLRenderer interfaces to the OpenGL graphics library.

Definition at line 36 of file vtkOpenGLRenderer.h.

Member Typedef Documentation

◆ Superclass [1/2]

Definition at line 40 of file vtkOpenGLRenderer.h.

◆ Superclass [2/2]

Definition at line 41 of file vtkOpenGLRenderer.h.

Constructor & Destructor Documentation

◆ vtkOpenGLRenderer() [1/2]

vtkOpenGLRenderer::vtkOpenGLRenderer ( )
protected

◆ ~vtkOpenGLRenderer() [1/2]

vtkOpenGLRenderer::~vtkOpenGLRenderer ( )
protected

◆ vtkOpenGLRenderer() [2/2]

vtkOpenGLRenderer::vtkOpenGLRenderer ( )
protected

◆ ~vtkOpenGLRenderer() [2/2]

vtkOpenGLRenderer::~vtkOpenGLRenderer ( )
protected

Member Function Documentation

◆ New() [1/2]

static vtkOpenGLRenderer* vtkOpenGLRenderer::New ( )
static

◆ IsTypeOf() [1/2]

static int vtkOpenGLRenderer::IsTypeOf ( const char *  type)
static

◆ IsA() [1/2]

virtual int vtkOpenGLRenderer::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 vtkRenderer.

Reimplemented in vtkExternalOpenGLRenderer, vtkOculusRenderer, and vtkOpenVRRenderer.

◆ SafeDownCast() [1/2]

static vtkOpenGLRenderer* vtkOpenGLRenderer::SafeDownCast ( vtkObjectBase o)
static

◆ NewInstanceInternal() [1/2]

virtual vtkObjectBase* vtkOpenGLRenderer::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkRenderer.

Reimplemented in vtkExternalOpenGLRenderer, vtkOculusRenderer, and vtkOpenVRRenderer.

◆ NewInstance() [1/2]

vtkOpenGLRenderer* vtkOpenGLRenderer::NewInstance ( ) const

◆ PrintSelf() [1/2]

void vtkOpenGLRenderer::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 vtkRenderer.

◆ DeviceRender() [1/2]

void vtkOpenGLRenderer::DeviceRender ( void  )
virtual

Concrete open gl render method.

Implements vtkRenderer.

◆ DeviceRenderOpaqueGeometry() [1/2]

virtual void vtkOpenGLRenderer::DeviceRenderOpaqueGeometry ( )
virtual

Overridden to support hidden line removal.

Reimplemented from vtkRenderer.

◆ DeviceRenderTranslucentPolygonalGeometry() [1/2]

virtual void vtkOpenGLRenderer::DeviceRenderTranslucentPolygonalGeometry ( )
virtual

Render translucent polygonal geometry.

Default implementation just call UpdateTranslucentPolygonalGeometry(). Subclasses of vtkRenderer that can deal with depth peeling must override this method.

Reimplemented from vtkRenderer.

◆ ClearLights()

virtual void vtkOpenGLRenderer::ClearLights ( void  )
virtual

Internal method temporarily removes lights before reloading them into graphics pipeline.

Reimplemented from vtkRenderer.

◆ Clear() [1/2]

virtual void vtkOpenGLRenderer::Clear ( void  )
virtual

Clear the image to the background color.

Reimplemented from vtkRenderer.

◆ UpdateLights() [1/2]

int vtkOpenGLRenderer::UpdateLights ( void  )
virtual

Ask lights to load themselves into graphics pipeline.

Reimplemented from vtkRenderer.

◆ GetDepthPeelingHigherLayer() [1/2]

int vtkOpenGLRenderer::GetDepthPeelingHigherLayer ( )

Is rendering at translucent geometry stage using depth peeling and rendering a layer other than the first one? (Boolean value) If so, the uniform variables UseTexture and Texture can be set.

(Used by vtkOpenGLProperty or vtkOpenGLTexture)

◆ GetShaderProgram()

virtual vtkShaderProgram2* vtkOpenGLRenderer::GetShaderProgram ( )
virtual

◆ SetShaderProgram()

virtual void vtkOpenGLRenderer::SetShaderProgram ( vtkShaderProgram2 program)
virtual

◆ CheckCompilation() [1/2]

void vtkOpenGLRenderer::CheckCompilation ( unsigned int  fragmentShader)
protected

Check the compilation status of some fragment shader source.

◆ ReleaseGraphicsResources() [1/2]

virtual void vtkOpenGLRenderer::ReleaseGraphicsResources ( vtkWindow w)
protectedvirtual

Reimplemented from vtkRenderer.

◆ DevicePickRender() [1/2]

virtual void vtkOpenGLRenderer::DevicePickRender ( )
protectedvirtual

Implements vtkViewport.

◆ StartPick() [1/2]

virtual void vtkOpenGLRenderer::StartPick ( unsigned int  pickFromSize)
protectedvirtual

Implements vtkViewport.

◆ UpdatePickId() [1/2]

virtual void vtkOpenGLRenderer::UpdatePickId ( )
protectedvirtual

Implements vtkViewport.

◆ DonePick() [1/2]

virtual void vtkOpenGLRenderer::DonePick ( )
protectedvirtual

Implements vtkViewport.

◆ GetPickedId() [1/2]

virtual unsigned int vtkOpenGLRenderer::GetPickedId ( )
protectedvirtual

Implements vtkViewport.

◆ GetNumPickedIds() [1/2]

virtual unsigned int vtkOpenGLRenderer::GetNumPickedIds ( )
protectedvirtual

Implements vtkViewport.

◆ GetPickedIds() [1/2]

virtual int vtkOpenGLRenderer::GetPickedIds ( unsigned int  atMost,
unsigned int callerBuffer 
)
protectedvirtual

Implements vtkViewport.

◆ GetPickedZ() [1/2]

virtual double vtkOpenGLRenderer::GetPickedZ ( )
protectedvirtual

Return the Z value for the last picked Prop.

Implements vtkViewport.

◆ RenderPeel()

int vtkOpenGLRenderer::RenderPeel ( int  layer)
protected

Render a peel layer.

If there is no more GPU RAM to save the texture, return false otherwise returns true. Also if layer==0 and no prop have been rendered (there is no translucent geometry), it returns false.

Precondition
positive_layer: layer>=0

◆ GetUseTextureUniformVariable()

int vtkOpenGLRenderer::GetUseTextureUniformVariable ( )
protected

Access to the OpenGL program shader uniform variable "useTexture" from the vtkOpenGLProperty or vtkOpenGLTexture.

◆ GetTextureUniformVariable()

int vtkOpenGLRenderer::GetTextureUniformVariable ( )
protected

Access to the OpenGL program shader uniform variable "texture" from the vtkOpenGLProperty or vtkOpenGLTexture.

◆ New() [2/2]

static vtkOpenGLRenderer* vtkOpenGLRenderer::New ( )
static

◆ IsTypeOf() [2/2]

static int vtkOpenGLRenderer::IsTypeOf ( const char *  type)
static

◆ IsA() [2/2]

virtual int vtkOpenGLRenderer::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 vtkRenderer.

Reimplemented in vtkExternalOpenGLRenderer, vtkOculusRenderer, and vtkOpenVRRenderer.

◆ SafeDownCast() [2/2]

static vtkOpenGLRenderer* vtkOpenGLRenderer::SafeDownCast ( vtkObjectBase o)
static

◆ NewInstanceInternal() [2/2]

virtual vtkObjectBase* vtkOpenGLRenderer::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkRenderer.

Reimplemented in vtkExternalOpenGLRenderer, vtkOculusRenderer, and vtkOpenVRRenderer.

◆ NewInstance() [2/2]

vtkOpenGLRenderer* vtkOpenGLRenderer::NewInstance ( ) const

◆ PrintSelf() [2/2]

void vtkOpenGLRenderer::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 vtkRenderer.

◆ DeviceRender() [2/2]

void vtkOpenGLRenderer::DeviceRender ( void  )
virtual

Concrete open gl render method.

Implements vtkRenderer.

◆ DeviceRenderOpaqueGeometry() [2/2]

virtual void vtkOpenGLRenderer::DeviceRenderOpaqueGeometry ( )
virtual

Overridden to support hidden line removal.

Reimplemented from vtkRenderer.

◆ DeviceRenderTranslucentPolygonalGeometry() [2/2]

virtual void vtkOpenGLRenderer::DeviceRenderTranslucentPolygonalGeometry ( )
virtual

Render translucent polygonal geometry.

Default implementation just call UpdateTranslucentPolygonalGeometry(). Subclasses of vtkRenderer that can deal with depth peeling must override this method.

Reimplemented from vtkRenderer.

◆ Clear() [2/2]

void vtkOpenGLRenderer::Clear ( void  )
virtual

Clear the image to the background color.

Reimplemented from vtkRenderer.

◆ UpdateLights() [2/2]

int vtkOpenGLRenderer::UpdateLights ( void  )
virtual

Ask lights to load themselves into graphics pipeline.

Reimplemented from vtkRenderer.

◆ GetDepthPeelingHigherLayer() [2/2]

int vtkOpenGLRenderer::GetDepthPeelingHigherLayer ( )

Is rendering at translucent geometry stage using depth peeling and rendering a layer other than the first one? (Boolean value) If so, the uniform variables UseTexture and Texture can be set.

(Used by vtkOpenGLProperty or vtkOpenGLTexture)

◆ HaveApplePrimitiveIdBug()

bool vtkOpenGLRenderer::HaveApplePrimitiveIdBug ( )

Indicate if this system is subject to the apple/amd bug of not having a working glPrimitiveId.

◆ CheckCompilation() [2/2]

void vtkOpenGLRenderer::CheckCompilation ( unsigned int  fragmentShader)
protected

Check the compilation status of some fragment shader source.

◆ ReleaseGraphicsResources() [2/2]

virtual void vtkOpenGLRenderer::ReleaseGraphicsResources ( vtkWindow w)
protectedvirtual

Reimplemented from vtkRenderer.

◆ UpdateGeometry()

virtual int vtkOpenGLRenderer::UpdateGeometry ( )
protectedvirtual

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.

Reimplemented from vtkRenderer.

◆ DevicePickRender() [2/2]

virtual void vtkOpenGLRenderer::DevicePickRender ( )
protectedvirtual

Implements vtkViewport.

◆ StartPick() [2/2]

virtual void vtkOpenGLRenderer::StartPick ( unsigned int  pickFromSize)
protectedvirtual

Implements vtkViewport.

◆ UpdatePickId() [2/2]

virtual void vtkOpenGLRenderer::UpdatePickId ( )
protectedvirtual

Implements vtkViewport.

◆ DonePick() [2/2]

virtual void vtkOpenGLRenderer::DonePick ( )
protectedvirtual

Implements vtkViewport.

◆ GetPickedId() [2/2]

virtual unsigned int vtkOpenGLRenderer::GetPickedId ( )
protectedvirtual

Implements vtkViewport.

◆ GetNumPickedIds() [2/2]

virtual unsigned int vtkOpenGLRenderer::GetNumPickedIds ( )
protectedvirtual

Implements vtkViewport.

◆ GetPickedIds() [2/2]

virtual int vtkOpenGLRenderer::GetPickedIds ( unsigned int  atMost,
unsigned int callerBuffer 
)
protectedvirtual

Implements vtkViewport.

◆ GetPickedZ() [2/2]

virtual double vtkOpenGLRenderer::GetPickedZ ( )
protectedvirtual

Return the Z value for the last picked Prop.

Implements vtkViewport.

Friends And Related Function Documentation

◆ vtkOpenGLProperty

Definition at line 126 of file vtkOpenGLRenderer.h.

◆ vtkOpenGLTexture

Definition at line 127 of file vtkOpenGLRenderer.h.

◆ vtkOpenGLImageSliceMapper

Definition at line 128 of file vtkOpenGLRenderer.h.

◆ vtkOpenGLImageResliceMapper

vtkOpenGLImageResliceMapper
friend

Definition at line 129 of file vtkOpenGLRenderer.h.

◆ vtkRenderPass

vtkRenderPass
friend

Definition at line 188 of file vtkOpenGLRenderer.h.

Member Data Documentation

◆ PickInfo

class vtkGLPickInfo * vtkOpenGLRenderer::PickInfo
protected

Definition at line 113 of file vtkOpenGLRenderer.h.

◆ PickedZ

double vtkOpenGLRenderer::PickedZ
protected

Definition at line 115 of file vtkOpenGLRenderer.h.

◆ NumberOfLightsBound

int vtkOpenGLRenderer::NumberOfLightsBound
protected

Definition at line 117 of file vtkOpenGLRenderer.h.

◆ DepthPeelingIsSupported

int vtkOpenGLRenderer::DepthPeelingIsSupported
protected

This flag is on if the current OpenGL context supports extensions required by the depth peeling technique.

Definition at line 147 of file vtkOpenGLRenderer.h.

◆ DepthPeelingIsSupportedChecked

int vtkOpenGLRenderer::DepthPeelingIsSupportedChecked
protected

This flag is on once the OpenGL extensions required by the depth peeling technique have been checked.

Definition at line 153 of file vtkOpenGLRenderer.h.

◆ LayerList

vtkOpenGLRendererLayerList* vtkOpenGLRenderer::LayerList
protected

Used by the depth peeling technique to store the transparency layers.

Definition at line 158 of file vtkOpenGLRenderer.h.

◆ OpaqueLayerZ

unsigned int vtkOpenGLRenderer::OpaqueLayerZ
protected

Definition at line 160 of file vtkOpenGLRenderer.h.

◆ TransparentLayerZ

unsigned int vtkOpenGLRenderer::TransparentLayerZ
protected

Definition at line 161 of file vtkOpenGLRenderer.h.

◆ ProgramShader

unsigned int vtkOpenGLRenderer::ProgramShader
protected

Definition at line 162 of file vtkOpenGLRenderer.h.

◆ ViewportX

int vtkOpenGLRenderer::ViewportX
protected

Cache viewport values for depth peeling.

Definition at line 168 of file vtkOpenGLRenderer.h.

◆ ViewportY

int vtkOpenGLRenderer::ViewportY
protected

Definition at line 169 of file vtkOpenGLRenderer.h.

◆ ViewportWidth

int vtkOpenGLRenderer::ViewportWidth
protected

Definition at line 170 of file vtkOpenGLRenderer.h.

◆ ViewportHeight

int vtkOpenGLRenderer::ViewportHeight
protected

Definition at line 171 of file vtkOpenGLRenderer.h.

◆ DepthFormat

unsigned int vtkOpenGLRenderer::DepthFormat
protected

Actual depth format: vtkgl::DEPTH_COMPONENT16_ARB or vtkgl::DEPTH_COMPONENT24_ARB.

Definition at line 178 of file vtkOpenGLRenderer.h.

◆ DepthPeelingHigherLayer

int vtkOpenGLRenderer::DepthPeelingHigherLayer
protected

Definition at line 184 of file vtkOpenGLRenderer.h.

◆ ShaderProgram

vtkShaderProgram2* vtkOpenGLRenderer::ShaderProgram
protected

Definition at line 186 of file vtkOpenGLRenderer.h.

◆ FXAAFilter

vtkOpenGLFXAAFilter* vtkOpenGLRenderer::FXAAFilter
protected

FXAA is delegated to an instance of vtkOpenGLFXAAFilter.

Definition at line 125 of file vtkOpenGLRenderer.h.

◆ DepthPeelingPass

vtkDepthPeelingPass* vtkOpenGLRenderer::DepthPeelingPass
protected

Depth peeling is delegated to an instance of vtkDepthPeelingPass.

Definition at line 130 of file vtkOpenGLRenderer.h.

◆ ShadowMapPass

vtkShadowMapPass* vtkOpenGLRenderer::ShadowMapPass
protected

Shadows are delegated to an instance of vtkShadowMapPass.

Definition at line 135 of file vtkOpenGLRenderer.h.

◆ HaveApplePrimitiveIdBugValue

bool vtkOpenGLRenderer::HaveApplePrimitiveIdBugValue
protected

Definition at line 145 of file vtkOpenGLRenderer.h.

◆ HaveApplePrimitiveIdBugChecked

bool vtkOpenGLRenderer::HaveApplePrimitiveIdBugChecked
protected

Definition at line 146 of file vtkOpenGLRenderer.h.


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