29 BeginGroup(
"Set image path");
30 SetValueString(_fileNameTag,
"Set image file path", file);
33 _setNumTMSLODs(numTMSLODs);
45 bool GetIsGeoRef()
const {
return (GetValueLong(_isGeoRefTag, (
long)
true)); }
50 void SetIsGeoRef(
bool val) { SetValueLong(_isGeoRefTag,
"Geo-reference the image", (
long)val); }
60 void SetIgnoreTransparency(
bool val) { SetValueLong(_ignoreTransparencyTag,
"if transparence is ignored", (
long)val); }
80 void SetOrientation(
int val) { SetValueLong(_orientationTag,
"set orientation value", val); }
86 int value = ((int)GetValueLong(_TMSLODTag, -1));
92 void SetTMSLOD(
int val) { SetValueLong(_TMSLODTag,
"TMS level of detail", (
long)val); }
98 int value = ((int)GetValueLong(_numTMSLODTag, 4));
117 bool _initialized =
false;
121 void _setNumTMSLODs(
int val) { SetValueLong(_numTMSLODTag,
"Number of TMS levels of detail", (
long)val); }
A cache based data reader.
static const std::string _opacityTag
static const std::string _fileNameTag
static const std::string _TMSLODTag
ImageParams(DataMgr *dataManager, ParamsBase::StateSave *stateSave)
int GetOrientation() const
virtual size_t GetRenderDim() const override
virtual int Initialize() override
void SetImagePath(std::string file)
static const std::string _orientationTag
static std::string GetClassType()
int GetNumTMSLODs() const
virtual string GetActualColorMapVariableName() const override
void SetOrientation(int val)
std::string GetImagePath() const
static const std::string _isGeoRefTag
bool GetIgnoreTransparency() const
void SetIsGeoRef(bool val)
void SetIgnoreTransparency(bool val)
static const std::string _ignoreTransparencyTag
static const std::string _numTMSLODTag
ImageParams(DataMgr *dataManager, ParamsBase::StateSave *stateSave, XmlNode *xmlNode)
A Params subclass for managing parameters used by Renderers.
COMMON_API int GetNumTMSLODs(std::string file)
COMMON_API bool IsTMSFile(std::string path)