licornea_tools
Public Member Functions | Public Attributes | List of all members
tlz::checkerboard Struct Reference

#include <checkerboard.h>

Public Member Functions

 checkerboard ()=default
 
 checkerboard (int cols_, int rows_, real square_width_, const std::vector< vec2 > &corners_)
 
vec2 corner (int col, int row) const
 
bool is_null () const
 
 operator bool () const
 
std::size_t corners_count () const
 
std::vector< cv::Point > outer_corners_i () const
 

Public Attributes

int cols = 0
 
int rows = 0
 
real square_width = 0.0
 
std::vector< vec2corners
 
std::vector< vec2outer_corners
 
cv::Rect bounding_rect
 

Detailed Description

Definition at line 11 of file checkerboard.h.

Constructor & Destructor Documentation

tlz::checkerboard::checkerboard ( )
default
tlz::checkerboard::checkerboard ( int  cols_,
int  rows_,
real  square_width_,
const std::vector< vec2 > &  corners_ 
)

Definition at line 15 of file checkerboard.cc.

Here is the call graph for this function:

Member Function Documentation

vec2 tlz::checkerboard::corner ( int  col,
int  row 
) const
inline

Definition at line 22 of file checkerboard.h.

std::size_t tlz::checkerboard::corners_count ( ) const
inline

Definition at line 27 of file checkerboard.h.

Here is the call graph for this function:

bool tlz::checkerboard::is_null ( ) const
inline

Definition at line 24 of file checkerboard.h.

tlz::checkerboard::operator bool ( ) const
inlineexplicit

Definition at line 25 of file checkerboard.h.

Here is the call graph for this function:

std::vector< cv::Point > tlz::checkerboard::outer_corners_i ( ) const

Definition at line 41 of file checkerboard.cc.

Member Data Documentation

cv::Rect tlz::checkerboard::bounding_rect

Definition at line 17 of file checkerboard.h.

int tlz::checkerboard::cols = 0

Definition at line 12 of file checkerboard.h.

std::vector<vec2> tlz::checkerboard::corners

Definition at line 15 of file checkerboard.h.

std::vector<vec2> tlz::checkerboard::outer_corners

Definition at line 16 of file checkerboard.h.

int tlz::checkerboard::rows = 0

Definition at line 13 of file checkerboard.h.

real tlz::checkerboard::square_width = 0.0

Definition at line 14 of file checkerboard.h.


The documentation for this struct was generated from the following files: