vcg::GlTrimesh< MESH_TYPE, partial, FACE_POINTER_CONTAINER > Class Template Reference

#include <trimesh.h>

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

List of all members.

Public Types

typedef MESH_TYPE mesh_type

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)
template<DrawMode dm, ColorMode cm, TextureMode tm>
void Draw ()
template<DrawMode dm, ColorMode cm>
void Draw (TextureMode tm)
template<DrawMode dm>
void Draw (ColorMode cm, TextureMode tm)
void Draw (DrawMode dm, ColorMode cm, TextureMode tm)
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 ()

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
MESH_TYPE * m
std::vector< unsigned int > TMId

Private Member Functions

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

Detailed Description

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

Definition at line 195 of file trimesh.h.


Member Typedef Documentation

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

Definition at line 199 of file trimesh.h.


Constructor & Destructor Documentation

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

Definition at line 213 of file trimesh.h.

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

Definition at line 227 of file trimesh.h.


Member Function Documentation

template<class MESH_TYPE, bool partial = false, class FACE_POINTER_CONTAINER = std::vector<typename MESH_TYPE::FacePointer>>
double vcg::GlTrimesh< MESH_TYPE, 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 716 of file trimesh.h.

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

Definition at line 258 of file trimesh.h.

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

Definition at line 376 of file trimesh.h.

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

Definition at line 361 of file trimesh.h.

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

Definition at line 348 of file trimesh.h.

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

Definition at line 331 of file trimesh.h.

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

Definition at line 929 of file trimesh.h.

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

Definition at line 420 of file trimesh.h.

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

Definition at line 796 of file trimesh.h.

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

Definition at line 776 of file trimesh.h.

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

Definition at line 725 of file trimesh.h.

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

Basic Point drawing fucntion.

Definition at line 700 of file trimesh.h.

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

Definition at line 816 of file trimesh.h.

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

Definition at line 894 of file trimesh.h.

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

Definition at line 617 of file trimesh.h.

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

Definition at line 250 of file trimesh.h.

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

Definition at line 242 of file trimesh.h.

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

Definition at line 254 of file trimesh.h.

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

Definition at line 246 of file trimesh.h.

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

Definition at line 238 of file trimesh.h.

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

Definition at line 270 of file trimesh.h.


Member Data Documentation

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

Definition at line 204 of file trimesh.h.

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

Definition at line 268 of file trimesh.h.

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

Definition at line 266 of file trimesh.h.

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

Definition at line 267 of file trimesh.h.

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

Definition at line 206 of file trimesh.h.

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

Definition at line 263 of file trimesh.h.

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

Definition at line 200 of file trimesh.h.

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

Definition at line 210 of file trimesh.h.

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

Definition at line 209 of file trimesh.h.

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

Definition at line 264 of file trimesh.h.

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

Definition at line 212 of file trimesh.h.

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

Definition at line 203 of file trimesh.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:23:00 2013