PrimitiveFilter Class Reference

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...
 

Detailed Description

A brief description.

Detailed Description

Definition at line 48 of file PrimitiveFilter.h.

Constructor & Destructor Documentation

◆ PrimitiveFilter()

PrimitiveFilter Constructor.

Definition at line 32 of file PrimitiveFilter.cpp.

◆ ~PrimitiveFilter()

PrimitiveFilter Destructor.

Definition at line 36 of file PrimitiveFilter.cpp.

Member Function Documentation

◆ getFrustum()

const Eigen::Matrix3f getFrustum ( )

◆ getPrimitivesInFieldOfView()

void getPrimitivesInFieldOfView ( std::vector< memoryx::EnvironmentalPrimitiveBasePtr >  allPrimitives,
std::vector< memoryx::EnvironmentalPrimitiveBasePtr > &  visiblePrimitives,
std::vector< memoryx::EnvironmentalPrimitiveBasePtr > &  otherPrimitives 
)

Definition at line 42 of file PrimitiveFilter.cpp.

+ Here is the call graph for this function:

◆ intersectsFrustum()

bool intersectsFrustum ( Eigen::Matrix4f  pose,
Eigen::Vector3f  extent 
)

Definition at line 200 of file PrimitiveFilter.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isPointInFrustum()

bool isPointInFrustum ( Eigen::Vector3f  point)

Definition at line 227 of file PrimitiveFilter.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateCameraPosition()

Eigen::Matrix3Xf updateCameraPosition ( Eigen::Matrix4f  cameraToWorld)

adapted from https://github.com/vanderlin/FrustumCulling/

Definition at line 127 of file PrimitiveFilter.cpp.

+ Here is the call graph for this function:

◆ visualizeFrustum()

void visualizeFrustum ( DebugDrawerInterfacePrx  debugDrawerTopicPrx)

Definition at line 67 of file PrimitiveFilter.cpp.


The documentation for this class was generated from the following files: