Go to the documentation of this file.
29 #ifndef vtkOpenGLContextDevice2D_h
30 #define vtkOpenGLContextDevice2D_h
32 #include "vtkRenderingContextOpenGL2Module.h"
62 virtual void DrawPoly(
float *
f,
int n,
unsigned char *colors = 0,
70 virtual void DrawLines(
float *
f,
int n,
unsigned char *colors = 0,
89 unsigned char* colors = 0,
int nc_comps = 0);
100 unsigned char *colors = 0,
int nc_comps = 0);
116 virtual
void DrawQuadStrip(
float *
points,
int n);
119 virtual
void DrawPolygon(
float *,
int);
128 virtual
void DrawEllipseWedge(
float x,
float y,
float outRx,
float outRy,
137 virtual
void DrawEllipticArc(
float x,
float y,
float rX,
float rY,
187 virtual
void SetColor4(
unsigned char color[4]);
190 virtual
void SetColor(
unsigned char color[3]);
196 virtual
void SetPointSize(
float size);
199 virtual
void SetLineWidth(
float width);
202 virtual
void SetLineType(
int type);
214 virtual
void PushMatrix();
217 virtual
void PopMatrix();
221 virtual
void SetClipping(
int *
x);
224 virtual
void EnableClipping(
bool enable);
241 virtual
void BufferIdModeEnd();
246 bool SetStringRendererToFreeType();
250 bool SetStringRendererToQt();
264 virtual
void ReleaseGraphicsResources(
vtkWindow *window);
282 int GetNumberOfArcIterations(
float rX,
310 void ReadyVCBOProgram();
312 void ReadyVBOProgram();
314 void ReadyVTBOProgram();
316 void ReadySCBOProgram();
318 void ReadySBOProgram();
323 unsigned char *coolors,
int nc,
325 void CoreDrawTriangles(std::
vector<
float> &tverts);
340 class vtkMarkerCacheObject
347 return this->Key ==
key;
354 std::list<vtkMarkerCacheObject> MarkerCache;
355 int MaximumMarkerCacheSize;
365 #endif //vtkOpenGLContextDevice2D_h
virtual void DrawPoints(float *points, int n, unsigned char *colors=0, int nc_comps=0)
#define vtkGetObjectMacro(name, type)
virtual void DrawLines(float *f, int n, unsigned char *colors=0, int nc_comps=0)
GLenum GLenum GLenum GLenum GLenum scale
#define vtkTypeMacro(thisClass, superclass)
virtual void DrawPointSprites(vtkImageData *sprite, float *points, int n, unsigned char *colors=0, int nc_comps=0)
uses Qt to render the supplied text to an image.
GLint GLint GLint GLint GLint x
GLsizei const GLfloat * points
represent and manipulate 3x3 transformation matrices
window superclass for vtkRenderWindow
2D array of ids, used for picking.
virtual void PrintSelf(ostream &os, vtkIndent indent)
Interface class for querying and using OpenGL extensions.
Class for drawing 2D primitives using OpenGL 1.1+.
The ShaderProgram uses one or more Shader objects.
topologically and geometrically regular array of data
a simple class to control print indentation
represent and manipulate 4x4 transformation matrices
String class that stores Unicode text.
virtual void DrawMarkers(int shape, bool highlight, float *points, int n, unsigned char *colors=0, int nc_comps=0)
#define vtkGetMacro(name, type)
VTKCOMMONCORE_EXPORT bool operator==(const vtkUnicodeString &lhs, const vtkUnicodeString &rhs)
abstract specification for Viewports
Abstract class for drawing 2D primitives.
GLint GLint GLsizei width
vtkSetMacro(IgnoreDriverBugs, bool)
virtual void DrawPoly(float *f, int n, unsigned char *colors=0, int nc_comps=0)
GLint GLint GLint GLint GLint GLint y
abstract specification for renderers
static vtkOpenGLContextDevice2D * New()
Wrapper around std::string to keep symbols short.
GLuint GLuint GLsizei GLenum type
GLenum GLsizei GLenum GLenum const GLvoid * image
GLint GLint GLsizei GLsizei height