PeriDyno 1.0.0
Loading...
Searching...
No Matches
dyno::DiscreteElements< TDataType > Class Template Reference

#include <DiscreteElements.h>

Inheritance diagram for dyno::DiscreteElements< TDataType >:
Collaboration diagram for dyno::DiscreteElements< TDataType >:

Public Types

typedef TDataType::Real Real
 
typedef TDataType::Coord Coord
 
typedef TDataType::Matrix Matrix
 
typedef ::dyno::TSphere3D< RealSphere3D
 
typedef ::dyno::TOrientedBox3D< RealBox3D
 
typedef ::dyno::TTet3D< RealTet3D
 
typedef ::dyno::BallAndSocketJoint< RealBallAndSocketJoint
 
typedef ::dyno::SliderJoint< RealSliderJoint
 
typedef ::dyno::HingeJoint< RealHingeJoint
 
typedef ::dyno::FixedJoint< RealFixedJoint
 
typedef ::dyno::PointJoint< RealPointJoint
 
typedef ::dyno::DistanceJoint< RealDistanceJoint
 
- Public Types inherited from dyno::TopologyModule
typedef PointType Point
 
typedef VectorND< PointType, 2 > Edge
 
typedef Vector< PointType, 3 > Triangle
 
typedef VectorND< PointType, 4 > Quad
 
typedef VectorND< PointType, 4 > Tetrahedron
 
typedef VectorND< PointType, 5 > Pyramid
 
typedef VectorND< PointType, 6 > Pentahedron
 
typedef VectorND< PointType, 8 > Hexahedron
 
typedef VectorND< PointType, 2 > Edg2Tri
 
typedef VectorND< PointType, 3 > Tri2Edg
 
typedef VectorND< PointType, 2 > Edg2Quad
 
typedef VectorND< PointType, 4 > Quad2Edg
 
typedef VectorND< PointType, 2 > Tri2Tet
 
typedef VectorND< PointType, 4 > Tet2Tri
 
typedef VectorND< PointType, 2 > Tri2Quad
 
typedef VectorND< PointType, 2 > Quad2Hex
 
typedef VectorND< PointType, 2 > Edg2Hex
 
typedef VectorND< PointType, 2 > Edg2Poly
 
- Public Types inherited from dyno::OBase
typedef std::vector< FBase * > FieldVector
 
typedef std::map< FieldID, FBase * > FieldMap
 

Public Member Functions

 DiscreteElements ()
 
 ~DiscreteElements () override
 
void scale (Real s)
 
uint totalSize ()
 
uint totalJointSize ()
 
uint sphereIndex ()
 
uint boxIndex ()
 
uint tetIndex ()
 
uint capsuleIndex ()
 
uint triangleIndex ()
 
ElementOffset calculateElementOffset ()
 
void setSpheres (DArray< Sphere3D > &spheres)
 
void setBoxes (DArray< Box3D > &boxes)
 
void setTets (DArray< Tet3D > &tets)
 
void setCapsules (DArray< Capsule3D > &capsules)
 
void setTriangles (DArray< Triangle3D > &triangles)
 
void setTetSDF (DArray< Real > &sdf)
 
DArray< Sphere3D > & spheresInLocal ()
 
DArray< Box3D > & boxesInLocal ()
 
DArray< Tet3D > & tetsInLocal ()
 
DArray< Capsule3D > & capsulesInLocal ()
 
DArray< Triangle3D > & trianglesInLocal ()
 
DArray< Sphere3D > & spheresInGlobal ()
 
DArray< Box3D > & boxesInGlobal ()
 
DArray< Tet3D > & tetsInGlobal ()
 
DArray< Capsule3D > & capsulesInGlobal ()
 
DArray< Triangle3D > & trianglesInGlobal ()
 
DArray< Pair< uint, uint > > & shape2RigidBodyMapping ()
 
DArray< Coord > & position ()
 
DArray< Matrix > & rotation ()
 
void setPosition (const DArray< Coord > &pos)
 
void setRotation (const DArray< Matrix > &rot)
 
DArray< BallAndSocketJoint > & ballAndSocketJoints ()
 
DArray< SliderJoint > & sliderJoints ()
 
DArray< HingeJoint > & hingeJoints ()
 
DArray< FixedJoint > & fixedJoints ()
 
DArray< PointJoint > & pointJoints ()
 
DArray< DistanceJoint > & distanceJoints ()
 
void setTetBodyId (DArray< int > &body_id)
 
void setTetElementId (DArray< TopologyModule::Tetrahedron > &element_id)
 
DArray< Real > & getTetSDF ()
 
DArray< int > & getTetBodyMapping ()
 
DArray< TopologyModule::Tetrahedron > & getTetElementMapping ()
 
void copyFrom (DiscreteElements< TDataType > &de)
 
void merge (CArray< std::shared_ptr< DiscreteElements< TDataType > > > &topos)
 
void requestDiscreteElementsInGlobal (DArray< Box3D > &boxInGlobal, DArray< Sphere3D > &sphereInGlobal, DArray< Tet3D > &tetInGlobal, DArray< Capsule3D > &capInGlobal, DArray< Triangle3D > &triInGlobal)
 
void requestBoxInGlobal (DArray< Box3D > &boxInGlobal)
 
void requestSphereInGlobal (DArray< Sphere3D > &sphereInGlobal)
 
void requestTetInGlobal (DArray< Tet3D > &tetInGlobal)
 
void requestCapsuleInGlobal (DArray< Capsule3D > &capInGlobal)
 
void requestTriangleInGlobal (DArray< Triangle3D > &triInGlobal)
 
 DiscreteElements ()
 
 ~DiscreteElements () override
 
void setBoxes (std::vector< px::Box > boxes)
 
void setSpheres (std::vector< px::Sphere > spheres)
 
void setCapsules (std::vector< px::Capsule > capsules)
 
VkDeviceArray< px::Box > & getBoxes ()
 
VkDeviceArray< px::Sphere > & getSpheres ()
 
VkDeviceArray< px::Capsule > & getCapsules ()
 
ElementOffset getElementOffset ()
 
uint32_t getTotalElementSize ()
 
- Public Member Functions inherited from dyno::TopologyModule
 TopologyModule ()
 
 ~TopologyModule () override
 
virtual int getDOF ()
 
void tagAsChanged ()
 
void tagAsUnchanged ()
 
bool isTopologyChanged ()
 
void update ()
 
- Public Member Functions inherited from dyno::OBase
 OBase ()
 
 ~OBase () override
 
virtual std::string caption ()
 Return the caption.
 
virtual bool captionVisible ()
 Whether to hide the caption in the GUI.
 
virtual std::string description ()
 Return a description for the node or module, override this function to support user-defined description.
 
virtual std::string getName ()
 
bool addField (FBase *data)
 Add a field to Base FieldID will be set to the name of Field by default.
 
bool addField (FieldID name, FBase *data)
 Add a field to Base.
 
bool addFieldAlias (FieldID name, FBase *data)
 
bool addFieldAlias (FieldID name, FBase *data, FieldMap &fieldAlias)
 
bool findField (FBase *data)
 Find a field by its pointer.
 
bool findFieldAlias (const FieldID name)
 Find a field by its name.
 
bool findFieldAlias (const FieldID name, FieldMap &fieldAlias)
 Find a field in fieldAlias by its name This function is typically called by other functions.
 
bool removeField (FBase *data)
 Remove a field by its pointer.
 
bool removeFieldAlias (const FieldID name)
 Remove a field by its name.
 
bool removeFieldAlias (const FieldID name, FieldMap &fieldAlias)
 
FBasegetField (const FieldID name)
 Return a field by its name.
 
std::vector< FBase * > & getAllFields ()
 
virtual bool attachField (FBase *field, std::string name, std::string desc, bool autoDestroy=true)
 Attach a field to Base.
 
template<typename T>
TgetField (FieldID name)
 
bool isAllFieldsReady ()
 Check the completeness of all required fields.
 
std::vector< FieldIDgetFieldAlias (FBase *data)
 
int getFieldAliasCount (FBase *data)
 
void setBlockCoord (float x, float y)
 
float bx ()
 
float by ()
 
bool findInputField (FBase *field)
 
bool addInputField (FBase *field)
 
bool removeInputField (FBase *field)
 
std::vector< FBase * > & getInputFields ()
 
bool findOutputField (FBase *field)
 
bool addOutputField (FBase *field)
 
bool addToOutput (FBase *field)
 
bool removeOutputField (FBase *field)
 
bool removeFromOutput (FBase *field)
 
std::vector< FBase * > & getOutputFields ()
 
bool findParameter (FBase *field)
 
bool addParameter (FBase *field)
 
bool removeParameter (FBase *field)
 
std::vector< FBase * > & getParameters ()
 
- Public Member Functions inherited from dyno::Object
 Object ()
 
virtual ~Object ()
 
ObjectId objectId ()
 

Protected Member Functions

void updateTopology () override
 

Protected Attributes

DArray< Sphere3DmSpheresInLocal
 
DArray< Box3DmBoxesInLocal
 
DArray< Tet3DmTetsInLocal
 
DArray< Capsule3DmCapsulesInLocal
 
DArray< Triangle3DmTrianglesInLocal
 
DArray< Sphere3DmSphereInGlobal
 
DArray< Box3DmBoxInGlobal
 
DArray< Tet3DmTetInGlobal
 
DArray< Capsule3DmCapsuleInGlobal
 
DArray< Triangle3DmTriangleInGlobal
 
DArray< BallAndSocketJointmBallAndSocketJoints
 
DArray< SliderJointmSliderJoints
 
DArray< HingeJointmHingeJoints
 
DArray< FixedJointmFixedJoints
 
DArray< PointJointmPointJoints
 
DArray< DistanceJointmDistanceJoints
 
DArray< Pair< uint, uint > > mShape2RigidBody
 
DArray< CoordmPosition
 
DArray< MatrixmRotation
 
DArray< Realm_tet_sdf
 
DArray< int > m_tet_body_mapping
 
DArray< TopologyModule::Tetrahedronm_tet_element_id
 
- Protected Attributes inherited from dyno::OBase
std::vector< FBase * > fields_input
 
std::vector< FBase * > fields_output
 
std::vector< FBase * > fields_param
 

Private Attributes

VkDeviceArray< px::BoxmBoxes
 
VkDeviceArray< px::CapsulemCapsules
 
VkDeviceArray< px::SpheremSpheres
 

Additional Inherited Members

- Static Public Member Functions inherited from dyno::Object
static bool registerClass (ClassInfo *ci)
 
static ObjectcreateObject (std::string name)
 
static std::map< std::string, ClassInfo * > * getClassMap ()
 
static ObjectId baseId ()
 Base Id.
 

Detailed Description

template<typename TDataType>
class dyno::DiscreteElements< TDataType >

Discrete elements will arranged in the order of sphere, box, tet, capsule, triangle

Definition at line 506 of file DiscreteElements.h.

Member Typedef Documentation

◆ BallAndSocketJoint

template<typename TDataType>
typedef ::dyno::BallAndSocketJoint<Real> dyno::DiscreteElements< TDataType >::BallAndSocketJoint

Definition at line 518 of file DiscreteElements.h.

◆ Box3D

template<typename TDataType>
typedef ::dyno::TOrientedBox3D<Real> dyno::DiscreteElements< TDataType >::Box3D

Definition at line 515 of file DiscreteElements.h.

◆ Coord

template<typename TDataType>
typedef TDataType::Coord dyno::DiscreteElements< TDataType >::Coord

Definition at line 511 of file DiscreteElements.h.

◆ DistanceJoint

template<typename TDataType>
typedef ::dyno::DistanceJoint<Real> dyno::DiscreteElements< TDataType >::DistanceJoint

Definition at line 523 of file DiscreteElements.h.

◆ FixedJoint

template<typename TDataType>
typedef ::dyno::FixedJoint<Real> dyno::DiscreteElements< TDataType >::FixedJoint

Definition at line 521 of file DiscreteElements.h.

◆ HingeJoint

template<typename TDataType>
typedef ::dyno::HingeJoint<Real> dyno::DiscreteElements< TDataType >::HingeJoint

Definition at line 520 of file DiscreteElements.h.

◆ Matrix

template<typename TDataType>
typedef TDataType::Matrix dyno::DiscreteElements< TDataType >::Matrix

Definition at line 512 of file DiscreteElements.h.

◆ PointJoint

template<typename TDataType>
typedef ::dyno::PointJoint<Real> dyno::DiscreteElements< TDataType >::PointJoint

Definition at line 522 of file DiscreteElements.h.

◆ Real

template<typename TDataType>
typedef TDataType::Real dyno::DiscreteElements< TDataType >::Real

Definition at line 510 of file DiscreteElements.h.

◆ SliderJoint

template<typename TDataType>
typedef ::dyno::SliderJoint<Real> dyno::DiscreteElements< TDataType >::SliderJoint

Definition at line 519 of file DiscreteElements.h.

◆ Sphere3D

template<typename TDataType>
typedef ::dyno::TSphere3D<Real> dyno::DiscreteElements< TDataType >::Sphere3D

Definition at line 514 of file DiscreteElements.h.

◆ Tet3D

template<typename TDataType>
typedef ::dyno::TTet3D<Real> dyno::DiscreteElements< TDataType >::Tet3D

Definition at line 516 of file DiscreteElements.h.

Constructor & Destructor Documentation

◆ DiscreteElements() [1/2]

template<typename TDataType>
dyno::DiscreteElements< TDataType >::DiscreteElements ( )

Definition at line 6 of file DiscreteElements.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~DiscreteElements() [1/2]

template<typename TDataType>
dyno::DiscreteElements< TDataType >::~DiscreteElements ( )
override

Definition at line 11 of file DiscreteElements.cpp.

◆ DiscreteElements() [2/2]

template<typename TDataType>
dyno::DiscreteElements< TDataType >::DiscreteElements ( )

◆ ~DiscreteElements() [2/2]

template<typename TDataType>
dyno::DiscreteElements< TDataType >::~DiscreteElements ( )
override

Member Function Documentation

◆ ballAndSocketJoints()

template<typename TDataType>
DArray< BallAndSocketJoint > & dyno::DiscreteElements< TDataType >::ballAndSocketJoints ( )
inline

Definition at line 570 of file DiscreteElements.h.

◆ boxesInGlobal()

template<typename TDataType>
DArray< Box3D > & dyno::DiscreteElements< TDataType >::boxesInGlobal ( )
inline

Definition at line 557 of file DiscreteElements.h.

◆ boxesInLocal()

template<typename TDataType>
DArray< Box3D > & dyno::DiscreteElements< TDataType >::boxesInLocal ( )
inline

Definition at line 551 of file DiscreteElements.h.

◆ boxIndex()

template<typename TDataType>
uint dyno::DiscreteElements< TDataType >::boxIndex ( )

◆ calculateElementOffset()

template<typename TDataType>
ElementOffset dyno::DiscreteElements< TDataType >::calculateElementOffset ( )

◆ capsuleIndex()

template<typename TDataType>
uint dyno::DiscreteElements< TDataType >::capsuleIndex ( )

◆ capsulesInGlobal()

template<typename TDataType>
DArray< Capsule3D > & dyno::DiscreteElements< TDataType >::capsulesInGlobal ( )
inline

Definition at line 559 of file DiscreteElements.h.

◆ capsulesInLocal()

template<typename TDataType>
DArray< Capsule3D > & dyno::DiscreteElements< TDataType >::capsulesInLocal ( )
inline

Definition at line 553 of file DiscreteElements.h.

◆ copyFrom()

template<typename TDataType>
void dyno::DiscreteElements< TDataType >::copyFrom ( DiscreteElements< TDataType > & de)
Here is the call graph for this function:

◆ distanceJoints()

template<typename TDataType>
DArray< DistanceJoint > & dyno::DiscreteElements< TDataType >::distanceJoints ( )
inline

Definition at line 575 of file DiscreteElements.h.

◆ fixedJoints()

template<typename TDataType>
DArray< FixedJoint > & dyno::DiscreteElements< TDataType >::fixedJoints ( )
inline

Definition at line 573 of file DiscreteElements.h.

◆ getBoxes()

template<typename TDataType>
VkDeviceArray< px::Box > & dyno::DiscreteElements< TDataType >::getBoxes ( )
inline

Definition at line 25 of file DiscreteElements.h.

◆ getCapsules()

template<typename TDataType>
VkDeviceArray< px::Capsule > & dyno::DiscreteElements< TDataType >::getCapsules ( )
inline

Definition at line 27 of file DiscreteElements.h.

◆ getElementOffset()

template<typename TDataType>
ElementOffset dyno::DiscreteElements< TDataType >::getElementOffset ( )

Definition at line 42 of file DiscreteElements.cpp.

◆ getSpheres()

template<typename TDataType>
VkDeviceArray< px::Sphere > & dyno::DiscreteElements< TDataType >::getSpheres ( )
inline

Definition at line 26 of file DiscreteElements.h.

◆ getTetBodyMapping()

template<typename TDataType>
DArray< int > & dyno::DiscreteElements< TDataType >::getTetBodyMapping ( )
inline

Definition at line 581 of file DiscreteElements.h.

◆ getTetElementMapping()

template<typename TDataType>
DArray< TopologyModule::Tetrahedron > & dyno::DiscreteElements< TDataType >::getTetElementMapping ( )
inline

Definition at line 582 of file DiscreteElements.h.

◆ getTetSDF()

template<typename TDataType>
DArray< Real > & dyno::DiscreteElements< TDataType >::getTetSDF ( )
inline

Definition at line 580 of file DiscreteElements.h.

◆ getTotalElementSize()

template<typename TDataType>
uint32_t dyno::DiscreteElements< TDataType >::getTotalElementSize ( )

Definition at line 52 of file DiscreteElements.cpp.

◆ hingeJoints()

template<typename TDataType>
DArray< HingeJoint > & dyno::DiscreteElements< TDataType >::hingeJoints ( )
inline

Definition at line 572 of file DiscreteElements.h.

◆ merge()

template<typename TDataType>
void dyno::DiscreteElements< TDataType >::merge ( CArray< std::shared_ptr< DiscreteElements< TDataType > > > & topos)
Here is the call graph for this function:

◆ pointJoints()

template<typename TDataType>
DArray< PointJoint > & dyno::DiscreteElements< TDataType >::pointJoints ( )
inline

Definition at line 574 of file DiscreteElements.h.

◆ position()

template<typename TDataType>
DArray< Coord > & dyno::DiscreteElements< TDataType >::position ( )
inline

Definition at line 564 of file DiscreteElements.h.

◆ requestBoxInGlobal()

template<typename TDataType>
void dyno::DiscreteElements< TDataType >::requestBoxInGlobal ( DArray< Box3D > & boxInGlobal)

◆ requestCapsuleInGlobal()

template<typename TDataType>
void dyno::DiscreteElements< TDataType >::requestCapsuleInGlobal ( DArray< Capsule3D > & capInGlobal)

◆ requestDiscreteElementsInGlobal()

