IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 6, 2008, 1:41:58 PM (19 years ago)
Author:
eugene
Message:

updates from eam_branch_20071222 : new 3D color map and multiple channels

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/kapa2/include/constants.h

    r13479 r16011  
    99 | StructureNotifyMask \
    1010 | PointerMotionMask)
     11
     12# define NCHANNELS 3
     13# define NPIXELS_DYNAMIC 128
     14
     15// XXX for the moment, this is set to match the values in SetColorScale3D_CC
     16# define NPIXELS_STATIC 4600
    1117
    1218# define PAD1  3
     
    2733# define LABEL_MAXLEN 128
    2834
     35typedef enum {
     36    KAPA_SCALE_1D,
     37    KAPA_SCALE_3D_RUFF,
     38    KAPA_SCALE_3D_FULL
     39} KapaColorScaleMode;
     40
    2941/* label names */
    30 # define LABELX0 0
    31 # define LABELY0 1
    32 # define LABELX1 2
    33 # define LABELY1 3
    34 # define LABELUL 4
    35 # define LABELUR 5
    36 # define LABELLL 6
    37 # define LABELLR 7
     42typedef enum {
     43  LABELX0,
     44  LABELY0,
     45  LABELX1,
     46  LABELY1,
     47  LABELUL,
     48  LABELUR,
     49  LABELLL,
     50  LABELLR
     51} KapaLabelMode;
     52
     53typedef enum {
     54  KAPA_CHANNEL_RED,
     55  KAPA_CHANNEL_GREEN,
     56  KAPA_CHANNEL_BLUE,
     57} KapaChannels;
     58
     59// use an enum to identify the 3 dimensions:
     60typedef enum {
     61  CC_X,
     62  CC_Y,
     63  CC_Z,
     64} CCDimen;
    3865
    3966/* EVENT_MASK consists of:
Note: See TracChangeset for help on using the changeset viewer.