|
Geometry::Ptr | clone () const override final |
| Create a copy of this shape. More...
|
|
| Mesh ()=default |
|
| Mesh (std::shared_ptr< const tesseract_common::VectorVector3d > vertices, std::shared_ptr< const Eigen::VectorXi > triangles, int triangle_count, std::shared_ptr< const tesseract_common::Resource > resource=nullptr, const Eigen::Vector3d &scale=Eigen::Vector3d(1, 1, 1), std::shared_ptr< const tesseract_common::VectorVector3d > normals=nullptr, std::shared_ptr< const tesseract_common::VectorVector4d > vertex_colors=nullptr, std::shared_ptr< MeshMaterial > mesh_material=nullptr, std::shared_ptr< const std::vector< std::shared_ptr< MeshTexture >>> mesh_textures=nullptr) |
| Mesh geometry. More...
|
|
| Mesh (std::shared_ptr< const tesseract_common::VectorVector3d > vertices, std::shared_ptr< const Eigen::VectorXi > triangles, std::shared_ptr< const tesseract_common::Resource > resource=nullptr, const Eigen::Vector3d &scale=Eigen::Vector3d(1, 1, 1), std::shared_ptr< const tesseract_common::VectorVector3d > normals=nullptr, std::shared_ptr< const tesseract_common::VectorVector4d > vertex_colors=nullptr, std::shared_ptr< MeshMaterial > mesh_material=nullptr, std::shared_ptr< const std::vector< std::shared_ptr< MeshTexture >>> mesh_textures=nullptr) |
| Mesh geometry. More...
|
|
bool | operator!= (const Mesh &rhs) const |
|
bool | operator== (const Mesh &rhs) const |
|
| ~Mesh () override=default |
|
Geometry::Ptr | clone () const override |
| Create a copy of this shape. More...
|
|
int | getFaceCount () const |
| Get face count. More...
|
|
const std::shared_ptr< const Eigen::VectorXi > & | getFaces () const |
| Get Polygon mesh faces. More...
|
|
std::shared_ptr< const MeshMaterial > | getMaterial () const |
| Get material data extracted from the mesh file. More...
|
|
const std::shared_ptr< const tesseract_common::VectorVector3d > & | getNormals () const |
| Get the vertex normal vectors. More...
|
|
std::shared_ptr< const tesseract_common::Resource > | getResource () const |
| Get the path to file used to generate the mesh. More...
|
|
const Eigen::Vector3d & | getScale () const |
| Get the scale applied to file used to generate the mesh. More...
|
|
const std::shared_ptr< const std::vector< std::shared_ptr< MeshTexture > > > & | getTextures () const |
| Get textures extracted from the mesh file. More...
|
|
const std::shared_ptr< const tesseract_common::VectorVector4d > & | getVertexColors () const |
| Get the vertex colors. More...
|
|
int | getVertexCount () const |
| Get vertex count. More...
|
|
const std::shared_ptr< const tesseract_common::VectorVector3d > & | getVertices () const |
| Get Polygon mesh vertices. More...
|
|
bool | operator!= (const PolygonMesh &rhs) const |
|
bool | operator== (const PolygonMesh &rhs) const |
|
| PolygonMesh ()=default |
|
| PolygonMesh (std::shared_ptr< const tesseract_common::VectorVector3d > vertices, std::shared_ptr< const Eigen::VectorXi > faces, int face_count, std::shared_ptr< const tesseract_common::Resource > resource=nullptr, const Eigen::Vector3d &scale=Eigen::Vector3d(1, 1, 1), std::shared_ptr< const tesseract_common::VectorVector3d > normals=nullptr, std::shared_ptr< const tesseract_common::VectorVector4d > vertex_colors=nullptr, std::shared_ptr< MeshMaterial > mesh_material=nullptr, std::shared_ptr< const std::vector< std::shared_ptr< MeshTexture >>> mesh_textures=nullptr, GeometryType type=GeometryType::POLYGON_MESH) |
| Polygon Mesh geometry. More...
|
|
| PolygonMesh (std::shared_ptr< const tesseract_common::VectorVector3d > vertices, std::shared_ptr< const Eigen::VectorXi > faces, std::shared_ptr< const tesseract_common::Resource > resource=nullptr, const Eigen::Vector3d &scale=Eigen::Vector3d(1, 1, 1), std::shared_ptr< const tesseract_common::VectorVector3d > normals=nullptr, std::shared_ptr< const tesseract_common::VectorVector4d > vertex_colors=nullptr, std::shared_ptr< MeshMaterial > mesh_material=nullptr, std::shared_ptr< const std::vector< std::shared_ptr< MeshTexture >>> mesh_textures=nullptr, GeometryType type=GeometryType::POLYGON_MESH) |
| Polygon Mesh geometry. More...
|
|
| ~PolygonMesh () override=default |
|
| Geometry (const Geometry &)=default |
|
| Geometry (Geometry &&)=default |
|
| Geometry (GeometryType type=GeometryType::UNINITIALIZED) |
|
GeometryType | getType () const |
| Get the geometry type. More...
|
|
const boost::uuids::uuid & | getUUID () const |
| Get the geometry UUID. More...
|
|
bool | operator!= (const Geometry &rhs) const |
|
Geometry & | operator= (const Geometry &)=default |
|
Geometry & | operator= (Geometry &&)=default |
|
bool | operator== (const Geometry &rhs) const |
|
void | setUUID (const boost::uuids::uuid &uuid) |
| Set the geometry UUID. More...
|
|
virtual | ~Geometry ()=default |
|
Definition at line 45 of file mesh.h.