00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef ACLVIS_IPPL_STUB_H
00012 #define ACLVIS_IPPL_STUB_H
00013
00014 #define NONE 0
00015 #define ACLVIS 1
00016
00017 #include "aclvis/aclvis.h"
00018
00019 #ifdef IPPL_USE_STANDARD_HEADERS
00020 #include <iostream>
00021 using namespace std;
00022 #else
00023 #include <iostream.h>
00024 #endif
00025
00026 #include <vtk.h>
00027 #include <Xm/Xm.h>
00028
00029 class ConnectStub {
00030 public:
00031 ConnectStub(int);
00032 int GetType();
00033 void SetType(int);
00034 void *GetConnection();
00035 void SetConnection(void *);
00036 private:
00037 int type;
00038 void *connection;
00039 };
00040
00041 class FieldStub {
00042 public:
00043 void connect(ConnectStub *, char *, ConnectDataType);
00044 void update(float);
00045
00046 void interact(int);
00047 void disconnect();
00048 private:
00049 void *readtool;
00050 ConnectDataType connectDataType;
00051 ConnectStub *connect_stub;
00052 };
00053
00054 #endif // ACLVIS_IPPL_STUB_H
00055
00056
00057
00058
00059
00060