return aTransparency;
}
-
//******************************************************
void PartSet_Module::setTexture(const std::string & theTextureFile, const AISObjectPtr& thePrs)
{
anAISShape->SetDisplayMode(AIS_Shaded);
}
}
-
}
-
-
//******************************************************
void PartSet_Module::customizePresentation(const ObjectPtr& theObject,
const AISObjectPtr& thePrs) const
thePrs->setTransparency(getResultTransparency(aResult));
/// set texture parameters
- if(aResult->hasTextureFile())
- {
+ if(aResult->hasTextureFile()){
setTexture(aResult->getTextureFile(), thePrs);
}
}