Public Member Functions | Protected Attributes | List of all members
lvr2::EquirectangularProjection Class Reference

#include <Projection.hpp>

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

Public Member Functions

 EquirectangularProjection (int width, int height, int minH, int maxH, int minV, int maxV, bool optimize, ModelToImage::CoordinateSystem system=ModelToImage::NATIVE)
 
virtual void project (int &i, int &j, float &r, float x, float y, float z) override
 
- Public Member Functions inherited from lvr2::Projection
int h ()
 
 Projection (int width, int height, int minH, int maxH, int minV, int maxV, bool optimize, ModelToImage::CoordinateSystem system=ModelToImage::NATIVE)
 
int w ()
 

Protected Attributes

float m_lowShift
 
int m_maxHeight
 
int m_maxWidth
 
float m_xFactor
 
float m_yFactor
 
- Protected Attributes inherited from lvr2::Projection
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
 

Additional Inherited Members

- Protected Member Functions inherited from lvr2::Projection
void setImageRatio ()
 
void toPolar (const float point[], float polar[])
 
- Static Protected Attributes inherited from lvr2::Projection
static constexpr float m_ph = 1.570796327
 

Detailed Description

Definition at line 71 of file Projection.hpp.

Constructor & Destructor Documentation

◆ EquirectangularProjection()

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

Definition at line 99 of file Projection.cpp.

Member Function Documentation

◆ project()

void lvr2::EquirectangularProjection::project ( int &  i,
int &  j,
float &  r,
float  x,
float  y,
float  z 
)
overridevirtual

Implements lvr2::Projection.

Definition at line 119 of file Projection.cpp.

Member Data Documentation

◆ m_lowShift

float lvr2::EquirectangularProjection::m_lowShift
protected

Definition at line 86 of file Projection.hpp.

◆ m_maxHeight

int lvr2::EquirectangularProjection::m_maxHeight
protected

Definition at line 85 of file Projection.hpp.

◆ m_maxWidth

int lvr2::EquirectangularProjection::m_maxWidth
protected

Definition at line 84 of file Projection.hpp.

◆ m_xFactor

float lvr2::EquirectangularProjection::m_xFactor
protected

Definition at line 82 of file Projection.hpp.

◆ m_yFactor

float lvr2::EquirectangularProjection::m_yFactor
protected

Definition at line 83 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 Mon Feb 28 2022 22:46:11