Skip to content

Commit

Permalink
add latest version of SH3D (6.6), add listeners to modification of po…
Browse files Browse the repository at this point in the history
…sition of observer sprite, and send them to Python Server
  • Loading branch information
kimokipo committed Jun 29, 2022
1 parent de685aa commit 7f53c22
Show file tree
Hide file tree
Showing 123 changed files with 4,476 additions and 592 deletions.
8 changes: 6 additions & 2 deletions JavaProject/.classpath
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path=""/>
<classpathentry kind="lib" path="SweetHome3D-5.1.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="lib" path="SweetHome3D-6.6.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="bin"/>
</classpath>
38 changes: 0 additions & 38 deletions JavaProject/README.md

This file was deleted.

16 changes: 16 additions & 0 deletions JavaProject/ScratchHome_sprite.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
19 changes: 0 additions & 19 deletions JavaProject/a_faire.txt

This file was deleted.

8 changes: 6 additions & 2 deletions JavaProject/bin/.classpath
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path=""/>
<classpathentry kind="lib" path="SweetHome3D-5.1.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="lib" path="SweetHome3D-6.6.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="bin"/>
</classpath>
38 changes: 0 additions & 38 deletions JavaProject/bin/README.md

This file was deleted.

Binary file not shown.
19 changes: 0 additions & 19 deletions JavaProject/bin/a_faire.txt

This file was deleted.

