PxDeformableElementFilter#

Defined in include/PxDeformableElementFilter.h

class PxDeformableElementFilter : public PxBase#

PxDeformableElementFilter class representing an element level collision filter for deformable actors.

Element filters define how parts of deformable actors are excluded from collisions. They are usually added to avoid conflicting attachment and contact constraints.

Public Functions

virtual void getActors(PxActor *&actor0, PxActor *&actor1) const = 0#

Gets the actors for this element filter.

Parameters:
  • actor0[out] The first actor.

  • actor1[out] The second actor.

inline virtual const char *getConcreteTypeName() const override#

Returns string name of PxDeformableElementFilter, used for serialization.

virtual void release() = 0#

Releases the PxBase instance, please check documentation of release in derived class.

template<class T>
inline T *is()#
template<class T>
inline const T *is() const#
inline PxType getConcreteType() const#

Returns concrete type of object.

See also

PxConcreteType

Returns:

PxConcreteType::Enum of serialized object

inline void setBaseFlag(PxBaseFlag::Enum flag, bool value)#

Set PxBaseFlag

Parameters:
  • flag[in] The flag to be set

  • value[in] The flags new value

inline void setBaseFlags(PxBaseFlags inFlags)#

Set PxBaseFlags

See also

PxBaseFlags

Parameters:

inFlags[in] The flags to be set

inline PxBaseFlags getBaseFlags() const#

Returns PxBaseFlags.

See also

PxBaseFlags

Returns:

PxBaseFlags

inline virtual bool isReleasable() const#

Whether the object is subordinate.

A class is subordinate, if it can only be instantiated in the context of another class.

Returns:

Whether the class is subordinate

Public Members

void *userData#

user can assign this to whatever, usually to create a 1:1 relationship with a user object.

Protected Functions

inline virtual ~PxDeformableElementFilter()#
inline PxDeformableElementFilter(
PxType concreteType,
PxBaseFlags baseFlags,
)#

Constructor.

inline PxDeformableElementFilter(PxBaseFlags baseFlags)#

Deserialization constructor.

inline virtual bool isKindOf(const char *name) const override#

Returns whether a given type name matches with the type of this instance.

template<class T>
inline bool typeMatch() const#

Protected Attributes

PxType mConcreteType#
PxBaseFlags mBaseFlags#
PxU32 mBuiltInRefCount#