///////////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2026- Equinor ASA // // ResInsight is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // ResInsight is distributed in the hope that it will be useful, but WITHOUT ANY // WARRANTY; without even the implied warranty of MERCHANTABILITY or // FITNESS FOR A PARTICULAR PURPOSE. // // See the GNU General Public License at // for more details. // ///////////////////////////////////////////////////////////////////////////////// #pragma once #include "cvfColor3.h" #include "cvfFont.h" #include "cvfObject.h" #include "cvfVector2.h" #include "cvfVector3.h" #include #include namespace cvf { class Camera; } // namespace cvf //================================================================================================== /// Labels attached to the surface of a pipe, e.g. measured depth labels along a well path. The label positions are /// computed when the camera changes. The anchor point of each label is placed at the radial position of the pipe closest /// to the camera, and the label is offset from the anchor point in the screen plane, perpendicular to the pipe. //================================================================================================== class RivPipeSurfaceLabelSourceInfo : public cvf::Object { public: struct Label { std::string text; cvf::Vec3d centerDisplayCoord; cvf::Vec3d tangent; }; RivPipeSurfaceLabelSourceInfo( const std::vector