30 changes: 23 additions & 7 deletions JavaProject/bin/doc/allclasses-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="fr">
<head>
<!-- Generated by javadoc (12.0.1) on Thu Jun 23 13:55:02 CEST 2022 -->
<!-- Generated by javadoc (12.0.1) on Wed Jun 29 09:34:02 CEST 2022 -->
<title>All Classes</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2022-06-23">
<meta name="dc.created" content="2022-06-29">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="script.js"></script>
Expand Down Expand Up @@ -91,36 +91,52 @@ <h1 title="All&amp;nbsp;Classes" class="title">All&nbsp;Classes</h1>
</tr>
<tbody>
<tr class="altColor" id="i0">
<td class="colFirst"><a href="src/com/ScratchHome/CameraListener.html" title="class in src.com.ScratchHome">CameraListener</a></td>
<th class="colLast" scope="row">&nbsp;</th>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><a href="src/com/ScratchHome/ClickListener.html" title="class in src.com.ScratchHome">ClickListener</a></td>
<th class="colLast" scope="row">&nbsp;</th>
</tr>
<tr class="altColor" id="i2">
<td class="colFirst"><a href="src/com/ScratchHome/ControlPanel.html" title="class in src.com.ScratchHome">ControlPanel</a></td>
<th class="colLast" scope="row">
<div class="block">The view for the server.</div>
</th>
</tr>
<tr class="rowColor" id="i1">
<tr class="rowColor" id="i3">
<td class="colFirst"><a href="src/com/ScratchHome/HomeModifier.html" title="class in src.com.ScratchHome">HomeModifier</a></td>
<th class="colLast" scope="row">
<div class="block">Modify SH3D objects properties (only the colors for the moment but can be improved)</div>
</th>
</tr>
<tr class="altColor" id="i2">
<tr class="altColor" id="i4">
<td class="colFirst"><a href="src/com/ScratchHome/JSONAction.html" title="class in src.com.ScratchHome">JSONAction</a></td>
<th class="colLast" scope="row">
<div class="block">Create a SB3 file (actually a ZIP), that is the Scratch project format, by creating a JSON and SVG to represent SH3D scene's objects</div>
</th>
</tr>
<tr class="rowColor" id="i3">
<tr class="rowColor" id="i5">
<td class="colFirst"><a href="src/com/ScratchHome/ObserverInfo.html" title="class in src.com.ScratchHome">ObserverInfo</a></td>
<th class="colLast" scope="row">&nbsp;</th>
</tr>
<tr class="altColor" id="i6">
<td class="colFirst"><a href="src/com/ScratchHome/PositionCameraListener.html" title="class in src.com.ScratchHome">PositionCameraListener</a></td>
<th class="colLast" scope="row">&nbsp;</th>
</tr>
<tr class="rowColor" id="i7">
<td class="colFirst"><a href="src/com/ScratchHome/ScratchAction.html" title="class in src.com.ScratchHome">ScratchAction</a></td>
<th class="colLast" scope="row">
<div class="block">Allow the listening of Scratch' actions and modifications on SH3D scene</div>
</th>
</tr>
<tr class="altColor" id="i4">
<tr class="altColor" id="i8">
<td class="colFirst"><a href="src/com/ScratchHome/ScratchHomePlugin.html" title="class in src.com.ScratchHome">ScratchHomePlugin</a></td>
<th class="colLast" scope="row">
<div class="block">The main class of the ScratchHome plugin</div>
</th>
</tr>
<tr class="rowColor" id="i5">
<tr class="rowColor" id="i9">
<td class="colFirst"><a href="src/com/ScratchHome/ScratchListener.html" title="class in src.com.ScratchHome">ScratchListener</a></td>
<th class="colLast" scope="row">
<div class="block">Listen actions sent by Scratch in order to modify the SH3D scene</div>
Expand Down
4 changes: 2 additions & 2 deletions JavaProject/bin/doc/allpackages-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="fr">
<head>
<!-- Generated by javadoc (12.0.1) on Thu Jun 23 13:55:02 CEST 2022 -->
<!-- Generated by javadoc (12.0.1) on Wed Jun 29 09:34:02 CEST 2022 -->
<title>All Packages</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2022-06-23">
<meta name="dc.created" content="2022-06-29">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="script.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions JavaProject/bin/doc/constant-values.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="fr">
<head>
<!-- Generated by javadoc (12.0.1) on Thu Jun 23 13:55:02 CEST 2022 -->
<!-- Generated by javadoc (12.0.1) on Wed Jun 29 09:34:02 CEST 2022 -->
<title>Constant Field Values</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2022-06-23">
<meta name="dc.created" content="2022-06-29">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="script.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions JavaProject/bin/doc/deprecated-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="fr">
<head>
<!-- Generated by javadoc (12.0.1) on Thu Jun 23 13:55:02 CEST 2022 -->
<!-- Generated by javadoc (12.0.1) on Wed Jun 29 09:34:02 CEST 2022 -->
<title>Deprecated List</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2022-06-23">
<meta name="dc.created" content="2022-06-29">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="script.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions JavaProject/bin/doc/help-doc.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="fr">
<head>
<!-- Generated by javadoc (12.0.1) on Thu Jun 23 13:55:02 CEST 2022 -->
<!-- Generated by javadoc (12.0.1) on Wed Jun 29 09:34:02 CEST 2022 -->
<title>API Help</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2022-06-23">
<meta name="dc.created" content="2022-06-29">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="script.js"></script>
Expand Down
16 changes: 12 additions & 4 deletions JavaProject/bin/doc/index-files/index-1.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="fr">
<head>
<!-- Generated by javadoc (12.0.1) on Thu Jun 23 13:55:02 CEST 2022 -->
<!-- Generated by javadoc (12.0.1) on Wed Jun 29 09:34:02 CEST 2022 -->
<title>C-Index</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2022-06-23">
<meta name="dc.created" content="2022-06-29">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
Expand Down Expand Up @@ -76,11 +76,15 @@
</nav>
</header>
<main role="main">
<div class="contentContainer"><a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">G</a>&nbsp;<a href="index-4.html">H</a>&nbsp;<a href="index-5.html">I</a>&nbsp;<a href="index-6.html">J</a>&nbsp;<a href="index-7.html">R</a>&nbsp;<a href="index-8.html">S</a>&nbsp;<a href="index-9.html">T</a>&nbsp;<br><a href="../allclasses-index.html">All&nbsp;Classes</a>&nbsp;<a href="../allpackages-index.html">All&nbsp;Packages</a><a id="I:C">
<div class="contentContainer"><a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">G</a>&nbsp;<a href="index-4.html">H</a>&nbsp;<a href="index-5.html">I</a>&nbsp;<a href="index-6.html">J</a>&nbsp;<a href="index-7.html">O</a>&nbsp;<a href="index-8.html">P</a>&nbsp;<a href="index-9.html">R</a>&nbsp;<a href="index-10.html">S</a>&nbsp;<a href="index-11.html">T</a>&nbsp;<br><a href="../allclasses-index.html">All&nbsp;Classes</a>&nbsp;<a href="../allpackages-index.html">All&nbsp;Packages</a><a id="I:C">
<!-- -->
</a>
<h2 class="title">C</h2>
<dl>
<dt><a href="../src/com/ScratchHome/CameraListener.html" title="class in src.com.ScratchHome"><span class="typeNameLink">CameraListener</span></a> - Class in <a href="../src/com/ScratchHome/package-summary.html">src.com.ScratchHome</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../src/com/ScratchHome/CameraListener.html#%3Cinit%3E()">CameraListener()</a></span> - Constructor for class src.com.ScratchHome.<a href="../src/com/ScratchHome/CameraListener.html" title="class in src.com.ScratchHome">CameraListener</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../src/com/ScratchHome/HomeModifier.html#changeColor(java.lang.String,int,com.eteks.sweethome3d.model.Home)">changeColor(String, int, Home)</a></span> - Static method in class src.com.ScratchHome.<a href="../src/com/ScratchHome/HomeModifier.html" title="class in src.com.ScratchHome">HomeModifier</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../src/com/ScratchHome/ControlPanel.html#changeMessage(java.lang.String)">changeMessage(String)</a></span> - Method in class src.com.ScratchHome.<a href="../src/com/ScratchHome/ControlPanel.html" title="class in src.com.ScratchHome">ControlPanel</a></dt>
Expand All @@ -91,6 +95,10 @@ <h2 class="title">C</h2>
<dd>
<div class="block">Change the status of the server (ON if running, OFF otherwise)</div>
</dd>
<dt><a href="../src/com/ScratchHome/ClickListener.html" title="class in src.com.ScratchHome"><span class="typeNameLink">ClickListener</span></a> - Class in <a href="../src/com/ScratchHome/package-summary.html">src.com.ScratchHome</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../src/com/ScratchHome/ClickListener.html#%3Cinit%3E()">ClickListener()</a></span> - Constructor for class src.com.ScratchHome.<a href="../src/com/ScratchHome/ClickListener.html" title="class in src.com.ScratchHome">ClickListener</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../src/com/ScratchHome/ScratchAction.html#closeListener()">closeListener()</a></span> - Method in class src.com.ScratchHome.<a href="../src/com/ScratchHome/ScratchAction.html" title="class in src.com.ScratchHome">ScratchAction</a></dt>
<dd>
<div class="block">Method to close the server</div>
Expand All @@ -108,7 +116,7 @@ <h2 class="title">C</h2>
<div class="block">Method to create JSON file representing SH3D scene objects and putting it in a SB3 file which is the Scratch project format.</div>
</dd>
</dl>
<a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">G</a>&nbsp;<a href="index-4.html">H</a>&nbsp;<a href="index-5.html">I</a>&nbsp;<a href="index-6.html">J</a>&nbsp;<a href="index-7.html">R</a>&nbsp;<a href="index-8.html">S</a>&nbsp;<a href="index-9.html">T</a>&nbsp;<br><a href="../allclasses-index.html">All&nbsp;Classes</a>&nbsp;<a href="../allpackages-index.html">All&nbsp;Packages</a></div>
<a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">G</a>&nbsp;<a href="index-4.html">H</a>&nbsp;<a href="index-5.html">I</a>&nbsp;<a href="index-6.html">J</a>&nbsp;<a href="index-7.html">O</a>&nbsp;<a href="index-8.html">P</a>&nbsp;<a href="index-9.html">R</a>&nbsp;<a href="index-10.html">S</a>&nbsp;<a href="index-11.html">T</a>&nbsp;<br><a href="../allclasses-index.html">All&nbsp;Classes</a>&nbsp;<a href="../allpackages-index.html">All&nbsp;Packages</a></div>
</main>
<footer role="contentinfo">
<nav role="navigation">
Expand Down
Loading

0 comments on commit 7f53c22

Please sign in to comment.