129 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
139 template<
typename DerT,
typename DatT,
int BS>
142 template<
typename DatT,
int BS,
typename DerT>
145 template<
typename DatT,
typename DerT>
157 #endif // SE_OCTANT_HPP
const se::OctantBase * getParent() const
Get the parent pointer of the octant.
Definition: octant.hpp:60
int getTimeStamp() const
Get the time stamp of an octant.
Definition: octant.hpp:77
void setActive(bool is_active)
Set the active state of an octant.
Definition: octant.hpp:109
The base used for single-resolution blocks.
Definition: block.hpp:26
void clearChildrenMask()
Clear the children mask.
Definition: octant.hpp:124
const Eigen::Vector3i coord_
The coordinates of the block (left, front , bottom corner)
Definition: octant.hpp:134
OctantBase(const bool is_block, const Eigen::Vector3i &coord, OctantBase *parent_ptr=nullptr)
Setup a octant via its parent.
OctantBase * parent_ptr_
Every node/block (other than root) needs a parent.
Definition: octant.hpp:133
unsigned int getChildrenMask() const
Definition: octant.hpp:114
unsigned int children_mask_
The allocated children.
Definition: octant.hpp:137
void setTimeStamp(const int time_stamp)
Set the time stamp of an octant.
Definition: octant.hpp:89
bool isBlock() const
Verify if an octant is a block.
Definition: octant.hpp:40
const bool is_block_
Definition: octant.hpp:132
se::OctantBase * getParent()
Definition: octant.hpp:65
int time_stamp_
The frame of the last update.
Definition: octant.hpp:135
This class only helps to dynamic cast the octant to the right type and builds the base of nodes and b...
Definition: octant.hpp:24
bool is_active_
The active state of the octant.
Definition: octant.hpp:136
Eigen::Vector3i getCoord() const
Get the voxel coordinates of the octant.
Definition: octant.hpp:50
Helper wrapper to allocate and de-allocate octants in the octree.
Definition: colour_utils.hpp:17
bool getActive() const
Get the active state of an octant.
Definition: octant.hpp:99