Go to the documentation of this file.
27 #include <Eigen/Geometry>
30 #include <RobotAPI/interface/core/PoseBase.h>
31 #include <RobotAPI/interface/core/RobotState.h>
33 #include <RobotAPI/interface/visualization/DebugDrawerInterface.h>
38 #include <MemoryX/interface/memorytypes/MemoryEntities.h>
69 void getPrimitivesInFieldOfView(std::vector<memoryx::EnvironmentalPrimitiveBasePtr> allPrimitives, std::vector<memoryx::EnvironmentalPrimitiveBasePtr>& visiblePrimitives, std::vector<memoryx::EnvironmentalPrimitiveBasePtr>& otherPrimitives);
const Eigen::Matrix3f getFrustum()
void getPrimitivesInFieldOfView(std::vector< memoryx::EnvironmentalPrimitiveBasePtr > allPrimitives, std::vector< memoryx::EnvironmentalPrimitiveBasePtr > &visiblePrimitives, std::vector< memoryx::EnvironmentalPrimitiveBasePtr > &otherPrimitives)
bool isPointInFrustum(Eigen::Vector3f point)
void visualizeFrustum(DebugDrawerInterfacePrx debugDrawerTopicPrx)
~PrimitiveFilter()
PrimitiveFilter Destructor.
Eigen::Matrix3Xf updateCameraPosition(Eigen::Matrix4f cameraToWorld)
adapted from https://github.com/vanderlin/FrustumCulling/
MatrixXX< 3, 3, float > Matrix3f
MatrixXX< 4, 4, float > Matrix4f
This file offers overloads of toIce() and fromIce() functions for STL container types.
bool intersectsFrustum(Eigen::Matrix4f pose, Eigen::Vector3f extent)
PrimitiveFilter()
PrimitiveFilter Constructor.