VTK
|
2D PolyData support for OpenGL More...
#include <vtkOpenGLPolyDataMapper2D.h>
2D PolyData support for OpenGL
vtkOpenGLPolyDataMapper2D provides 2D PolyData annotation support for vtk under OpenGL. Normally the user should use vtkPolyDataMapper2D which in turn will use this class.
Definition at line 32 of file vtkOpenGLPolyDataMapper2D.h.
Reimplemented from vtkPolyDataMapper2D.
Definition at line 35 of file vtkOpenGLPolyDataMapper2D.h.
Reimplemented from vtkPolyDataMapper2D.
Definition at line 41 of file vtkOpenGLPolyDataMapper2D.h.
vtkOpenGLPolyDataMapper2D::vtkOpenGLPolyDataMapper2D | ( | ) | [inline, protected] |
Definition at line 43 of file vtkOpenGLPolyDataMapper2D.h.
vtkOpenGLPolyDataMapper2D::~vtkOpenGLPolyDataMapper2D | ( | ) | [inline, protected] |
Definition at line 44 of file vtkOpenGLPolyDataMapper2D.h.
vtkOpenGLPolyDataMapper2D::vtkOpenGLPolyDataMapper2D | ( | ) | [protected] |
vtkOpenGLPolyDataMapper2D::~vtkOpenGLPolyDataMapper2D | ( | ) | [protected] |
static int vtkOpenGLPolyDataMapper2D::IsTypeOf | ( | const char * | name | ) | [static] |
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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkPolyDataMapper2D.
virtual int vtkOpenGLPolyDataMapper2D::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 vtkPolyDataMapper2D.
static vtkOpenGLPolyDataMapper2D* vtkOpenGLPolyDataMapper2D::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkPolyDataMapper2D.
virtual vtkObjectBase* vtkOpenGLPolyDataMapper2D::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkPolyDataMapper2D.
Reimplemented from vtkPolyDataMapper2D.
static vtkOpenGLPolyDataMapper2D* vtkOpenGLPolyDataMapper2D::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkPolyDataMapper2D.
virtual void vtkOpenGLPolyDataMapper2D::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 vtkPolyDataMapper2D.
void vtkOpenGLPolyDataMapper2D::RenderOverlay | ( | vtkViewport * | viewport, |
vtkActor2D * | actor | ||
) | [virtual] |
Actually draw the poly data.
Reimplemented from vtkMapper2D.
static int vtkOpenGLPolyDataMapper2D::IsTypeOf | ( | const char * | name | ) | [static] |
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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkPolyDataMapper2D.
virtual int vtkOpenGLPolyDataMapper2D::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 vtkPolyDataMapper2D.
static vtkOpenGLPolyDataMapper2D* vtkOpenGLPolyDataMapper2D::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkPolyDataMapper2D.
virtual vtkObjectBase* vtkOpenGLPolyDataMapper2D::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkPolyDataMapper2D.
Reimplemented from vtkPolyDataMapper2D.
static vtkOpenGLPolyDataMapper2D* vtkOpenGLPolyDataMapper2D::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkPolyDataMapper2D.
virtual void vtkOpenGLPolyDataMapper2D::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 vtkPolyDataMapper2D.
void vtkOpenGLPolyDataMapper2D::RenderOverlay | ( | vtkViewport * | viewport, |
vtkActor2D * | actor | ||
) | [virtual] |
Actually draw the poly data.
Reimplemented from vtkMapper2D.
void vtkOpenGLPolyDataMapper2D::ReleaseGraphicsResources | ( | vtkWindow * | ) | [virtual] |
Release any graphics resources that are being consumed by this mapper. The parameter window could be used to determine which graphic resources to release.
Reimplemented from vtkAbstractMapper.
virtual bool vtkOpenGLPolyDataMapper2D::GetNeedToRebuildShader | ( | vtkgl::CellBO & | cellBO, |
vtkViewport * | ren, | ||
vtkActor2D * | act | ||
) | [protected, virtual] |
Does the shader source need to be recomputed
virtual void vtkOpenGLPolyDataMapper2D::BuildShader | ( | std::string & | VertexCode, |
std::string & | fragmentCode, | ||
std::string & | geometryCode, | ||
vtkViewport * | ren, | ||
vtkActor2D * | act | ||
) | [protected, virtual] |
Build the shader source code
virtual void vtkOpenGLPolyDataMapper2D::UpdateShader | ( | vtkgl::CellBO & | cellBO, |
vtkViewport * | viewport, | ||
vtkActor2D * | act | ||
) | [protected, virtual] |
Determine what shader to use and compile/link it
virtual void vtkOpenGLPolyDataMapper2D::SetMapperShaderParameters | ( | vtkgl::CellBO & | cellBO, |
vtkViewport * | ren, | ||
vtkActor2D * | act | ||
) | [protected, virtual] |
Set the shader parameteres related to the mapper/input data, called by UpdateShader
void vtkOpenGLPolyDataMapper2D::SetCameraShaderParameters | ( | vtkgl::CellBO & | cellBO, |
vtkViewport * | viewport, | ||
vtkActor2D * | act | ||
) | [protected] |
Set the shader parameteres related to the Camera
void vtkOpenGLPolyDataMapper2D::SetPropertyShaderParameters | ( | vtkgl::CellBO & | cellBO, |
vtkViewport * | viewport, | ||
vtkActor2D * | act | ||
) | [protected] |
Set the shader parameteres related to the property
void vtkOpenGLPolyDataMapper2D::UpdateVBO | ( | vtkActor2D * | act, |
vtkViewport * | viewport | ||
) | [protected] |
Update the scene when necessary.
vtkgl::BufferObject vtkOpenGLPolyDataMapper2D::VBO [protected] |
Definition at line 86 of file vtkOpenGLPolyDataMapper2D.h.
vtkgl::VBOLayout vtkOpenGLPolyDataMapper2D::Layout [protected] |
Definition at line 87 of file vtkOpenGLPolyDataMapper2D.h.
vtkgl::CellBO vtkOpenGLPolyDataMapper2D::Points [protected] |
Definition at line 90 of file vtkOpenGLPolyDataMapper2D.h.
vtkgl::CellBO vtkOpenGLPolyDataMapper2D::Lines [protected] |
Definition at line 91 of file vtkOpenGLPolyDataMapper2D.h.
vtkgl::CellBO vtkOpenGLPolyDataMapper2D::Tris [protected] |
Definition at line 92 of file vtkOpenGLPolyDataMapper2D.h.
vtkgl::CellBO vtkOpenGLPolyDataMapper2D::TriStrips [protected] |
Definition at line 93 of file vtkOpenGLPolyDataMapper2D.h.
vtkTimeStamp vtkOpenGLPolyDataMapper2D::VBOUpdateTime [protected] |
Definition at line 95 of file vtkOpenGLPolyDataMapper2D.h.
vtkPoints* vtkOpenGLPolyDataMapper2D::TransformedPoints [protected] |
Definition at line 96 of file vtkOpenGLPolyDataMapper2D.h.