iMSTK
Interactive Medical Simulation Toolkit
imstkVolumeRenderMaterial.cpp
1 /*
2 ** This file is part of the Interactive Medical Simulation Toolkit (iMSTK)
3 ** iMSTK is distributed under the Apache License, Version 2.0.
4 ** See accompanying NOTICE for details.
5 */
6 
7 #include "imstkVolumeRenderMaterial.h"
8 
9 #include <vtkVolumeProperty.h>
10 
11 namespace imstk
12 {
13 VolumeRenderMaterial::VolumeRenderMaterial() : m_property(vtkSmartPointer<vtkVolumeProperty>::New())
14 {
15 }
16 
17 vtkSmartPointer<vtkVolumeProperty>
19 {
20  return this->m_property;
21 }
22 } // namespace imstk
Compound Geometry.
vtkSmartPointer< vtkVolumeProperty > getVolumeProperty()
Get the volume property.