Go to the documentation of this file.
24 #ifndef vtkOpenGLContextDevice3D_h
25 #define vtkOpenGLContextDevice3D_h
27 #include "vtkRenderingContextOpenGL2Module.h"
50 void DrawPoly(
const float *verts,
int n,
const unsigned char *colors,
int nc);
53 void DrawLines(
const float *verts,
int n,
const unsigned char *colors,
int nc);
58 const unsigned char *colors,
int nc);
64 const unsigned char *colors,
int nc);
134 const float *
v,
int nv,
135 const unsigned char *coolors,
int nc,
provides a brush that fills shapes drawn by vtkContext2D.
OpenGL class drawing 3D primitives.
void EnableClippingPlane(int i, double *planeEquation)
void DrawLines(const float *verts, int n, const unsigned char *colors, int nc)
void BuildVBO(vtkOpenGLHelper *cbo, const float *v, int nv, const unsigned char *coolors, int nc, float *tcoords)
void ApplyBrush(vtkBrush *brush)
#define vtkTypeMacro(thisClass, superclass)
Abstract class for drawing 3D primitives.
void Initialize(vtkRenderer *, vtkOpenGLContextDevice2D *)
std::vector< double > ClippingPlaneValues
void PrintSelf(ostream &os, vtkIndent indent)
vtkTransform * ModelMatrix
virtual bool HaveWideLines()
void SetMatrix(vtkMatrix4x4 *m)
Class for drawing 2D primitives using OpenGL 1.1+.
void CoreDrawTriangles(std::vector< float > &tverts)
The ShaderProgram uses one or more Shader objects.
void DrawPoly(const float *verts, int n, const unsigned char *colors, int nc)
a simple class to control print indentation
represent and manipulate 4x4 transformation matrices
void DrawPoints(const float *verts, int n, const unsigned char *colors, int nc)
~vtkOpenGLContextDevice3D()
void EnableClipping(bool enable)
void DrawTriangleMesh(const float *mesh, int n, const unsigned char *colors, int nc)
void ApplyPen(vtkPen *pen)
void GetMatrix(vtkMatrix4x4 *m)
abstract specification for Viewports
virtual void DisableDepthBuffer()
virtual void Begin(vtkViewport *viewport)
abstract specification for renderers
static vtkOpenGLContextDevice3D * New()
void DisableClippingPlane(int i)
vtkOpenGLRenderWindow * RenderWindow
virtual void EnableDepthBuffer()
provides a pen that draws the outlines of shapes drawn by vtkContext2D.
void SetMatrices(vtkShaderProgram *prog)
vtkOpenGLContextDevice3D()
std::vector< bool > ClippingPlaneStates
void MultiplyMatrix(vtkMatrix4x4 *m)
void SetClipping(const vtkRecti &rect)