From 8768a855af9ccc482a9520ce708ef32e0e6e0e7d Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Fri, 04 Oct 2019 20:06:36 -0400 Subject: [PATCH] Block multiple download. --- iCameraPane.java | 70 ++++++++++++++++++++++++++++++++-- 1 files changed, 65 insertions(+), 5 deletions(-) diff --git a/iCameraPane.java b/iCameraPane.java index 9d55774..2fdab16 100644 --- a/iCameraPane.java +++ b/iCameraPane.java @@ -6,6 +6,8 @@ static final public int SHADOW = 2; static final public int OCCLUSION = 3; + boolean IsDebugSelection(); + boolean IsBoxMode(); void ClearDepth(); @@ -22,7 +24,7 @@ boolean IsFrozen(); - javax.media.opengl.GL GetGL(); + javax.media.opengl.GL GetGL0(); // Currently in Globals int DrawMode(); @@ -33,12 +35,17 @@ void PushTextureMatrix(double[][] matrix, int count); void PopTextureMatrix(double[][] matrix); + Camera[] Cameras(); + Camera EyeCamera(); - Camera LightCamera(); - + Camera ManipCamera(); Camera RenderCamera(); + boolean SetCamera(Camera c, boolean set); + + cVector TargetLookAt(); + // Should be cMaterial void PushMaterial(Object3D obj, boolean selected); void PushMaterial2(Object3D obj, boolean selected); @@ -48,10 +55,63 @@ void DrawString(Object3D obj); - void BindTextures(cTexture tex, int resolution); - void ReleaseTextures(cTexture tex); + //void BindTextures(cTexture tex, int resolution) throws Exception; + //void ReleaseTextures(cTexture tex); + void BindPigmentTexture(cTexture tex, int resolution) throws Exception; + void BindBumpTexture(cTexture tex, int resolution) throws Exception; + void ReleasePigmentTexture(cTexture tex); + void ReleaseBumpTexture(cTexture tex); void DrawFace(Object3D obj, Vertex pv, Vertex qv, Vertex rv, Face face); + void DrawBox(cVector min, cVector max); + + void DrawGeometry(BoundaryRep bRep, boolean flipV, boolean selectmode); + + void DrawDynamicMesh(cMesh c); + + void StartTriangles(); + void EndTriangles(); + + int GenList(); + void NewList(int id); + void CallList(int id); + void EndList(); + + void NextIndex(); + void DrawParticles(TriMesh geo, Object3D shape, boolean selected, boolean rotate); + + void PrepOcclusion(BoundaryRep br, double[][] transform); + + void setCursor(java.awt.Cursor cursor); + + com.sun.opengl.util.texture.TextureData GetTextureData(cTexture tex, boolean bump, int resolution) throws Exception; + + void repaint(); + + void processKeyEvent(java.awt.event.KeyEvent e); + + void keyPressed(int key); + + // For scripts + void ToggleLive(); + void ToggleFrustum(); + void ToggleTexture(); + void ToggleBoxMode(); + void ToggleSupport(); + void ToggleSlowPose(); + void ToggleAbort(); + void ToggleFast(); + void ToggleOeilOnce(); + void ToggleOeil(); + void ToggleTrackOnce(); + void ToggleTrack(); + void ToggleShadowTrack(); + void ToggleInertia(); + void ToggleSmoothFocus(); + void ToggleImageFlip(); + void ToggleSpeakerFocus(); + void ToggleSpeakerCamera(); + void ToggleSpeakerMocap(); } -- Gitblit v1.6.2