Static Public Member Functions | Private Types | Static Private Member Functions
vcg::GLPickTri< MESH_TYPE > Class Template Reference

#include <pick.h>

List of all members.

Static Public Member Functions

static int OldPickFace (int x, int y, MESH_TYPE &m, std::vector< FacePointer > &result, int width=4, int height=4, bool sorted=true)
static int OldPickFaceVisible (int x, int y, MESH_TYPE &m, std::vector< FacePointer > &resultZ, int width=4, int height=4, bool sorted=true)
static int OldPickVert (int x, int y, MESH_TYPE &m, std::vector< VertexPointer > &result, int width=4, int height=4, bool sorted=true)
static bool PickClosestFace (int x, int y, MESH_TYPE &m, FacePointer &fp, int width=4, int height=4)
static bool PickClosestVert (int x, int y, MESH_TYPE &m, VertexPointer &vp, int width=4, int height=4)
static int PickFace (int x, int y, MESH_TYPE &m, std::vector< FacePointer > &result, int width=4, int height=4)
static int PickVert (int x, int y, MESH_TYPE &m, std::vector< VertexPointer > &result, int width=4, int height=4)
static int PickVisibleFace (int x, int y, MESH_TYPE &m, std::vector< FacePointer > &resultZ, int width=4, int height=4)

Private Types

typedef MESH_TYPE::CoordType CoordType
typedef MESH_TYPE::FaceIterator FaceIterator
typedef MESH_TYPE::FacePointer FacePointer
typedef MESH_TYPE::ScalarType ScalarType
typedef MESH_TYPE::VertexIterator VertexIterator
typedef MESH_TYPE::VertexPointer VertexPointer
typedef MESH_TYPE::VertexType VertexType

Static Private Member Functions

static Box3< ScalarTypeComputeDCBox (int x, int y, int width, int height)
static void FillProjectedVector (MESH_TYPE &m, std::vector< CoordType > &pVec, const Eigen::Matrix< ScalarType, 4, 4 > &M, const ScalarType *viewportF)
static void glGetMatrixAndViewport (Eigen::Matrix< ScalarType, 4, 4 > &M, ScalarType *viewportF)
static CoordType Proj (const Eigen::Matrix< ScalarType, 4, 4 > &M, const ScalarType *viewport, const CoordType &p)

Detailed Description

template<class MESH_TYPE>
class vcg::GLPickTri< MESH_TYPE >

Definition at line 32 of file pick.h.


Member Typedef Documentation

template<class MESH_TYPE >
typedef MESH_TYPE::CoordType vcg::GLPickTri< MESH_TYPE >::CoordType [private]

Definition at line 35 of file pick.h.

template<class MESH_TYPE >
typedef MESH_TYPE::FaceIterator vcg::GLPickTri< MESH_TYPE >::FaceIterator [private]

Definition at line 36 of file pick.h.

template<class MESH_TYPE >
typedef MESH_TYPE::FacePointer vcg::GLPickTri< MESH_TYPE >::FacePointer [private]

Definition at line 38 of file pick.h.

template<class MESH_TYPE >
typedef MESH_TYPE::ScalarType vcg::GLPickTri< MESH_TYPE >::ScalarType [private]

Definition at line 34 of file pick.h.

template<class MESH_TYPE >
typedef MESH_TYPE::VertexIterator vcg::GLPickTri< MESH_TYPE >::VertexIterator [private]

Definition at line 37 of file pick.h.

template<class MESH_TYPE >
typedef MESH_TYPE::VertexPointer vcg::GLPickTri< MESH_TYPE >::VertexPointer [private]

Definition at line 39 of file pick.h.

template<class MESH_TYPE >
typedef MESH_TYPE::VertexType vcg::GLPickTri< MESH_TYPE >::VertexType [private]

Definition at line 40 of file pick.h.


Member Function Documentation

template<class MESH_TYPE >
static Box3<ScalarType> vcg::GLPickTri< MESH_TYPE >::ComputeDCBox ( int  x,
int  y,
int  width,
int  height 
) [inline, static, private]

Definition at line 87 of file pick.h.

template<class MESH_TYPE >
static void vcg::GLPickTri< MESH_TYPE >::FillProjectedVector ( MESH_TYPE &  m,
std::vector< CoordType > &  pVec,
const Eigen::Matrix< ScalarType, 4, 4 > &  M,
const ScalarType viewportF 
) [inline, static, private]

Definition at line 63 of file pick.h.

template<class MESH_TYPE >
static void vcg::GLPickTri< MESH_TYPE >::glGetMatrixAndViewport ( Eigen::Matrix< ScalarType, 4, 4 > &  M,
ScalarType viewportF 
) [inline, static, private]

Definition at line 72 of file pick.h.

template<class MESH_TYPE >
static int vcg::GLPickTri< MESH_TYPE >::OldPickFace ( int  x,
int  y,
MESH_TYPE &  m,
std::vector< FacePointer > &  result,
int  width = 4,
int  height = 4,
bool  sorted = true 
) [inline, static]

Definition at line 286 of file pick.h.

template<class MESH_TYPE >
static int vcg::GLPickTri< MESH_TYPE >::OldPickFaceVisible ( int  x,
int  y,
MESH_TYPE &  m,
std::vector< FacePointer > &  resultZ,
int  width = 4,
int  height = 4,
bool  sorted = true 
) [inline, static]

Definition at line 243 of file pick.h.

template<class MESH_TYPE >
static int vcg::GLPickTri< MESH_TYPE >::OldPickVert ( int  x,
int  y,
MESH_TYPE &  m,
std::vector< VertexPointer > &  result,
int  width = 4,
int  height = 4,
bool  sorted = true 
) [inline, static]

Definition at line 356 of file pick.h.

template<class MESH_TYPE >
static bool vcg::GLPickTri< MESH_TYPE >::PickClosestFace ( int  x,
int  y,
MESH_TYPE &  m,
FacePointer fp,
int  width = 4,
int  height = 4 
) [inline, static]

Definition at line 98 of file pick.h.

template<class MESH_TYPE >
static bool vcg::GLPickTri< MESH_TYPE >::PickClosestVert ( int  x,
int  y,
MESH_TYPE &  m,
VertexPointer vp,
int  width = 4,
int  height = 4 
) [inline, static]

Definition at line 121 of file pick.h.

template<class MESH_TYPE >
static int vcg::GLPickTri< MESH_TYPE >::PickFace ( int  x,
int  y,
MESH_TYPE &  m,
std::vector< FacePointer > &  result,
int  width = 4,
int  height = 4 
) [inline, static]

Definition at line 171 of file pick.h.

template<class MESH_TYPE >
static int vcg::GLPickTri< MESH_TYPE >::PickVert ( int  x,
int  y,
MESH_TYPE &  m,
std::vector< VertexPointer > &  result,
int  width = 4,
int  height = 4 
) [inline, static]

Definition at line 143 of file pick.h.

template<class MESH_TYPE >
static int vcg::GLPickTri< MESH_TYPE >::PickVisibleFace ( int  x,
int  y,
MESH_TYPE &  m,
std::vector< FacePointer > &  resultZ,
int  width = 4,
int  height = 4 
) [inline, static]

Definition at line 205 of file pick.h.

template<class MESH_TYPE >
static CoordType vcg::GLPickTri< MESH_TYPE >::Proj ( const Eigen::Matrix< ScalarType, 4, 4 > &  M,
const ScalarType viewport,
const CoordType p 
) [inline, static, private]

Definition at line 44 of file pick.h.


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


shape_reconstruction
Author(s): Roberto Martín-Martín
autogenerated on Sat Jun 8 2019 18:41:12