![]() |
Class to generate points on the surface of a mesh. More...
#include <SurgSim/Particles/RandomMeshPointGenerator.h>
Public Member Functions | |
Math::Vector3d | pointInShape (std::shared_ptr< Math::Shape > shape) override |
Math::Vector3d | pointOnShape (std::shared_ptr< Math::Shape > shape) override |
![]() | |
PointGenerator () | |
Constructor. More... | |
virtual | ~PointGenerator () |
Destructor. More... | |
virtual SurgSim::Math::Vector3d | pointInShape (std::shared_ptr< SurgSim::Math::Shape > shape)=0 |
Generates one point inside the given shape. More... | |
virtual SurgSim::Math::Vector3d | pointOnShape (std::shared_ptr< SurgSim::Math::Shape > shape)=0 |
Generates one point on the surface of the given shape. More... | |
Additional Inherited Members | |
![]() | |
std::mt19937 | m_generator |
std::uniform_real_distribution< double > | m_openOneOneDistribution |
std::uniform_real_distribution< double > | m_closedOneOneDistribution |
std::uniform_real_distribution< double > | m_closedZeroOneDistribution |
std::uniform_real_distribution< double > | m_closedZeroOpenOneDistribution |
Class to generate points on the surface of a mesh.
|
override |
|
override |