Classes | Namespaces | Functions
TransferPhysicsToGraphicsMeshBehavior.h File Reference
#include "SurgSim/DataStructures/TriangleMesh.h"
#include "SurgSim/Framework/Behavior.h"
#include "SurgSim/Framework/Macros.h"

Go to the source code of this file.

Classes

class  SurgSim::Blocks::TransferPhysicsToGraphicsMeshBehavior
 Behavior to copy positions of a PhysicsRepresentation to a GraphicsMesh. More...
 

Namespaces

 SurgSim
 
 SurgSim::Framework
 
 SurgSim::Graphics
 
 SurgSim::Physics
 
 SurgSim::Blocks
 

Functions

std::vector< std::pair< size_t, size_t > > SurgSim::Blocks::generateIndexMap (const std::shared_ptr< DataStructures::TriangleMeshPlain > &source, const std::shared_ptr< DataStructures::TriangleMeshPlain > &target)
 Generate a mapping, for each point in source find the points target that coincide. More...