#3343 Holo Lens : Add extraction of texture image

This commit is contained in:
Magne Sjaastad
2018-09-20 16:15:13 +02:00
parent 7adf7e1e31
commit e14a1300c5
4 changed files with 71 additions and 31 deletions

View File

@@ -31,6 +31,14 @@ VdeExportPart::VdeExportPart(cvf::Part* part)
{
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void VdeExportPart::setTextureImage(const cvf::TextureImage* textureImage)
{
m_textureImage = textureImage;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
@@ -111,6 +119,14 @@ const cvf::Part* VdeExportPart::part() const
return m_part.p();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
const cvf::TextureImage* VdeExportPart::textureImage() const
{
return m_textureImage.p();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
@@ -126,3 +142,11 @@ float VdeExportPart::opacity() const
{
return m_opacity;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
VdeExportPart::Winding VdeExportPart::winding() const
{
return m_winding;
}