diff --git a/src/Base/Builder3D.h b/src/Base/Builder3D.h index 4f196d1678..6ab1ce698e 100644 --- a/src/Base/Builder3D.h +++ b/src/Base/Builder3D.h @@ -28,6 +28,7 @@ #include #include +#include #ifndef FC_GLOBAL_H #include #endif @@ -35,8 +36,6 @@ namespace Base { class Matrix4D; -template class Vector3; -using Vector3f = Vector3; /** A Builder class for 3D representations on App level * On the application level nothing is known of the visual representation of data. @@ -369,17 +368,17 @@ public: } /// Return the vectors of an SoNormal node - const std::vector& getVector() { + const std::vector& getVector() const { return vector; } /// Return the points of an SoCoordinate3 node - const std::vector& getPoints() { + const std::vector& getPoints() const { return points; } /// Return the faces of an SoIndexedFaceSet node - const std::vector& getFaces() { + const std::vector& getFaces() const { return faces; }