vtkSMComparativeAnimationCueUndoElement.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMComparativeAnimationCueUndoElement.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
21 #ifndef vtkSMComparativeAnimationCueUndoElement_h
22 #define vtkSMComparativeAnimationCueUndoElement_h
23 
24 #include "vtkRemotingViewsModule.h" //needed for exports
25 #include "vtkSMUndoElement.h"
26 #include <vtkSmartPointer.h> // needed for vtkSmartPointer.
27 #include <vtkWeakPointer.h> // needed for vtkWeakPointer.
28 
29 class vtkPVXMLElement;
30 
32 {
33 public:
36  void PrintSelf(ostream& os, vtkIndent indent) override;
37 
38  int Undo() override;
39  int Redo() override;
40 
41  void SetXMLStates(vtkTypeUInt32 id, vtkPVXMLElement* before, vtkPVXMLElement* after);
42 
43 protected:
46 
50 
51 private:
53  void operator=(const vtkSMComparativeAnimationCueUndoElement&) = delete;
54 };
55 
56 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
#define VTKREMOTINGVIEWS_EXPORT
virtual int Undo()=0
Undo the operation encapsulated by this element.
virtual int Redo()=0
Redo the operation encaspsulated by this element.
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
static vtkObject * New()
abstract superclass for Server Manager undo elements.