Public Member Functions | Private Attributes | List of all members
gte::Fluid3 Class Reference

#include <GteFluid3.h>

Public Member Functions

void DoSimulationStep ()
 
 Fluid3 (std::shared_ptr< GraphicsEngine > const &engine, std::shared_ptr< ProgramFactory > const &factory, int xSize, int ySize, int zSize, float dt)
 
std::shared_ptr< Texture3 > const & GetState () const
 
void Initialize ()
 

Private Attributes

std::shared_ptr< Fluid3AdjustVelocitymAdjustVelocity
 
std::shared_ptr< Fluid3ComputeDivergencemComputeDivergence
 
std::shared_ptr< Texture3mDivergenceTexture
 
float mDt
 
std::shared_ptr< Fluid3EnforceStateBoundarymEnforceStateBoundary
 
std::shared_ptr< GraphicsEnginemEngine
 
std::shared_ptr< Fluid3InitializeSourcemInitializeSource
 
std::shared_ptr< Fluid3InitializeStatemInitializeState
 
std::shared_ptr< ConstantBuffermParameters
 
std::shared_ptr< Texture3mPoissonTexture
 
std::shared_ptr< Fluid3SolvePoissonmSolvePoisson
 
std::shared_ptr< Texture3mSourceTexture
 
std::shared_ptr< Texture3mStateTm1Texture
 
std::shared_ptr< Texture3mStateTp1Texture
 
std::shared_ptr< Texture3mStateTTexture
 
float mTime
 
std::shared_ptr< Fluid3UpdateStatemUpdateState
 
int mXSize
 
int mYSize
 
int mZSize
 

Detailed Description

Definition at line 24 of file GteFluid3.h.

Constructor & Destructor Documentation

Fluid3::Fluid3 ( std::shared_ptr< GraphicsEngine > const &  engine,
std::shared_ptr< ProgramFactory > const &  factory,
int  xSize,
int  ySize,
int  zSize,
float  dt 
)

Definition at line 12 of file GteFluid3.cpp.

Member Function Documentation

void Fluid3::DoSimulationStep ( )

Definition at line 95 of file GteFluid3.cpp.

std::shared_ptr< Texture3 > const & gte::Fluid3::GetState ( ) const
inline

Definition at line 62 of file GteFluid3.h.

void Fluid3::Initialize ( )

Definition at line 87 of file GteFluid3.cpp.

Member Data Documentation

std::shared_ptr<Fluid3AdjustVelocity> gte::Fluid3::mAdjustVelocity
private

Definition at line 52 of file GteFluid3.h.

std::shared_ptr<Fluid3ComputeDivergence> gte::Fluid3::mComputeDivergence
private

Definition at line 50 of file GteFluid3.h.

std::shared_ptr<Texture3> gte::Fluid3::mDivergenceTexture
private

Definition at line 58 of file GteFluid3.h.

float gte::Fluid3::mDt
private

Definition at line 40 of file GteFluid3.h.

std::shared_ptr<Fluid3EnforceStateBoundary> gte::Fluid3::mEnforceStateBoundary
private

Definition at line 48 of file GteFluid3.h.

std::shared_ptr<GraphicsEngine> gte::Fluid3::mEngine
private

Definition at line 38 of file GteFluid3.h.

std::shared_ptr<Fluid3InitializeSource> gte::Fluid3::mInitializeSource
private

Definition at line 46 of file GteFluid3.h.

std::shared_ptr<Fluid3InitializeState> gte::Fluid3::mInitializeState
private

Definition at line 47 of file GteFluid3.h.

std::shared_ptr<ConstantBuffer> gte::Fluid3::mParameters
private

Definition at line 45 of file GteFluid3.h.

std::shared_ptr<Texture3> gte::Fluid3::mPoissonTexture
private

Definition at line 59 of file GteFluid3.h.

std::shared_ptr<Fluid3SolvePoisson> gte::Fluid3::mSolvePoisson
private

Definition at line 51 of file GteFluid3.h.

std::shared_ptr<Texture3> gte::Fluid3::mSourceTexture
private

Definition at line 54 of file GteFluid3.h.

std::shared_ptr<Texture3> gte::Fluid3::mStateTm1Texture
private

Definition at line 55 of file GteFluid3.h.

std::shared_ptr<Texture3> gte::Fluid3::mStateTp1Texture
private

Definition at line 57 of file GteFluid3.h.

std::shared_ptr<Texture3> gte::Fluid3::mStateTTexture
private

Definition at line 56 of file GteFluid3.h.

float gte::Fluid3::mTime
private

Definition at line 43 of file GteFluid3.h.

std::shared_ptr<Fluid3UpdateState> gte::Fluid3::mUpdateState
private

Definition at line 49 of file GteFluid3.h.

int gte::Fluid3::mXSize
private

Definition at line 39 of file GteFluid3.h.

int gte::Fluid3::mYSize
private

Definition at line 39 of file GteFluid3.h.

int gte::Fluid3::mZSize
private

Definition at line 39 of file GteFluid3.h.


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


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:06