MCPcopy Create free account
hub / github.com/MITK/MITK / GetVtkInterpolation

Method GetVtkInterpolation

Modules/Core/src/DataManagement/mitkMaterial.cpp:255–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255int mitk::Material::GetVtkInterpolation() const
256{
257 switch (m_Interpolation)
258 {
259 case (Flat):
260 return VTK_FLAT;
261 case (Gouraud):
262 return VTK_GOURAUD;
263 case (Phong):
264 return VTK_PHONG;
265 }
266 return VTK_GOURAUD;
267}
268
269int mitk::Material::GetVtkRepresentation() const
270{

Calls

no outgoing calls

Tested by 1