The base geometry class.
More...
#include <Geometry.h>
|
enum class | GeometryType {
Unspecified = 0
, PointCloud = 1
, VoxelGrid = 2
, Octree = 3
,
LineSet = 4
, MeshBase = 5
, TriangleMesh = 6
, HalfEdgeTriangleMesh = 7
,
Image = 8
, RGBDImage = 9
, TetraMesh = 10
, OrientedBoundingBox = 11
,
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::Geometry3D, open3d::geometry::Geometry2D, open3d::visualization::SelectionPolygon, open3d::visualization::PointCloudPicker, open3d::geometry::VoxelGrid, open3d::geometry::TriangleMesh, open3d::geometry::TetraMesh, open3d::geometry::RGBDImage, open3d::geometry::PointCloud, open3d::geometry::Octree, open3d::geometry::MeshBase, open3d::geometry::LineSet, open3d::geometry::Image, open3d::geometry::HalfEdgeTriangleMesh, open3d::geometry::AxisAlignedBoundingBox, and open3d::geometry::OrientedBoundingBox.
◆ 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::Geometry3D, open3d::geometry::Geometry2D, open3d::visualization::SelectionPolygon, open3d::visualization::PointCloudPicker, open3d::geometry::VoxelGrid, open3d::geometry::RGBDImage, open3d::geometry::PointCloud, open3d::geometry::Octree, open3d::geometry::MeshBase, open3d::geometry::LineSet, open3d::geometry::Image, open3d::geometry::AxisAlignedBoundingBox, and open3d::geometry::OrientedBoundingBox.
◆ SetName()
void open3d::geometry::Geometry::SetName |
( |
const std::string & |
name | ) |
|
|
inline |
The documentation for this class was generated from the following file: