Class Shape
Defined in File shapes.h
Inheritance Relationships
Derived Types
public shapes::Box
(Class Box)public shapes::Cone
(Class Cone)public shapes::Cylinder
(Class Cylinder)public shapes::Mesh
(Class Mesh)public shapes::OcTree
(Class OcTree)public shapes::Plane
(Class Plane)public shapes::Sphere
(Class Sphere)
Class Documentation
-
class Shape
A basic definition of a shape. Shapes are considered centered at origin.
Subclassed by shapes::Box, shapes::Cone, shapes::Cylinder, shapes::Mesh, shapes::OcTree, shapes::Plane, shapes::Sphere
Public Functions
-
Shape()
-
virtual ~Shape()
-
virtual void print(std::ostream &out = std::cout) const
Print information about this shape.
-
void scale(double scale)
Uniformly scale this shape by a factor.
-
void padd(double padding)
Add uniform padding to this shape.
-
virtual void scaleAndPadd(double scale, double padd) = 0
Uniformly scale and padd this shape.
-
virtual bool isFixed() const
Return a flag indicating whether this shape can be scaled and/or padded.
-
Shape()