fast::DataBoundingBox class

Defines the extent of a spatial data object.

This 3D BoundingBox class is used to define the extent of a data object, which is used when rendering to determine placement of the view camera

Constructors, destructors, conversion operators

DataBoundingBox(Vector3f pos, Vector3f size)
DataBoundingBox(Vector3f size)
DataBoundingBox(std::vector<Vector3f> coordinates)
DataBoundingBox(MatrixXf corners)

Public functions

auto getCorners() const -> MatrixXf
auto getTransformedBoundingBox(Transform::pointer transform) const -> DataBoundingBox
auto getTransformedBoundingBox(Affine3f transform) const -> DataBoundingBox
auto isInitialized() const -> bool