debian/tmp/usr/include/KWWidgets/vtkKWStateMachineDOTWriter.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034 #ifndef __vtkKWStateMachineDOTWriter_h
00035 #define __vtkKWStateMachineDOTWriter_h
00036
00037 #include "vtkKWStateMachineWriter.h"
00038
00039 class KWWidgets_EXPORT vtkKWStateMachineDOTWriter : public vtkKWStateMachineWriter
00040 {
00041 public:
00042 static vtkKWStateMachineDOTWriter* New();
00043 vtkTypeRevisionMacro(vtkKWStateMachineDOTWriter, vtkKWStateMachineWriter);
00044 void PrintSelf(ostream& os, vtkIndent indent);
00045
00046
00047
00048
00049 virtual int WriteToStream(ostream& os);
00050 virtual int WriteToFile(const char *filename);
00051
00052
00053
00054
00055 vtkGetStringMacro(StateFontName);
00056 vtkSetStringMacro(StateFontName);
00057
00058
00059
00060 vtkSetClampMacro(StateFontSize, int, 2, 200);
00061 vtkGetMacro(StateFontSize, int);
00062
00063
00064
00065 vtkSetVector3Macro(StateFontColor,double);
00066 vtkGetVector3Macro(StateFontColor,double);
00067
00068
00069
00070
00071 vtkGetStringMacro(InputFontName);
00072 vtkSetStringMacro(InputFontName);
00073
00074
00075
00076 vtkSetClampMacro(InputFontSize, int, 2, 200);
00077 vtkGetMacro(InputFontSize, int);
00078
00079
00080
00081 vtkSetVector3Macro(InputFontColor,double);
00082 vtkGetVector3Macro(InputFontColor,double);
00083
00084
00085
00086 vtkGetStringMacro(GraphLabel);
00087 vtkSetStringMacro(GraphLabel);
00088
00089
00090
00091
00092
00093 vtkGetStringMacro(GraphFontName);
00094 vtkSetStringMacro(GraphFontName);
00095
00096
00097
00098
00099 vtkSetClampMacro(GraphFontSize, int, 2, 200);
00100 vtkGetMacro(GraphFontSize, int);
00101
00102
00103
00104
00105 vtkSetVector3Macro(GraphFontColor,double);
00106 vtkGetVector3Macro(GraphFontColor,double);
00107
00108
00109
00110
00111 enum
00112 {
00113 GraphDirectionTopToBottom,
00114 GraphDirectionLeftToRight
00115 };
00116
00117 vtkSetClampMacro(GraphDirection, int, GraphDirectionTopToBottom, GraphDirectionLeftToRight);
00118 vtkGetMacro(GraphDirection, int);
00119 virtual void SetGraphDirectionToTopToBottom();
00120 virtual void SetGraphDirectionToLeftToRight();
00121
00122
00123
00124
00125
00126
00127
00128
00129 vtkBooleanMacro(PutStatesAtSameRank, int);
00130 vtkGetMacro(PutStatesAtSameRank, int);
00131 vtkSetMacro(PutStatesAtSameRank, int);
00132
00133
00134
00135
00136 vtkBooleanMacro(CommandVisibility, int);
00137 vtkGetMacro(CommandVisibility, int);
00138 vtkSetMacro(CommandVisibility, int);
00139
00140
00141
00142
00143 vtkGetStringMacro(ClusterFontName);
00144 vtkSetStringMacro(ClusterFontName);
00145
00146
00147
00148 vtkSetClampMacro(ClusterFontSize, int, 2, 200);
00149 vtkGetMacro(ClusterFontSize, int);
00150
00151
00152
00153 vtkSetVector3Macro(ClusterFontColor,double);
00154 vtkGetVector3Macro(ClusterFontColor,double);
00155
00156 protected:
00157 vtkKWStateMachineDOTWriter();
00158 ~vtkKWStateMachineDOTWriter();
00159
00160 char *GraphLabel;
00161 char *GraphFontName;
00162 int GraphFontSize;
00163 double GraphFontColor[3];
00164 int GraphDirection;
00165
00166 char *StateFontName;
00167 int StateFontSize;
00168 double StateFontColor[3];
00169
00170 char *InputFontName;
00171 int InputFontSize;
00172 double InputFontColor[3];
00173
00174 char *ClusterFontName;
00175 int ClusterFontSize;
00176 double ClusterFontColor[3];
00177
00178 int PutStatesAtSameRank;
00179 int CommandVisibility;
00180
00181 private:
00182
00183 vtkKWStateMachineDOTWriter(const vtkKWStateMachineDOTWriter&);
00184 void operator=(const vtkKWStateMachineDOTWriter&);
00185 };
00186
00187 #endif