Skip to content

Commit

Permalink
update 3D viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
ftomei committed Jul 9, 2024
1 parent 1d591b5 commit b795a0b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
10 changes: 0 additions & 10 deletions graphics/mapGraphicsRasterObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,6 @@ void RasterObject::clear()
}


void RasterObject::setRaster(gis::Crit3DRasterGrid* rasterPtr)
{
rasterPointer = rasterPtr;
}

gis::Crit3DRasterGrid* RasterObject::getRaster()
{
return rasterPointer;
}

void RasterObject::setDrawing(bool value)
{
isDrawing = value;
Expand Down
6 changes: 4 additions & 2 deletions graphics/mapGraphicsRasterObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,10 @@
const gis::Crit3DLatLonHeader& latLonHeader, bool isGrid_);
float getRasterMaxSize();
gis::Crit3DGeoPoint* getRasterCenter();
void setRaster(gis::Crit3DRasterGrid* rasterPtr);
gis::Crit3DRasterGrid* getRaster();

void setRaster(gis::Crit3DRasterGrid* rasterPtr) { rasterPointer = rasterPtr; }
gis::Crit3DRasterGrid* getRasterPointer() { return rasterPointer; }

void updateCenter();
Position getCurrentCenter();

Expand Down
2 changes: 1 addition & 1 deletion graphics/mapGraphicsRasterUtm.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
void setColorLegend(ColorLegend* colorLegendPtr) {_colorLegendPointer = colorLegendPtr;}
void setRaster(gis::Crit3DRasterGrid* rasterPtr) {_rasterPointer = rasterPtr;}

gis::Crit3DRasterGrid* getRaster() {return _rasterPointer;}
gis::Crit3DRasterGrid* getRasterPointer() {return _rasterPointer;}

float getValue(Position& pos);
float getRasterMaxSize();
Expand Down

0 comments on commit b795a0b

Please sign in to comment.