Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkBoundingRectContextDevice2D Class Reference

#include <vtkBoundingRectContextDevice2D.h>

Inheritance diagram for vtkBoundingRectContextDevice2D:
Inheritance graph
[legend]
Collaboration diagram for vtkBoundingRectContextDevice2D:
Collaboration graph
[legend]

Public Types

typedef vtkContextDevice2D Superclass
 
- Public Types inherited from vtkContextDevice2D
enum  TextureProperty
 
typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
virtual void SetDelegateDevice (vtkContextDevice2D *)
 Set/get delegate device used to compute bounding boxes around strings. More...
 
virtual vtkContextDevice2DGetDelegateDevice ()
 
void Reset ()
 Reset the bounding box. More...
 
vtkRectf GetBoundingRect ()
 Get the bounding rect that contains all the primitives rendered by the device so far. More...
 
void DrawString (float *point, const vtkStdString &string) override
 Expand bounding box to contain the string's bounding box. More...
 
void DrawString (float *point, const vtkUnicodeString &string) override
 Expand bounding box to contain the string's bounding box. More...
 
void DrawMathTextString (float *point, const vtkStdString &string) override
 Expand bounding box to contain the string's bounding box. More...
 
void DrawImage (float p[2], float scale, vtkImageData *image) override
 Expand bounding box to contain the image's bounding box. More...
 
void DrawImage (const vtkRectf &pos, vtkImageData *image) override
 Expand bounding box to contain the image's bounding box. More...
 
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.0 would match the actual dataset). More...
 
void SetColor4 (unsigned char color[4]) override
 Implement pure virtual member function. More...
 
void SetTexture (vtkImageData *image, int properties) override
 Implement pure virtual member function. More...
 
void SetPointSize (float size) override
 Implement pure virtual member function. More...
 
void SetLineWidth (float width) override
 Implement pure virtual member function. More...
 
void SetLineType (int type) override
 Implement pure virtual member function. More...
 
void SetMatrix (vtkMatrix3x3 *m) override
 Forward current matrix to delegate device. More...
 
void GetMatrix (vtkMatrix3x3 *m) override
 Get current matrix from delegate device. More...
 
void MultiplyMatrix (vtkMatrix3x3 *m) override
 Multiply the current matrix in the delegate device by this one. More...
 
void PushMatrix () override
 Push matrix in the delegate device. More...
 
void PopMatrix () override
 Pope matrix from the delegate device. More...
 
void EnableClipping (bool enable) override
 Implement pure virtual member function. More...
 
void SetClipping (int *x) override
 Implement pure virtual member function. More...
 
void ApplyPen (vtkPen *pen) override
 Forward the pen to the delegate device. More...
 
vtkPenGetPen () override
 Get the pen from the delegate device. More...
 
void ApplyBrush (vtkBrush *brush) override
 Forward the brush to the delegate device. More...
 
vtkBrushGetBrush () override
 Get the brush from the delegate device. More...
 
void ApplyTextProp (vtkTextProperty *prop) override
 Forward the text property to the delegate device. More...
 
vtkTextPropertyGetTextProp () override
 Get the text property from the delegate device. More...
 
void DrawPoly (float *points, int n, unsigned char *colors=0, int nc_comps=0) override
 Expand bounding box to contain the given polygon. More...
 
void DrawLines (float *f, int n, unsigned char *colors=0, int nc_comps=0) override
 Expand bounding rect to contain the given lines. More...
 
void DrawPoints (float *points, int n, unsigned char *colors=0, int nc_comps=0) override
 Expand bounding rect to contain the given points. More...
 
void DrawPointSprites (vtkImageData *sprite, float *points, int n, unsigned char *colors=0, int nc_comps=0) override
 Expand bounding rect to contain the point sprites. More...
 
void DrawMarkers (int shape, bool highlight, float *points, int n, unsigned char *colors=0, int nc_comps=0) override
 Expand bounding rect to contain the markers. More...
 
void DrawEllipseWedge (float x, float y, float outRx, float outRy, float inRx, float inRy, float startAngle, float stopAngle) override
 Expand bounding rect to contain the ellipse. More...
 
void DrawEllipticArc (float x, float y, float rX, float rY, float startAngle, float stopAngle) override
 Expand bounding rect to contain the elliptic arc. More...
 
