VAPOR3 3.9.4
Public Member Functions | Public Attributes | List of all members
flow::Particle Class Referencefinal

#include <Particle.h>

Public Member Functions

 Particle ()=default
 
 Particle (const glm::vec3 &loc, double t, float val=0.0f)
 
 Particle (float x, float y, float z, double t, float val=0.0f)
 
void AttachProperty (float v)
 
void ClearProperty ()
 
void RemoveProperty (size_t i)
 
auto GetPropertyList () const -> const std::forward_list< float > &
 
void SetSpecial (bool isSpecial)
 
bool IsSpecial () const
 

Public Attributes

glm::vec3 location = {0.0f, 0.0f, 0.0f}
 
float value = 0.0f
 
double time = 0.0
 

Detailed Description

Definition at line 31 of file Particle.h.

Constructor & Destructor Documentation

◆ Particle() [1/3]

flow::Particle::Particle ( )
default

◆ Particle() [2/3]

flow::Particle::Particle ( const glm::vec3 &  loc,
double  t,
float  val = 0.0f 
)

◆ Particle() [3/3]

flow::Particle::Particle ( float  x,
float  y,
float  z,
double  t,
float  val = 0.0f 
)

Member Function Documentation

◆ AttachProperty()

void flow::Particle::AttachProperty ( float  v)

◆ ClearProperty()

void flow::Particle::ClearProperty ( )

◆ GetPropertyList()

auto flow::Particle::GetPropertyList ( ) const -> const std::forward_list< float > &

◆ IsSpecial()

bool flow::Particle::IsSpecial ( ) const

◆ RemoveProperty()

void flow::Particle::RemoveProperty ( size_t  i)

◆ SetSpecial()

void flow::Particle::SetSpecial ( bool  isSpecial)

Member Data Documentation

◆ location

glm::vec3 flow::Particle::location = {0.0f, 0.0f, 0.0f}

Definition at line 33 of file Particle.h.

◆ time

double flow::Particle::time = 0.0

Definition at line 35 of file Particle.h.

◆ value

float flow::Particle::value = 0.0f

Definition at line 34 of file Particle.h.


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