Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions
vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER > Class Template Reference

#include <trimesh.h>

Inheritance diagram for vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef
MeshType::VertexType::CoordType 
CoordType
typedef MeshType::EdgeIterator EdgeIterator
typedef MeshType::FaceIterator FaceIterator
typedef MeshType::FaceType FaceType
typedef
MeshType::VertexType::ScalarType 
ScalarType
typedef MeshType::VertexIterator VertexIterator
typedef MeshType::VertexType VertexType

Public Member Functions

double CameraDistance ()
 Utility function that computes in eyespace the current distance between the camera and the center of the bbox of the mesh.
void ClearHint (Hint hn)
void Draw (DrawMode dm, ColorMode cm, TextureMode tm)
template<DrawMode dm>
void Draw (ColorMode cm, TextureMode tm)
template<DrawMode dm, ColorMode cm>
void Draw (TextureMode tm)
template<DrawMode dm, ColorMode cm, TextureMode tm>
void Draw ()
template<NormalMode nm, ColorMode cm, TextureMode tm>
void DrawFill ()
template<NormalMode nm, ColorMode cm, TextureMode tm>
void DrawFlatWire ()
void DrawHidden ()
template<NormalMode nm, ColorMode cm>
void DrawPoints ()
template<NormalMode nm, ColorMode cm>
void DrawPointsBase ()
 Basic Point drawing fucntion.
template<NormalMode nm, ColorMode cm>
void DrawRadar ()
template<NormalMode nm, ColorMode cm>
void DrawWirePolygonal ()
float GetHintParamf (const HintParamf hip) const
int GetHintParami (const HintParami hip) const
 GlTrimesh ()
void SetHint (Hint hn)
void SetHintParamf (const HintParamf hip, const float value)
void SetHintParami (const HintParami hip, const int value)
void Update ()
 ~GlTrimesh ()

Static Public Member Functions

static NormalMode convertDrawModeToNormalMode (DrawMode dm)

Public Attributes

unsigned int array_buffers [3]
ColorMode ccm
DrawMode cdm
NormalMode cnm
int curr_hints
unsigned int dl
FACE_POINTER_CONTAINER face_pointers
float HNParamf [8]
int HNParami [8]
std::vector< unsigned int > indices
MeshType * m

Private Member Functions

void DrawBBox (ColorMode cm)
template<NormalMode nm, ColorMode cm>
void DrawWire ()

Detailed Description

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
class vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >

Definition at line 130 of file trimesh.h.


Member Typedef Documentation

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
typedef MeshType::VertexType::CoordType vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::CoordType

Definition at line 136 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
typedef MeshType::EdgeIterator vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::EdgeIterator

Definition at line 139 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
typedef MeshType::FaceIterator vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::FaceIterator

Definition at line 140 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
typedef MeshType::FaceType vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::FaceType

Definition at line 135 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
typedef MeshType::VertexType::ScalarType vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::ScalarType

Definition at line 137 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
typedef MeshType::VertexIterator vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::VertexIterator

Definition at line 138 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
typedef MeshType::VertexType vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::VertexType

Definition at line 134 of file trimesh.h.


Constructor & Destructor Documentation

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::GlTrimesh ( ) [inline]

Definition at line 175 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::~GlTrimesh ( ) [inline]

Definition at line 191 of file trimesh.h.


Member Function Documentation

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
double vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::CameraDistance ( ) [inline]

Utility function that computes in eyespace the current distance between the camera and the center of the bbox of the mesh.

Definition at line 661 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::ClearHint ( Hint  hn) [inline]

Definition at line 225 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
static NormalMode vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::convertDrawModeToNormalMode ( DrawMode  dm) [inline, static]

Definition at line 157 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::Draw ( DrawMode  dm,
ColorMode  cm,
TextureMode  tm 
) [inline]

Definition at line 290 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
template<DrawMode dm>
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::Draw ( ColorMode  cm,
TextureMode  tm 
) [inline]

Definition at line 307 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
template<DrawMode dm, ColorMode cm>
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::Draw ( TextureMode  tm) [inline]

Definition at line 320 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
template<DrawMode dm, ColorMode cm, TextureMode tm>
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::Draw ( ) [inline]

Definition at line 333 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::DrawBBox ( ColorMode  cm) [inline, private]

Definition at line 895 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
template<NormalMode nm, ColorMode cm, TextureMode tm>
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::DrawFill ( ) [inline]

Definition at line 377 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
template<NormalMode nm, ColorMode cm, TextureMode tm>
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::DrawFlatWire ( ) [inline]

Definition at line 749 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::DrawHidden ( ) [inline]

Definition at line 729 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
template<NormalMode nm, ColorMode cm>
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::DrawPoints ( ) [inline]

Definition at line 671 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
template<NormalMode nm, ColorMode cm>
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::DrawPointsBase ( ) [inline]

Basic Point drawing fucntion.

Definition at line 646 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
template<NormalMode nm, ColorMode cm>
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::DrawRadar ( ) [inline]

Definition at line 769 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
template<NormalMode nm, ColorMode cm>
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::DrawWire ( ) [inline, private]

Definition at line 847 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
template<NormalMode nm, ColorMode cm>
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::DrawWirePolygonal ( ) [inline]

Definition at line 573 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
float vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::GetHintParamf ( const HintParamf  hip) const [inline]

Definition at line 217 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
int vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::GetHintParami ( const HintParami  hip) const [inline]

Definition at line 209 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::SetHint ( Hint  hn) [inline]

Definition at line 221 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::SetHintParamf ( const HintParamf  hip,
const float  value 
) [inline]

Definition at line 213 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::SetHintParami ( const HintParami  hip,
const int  value 
) [inline]

Definition at line 205 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::Update ( ) [inline]

Definition at line 230 of file trimesh.h.


Member Data Documentation

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
unsigned int vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::array_buffers[3]

Definition at line 145 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
ColorMode vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::ccm

Definition at line 155 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
DrawMode vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::cdm

Definition at line 153 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
NormalMode vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::cnm

Definition at line 154 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
int vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::curr_hints

Definition at line 147 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
unsigned int vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::dl

Definition at line 202 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
FACE_POINTER_CONTAINER vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::face_pointers

Definition at line 142 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
float vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::HNParamf[8]

Definition at line 151 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
int vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::HNParami[8]

Definition at line 150 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
std::vector<unsigned int> vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::indices

Definition at line 203 of file trimesh.h.

template<class MeshType, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MeshType::FacePointer>>
MeshType* vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::m

Definition at line 144 of file trimesh.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:14