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

#include <GteFluid2.h>

Public Member Functions

void DoSimulationStep ()
 
 Fluid2 (std::shared_ptr< GraphicsEngine > const &engine, std::shared_ptr< ProgramFactory > const &factory, int xSize, int ySize, float dt, float densityViscosity, float velocityViscosity)
 
std::shared_ptr< Texture2 > const & GetState () const
 
void Initialize ()
 

Private Attributes

std::shared_ptr< Fluid2AdjustVelocitymAdjustVelocity
 
std::shared_ptr< Fluid2ComputeDivergencemComputeDivergence
 
std::shared_ptr< Texture2mDivergenceTexture
 
float mDt
 
std::shared_ptr< Fluid2EnforceStateBoundarymEnforceStateBoundary
 
std::shared_ptr< GraphicsEnginemEngine
 
std::shared_ptr< Fluid2InitializeSourcemInitializeSource
 
std::shared_ptr< Fluid2InitializeStatemInitializeState
 
std::shared_ptr< ConstantBuffermParameters
 
std::shared_ptr< Texture2mPoissonTexture
 
std::shared_ptr< Fluid2SolvePoissonmSolvePoisson
 
std::shared_ptr< Texture2mSourceTexture
 
std::shared_ptr< Texture2mStateTm1Texture
 
std::shared_ptr< Texture2mStateTp1Texture
 
std::shared_ptr< Texture2mStateTTexture
 
float mTime
 
std::shared_ptr< Fluid2UpdateStatemUpdateState
 
int mXSize
 
int mYSize
 

Detailed Description

Definition at line 24 of file GteFluid2.h.

Constructor & Destructor Documentation

Fluid2::Fluid2 ( std::shared_ptr< GraphicsEngine > const &  engine,
std::shared_ptr< ProgramFactory > const &  factory,
int  xSize,
int  ySize,
float  dt,
float  densityViscosity,
float  velocityViscosity 
)

Definition at line 12 of file GteFluid2.cpp.

Member Function Documentation

void Fluid2::DoSimulationStep ( )

Definition at line 84 of file GteFluid2.cpp.

std::shared_ptr< Texture2 > const & gte::Fluid2::GetState ( ) const
inline

Definition at line 62 of file GteFluid2.h.

void Fluid2::Initialize ( )

Definition at line 76 of file GteFluid2.cpp.

Member Data Documentation

std::shared_ptr<Fluid2AdjustVelocity> gte::Fluid2::mAdjustVelocity
private

Definition at line 52 of file GteFluid2.h.

std::shared_ptr<Fluid2ComputeDivergence> gte::Fluid2::mComputeDivergence
private

Definition at line 50 of file GteFluid2.h.

std::shared_ptr<Texture2> gte::Fluid2::mDivergenceTexture
private

Definition at line 58 of file GteFluid2.h.

float gte::Fluid2::mDt
private

Definition at line 40 of file GteFluid2.h.

std::shared_ptr<Fluid2EnforceStateBoundary> gte::Fluid2::mEnforceStateBoundary
private

Definition at line 48 of file GteFluid2.h.

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

Definition at line 38 of file GteFluid2.h.

std::shared_ptr<Fluid2InitializeSource> gte::Fluid2::mInitializeSource
private

Definition at line 46 of file GteFluid2.h.

std::shared_ptr<Fluid2InitializeState> gte::Fluid2::mInitializeState
private

Definition at line 47 of file GteFluid2.h.

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

Definition at line 45 of file GteFluid2.h.

std::shared_ptr<Texture2> gte::Fluid2::mPoissonTexture
private

Definition at line 59 of file GteFluid2.h.

std::shared_ptr<Fluid2SolvePoisson> gte::Fluid2::mSolvePoisson
private

Definition at line 51 of file GteFluid2.h.

std::shared_ptr<Texture2> gte::Fluid2::mSourceTexture
private

Definition at line 54 of file GteFluid2.h.

std::shared_ptr<Texture2> gte::Fluid2::mStateTm1Texture
private

Definition at line 55 of file GteFluid2.h.

std::shared_ptr<Texture2> gte::Fluid2::mStateTp1Texture
private

Definition at line 57 of file GteFluid2.h.

std::shared_ptr<Texture2> gte::Fluid2::mStateTTexture
private

Definition at line 56 of file GteFluid2.h.

float gte::Fluid2::mTime
private

Definition at line 43 of file GteFluid2.h.

std::shared_ptr<Fluid2UpdateState> gte::Fluid2::mUpdateState
private

Definition at line 49 of file GteFluid2.h.

int gte::Fluid2::mXSize
private

Definition at line 39 of file GteFluid2.h.

int gte::Fluid2::mYSize
private

Definition at line 39 of file GteFluid2.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