src
paraview-5.12
Remoting
Views
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
19
class
VTKREMOTINGVIEWS_EXPORT
vtkSMComparativeAnimationCueUndoElement
:
public
vtkSMUndoElement
20
{
21
public
:
22
static
vtkSMComparativeAnimationCueUndoElement
*
New
();
23
vtkTypeMacro(
vtkSMComparativeAnimationCueUndoElement
,
vtkSMUndoElement
);
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
:
32
vtkSMComparativeAnimationCueUndoElement
();
33
~
vtkSMComparativeAnimationCueUndoElement
()
override
;
34
35
vtkSmartPointer<vtkPVXMLElement>
BeforeState
;
36
vtkSmartPointer<vtkPVXMLElement>
AfterState
;
37
vtkTypeUInt32
ComparativeAnimationCueID
;
38
39
private
:
40
vtkSMComparativeAnimationCueUndoElement
(
const
vtkSMComparativeAnimationCueUndoElement
&) =
delete
;
41
void
operator=(
const
vtkSMComparativeAnimationCueUndoElement
&) =
delete
;
42
};
43
44
#endif
vtkSMUndoElement.h
vtkSMComparativeAnimationCueUndoElement::ComparativeAnimationCueID
vtkTypeUInt32 ComparativeAnimationCueID
Definition:
vtkSMComparativeAnimationCueUndoElement.h:37
vtkSMComparativeAnimationCueUndoElement::BeforeState
vtkSmartPointer< vtkPVXMLElement > BeforeState
Definition:
vtkSMComparativeAnimationCueUndoElement.h:35
vtkSMUndoElement::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkObject::New
static vtkObject * New()
vtkSmartPointer< vtkPVXMLElement >
vtkSMComparativeAnimationCueUndoElement::AfterState
vtkSmartPointer< vtkPVXMLElement > AfterState
Definition:
vtkSMComparativeAnimationCueUndoElement.h:36
vtkSMUndoElement
abstract superclass for Server Manager undo elements.
Definition:
vtkSMUndoElement.h:23
vtkUndoElement::Undo
virtual int Undo()=0
Undo the operation encapsulated by this element.
vtkIndent
vtkSmartPointer.h
vtkWeakPointer.h
vtkPVXMLElement
Definition:
vtkPVXMLElement.h:23
vtkSMComparativeAnimationCueUndoElement
UndoElement for ComparativeAnimationCue.
Definition:
vtkSMComparativeAnimationCueUndoElement.h:19
vtkUndoElement::Redo
virtual int Redo()=0
Redo the operation encaspsulated by this element.
Generated by
1.8.17 on Wed Mar 27 2024