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

Performs a simple affine transform on 2D data. More...

#include <Tforms.h>

Inheritance diagram for AffineTforms:
Tforms

Public Member Functions

void addTforms (thrust::device_vector< float > tformDIn)
 
void addTforms (thrust::host_vector< float > tformDIn)
 
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...
 
- Public Member Functions inherited from Tforms
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...
 

Additional Inherited Members

- Protected Attributes inherited from Tforms
std::vector< tformtformD
 Vector storing transform matrices.
 

Detailed Description

Performs a simple affine transform on 2D data.

Member Function Documentation

void AffineTforms::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 from Tforms.


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