$search
#include <trimesh.h>
Classes | |
struct | BBox |
struct | BSphere |
Public Types | |
typedef int * | adjacentfacelist |
typedef int * | adjacentfacelist |
typedef int * | facecenterlist |
typedef int * | facecenterlist |
typedef float * | facekappalist |
typedef float * | facekappalist |
typedef float * | neighboringedgelengthlist |
typedef float * | neighboringedgelengthlist |
typedef edge * | neighboringedgelist |
typedef edge * | neighboringedgelist |
typedef int * | neighboringfacelist |
typedef int * | neighboringfacelist |
typedef int * | neighborlist |
typedef int * | neighborlist |
Public Member Functions | |
void | FindAdjacentFaces () |
void | FindAdjacentFaces () |
void | FindAreas () |
void | FindAreas () |
void | FindNeighbors () |
void | FindNeighbors () |
void | FindNormals () |
void | FindNormals () |
void | free_adjacentfaces () |
void | free_adjacentfaces () |
void | free_bbox () |
void | free_bbox () |
void | free_bsphere () |
void | free_bsphere () |
void | free_colors () |
void | free_colors () |
void | free_confidences () |
void | free_confidences () |
void | free_faces () |
void | free_faces () |
void | free_neighbors () |
void | free_neighbors () |
void | free_normals () |
void | free_normals () |
void | free_tstrips () |
void | free_tstrips () |
void | free_vertices () |
void | free_vertices () |
float | maxedgelength () |
float | maxedgelength () |
float | meanedgelength (bool random_sample=true) |
float | meanedgelength (bool random_sample=true) |
float | medianedgelength (bool random_sample=true) |
float | medianedgelength (bool random_sample=true) |
float | minedgelength () |
float | minedgelength () |
void | need_adjacentfaces () |
void | need_adjacentfaces () |
void | need_bbox () |
void | need_bbox () |
void | need_bsphere () |
void | need_bsphere () |
void | need_colors () |
void | need_colors () |
void | need_confidences () |
void | need_confidences () |
void | need_faces () |
void | need_faces () |
void | need_neighbors () |
void | need_neighbors () |
void | need_normals () |
void | need_normals () |
void | need_tstrips () |
void | need_tstrips () |
float | percentileedgelength (float percentile=0.5, bool random_sample=true) |
float | percentileedgelength (float percentile=0.5, bool random_sample=true) |
void | RemoveFaces (const vector< bool > &toremove) |
void | RemoveFaces (const vector< bool > &toremove) |
void | RemoveUnusedVertices () |
void | RemoveUnusedVertices () |
void | RemoveVertices (const vector< bool > &toremove) |
void | RemoveVertices (const vector< bool > &toremove) |
float | rmsedgelength (bool random_sample=true) |
float | rmsedgelength (bool random_sample=true) |
void | scale (double sx, double sy, double sz) |
void | scale (double sx, double sy, double sz) |
void | SmoothNormals (float smooth) |
void | SmoothNormals (float smooth) |
void | transform (double M[4][4]) |
void | transform (double M[4][4]) |
TriMesh (int _numvertices=0, int _numfaces=0) | |
TriMesh (int _numvertices=0, int _numfaces=0) | |
void | WritePly (const char *plyfile) |
void | WritePly (const char *plyfile) |
~TriMesh () | |
~TriMesh () | |
Static Public Member Functions | |
static bool | IsPlyFile (const char *plyfile) |
static bool | IsPlyFile (const char *plyfile) |
static TriMesh * | ReadPly (const char *plyfile) |
static TriMesh * | ReadPly (const char *plyfile) |
Public Attributes | |
adjacentfacelist * | adjacentfaces |
float * | areas |
BBox * | bbox |
BSphere * | bsphere |
color * | colors |
conf * | confidences |
facecenterlist * | facecenters |
facekappalist * | facekappas |
vec * | facemeans |
vec * | facenormals |
vec * | facenormalsorig |
vec * | facenormalsref |
vec * | faceregionnormals |
int * | faceregionpopulations |
float * | faceregionprojdist |
int * | faceregionredirect |
int * | faceregions |
float * | faceregionsumdev2 |
face * | faces |
float * | localpotentials |
int | maxadjacentfaces |
float | maxarea |
int | maxneighbors |
float | meanarea |
int | minadjacentfaces |
float | minarea |
int | minneighbors |
neighboringedgelengthlist * | neighboringedgelengths |
neighboringedgelist * | neighboringedges |
neighboringfacelist * | neighboringfaces |
neighborlist * | neighbors |
vec * | normals |
int * | numadjacentfaces |
int | numfaceregions |
int | numfaces |
int * | numneighboringfaces |
int * | numneighbors |
int | numoutliers |
int | numvertices |
int * | onedge |
int * | outlier |
vec * | planeparams |
vec * | planeparamsorig |
int | tstripdatalen |
int * | tstrips |
point * | vertices |
point * | verticesorig |
point * | verticesref |
point | zero_point |
Private Member Functions | |
void | FindBBox () |
void | FindBBox () |
void | FindBSphere () |
void | FindBSphere () |
void | FindTStrips () |
void | FindTStrips () |
void | Tstrip_Bootstrap (int tri) |
void | Tstrip_Bootstrap (int tri) |
void | Tstrip_Crawl (int v1, int v2, int v3, int next) |
void | Tstrip_Crawl (int v1, int v2, int v3, int next) |
int | Tstrip_Next_Tri (int tri, int v1, int v2, bool flip) |
int | Tstrip_Next_Tri (int tri, int v1, int v2, bool flip) |
int | Tstrip_Next_Vert (int next, int vlast1, int vlast2) |
int | Tstrip_Next_Vert (int next, int vlast1, int vlast2) |
void | UnpackTStrips () |
void | UnpackTStrips () |
Definition at line 32 of file include/trimesh/trimesh.h.
typedef int* trimesh::TriMesh::adjacentfacelist |
Definition at line 94 of file src/trimesh.h.
typedef int* trimesh::TriMesh::adjacentfacelist |
Definition at line 94 of file include/trimesh/trimesh.h.
typedef int* trimesh::TriMesh::facecenterlist |
Definition at line 64 of file src/trimesh.h.
typedef int* trimesh::TriMesh::facecenterlist |
Definition at line 64 of file include/trimesh/trimesh.h.
typedef float* trimesh::TriMesh::facekappalist |
Definition at line 62 of file src/trimesh.h.
typedef float* trimesh::TriMesh::facekappalist |
Definition at line 62 of file include/trimesh/trimesh.h.
typedef float* trimesh::TriMesh::neighboringedgelengthlist |
Definition at line 100 of file src/trimesh.h.
typedef float* trimesh::TriMesh::neighboringedgelengthlist |
Definition at line 100 of file include/trimesh/trimesh.h.
Definition at line 98 of file src/trimesh.h.
Definition at line 98 of file include/trimesh/trimesh.h.
typedef int* trimesh::TriMesh::neighboringfacelist |
Definition at line 96 of file src/trimesh.h.
typedef int* trimesh::TriMesh::neighboringfacelist |
Definition at line 96 of file include/trimesh/trimesh.h.
typedef int* trimesh::TriMesh::neighborlist |
Definition at line 84 of file src/trimesh.h.
typedef int* trimesh::TriMesh::neighborlist |
Definition at line 84 of file include/trimesh/trimesh.h.
trimesh::TriMesh::TriMesh | ( | int | _numvertices = 0 , |
|
int | _numfaces = 0 | |||
) | [inline] |
Definition at line 258 of file include/trimesh/trimesh.h.
trimesh::TriMesh::~TriMesh | ( | ) | [inline] |
Definition at line 282 of file include/trimesh/trimesh.h.
trimesh::TriMesh::TriMesh | ( | int | _numvertices = 0 , |
|
int | _numfaces = 0 | |||
) | [inline] |
Definition at line 258 of file src/trimesh.h.
trimesh::TriMesh::~TriMesh | ( | ) | [inline] |
Definition at line 282 of file src/trimesh.h.
void trimesh::TriMesh::FindAdjacentFaces | ( | ) |
void trimesh::TriMesh::FindAdjacentFaces | ( | ) |
Definition at line 95 of file trimesh_connectivity.cc.
void trimesh::TriMesh::FindAreas | ( | ) |
void trimesh::TriMesh::FindAreas | ( | ) |
void trimesh::TriMesh::FindBBox | ( | ) | [private] |
void trimesh::TriMesh::FindBBox | ( | ) | [private] |
Definition at line 18 of file trimesh_bounding.cc.
void trimesh::TriMesh::FindBSphere | ( | ) | [private] |
void trimesh::TriMesh::FindBSphere | ( | ) | [private] |
Definition at line 46 of file trimesh_bounding.cc.
void trimesh::TriMesh::FindNeighbors | ( | ) |
void trimesh::TriMesh::FindNeighbors | ( | ) |
Definition at line 24 of file trimesh_connectivity.cc.
void trimesh::TriMesh::FindNormals | ( | ) |
void trimesh::TriMesh::FindNormals | ( | ) |
Definition at line 16 of file trimesh_normals.cc.
void trimesh::TriMesh::FindTStrips | ( | ) | [private] |
void trimesh::TriMesh::FindTStrips | ( | ) | [private] |
Definition at line 156 of file trimesh_tstrips.cc.
void trimesh::TriMesh::free_adjacentfaces | ( | ) | [inline] |
Definition at line 174 of file src/trimesh.h.
void trimesh::TriMesh::free_adjacentfaces | ( | ) | [inline] |
Definition at line 174 of file include/trimesh/trimesh.h.
void trimesh::TriMesh::free_bbox | ( | ) | [inline] |
Definition at line 173 of file src/trimesh.h.
void trimesh::TriMesh::free_bbox | ( | ) | [inline] |
Definition at line 173 of file include/trimesh/trimesh.h.
void trimesh::TriMesh::free_bsphere | ( | ) | [inline] |
Definition at line 172 of file src/trimesh.h.
void trimesh::TriMesh::free_bsphere | ( | ) | [inline] |
Definition at line 172 of file include/trimesh/trimesh.h.
void trimesh::TriMesh::free_colors | ( | ) | [inline] |
Definition at line 163 of file src/trimesh.h.
void trimesh::TriMesh::free_colors | ( | ) | [inline] |
Definition at line 163 of file include/trimesh/trimesh.h.
void trimesh::TriMesh::free_confidences | ( | ) | [inline] |
Definition at line 162 of file src/trimesh.h.
void trimesh::TriMesh::free_confidences | ( | ) | [inline] |
Definition at line 162 of file include/trimesh/trimesh.h.
void trimesh::TriMesh::free_faces | ( | ) | [inline] |
Definition at line 237 of file src/trimesh.h.
void trimesh::TriMesh::free_faces | ( | ) | [inline] |
Definition at line 237 of file include/trimesh/trimesh.h.
void trimesh::TriMesh::free_neighbors | ( | ) | [inline] |
Definition at line 199 of file src/trimesh.h.
void trimesh::TriMesh::free_neighbors | ( | ) | [inline] |
Definition at line 199 of file include/trimesh/trimesh.h.
void trimesh::TriMesh::free_normals | ( | ) | [inline] |
Definition at line 213 of file src/trimesh.h.
void trimesh::TriMesh::free_normals | ( | ) | [inline] |
Definition at line 213 of file include/trimesh/trimesh.h.
void trimesh::TriMesh::free_tstrips | ( | ) | [inline] |
Definition at line 164 of file src/trimesh.h.
void trimesh::TriMesh::free_tstrips | ( | ) | [inline] |
Definition at line 164 of file include/trimesh/trimesh.h.
void trimesh::TriMesh::free_vertices | ( | ) | [inline] |
Definition at line 245 of file src/trimesh.h.
void trimesh::TriMesh::free_vertices | ( | ) | [inline] |
Definition at line 245 of file include/trimesh/trimesh.h.
static bool trimesh::TriMesh::IsPlyFile | ( | const char * | plyfile | ) | [static] |
bool trimesh::TriMesh::IsPlyFile | ( | const char * | plyfile | ) | [static] |
Definition at line 22 of file trimesh_plyio.cc.
float trimesh::TriMesh::maxedgelength | ( | ) |
float trimesh::TriMesh::maxedgelength | ( | ) |
Definition at line 172 of file trimesh_connectivity.cc.
float trimesh::TriMesh::meanedgelength | ( | bool | random_sample = true |
) |
float trimesh::TriMesh::meanedgelength | ( | bool | random_sample = true |
) |
Definition at line 221 of file trimesh_connectivity.cc.
float trimesh::TriMesh::medianedgelength | ( | bool | random_sample = true |
) |
float trimesh::TriMesh::medianedgelength | ( | bool | random_sample = true |
) |
Definition at line 248 of file trimesh_connectivity.cc.
float trimesh::TriMesh::minedgelength | ( | ) |
float trimesh::TriMesh::minedgelength | ( | ) |
Definition at line 151 of file trimesh_connectivity.cc.
void trimesh::TriMesh::need_adjacentfaces | ( | ) | [inline] |
Definition at line 153 of file src/trimesh.h.
void trimesh::TriMesh::need_adjacentfaces | ( | ) | [inline] |
Definition at line 153 of file include/trimesh/trimesh.h.
void trimesh::TriMesh::need_bbox | ( | ) | [inline] |
Definition at line 154 of file src/trimesh.h.
void trimesh::TriMesh::need_bbox | ( | ) | [inline] |
Definition at line 154 of file include/trimesh/trimesh.h.
void trimesh::TriMesh::need_bsphere | ( | ) | [inline] |
Definition at line 155 of file src/trimesh.h.
void trimesh::TriMesh::need_bsphere | ( | ) | [inline] |
Definition at line 155 of file include/trimesh/trimesh.h.
void trimesh::TriMesh::need_colors | ( | ) | [inline] |
Definition at line 157 of file src/trimesh.h.
void trimesh::TriMesh::need_colors | ( | ) | [inline] |
Definition at line 157 of file include/trimesh/trimesh.h.
void trimesh::TriMesh::need_confidences | ( | ) | [inline] |
Definition at line 158 of file src/trimesh.h.
void trimesh::TriMesh::need_confidences | ( | ) | [inline] |
Definition at line 158 of file include/trimesh/trimesh.h.
void trimesh::TriMesh::need_faces | ( | ) | [inline] |
Definition at line 150 of file src/trimesh.h.
void trimesh::TriMesh::need_faces | ( | ) | [inline] |
Definition at line 150 of file include/trimesh/trimesh.h.
void trimesh::TriMesh::need_neighbors | ( | ) | [inline] |
Definition at line 152 of file src/trimesh.h.
void trimesh::TriMesh::need_neighbors | ( | ) | [inline] |
Definition at line 152 of file include/trimesh/trimesh.h.
void trimesh::TriMesh::need_normals | ( | ) | [inline] |
Definition at line 151 of file src/trimesh.h.
void trimesh::TriMesh::need_normals | ( | ) | [inline] |
Definition at line 151 of file include/trimesh/trimesh.h.
void trimesh::TriMesh::need_tstrips | ( | ) | [inline] |
Definition at line 156 of file src/trimesh.h.
void trimesh::TriMesh::need_tstrips | ( | ) | [inline] |
Definition at line 156 of file include/trimesh/trimesh.h.
float trimesh::TriMesh::percentileedgelength | ( | float | percentile = 0.5 , |
|
bool | random_sample = true | |||
) |
float trimesh::TriMesh::percentileedgelength | ( | float | percentile = 0.5 , |
|
bool | random_sample = true | |||
) |
static TriMesh* trimesh::TriMesh::ReadPly | ( | const char * | plyfile | ) | [static] |
TriMesh * trimesh::TriMesh::ReadPly | ( | const char * | plyfile | ) | [static] |
Definition at line 58 of file trimesh_plyio.cc.
void trimesh::TriMesh::RemoveFaces | ( | const vector< bool > & | toremove | ) |
void trimesh::TriMesh::RemoveFaces | ( | const vector< bool > & | toremove | ) |
Definition at line 103 of file trimesh_remove.cc.
void trimesh::TriMesh::RemoveUnusedVertices | ( | ) |
void trimesh::TriMesh::RemoveUnusedVertices | ( | ) |
Definition at line 88 of file trimesh_remove.cc.
void trimesh::TriMesh::RemoveVertices | ( | const vector< bool > & | toremove | ) |
void trimesh::TriMesh::RemoveVertices | ( | const vector< bool > & | toremove | ) |
Definition at line 25 of file trimesh_remove.cc.
float trimesh::TriMesh::rmsedgelength | ( | bool | random_sample = true |
) |
float trimesh::TriMesh::rmsedgelength | ( | bool | random_sample = true |
) |
Definition at line 194 of file trimesh_connectivity.cc.
void trimesh::TriMesh::scale | ( | double | sx, | |
double | sy, | |||
double | sz | |||
) |
void trimesh::TriMesh::scale | ( | double | sx, | |
double | sy, | |||
double | sz | |||
) |
void trimesh::TriMesh::SmoothNormals | ( | float | smooth | ) |
void trimesh::TriMesh::SmoothNormals | ( | float | smooth | ) |
Definition at line 71 of file trimesh_normals.cc.
void trimesh::TriMesh::transform | ( | double | M[4][4] | ) |
void trimesh::TriMesh::transform | ( | double | M[4][4] | ) |
void trimesh::TriMesh::Tstrip_Bootstrap | ( | int | tri | ) | [private] |
void trimesh::TriMesh::Tstrip_Bootstrap | ( | int | tri | ) | [private] |
Definition at line 83 of file trimesh_tstrips.cc.
void trimesh::TriMesh::Tstrip_Crawl | ( | int | v1, | |
int | v2, | |||
int | v3, | |||
int | next | |||
) | [private] |
void trimesh::TriMesh::Tstrip_Crawl | ( | int | v1, | |
int | v2, | |||
int | v3, | |||
int | next | |||
) | [private] |
Definition at line 53 of file trimesh_tstrips.cc.
int trimesh::TriMesh::Tstrip_Next_Tri | ( | int | tri, | |
int | v1, | |||
int | v2, | |||
bool | flip | |||
) | [private] |
int trimesh::TriMesh::Tstrip_Next_Tri | ( | int | tri, | |
int | v1, | |||
int | v2, | |||
bool | flip | |||
) | [inline, private] |
Definition at line 21 of file trimesh_tstrips.cc.
int trimesh::TriMesh::Tstrip_Next_Vert | ( | int | next, | |
int | vlast1, | |||
int | vlast2 | |||
) | [private] |
int trimesh::TriMesh::Tstrip_Next_Vert | ( | int | next, | |
int | vlast1, | |||
int | vlast2 | |||
) | [inline, private] |
Definition at line 38 of file trimesh_tstrips.cc.
void trimesh::TriMesh::UnpackTStrips | ( | ) | [private] |
void trimesh::TriMesh::UnpackTStrips | ( | ) | [private] |
Definition at line 190 of file trimesh_tstrips.cc.
void trimesh::TriMesh::WritePly | ( | const char * | plyfile | ) |
void trimesh::TriMesh::WritePly | ( | const char * | plyfile | ) |
Definition at line 281 of file trimesh_plyio.cc.
Definition at line 95 of file include/trimesh/trimesh.h.
float * trimesh::TriMesh::areas |
Definition at line 53 of file include/trimesh/trimesh.h.
Definition at line 75 of file include/trimesh/trimesh.h.
Definition at line 81 of file include/trimesh/trimesh.h.
Definition at line 39 of file include/trimesh/trimesh.h.
Definition at line 40 of file include/trimesh/trimesh.h.
Definition at line 65 of file include/trimesh/trimesh.h.
Definition at line 63 of file include/trimesh/trimesh.h.
Definition at line 44 of file include/trimesh/trimesh.h.
Definition at line 59 of file include/trimesh/trimesh.h.
Definition at line 60 of file include/trimesh/trimesh.h.
Definition at line 61 of file include/trimesh/trimesh.h.
Definition at line 50 of file include/trimesh/trimesh.h.
Definition at line 49 of file include/trimesh/trimesh.h.
Definition at line 51 of file include/trimesh/trimesh.h.
Definition at line 48 of file include/trimesh/trimesh.h.
Definition at line 46 of file include/trimesh/trimesh.h.
Definition at line 52 of file include/trimesh/trimesh.h.
Definition at line 58 of file include/trimesh/trimesh.h.
Definition at line 42 of file include/trimesh/trimesh.h.
Definition at line 106 of file include/trimesh/trimesh.h.
Definition at line 54 of file include/trimesh/trimesh.h.
Definition at line 92 of file include/trimesh/trimesh.h.
Definition at line 54 of file include/trimesh/trimesh.h.
Definition at line 105 of file include/trimesh/trimesh.h.
Definition at line 54 of file include/trimesh/trimesh.h.
Definition at line 91 of file include/trimesh/trimesh.h.
Definition at line 101 of file include/trimesh/trimesh.h.
Definition at line 99 of file include/trimesh/trimesh.h.
Definition at line 97 of file include/trimesh/trimesh.h.
Definition at line 85 of file include/trimesh/trimesh.h.
Definition at line 41 of file include/trimesh/trimesh.h.
Definition at line 104 of file include/trimesh/trimesh.h.
Definition at line 47 of file include/trimesh/trimesh.h.
Definition at line 57 of file include/trimesh/trimesh.h.
Definition at line 103 of file include/trimesh/trimesh.h.
Definition at line 86 of file include/trimesh/trimesh.h.
Definition at line 89 of file include/trimesh/trimesh.h.
Definition at line 35 of file include/trimesh/trimesh.h.
int * trimesh::TriMesh::onedge |
Definition at line 87 of file include/trimesh/trimesh.h.
Definition at line 88 of file include/trimesh/trimesh.h.
Definition at line 43 of file include/trimesh/trimesh.h.
Definition at line 45 of file include/trimesh/trimesh.h.
Definition at line 67 of file include/trimesh/trimesh.h.
Definition at line 68 of file include/trimesh/trimesh.h.
Definition at line 36 of file include/trimesh/trimesh.h.
Definition at line 37 of file include/trimesh/trimesh.h.
Definition at line 38 of file include/trimesh/trimesh.h.
Definition at line 90 of file include/trimesh/trimesh.h.