Public Member Functions | Public Attributes

ntk::Mesh Class Reference

#include <mesh.h>

List of all members.

Public Member Functions

cv::Point3f centerize ()
void applyTransform (const Pose3D &pose)
bool hasColors () const
bool hasNormals () const
bool hasTexcoords () const
bool hasFaces () const
void clear ()

Public Attributes

std::vector< cv::Point3f > vertices
std::vector< cv::Vec3b > colors
std::vector< cv::Point3f > normals
std::vector< cv::Point2f > texcoords
std::vector< Facefaces
cv::Mat3b texture

Member Function Documentation

void ntk::Mesh::applyTransform ( const Pose3D pose  ) 
Point3f ntk::Mesh::centerize (  ) 
void ntk::Mesh::clear (  ) 
bool ntk::Mesh::hasColors (  )  const [inline]
bool ntk::Mesh::hasFaces (  )  const [inline]
bool ntk::Mesh::hasNormals (  )  const [inline]
bool ntk::Mesh::hasTexcoords (  )  const [inline]

Member Data Documentation

std::vector<cv::Vec3b> ntk::Mesh::colors
std::vector<Face> ntk::Mesh::faces
std::vector<cv::Point3f> ntk::Mesh::normals
std::vector<cv::Point2f> ntk::Mesh::texcoords
cv::Mat3b ntk::Mesh::texture
std::vector<cv::Point3f> ntk::Mesh::vertices

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