mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Remove duplicated code
* Use annotation tools from part manager * Set version to 2023.06.01-dev.06
This commit is contained in:
@@ -60,14 +60,16 @@ public:
|
||||
// Create labels for the given collection of parts. The labels are added to the given model.
|
||||
void addAnnotationLabels( const cvf::Collection<cvf::Part>& partCollection, const cvf::Camera* camera, cvf::ModelBasicList* model );
|
||||
|
||||
static cvf::ref<cvf::Part>
|
||||
createPartFromPolyline( const std::string& partName, const cvf::Color3f& color, const std::vector<cvf::Vec3d>& polyLine );
|
||||
static cvf::ref<cvf::Part> createPartFromPolyline( const cvf::Color3f& color, const std::vector<cvf::Vec3d>& polyLine );
|
||||
|
||||
static cvf::ref<cvf::DrawableText> createDrawableText( cvf::Font* font,
|
||||
cvf::Color3f textColor,
|
||||
cvf::Color3f backgroundColor,
|
||||
const std::string& text,
|
||||
const cvf::Vec3f& position );
|
||||
static cvf::ref<cvf::DrawableText> createDrawableText( cvf::Font* font,
|
||||
const cvf::Color3f& textColor,
|
||||
const cvf::Color3f& backgroundColor,
|
||||
const std::string& text,
|
||||
const cvf::Vec3f& position );
|
||||
|
||||
static cvf::ref<cvf::DrawableText>
|
||||
createDrawableTextNoBackground( cvf::Font* font, const cvf::Color3f& textColor, const std::string& text, const cvf::Vec3f& position );
|
||||
|
||||
static cvf::ref<cvf::Part> createPart( cvf::DrawableText* drawableText );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user