Public Member Functions | Public Attributes | List of all members
robot_self_filter::shapes::Mesh Class Reference

Definition of a mesh. More...

#include <shapes.h>

Inheritance diagram for robot_self_filter::shapes::Mesh:
Inheritance graph
[legend]

Public Member Functions

 Mesh (void)
 
 Mesh (unsigned int vCount, unsigned int tCount)
 
virtual ~Mesh (void)
 
- Public Member Functions inherited from robot_self_filter::shapes::Shape
 Shape (void)
 
virtual ~Shape (void)
 

Public Attributes

double * normals
 the normal to each triangle unit vector represented as (x,y,z) More...
 
unsigned int triangleCount
 the number of triangles formed with the vertices More...
 
unsigned int * triangles
 the vertex indices for each triangle triangle k has vertices at index (3k, 3k+1, 3k+2) = (v1, v2, v3) More...
 
unsigned int vertexCount
 the number of available vertices More...
 
double * vertices
 the position for each vertex vertex k has values at index (3k, 3k+1, 3k+2) = (x,y,z) More...
 
- Public Attributes inherited from robot_self_filter::shapes::Shape
ShapeType type
 

Detailed Description

Definition of a mesh.

Definition at line 152 of file shapes.h.

Constructor & Destructor Documentation

robot_self_filter::shapes::Mesh::Mesh ( void  )
inline

Definition at line 155 of file shapes.h.

robot_self_filter::shapes::Mesh::Mesh ( unsigned int  vCount,
unsigned int  tCount 
)
inline

Definition at line 165 of file shapes.h.

virtual robot_self_filter::shapes::Mesh::~Mesh ( void  )
inlinevirtual

Definition at line 175 of file shapes.h.

Member Data Documentation

double* robot_self_filter::shapes::Mesh::normals

the normal to each triangle unit vector represented as (x,y,z)

Definition at line 201 of file shapes.h.

unsigned int robot_self_filter::shapes::Mesh::triangleCount

the number of triangles formed with the vertices

Definition at line 193 of file shapes.h.

unsigned int* robot_self_filter::shapes::Mesh::triangles

the vertex indices for each triangle triangle k has vertices at index (3k, 3k+1, 3k+2) = (v1, v2, v3)

Definition at line 197 of file shapes.h.

unsigned int robot_self_filter::shapes::Mesh::vertexCount

the number of available vertices

Definition at line 186 of file shapes.h.

double* robot_self_filter::shapes::Mesh::vertices

the position for each vertex vertex k has values at index (3k, 3k+1, 3k+2) = (x,y,z)

Definition at line 190 of file shapes.h.


The documentation for this class was generated from the following file:


robot_self_filter
Author(s): Eitan Marder-Eppstein
autogenerated on Thu Jun 6 2019 19:59:05