|
Slicer 4.2
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
00001 /*=auto========================================================================= 00002 00003 Portions (c) Copyright 2005 Brigham and Women's Hospital (BWH) All Rights Reserved. 00004 00005 See COPYRIGHT.txt 00006 or http://www.slicer.org/copyright/copyright.txt for details. 00007 00008 Program: 3D Slicer 00009 Module: $RCSfile: vtkMRMLColorTableStorageNode.h,v $ 00010 Date: $Date: 2006/03/19 17:12:29 $ 00011 Version: $Revision: 1.8 $ 00012 00013 =========================================================================auto=*/ 00014 00015 #ifndef __vtkMRMLColorTableStorageNode_h 00016 #define __vtkMRMLColorTableStorageNode_h 00017 00018 #include "vtkMRMLStorageNode.h" 00019 00024 class VTK_MRML_EXPORT vtkMRMLColorTableStorageNode : public vtkMRMLStorageNode 00025 { 00026 public: 00027 static vtkMRMLColorTableStorageNode *New(); 00028 vtkTypeMacro(vtkMRMLColorTableStorageNode,vtkMRMLStorageNode); 00029 void PrintSelf(ostream& os, vtkIndent indent); 00030 00031 virtual vtkMRMLNode* CreateNodeInstance(); 00032 00034 virtual const char* GetNodeTagName() {return "ColorTableStorage";}; 00035 00037 virtual const char* GetDefaultWriteFileExtension(); 00038 00040 virtual bool CanReadInReferenceNode(vtkMRMLNode* refNode); 00041 00042 protected: 00043 vtkMRMLColorTableStorageNode(); 00044 ~vtkMRMLColorTableStorageNode(); 00045 vtkMRMLColorTableStorageNode(const vtkMRMLColorTableStorageNode&); 00046 void operator=(const vtkMRMLColorTableStorageNode&); 00047 00049 virtual void InitializeSupportedReadFileTypes(); 00050 00052 virtual void InitializeSupportedWriteFileTypes(); 00053 00055 virtual int ReadDataInternal(vtkMRMLNode *refNode); 00056 00058 virtual int WriteDataInternal(vtkMRMLNode *refNode); 00059 00061 int MaximumColorID; 00062 00063 }; 00064 00065 #endif 00066 00067 00068
1.7.4