TAMSVIZ
Visualization and annotation tool for ROS
Public Member Functions | Public Attributes | List of all members
MeshData Struct Reference

Public Member Functions

MeshDatacomputeNormals ()
 
template<class T >
MeshDatatransform (const T &transform)
 
MeshDataappend (const MeshData &other)
 
MeshDatatranslate (const Eigen::Vector3f &v)
 
MeshDataoperator+= (const MeshData &other)
 
MeshDatatranslate (float x, float y, float z)
 
MeshDatascale (const Eigen::Vector3f &v)
 
MeshDatascale (float x, float y, float z)
 
MeshDatascale (float s)
 
MeshDatarotate (float angle, const Eigen::Vector3f &axis)
 
MeshDatacolorize (const Eigen::Vector4f &color)
 
MeshDatacolorize (float r, float g, float b, float a=1.0f)
 

Public Attributes

std::vector< Eigen::Vector3f > positions
 
std::vector< Eigen::Vector3f > normals
 
std::vector< Eigen::Vector2f > texcoords
 
std::vector< Eigen::Vector3f > tangents
 
std::vector< Eigen::Vector3f > bitangents
 
std::vector< Eigen::Vector4f > colors
 
std::vector< uint32_t > colors8
 
std::vector< Eigen::Vector4f > extras
 
std::vector< uint32_t > indices
 

Detailed Description

Definition at line 11 of file mesh.h.


The documentation for this struct was generated from the following files: