mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3948 HoloLens : Add labels
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
RivTextLabelSourceInfo::RivTextLabelSourceInfo(caf::PdmObject* pdmObject, const cvf::String& text, const cvf::Vec3f& position)
|
||||
: RivObjectSourceInfo(pdmObject)
|
||||
, m_text(text)
|
||||
, m_position(position)
|
||||
, m_positionDisplayCoord(position)
|
||||
|
||||
{
|
||||
}
|
||||
@@ -40,7 +40,7 @@ cvf::String RivTextLabelSourceInfo::text() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
cvf::Vec3f RivTextLabelSourceInfo::textPosition() const
|
||||
cvf::Vec3f RivTextLabelSourceInfo::textPositionDisplayCoord() const
|
||||
{
|
||||
return m_position;
|
||||
return m_positionDisplayCoord;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user