The base geometry class.
More...
#include <Geometry.h>
|
enum | GeometryType {
GeometryType::Unspecified = 0,
GeometryType::PointCloud = 1,
GeometryType::VoxelGrid = 2,
GeometryType::Octree = 3,
GeometryType::LineSet = 4,
GeometryType::MeshBase = 5,
GeometryType::TriangleMesh = 6,
GeometryType::HalfEdgeTriangleMesh = 7,
GeometryType::Image = 8,
GeometryType::RGBDImage = 9,
GeometryType::TetraMesh = 10,
GeometryType::OrientedBoundingBox = 11,
GeometryType::AxisAlignedBoundingBox = 12
} |
| Specifies possible geometry types. More...
|
|
◆ GeometryType
Specifies possible geometry types.
◆ ~Geometry()
virtual open3d::geometry::Geometry::~Geometry |
( |
| ) |
|
|
inlinevirtual |
◆ Geometry()
open3d::geometry::Geometry::Geometry |
( |
GeometryType |
type, |
|
|
int |
dimension |
|
) |
| |
|
inlineprotected |
Parameterized Constructor.
- Parameters
-
type | Specifies the type of geometry of the object constructed. |
dimension | Specifies whether the dimension is 2D or 3D. |
◆ Clear()
virtual Geometry& open3d::geometry::Geometry::Clear |
( |
| ) |
|
|
pure virtual |
Clear all elements in the geometry.
Implemented in open3d::geometry::Octree, open3d::geometry::AxisAlignedBoundingBox, open3d::geometry::Image, open3d::geometry::VoxelGrid, open3d::geometry::HalfEdgeTriangleMesh, open3d::geometry::MeshBase, open3d::geometry::OrientedBoundingBox, open3d::geometry::TriangleMesh, open3d::geometry::LineSet, open3d::geometry::PointCloud, open3d::geometry::TetraMesh, open3d::visualization::SelectionPolygon, open3d::geometry::RGBDImage, open3d::geometry::Geometry3D, open3d::geometry::Geometry2D, and open3d::visualization::PointCloudPicker.
◆ Dimension()
int open3d::geometry::Geometry::Dimension |
( |
| ) |
const |
|
inline |
Returns whether the geometry is 2D or 3D.
◆ GetGeometryType()
GeometryType open3d::geometry::Geometry::GetGeometryType |
( |
| ) |
const |
|
inline |
Returns one of registered geometry types.
◆ GetName()
std::string open3d::geometry::Geometry::GetName |
( |
| ) |
const |
|
inline |
◆ IsEmpty()
virtual bool open3d::geometry::Geometry::IsEmpty |
( |
| ) |
const |
|
pure virtual |
Returns true
iff the geometry is empty.
Implemented in open3d::geometry::Octree, open3d::geometry::AxisAlignedBoundingBox, open3d::geometry::Image, open3d::geometry::VoxelGrid, open3d::geometry::MeshBase, open3d::geometry::OrientedBoundingBox, open3d::geometry::LineSet, open3d::geometry::PointCloud, open3d::visualization::SelectionPolygon, open3d::geometry::RGBDImage, open3d::geometry::Geometry3D, open3d::geometry::Geometry2D, and open3d::visualization::PointCloudPicker.
◆ SetName()
void open3d::geometry::Geometry::SetName |
( |
const std::string & |
name | ) |
|
|
inline |
The documentation for this class was generated from the following file:
- /home/yixing/repo/Open3D/src/Open3D/Geometry/Geometry.h