Program Listing for File StaticModelVis.h

Return to documentation for file (include/flamegpu/visualiser/StaticModelVis.h)

#ifndef INCLUDE_FLAMEGPU_VISUALISER_STATICMODELVIS_H_
#define INCLUDE_FLAMEGPU_VISUALISER_STATICMODELVIS_H_
#include <memory>

#include "flamegpu/visualiser/config/ModelConfig.h"

namespace flamegpu {
namespace visualiser {

class StaticModelVis {
 public:
    explicit StaticModelVis(std::shared_ptr<ModelConfig::StaticModel> _m);
    void setModelScale(float xLen, float yLen, float zLen);
    void setModelScale(float maxLen);
    void setModelLocation(float x, float y, float z);
    void setModelRotation(float x, float y, float z, float radians);

 private:
    std::shared_ptr<ModelConfig::StaticModel> m;
};

}  // namespace visualiser
}  // namespace flamegpu

#endif  // INCLUDE_FLAMEGPU_VISUALISER_STATICMODELVIS_H_