void ComputeStringBounds (const vtkStdString &string, float bounds[4]) override
 Forward string bounds calculation to the delegate device. More...
 
void ComputeStringBounds (const vtkUnicodeString &string, float bounds[4]) override
 Forward string bounds calculation to the delegate device. More...
 
void ComputeJustifiedStringBounds (const char *string, float bounds[4]) override
 Forward string bounds calculation to the delegate device. More...
 
void Begin (vtkViewport *) override
 Call before drawing to this device. More...
 
void End () override
 Call after drawing to this device. More...
 
bool GetBufferIdMode () const override
 Get value from delegate device. More...
 
void BufferIdModeBegin (vtkAbstractContextBufferId *bufferId) override
 Begin ID buffering mode. More...
 
void BufferIdModeEnd () override
 End ID buffering mode. More...
 
- Public Member Functions inherited from vtkContextDevice2D
vtkContextDevice2DNewInstance () const
 
virtual void DrawQuad (float *, int)
 
virtual void DrawQuadStrip (float *, int)
 
virtual void DrawPolygon (float *, int)
 
virtual bool MathTextIsSupported ()
 
virtual int GetWidth ()
 
virtual int GetHeight ()
 
virtual void DisableClipping ()
 
virtual void SetViewportSize (const vtkVector2i &size)
 
virtual vtkVector2i GetViewportSize ()
 
virtual void SetViewportRect (const vtkRecti &rect)
 
virtual vtkRecti GetViewportRect ()
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
virtual vtkMTimeType GetMTime ()
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
int HasObserver (unsigned long event)
 
int HasObserver (const char *event)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
virtual void Register (vtkObjectBase *o)
 
virtual void UnRegister (vtkObjectBase *o)
 
void SetReferenceCount (int)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkBoundingRectContextDevice2DSafeDownCast (vtkObject *o)
 
static vtkBoundingRectContextDevice2DNew ()
 
static vtkRectf GetBoundingRect (vtkAbstractContextItem *item, vtkViewport *viewport)
 Get the bounding rect that contains the given vtkAbstractContextItem. More...
 
- Static Public Member Functions inherited from vtkContextDevice2D
static int IsTypeOf (const char *type)
 
static vtkContextDevice2DSafeDownCast (vtkObjectBase *o)
 
static vtkContextDevice2DNew ()
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 
static vtkObjectBaseNew ()
 

Protected Member Functions

 vtkBoundingRectContextDevice2D ()
 
 ~vtkBoundingRectContextDevice2D () override
 
void AddPoint (float x, float y)
 Add a point to the cumulative bounding rect. More...
 
void AddPoint (float point[2])
 
void AddRect (const vtkRectf &rect)
 Add a rect to the cumulative bounding rect. More...
 
- Protected Member Functions inherited from vtkContextDevice2D
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkContextDevice2D ()
 
 ~vtkContextDevice2D ()
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
void RegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

bool Initialized
 Is the bounding rect initialized? More...
 
vtkRectf BoundingRect
 Cumulative rect holding the bounds of the primitives rendered by the device. More...
 
vtkContextDevice2DDelegateDevice
 Delegate ContextDevice2D to handle certain computations. More...
 
- Protected Attributes inherited from vtkContextDevice2D
int Geometry [2]
 
vtkVector2i ViewportSize
 
vtkRecti ViewportRect
 
vtkAbstractContextBufferIdBufferId
 
vtkPenPen
 
vtkBrushBrush
 
vtkTextPropertyTextProp
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Additional Inherited Members

- Public Attributes inherited from vtkContextDevice2D
 Nearest
 
 Linear
 
 Stretch
 
 Repeat
 

Detailed Description

Definition at line 57 of file vtkBoundingRectContextDevice2D.h.

Member Typedef Documentation

◆ Superclass

Definition at line 60 of file vtkBoundingRectContextDevice2D.h.

Constructor & Destructor Documentation

◆ vtkBoundingRectContextDevice2D()

vtkBoundingRectContextDevice2D::vtkBoundingRectContextDevice2D ( )
protected

◆ ~vtkBoundingRectContextDevice2D()

vtkBoundingRectContextDevice2D::~vtkBoundingRectContextDevice2D ( )
overrideprotected

