Public Member Functions | Public Attributes | Static Public Attributes | List of all members
shapes::OcTree Class Reference

Representation of an octomap::OcTree as a Shape. More...

#include <shapes.h>

Inheritance diagram for shapes::OcTree:
Inheritance graph
[legend]

Public Member Functions

virtual Shapeclone () const
 Create a copy of this shape. More...
 
virtual bool isFixed () const
 Return a flag indicating whether this shape can be scaled and/or padded. More...
 
 OcTree ()
 
 OcTree (const std::shared_ptr< const octomap::OcTree > &t)
 
virtual void print (std::ostream &out=std::cout) const
 Print information about this shape. More...
 
virtual void scaleAndPadd (double scale, double padd)
 Scale and padd this shape. More...
 
- Public Member Functions inherited from shapes::Shape
void padd (double padding)
 Add padding to this shape. More...
 
void scale (double scale)
 Scale this shape by a factor. More...
 
 Shape ()
 
virtual ~Shape ()
 

Public Attributes

std::shared_ptr< const octomap::OcTreeoctree
 
- Public Attributes inherited from shapes::Shape
ShapeType type
 The type of the shape. More...
 

Static Public Attributes

static const std::string STRING_NAME = "octree"
 The type of the shape, as a string. More...
 

Detailed Description

Representation of an octomap::OcTree as a Shape.

Definition at line 264 of file shapes.h.

Constructor & Destructor Documentation

shapes::OcTree::OcTree ( )

Definition at line 197 of file shapes.cpp.

shapes::OcTree::OcTree ( const std::shared_ptr< const octomap::OcTree > &  t)

Definition at line 202 of file shapes.cpp.

Member Function Documentation

Shape * shapes::OcTree::clone ( ) const
virtual

Create a copy of this shape.

Implements shapes::Shape.

Definition at line 260 of file shapes.cpp.

bool shapes::OcTree::isFixed ( ) const
virtual

Return a flag indicating whether this shape can be scaled and/or padded.

Reimplemented from shapes::Shape.

Definition at line 411 of file shapes.cpp.

void shapes::OcTree::print ( std::ostream &  out = std::cout) const
virtual

Print information about this shape.

Reimplemented from shapes::Shape.

Definition at line 391 of file shapes.cpp.

void shapes::OcTree::scaleAndPadd ( double  scale,
double  padd 
)
virtual

Scale and padd this shape.

Implements shapes::Shape.

Definition at line 265 of file shapes.cpp.

Member Data Documentation

std::shared_ptr<const octomap::OcTree> shapes::OcTree::octree

Definition at line 278 of file shapes.h.

const std::string shapes::OcTree::STRING_NAME = "octree"
static

The type of the shape, as a string.

Definition at line 271 of file shapes.h.


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


geometric_shapes
Author(s): Ioan Sucan , Gil Jones
autogenerated on Mon Jun 10 2019 13:22:04