Normand Briere
2019-09-08 4a303a7b3635adfee8f46ac76af4e1b7b4a7029b
iCameraPane.java
....@@ -5,7 +5,11 @@
55 static final public int SELECTION = 1;
66 static final public int SHADOW = 2;
77 static final public int OCCLUSION = 3;
8
-
8
+
9
+ boolean IsDebugSelection();
10
+
11
+ boolean IsBoxMode();
12
+
913 void ClearDepth();
1014
1115 void DepthTest(boolean depthtest);
....@@ -20,7 +24,7 @@
2024
2125 boolean IsFrozen();
2226
23
- javax.media.opengl.GL GetGL();
27
+ javax.media.opengl.GL GetGL0();
2428
2529 // Currently in Globals
2630 int DrawMode();
....@@ -31,12 +35,17 @@
3135 void PushTextureMatrix(double[][] matrix, int count);
3236 void PopTextureMatrix(double[][] matrix);
3337
38
+ Camera[] Cameras();
39
+
3440 Camera EyeCamera();
35
-
3641 Camera LightCamera();
37
-
42
+ Camera ManipCamera();
3843 Camera RenderCamera();
3944
45
+ boolean SetCamera(Camera c);
46
+
47
+ cVector TargetLookAt();
48
+
4049 // Should be cMaterial
4150 void PushMaterial(Object3D obj, boolean selected);
4251 void PushMaterial2(Object3D obj, boolean selected);
....@@ -46,8 +55,63 @@
4655
4756 void DrawString(Object3D obj);
4857
49
- void BindTextures(cTexture tex, int resolution);
50
- void ReleaseTextures(cTexture tex);
58
+ //void BindTextures(cTexture tex, int resolution) throws Exception;
59
+ //void ReleaseTextures(cTexture tex);
60
+ void BindPigmentTexture(cTexture tex, int resolution) throws Exception;
61
+ void BindBumpTexture(cTexture tex, int resolution) throws Exception;
62
+ void ReleasePigmentTexture(cTexture tex);
63
+ void ReleaseBumpTexture(cTexture tex);
5164
5265 void DrawFace(Object3D obj, Vertex pv, Vertex qv, Vertex rv, Face face);
66
+
67
+ void DrawBox(cVector min, cVector max);
68
+
69
+ void DrawGeometry(BoundaryRep bRep, boolean flipV, boolean selectmode);
70
+
71
+ void DrawDynamicMesh(cMesh c);
72
+
73
+ void StartTriangles();
74
+ void EndTriangles();
75
+
76
+ int GenList();
77
+ void NewList(int id);
78
+ void CallList(int id);
79
+ void EndList();
80
+
81
+ void NextIndex();
82
+
83
+ void DrawParticles(TriMesh geo, Object3D shape, boolean selected, boolean rotate);
84
+
85
+ void PrepOcclusion(BoundaryRep br, double[][] transform);
86
+
87
+ void setCursor(java.awt.Cursor cursor);
88
+
89
+ com.sun.opengl.util.texture.TextureData GetTextureData(cTexture tex, boolean bump, int resolution) throws Exception;
90
+
91
+ void repaint();
92
+
93
+ void processKeyEvent(java.awt.event.KeyEvent e);
94
+
95
+ void keyPressed(int key);
96
+
97
+ // For scripts
98
+ void ToggleLive();
99
+ void ToggleFrustum();
100
+ void ToggleTexture();
101
+ void ToggleBoxMode();
102
+ void ToggleSupport();
103
+ void ToggleSlowPose();
104
+ void ToggleAbort();
105
+ void ToggleFast();
106
+ void ToggleOeilOnce();
107
+ void ToggleOeil();
108
+ void ToggleTrackOnce();
109
+ void ToggleTrack();
110
+ void ToggleShadowTrack();
111
+ void ToggleInertia();
112
+ void ToggleSmoothFocus();
113
+ void ToggleImageFlip();
114
+ void ToggleSpeakerFocus();
115
+ void ToggleSpeakerCamera();
116
+ void ToggleSpeakerMocap();
53117 }