VAPOR3 3.9.4
ParticleParams.h
Go to the documentation of this file.
1#pragma once
2
4#include <vapor/DataMgr.h>
5
6namespace VAPoR {
7
9public:
11 ParticleParams(DataMgr *dataMgr, ParamsBase::StateSave *ssave, std::string classType);
13 virtual ~ParticleParams();
14
15 static string GetClassType() { return ("ParticleParams"); }
16
18 //
19 virtual size_t GetRenderDim() const override { return (3); }
20 virtual string GetActualColorMapVariableName() const override { return GetVariableName(); }
21
22private:
23 void _init();
24
25public:
29 static const std::string ShowDirectionTag;
30
32 static const std::string DirectionScaleTag;
33
35 static const std::string StrideTag;
36
38 static const std::string RenderRadiusScalarTag;
39 static const std::string RenderRadiusVariableTag;
40 static const std::string RenderRadiusVariableStrengthTag;
41
42 static const std::string RenderRadiusBaseTag;
43 static const std::string RecalculateRadiusBaseRequestTag;
44 static const std::string RenderLegacyTag;
45
46 static const std::string LightingEnabledTag;
47
50 static const std::string PhongAmbientTag;
51
54 static const std::string PhongDiffuseTag;
55
58 static const std::string PhongSpecularTag;
59
62 static const std::string PhongShininessTag;
63};
64
65}; // namespace VAPoR
A cache based data reader.
Definition: DataMgr.h:110
State capture class.
Definition: ParamsBase.h:62
static string GetClassType()
ParticleParams(DataMgr *dataMgr, ParamsBase::StateSave *ssave, std::string classType)
static const std::string DirectionScaleTag
Scale the length of particles velocity vector.
static const std::string RenderRadiusVariableStrengthTag
static const std::string RecalculateRadiusBaseRequestTag
ParticleParams(DataMgr *dataMgr, ParamsBase::StateSave *ssave)
static const std::string PhongShininessTag
static const std::string ShowDirectionTag
static const std::string LightingEnabledTag
static const std::string RenderRadiusBaseTag
static const std::string RenderLegacyTag
virtual size_t GetRenderDim() const override
static const std::string RenderRadiusVariableTag
static const std::string PhongAmbientTag
static const std::string PhongSpecularTag
ParticleParams(DataMgr *dataMgr, ParamsBase::StateSave *ssave, XmlNode *node)
virtual string GetActualColorMapVariableName() const override
static const std::string StrideTag
Load every nth particle. Useful for improving performance.
static const std::string PhongDiffuseTag
static const std::string RenderRadiusScalarTag
Scale the rendered particle size.
A Params subclass for managing parameters used by Renderers.
Definition: RenderParams.h:43
An Xml tree.
Definition: XmlNode.h:49
#define PARAMS_API
Definition: common.h:77