mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-31 09:14:11 -05:00
Optionally show polygon geometry info as text label
This commit is contained in:
1 parent
118ecf941a
commit
e492685070
13 files changed
+241
-120
No files matched your search
@@ -21,11 +21,15 @@
|
||||
#include "cvfObject.h"
|
||||
#include <cvfVector3.h>
|
||||
|
||||
#include <QString>
|
||||
|
||||
#include <vector>
|
||||
|
||||
namespace cvf
|
||||
{
|
||||
class DrawableGeo;
|
||||
class DrawableText;
|
||||
class Camera;
|
||||
} // namespace cvf
|
||||
|
||||
//==================================================================================================
|
||||
@@ -42,4 +46,7 @@ public:
|
||||
static cvf::ref<cvf::DrawableGeo> createPointsFromPolylineDrawable( const std::vector<std::vector<cvf::Vec3d>>& polyLines );
|
||||
|
||||
static cvf::ref<cvf::DrawableGeo> createSetOfLines( const std::vector<std::vector<cvf::Vec3d>>& lines );
|
||||
|
||||
static cvf::ref<cvf::DrawableText>
|
||||
createOrientedLabel( bool negativeXDirection, const cvf::Camera* camera, const cvf::Vec3d& labelPosition, const QString& labelText );
|
||||
};
|
||||
Reference in new issue
Block a user