01: /*
02: * Apollo - Motion capture and animation system
03: * Copyright (c) 2005 Apollo
04: *
05: * This program is free software; you can redistribute it and/or
06: * modify it under the terms of the GNU General Public License
07: * as published by the Free Software Foundation; either version 2
08: * of the License, or (at your option) any later version.
09: *
10: * This program is distributed in the hope that it will be useful,
11: * but WITHOUT ANY WARRANTY; without even the implied warranty of
12: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13: * GNU General Public License for more details.
14: *
15: * You should have received a copy of the GNU General Public License
16: * along with this program; if not, write to the Free Software
17: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18: *
19: * http://www.gnu.org/copyleft/gpl.html
20: *
21: * @author Giovane.Kuhn - brain@netuno.com.br
22: *
23: */
24: package org.apollo;
25:
26: import java.awt.Color;
27:
28: /**
29: * Class to mantain all apollo constants
30: * @author Giovane.Kuhn on 28/05/2005
31: */
32: public final class ApolloConstants {
33:
34: /** Default markers color */
35: public static final Color MARKER_COLOR = Color.WHITE;
36:
37: /** Default markers color */
38: public static final Color SELECTED_MARKER_COLOR = Color.RED;
39:
40: /** Default joint color */
41: public static final Color JOINT_COLOR = Color.GREEN;
42:
43: /** Default end site color */
44: public static final Color END_JOINT_COLOR = Color.BLUE;
45:
46: /** Default selected joint color */
47: public static final Color SELECTED_JOINT_COLOR = Color.RED;
48:
49: /** Default segment color */
50: public static final Color SEGMENT_COLOR = Color.WHITE;
51:
52: /** Default marker radius */
53: public static final double MARKER_RADIUS = 3.0;
54:
55: /** Default selected marker radius */
56: public static final double SELECTED_MARKER_RADIUS = 1.5 * MARKER_RADIUS;
57:
58: /** Default joint radius */
59: public static final double JOINT_RADIUS = 3.0;
60:
61: /** Default selected joint radius */
62: public static final double SELECTED_JOINT_RADIUS = 1.5 * JOINT_RADIUS;
63:
64: /** Default model segment width */
65: public static final float SEGMENT_LINE_WIDTH = 1;
66:
67: /** Limit distance between markers */
68: public static final float MARKER_LIMIT_DISTANCE = 20;
69:
70: /** Limit distance between joint and marker */
71: public static final float JOINT_MARKER_LIMIT_DISTANCE = 20;
72:
73: /** Far view, that needs to draw the things */
74: public static final float FAR_VIEW = 1000;
75:
76: /** Line width for ground */
77: public static final float GROUND_LINE_WIDTH = 1;
78:
79: /** Square size for ground */
80: public static final float GROUND_SIZE = 50;
81:
82: /** Ground color for animations */
83: public static final Color GROUND_COLOR = Color.DARK_GRAY;
84:
85: /** Line width for axis */
86: public static final float AXIS_LINE_WIDTH = 1;
87:
88: /** Axis-x color */
89: public static final Color AXIS_X_COLOR = Color.RED;
90:
91: /** Axis-y color */
92: public static final Color AXIS_Y_COLOR = Color.GREEN;
93:
94: /** Axis-z color */
95: public static final Color AXIS_Z_COLOR = Color.BLUE;
96:
97: }
|