1 #ifndef SCENECHECKERBOARD_HH
2 #define SCENECHECKERBOARD_HH
4 #include <GLviewer/Scenes/SceneBase.hh>
26 std::vector< std::vector < Vector2< float > > >
corners_;
39 #endif // SCENECHECKERBOARD_HH
void SetCorners(std::vector< std::vector< BIAS::Vector2< float > > > &corners)
Set the checkerboard corners as 2D image coordinates.
void SetColorBlack(const Vector3< unsigned char > &col)
void SetColorWhite(const Vector3< unsigned char > &col)
Vector3< unsigned char > colorBlack_
virtual void Draw()
To do anything usefull, overload this method, assume context is ready and draw.
The SceneCheckerBoard class allows to draw a 3D checkerboard.
void SetImageSize(int sizeX, int sizeY)
Base class for all scenes.
Vector3< unsigned char > colorWhite_
std::vector< std::vector< Vector2< float > > > corners_