Member Function Documentation

◆ GetClassName()

virtual const char* vtkBoundingRectContextDevice2D::GetClassName ( )
virtual

◆ IsTypeOf()

static int vtkBoundingRectContextDevice2D::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkBoundingRectContextDevice2D::IsA ( const char *  type)
virtual

Reimplemented from vtkContextDevice2D.

◆ SafeDownCast()

static vtkBoundingRectContextDevice2D* vtkBoundingRectContextDevice2D::SafeDownCast ( vtkObject o)
static

◆ PrintSelf()

void vtkBoundingRectContextDevice2D::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
overridevirtual

Reimplemented from vtkContextDevice2D.

◆ New()

static vtkBoundingRectContextDevice2D* vtkBoundingRectContextDevice2D::New ( )
static

◆ SetDelegateDevice()

virtual void vtkBoundingRectContextDevice2D::SetDelegateDevice ( vtkContextDevice2D )
virtual

Set/get delegate device used to compute bounding boxes around strings.

◆ GetDelegateDevice()

virtual vtkContextDevice2D* vtkBoundingRectContextDevice2D::GetDelegateDevice ( )
virtual

◆ Reset()

void vtkBoundingRectContextDevice2D::Reset ( )

Reset the bounding box.

◆ GetBoundingRect() [1/2]

static vtkRectf vtkBoundingRectContextDevice2D::GetBoundingRect ( vtkAbstractContextItem item,
vtkViewport viewport 
)
static

Get the bounding rect that contains the given vtkAbstractContextItem.

◆ GetBoundingRect() [2/2]

vtkRectf vtkBoundingRectContextDevice2D::GetBoundingRect ( )

Get the bounding rect that contains all the primitives rendered by the device so far.

◆ DrawString() [1/2]

void vtkBoundingRectContextDevice2D::DrawString ( float point,
const vtkStdString string 
)
overridevirtual

Expand bounding box to contain the string's bounding box.

Implements vtkContextDevice2D.

◆ DrawString() [2/2]

void vtkBoundingRectContextDevice2D::DrawString ( float point,
const vtkUnicodeString string 
)
overridevirtual

Expand bounding box to contain the string's bounding box.

Implements vtkContextDevice2D.

◆ DrawMathTextString()

void vtkBoundingRectContextDevice2D::DrawMathTextString ( float point,
const vtkStdString string 
)
overridevirtual

Expand bounding box to contain the string's bounding box.

Implements vtkContextDevice2D.

◆ DrawImage() [1/2]

void vtkBoundingRectContextDevice2D::DrawImage ( float  p[2],
float  scale,
vtkImageData image 
)
overridevirtual

Expand bounding box to contain the image's bounding box.

Implements vtkContextDevice2D.

◆ DrawImage() [2/2]

void vtkBoundingRectContextDevice2D::DrawImage ( const vtkRectf pos,
vtkImageData image 
)
overridevirtual

Expand bounding box to contain the image's bounding box.

Implements vtkContextDevice2D.

◆ DrawPolyData()

void vtkBoundingRectContextDevice2D::DrawPolyData ( float   vtkNotUsed(p)[2],
float   vtkNotUsedscale,
vtkPolyData vtkNotUsedpolyData,
vtkUnsignedCharArray vtkNotUsedcolors,
int   vtkNotUsedscalarMode 
)
inlineoverride

Draw the supplied PolyData at the given x, y (p[0], p[1]) (bottom corner), scaled by scale (1.0 would match the actual dataset).

Warning
Not currently implemented.

Definition at line 116 of file vtkBoundingRectContextDevice2D.h.

◆ SetColor4()

void vtkBoundingRectContextDevice2D::SetColor4 ( unsigned char  color[4])
overridevirtual

Implement pure virtual member function.

Does not affect bounding rect.

Implements vtkContextDevice2D.

◆ SetTexture()

void vtkBoundingRectContextDevice2D::SetTexture ( vtkImageData image,
int  properties 
)
overridevirtual

Implement pure virtual member function.

Does not affect bounding rect.

Implements vtkContextDevice2D.

◆ SetPointSize()

void vtkBoundingRectContextDevice2D::SetPointSize ( float  size)
overridevirtual

Implement pure virtual member function.

Does not affect bounding rect.

Implements vtkContextDevice2D.

