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

#include <Geometry3D.h>

Inheritance diagram for open3d::geometry::Geometry3D:
open3d::geometry::Geometry open3d::geometry::LineSet open3d::geometry::Octree open3d::geometry::PointCloud open3d::geometry::TriangleMesh open3d::geometry::VoxelGrid open3d::visualization::PointCloudPicker open3d::geometry::HalfEdgeTriangleMesh open3d::geometry::TSDFVoxelGrid

Public Types

enum  RotationType {
  RotationType::XYZ, RotationType::YZX, RotationType::ZXY, RotationType::XZY,
  RotationType::ZYX, RotationType::YXZ, RotationType::AxisAngle
}
 
- 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::TriangleMesh = 5, GeometryType::HalfEdgeTriangleMesh = 6, GeometryType::Image = 7
}
 

Public Member Functions

 ~Geometry3D () override
 
void Clear () override=0
 
bool IsEmpty () const override=0
 
virtual Eigen::Vector3d GetMinBound () const =0
 
virtual Eigen::Vector3d GetMaxBound () const =0
 
virtual Geometry3DTransform (const Eigen::Matrix4d &transformation)=0
 
virtual Geometry3DTranslate (const Eigen::Vector3d &translation)=0
 
virtual Geometry3DScale (const double scale, bool center=true)=0
 
virtual Geometry3DRotate (const Eigen::Vector3d &rotation, bool center=true, RotationType type=RotationType::XYZ)=0
 
- Public Member Functions inherited from open3d::geometry::Geometry
virtual ~Geometry ()
 
GeometryType GetGeometryType () const
 
int Dimension () const
 

Protected Member Functions

 Geometry3D (GeometryType type)
 
Eigen::Matrix3d GetRotationMatrix (const Eigen::Vector3d &rotation, RotationType type=RotationType::XYZ) const
 
- Protected Member Functions inherited from open3d::geometry::Geometry
 Geometry (GeometryType type, int dimension)
 

Member Enumeration Documentation

◆ RotationType

Enumerator
XYZ 
YZX 
ZXY 
XZY 
ZYX 
YXZ 
AxisAngle 

Constructor & Destructor Documentation

◆ ~Geometry3D()

open3d::geometry::Geometry3D::~Geometry3D ( )
inlineoverride

◆ Geometry3D()

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

Member Function Documentation

◆ Clear()

void open3d::geometry::Geometry3D::Clear ( )
overridepure virtual

◆ GetMaxBound()

virtual Eigen::Vector3d open3d::geometry::Geometry3D::GetMaxBound ( ) const
pure virtual

◆ GetMinBound()

virtual Eigen::Vector3d open3d::geometry::Geometry3D::GetMinBound ( ) const
pure virtual

◆ GetRotationMatrix()

Eigen::Matrix3d open3d::geometry::Geometry3D::GetRotationMatrix ( const Eigen::Vector3d &  rotation,
RotationType  type = RotationType::XYZ 
) const
inlineprotected

◆ IsEmpty()

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

◆ Rotate()

virtual Geometry3D& open3d::geometry::Geometry3D::Rotate ( const Eigen::Vector3d &  rotation,
bool  center = true,
RotationType  type = RotationType::XYZ 
)
pure virtual

◆ Scale()

virtual Geometry3D& open3d::geometry::Geometry3D::Scale ( const double  scale,
bool  center = true 
)
pure virtual

◆ Transform()

virtual Geometry3D& open3d::geometry::Geometry3D::Transform ( const Eigen::Matrix4d &  transformation)
pure virtual

◆ Translate()

virtual Geometry3D& open3d::geometry::Geometry3D::Translate ( const Eigen::Vector3d &  translation)
pure virtual

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