mod_fem_viewer/FemViewer/inc/elem_tables.h File Reference
#include "MathHelper.h"
#include "CutPlane.h"
#include "GraphicElem.hpp"
Go to the source code of this file.
Classes |
struct | comp |
Typedefs |
typedef FemViewer::fvmath::CVec3d | myVec3d |
| * Square Edge Flags Table*/
|
typedef FemViewer::Node_t | myVertex |
typedef FemViewer::Vertex | Vertex |
typedef FemViewer::CutPlane | myPlane |
Functions |
int | IsPrismSelected (const double coords[6 *4], const double *plane) |
int | IsTetraSelected (const double coords[4 *4], const double *plane) |
unsigned int | CutElement (const double vertices[18], const int nodes[7], const myPlane *cut_plane, std::vector< myVertex > &out_vertices) |
void | indexVBO (std::vector< Vertex > &inout_vertices, std::vector< unsigned int > &inout_indices) |
unsigned | TessellateTriangle (const myVertex *a, const myVertex *b, const myVertex *c, int ndiv, std::vector< myVertex > &vertices, std::vector< unsigned > &indices) |
Variables |
int | iQuadEdgesIds [4][2] |
int | iQuadFlags [16] |
int | iQuadEdges [16][7] |
const int | iPrizmEdges [9][2] |
Typedef Documentation
* Square Edge Flags Table*/
Function Documentation
unsigned int CutElement |
( |
const double |
vertices[18], |
|
|
const int |
nodes[7], |
|
|
const myPlane * |
cut_plane, |
|
|
std::vector< myVertex > & |
out_vertices | |
|
) |
| | |
void indexVBO |
( |
std::vector< Vertex > & |
inout_vertices, |
|
|
std::vector< unsigned int > & |
inout_indices | |
|
) |
| | |
int IsPrismSelected |
( |
const double |
coords[6 *4], |
|
|
const double * |
plane | |
|
) |
| | |
int IsTetraSelected |
( |
const double |
coords[4 *4], |
|
|
const double * |
plane | |
|
) |
| | |
unsigned TessellateTriangle |
( |
const myVertex * |
a, |
|
|
const myVertex * |
b, |
|
|
const myVertex * |
c, |
|
|
int |
ndiv, |
|
|
std::vector< myVertex > & |
vertices, |
|
|
std::vector< unsigned > & |
indices | |
|
) |
| | |
Variable Documentation