VAPOR3 3.9.4
RayCasterParams.h
Go to the documentation of this file.
1#ifndef RAYCASTERPARAMS_H
2#define RAYCASTERPARAMS_H
3
5#include <vapor/DataMgr.h>
6
7namespace VAPoR {
8
10public:
11 RayCasterParams(DataMgr *dataManager, ParamsBase::StateSave *stateSave, std::string classType);
12 RayCasterParams(DataMgr *dataManager, ParamsBase::StateSave *stateSave, XmlNode *xmlNode);
13
15
16 //
18 //
20
21 bool GetLighting() const;
22 void SetLighting(bool);
23 std::vector<double> GetLightingCoeffs() const;
24 void SetLightingCoeffs(const std::vector<double> &coeffs);
25 //
26 // Different ray casting methods: 1 == fixed step casting
27 // 2 == prism intersection casting
28 //
29 long GetCastingMode() const;
30 void SetCastingMode(long);
31 long GetSampleRateMultiplier() const; // ComboBox index is held here. Need to translate
32 void SetSampleRateMultiplier(long); // to real multipliers in RayCaster.cpp
33
35 //
36 virtual size_t GetRenderDim() const override { return (3); }
37
38protected:
39 static const std::string _lightingTag;
40 static const std::string _lightingCoeffsTag;
41 static const std::string _castingModeTag;
42 static const std::string _sampleMultiplierTag;
43};
44
45} // namespace VAPoR
46
47#endif
A cache based data reader.
Definition: DataMgr.h:110
Parent class for TransferFunction and IsoControl, supports positioning histogram over color/opacity m...
State capture class.
Definition: ParamsBase.h:62
static const std::string _lightingCoeffsTag
RayCasterParams(DataMgr *dataManager, ParamsBase::StateSave *stateSave, XmlNode *xmlNode)
MapperFunction * GetMapperFunc()
Obtain current MapperFunction for the primary variable.
RayCasterParams(DataMgr *dataManager, ParamsBase::StateSave *stateSave, std::string classType)
long GetSampleRateMultiplier() const
void SetLightingCoeffs(const std::vector< double > &coeffs)
bool GetLighting() const
long GetCastingMode() const
std::vector< double > GetLightingCoeffs() const
static const std::string _lightingTag
static const std::string _sampleMultiplierTag
void SetSampleRateMultiplier(long)
static const std::string _castingModeTag
virtual size_t GetRenderDim() const override
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