template<typename TDataType>
void dyno::DiscreteElements< TDataType >::requestDiscreteElementsInGlobal ( DArray< Box3D > & boxInGlobal,
DArray< Sphere3D > & sphereInGlobal,
DArray< Tet3D > & tetInGlobal,
DArray< Capsule3D > & capInGlobal,
DArray< Triangle3D > & triInGlobal )

◆ requestSphereInGlobal()

template<typename TDataType>
void dyno::DiscreteElements< TDataType >::requestSphereInGlobal ( DArray< Sphere3D > & sphereInGlobal)

◆ requestTetInGlobal()

template<typename TDataType>
void dyno::DiscreteElements< TDataType >::requestTetInGlobal ( DArray< Tet3D > & tetInGlobal)

◆ requestTriangleInGlobal()

template<typename TDataType>
void dyno::DiscreteElements< TDataType >::requestTriangleInGlobal ( DArray< Triangle3D > & triInGlobal)

◆ rotation()

template<typename TDataType>
DArray< Matrix > & dyno::DiscreteElements< TDataType >::rotation ( )
inline

Definition at line 565 of file DiscreteElements.h.

◆ scale()

template<typename TDataType>
void dyno::DiscreteElements< TDataType >::scale ( Real s)

◆ setBoxes() [1/2]

template<typename TDataType>
void dyno::DiscreteElements< TDataType >::setBoxes ( DArray< Box3D > & boxes)

◆ setBoxes() [2/2]

template<typename TDataType>
void dyno::DiscreteElements< TDataType >::setBoxes ( std::vector< px::Box > boxes)

Definition at line 15 of file DiscreteElements.cpp.

Here is the call graph for this function:

◆ setCapsules() [1/2]

template<typename TDataType>
void dyno::DiscreteElements< TDataType >::setCapsules ( DArray< Capsule3D > & capsules)

◆ setCapsules() [2/2]

template<typename TDataType>
void dyno::DiscreteElements< TDataType >::setCapsules ( std::vector< px::Capsule > capsules)

Definition at line 33 of file DiscreteElements.cpp.

Here is the call graph for this function:

◆ setPosition()

template<typename TDataType>
void dyno::DiscreteElements< TDataType >::setPosition ( const DArray< Coord > & pos)
inline

Definition at line 567 of file DiscreteElements.h.

◆ setRotation()

template<typename TDataType>
void dyno::DiscreteElements< TDataType >::setRotation ( const DArray< Matrix > & rot)
inline

Definition at line 568 of file DiscreteElements.h.

◆ setSpheres() [1/2]

template<typename TDataType>
void dyno::DiscreteElements< TDataType >::setSpheres ( DArray< Sphere3D > & spheres)

◆ setSpheres() [2/2]

template<typename TDataType>
void dyno::DiscreteElements< TDataType >::setSpheres ( std::vector< px::Sphere > spheres)

Definition at line 24 of file DiscreteElements.cpp.

Here is the call graph for this function:

◆ setTetBodyId()

template<typename TDataType>
void dyno::DiscreteElements< TDataType >::setTetBodyId ( DArray< int > & body_id)

◆ setTetElementId()

template<typename TDataType>
void dyno::DiscreteElements< TDataType >::setTetElementId ( DArray< TopologyModule::Tetrahedron > & element_id)

◆ setTets()

template<typename TDataType>
void dyno::DiscreteElements< TDataType >::setTets ( DArray< Tet3D > & tets)

◆ setTetSDF()

template<typename TDataType>
void dyno::DiscreteElements< TDataType >::setTetSDF ( DArray< Real > & sdf)

◆ setTriangles()

template<typename TDataType>
void dyno::DiscreteElements< TDataType >::setTriangles ( DArray< Triangle3D > & triangles)

◆ shape2RigidBodyMapping()

template<typename TDataType>
DArray< Pair< uint, uint > > & dyno::DiscreteElements< TDataType >::shape2RigidBodyMapping ( )
inline

