MVE - Multi-View Environment mve-devel
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
mvs::SingleView Class Reference

#include <single_view.h>

Collaboration diagram for mvs::SingleView:
Collaboration graph
[legend]

Public Types

typedef std::shared_ptr< SingleView const > ConstPtr
 
typedef std::shared_ptr< SingleViewPtr
 

Public Member Functions

 ~SingleView ()
 
void addFeature (std::size_t idx)
 
int clampLevel (int level) const
 
std::string createFileName (float scale) const
 
float footPrint (math::Vec3f const &point)
 
float footPrintScaled (math::Vec3f const &point)
 
std::vector< std::size_t > const & getFeatureIndices () const
 
mve::View::Ptr getMVEView () const
 
mve::ByteImage::ConstPtr const & getPyramidImg (int level) const
 
mve::ByteImage::ConstPtr const & getScaledImg () const
 
std::size_t getViewID () const
 
void loadColorImage (int minLevel)
 
bool pointInFrustum (math::Vec3f const &wp) const
 
void prepareMasterView (int scale)
 
void saveReconAsPly (std::string const &path, float scale) const
 
bool seesFeature (std::size_t idx) const
 
math::Vec3f viewRay (float x, float y, int level) const
 
math::Vec3f viewRay (int x, int y, int level) const
 
math::Vec3f viewRayScaled (int x, int y) const
 
math::Vec2f worldToScreen (math::Vec3f const &point, int level)
 
math::Vec2f worldToScreenScaled (math::Vec3f const &point)
 

Static Public Member Functions

static Ptr create (mve::Scene::Ptr scene, mve::View::Ptr view, std::string const &embedding)
 

Public Attributes

math::Vec3f camPos
 
mve::FloatImage::Ptr confImg
 
mve::FloatImage::Ptr depthImg
 
mve::FloatImage::Ptr dzImg
 
mve::FloatImage::Ptr normalImg
 

Detailed Description

Definition at line 28 of file single_view.h.

Member Typedef Documentation

◆ ConstPtr

typedef std::shared_ptr<SingleView const> mvs::SingleView::ConstPtr

Definition at line 32 of file single_view.h.

◆ Ptr

typedef std::shared_ptr<SingleView> mvs::SingleView::Ptr

Definition at line 31 of file single_view.h.

Constructor & Destructor Documentation

◆ ~SingleView()

mvs::SingleView::~SingleView ( )

Definition at line 52 of file single_view.cc.

Member Function Documentation

◆ addFeature()

void mvs::SingleView::addFeature ( std::size_t  idx)
inline

Definition at line 101 of file single_view.h.

◆ clampLevel()

int mvs::SingleView::clampLevel ( int  level) const
inline

Definition at line 113 of file single_view.h.

◆ create()

SingleView::Ptr mvs::SingleView::create ( mve::Scene::Ptr  scene,
mve::View::Ptr  view,
std::string const &  embedding 
)
inlinestatic

Definition at line 94 of file single_view.h.

◆ createFileName()

std::string mvs::SingleView::createFileName ( float  scale) const
inline

Definition at line 144 of file single_view.h.

◆ footPrint()

float mvs::SingleView::footPrint ( math::Vec3f const &  point)
inline

Definition at line 154 of file single_view.h.

◆ footPrintScaled()

float mvs::SingleView::footPrintScaled ( math::Vec3f const &  point)
inline

Definition at line 160 of file single_view.h.

◆ getFeatureIndices()

std::vector< std::size_t > const & mvs::SingleView::getFeatureIndices ( ) const
inline

Definition at line 107 of file single_view.h.

◆ getMVEView()

mve::View::Ptr mvs::SingleView::getMVEView ( ) const
inline

Definition at line 126 of file single_view.h.

◆ getPyramidImg()

mve::ByteImage::ConstPtr const & mvs::SingleView::getPyramidImg ( int  level) const
inline

Definition at line 132 of file single_view.h.

◆ getScaledImg()

mve::ByteImage::ConstPtr const & mvs::SingleView::getScaledImg ( ) const
inline

Definition at line 138 of file single_view.h.

◆ getViewID()

std::size_t mvs::SingleView::getViewID ( ) const
inline

Definition at line 198 of file single_view.h.

◆ loadColorImage()

void mvs::SingleView::loadColorImage ( int  minLevel)

Definition at line 61 of file single_view.cc.

◆ pointInFrustum()

bool mvs::SingleView::pointInFrustum ( math::Vec3f const &  wp) const

Definition at line 109 of file single_view.cc.

◆ prepareMasterView()

void mvs::SingleView::prepareMasterView ( int  scale)

Definition at line 68 of file single_view.cc.

◆ saveReconAsPly()

void mvs::SingleView::saveReconAsPly ( std::string const &  path,
float  scale 
) const

Definition at line 123 of file single_view.cc.

◆ seesFeature()

bool mvs::SingleView::seesFeature ( std::size_t  idx) const
inline

Definition at line 167 of file single_view.h.

◆ viewRay() [1/2]

math::Vec3f mvs::SingleView::viewRay ( float  x,
float  y,
int  level 
) const

Definition at line 91 of file single_view.cc.

◆ viewRay() [2/2]

math::Vec3f mvs::SingleView::viewRay ( int  x,
int  y,
int  level 
) const

Definition at line 85 of file single_view.cc.

◆ viewRayScaled()

math::Vec3f mvs::SingleView::viewRayScaled ( int  x,
int  y 
) const

Definition at line 99 of file single_view.cc.

◆ worldToScreen()

math::Vec2f mvs::SingleView::worldToScreen ( math::Vec3f const &  point,
int  level 
)
inline

Definition at line 188 of file single_view.h.

◆ worldToScreenScaled()

math::Vec2f mvs::SingleView::worldToScreenScaled ( math::Vec3f const &  point)
inline

Definition at line 176 of file single_view.h.

Member Data Documentation

◆ camPos

math::Vec3f mvs::SingleView::camPos

Definition at line 62 of file single_view.h.

◆ confImg

mve::FloatImage::Ptr mvs::SingleView::confImg

Definition at line 66 of file single_view.h.

◆ depthImg

mve::FloatImage::Ptr mvs::SingleView::depthImg

Definition at line 63 of file single_view.h.

◆ dzImg

mve::FloatImage::Ptr mvs::SingleView::dzImg

Definition at line 65 of file single_view.h.

◆ normalImg

mve::FloatImage::Ptr mvs::SingleView::normalImg

Definition at line 64 of file single_view.h.


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