78 : geometry_type_(type), dimension_(dimension) {}
84 virtual bool IsEmpty()
const = 0;
int Dimension() const
Returns whether the geometry is 2D or 3D.
Definition: Geometry.h:88
The base geometry class.
Definition: Geometry.h:35
GeometryType GetGeometryType() const
Returns one of registered geometry types.
Definition: Geometry.h:86
A bounding box that is aligned along the coordinate axes.
Definition: BoundingVolume.h:130
Geometry(GeometryType type, int dimension)
Parameterized Constructor.
Definition: Geometry.h:77
Definition: HalfEdgeTriangleMesh.h:38
Definition: MeshBase.h:45
A bounding box oriented along an arbitrary frame of reference.
Definition: BoundingVolume.h:44
Definition: PointCloud.h:50
Definition: RGBDImage.h:43
virtual bool IsEmpty() const =0
Returns true iff the geometry is empty.
Definition: TetraMesh.h:44
virtual ~Geometry()
Definition: Geometry.h:70
char type
Definition: FilePCD.cpp:57
Definition: PinholeCameraIntrinsic.cpp:34
Definition: VoxelGrid.h:65
GeometryType
Specifies possible geometry types.
Definition: Geometry.h:40
virtual Geometry & Clear()=0
Clear all elements in the geometry.
Unspecified geometry type.
Definition: TriangleMesh.h:46
The Image class stores image with customizable width, height, num of channels and bytes per channel...
Definition: Image.h:53