◆ SetLineWidth()

void vtkBoundingRectContextDevice2D::SetLineWidth ( float  width)
overridevirtual

Implement pure virtual member function.

Forward line width to delegate device.

Implements vtkContextDevice2D.

◆ SetLineType()

void vtkBoundingRectContextDevice2D::SetLineType ( int  type)
overridevirtual

Implement pure virtual member function.

Forward line type to delegate device.

Implements vtkContextDevice2D.

◆ SetMatrix()

void vtkBoundingRectContextDevice2D::SetMatrix ( vtkMatrix3x3 m)
overridevirtual

Forward current matrix to delegate device.

Implements vtkContextDevice2D.

◆ GetMatrix()

void vtkBoundingRectContextDevice2D::GetMatrix ( vtkMatrix3x3 m)
overridevirtual

Get current matrix from delegate device.

Implements vtkContextDevice2D.

◆ MultiplyMatrix()

void vtkBoundingRectContextDevice2D::MultiplyMatrix ( vtkMatrix3x3 m)
overridevirtual

Multiply the current matrix in the delegate device by this one.

Implements vtkContextDevice2D.

◆ PushMatrix()

void vtkBoundingRectContextDevice2D::PushMatrix ( )
overridevirtual

Push matrix in the delegate device.

Implements vtkContextDevice2D.

◆ PopMatrix()

void vtkBoundingRectContextDevice2D::PopMatrix ( )
overridevirtual

Pope matrix from the delegate device.

Implements vtkContextDevice2D.

◆ EnableClipping()

void vtkBoundingRectContextDevice2D::EnableClipping ( bool  enable)
overridevirtual

Implement pure virtual member function.

Does nothing.

Implements vtkContextDevice2D.

◆ SetClipping()

void vtkBoundingRectContextDevice2D::SetClipping ( int x)
overridevirtual

Implement pure virtual member function.

Does nothing.

Implements vtkContextDevice2D.

◆ ApplyPen()

void vtkBoundingRectContextDevice2D::ApplyPen ( vtkPen pen)
overridevirtual

Forward the pen to the delegate device.

Reimplemented from vtkContextDevice2D.

◆ GetPen()

vtkPen* vtkBoundingRectContextDevice2D::GetPen ( )
overridevirtual

Get the pen from the delegate device.

Reimplemented from vtkContextDevice2D.

◆ ApplyBrush()

void vtkBoundingRectContextDevice2D::ApplyBrush ( vtkBrush brush)
overridevirtual

Forward the brush to the delegate device.

Reimplemented from vtkContextDevice2D.

◆ GetBrush()

vtkBrush* vtkBoundingRectContextDevice2D::GetBrush ( )
overridevirtual

Get the brush from the delegate device.

Reimplemented from vtkContextDevice2D.

◆ ApplyTextProp()

void vtkBoundingRectContextDevice2D::ApplyTextProp ( vtkTextProperty prop)
overridevirtual

Forward the text property to the delegate device.

Reimplemented from vtkContextDevice2D.

◆ GetTextProp()

vtkTextProperty* vtkBoundingRectContextDevice2D::GetTextProp ( )
overridevirtual

Get the text property from the delegate device.

Reimplemented from vtkContextDevice2D.

◆ DrawPoly()

void vtkBoundingRectContextDevice2D::DrawPoly ( float points,
int  n,
unsigned char *  colors = 0,
int  nc_comps = 0 
)
overridevirtual

Expand bounding box to contain the given polygon.

Implements vtkContextDevice2D.

◆ DrawLines()

void vtkBoundingRectContextDevice2D::DrawLines ( float f,
int  n,
unsigned char *  colors = 0,
int  nc_comps = 0 
)
overridevirtual

Expand bounding rect to contain the given lines.

Implements vtkContextDevice2D.

◆ DrawPoints()

void vtkBoundingRectContextDevice2D::DrawPoints ( float points,
int  n,
unsigned char *  colors = 0,
int  nc_comps = 0 
)
overridevirtual

Expand bounding rect to contain the given points.

Implements vtkContextDevice2D.

◆ DrawPointSprites()

void vtkBoundingRectContextDevice2D::DrawPointSprites ( vtkImageData sprite,
float points,
int  n,
unsigned char *  colors = 0,
int  nc_comps = 0 
)
overridevirtual

