KWWidgets
Main Page
Classes
Files
File List
File Members
debian
tmp
usr
include
KWWidgets
debian/tmp/usr/include/KWWidgets/vtkKWStateMachineWriter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Module: $RCSfile: vtkKWStateMachineWriter.h,v $
4
5
Copyright (c) Kitware, Inc.
6
All rights reserved.
7
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
8
9
This software is distributed WITHOUT ANY WARRANTY; without even
10
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11
PURPOSE. See the above copyright notice for more information.
12
13
=========================================================================*/
14
// .NAME vtkKWStateMachineWriter - a state machine writer base-class.
15
// .SECTION Description
16
// This class is the basis for a state machine writer.
17
// A state machine is defined by a set of states, a set of inputs and a
18
// transition matrix that defines for each pair of (state,input) what is
19
// the next state to assume.
20
// .SECTION Thanks
21
// This work is part of the National Alliance for Medical Image
22
// Computing (NAMIC), funded by the National Institutes of Health
23
// through the NIH Roadmap for Medical Research, Grant U54 EB005149.
24
// Information on the National Centers for Biomedical Computing
25
// can be obtained from http://nihroadmap.nih.gov/bioinformatics.
26
// .SECTION See Also
27
// vtkKWStateMachineDOTWriter vtkKWStateMachine
28
29
#ifndef __vtkKWStateMachineWriter_h
30
#define __vtkKWStateMachineWriter_h
31
32
#include "vtkObject.h"
33
#include "
vtkKWWidgets.h
"
// Needed for export symbols directives
34
35
class
vtkKWStateMachine
;
36
37
class
KWWidgets_EXPORT
vtkKWStateMachineWriter
:
public
vtkObject
38
{
39
public
:
40
vtkTypeRevisionMacro(
vtkKWStateMachineWriter
, vtkObject);
41
void
PrintSelf(ostream& os, vtkIndent indent);
42
43
// Description:
44
// Set/Get state machine to write.
45
vtkGetObjectMacro(Input,
vtkKWStateMachine
);
46
virtual
void
SetInput(
vtkKWStateMachine
*);
47
48
// Description:
49
// Set/Get if the writer should output transitions originating and leading
50
// to the same node (self loops).
51
vtkSetMacro(WriteSelfLoop,
int
);
52
vtkGetMacro(WriteSelfLoop,
int
);
53
vtkBooleanMacro(WriteSelfLoop,
int
);
54
55
protected
:
56
vtkKWStateMachineWriter
();
57
~
vtkKWStateMachineWriter
();
58
59
vtkKWStateMachine
*
Input
;
60
int
WriteSelfLoop
;
61
62
private
:
63
64
vtkKWStateMachineWriter
(
const
vtkKWStateMachineWriter
&);
// Not implemented
65
void
operator=(
const
vtkKWStateMachineWriter
&);
// Not implemented
66
};
67
68
#endif
Generated on Thu Apr 18 2013 08:50:51 for KWWidgets by
1.8.1.2