cgma
DrawingToolDefines.h
Go to the documentation of this file.
00001 // define constants that are part of the public DrawingTool interface
00002 //   here in DrawingTool.hpp (versus DrawingToolInstance.hpp)
00003 #ifndef DRAWINGTOOL_DEFINES_H
00004 #define DRAWINGTOOL_DEFINES_H
00005 const int CUBIT_INVALID_DRAW_MODE     = 0;
00006 const int CUBIT_WIRE_FRAME       = 1;
00007 const int CUBIT_HIDDEN_LINE      = 2;
00008 const int CUBIT_POLYGON_FILL     = 3;
00009 const int CUBIT_FLAT_SHADING     = 4;
00010 const int CUBIT_SMOOTH_SHADING   = 5;
00011 const int CUBIT_PAINTERS         = 6;
00012 const int CUBIT_TRUE_HIDDEN_LINE = 7;
00013 const int CUBIT_SMOOTH_TRANSPARENT = 8;
00014 
00015 const int CUBIT_SCREEN    = 1;
00016 const int CUBIT_WORLD     = 2;
00017 const int CUBIT_CAMERA    = 3;
00018 
00019 const int CUBIT_CAMERA_MOVE_FLY  = 1;
00020 const int CUBIT_CAMERA_MOVE_PAN  = 2;
00021 const int CUBIT_CAMERA_MOVE_SPIN = 3;
00022 
00023 
00024 enum CubitGraphicsPointStyle { CUBIT_GRAPHICS_POINT_OPEN_CIRCLE,
00025                                CUBIT_GRAPHICS_POINT_SOLID_CIRCLE,
00026                                CUBIT_GRAPHICS_POINT_CIRCLED_DOT,
00027                                CUBIT_GRAPHICS_POINT_X,
00028                                CUBIT_GRAPHICS_POINT_PLUS         };
00029 
00030 
00031 // define constants for the labeling type
00032 enum CubitLabelType 
00033 {
00034    CUBIT_LABEL_NONE=0,
00035    CUBIT_LABEL_ID,
00036    CUBIT_LABEL_ELEMENT_ID,
00037    CUBIT_LABEL_NAME,
00038    CUBIT_LABEL_INTERVAL,
00039    CUBIT_LABEL_SIZE,
00040    CUBIT_LABEL_MERGE,
00041    CUBIT_LABEL_IS_MERGED,
00042    CUBIT_LABEL_FIRMNESS,
00043    CUBIT_LABEL_SCHEME,
00044    CUBIT_LABEL_NAME_ID,
00045    CUBIT_LABEL_NAME_ONLY,
00046    CUBIT_LABEL_SPHERE_ID
00047 };
00048 
00049 
00050 
00051 // OR these together as the parameter to set_mouse_zoom_direction()
00052 #define CUBIT_ZOOM_UP    1
00053 #define CUBIT_ZOOM_DOWN  2
00054 #define CUBIT_ZOOM_RIGHT 4
00055 #define CUBIT_ZOOM_LEFT  8
00056 
00057 #endif
00058 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines