mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3343 Holo Lens : Add role (geometry or mesh_lines)
This commit is contained in:
@@ -26,8 +26,9 @@ VdeExportPart::VdeExportPart(cvf::Part* part)
|
||||
, m_sourceObjectName("Unnamed Object")
|
||||
, m_sourceObjectType(OBJ_TYPE_UNKNOWN)
|
||||
, m_color(cvf::Color3f::MAGENTA)
|
||||
, m_winding(COUNTERCLOCKWISE)
|
||||
, m_opacity(1.0)
|
||||
, m_winding(COUNTERCLOCKWISE)
|
||||
, m_role(GEOMETRY)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -87,6 +88,14 @@ void VdeExportPart::setWinding(Winding winding)
|
||||
m_winding = winding;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void VdeExportPart::setRole(Role role)
|
||||
{
|
||||
m_role = role;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -150,3 +159,11 @@ VdeExportPart::Winding VdeExportPart::winding() const
|
||||
{
|
||||
return m_winding;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
VdeExportPart::Role VdeExportPart::role() const
|
||||
{
|
||||
return m_role;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user