VTK  9.1.0
Public Member Functions | Protected Attributes | List of all members
vtkOpenGLResourceFreeCallback< T > Class Template Reference

#include <vtkOpenGLResourceFreeCallback.h>

Inheritance diagram for vtkOpenGLResourceFreeCallback< T >:
[legend]
Collaboration diagram for vtkOpenGLResourceFreeCallback< T >:
[legend]

Public Member Functions

 vtkOpenGLResourceFreeCallback (T *handler, void(T::*method)(vtkWindow *))
 
 ~vtkOpenGLResourceFreeCallback () override=default
 
void RegisterGraphicsResources (vtkOpenGLRenderWindow *rw) override
 
void Release () override
 
- Public Member Functions inherited from vtkGenericOpenGLResourceFreeCallback
 vtkGenericOpenGLResourceFreeCallback ()
 
virtual ~vtkGenericOpenGLResourceFreeCallback ()=default
 
virtual void Release ()=0
 
virtual void RegisterGraphicsResources (vtkOpenGLRenderWindow *rw)=0
 
bool IsReleasing ()
 

Protected Attributes

T * Handler
 
void(T::* Method )(vtkWindow *)
 
- Protected Attributes inherited from vtkGenericOpenGLResourceFreeCallback
vtkOpenGLRenderWindowVTKWindow
 
bool Releasing
 

Detailed Description

template<class T>
class vtkOpenGLResourceFreeCallback< T >

Definition at line 50 of file vtkOpenGLResourceFreeCallback.h.

Constructor & Destructor Documentation

◆ vtkOpenGLResourceFreeCallback()

template<class T >
vtkOpenGLResourceFreeCallback< T >::vtkOpenGLResourceFreeCallback ( T *  handler,
void(T::*)(vtkWindow *)  method 
)
inline

Definition at line 53 of file vtkOpenGLResourceFreeCallback.h.

◆ ~vtkOpenGLResourceFreeCallback()

template<class T >
vtkOpenGLResourceFreeCallback< T >::~vtkOpenGLResourceFreeCallback ( )
overridedefault

Member Function Documentation

◆ RegisterGraphicsResources()

template<class T >
void vtkOpenGLResourceFreeCallback< T >::RegisterGraphicsResources ( vtkOpenGLRenderWindow rw)
inlineoverridevirtual

◆ Release()

template<class T >
void vtkOpenGLResourceFreeCallback< T >::Release ( )
inlineoverridevirtual

Member Data Documentation

◆ Handler

template<class T >
T* vtkOpenGLResourceFreeCallback< T >::Handler
protected

Definition at line 94 of file vtkOpenGLResourceFreeCallback.h.

◆ Method

template<class T >
void(T::* vtkOpenGLResourceFreeCallback< T >::Method) (vtkWindow *)
protected

Definition at line 95 of file vtkOpenGLResourceFreeCallback.h.


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