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

vtkCompositeDataVisitor.h

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