Tissue Forge C++ 0.2.1
Interactive, particle-based physics, chemistry and biology modeling and simulation environment
Loading...
Searching...
No Matches
TissueForge::Cluster Struct Reference

The cluster analogue to :class:Particle. More...

#include <tfCluster.h>

Inheritance diagram for TissueForge::Cluster:
Collaboration diagram for TissueForge::Cluster:

Additional Inherited Members

- Public Member Functions inherited from TissueForge::Particle
struct ParticleHandlehandle ()
 Get a handle for this particle.
 
HRESULT addpart (int32_t uid)
 
HRESULT removepart (int32_t uid)
 
Particleparticle (int i)
 
FVector3 global_position ()
 Get the global position.
 
void set_global_position (const FVector3 &pos)
 Set the global position.
 
bool verify ()
 
 operator Cluster * ()
 Cast to a cluster type. Limits casting to cluster by type.
 
std::string toString ()
 Get a JSON string representation.
 
- Static Public Member Functions inherited from TissueForge::Particle
static ParticlefromString (const std::string &str)
 Create from a JSON string representation.
 
- Public Attributes inherited from TissueForge::Particle
union { 
 
   FPTYPE   f [4] 
 
   FVector3   force 
 
   struct { 
 
      FPTYPE   __dummy0 [3] 
 
      FPTYPE   number_density 
 
   }  
 
};  
 
union { 
 
   FVector3   force_i 
 
};  
 
union { 
 
   FPTYPE   v [4] 
 
   FVector3   velocity 
 
   struct { 
 
      FPTYPE   __dummy1 [3] 
 
      FPTYPE   inv_number_density 
 
   }  
 
};  
 
union { 
 
   FPTYPE   x [4] 
 
   FVector3   position 
 
   struct { 
 
      FPTYPE   __dummy2 [3] 
 
      uint32_t   creation_time 
 
   }  
 
};  
 
union { 
 
   FVector3   persistent_force 
 
};  
 
FPTYPE imass
 
FPTYPE radius
 
FPTYPE mass
 
FPTYPE q
 
FVector3 p0
 
FVector3 v0
 
FVector3 xk [4]
 
FVector3 vk [4]
 
int id
 
int vid
 
int16_t typeId
 
int32_t clusterId
 
uint16_t flags
 
struct ParticleHandle_handle
 
int32_t * parts
 
uint16_t nr_parts
 
uint16_t size_parts
 
rendering::Stylestyle
 
struct state::StateVectorstate_vector
 

Detailed Description

The cluster analogue to :class:Particle.


The documentation for this struct was generated from the following file: