ThreeB 1.1
|
Graphics class which does absoloutely nothing. More...
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 () |
Graphics class which does absoloutely nothing.
Definition at line 75 of file multispot5.cc.
virtual NullGraphics::~NullGraphics | ( | ) | [inline, virtual] |
Definition at line 84 of file multispot5.cc.
{}
virtual void NullGraphics::init | ( | CVD::ImageRef | size | ) | [inline, virtual] |
Initialize graphics.
size | Size 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.
spots | List of spots to draw |
im | Background image |
box | Bounding box of region |
N | Spot to highlight |
s | Extra 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.
pix | mask |
r | red |
g | green |
b | blue |
a | alpha |
Implements FitSpotsGraphics.
Definition at line 81 of file multispot5.cc.
{}
virtual void NullGraphics::draw_bbox | ( | const BBox & | bbox | ) | [inline, virtual] |
Draw a bounding box.
bbox | Box 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.
p | Position of cross |
size | Size to draw cross |
Implements FitSpotsGraphics.
Definition at line 83 of file multispot5.cc.
{}