SOFA API  014b24ea
Open source framework for multi-physics simuation
sofa::component::collision::InciseAlongPathPerformer Class Reference

#include <InciseAlongPathPerformer.h>

Inheritance diagram for sofa::component::collision::InciseAlongPathPerformer:

Protected Attributes

TopologicalChangeManager topologyChangeManager
 
BodyPicked startBody
 
BodyPicked firstBody
 
BodyPicked secondBody
 
BodyPicked firstIncisionBody
 
int cpt
 
bool fullcut
 
unsigned int initialNbTriangles
 
unsigned int initialNbPoints
 
- Protected Attributes inherited from sofa::component::collision::InciseAlongPathPerformerConfiguration
int currentMethod
 
int snapingBorderValue
 
int snapingValue
 
bool finishIncision
 
bool keepPoint
 

Public Member Functions

 InciseAlongPathPerformer (BaseMouseInteractor *i)
 
 ~InciseAlongPathPerformer () override
 
void start () override
 
void execute () override
 
void draw (const core::visual::VisualParams *vparams) override
 
BodyPickedgetFirstIncisionBodyPicked ()
 
BodyPickedgetLastBodyPicked ()
 
void setPerformerFreeze () override
 
- Public Member Functions inherited from sofa::component::collision::InteractionPerformer
 InteractionPerformer (BaseMouseInteractor *i)
 
virtual ~InteractionPerformer ()
 
virtual void configure (configurationsetting::MouseButtonSetting *)
 
virtual void handleEvent (core::objectmodel::Event *)
 
- Public Member Functions inherited from sofa::component::collision::InciseAlongPathPerformerConfiguration
void setIncisionMethod (int m)
 
void setSnapingBorderValue (int m)
 
void setSnapingValue (int m)
 
void setCompleteIncision (bool m)
 
void setKeepPoint (bool m)
 

Protected Member Functions

void PerformCompleteIncision ()
 Incision will be perfomed between firstIncisionBody (first point clicked) and firstBody (last point clicked in memory) More...
 

Additional Inherited Members

- Public Attributes inherited from sofa::component::collision::InteractionPerformer
BaseMouseInteractorinteractor
 
bool freezePerformer
 
- Static Public Member Functions inherited from sofa::component::collision::InteractionPerformer
template<class RealObject >
static RealObject * create (RealObject *, BaseMouseInteractor *interactor)
 

Attribute details

int sofa::component::collision::InciseAlongPathPerformer::cpt
protected
BodyPicked sofa::component::collision::InciseAlongPathPerformer::firstBody
protected
BodyPicked sofa::component::collision::InciseAlongPathPerformer::firstIncisionBody
protected
bool sofa::component::collision::InciseAlongPathPerformer::fullcut
protected
unsigned int sofa::component::collision::InciseAlongPathPerformer::initialNbPoints
protected
unsigned int sofa::component::collision::InciseAlongPathPerformer::initialNbTriangles
protected
BodyPicked sofa::component::collision::InciseAlongPathPerformer::secondBody
protected
BodyPicked sofa::component::collision::InciseAlongPathPerformer::startBody
protected
TopologicalChangeManager sofa::component::collision::InciseAlongPathPerformer::topologyChangeManager
protected

Constructor details

sofa::component::collision::InciseAlongPathPerformer::InciseAlongPathPerformer ( BaseMouseInteractor i)
inline
sofa::component::collision::InciseAlongPathPerformer::~InciseAlongPathPerformer ( )
override

Function details

void sofa::component::collision::InciseAlongPathPerformer::draw ( const core::visual::VisualParams vparams)
overridevirtual
void sofa::component::collision::InciseAlongPathPerformer::execute ( )
overridevirtual
BodyPicked& sofa::component::collision::InciseAlongPathPerformer::getFirstIncisionBodyPicked ( )
inline
BodyPicked& sofa::component::collision::InciseAlongPathPerformer::getLastBodyPicked ( )
inline
void sofa::component::collision::InciseAlongPathPerformer::PerformCompleteIncision ( )
protected

Incision will be perfomed between firstIncisionBody (first point clicked) and firstBody (last point clicked in memory)

void sofa::component::collision::InciseAlongPathPerformer::setPerformerFreeze ( )
overridevirtual
void sofa::component::collision::InciseAlongPathPerformer::start ( )
overridevirtual