Definition at line 562 of file DiscreteElements.h.

◆ sliderJoints()

template<typename TDataType>
DArray< SliderJoint > & dyno::DiscreteElements< TDataType >::sliderJoints ( )
inline

Definition at line 571 of file DiscreteElements.h.

◆ sphereIndex()

template<typename TDataType>
uint dyno::DiscreteElements< TDataType >::sphereIndex ( )

◆ spheresInGlobal()

template<typename TDataType>
DArray< Sphere3D > & dyno::DiscreteElements< TDataType >::spheresInGlobal ( )
inline

Definition at line 556 of file DiscreteElements.h.

◆ spheresInLocal()

template<typename TDataType>
DArray< Sphere3D > & dyno::DiscreteElements< TDataType >::spheresInLocal ( )
inline

Definition at line 550 of file DiscreteElements.h.

◆ tetIndex()

template<typename TDataType>
uint dyno::DiscreteElements< TDataType >::tetIndex ( )

◆ tetsInGlobal()

template<typename TDataType>
DArray< Tet3D > & dyno::DiscreteElements< TDataType >::tetsInGlobal ( )
inline

Definition at line 558 of file DiscreteElements.h.

◆ tetsInLocal()

template<typename TDataType>
DArray< Tet3D > & dyno::DiscreteElements< TDataType >::tetsInLocal ( )
inline

Definition at line 552 of file DiscreteElements.h.

◆ totalJointSize()

template<typename TDataType>
uint dyno::DiscreteElements< TDataType >::totalJointSize ( )

◆ totalSize()

template<typename TDataType>
uint dyno::DiscreteElements< TDataType >::totalSize ( )

◆ triangleIndex()

template<typename TDataType>
uint dyno::DiscreteElements< TDataType >::triangleIndex ( )

◆ trianglesInGlobal()

template<typename TDataType>
DArray< Triangle3D > & dyno::DiscreteElements< TDataType >::trianglesInGlobal ( )
inline

Definition at line 560 of file DiscreteElements.h.

◆ trianglesInLocal()

template<typename TDataType>
DArray< Triangle3D > & dyno::DiscreteElements< TDataType >::trianglesInLocal ( )
inline

Definition at line 554 of file DiscreteElements.h.

◆ updateTopology()

template<typename TDataType>
void dyno::DiscreteElements< TDataType >::updateTopology ( )
overrideprotectedvirtual

Reimplemented from dyno::TopologyModule.

Member Data Documentation

◆ m_tet_body_mapping

template<typename TDataType>
DArray<int> dyno::DiscreteElements< TDataType >::m_tet_body_mapping
protected

Definition at line 630 of file DiscreteElements.h.

◆ m_tet_element_id

template<typename TDataType>
DArray<TopologyModule::Tetrahedron> dyno::DiscreteElements< TDataType >::m_tet_element_id
protected

Definition at line 631 of file DiscreteElements.h.

◆ m_tet_sdf

template<typename TDataType>
DArray<Real> dyno::DiscreteElements< TDataType >::m_tet_sdf
protected

Definition at line 629 of file DiscreteElements.h.

◆ mBallAndSocketJoints

template<typename TDataType>
DArray<BallAndSocketJoint> dyno::DiscreteElements< TDataType >::mBallAndSocketJoints
protected

Definition at line 617 of file DiscreteElements.h.

◆ mBoxes

template<typename TDataType>
VkDeviceArray<px::Box> dyno::DiscreteElements< TDataType >::mBoxes
private

Definition at line 34 of file DiscreteElements.h.

◆ mBoxesInLocal

template<typename TDataType>
DArray<Box3D> dyno::DiscreteElements< TDataType >::mBoxesInLocal
protected

Definition at line 606 of file DiscreteElements.h.

◆ mBoxInGlobal

template<typename TDataType>
DArray<Box3D> dyno::DiscreteElements< TDataType >::mBoxInGlobal
protected

