TreeExecuteFilter allows to catch contacts with the Tree.
More...
#include <Tree.h>
|
| | TreeExecuteFilter () |
| | Default constructor.
|
| |
| virtual agxModel::Tree::TreeExecuteFilter * | clone () |
| | Clone method of the TreeExecuteFilter.
|
| |
| virtual bool | match (const agxCollide::GeometryContact &contact) const override |
| | Find contacts where one geometry is the Tree.
|
| |
| virtual bool | match (const agxCollide::GeometryPair &pair) const override |
| | Find contacts where one geometry is the Tree.
|
| |
| virtual bool | match (const agxCollide::Geometry *geometry1, const agxCollide::Geometry *geometry2) const |
| | Called by the other two match functions if they are not overridden.
|
| |
| | Referenced () |
| | Default constructor.
|
| |
| | Referenced (const Referenced &) |
| |
| template<typename T > |
| T * | as () |
| | Subclass casting.
|
| |
| template<typename T > |
| const T * | as () const |
| |
| template<typename T > |
| T * | asSafe () |
| | Safe subclass casting, return nullptr if template type does not match.
|
| |
| template<typename T > |
| const T * | asSafe () const |
| |
| int | getReferenceCount () const |
| |
| template<typename T > |
| bool | is () const |
| | Subclass test.
|
| |
| Referenced & | operator= (const Referenced &) |
| | Assignment operator. Will increment the number of references to the referenced object.
|
| |
| void | reference (void *ptr=nullptr) const |
| | Explicitly increment the reference count by one, indicating that this object has another pointer which is referencing it.
|
| |
| void | unreference (void *ptr=nullptr) const |
| | Decrement the reference count by one, indicating that a pointer to this object is referencing it.
|
| |
| void | unreference_nodelete () const |
| | Decrement the reference count by one, indicating that a pointer to this object is referencing it.
|
| |
TreeExecuteFilter allows to catch contacts with the Tree.
Note that TreeExecuteFilter is not serializable. A tree that has been made static and to wake on contact, using a TreeExecuteFilter, will remain in the same state, but not able to wake up after being restored. Use Tree::setTreeExecuteFilter to set the filter again in that case.
Definition at line 324 of file agxModel/Tree.h.
◆ TreeExecuteFilter()
| agxModel::Tree::TreeExecuteFilter::TreeExecuteFilter |
( |
| ) |
|
◆ ~TreeExecuteFilter()
| virtual agxModel::Tree::TreeExecuteFilter::~TreeExecuteFilter |
( |
| ) |
|
|
protectedvirtual |
◆ clone()
◆ getTreeID()
| agx::UInt32 agxModel::Tree::TreeExecuteFilter::getTreeID |
( |
| ) |
const |
|
protected |
◆ match() [1/2]
◆ match() [2/2]
| virtual bool agxModel::Tree::TreeExecuteFilter::match |
( |
const agxCollide::GeometryPair & |
pair | ) |
const |
|
overridevirtual |
Find contacts where one geometry is the Tree.
- Returns
- true if one geometry in the pair is part of the Tree
Reimplemented from agxSDK::ExecuteFilter.
The documentation for this class was generated from the following file: