Class Object

Inheritance Relationships

Derived Types

Class Documentation

class Object

Base class for simulator objects.

Each object allows an exact ground-truth sdf to be created for it.

Subclassed by voxblox::Cube, voxblox::Cylinder, voxblox::PlaneObject, voxblox::Sphere

Public Types

enum Type

Values:

kSphere = 0
kCube
kPlane
kCylinder

Public Functions

Object(const Point &center, Type type)
Object(const Point &center, Type type, const Color &color)
virtual ~Object()
virtual FloatingPoint getDistanceToPoint(const Point &point) const = 0

Map-building accessors.

Color getColor() const
virtual bool getRayIntersection(const Point &ray_origin, const Point &ray_direction, FloatingPoint max_dist, Point *intersect_point, FloatingPoint *intersect_dist) const = 0

Raycasting accessors.

Protected Attributes

Point center_
Type type_
Color color_