Go to the documentation of this file.
32 #ifndef vtkOpenGLContextDevice2D_h
33 #define vtkOpenGLContextDevice2D_h
60 virtual void DrawPoly(
float *
f,
int n,
unsigned char *colors = 0,
68 virtual void DrawLines(
float *
f,
int n,
unsigned char *colors = 0,
87 unsigned char* colors = 0,
int nc_comps = 0);
98 unsigned char *colors = 0,
int nc_comps = 0);
114 virtual
void DrawQuadStrip(
float *
points,
int n);
117 virtual
void DrawPolygon(
float *,
int);
126 virtual
void DrawEllipseWedge(
float x,
float y,
float outRx,
float outRy,
135 virtual
void DrawEllipticArc(
float x,
float y,
float rX,
float rY,
185 virtual
void SetColor4(
unsigned char color[4]);
188 virtual
void SetColor(
unsigned char color[3]);
194 virtual
void SetPointSize(
float size);
197 virtual
void SetLineWidth(
float width);
200 virtual
void SetLineType(
int type);
212 virtual
void PushMatrix();
215 virtual
void PopMatrix();
219 virtual
void SetClipping(
int *
x);
222 virtual
void EnableClipping(
bool enable);
239 virtual
void BufferIdModeEnd();
244 bool SetStringRendererToFreeType();
248 bool SetStringRendererToQt();
262 virtual
void ReleaseGraphicsResources(
vtkWindow *window);
274 int GetNumberOfArcIterations(
float rX,
317 class vtkMarkerCacheObject
324 return this->Key ==
key;
328 std::list<vtkMarkerCacheObject> MarkerCache;
329 int MaximumMarkerCacheSize;
339 #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)
#define VTKRENDERINGCONTEXTOPENGL_EXPORT
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+.
topologically and geometrically regular array of data
a simple class to control print indentation
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