Expand bounding rect to contain the point sprites.

Implements vtkContextDevice2D.

◆ DrawMarkers()

void vtkBoundingRectContextDevice2D::DrawMarkers ( int  shape,
bool  highlight,
float points,
int  n,
unsigned char *  colors = 0,
int  nc_comps = 0 
)
overridevirtual

Expand bounding rect to contain the markers.

Reimplemented from vtkContextDevice2D.

◆ DrawEllipseWedge()

void vtkBoundingRectContextDevice2D::DrawEllipseWedge ( float  x,
float  y,
float  outRx,
float  outRy,
float  inRx,
float  inRy,
float  startAngle,
float  stopAngle 
)
overridevirtual

Expand bounding rect to contain the ellipse.

Implements vtkContextDevice2D.

◆ DrawEllipticArc()

void vtkBoundingRectContextDevice2D::DrawEllipticArc ( float  x,
float  y,
float  rX,
float  rY,
float  startAngle,
float  stopAngle 
)
overridevirtual

Expand bounding rect to contain the elliptic arc.

Implements vtkContextDevice2D.

◆ ComputeStringBounds() [1/2]

void vtkBoundingRectContextDevice2D::ComputeStringBounds ( const vtkStdString string,
float  bounds[4] 
)
overridevirtual

Forward string bounds calculation to the delegate device.

Implements vtkContextDevice2D.

◆ ComputeStringBounds() [2/2]

void vtkBoundingRectContextDevice2D::ComputeStringBounds ( const vtkUnicodeString string,
float  bounds[4] 
)
overridevirtual

Forward string bounds calculation to the delegate device.

Implements vtkContextDevice2D.

◆ ComputeJustifiedStringBounds()

void vtkBoundingRectContextDevice2D::ComputeJustifiedStringBounds ( const char *  string,
float  bounds[4] 
)
overridevirtual

Forward string bounds calculation to the delegate device.

Implements vtkContextDevice2D.

◆ Begin()

void vtkBoundingRectContextDevice2D::Begin ( vtkViewport )
overridevirtual

Call before drawing to this device.

Reimplemented from vtkContextDevice2D.

◆ End()

void vtkBoundingRectContextDevice2D::End ( )
overridevirtual

Call after drawing to this device.

Reimplemented from vtkContextDevice2D.

◆ GetBufferIdMode()

bool vtkBoundingRectContextDevice2D::GetBufferIdMode ( ) const
overridevirtual

Get value from delegate device.

Reimplemented from vtkContextDevice2D.

◆ BufferIdModeBegin()

void vtkBoundingRectContextDevice2D::BufferIdModeBegin ( vtkAbstractContextBufferId bufferId)
overridevirtual

Begin ID buffering mode.

Reimplemented from vtkContextDevice2D.

◆ BufferIdModeEnd()

void vtkBoundingRectContextDevice2D::BufferIdModeEnd ( )
overridevirtual

End ID buffering mode.

Reimplemented from vtkContextDevice2D.

◆ AddPoint() [1/2]

void vtkBoundingRectContextDevice2D::AddPoint ( float  x,
float  y 
)
protected

Add a point to the cumulative bounding rect.

◆ AddPoint() [2/2]

void vtkBoundingRectContextDevice2D::AddPoint ( float  point[2])
protected

◆ AddRect()

void vtkBoundingRectContextDevice2D::AddRect ( const vtkRectf rect)
protected

Add a rect to the cumulative bounding rect.

Member Data Documentation

◆ Initialized

bool vtkBoundingRectContextDevice2D::Initialized
protected

Is the bounding rect initialized?

Definition at line 300 of file vtkBoundingRectContextDevice2D.h.

◆ BoundingRect

vtkRectf vtkBoundingRectContextDevice2D::BoundingRect
protected

Cumulative rect holding the bounds of the primitives rendered by the device.

Definition at line 305 of file vtkBoundingRectContextDevice2D.h.

◆ DelegateDevice

vtkContextDevice2D* vtkBoundingRectContextDevice2D::DelegateDevice
protected

Delegate ContextDevice2D to handle certain computations.

Definition at line 310 of file vtkBoundingRectContextDevice2D.h.


The documentation for this class was generated from the following file: