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 (unsigned int vCount, unsigned int tCount)
 
 Mesh (void)
 
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 216 of file shapes.h.

Constructor & Destructor Documentation

◆ Mesh() [1/2]

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

Definition at line 219 of file shapes.h.

◆ Mesh() [2/2]

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

Definition at line 229 of file shapes.h.

◆ ~Mesh()

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

Definition at line 239 of file shapes.h.

Member Data Documentation

◆ normals

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

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

Definition at line 265 of file shapes.h.

◆ triangleCount

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

the number of triangles formed with the vertices

Definition at line 257 of file shapes.h.

◆ triangles

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 261 of file shapes.h.

◆ vertexCount

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

the number of available vertices

Definition at line 250 of file shapes.h.

◆ vertices

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 254 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 Fri Oct 11 2024 02:47:06