Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
lvr2::Projection Class Referenceabstract

#include <Projection.hpp>

Inheritance diagram for lvr2::Projection:
Inheritance graph
[legend]

Public Member Functions

int h ()
 
virtual void project (int &i, int &j, float &r, float x, float y, float z)=0
 
 Projection (int width, int height, int minH, int maxH, int minV, int maxV, bool optimize, ModelToImage::CoordinateSystem system=ModelToImage::NATIVE)
 
int w ()
 

Protected Member Functions

void setImageRatio ()
 
void toPolar (const float point[], float polar[])
 

Protected Attributes

int m_height
 
float m_maxH
 
float m_maxV
 
float m_minH
 
float m_minV
 
bool m_optimize
 
ModelToImage::CoordinateSystem m_system
 
int m_width
 
float m_xFactor
 
float m_xSize
 
float m_yFactor
 
float m_ySize
 

Static Protected Attributes

static constexpr float m_ph = 1.570796327
 

Detailed Description

Definition at line 37 of file Projection.hpp.

Constructor & Destructor Documentation

◆ Projection()

lvr2::Projection::Projection ( int  width,
int  height,
int  minH,
int  maxH,
int  minV,
int  maxV,
bool  optimize,
ModelToImage::CoordinateSystem  system = ModelToImage::NATIVE 
)

Definition at line 37 of file Projection.cpp.

Member Function Documentation

◆ h()

int lvr2::Projection::h ( )
inline

Definition at line 46 of file Projection.hpp.

◆ project()

virtual void lvr2::Projection::project ( int &  i,
int &  j,
float &  r,
float  x,
float  y,
float  z 
)
pure virtual

◆ setImageRatio()

void lvr2::Projection::setImageRatio ( )
protected

Definition at line 49 of file Projection.cpp.

◆ toPolar()

void lvr2::Projection::toPolar ( const float  point[],
float  polar[] 
)
inlineprotected

Definition at line 420 of file Projection.cpp.

◆ w()

int lvr2::Projection::w ( )
inline

Definition at line 45 of file Projection.hpp.

Member Data Documentation

◆ m_height

int lvr2::Projection::m_height
protected

Definition at line 57 of file Projection.hpp.

◆ m_maxH

float lvr2::Projection::m_maxH
protected

Definition at line 59 of file Projection.hpp.

◆ m_maxV

float lvr2::Projection::m_maxV
protected

Definition at line 61 of file Projection.hpp.

◆ m_minH

float lvr2::Projection::m_minH
protected

Definition at line 58 of file Projection.hpp.

◆ m_minV

float lvr2::Projection::m_minV
protected

Definition at line 60 of file Projection.hpp.

◆ m_optimize

bool lvr2::Projection::m_optimize
protected

Definition at line 63 of file Projection.hpp.

◆ m_ph

constexpr float lvr2::Projection::m_ph = 1.570796327
staticconstexprprotected

Definition at line 68 of file Projection.hpp.

◆ m_system

ModelToImage::CoordinateSystem lvr2::Projection::m_system
protected

Definition at line 64 of file Projection.hpp.

◆ m_width

int lvr2::Projection::m_width
protected

Definition at line 56 of file Projection.hpp.

◆ m_xFactor

float lvr2::Projection::m_xFactor
protected

Definition at line 54 of file Projection.hpp.

◆ m_xSize

float lvr2::Projection::m_xSize
protected

Definition at line 52 of file Projection.hpp.

◆ m_yFactor

float lvr2::Projection::m_yFactor
protected

Definition at line 55 of file Projection.hpp.

◆ m_ySize

float lvr2::Projection::m_ySize
protected

Definition at line 53 of file Projection.hpp.


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


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:27