|
| ConvexMesh (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) |
| Convex Mesh geometry. More...
|
|
| ConvexMesh (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) |
| Convex Mesh geometry. More...
|
|
| ConvexMesh ()=default |
|
| ~ConvexMesh () override=default |
|
CreationMethod | getCreationMethod () const |
| Get how the convex hull was created. More...
|
|
void | setCreationMethod (CreationMethod method) |
| Set the method used to create the convex mesh. More...
|
|
Geometry::Ptr | clone () const override |
| Create a copy of this shape. More...
|
|
bool | operator== (const ConvexMesh &rhs) const |
|
bool | operator!= (const ConvexMesh &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 |
|