|
SimpleFastOpenAtomicVisualiser
|
A triangular pixel of a hierarchical triangular mesh. More...
#include <trixel.h>


Public Member Functions | |
| Trixel () | |
| Construct a new empty Trixel. | |
| Trixel (std::string id, vec3< T > x, vec3< T > y, vec3< T > z, uint32_t parent=NULL_ID, std::vector< uint32_t > children=std::vector< uint32_t >(4, NULL_ID)) | |
| Construct a new Trixel. | |
| std::string | getID () const |
| Return the Trixel's id. | |
| void | setParent (uint32_t &p) |
| Set the Trixel's parent Trixel. | |
| void | setChildren (std::vector< uint32_t > &c) |
| Set the Trixel's children. | |
| const std::vector< uint32_t > & | getChildren () const |
| Get the Trixel's children. | |
Public Member Functions inherited from Triangle< T > | |
| Triangle () | |
| Construct a new empty Triangle. | |
| Triangle (vec3< T > v1, vec3< T > v2, vec3< T > v3) | |
| Construct a new Triangle with the given vertices. | |
| std::array< vec3< T >, 3 > | getVertices () const |
| Get the Vertices of the Triangle. | |
| void | setVertices (std::array< vec3< T >, 3 > v) |
| Set the Vertices of the Triangle. | |
| vec3< T > | normal () const |
| Calculate the Triangle's normal vector. | |
Additional Inherited Members | |
Public Attributes inherited from Triangle< T > | |
| vec3< T > | x |
| vec3< T > | y |
| vec3< T > | z |
A triangular pixel of a hierarchical triangular mesh.
| T | numeric type. |
Get the Trixel's children.
Return the Trixel's id.
Set the Trixel's children.
| c | childrens' ids. |