iMSTK
Interactive Medical Simulation Toolkit
Source
RenderingVTK
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>
18
VolumeRenderMaterial::getVolumeProperty
()
19
{
20
return
this->m_property;
21
}
22
}
// namespace imstk
imstk
Compound Geometry.
Definition:
OctreeDebugModel.cpp:10
imstk::VolumeRenderMaterial::getVolumeProperty
vtkSmartPointer< vtkVolumeProperty > getVolumeProperty()
Get the volume property.
Definition:
imstkVolumeRenderMaterial.cpp:18
Generated by
1.8.13