Face Class Reference
#include <Face.h>
List of all members.
|
Public Member Functions |
| | Face () |
| | ~Face () |
| void | calcNormal (Vector &norm_out) |
| void | calcFaceNormal () |
| void | flip () |
| float | planeDistanceTo (XYZ &v_test) |
| bool | triangleDistanceTest (XYZ &v_test, float dist_test) |
| bool | segmentIntersects (XYZ &returned_intersect_point, XYZ &segment_start, XYZ &segment_end, float tolerance=FLOAT_TOLERANCE) |
| bool | intersects (Face &test_face) |
| bool | onTriangle (XYZ &p_test, float tolerance=FLOAT_TOLERANCE) |
| void | copyUV (Face &dst, unsigned int dstPointNum, unsigned int srcPointNum) |
| void | setUV (unsigned int facePoint, UV pointUV, unsigned int uvLayer=0) |
| void | setUV (unsigned int facePoint, vector< UV > pointUVs) |
| void | setColor (unsigned int facePoint, RGB &clr) |
| void | setSegment (unsigned int segment) |
| unsigned int | getSegment () |
Public Attributes |
| std::vector< XYZ * > | points |
| std::vector< cvrIndex > | pointref |
| std::vector< std::vector< UV > > | uv |
| std::vector< Vector > | point_normals |
| std::vector< RGB > | point_colors |
| cvrIndex | mat_ref |
| Vector | face_normal |
| unsigned int | segment_id |
Constructor & Destructor Documentation
Member Function Documentation
| void Face::calcNormal |
( |
Vector & |
norm_out |
) |
|
| void Face::calcFaceNormal |
( |
|
) |
|
| float Face::planeDistanceTo |
( |
XYZ & |
v_test |
) |
|
| bool Face::triangleDistanceTest |
( |
XYZ & |
v_test, |
|
|
float |
dist_test | |
|
) |
| | |
| bool Face::segmentIntersects |
( |
XYZ & |
returned_intersect_point, |
|
|
XYZ & |
segment_start, |
|
|
XYZ & |
segment_end, |
|
|
float |
tolerance = FLOAT_TOLERANCE | |
|
) |
| | |
| bool Face::intersects |
( |
Face & |
test_face |
) |
|
| bool Face::onTriangle |
( |
XYZ & |
p_test, |
|
|
float |
tolerance = FLOAT_TOLERANCE | |
|
) |
| | |
| void Face::copyUV |
( |
Face & |
dst, |
|
|
unsigned int |
dstPointNum, |
|
|
unsigned int |
srcPointNum | |
|
) |
| | |
| void Face::setUV |
( |
unsigned int |
facePoint, |
|
|
UV |
pointUV, |
|
|
unsigned int |
uvLayer = 0 | |
|
) |
| | |
| void Face::setUV |
( |
unsigned int |
facePoint, |
|
|
vector< UV > |
pointUVs | |
|
) |
| | |
| void Face::setColor |
( |
unsigned int |
facePoint, |
|
|
RGB & |
clr | |
|
) |
| | |
| void Face::setSegment |
( |
unsigned int |
segment |
) |
|
| unsigned int Face::getSegment |
( |
|
) |
|
Member Data Documentation
The documentation for this class was generated from the following files:
- /Users/ccliffe/Dev/cubicvr/cubicvr/include/CubicVR/Face.h
- /Users/ccliffe/Dev/cubicvr/cubicvr/src/Face.cpp