11 #include <boost/intrusive_ptr.hpp> 12 #include <hrpCorba/ModelLoader.hh> 22 size_t draw(
int i_mode);
23 void setVertices(
unsigned int nvertices,
const float *vertices);
24 void setTriangles(
unsigned int ntriangles,
const int *vertexIndices);
25 void setNormals(
unsigned int nnormal,
const float *normals);
30 void setColors(
unsigned int ncolors,
const float *colors);
32 void solid(
bool flag);
std::vector< int > m_normalIndices
int doCompile(bool isWireFrameMode)
void divideLargeTriangles(double maxEdgeLen)
void setNormals(unsigned int nnormal, const float *normals)
void computeAABB(const hrp::Vector3 &i_p, const hrp::Matrix33 &i_R, hrp::Vector3 &o_min, hrp::Vector3 &o_max)
void setTexture(GLtexture *texture)
std::vector< Eigen::Vector3f > m_vertices
void setTextureCoordinates(unsigned int len, const float *coordinates)
void setTextureCoordIndices(unsigned int len, const int *coordinates)
void setSpecularColor(float r, float g, float b)
void setVertices(unsigned int nvertices, const float *vertices)
std::vector< Eigen::Vector3f > m_colors
std::vector< Eigen::Vector3i > m_triangles
void setShininess(float s)
std::vector< int > m_textureCoordIndices
std::vector< Eigen::Vector2f, Eigen::aligned_allocator< Eigen::Vector2f > > m_textureCoordinates
void setColors(unsigned int ncolors, const float *colors)
std::vector< Eigen::Vector3f > m_normals
void setTriangles(unsigned int ntriangles, const int *vertexIndices)
void setDiffuseColor(float r, float g, float b, float a)
void highlight(bool flag)
void setNormalIndices(unsigned int len, const int *normalIndices)
void normalPerVertex(bool flag)
png_infop png_uint_32 flag