Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
vtkMRMLShaderPropertyStorageNode.h
Go to the documentation of this file.
1/*==============================================================================
2
3 Program: 3D Slicer
4
5 Copyright (c) Kitware Inc.
6
7 See COPYRIGHT.txt
8 or http://www.slicer.org/copyright/copyright.txt for details.
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15
16 This file was originally developed by Simon Drouin, Brigham and Women's
17 Hospital, Boston, MA.
18
19==============================================================================*/
23
24#ifndef __vtkMRMLShaderPropertyStorageNode_h
25#define __vtkMRMLShaderPropertyStorageNode_h
26
27// VolumeRendering includes
28#include "vtkSlicerVolumeRenderingModuleMRMLExport.h"
29
30// MRML includes
31#include "vtkMRMLStorageNode.h"
32
33class vtkImageData;
34
35class VTK_SLICER_VOLUMERENDERING_MODULE_MRML_EXPORT vtkMRMLShaderPropertyStorageNode : public vtkMRMLStorageNode
36{
37public:
40 void PrintSelf(ostream& os, vtkIndent indent) override;
41
43
46 const char* GetNodeTagName() override { return "ShaderPropertyStorage"; }
47
49 bool CanReadInReferenceNode(vtkMRMLNode* refNode) override;
50
51protected:
56
59
62
64 int ReadDataInternal(vtkMRMLNode* refNode) override;
65
67 int WriteDataInternal(vtkMRMLNode* refNode) override;
68};
69
70#endif
void InitializeSupportedReadFileTypes() override
Initialize all the supported read file types.
int WriteDataInternal(vtkMRMLNode *refNode) override
Write data from a referenced node.
vtkMRMLShaderPropertyStorageNode(const vtkMRMLShaderPropertyStorageNode &)
bool CanReadInReferenceNode(vtkMRMLNode *refNode) override
Return true if the node can be read in.
vtkMRMLNode * CreateNodeInstance() override
Create instance of the default node. Like New only virtual.
static vtkMRMLShaderPropertyStorageNode * New()
void operator=(const vtkMRMLShaderPropertyStorageNode &)
const char * GetNodeTagName() override
Get node XML tag name (like Storage, Transform)
void InitializeSupportedWriteFileTypes() override
Initialize all the supported write file types.
void PrintSelf(ostream &os, vtkIndent indent) override
int ReadDataInternal(vtkMRMLNode *refNode) override
Read data and set it in the referenced node.