|
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: vtkMRMLUnstructuredGridNode.h,v $ 00010 Date: $Date: 2006/03/19 17:12:28 $ 00011 Version: $Revision: 1.6 $ 00012 00013 =========================================================================auto=*/ 00014 00015 #ifndef __vtkMRMLUnstructuredGridNode_h 00016 #define __vtkMRMLUnstructuredGridNode_h 00017 00018 #include "vtkMRMLDisplayableNode.h" 00019 00020 class vtkUnstructuredGrid; 00021 00028 class VTK_MRML_EXPORT vtkMRMLUnstructuredGridNode : public vtkMRMLDisplayableNode 00029 { 00030 public: 00031 static vtkMRMLUnstructuredGridNode *New(); 00032 vtkTypeMacro(vtkMRMLUnstructuredGridNode,vtkMRMLDisplayableNode); 00033 00034 void PrintSelf(ostream& os, vtkIndent indent); 00035 00036 //-------------------------------------------------------------------------- 00038 //-------------------------------------------------------------------------- 00039 00040 virtual vtkMRMLNode* CreateNodeInstance(); 00041 00042 00044 virtual void Copy(vtkMRMLNode *node); 00045 00048 virtual const char* GetNodeTagName() {return "UnstructuredGrid";}; 00049 00052 virtual void UpdateScene(vtkMRMLScene *scene); 00053 00054 00057 00064 00065 00066 virtual void ProcessMRMLEvents ( vtkObject * /*caller*/, 00067 unsigned long /*event*/, 00068 void * /*callData*/ ); 00071 vtkGetObjectMacro(UnstructuredGrid, vtkUnstructuredGrid); 00072 void SetAndObserveUnstructuredGrid(vtkUnstructuredGrid *UnstructuredGrid); 00073 00074 virtual bool CanApplyNonLinearTransforms()const; 00075 virtual void ApplyTransform(vtkAbstractTransform* transform); 00076 00079 virtual vtkMRMLStorageNode* CreateDefaultStorageNode(); 00080 00081 00082 protected: 00083 vtkMRMLUnstructuredGridNode(); 00084 ~vtkMRMLUnstructuredGridNode(); 00085 vtkMRMLUnstructuredGridNode(const vtkMRMLUnstructuredGridNode&); 00086 void operator=(const vtkMRMLUnstructuredGridNode&); 00087 00088 virtual void SetUnstructuredGrid(vtkUnstructuredGrid* grid); 00089 00091 vtkUnstructuredGrid *UnstructuredGrid; 00092 00093 }; 00094 00095 #endif
1.7.4