arbeit
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

FieldProbes.h

Go to the documentation of this file.
00001 //------------------------------------------------------------------------
00002 //
00003 //   Joe Kniss
00004 //     6-20-03
00005 //                   ________    ____   ___ 
00006 //                  |        \  /    | /  /
00007 //                  +---+     \/     |/  /
00008 //                  +--+|  |\    /|     < 
00009 //                  |  ||  | \  / |  |\  \ 
00010 //                  |      |  \/  |  | \  \ 
00011 //                   \_____|      |__|  \__\
00012 //                       Copyright  2003 
00013 //                      Joe Michael Kniss
00014 //                   <<< jmk@cs.utah.edu >>>
00015 //               "All Your Base are Belong to Us"
00016 //-------------------------------------------------------------------------
00017 
00018 /// FieldProbes.h
00019 ///  simianUI
00020 
00021 
00022 #ifndef __SIMIAN_FIELD_PROBES_DOT_H
00023 #define __SIMIAN_FIELD_PROBES_DOT_H
00024 
00025 #include <qwidget.h>
00026 #include <qlabel.h>
00027 #include <volume/VolField.h>
00028 
00029 class FieldProbes : public QWidget {
00030    Q_OBJECT
00031 public:
00032    FieldProbes(VolFieldSP vf, QWidget *parent, const char *name=0, WFlags wf=0);
00033    virtual ~FieldProbes();
00034 
00035    enum VALUE_NUMS{
00036       MAX_NUM_VALS = 10
00037    };
00038 
00039 public slots:
00040    virtual void setProbePos(int xp, int yp, int zp);
00041 
00042 protected:
00043    virtual void conf();
00044 
00045    VolFieldSP _vf;
00046    int _nvals;
00047    QLabel  *_nums[MAX_NUM_VALS];
00048 };
00049 
00050 
00051 #endif
00052 

Send questions, comments, and bug reports to:
jmk