Open3D (C++ API)
0.11.0
|
The base geometry class for 2D geometries. More...
#include <Geometry2D.h>
Public Member Functions | |
~Geometry2D () override | |
Geometry & | Clear () override=0 |
Clear all elements in the geometry. More... | |
bool | IsEmpty () const override=0 |
Returns true iff the geometry is empty. More... | |
virtual Eigen::Vector2d | GetMinBound () const =0 |
Returns min bounds for geometry coordinates. More... | |
virtual Eigen::Vector2d | GetMaxBound () const =0 |
Returns max bounds for geometry coordinates. More... | |
Public Member Functions inherited from open3d::geometry::Geometry | |
virtual | ~Geometry () |
GeometryType | GetGeometryType () const |
Returns one of registered geometry types. More... | |
int | Dimension () const |
Returns whether the geometry is 2D or 3D. More... | |
std::string | GetName () const |
void | SetName (const std::string &name) |
Protected Member Functions | |
Geometry2D (GeometryType type) | |
Parameterized Constructor. More... | |
Protected Member Functions inherited from open3d::geometry::Geometry | |
Geometry (GeometryType type, int dimension) | |
Parameterized Constructor. More... | |
Additional Inherited Members | |
Public Types inherited from open3d::geometry::Geometry | |
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... | |
The base geometry class for 2D geometries.
Main class for 2D geometries, Derives all data from Geometry Base class.
|
inlineoverride |
|
inlineprotected |
Parameterized Constructor.
type | type of object based on GeometryType |
|
overridepure virtual |
Clear all elements in the geometry.
Implements open3d::geometry::Geometry.
Implemented in open3d::geometry::Image, open3d::visualization::SelectionPolygon, and open3d::geometry::RGBDImage.
|
pure virtual |
Returns max bounds for geometry coordinates.
Implemented in open3d::geometry::Image, open3d::visualization::SelectionPolygon, and open3d::geometry::RGBDImage.
|
pure virtual |
Returns min bounds for geometry coordinates.
Implemented in open3d::geometry::Image, open3d::visualization::SelectionPolygon, and open3d::geometry::RGBDImage.
|
overridepure virtual |
Returns true
iff the geometry is empty.
Implements open3d::geometry::Geometry.
Implemented in open3d::geometry::Image, open3d::visualization::SelectionPolygon, and open3d::geometry::RGBDImage.