Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
tesseract_geometry::Geometry Class Referenceabstract

#include <geometry.h>

Inheritance diagram for tesseract_geometry::Geometry:
Inheritance graph
[legend]

Public Types

using Ptr = std::shared_ptr< Geometry >
 
using ConstPtr = std::shared_ptr< const Geometry >
 

Public Member Functions

 Geometry (GeometryType type=GeometryType::UNINITIALIZED)
 
virtual ~Geometry ()=default
 
 Geometry (const Geometry &)=default
 
Geometryoperator= (const Geometry &)=default
 
 Geometry (Geometry &&)=default
 
Geometryoperator= (Geometry &&)=default
 
virtual Geometry::Ptr clone () const =0
 Create a copy of this shape. More...
 
GeometryType getType () const
 
bool operator== (const Geometry &rhs) const
 
bool operator!= (const Geometry &rhs) const
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

GeometryType type_
 The type of the shape. More...
 

Friends

class boost::serialization::access
 

Member Typedef Documentation

◆ ConstPtr

using tesseract_geometry::Geometry::ConstPtr = std::shared_ptr<const Geometry>

◆ Ptr

using tesseract_geometry::Geometry::Ptr = std::shared_ptr<Geometry>

Constructor & Destructor Documentation

◆ Geometry() [1/3]

tesseract_geometry::Geometry::Geometry ( GeometryType  type = GeometryType::UNINITIALIZED)
inlineexplicit

◆ ~Geometry()

virtual tesseract_geometry::Geometry::~Geometry ( )
virtualdefault

◆ Geometry() [2/3]

tesseract_geometry::Geometry::Geometry ( const Geometry )
default

◆ Geometry() [3/3]

tesseract_geometry::Geometry::Geometry ( Geometry &&  )
default

Member Function Documentation

◆ clone()

virtual Geometry::Ptr tesseract_geometry::Geometry::clone ( ) const
pure virtual

◆ getType()

GeometryType tesseract_geometry::Geometry::getType ( ) const
inline

◆ operator!=()

bool tesseract_geometry::Geometry::operator!= ( const Geometry rhs) const

◆ operator=() [1/2]

Geometry & tesseract_geometry::Geometry::operator= ( const Geometry )
default

◆ operator=() [2/2]

Geometry & tesseract_geometry::Geometry::operator= ( Geometry &&  )
default

◆ operator==()

bool tesseract_geometry::Geometry::operator== ( const Geometry rhs) const

◆ serialize()

template<class Archive >
void tesseract_geometry::Geometry::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Member Data Documentation

◆ type_

GeometryType tesseract_geometry::Geometry::type_
private

The type of the shape.


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