Normand Briere
2019-10-05 8768a855af9ccc482a9520ce708ef32e0e6e0e7d
iCameraPane.java
....@@ -6,6 +6,8 @@
66 static final public int SHADOW = 2;
77 static final public int OCCLUSION = 3;
88
9
+ boolean IsDebugSelection();
10
+
911 boolean IsBoxMode();
1012
1113 void ClearDepth();
....@@ -22,7 +24,7 @@
2224
2325 boolean IsFrozen();
2426
25
- javax.media.opengl.GL GetGL();
27
+ javax.media.opengl.GL GetGL0();
2628
2729 // Currently in Globals
2830 int DrawMode();
....@@ -33,12 +35,17 @@
3335 void PushTextureMatrix(double[][] matrix, int count);
3436 void PopTextureMatrix(double[][] matrix);
3537
38
+ Camera[] Cameras();
39
+
3640 Camera EyeCamera();
37
-
3841 Camera LightCamera();
39
-
42
+ Camera ManipCamera();
4043 Camera RenderCamera();
4144
45
+ boolean SetCamera(Camera c, boolean set);
46
+
47
+ cVector TargetLookAt();
48
+
4249 // Should be cMaterial
4350 void PushMaterial(Object3D obj, boolean selected);
4451 void PushMaterial2(Object3D obj, boolean selected);
....@@ -48,10 +55,63 @@
4855
4956 void DrawString(Object3D obj);
5057
51
- void BindTextures(cTexture tex, int resolution);
52
- 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);
5364
5465 void DrawFace(Object3D obj, Vertex pv, Vertex qv, Vertex rv, Face face);
5566
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
+
5683 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();
57117 }