chrono::particlefactory::ChParticleRemoverBox Class Reference
Description
Utility class: shortcut for creating a ChParticleProcessor that already contains a ChParticleEventTriggerBox and a ChParticleProcessEventRemove.
Keeps things easier.
#include <ChParticleRemover.h>
Inheritance diagram for chrono::particlefactory::ChParticleRemoverBox:

Collaboration diagram for chrono::particlefactory::ChParticleRemoverBox:

Public Member Functions | |
void | SetBox (const ChVector3d &lengths, const ChFrame<> &frame) |
Set the dimensions and position of the trigger box. | |
ChBox & | GetBox () |
void | SetRemoveOutside (bool invert) |
Toggle inside/outside trigger. | |
![]() | |
virtual int | ProcessParticles (ChSystem &msystem) |
This function process particles according to some rule, defined by plugging appropriate ChParticleEventTrigger and ChParticleProcessEvent. More... | |
void | SetEventTrigger (std::shared_ptr< ChParticleEventTrigger > mtrigger) |
Use this function to plug in an event trigger. | |
void | SetParticleEventProcessor (std::shared_ptr< ChParticleProcessEvent > mproc) |
Use this function to plug in a particle event processor. | |
Additional Inherited Members | |
![]() | |
std::shared_ptr< ChParticleEventTrigger > | trigger |
std::shared_ptr< ChParticleProcessEvent > | particle_processor |
The documentation for this class was generated from the following file:
- /builds/uwsbel/chrono/src/chrono/particlefactory/ChParticleRemover.h