vtkSMComparativeAnimationCueUndoElement.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
9 #ifndef vtkSMComparativeAnimationCueUndoElement_h
10 #define vtkSMComparativeAnimationCueUndoElement_h
11 
12 #include "vtkRemotingViewsModule.h" //needed for exports
13 #include "vtkSMUndoElement.h"
14 #include <vtkSmartPointer.h> // needed for vtkSmartPointer.
15 #include <vtkWeakPointer.h> // needed for vtkWeakPointer.
16 
17 class vtkPVXMLElement;
18 
20 {
21 public:
24  void PrintSelf(ostream& os, vtkIndent indent) override;
25 
26  int Undo() override;
27  int Redo() override;
28 
29  void SetXMLStates(vtkTypeUInt32 id, vtkPVXMLElement* before, vtkPVXMLElement* after);
30 
31 protected:
34 
38 
39 private:
41  void operator=(const vtkSMComparativeAnimationCueUndoElement&) = delete;
42 };
43 
44 #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.