![]() |
PeriDyno 1.0.0
|
particle attribute 0x00000000: [31-30]material; [29]motion; [28]Dynamic; [27-8]undefined yet, for future use; [7-0]correspondding to the id of a fluid phase in multiphase fluid or an object in a multibody system More...
#include <Attribute.h>
Public Types | |
enum | MaterialType { MATERIAL_MASK = 0xC0000000 , MATERIAL_FLUID = 0x00000000 , MATERIAL_RIGID = 0x40000000 , MATERIAL_ELASTIC = 0x80000000 , MATERIAL_PLASTIC = 0xC0000000 } |
enum | KinematicType { KINEMATIC_MASK = 0x30000000 , KINEMATIC_FIXED = 0x00000000 , KINEMATIC_PASSIVE = 0x10000000 , KINEMATIC_POSITIVE = 0x20000000 } |
enum | ObjectID { OBJECTID_MASK = 0x000000FF , OBJECTID_INVALID = 0x000000FF } |
Public Member Functions | |
DYN_FUNC | Attribute () |
DYN_FUNC | ~Attribute () |
DYN_FUNC void | setMaterialType (MaterialType type) |
DYN_FUNC void | setKinematicType (KinematicType type) |
DYN_FUNC void | setObjectId (unsigned id) |
DYN_FUNC MaterialType | materialType () |
DYN_FUNC KinematicType | kinematicType () |
DYN_FUNC bool | isFluid () |
DYN_FUNC bool | isRigid () |
DYN_FUNC bool | isElastic () |
DYN_FUNC bool | isPlastic () |
DYN_FUNC void | setFluid () |
DYN_FUNC void | setRigid () |
DYN_FUNC void | setElastic () |
DYN_FUNC void | setPlastic () |
DYN_FUNC bool | isFixed () |
DYN_FUNC bool | isPassive () |
DYN_FUNC bool | isDynamic () |
DYN_FUNC void | setFixed () |
DYN_FUNC void | setPassive () |
DYN_FUNC void | setDynamic () |
DYN_FUNC unsigned | objectId () |
Private Attributes | |
uint | m_tag |
particle attribute 0x00000000: [31-30]material; [29]motion; [28]Dynamic; [27-8]undefined yet, for future use; [7-0]correspondding to the id of a fluid phase in multiphase fluid or an object in a multibody system
Definition at line 25 of file Attribute.h.
Enumerator | |
---|---|
KINEMATIC_MASK | |
KINEMATIC_FIXED | |
KINEMATIC_PASSIVE | |
KINEMATIC_POSITIVE |
Definition at line 45 of file Attribute.h.
Enumerator | |
---|---|
MATERIAL_MASK | |
MATERIAL_FLUID | |
MATERIAL_RIGID | |
MATERIAL_ELASTIC | |
MATERIAL_PLASTIC |
Definition at line 36 of file Attribute.h.
Enumerator | |
---|---|
OBJECTID_MASK | |
OBJECTID_INVALID |
Definition at line 53 of file Attribute.h.
|
inline |
|
inline |
Definition at line 34 of file Attribute.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 82 of file Attribute.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 87 of file Attribute.h.