48 #ifndef vtkBoundingRectContextDevice2D_h 49 #define vtkBoundingRectContextDevice2D_h 118 int vtkNotUsed(scalarMode))
override 217 void DrawPoly(
float*
points,
int n,
unsigned char* colors = 0,
int nc_comps = 0)
override;
222 void DrawLines(
float* f,
int n,
unsigned char* colors = 0,
int nc_comps = 0)
override;
227 void DrawPoints(
float* points,
int n,
unsigned char* colors = 0,
int nc_comps = 0)
override;
233 int nc_comps = 0)
override;
238 void DrawMarkers(
int shape,
bool highlight,
float* points,
int n,
unsigned char* colors = 0,
239 int nc_comps = 0)
override;
244 void DrawEllipseWedge(
float x,
float y,
float outRx,
float outRy,
float inRx,
float inRy,
251 float x,
float y,
float rX,
float rY,
float startAngle,
float stopAngle)
override;
315 void AddPoint(
float x,
float y);
316 void AddPoint(
float point[2]);
328 #endif // vtkBoundingRectContextDevice2D bool Initialized
Is the bounding rect initialized?
virtual void SetMatrix(vtkMatrix3x3 *m)=0
virtual void SetClipping(int *x)=0
virtual void BufferIdModeEnd()
virtual void ComputeJustifiedStringBounds(const char *string, float bounds[4])=0
virtual void ApplyTextProp(vtkTextProperty *prop)
#define VTKREMOTINGVIEWS_EXPORT
vtkContextDevice2D * DelegateDevice
Delegate ContextDevice2D to handle certain computations.
vtkRectf BoundingRect
Cumulative rect holding the bounds of the primitives rendered by the device.
virtual void BufferIdModeBegin(vtkAbstractContextBufferId *bufferId)
static vtkContextDevice2D * New()
virtual void DrawPoints(float *points, int n, unsigned char *colors=0, int nc_comps=0)=0
virtual vtkPen * GetPen()
virtual vtkTextProperty * GetTextProp()
virtual void Begin(vtkViewport *)
virtual void DrawMarkers(int shape, bool highlight, float *points, int n, unsigned char *colors=0, int nc_comps=0)
virtual void SetColor4(unsigned char color[4])=0
virtual void EnableClipping(bool enable)=0
virtual void SetLineWidth(float width)=0
virtual void ApplyBrush(vtkBrush *brush)
virtual void DrawPoly(float *points, int n, unsigned char *colors=0, int nc_comps=0)=0
virtual void PopMatrix()=0
virtual void SetTexture(vtkImageData *image, int properties)=0
virtual void DrawMathTextString(float *point, const vtkStdString &string)=0
virtual bool GetBufferIdMode() const
virtual void SetPointSize(float size)=0
virtual void DrawEllipticArc(float x, float y, float rX, float rY, float startAngle, float stopAngle)=0
virtual void MultiplyMatrix(vtkMatrix3x3 *m)=0
virtual void DrawString(float *point, const vtkStdString &string)=0
virtual void DrawEllipseWedge(float x, float y, float outRx, float outRy, float inRx, float inRy, float startAngle, float stopAngle)=0
virtual void GetMatrix(vtkMatrix3x3 *m)=0
virtual void PrintSelf(ostream &os, vtkIndent indent)
virtual void ComputeStringBounds(const vtkStdString &string, float bounds[4])=0
virtual void PushMatrix()=0
virtual void DrawImage(float p[2], float scale, vtkImageData *image)=0
virtual void ApplyPen(vtkPen *pen)
void DrawPolyData(float vtkNotUsed(p)[2], float vtkNotUsed(scale), vtkPolyData *vtkNotUsed(polyData), vtkUnsignedCharArray *vtkNotUsed(colors), int vtkNotUsed(scalarMode)) override
Draw the supplied PolyData at the given x, y (p[0], p[1]) (bottom corner), scaled by scale (1...
virtual void SetLineType(int type)=0
void operator=(const vtkObjectBase &)
virtual void DrawLines(float *f, int n, unsigned char *colors=0, int nc_comps=0)=0
virtual void DrawPointSprites(vtkImageData *sprite, float *points, int n, unsigned char *colors=0, int nc_comps=0)=0
virtual vtkBrush * GetBrush()