|
AGXDynamics
2.31.1.0
|
Class for visiting all elements in a tree of Assemblies. More...
#include <Assembly.h>
Inheritance diagram for agxSDK::AssemblyVisitor:Public Member Functions | |
| AssemblyVisitor () | |
| virtual | ~AssemblyVisitor () |
| bool | succeed () const |
Protected Member Functions | |
| void | setSucceed (bool flag) |
| virtual void | visit (agx::Constraint *) |
| virtual void | visit (agx::Interaction *) |
| virtual void | visit (agx::RigidBody *) |
| virtual void | visit (agxCollide::Geometry *) |
| virtual void | visit (Assembly *) |
| virtual void | visit (EventListener *) |
| virtual void | visit (agx::ContactMaterial *) |
| virtual void | visit (agx::ParticleSystem *) |
| virtual void | visit (agx::Emitter *) |
| virtual void | visit (agx::ObserverFrame *) |
| virtual void | visit (const agx::Constraint *) const |
| virtual void | visit (const agx::Interaction *) const |
| virtual void | visit (const agx::RigidBody *) const |
| virtual void | visit (const agxCollide::Geometry *) const |
| virtual void | visit (const Assembly *) const |
| virtual void | visit (const EventListener *) const |
| virtual void | visit (const agx::ContactMaterial *) const |
| virtual void | visit (const agx::ParticleSystem *) const |
| virtual void | visit (const agx::Emitter *) const |
| virtual void | visit (const agx::ObserverFrame *) const |
Protected Attributes | |
| bool | m_succeed |
Class for visiting all elements in a tree of Assemblies.
For each Body/constraint/geometry/assembly/EventListener a virtual call to visit (with the specified type) is performed.
This class can be used to enable all bodies in a structure/disable collisions between all geometries etc.. Just derive from this class and implement the visit method that you are interested in using.
Definition at line 708 of file Assembly.h.
| agxSDK::AssemblyVisitor::AssemblyVisitor | ( | ) |
|
virtual |
|
inlineprotected |
Definition at line 744 of file Assembly.h.
| bool agxSDK::AssemblyVisitor::succeed | ( | ) | const |
|
inlineprotectedvirtual |
Definition at line 722 of file Assembly.h.
Referenced by agxUtil::CollectBodiesAndWiresVisitor::getUserWireNodes().
|
inlineprotectedvirtual |
Definition at line 723 of file Assembly.h.
|
inlineprotectedvirtual |
Reimplemented in agxUtil::CollectBodiesAndWiresVisitor.
Definition at line 724 of file Assembly.h.
|
inlineprotectedvirtual |
Definition at line 725 of file Assembly.h.
Reimplemented in agxUtil::CollectBodiesAndWiresVisitor.
|
inlineprotectedvirtual |
Reimplemented in agxUtil::CollectBodiesAndWiresVisitor.
Definition at line 727 of file Assembly.h.
|
inlineprotectedvirtual |
Definition at line 728 of file Assembly.h.
|
inlineprotectedvirtual |
Definition at line 729 of file Assembly.h.
|
inlineprotectedvirtual |
Definition at line 730 of file Assembly.h.
|
inlineprotectedvirtual |
Definition at line 731 of file Assembly.h.
|
inlineprotectedvirtual |
Definition at line 733 of file Assembly.h.
|
inlineprotectedvirtual |
Definition at line 734 of file Assembly.h.
|
inlineprotectedvirtual |
Reimplemented in agxUtil::CollectBodiesAndWiresVisitor.
Definition at line 735 of file Assembly.h.
|
inlineprotectedvirtual |
Definition at line 736 of file Assembly.h.
Reimplemented in agxUtil::CollectBodiesAndWiresVisitor.
|
inlineprotectedvirtual |
Reimplemented in agxUtil::CollectBodiesAndWiresVisitor.
Definition at line 738 of file Assembly.h.
|
inlineprotectedvirtual |
Definition at line 739 of file Assembly.h.
|
inlineprotectedvirtual |
Definition at line 740 of file Assembly.h.
|
inlineprotectedvirtual |
Definition at line 741 of file Assembly.h.
|
inlineprotectedvirtual |
Definition at line 742 of file Assembly.h.
|
protected |
Definition at line 748 of file Assembly.h.