Representation of an octomap::OcTree as a Shape. More...
#include <shapes.h>
Public Member Functions | |
virtual Shape * | clone () const |
Create a copy of this shape. | |
virtual bool | isFixed () const |
Return a flag indicating whether this shape can be scaled and/or padded. | |
OcTree () | |
OcTree (const boost::shared_ptr< const octomap::OcTree > &t) | |
virtual void | print (std::ostream &out=std::cout) const |
Print information about this shape. | |
virtual void | scaleAndPadd (double scale, double padd) |
Scale and padd this shape. | |
Public Attributes | |
boost::shared_ptr< const octomap::OcTree > | octree |
Static Public Attributes | |
static const std::string | STRING_NAME = "octree" |
The type of the shape, as a string. |
Definition at line 157 of file shapes.cpp.
shapes::OcTree::OcTree | ( | const boost::shared_ptr< const octomap::OcTree > & | t | ) |
Definition at line 162 of file shapes.cpp.
shapes::Shape * shapes::OcTree::clone | ( | ) | const [virtual] |
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 371 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 351 of file shapes.cpp.
void shapes::OcTree::scaleAndPadd | ( | double | scale, |
double | padd | ||
) | [virtual] |
boost::shared_ptr<const octomap::OcTree> shapes::OcTree::octree |
const std::string shapes::OcTree::STRING_NAME = "octree" [static] |