Open3D (C++ API)  0.18.0
Public Member Functions | Protected Member Functions
open3d::geometry::Geometry2D Class Referenceabstract

The base geometry class for 2D geometries. More...

#include <Geometry2D.h>

Inheritance diagram for open3d::geometry::Geometry2D:
open3d::geometry::Geometry open3d::geometry::Image open3d::geometry::RGBDImage open3d::visualization::SelectionPolygon

Public Member Functions

 ~Geometry2D () override
 
GeometryClear () 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 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...
 

Detailed Description

The base geometry class for 2D geometries.

Main class for 2D geometries, Derives all data from Geometry Base class.

Constructor & Destructor Documentation

◆ ~Geometry2D()

open3d::geometry::Geometry2D::~Geometry2D ( )
inlineoverride

◆ Geometry2D()

open3d::geometry::Geometry2D::Geometry2D ( GeometryType  type)
inlineprotected

Parameterized Constructor.

Parameters
typetype of object based on GeometryType

Member Function Documentation

◆ Clear()

Geometry& open3d::geometry::Geometry2D::Clear ( )
overridepure virtual

◆ GetMaxBound()

virtual Eigen::Vector2d open3d::geometry::Geometry2D::GetMaxBound ( ) const
pure virtual

Returns max bounds for geometry coordinates.

Implemented in open3d::geometry::RGBDImage, open3d::geometry::Image, and open3d::visualization::SelectionPolygon.

◆ GetMinBound()

virtual Eigen::Vector2d open3d::geometry::Geometry2D::GetMinBound ( ) const
pure virtual

Returns min bounds for geometry coordinates.

Implemented in open3d::geometry::RGBDImage, open3d::geometry::Image, and open3d::visualization::SelectionPolygon.

◆ IsEmpty()

bool open3d::geometry::Geometry2D::IsEmpty ( ) const
overridepure virtual

Returns true iff the geometry is empty.

Implements open3d::geometry::Geometry.

Implemented in open3d::visualization::SelectionPolygon, open3d::geometry::RGBDImage, and open3d::geometry::Image.


The documentation for this class was generated from the following file: