|
| | Mesh (std::shared_ptr< const tesseract_common::VectorVector3d > vertices, std::shared_ptr< const Eigen::VectorXi > triangles, tesseract_common::Resource::Ptr 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, MeshMaterial::Ptr mesh_material=nullptr, std::shared_ptr< const std::vector< MeshTexture::Ptr > > mesh_textures=nullptr) |
| | Mesh geometry. More...
|
| |
| | Mesh (std::shared_ptr< const tesseract_common::VectorVector3d > vertices, std::shared_ptr< const Eigen::VectorXi > triangles, int triangle_count, tesseract_common::Resource::ConstPtr 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, MeshMaterial::Ptr mesh_material=nullptr, std::shared_ptr< const std::vector< MeshTexture::Ptr > > mesh_textures=nullptr) |
| | Mesh geometry. More...
|
| |
| | Mesh ()=default |
| |
| | ~Mesh () override=default |
| |
| Geometry::Ptr | clone () const override |
| | Create a copy of this shape. More...
|
| |
| bool | operator== (const Mesh &rhs) const |
| |
| bool | operator!= (const Mesh &rhs) const |
| |
| | PolygonMesh (std::shared_ptr< const tesseract_common::VectorVector3d > vertices, std::shared_ptr< const Eigen::VectorXi > faces, tesseract_common::Resource::ConstPtr 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, MeshMaterial::Ptr mesh_material=nullptr, std::shared_ptr< const std::vector< MeshTexture::Ptr > > mesh_textures=nullptr, GeometryType type=GeometryType::CONVEX_MESH) |
| | Polygon Mesh geometry. More...
|
| |
| | PolygonMesh (std::shared_ptr< const tesseract_common::VectorVector3d > vertices, std::shared_ptr< const Eigen::VectorXi > faces, int face_count, tesseract_common::Resource::ConstPtr 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, MeshMaterial::Ptr mesh_material=nullptr, std::shared_ptr< const std::vector< MeshTexture::Ptr > > mesh_textures=nullptr, GeometryType type=GeometryType::CONVEX_MESH) |
| | Polygon Mesh geometry. More...
|
| |
| | PolygonMesh ()=default |
| |
| | ~PolygonMesh () override=default |
| |
| const std::shared_ptr< const tesseract_common::VectorVector3d > & | getVertices () const |
| | Get Polygon mesh vertices. More...
|
| |
| const std::shared_ptr< const Eigen::VectorXi > & | getFaces () const |
| | Get Polygon mesh faces. More...
|
| |
| int | getVertexCount () const |
| | Get vertex count. More...
|
| |
| int | getFaceCount () const |
| | Get face count. More...
|
| |
| tesseract_common::Resource::ConstPtr | 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 tesseract_common::VectorVector3d > & | getNormals () const |
| | Get the vertex normal vectors. More...
|
| |
| const std::shared_ptr< const tesseract_common::VectorVector4d > & | getVertexColors () const |
| | Get the vertex colors. More...
|
| |
| MeshMaterial::ConstPtr | getMaterial () const |
| | Get material data extracted from the mesh file. More...
|
| |
| const std::shared_ptr< const std::vector< MeshTexture::Ptr > > & | getTextures () const |
| | Get textures extracted from the mesh file. More...
|
| |
| Geometry::Ptr | clone () const override |
| | Create a copy of this shape. More...
|
| |
| bool | operator== (const PolygonMesh &rhs) const |
| |
| bool | operator!= (const PolygonMesh &rhs) const |
| |
| | Geometry (GeometryType type=GeometryType::UNINITIALIZED) |
| |
| virtual | ~Geometry ()=default |
| |
| | Geometry (const Geometry &)=default |
| |
| Geometry & | operator= (const Geometry &)=default |
| |
| | Geometry (Geometry &&)=default |
| |
| Geometry & | operator= (Geometry &&)=default |
| |
| virtual Geometry::Ptr | clone () const =0 |
| | Create a copy of this shape. More...
|
| |
| GeometryType | getType () const |
| |
| bool | operator== (const Geometry &rhs) const |
| |
| bool | operator!= (const Geometry &rhs) const |
| |