10 #ifndef DtOverlaySettings_H_
11 #define DtOverlaySettings_H_
68 std::vector<std::string> availableRasterLayers();
71 virtual void getTextureScale(
double& x,
double& y)
const;
74 virtual void getTextureOffset(
double& x,
double& y)
const;
78 virtual std::string addRasterLayer(
const std::string& name =
"");
81 virtual bool removeRasterLayer(
const std::string& name);
84 virtual bool renameRasterLayer(
const std::string& oldName,
const std::string& newName);
90 bool rasterTextureEnabled(
const std::string& raster)
const;
93 void setRasterTextureEnabled(
const std::string& raster,
bool enabled);
96 void setRasterTextureWrapMode(
const std::string& raster,
int enabled);
99 int rasterTextureWrapMode(
const std::string& raster)
const;
102 void setRasterTextureBlendMode(
const std::string&,
int);
105 int rasterTextureBlendMode(
const std::string& raster)
const;
108 bool rasterTextureTransformIsSet(
const std::string& raster)
const;
111 void setRasterTextureTransformIsSet(
const std::string& raster,
bool enabled);
114 std::string rasterTextureDefinition(
const std::string& raster)
const;
117 void setRasterTextureDefinition(
const std::string& raster,
const std::string& definition);
120 void getRasterTextureScale(
const std::string& raster,
double& x,
double& y)
const;
123 void getRasterTextureOffset(
const std::string& raster,
double& x,
double& y)
const;
126 void getDatabaseOrigin(
double& x,
double& y,
double& z)
const;
129 void setRasterTextureScale(
const std::string& raster,
double x,
double y);
132 void setRasterTextureOffset(
const std::string& raster,
double x,
double y);
136 void clearRasterTexture(
const std::string& raster,
bool applyAtEnd =
true);
139 void setBlockApplyRasterSettings(
bool);
140 bool blockApplyRasterSettings()
const;
143 int rasterTexturePosition(
const std::string&)
const;
146 int rasterOperation(
const std::string&);
149 bool moveRasterLayer(
const std::string&,
int);
158 bool contourEnabled()
const;
161 bool contourIntermediateLinesEnabled()
const;
164 double contourInterval()
const;
167 double contourThickness()
const;
170 void setContourEnabled(
bool enabled);
173 void setContourIntermediateLinesEnabled(
bool enabled);
176 void setContourInterval(
double interval);
179 void setContourThickness(
double thickness);
187 bool elevationEnabled()
const;
193 void setElevationEnabled(
bool enabled);
201 void applyAllSettings();
202 void applyRasterTextureSettings(
const std::string& raster);
203 void applyContourLinesOverlaySettings();
204 void applyElevationColorOverlaySettings();
205 void applyOriginalTextureState();
DtTerrainPatch * myPatch
Definition: DtOverlaySettings.h:209
Class for setting and maintaining state for user-modifiable overlay settings All of the overlay-chang...
Definition: DtOverlaySettings.h:31
Record of terrain raster layers, color by elevation settings, and contour line settings.
Definition: DtOverlaySettingsRecord.h:213
A container for a single piece of terrain, containing settings needed to recreate it...
Definition: DtTerrainPatch.h:42
Contains makVrv::DtOverlaySettingsRecord class.
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
std::vector< DtGradientControlPoint > ControlPointList
Definition: DtOverlaySettingsRecord.h:233
bool myBlockRasterSettings
Definition: DtOverlaySettings.h:211
makArchives::DtOverlaySettingsRecord myOverlaySettingsRecord
Definition: DtOverlaySettings.h:210
Contains DLL export macros.