Class SceneLoader¶
Defined in File SceneLoader.h
Nested Relationships¶
Class Documentation¶
-
class
Utilities::SceneLoader¶ Importer of SPlisHSPlasH scene files.
Public Functions
-
template<typename
T, intsize>
boolreadVector(const nlohmann::json &j, Eigen::Matrix<T, size, 1, Eigen::DontAlign> &vec)¶
-
template<typename
T, intsize>
boolreadVector(const std::string §ion, const std::string &key, Eigen::Matrix<T, size, 1, Eigen::DontAlign> &vec)¶
-
void
readMaterialParameterObject(const std::string &key, GenParam::ParameterObject *paramObj)¶
-
void
readParameterObject(const std::string &key, GenParam::ParameterObject *paramObj)¶
-
template<>
boolreadValue(const nlohmann::json &j, bool &v)¶
-
template<>
boolreadValue(const nlohmann::json &j, bool &v)
Protected Functions
-
void
readParameterObject(nlohmann::json &config, GenParam::ParameterObject *paramObj)¶
Protected Attributes
-
nlohmann::json
m_jsonData¶
-
struct
AnimationFieldData¶ Struct to store an animation field object.
-
struct
BoundaryData¶ Struct to store a boundary object.
-
struct
Box¶ Struct for an AABB.
-
struct
EmitterData¶ Struct to store an emitter object.
-
struct
FluidBlock¶ Struct to store a fluid block.
-
struct
FluidData¶ Struct to store a fluid object.
-
struct
MaterialData¶ Struct to store particle coloring information.
-
struct
Scene¶ Struct to store scene information.
Public Members
-
std::vector<BoundaryData*>
boundaryModels¶
-
std::vector<FluidBlock*>
fluidBlocks¶
-
std::vector<EmitterData*>
emitters¶
-
std::vector<AnimationFieldData*>
animatedFields¶
-
std::vector<MaterialData*>
materials¶
-
bool
sim2D¶
-
std::vector<BoundaryData*>
-
template<typename