ThreeB 1.1
Public Member Functions
NullGraphics Class Reference

Graphics class which does absoloutely nothing. More...

Inheritance diagram for NullGraphics:
FitSpotsGraphics

List of all members.

Public Member Functions

virtual void init (CVD::ImageRef)
virtual void draw_krap (const std::vector< TooN::Vector< 4 > > &, const CVD::Image< CVD::byte > &, const BBox &, int, TooN::Vector< 4 >)
virtual void swap ()
virtual void draw_pixels (const std::vector< CVD::ImageRef > &, float, float, float, float)
virtual void draw_bbox (const BBox &)
virtual void glDrawCross (const TooN::Vector< 2 > &, int)
virtual ~NullGraphics ()

Detailed Description

Graphics class which does absoloutely nothing.

Definition at line 75 of file multispot5.cc.


Constructor & Destructor Documentation

virtual NullGraphics::~NullGraphics ( ) [inline, virtual]

Definition at line 84 of file multispot5.cc.

{}

Member Function Documentation

virtual void NullGraphics::init ( CVD::ImageRef  size) [inline, virtual]

Initialize graphics.

Parameters:
sizeSize of window for display

Implements FitSpotsGraphics.

Definition at line 78 of file multispot5.cc.

{}
virtual void NullGraphics::draw_krap ( const std::vector< TooN::Vector< 4 > > &  spots,
const CVD::Image< CVD::byte > &  im,
const BBox box,
int  N,
TooN::Vector< 4 >  s 
) [inline, virtual]

Draw a bunch of stuff.

Parameters:
spotsList of spots to draw
imBackground image
boxBounding box of region
NSpot to highlight
sExtra spot to draw as a cross

Implements FitSpotsGraphics.

Definition at line 79 of file multispot5.cc.

{}
virtual void NullGraphics::swap ( ) [inline, virtual]

Swap buffers if double buffered.

Implements FitSpotsGraphics.

Definition at line 80 of file multispot5.cc.

{}
virtual void NullGraphics::draw_pixels ( const std::vector< CVD::ImageRef > &  pix,
float  r,
float  g,
float  b,
float  a 
) [inline, virtual]

Draw the pixel mask in an (r,g,b,a) tuple colour.

Parameters:
pixmask
rred
ggreen
bblue
aalpha

Implements FitSpotsGraphics.

Definition at line 81 of file multispot5.cc.

{}
virtual void NullGraphics::draw_bbox ( const BBox bbox) [inline, virtual]

Draw a bounding box.

Parameters:
bboxBox corners

Implements FitSpotsGraphics.

Definition at line 82 of file multispot5.cc.

{}
virtual void NullGraphics::glDrawCross ( const TooN::Vector< 2 > &  p,
int  size 
) [inline, virtual]

Draw a cross.

Parameters:
pPosition of cross
sizeSize to draw cross

Implements FitSpotsGraphics.

Definition at line 83 of file multispot5.cc.

{}

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