Definition at line 612 of file DiscreteElements.h.

◆ mCapsuleInGlobal

template<typename TDataType>
DArray<Capsule3D> dyno::DiscreteElements< TDataType >::mCapsuleInGlobal
protected

Definition at line 614 of file DiscreteElements.h.

◆ mCapsules

template<typename TDataType>
VkDeviceArray<px::Capsule> dyno::DiscreteElements< TDataType >::mCapsules
private

Definition at line 35 of file DiscreteElements.h.

◆ mCapsulesInLocal

template<typename TDataType>
DArray<Capsule3D> dyno::DiscreteElements< TDataType >::mCapsulesInLocal
protected

Definition at line 608 of file DiscreteElements.h.

◆ mDistanceJoints

template<typename TDataType>
DArray<DistanceJoint> dyno::DiscreteElements< TDataType >::mDistanceJoints
protected

Definition at line 622 of file DiscreteElements.h.

◆ mFixedJoints

template<typename TDataType>
DArray<FixedJoint> dyno::DiscreteElements< TDataType >::mFixedJoints
protected

Definition at line 620 of file DiscreteElements.h.

◆ mHingeJoints

template<typename TDataType>
DArray<HingeJoint> dyno::DiscreteElements< TDataType >::mHingeJoints
protected

Definition at line 619 of file DiscreteElements.h.

◆ mPointJoints

template<typename TDataType>
DArray<PointJoint> dyno::DiscreteElements< TDataType >::mPointJoints
protected

Definition at line 621 of file DiscreteElements.h.

◆ mPosition

template<typename TDataType>
DArray<Coord> dyno::DiscreteElements< TDataType >::mPosition
protected

Definition at line 626 of file DiscreteElements.h.

◆ mRotation

template<typename TDataType>
DArray<Matrix> dyno::DiscreteElements< TDataType >::mRotation
protected

Definition at line 627 of file DiscreteElements.h.

◆ mShape2RigidBody

template<typename TDataType>
DArray<Pair<uint, uint> > dyno::DiscreteElements< TDataType >::mShape2RigidBody
protected

Definition at line 624 of file DiscreteElements.h.

◆ mSliderJoints

template<typename TDataType>
DArray<SliderJoint> dyno::DiscreteElements< TDataType >::mSliderJoints
protected

Definition at line 618 of file DiscreteElements.h.

◆ mSphereInGlobal

template<typename TDataType>
DArray<Sphere3D> dyno::DiscreteElements< TDataType >::mSphereInGlobal
protected

Definition at line 611 of file DiscreteElements.h.

◆ mSpheres

template<typename TDataType>
VkDeviceArray<px::Sphere> dyno::DiscreteElements< TDataType >::mSpheres
private

Definition at line 36 of file DiscreteElements.h.

◆ mSpheresInLocal

template<typename TDataType>
DArray<Sphere3D> dyno::DiscreteElements< TDataType >::mSpheresInLocal
protected

Definition at line 605 of file DiscreteElements.h.

◆ mTetInGlobal

template<typename TDataType>
DArray<Tet3D> dyno::DiscreteElements< TDataType >::mTetInGlobal
protected

Definition at line 613 of file DiscreteElements.h.

◆ mTetsInLocal

template<typename TDataType>
DArray<Tet3D> dyno::DiscreteElements< TDataType >::mTetsInLocal
protected

Definition at line 607 of file DiscreteElements.h.

◆ mTriangleInGlobal

template<typename TDataType>
DArray<Triangle3D> dyno::DiscreteElements< TDataType >::mTriangleInGlobal
protected

Definition at line 615 of file DiscreteElements.h.

◆ mTrianglesInLocal

template<typename TDataType>
DArray<Triangle3D> dyno::DiscreteElements< TDataType >::mTrianglesInLocal
protected

Definition at line 609 of file DiscreteElements.h.


The documentation for this class was generated from the following files: