Multimodal-Calib
Code for performing 3D-2D and 2D-2D multimodal calibration
 All Classes Functions Variables
Classes | Public Member Functions | Protected Attributes | List of all members
Tforms Class Reference

Holds the transform matrix and methods for applying it to the data. More...

#include <Tforms.h>

Inheritance diagram for Tforms:
AffineTforms CameraTforms

Classes

struct  tform
 structre holding infomation about each camera More...
 

Public Member Functions

void addTforms (thrust::device_vector< float > tformDIn, size_t tformSizeX, size_t tformSizeY)
 Adds new transformation matricies.
 
void addTforms (thrust::host_vector< float > tformDIn, size_t tformSizeX, size_t tformSizeY)
 Adds new transformation matricies.
 
void removeAllTforms (void)
 Clear all the transforms.
 
float * getTformP (size_t idx)
 Gets a pointer to the transformation matrices. More...
 
size_t getTformSize (size_t idx)
 Get size of transform. More...
 
virtual void transform (ScanList *scans, Cameras *cam, GenList *gen, size_t tformIdx, size_t camIdx, size_t scanIdx, size_t genIdx)
 Transforms the scans coordinates. More...
 

Protected Attributes

std::vector< tformtformD
 Vector storing transform matrices.
 

Detailed Description

Holds the transform matrix and methods for applying it to the data.

Member Function Documentation

float * Tforms::getTformP ( size_t  idx)

Gets a pointer to the transformation matrices.

/param index of matrix

size_t Tforms::getTformSize ( size_t  idx)

Get size of transform.

/param index of matrix

void Tforms::transform ( ScanList scans,
Cameras cam,
GenList gen,
size_t  tformIdx,
size_t  camIdx,
size_t  scanIdx,
size_t  genIdx 
)
virtual

Transforms the scans coordinates.

Parameters
scansthe original scans
camholds cameras needed for transform
genholds generated scan values
tformIdxindex of transform to use
camIdxindex of camera to use
scanIdxindex of scan to use
genIdxindex of generated scan to use

Reimplemented in AffineTforms, and CameraTforms.


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