Public Member Functions | List of all members
PyShape Class Reference

#include <PyShape.h>

Inheritance diagram for PyShape:
Inheritance graph
[legend]

Public Member Functions

PyObject * getDiffuseColor ()
 
PyObject * getRelPosition ()
 
PyObject * getRelRotation ()
 
void setDiffuseColor (PyObject *v)
 
void setRelPosition (PyObject *v)
 
void setRelRotation (PyObject *v)
 
- Public Member Functions inherited from GLshape
void compile ()
 
void computeAABB (const hrp::Vector3 &i_p, const hrp::Matrix33 &i_R, hrp::Vector3 &o_min, hrp::Vector3 &o_max)
 
void divideLargeTriangles (double maxEdgeLen)
 
size_t draw (int i_mode)
 
 GLshape ()
 
void highlight (bool flag)
 
void normalPerVertex (bool flag)
 
void setColors (unsigned int ncolors, const float *colors)
 
void setDiffuseColor (float r, float g, float b, float a)
 
void setNormalIndices (unsigned int len, const int *normalIndices)
 
void setNormals (unsigned int nnormal, const float *normals)
 
void setShininess (float s)
 
void setSpecularColor (float r, float g, float b)
 
void setTexture (GLtexture *texture)
 
void setTextureCoordinates (unsigned int len, const float *coordinates)
 
void setTextureCoordIndices (unsigned int len, const int *coordinates)
 
void setTriangles (unsigned int ntriangles, const int *vertexIndices)
 
void setVertices (unsigned int nvertices, const float *vertices)
 
void solid (bool flag)
 
 ~GLshape ()
 
- Public Member Functions inherited from GLcoordinates
hrp::Vector3 getPosition ()
 
void getPosition (double &x, double &y, double &z)
 
hrp::Matrix33 getRotation ()
 
void getRotation (hrp::Matrix33 &R)
 
double * getTransform ()
 
 GLcoordinates ()
 
void setPosition (double x, double y, double z)
 
template<class T >
void setPosition (const T &p)
 
void setRotation (double r, double p, double y)
 
void setRotation (double ax, double ay, double az, double th)
 
void setRotation (const hrp::Matrix33 &R)
 
void setRotation (const double *R)
 
void setTransform (const double i_trans[12])
 

Additional Inherited Members

- Protected Member Functions inherited from GLshape
int doCompile (bool isWireFrameMode)
 
- Protected Attributes inherited from GLshape
std::vector< Eigen::Vector3f > m_colors
 
float m_diffuse [4]
 
bool m_highlight
 
std::vector< intm_normalIndices
 
bool m_normalPerVertex
 
std::vector< Eigen::Vector3f > m_normals
 
bool m_requestCompile
 
int m_shadingList
 
float m_shininess
 
bool m_solid
 
float m_specular [4]
 
GLtexturem_texture
 
std::vector< Eigen::Vector2f, Eigen::aligned_allocator< Eigen::Vector2f > > m_textureCoordinates
 
std::vector< intm_textureCoordIndices
 
GLuint m_textureId
 
std::vector< Eigen::Vector3i > m_triangles
 
std::vector< Eigen::Vector3f > m_vertices
 
int m_wireFrameList
 
- Protected Attributes inherited from GLcoordinates
double m_trans [16]
 

Detailed Description

Definition at line 7 of file PyShape.h.

Member Function Documentation

PyObject * PyShape::getDiffuseColor ( )

Definition at line 50 of file PyShape.cpp.

PyObject * PyShape::getRelPosition ( )

Definition at line 4 of file PyShape.cpp.

PyObject * PyShape::getRelRotation ( )

Definition at line 19 of file PyShape.cpp.

void PyShape::setDiffuseColor ( PyObject *  v)

Definition at line 57 of file PyShape.cpp.

void PyShape::setRelPosition ( PyObject *  v)

Definition at line 11 of file PyShape.cpp.

void PyShape::setRelRotation ( PyObject *  v)

Definition at line 27 of file PyShape.cpp.


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


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Thu May 6 2021 02:41:53