forked from tudelft3d/3dfier
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'refs/remotes/origin/master' into imgeo
# Conflicts: # Bridge.cpp # Bridge.h # Building.h # Forest.cpp # Map3d.cpp # Map3d.h # Road.cpp # Separation.cpp # Terrain.cpp # TopoFeature.cpp # TopoFeature.h # Water.cpp # main.cpp
- Loading branch information
Tom Commandeur
committed
Nov 23, 2016
1 parent
23b58c9
commit dbd0b2f
Showing
20 changed files
with
247 additions
and
220 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* | ||
3dfier: takes 2D GIS datasets and "3dfies" to create 3D city models. | ||
Copyright (C) 2015-2016 3D geoinformation research group, TU Delft | ||
This file is part of 3dfier. | ||
|
@@ -19,7 +19,7 @@ | |
along with 3difer. If not, see <http://www.gnu.org/licenses/>. | ||
For any information or further details about the use of 3dfier, contact | ||
Hugo Ledoux | ||
Hugo Ledoux | ||
<[email protected]> | ||
Faculty of Architecture & the Built Environment | ||
Delft University of Technology | ||
|
@@ -31,22 +31,19 @@ | |
|
||
#include "TopoFeature.h" | ||
|
||
class Forest : public TIN | ||
{ | ||
class Forest: public TIN { | ||
public: | ||
Forest (char *wkt, std::string pid, int simplification, float innerbuffer, bool only_ground_points); | ||
Forest(char *wkt, std::string pid, int simplification, float innerbuffer, bool only_ground_points); | ||
bool lift(); | ||
bool add_elevation_point(double x, double y, double z, float radius, LAS14Class lasclass, bool lastreturn); | ||
bool add_elevation_point(Point2 p, double z, float radius, LAS14Class lasclass, bool lastreturn); | ||
std::string get_citygml(); | ||
std::string get_citygml_imgeo(); | ||
std::string get_mtl(); | ||
bool get_shape(OGRLayer * layer); | ||
TopoClass get_class(); | ||
bool is_hard(); | ||
private: | ||
static bool _use_ground_points_only; | ||
static bool _use_ground_points_only; | ||
}; | ||
|
||
|
||
|
||
#endif /* Forest_h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* | ||
3dfier: takes 2D GIS datasets and "3dfies" to create 3D city models. | ||
Copyright (C) 2015-2016 3D geoinformation research group, TU Delft | ||
This file is part of 3dfier. | ||
|
@@ -19,26 +19,23 @@ | |
along with 3difer. If not, see <http://www.gnu.org/licenses/>. | ||
For any information or further details about the use of 3dfier, contact | ||
Hugo Ledoux | ||
Hugo Ledoux | ||
<[email protected]> | ||
Faculty of Architecture & the Built Environment | ||
Delft University of Technology | ||
Julianalaan 134, Delft 2628BL, the Netherlands | ||
*/ | ||
|
||
|
||
#ifndef Road_h | ||
#define Road_h | ||
|
||
#include "TopoFeature.h" | ||
|
||
|
||
class Road : public Boundary3D | ||
{ | ||
class Road: public Boundary3D { | ||
public: | ||
Road (char *wkt, std::string pid, float heightref); | ||
Road(char *wkt, std::string pid, float heightref); | ||
bool lift(); | ||
bool add_elevation_point(double x, double y, double z, float radius, LAS14Class lasclass, bool lastreturn); | ||
bool add_elevation_point(Point2 p, double z, float radius, LAS14Class lasclass, bool lastreturn); | ||
std::string get_citygml(); | ||
std::string get_citygml_imgeo(); | ||
std::string get_mtl(); | ||
|
@@ -48,5 +45,4 @@ class Road : public Boundary3D | |
bool is_hard(); | ||
}; | ||
|
||
|
||
#endif /* Road_h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* | ||
3dfier: takes 2D GIS datasets and "3dfies" to create 3D city models. | ||
Copyright (C) 2015-2016 3D geoinformation research group, TU Delft | ||
This file is part of 3dfier. | ||
|
@@ -19,25 +19,23 @@ | |
along with 3difer. If not, see <http://www.gnu.org/licenses/>. | ||
For any information or further details about the use of 3dfier, contact | ||
Hugo Ledoux | ||
Hugo Ledoux | ||
<[email protected]> | ||
Faculty of Architecture & the Built Environment | ||
Delft University of Technology | ||
Julianalaan 134, Delft 2628BL, the Netherlands | ||
*/ | ||
|
||
|
||
#ifndef Separation_h | ||
#define Separation_h | ||
|
||
#include "TopoFeature.h" | ||
|
||
class Separation : public Flat | ||
{ | ||
class Separation: public Flat { | ||
public: | ||
Separation(char *wkt, std::string pid, float heightref); | ||
Separation(char *wkt, std::string pid, float heightref); | ||
bool lift(); | ||
bool add_elevation_point(double x, double y, double z, float radius, LAS14Class lasclass, bool lastreturn); | ||
bool add_elevation_point(Point2 p, double z, float radius, LAS14Class lasclass, bool lastreturn); | ||
std::string get_citygml(); | ||
std::string get_citygml_imgeo(); | ||
std::string get_mtl(); | ||
|
@@ -48,5 +46,4 @@ class Separation : public Flat | |
static float _heightref; | ||
}; | ||
|
||
|
||
#endif /* Separation_h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* | ||
3dfier: takes 2D GIS datasets and "3dfies" to create 3D city models. | ||
Copyright (C) 2015-2016 3D geoinformation research group, TU Delft | ||
This file is part of 3dfier. | ||
|
@@ -19,25 +19,23 @@ | |
along with 3difer. If not, see <http://www.gnu.org/licenses/>. | ||
For any information or further details about the use of 3dfier, contact | ||
Hugo Ledoux | ||
Hugo Ledoux | ||
<[email protected]> | ||
Faculty of Architecture & the Built Environment | ||
Delft University of Technology | ||
Julianalaan 134, Delft 2628BL, the Netherlands | ||
*/ | ||
|
||
|
||
#ifndef Terrain_h | ||
#define Terrain_h | ||
|
||
#include "TopoFeature.h" | ||
|
||
class Terrain : public TIN | ||
{ | ||
class Terrain: public TIN { | ||
public: | ||
Terrain (char *wkt, std::string pid, int simplification, float innerbuffer); | ||
Terrain(char *wkt, std::string pid, int simplification, float innerbuffer); | ||
bool lift(); | ||
bool add_elevation_point(double x, double y, double z, float radius, LAS14Class lasclass, bool lastreturn); | ||
bool add_elevation_point(Point2 p, double z, float radius, LAS14Class lasclass, bool lastreturn); | ||
std::string get_citygml(); | ||
std::string get_mtl(); | ||
std::string get_citygml_imgeo(); | ||
|
@@ -46,6 +44,4 @@ class Terrain : public TIN | |
bool is_hard(); | ||
}; | ||
|
||
|
||
|
||
#endif /* Terrain_h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* | ||
3dfier: takes 2D GIS datasets and "3dfies" to create 3D city models. | ||
Copyright (C) 2015-2016 3D geoinformation research group, TU Delft | ||
This file is part of 3dfier. | ||
|
@@ -19,26 +19,23 @@ | |
along with 3difer. If not, see <http://www.gnu.org/licenses/>. | ||
For any information or further details about the use of 3dfier, contact | ||
Hugo Ledoux | ||
Hugo Ledoux | ||
<[email protected]> | ||
Faculty of Architecture & the Built Environment | ||
Delft University of Technology | ||
Julianalaan 134, Delft 2628BL, the Netherlands | ||
*/ | ||
|
||
|
||
|
||
#ifndef Water_h | ||
#define Water_h | ||
|
||
#include "TopoFeature.h" | ||
|
||
class Water : public Flat | ||
{ | ||
class Water: public Flat { | ||
public: | ||
Water(char *wkt, std::string pid, float heightref); | ||
Water(char *wkt, std::string pid, float heightref); | ||
bool lift(); | ||
// bool add_elevation_point(double x, double y, double z, float radius, LAS14Class lasclass, bool lastreturn); | ||
bool add_elevation_point(Point2 p, double z, float radius, LAS14Class lasclass, bool lastreturn); | ||
std::string get_citygml(); | ||
std::string get_citygml_imgeo(); | ||
std::string get_mtl(); | ||
|
@@ -49,5 +46,4 @@ class Water : public Flat | |
static float _heightref; | ||
}; | ||
|
||
|
||
#endif /* Water_h */ |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.