3D Model with special methods for tracking and texturing More...
#include <TrackerModel.h>
3D Model with special methods for tracking and texturing
Definition at line 24 of file TrackerModel.h.
| typedef std::vector<Pass*> Tracking::TrackerModel::PassList |
Definition at line 49 of file TrackerModel.h.
| Tracking::TrackerModel::TrackerModel | ( | const TrackerModel & | m | ) | [private] |
Definition at line 13 of file TrackerModel.cpp.
| TrackerModel::TrackerModel | ( | const TomGine::tgModel & | m | ) |
Definition at line 79 of file TrackerModel.cpp.
Definition at line 32 of file TrackerModel.cpp.
| void TrackerModel::computeBoundingSphere | ( | ) |
Definition at line 135 of file TrackerModel.cpp.
| void TrackerModel::computeEdges | ( | ) |
Definition at line 118 of file TrackerModel.cpp.
| void TrackerModel::drawCoordinates | ( | ) |
Definition at line 242 of file TrackerModel.cpp.
| void TrackerModel::drawEdges | ( | ) |
Definition at line 206 of file TrackerModel.cpp.
| void TrackerModel::drawFace | ( | int | i | ) |
Definition at line 211 of file TrackerModel.cpp.
| void TrackerModel::drawFaces | ( | bool | colorful = false | ) | [virtual] |
Definition at line 197 of file TrackerModel.cpp.
| void TrackerModel::drawNormals | ( | ) | [virtual] |
Definition at line 175 of file TrackerModel.cpp.
| void TrackerModel::drawPass | ( | bool | colorful = false | ) |
Definition at line 192 of file TrackerModel.cpp.
| void TrackerModel::drawTexturedFaces | ( | ) |
Definition at line 180 of file TrackerModel.cpp.
| void TrackerModel::drawUntexturedFaces | ( | ) |
Definition at line 187 of file TrackerModel.cpp.
| void TrackerModel::genListEdges | ( | ) |
Definition at line 876 of file TrackerModel.cpp.
| void TrackerModel::genListFaces | ( | bool | colorful = false | ) |
Definition at line 849 of file TrackerModel.cpp.
| void TrackerModel::genListNormals | ( | float | normal_length | ) |
Definition at line 916 of file TrackerModel.cpp.
| void TrackerModel::genListPass | ( | bool | colorful = false | ) |
Definition at line 756 of file TrackerModel.cpp.
| void TrackerModel::genListTexturedFaces | ( | ) |
Definition at line 696 of file TrackerModel.cpp.
| void TrackerModel::genListUntexturedFaces | ( | ) |
Definition at line 726 of file TrackerModel.cpp.
| void TrackerModel::getBoundingBox2D | ( | int | width, |
| int | height, | ||
| TomGine::tgPose & | p_max, | ||
| TomGine::tgCamera * | m_cam, | ||
| int & | minX, | ||
| int & | maxX, | ||
| int & | minY, | ||
| int & | maxY | ||
| ) |
Definition at line 351 of file TrackerModel.cpp.
| float Tracking::TrackerModel::getBoundingSphereRadius | ( | ) | [inline] |
Definition at line 98 of file TrackerModel.h.
| vector< unsigned > TrackerModel::getFaceUpdateList | ( | TomGine::tgPose & | p_max, |
| vec3 | view, | ||
| float | minTexGrabAngle = 3.0*PI/4.0, |
||
| bool | use_num_pixels = true |
||
| ) |
Definition at line 299 of file TrackerModel.cpp.
| Texture* Tracking::TrackerModel::getOriginalTexture | ( | ) | [inline] |
Definition at line 97 of file TrackerModel.h.
| Texture* Tracking::TrackerModel::getTexture | ( | ) | [inline] |
Definition at line 96 of file TrackerModel.h.
| bool Tracking::TrackerModel::getTextured | ( | ) | [inline] |
Definition at line 95 of file TrackerModel.h.
| bool TrackerModel::isRedundant | ( | TomGine::tgLine * | e1 | ) | [protected] |
Definition at line 606 of file TrackerModel.cpp.
| TrackerModel& Tracking::TrackerModel::operator= | ( | const TomGine::tgModel & | m | ) | [private] |
| TrackerModel & TrackerModel::operator= | ( | const TrackerModel & | m | ) |
Definition at line 48 of file TrackerModel.cpp.
| void TrackerModel::Print | ( | ) | const [virtual] |
Prints infos of model to console.
Reimplemented from TomGine::tgModel.
Definition at line 166 of file TrackerModel.cpp.
| void TrackerModel::releasePassList | ( | ) |
Definition at line 107 of file TrackerModel.cpp.
| void Tracking::TrackerModel::restoreTexture | ( | ) | [inline] |
Definition at line 104 of file TrackerModel.h.
| void Tracking::TrackerModel::setBFC | ( | bool | bfc | ) | [inline] |
Definition at line 101 of file TrackerModel.h.
| void Tracking::TrackerModel::setOriginalTexture | ( | Texture * | tex | ) | [inline] |
Definition at line 103 of file TrackerModel.h.
| void Tracking::TrackerModel::setTexture | ( | Texture * | tex | ) | [inline] |
Definition at line 102 of file TrackerModel.h.
| void TrackerModel::textureFromImage | ( | Texture * | image, |
| int | width, | ||
| int | height, | ||
| TomGine::tgPose & | p_max, | ||
| vec3 | view, | ||
| float | minTexGrabAngle, | ||
| std::vector< unsigned > | faceUpdateList, | ||
| std::vector< TomGine::tgVertex > & | vertices, | ||
| TomGine::tgCamera * | m_cam | ||
| ) |
capture texture from image
Definition at line 392 of file TrackerModel.cpp.
| void TrackerModel::unwarpTexturesBox_hacky | ( | const char * | name | ) |
Definition at line 533 of file TrackerModel.cpp.
| void TrackerModel::Update | ( | ) |
Definition at line 149 of file TrackerModel.cpp.
| void TrackerModel::UpdateDisplayLists | ( | ) | [protected] |
Definition at line 648 of file TrackerModel.cpp.
| void TrackerModel::useTexCoords | ( | bool | useTC | ) |
Definition at line 525 of file TrackerModel.cpp.
bool Tracking::TrackerModel::m_bfc [protected] |
Definition at line 124 of file TrackerModel.h.
float Tracking::TrackerModel::m_boundingSphereRadius [protected] |
Definition at line 125 of file TrackerModel.h.
GLint Tracking::TrackerModel::m_dlEdges [protected] |
Definition at line 119 of file TrackerModel.h.
GLint Tracking::TrackerModel::m_dlFaces [protected] |
Definition at line 118 of file TrackerModel.h.
GLint Tracking::TrackerModel::m_dlNormals [protected] |
Definition at line 120 of file TrackerModel.h.
GLint Tracking::TrackerModel::m_dlPass [protected] |
Definition at line 117 of file TrackerModel.h.
GLint Tracking::TrackerModel::m_dlTexturedFaces [protected] |
Definition at line 115 of file TrackerModel.h.
GLint Tracking::TrackerModel::m_dlUntexturedFaces [protected] |
Definition at line 116 of file TrackerModel.h.
Definition at line 53 of file TrackerModel.h.
Definition at line 52 of file TrackerModel.h.
Shader* Tracking::TrackerModel::m_shadeTexturing [protected] |
Definition at line 122 of file TrackerModel.h.
int Tracking::TrackerModel::m_shadeTexturingID [protected] |
Definition at line 123 of file TrackerModel.h.
Definition at line 55 of file TrackerModel.h.
Definition at line 56 of file TrackerModel.h.
Definition at line 57 of file TrackerModel.h.