Go to the documentation of this file.
28 #ifndef vtkGL2PSContextDevice2D_h
29 #define vtkGL2PSContextDevice2D_h
32 #include "vtkOpenGLContextDevice2D.h"
50 virtual void DrawPoly(
float *
f,
int n,
unsigned char *colors = 0,
68 unsigned char *colors = 0,
int nc_comps = 0);
105 unsigned char *colors = 0,
int nc_comps = 0);
145 void DrawCrossMarkers(
bool highlight,
float *
points,
int n,
146 unsigned char *colors,
int nc_comps);
147 void DrawPlusMarkers(
bool highlight,
float *
points,
int n,
148 unsigned char *colors,
int nc_comps);
149 void DrawSquareMarkers(
bool highlight,
float *
points,
int n,
150 unsigned char *colors,
int nc_comps);
151 void DrawCircleMarkers(
bool highlight,
float *
points,
int n,
152 unsigned char *colors,
int nc_comps);
153 void DrawDiamondMarkers(
bool highlight,
float *
points,
int n,
154 unsigned char *colors,
int nc_comps);
155 void AddEllipseToPath(
vtkPath *
path,
float x,
float y,
float rx,
float ry,
162 void TransformPoint(
float &
x,
float &
y)
const;
165 void TransformSize(
float &dx,
float &dy)
const;
168 #endif //vtkGL2PSContextDevice2D_h
virtual void DrawPointSprites(vtkImageData *sprite, float *points, int n, unsigned char *colors=0, int nc_comps=0)
virtual void DrawMathTextString(float point[2], const vtkStdString &string)
virtual void DrawEllipseWedge(float x, float y, float outRx, float outRy, float inRx, float inRy, float startAngle, float stopAngle)
virtual void DrawPolygon(float *, int)
concrete dataset representing a path defined by Bezier curves.
#define vtkTypeMacro(thisClass, superclass)
virtual void DrawString(float *point, const vtkStdString &string)
GLint GLint GLint GLint GLint x
virtual void SetLineWidth(float width)
#define VTKRENDERINGGL2PS_EXPORT
virtual void DrawPoints(float *points, int n, unsigned char *colors=0, int nc_comps=0)
GLsizei const GLfloat * points
void ApplyPen(vtkPen *pen)
Class for drawing 2D primitives using OpenGL 1.1+.
virtual void DrawMarkers(int shape, bool highlight, float *points, int n, unsigned char *colors=0, int nc_comps=0)
topologically and geometrically regular array of data
a simple class to control print indentation
virtual void DrawEllipticArc(float x, float y, float rX, float rY, float startAngle, float stopAngle)
String class that stores Unicode text.
GLsizei const GLchar ** path
virtual void SetLineType(int type)
Class for drawing 2D primitives using GL2PS.
GLint GLint GLsizei width
GLint GLint GLint GLint GLint GLint y
virtual ~vtkGL2PSContextDevice2D()
virtual void DrawPoly(float *f, int n, unsigned char *colors=0, int nc_comps=0)
virtual void DrawQuad(float *points, int n)
provides a pen that draws the outlines of shapes drawn by vtkContext2D.
Wrapper around std::string to keep symbols short.
GLuint GLuint GLsizei GLenum type
static vtkGL2PSContextDevice2D * New()
virtual void DrawQuadStrip(float *, int)
vtkGL2PSContextDevice2D()
virtual void SetPointSize(float size)
virtual void DrawString(float *point, const vtkUnicodeString &string)
virtual void PrintSelf(ostream &os, vtkIndent indent)