5#include <CesiumGltf/Library.h>
6#include <CesiumUtility/ExtensibleObject.h>
20 static constexpr const char*
TypeName =
"BoundingVolume";
32 std::vector<double>
scale = {1, 1, 1};
57 accum += int64_t(
sizeof(
double) * this->rotation.capacity());
58 accum += int64_t(
sizeof(
double) * this->scale.capacity());
59 accum += int64_t(
sizeof(
double) * this->translation.capacity());
Classes for working with glTF models.
std::vector< double > translation
The bounding volume's translation along the node's local X, Y, and Z axes.
static constexpr const char * TypeName
The original name of this type.
std::vector< double > rotation
The bounding volume's unit quaternion rotation relative to the node's local coordinate system.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
std::vector< double > scale
The bounding volume's scale along the rotated local X, Y, and Z axes.
int32_t shape
The index of the shape in the top-level shapes array used for this bounding volume....
The base class for objects that have extensions and extras.
int64_t getSizeBytes() const
Calculates the size in bytes of this ExtensibleObject, including all of its extras but NOT including ...