#include <Box.hpp>
Public Member Functions | |
Box () | |
~Box () | |
template<class B > | |
Box (const Box< B > &box) | |
template<class B > | |
Box (B x1, B y1, B z1, B x2, B y2, B z2) | |
template<class B > | |
Box (B cx, B cy, B cz, B r) | |
template<class B > | |
Box (B min, B max) | |
template<class B > | |
Box (const Vector3< B > &min, const Vector3< B > &max) | |
void | set (T x1, T y1, T z1, T x2, T y2, T z2) |
void | set (T cx, T cy, T cz, T r) |
void | set (T min, T max) |
void | set (const Vector3< T > &min, const Vector3< T > &max) |
void | set (const std::vector< T > &xyz) |
void | set (const Box< T > &box) |
void | setPercent (const Box< T > &box, const Box< T > &a, const Box< T > &b) |
void | translate (const Vector3< T > &v) |
void | extend (const Box< T > &box) |
void | extend (T x, T y, T z) |
void | clear () |
bool | empty () const |
const T & | min (size_t idx) const |
const T & | max (size_t idx) const |
Vector3< T > | length () const |
T | length (size_t idx) const |
T | maximumLength () const |
void | center (T &x, T &y, T &z) const |
Vector3< T > | center () const |
T | distance (T x, T y, T z) const |
T | radius () const |
bool | intersects (const Box< T > &box) const |
bool | contains (const Box< T > &box) const |
bool | contains (T x, T y, T z) const |
Private Member Functions | |
void | validate () |
Private Attributes | |
T | min_ [3] |
T | max_ [3] |
bool | empty_ |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by Query::applyCamera().
|
inline |
Referenced by Box< T >::extend(), and Page::queryWhereBox().
|
inline |
Referenced by Query::applyCamera(), IndexFile::selectLeaves(), IndexFile::selectLeaves(), and IndexFile::selectNodes().
Referenced by ViewerOpenGLViewport::renderAttributes(), Page::runColorModifier(), Query::setGrid(), and Query::setVoxels().
|
inline |
|
inline |
Referenced by ComputeHeightMapModifier::applyModifier(), Box< T >::Box(), IndexFile::divide(), IndexFile::insert(), Query::nextGrid(), Query::nextVoxel(), ViewerAabb::set(), ViewerAabb::set(), LasFile::Header::set(), FilterAreaBoxWidget::setRegion(), ComputeElevationAction::start(), IndexFileBuilder::stateMainBegin(), ComputeTreeAttributesAction::stepPointsToTrees(), and IndexFile::write().
|
inline |
Referenced by ComputeDescriptorPca::computeDescriptor().
|
inline |
Referenced by ComputeHeightMapModifier::applyModifier(), Box< T >::Box(), IndexFile::divide(), IndexFile::insert(), Query::nextGrid(), Query::nextVoxel(), Dataset::read(), ViewerAabb::set(), ViewerAabb::set(), LasFile::Header::set(), FilterAreaBoxWidget::setRegion(), ComputeElevationAction::start(), IndexFileBuilder::stateMainBegin(), ComputeTreeAttributesAction::stepPointsToTrees(), and IndexFile::write().
|
inline |
Referenced by Query::applyCamera().
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by LasFile::create(), IndexFile::divide(), FilterAreaBoxWidget::filterChanged(), IndexFile::insert(), Query::nextGrid(), Query::nextVoxel(), IndexFile::readPayload(), Query::setGrid(), IndexFileBuilder::stateCopyPoints(), IndexFileBuilder::stateMainBegin(), IndexFileBuilder::stateNodeInsert(), and PageData::transform().
|
inline |
Referenced by IndexFile::translate(), and Dataset::updateBoundary().
|
inlineprivate |
|
private |
Referenced by Box< T >::empty().
|
private |
|
private |