|
A brief description. More...
#include <VisionX/components/pointcloud_processor/PrimitiveExtractor/PrimitiveFilter.h>
Public Member Functions | |
const Eigen::Matrix3f | getFrustum () |
void | getPrimitivesInFieldOfView (std::vector< memoryx::EnvironmentalPrimitiveBasePtr > allPrimitives, std::vector< memoryx::EnvironmentalPrimitiveBasePtr > &visiblePrimitives, std::vector< memoryx::EnvironmentalPrimitiveBasePtr > &otherPrimitives) |
bool | intersectsFrustum (Eigen::Matrix4f pose, Eigen::Vector3f extent) |
bool | isPointInFrustum (Eigen::Vector3f point) |
PrimitiveFilter () | |
PrimitiveFilter Constructor. More... | |
Eigen::Matrix3Xf | updateCameraPosition (Eigen::Matrix4f cameraToWorld) |
adapted from https://github.com/vanderlin/FrustumCulling/ More... | |
void | visualizeFrustum (DebugDrawerInterfacePrx debugDrawerTopicPrx) |
~PrimitiveFilter () | |
PrimitiveFilter Destructor. More... | |
PrimitiveFilter | ( | ) |
PrimitiveFilter Constructor.
Definition at line 32 of file PrimitiveFilter.cpp.
~PrimitiveFilter | ( | ) |
PrimitiveFilter Destructor.
Definition at line 36 of file PrimitiveFilter.cpp.
const Eigen::Matrix3f getFrustum | ( | ) |
void getPrimitivesInFieldOfView | ( | std::vector< memoryx::EnvironmentalPrimitiveBasePtr > | allPrimitives, |
std::vector< memoryx::EnvironmentalPrimitiveBasePtr > & | visiblePrimitives, | ||
std::vector< memoryx::EnvironmentalPrimitiveBasePtr > & | otherPrimitives | ||
) |
bool intersectsFrustum | ( | Eigen::Matrix4f | pose, |
Eigen::Vector3f | extent | ||
) |
Definition at line 200 of file PrimitiveFilter.cpp.
bool isPointInFrustum | ( | Eigen::Vector3f | point | ) |
Definition at line 227 of file PrimitiveFilter.cpp.
Eigen::Matrix3Xf updateCameraPosition | ( | Eigen::Matrix4f | cameraToWorld | ) |
adapted from https://github.com/vanderlin/FrustumCulling/
Definition at line 127 of file PrimitiveFilter.cpp.
void visualizeFrustum | ( | DebugDrawerInterfacePrx | debugDrawerTopicPrx | ) |
Definition at line 67 of file PrimitiveFilter.cpp.