Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dox/Common/vtkCompositeDataVisitor.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkCompositeDataVisitor.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00033 #ifndef __vtkCompositeDataVisitor_h 00034 #define __vtkCompositeDataVisitor_h 00035 00036 #include "vtkObject.h" 00037 00038 class vtkCompositeDataCommand; 00039 00040 class VTK_COMMON_EXPORT vtkCompositeDataVisitor : public vtkObject 00041 { 00042 public: 00043 vtkTypeRevisionMacro(vtkCompositeDataVisitor,vtkObject); 00044 void PrintSelf(ostream& os, vtkIndent indent); 00045 00046 //BTX 00048 00050 void SetCommand(vtkCompositeDataCommand* comm); 00051 vtkGetObjectMacro(Command, vtkCompositeDataCommand); 00053 //ETX 00054 00056 virtual void Execute() = 0; 00057 00059 00062 vtkSetMacro(CreateTransitionElements, int); 00063 vtkGetMacro(CreateTransitionElements, int); 00064 vtkBooleanMacro(CreateTransitionElements, int); 00066 00067 protected: 00068 vtkCompositeDataVisitor(); 00069 virtual ~vtkCompositeDataVisitor(); 00070 00071 vtkCompositeDataCommand* Command; 00072 int CreateTransitionElements; 00073 00074 private: 00075 vtkCompositeDataVisitor(const vtkCompositeDataVisitor&); // Not implemented. 00076 void operator=(const vtkCompositeDataVisitor&); // Not implemented. 00077 }; 00078 00079 #endif 00080