#include <trimesh.h>
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 () |
typedef MeshType::VertexType::CoordType vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::CoordType |
typedef MeshType::EdgeIterator vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::EdgeIterator |
typedef MeshType::FaceIterator vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::FaceIterator |
typedef MeshType::FaceType vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::FaceType |
typedef MeshType::VertexType::ScalarType vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::ScalarType |
typedef MeshType::VertexIterator vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::VertexIterator |
typedef MeshType::VertexType vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::VertexType |
vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::GlTrimesh | ( | ) | [inline] |
vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::~GlTrimesh | ( | ) | [inline] |
double vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::CameraDistance | ( | ) | [inline] |
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::ClearHint | ( | Hint | hn | ) | [inline] |
static NormalMode vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::convertDrawModeToNormalMode | ( | DrawMode | dm | ) | [inline, static] |
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::Draw | ( | DrawMode | dm, |
ColorMode | cm, | ||
TextureMode | tm | ||
) | [inline] |
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::Draw | ( | ColorMode | cm, |
TextureMode | tm | ||
) | [inline] |
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::Draw | ( | TextureMode | tm | ) | [inline] |
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::Draw | ( | ) | [inline] |
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::DrawBBox | ( | ColorMode | cm | ) | [inline, private] |
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::DrawFill | ( | ) | [inline] |
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::DrawFlatWire | ( | ) | [inline] |
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::DrawHidden | ( | ) | [inline] |
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::DrawPoints | ( | ) | [inline] |
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::DrawPointsBase | ( | ) | [inline] |
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::DrawRadar | ( | ) | [inline] |
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::DrawWire | ( | ) | [inline, private] |
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::DrawWirePolygonal | ( | ) | [inline] |
float vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::GetHintParamf | ( | const HintParamf | hip | ) | const [inline] |
int vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::GetHintParami | ( | const HintParami | hip | ) | const [inline] |
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::SetHint | ( | Hint | hn | ) | [inline] |
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::SetHintParamf | ( | const HintParamf | hip, |
const float | value | ||
) | [inline] |
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::SetHintParami | ( | const HintParami | hip, |
const int | value | ||
) | [inline] |
void vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::Update | ( | ) | [inline] |
unsigned int vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::array_buffers[3] |
ColorMode vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::ccm |
DrawMode vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::cdm |
NormalMode vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::cnm |
int vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::curr_hints |
unsigned int vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::dl |
FACE_POINTER_CONTAINER vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::face_pointers |
float vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::HNParamf[8] |
int vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::HNParami[8] |
std::vector<unsigned int> vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::indices |
MeshType* vcg::GlTrimesh< MeshType, partial, FACE_POINTER_CONTAINER >::m |