• Main Page
  • Related Pages
  • Classes
  • Files
  • File List

src/PropKeys.hh

00001 /*
00002  * Copyright Staffan Gimåker 2010.
00003  *
00004  * ---
00005  *
00006  * Distributed under the Boost Software License, Version 1.0.
00007  * (See accompanying file LICENSE_1_0.txt or copy at
00008  * http://www.boost.org/LICENSE_1_0.txt)
00009  */
00010 
00011 #ifndef PEEKABOT_PROP_KEYS_HH_INCLUDED
00012 #define PEEKABOT_PROP_KEYS_HH_INCLUDED
00013 
00014 
00015 namespace peekabot
00016 {
00017     /*
00018      * Predefined prop keys used for property adapters.
00019      *
00020      * All values used should be less than 10000, as those are reserved for use
00021      * by property adapters.
00022      */
00023     enum
00024     {
00025         // Common
00026         NAME_PROP = 1,
00027         LAYER_PROP = 5,
00028         COLOR_PROP = 10,
00029         HIDDEN_PROP = 15,
00030         VISIBILITY_PROP = 20,
00031         OPACITY_PROP = 25,
00032         MTOW_PROP = 30,
00033         SCALE_PROP = 35,
00034         POS_PROP = 40,
00035         // Camera
00036         CAMERA_ORTHO_PROP = 100,
00037         CAMERA_FOV_PROP = 105,
00038         CAMERA_ZOOM_DISTANCE_PROP = 110,
00039         CAMERA_NEAR_PROP = 115,
00040         CAMERA_FAR_PROP = 120,
00041         // Grid
00042         GRID_TYPE_PROP = 200,
00043         GRID_SEGMENTS_PROP = 205,
00044         GRID_CENTRAL_ANGLE_PROP = 210,
00045         // Label
00046         LABEL_TEXT_PROP = 300,
00047         LABEL_ALIGNMENT_PROP = 305,
00048         // Line-based
00049         LINE_STYLE_PROP = 400,
00050         LINE_STIPPLE_FACTOR_PROP = 405,
00051         LINE_WIDTH_PROP = 410,
00052         // Vertex-based
00053         MAX_VERTICES_PROP = 500,
00054         VERTEX_OVERFLOW_POLICY_PROP = 505,
00055         // Joint
00056         JOINT_VALUE_PROP = 600,
00057         JOINT_MIN_PROP = 605,
00058         JOINT_MAX_PROP = 610,
00059         JOINT_OFFSET_PROP = 615,
00060         // OccupancyGrid2D
00061         OG2D_CELL_SIZE_PROP = 2000,
00062         OG2D_UNOCCUPIED_COLOR_PROP = 2005,
00063         OG2D_OCCUPIED_COLOR_PROP = 2010,
00064         // Hinge
00065         HINGE_AXIS_PROP = 2100,
00066         HINGE_PIVOT_PROP = 2105,
00067         // Slider
00068         SLIDER_AXIS_PROP = 2200,
00069         // OccupancyGrid3D
00070         OG3D_CELL_XY_SIZE_PROP = 2300,
00071         OG3D_CELL_Z_SIZE_PROP = 2305,
00072         OG3D_COLOR_MAPPING_ENABLED_PROP = 2310,
00073         OG3D_COLOR_MAPPING_Z_MIN_PROP = 2315,
00074         OG3D_COLOR_MAPPING_Z_MAX_PROP = 2320
00075     };
00076 }
00077 
00078 
00079 #endif // PEEKABOT_PROP_KEYS_HH_INCLUDED

Generated on Sun Jan 30 2011 for peekabot by  doxygen 1.7.1