#include <pick.h>
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< ScalarType > | ComputeDCBox (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) |
typedef MESH_TYPE::CoordType vcg::GLPickTri< MESH_TYPE >::CoordType [private] |
typedef MESH_TYPE::FaceIterator vcg::GLPickTri< MESH_TYPE >::FaceIterator [private] |
typedef MESH_TYPE::FacePointer vcg::GLPickTri< MESH_TYPE >::FacePointer [private] |
typedef MESH_TYPE::ScalarType vcg::GLPickTri< MESH_TYPE >::ScalarType [private] |
typedef MESH_TYPE::VertexIterator vcg::GLPickTri< MESH_TYPE >::VertexIterator [private] |
typedef MESH_TYPE::VertexPointer vcg::GLPickTri< MESH_TYPE >::VertexPointer [private] |
typedef MESH_TYPE::VertexType vcg::GLPickTri< MESH_TYPE >::VertexType [private] |
static Box3<ScalarType> vcg::GLPickTri< MESH_TYPE >::ComputeDCBox | ( | int | x, |
int | y, | ||
int | width, | ||
int | height | ||
) | [inline, static, private] |
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] |
static void vcg::GLPickTri< MESH_TYPE >::glGetMatrixAndViewport | ( | Eigen::Matrix< ScalarType, 4, 4 > & | M, |
ScalarType * | viewportF | ||
) | [inline, static, private] |
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] |
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] |
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] |
static bool vcg::GLPickTri< MESH_TYPE >::PickClosestFace | ( | int | x, |
int | y, | ||
MESH_TYPE & | m, | ||
FacePointer & | fp, | ||
int | width = 4 , |
||
int | height = 4 |
||
) | [inline, static] |
static bool vcg::GLPickTri< MESH_TYPE >::PickClosestVert | ( | int | x, |
int | y, | ||
MESH_TYPE & | m, | ||
VertexPointer & | vp, | ||
int | width = 4 , |
||
int | height = 4 |
||
) | [inline, static] |
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] |
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] |
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] |
static CoordType vcg::GLPickTri< MESH_TYPE >::Proj | ( | const Eigen::Matrix< ScalarType, 4, 4 > & | M, |
const ScalarType * | viewport, | ||
const CoordType & | p | ||
) | [inline, static, private] |