Revision 29090

View differences:

tags/gvSIG_3D_Animation_1_0_SNAPSHOT_build_9/extensions/ext3Dgui/maven-build.xml
1
<project name="copy-native" default="install-binaries" basedir=".">
2
	<description>
3
		Downloads and copy all native dependencies.
4
	</description>
5
	<property name="binaries" location="${basedir}/../binaries/" />
6
	<property name="buildman.executable" location="${basedir}/buildman/bin/bmn.py" />
7
	<property environment="env" />
8
	<condition property="depman" value="${env.HOMEPATH}/DepMan/">
9
		<or>
10
			<os family="windows" />
11
			<os family="win9x" />
12
			<os name="Windows Vista" />
13
		</or>
14
	</condition>
15
	<condition property="depman" value="${env.HOME}/.depman/">
16
		<and>
17
			<os family="unix" />
18
			<not>
19
				<os family="mac" />
20
			</not>
21
		</and>
22
	</condition>
23
	<condition property="depman" value="/Developer/DepMan/">
24
		<os family="mac" />
25
	</condition>
26

  
27
	<condition property="isLinux">
28
		<os family="unix" />
29
	</condition>
30
	<condition property="isWindows">
31
		<or>
32
			<os family="windows" />
33
			<os family="win9x" />
34
			<os name="Windows Vista" />
35
		</or>
36
	</condition>
37
	<condition property="isMac">
38
		<os family="mac" />
39
	</condition>
40
	
41
	<condition property="binaries-dir" value="${binaries}/w32/3D">
42
		<or>
43
			<os family="windows" />
44
			<os family="win9x" />
45
			<os name="Windows Vista" />
46
		</or>
47
	</condition>
48
	<condition property="binaries-dir" value="${binaries}/linux/3D">
49
		<os family="unix" />
50
	</condition>
51
	<condition property="binaries-dir" value="${binaries}/mac/3D">
52
		<os family="mac" />
53
	</condition>
54
	
55
	
56
	<target name="install-binaries" depends="copy-binaries">
57
		<copy todir="${install-binaries-dir}">
58
			<fileset dir="${binaries-dir}" includes="**/**"
59
				excludes="*.exe,*.head,links.properties" />
60
		</copy>
61
	</target>
62

  
63
	<target name="copy-binaries"
64
		depends="copy-linux-binaries,copy-win-binaries,copy-mac-binaries">
65
	</target>
66

  
67
	<target name="copy-win-binaries" if="isWindows"
68
		depends="update-binaries-remote">
69
		<mkdir dir="${binaries-dir}" />
70
		<copy todir="${binaries-dir}">
71
			<fileset dir="${depman}/bin/" includes="**/**"
72
				excludes="*.exe" />
73
		</copy>
74
	</target>
75

  
76
	<target name="copy-linux-binaries" if="isLinux"
77
		depends="update-binaries-remote">
78
		<mkdir dir="${binaries-dir}" />
79
		<copy todir="${binaries-dir}">
80
			<fileset dir="${depman}/lib/" includes="*.so*,**/*.so*"
81
				followsymlinks="false" />
82
		</copy>
83

  
84
		<exec executable="${basedir}/gen_simb_link.sh" />
85

  
86
		<exec executable="${binaries-dir}/install-3D.sh" dir="${install-binaries-dir}/../" />
87
		<!--
88
			<exec executable="bash">
89
			<arg value="-c"/>
90
			<arg value="find ${depman}/lib/ -type l -exec ls -l {} ';' | sed 's/.*[.][/]//g' | sed 's/\(.*\) -> \(.*\)$/ln -s \2 \1/g' > ${binaries-dir}/install.sh.tmp"/>
91
			</exec>
92
			<concat destfile="${binaries-dir}/install-3D.sh">#!bin/sh
93
			
94
			</concat>
95
			<concat destfile="${binaries-dir}/install-3D.sh" append="true">
96
			<filelist dir="${binaries-dir}" files="install.sh.tmp"/>
97
			</concat>
98
			<delete file="${binaries-dir}/install.sh.tmp"/>
99
			<exec executable="bash">
100
			<arg value="-c"/>
101
			<arg value="cd ${depman}/lib/ ; (find . -type l -exec ls -l {} ';' | sed 's/.*[.][/]//g' | sed 's/\(.*\) -> \(.*\)$/\1=\2/g' > ${binaries-dir}/links.properties)"/>
102
			</exec>
103
		-->
104
	</target>
105
	<target name="copy-mac-binaries" if="isMac"
106
		depends="update-binaries-remote">
107
		<mkdir dir="${binaries-dir}" />
108
		<copy todir="${binaries-dir}">
109
			<fileset dir="${depman}/lib/"
110
				includes="*.so*,**/*.so*,*.dylib*,**/*.dylib*,*.jnilib*,**/*.jnilib*" />
111
		</copy>
112

  
113
		<!--exec executable="${basedir}/gen_simb_link_mac.sh" / -->
114

  
115
		<!--
116
			<exec executable="bash">
117
			<arg value="-c"/>
118
			<arg value="find ${depman}/lib/ -type l -exec ls -l {} ';' | sed 's/.*[.][/]//g' | sed 's/\(.*\) -> \(.*\)$/ln -s \2 \1/g' > ${binaries-dir}/install.sh.tmp"/>
119
			</exec>
120
			<concat destfile="${binaries-dir}/install-3D.sh">#!bin/sh
121
			
122
			</concat>
123
			<concat destfile="${binaries-dir}/install-3D.sh" append="true">
124
			<filelist dir="${binaries-dir}" files="install.sh.tmp"/>
125
			</concat>
126
			<delete file="${binaries-dir}/install.sh.tmp"/>
127
			<exec executable="bash">
128
			<arg value="-c"/>
129
			<arg value="cd ${depman}/lib/ ; (find . -type l -exec ls -l {} ';' | sed 's/.*[.][/]//g' | sed 's/\(.*\) -> \(.*\)$/\1=\2/g' > ${binaries-dir}/links.properties)"/>
130
			</exec>
131
		-->
132
	</target>
133

  
134

  
135
	<target name="update-binaries-cache">
136
		<exec executable="python">
137
			<arg value="${buildman.executable}" />
138
			<arg value="update" />
139
			<arg value="--cache" />
140
		</exec>
141
	</target>
142

  
143
	<target name="update-binaries-remote">
144
		<exec executable="python">
145
			<arg value="${buildman.executable}" />
146
			<arg value="update" />
147
			<arg value="--remote" />
148
		</exec>
149
	</target>
150

  
151
	<target name="update-binaries-atifglrx-remote">
152
		<exec executable="python">
153
			<arg value="${buildman.executable}" />
154
			<arg value="update" />
155
			<arg value="--file" />
156
			<arg value="depman-atifglrx.xml" />
157
			<arg value="--remote" />
158
		</exec>
159
	</target>
160
</project>
tags/gvSIG_3D_Animation_1_0_SNAPSHOT_build_9/extensions/ext3Dgui/depman.xml
1
<depman>
2
 <dependencies platform="win">
3
   <!-- override platform win with compiler vs7 -->
4
   <dependency>
5
     <group>org.openscenegraph</group>
6
     <artifact>openscenegraph</artifact>
7
     <version>2.2.0</version>
8
     <type>dynamic</type>
9
     <compiler>vs7</compiler>
10
   </dependency>
11
   <dependency>
12
     <group>es.upv.ai2</group>
13
     <artifact>osgvp</artifact>
14
     <version>2.1.6.5</version>
15
     <type>dynamic</type>
16
     <compiler>vs7</compiler>
17
   </dependency>
18
   <dependency>
19
     <group>org.gdal</group>
20
     <artifact>gdal</artifact>
21
     <version>1.2.6</version>
22
     <type>dynamic</type>
23
     <compiler>vs6</compiler>
24
   </dependency>
25
   <dependency>
26
     <group>jogl</group>
27
     <artifact>jogl</artifact>
28
     <version>1.1.0</version>
29
     <type>dynamic</type>
30
     <compiler>all</compiler>
31
   </dependency>
32

  
33
 </dependencies>
34
 <dependencies platform="linux">
35
   <!-- others platform same configuration -->
36
   <dependency>
37
     <group>org.openscenegraph</group>
38
     <artifact>openscenegraph</artifact>
39
     <version>2.2.0</version>
40
     <type>dynamic</type>
41
   </dependency>
42
   <dependency>
43
     <group>es.upv.ai2</group>
44
     <artifact>osgvp</artifact>
45
     <version>2.1.6.5</version>
46
     <type>dynamic</type>
47
   </dependency>
48
   <dependency>
49
     <group>jogl</group>
50
     <artifact>jogl</artifact>
51
     <version>1.1.0</version>
52
     <type>dynamic</type>
53
   </dependency>
54
   <!-- dependency>
55
     <group>org.gdal</group>
56
     <artifact>gdal</artifact>
57
     <version>1.4.0</version>
58
     <type>dynamic</type>
59
   </dependency-->
60
 </dependencies>
61
<dependencies platform="mac">
62
   <!-- others platform same configuration -->
63
   <dependency>
64
     <group>org.openscenegraph</group>
65
     <artifact>openscenegraph</artifact>
66
     <version>2.2.0</version>
67
     <type>dynamic</type>
68
     <architecture>universal</architecture>
69
   </dependency>
70
   <dependency>
71
     <group>es.upv.ai2</group>
72
     <artifact>osgvp</artifact>
73
     <version>2.1.6.5</version>
74
     <type>dynamic</type>
75
     <architecture>universal</architecture>
76
   </dependency>
77
   <dependency>
78
     <group>jogl</group>
79
     <artifact>jogl</artifact>
80
     <version>1.1.0</version>
81
     <type>dynamic</type>
82
     <compiler>all</compiler>
83
   </dependency>
84
 </dependencies>
85

  
86
</depman>
87

  
tags/gvSIG_3D_Animation_1_0_SNAPSHOT_build_9/extensions/ext3Dgui/config/text.properties
1
#Translations for language [es]
2
#Mon Dec 04 18:37:02 GMT+01:00 2006
3
show_3Dview=Vista 3D
4
Vista3D=Vista 3D
5
Default_Navigation=Navegaci?n combinada
6
Pan_Navigation=Desplazamiento
7
Zoom_Navigation=Zoom
8
Azimut_Navigation=Inclinaci?n
9
Wire_Frame=Wire Frame
10
Reset_View=Zoom completo
11
Active_north=Siempre al norte
12
Ac_north=Activar
13
Des_north=Desactivar
14
# Buttons
15
Close=Cerrar
16
Accept=Aceptar
17
Apply=Aplicar
18
Cancel=Cancelar
19
# Transparency tool
20
Transparency=Transparencia de la capa
21
# Herramienta de visualizacion
22
Display=Propiedades de Visualizaci?n
23
Anaglyphic=Anaglifo
24
HorizontalInterlace=Entrelazado Horizontal
25
VerticalInterlace=Entrelazado Vertical
26
HorizontalSplit=Split Horizontal
27
LeftEye=Ojo Izquierdo
28
RightEye=Ojo Derecho
29
QuadBuffer=Quad Buffer
30
HeadMounted= Casco Visor
31
Monitor=Monitor
32
PowerWall=PowerWall
33
RealityCenter=Centro de Realidad Virtual 
34
None=Ninguno
35
2X=2X
36
4X=4X
37
0=0
38
1=1
39
Refresh_automaticaly=Refrescar la vista automaticamente
40
FullScreen="Pantalla Completa"
41
# 3D View Properties
42
view_3D_properties=Propiedades de la vista 3D
43
Name=Nombre:
44
Creation_Date=Fecha de creacion:
45
Owner=Propietario:
46
Proyection_Select=Seleccione tipo:
47
Commentaries=Comentarios:
48
Vertical_Exageration=Exageraci?n vertical:
49
Background_Color=Color de fondo:
50
Spherical=Esferica
51
Flat=Plana
52
Select_Color=Seleccion de color
53
##
54
Layer_Refresh=Refrescar la capa
55
Layer_options=Opciones de capa 3D
56
Rasterize_layer_question=?Desea rasterizar la capa (Si/No)?
57
Elevation_layer_question=?Desea usar esta capa como elevaci?n (Si/No)?
58
Only_one_elevation_messg=Ya existe una capa de elevaci?n en la vista.
59
Only_one_elevation_title=Informaci\u00f3n sobre capa de elevaci\u00f3n
60
Heigth_layer_question=Altura de los vectores (en metros)
61
#HUD
62
North=N
63
South=S
64
East=E
65
West=O
66
Ext3D.latitude=LAT 
67
Ext3D.longitude=LONG
68
X=X
69
Y=Y
70
No_available=Servicio no disponible
71
Heigth_Z=Valor Z asociado a la capa
72
Raster_layer=Rasterizar la capa
73
Layer_Properties=Propiedades de la capa.
74
North_plane=ESTA HERRAMIENTA NO ESTA DISPONIBLE EN VISTA PLANA
75
#Preferences
76
Swing_Compability=Activar compatibilidad con Java / Swing
77
AWT=Si
78
GL=No
79
#AnimationGui
80
Check_Text=Visualizaci\u00f3n frames
81
Label_Duration =Duraci\u00f3n
82
Label_Mode=Modo
83
Window_Title=Controles de animaci?n
84
Text_Secs=Duraci\u00f3n(segs)
85
initial_warning_3D=<HTML><B>\u00a1ATENCI\u00d3N\!</B><br>La extension 3D podria no mostrarse correctamente. Por favor realice las siquiente operaciones:<br> 
86
initial_canvas_warning=Menu Ventana-&gt;Preferencias: menu 3D, desavilitar quitar la compatibilidad con Java / Swing.<br>
87
initial_skin_warning=Menu Ventana-&gt;Preferencias: menu General-&gt;Skin seleccionar el JdialogSkin o DockingSkin</HTML>
88
Nivel_de_extrusi?n=Nivel de extrusi\u00f3n
89
#Importacion de objetos
90
Objeto_3D=Objeto 3D
91
Objeto_3D_GIS=Objeto 3D GIS
92
Objeto_3D_GIS_Vectorial=Objeto 3D GIS Vectorial
93
Latitude=Latitud:
94
Longitude=Longitud:
95
Rotation=Rotaci\u00f3n:
96
EscaladoX=EscaladoX:
97
EscaladoY=EscaladoY:
98
EscaladoZ=EscaladoZ:
99
Hight=Altura:
100
File=Fichero
101
Examine=Examinar
102
Importar_Objeto_3D=Importar Objeto 3D
103
Importar_Objeto_3D_Vectorial=Importar Objeto 3D Vectorial
104
Ruta_manual=Introducir ruta
105
root_in=Introduce o selecciona un fichero
106
no_file=Fichero no introducido
107
no_file2=Fichero no encontrado
108
no_root=La ruta no existe
109
editable_layer_select_info=Selecciona una capa editable OSG
110
editable_layer_select=Capa no selecionada o capa no v?lida
111
#Panel Propiedades
112
Factor=Factor
113
Offset=Offset
114
Opciones_de_imagen=Opciones de imagen
115
Opciones_de_elevaci?n=Opciones de elevaci\u00f3n
116
Opciones_de_objeto=Opciones de objeto
117
Pegado_sobre_el_terreno=Pegado sobre el terreno
118
Elevacion=Elevaci\u00f3n
119
Propiedades_3D=Propiedades 3D
120
Layer3D=Layer3D
121
Capa_Vectorial=Capa Vectorial
122
Opciones=Opciones
123
Valor_minimo_de_escala=Valor m?nimo de escala
124
Valor_maximo_de_escala=Valor m?ximo de escala
125
Informacion=Informac\u00f3n
126
Altura_en_metros=Altura en metros
127
Nivel_de_detalle=Nivel de detalle
128
Capa_Raster=Capa Raster
129
Activar_profundidad_maxima=Activar profundidad m?xima
130
Activar_intervalo=Activar intervalo
131
Rango_maximo=Rango m?ximo
132
Rango_minimo=Rango m?nimo
133
new_osg=Nuevo OSG
134
new_layer=Nueva capa
135
Rotation_degreesX=Rotaci\u00f3n(grados)X:
136
Rotation_degreesY=Rotaci\u00f3n(grados)Y:
137
Rotation_degreesZ=Rotaci\u00f3n(grados)Z:
138
Crear_capa_osg=Crear nueva capa OSG
139
save_layer_osg=Salvar capa OSG
140
Nivel_de_extrusion=Nivel de extrusi\u00f3n
141
Altura_fija=Altura fija
142
Extrusion=Extrusi\u00f3n
143
Valor_inicial=Valor inicial
144
Valor_extrusionado=Valor extrusionado
145
info_extrusion=Acceso a campos num?ricos de capas vectoriales, aplicando un nivel de extrusi\u00f3n individual o fijo.
tags/gvSIG_3D_Animation_1_0_SNAPSHOT_build_9/extensions/ext3Dgui/config/about.htm
1
<html>
2
  <head>
3
    <title>Extension 3D del programa GvSIG </title>
4
    <meta content="">
5
    <style></style>
6
  </head>
7
  <body>
8
<table width="60%" border="0">
9
  <tr>
10
    <td width="50%"><div align="right"><img src="images/logoIver.png" width="87" height="50"></div></td>
11
    <td width="50%"><img src="logo_ai2.jpg"></td>
12
  </tr>
13
  <tr>
14
    <td colspan="2"><font face="Arial, Helvetica, sans-serif">&copy; Copyright
15
      Generalitat Valenciana, IVER T.I and other contributors 2008.</font></td>
16
  </tr>
17
</table>
18
  <h2>Plugin 3D para gvSIG</h2>	
19
		<p><b>Iver T.I y AI2</b> ha a?adido la <b>Extensi&oacute;n 3D</b>
20
		 a GvSIG.</p>
21
		
22
		<p><b>Desarrollo:</b></p>
23
		
24
		<p>Directores del proyecto:</p>
25
		<ul>
26
			<li>Salvador Bayarri</li>
27
			<li>Javier Lluch</li>
28
		</ul>
29
		<p>Equipo de desarrollo:</p>
30
		<ul>
31
			<li>Rafael Gait&aacute;n,</li>
32
			<li>Julio Campos,</li>
33
			<li>Jordi Torres,</li>
34
			<li>Mar&iacute;a Ten,</li>
35
			<li>Angel Fraile,</li>
36
			<li>Jes&uacute;s Zarzoso</li>
37
		</ul>
38
  <p><b> Build Number: 6</b></p>
39
  </body>
40
</html>
tags/gvSIG_3D_Animation_1_0_SNAPSHOT_build_9/extensions/ext3Dgui/config/text_ca.properties
1
#Translations for language [ca]
2
#Mon Dec 04 18:37:02 GMT+01:00 2006
3
show_3Dview=Vista 3D
4
Default_Select=Navegaci?n por defecto
5
Pan_Select=Desplazamiento
6
Zoom_Select=Zoom
7
Azimut_Select=Inclinaci\u00f3n
8
Wire_Frame=Wire Frame
9
Reset_View=Resetear Vista
10
Nivel_de_extrusi?n=Nivel de extrusi\u00f3n
11
Objeto_3D=Objeto 3D
12
Objeto_3D_GIS=Objeto 3D GIS
tags/gvSIG_3D_Animation_1_0_SNAPSHOT_build_9/extensions/ext3Dgui/config/config.xml
1
<?xml version="1.0" encoding="ISO-8859-1"?>
2
<plugin-config>
3
	<depends plugin-name="com.iver.cit.gvsig" />
4
	<depends plugin-name="com.iver.core" />
5
	<libraries library-dir="./lib" />
6
	<resourceBundle name="text" />
7
	<extensions>
8
		<extension class-name="org.gvsig.gvsig3dgui.Extension3D"
9
			description="Shows a 3D View" active="true" priority="50">
10
			<tool-bar name="Tools3D">
11
				<selectable-tool icon="images/ejemplo.png"
12
					action-command="SHOW3D" tooltip="show_3Dview" />
13
			</tool-bar>
14
		</extension>
15
		<extension class-name="org.gvsig.gvsig3dgui.InitialWarningExtension3D"
16
			description="Initial warning message" active="true" priority="1">
17
		</extension>
18
		<extension class-name="org.gvsig.gvsig3dgui.navigation.NavigationMenu3D"
19
			description="Extensi?n encargada de manejar los ditintos tipos de manipuladores de la vista."
20
			active="true" priority="31">
21
			<menu text="Vista/navegacion/Default_Navigation" action-command="DEFAULT_SELECT"
22
				icon="default-manipulator-icon" />
23
			<menu text="Vista/navegacion/Pan_Navigation" action-command="PAN_SELECT"
24
				icon="roll-manipulator-icon" />
25
			<menu text="Vista/navegacion/Zoom_Navigation" action-command="ZOOM_SELECT"
26
				icon="zoom-manipulator-icon" />
27
			<menu text="Vista/navegacion/Azimut_Navigation" action-command="AZIMUT_SELECT"
28
				icon="azimut-manipulator-icon" />
29
			<menu text="Vista/navegacion/Active_north" action-command="ACTIVE"
30
				icon="north-disable-icon" />
31
			<!--
32
				<menu text="Vista/modos/Wire_Frame" action-command="WIRE_FRAME"
33
				icon="images/WireFrame.png"/>
34
			-->
35
			<tool-bar name="NavigationMenu3D" position="3">
36
				<selectable-tool group="navigation" is-default="true"
37
					icon="default-manipulator-icon" action-command="DEFAULT_SELECT"
38
					tooltip="Default_Navigation" position="1" />
39
				<selectable-tool group="navigation" icon="roll-manipulator-icon"
40
					action-command="PAN_SELECT" tooltip="Pan_Navigation" position="2" />
41
				<selectable-tool group="navigation" icon="zoom-manipulator-icon"
42
					action-command="ZOOM_SELECT" tooltip="Zoom_Navigation" position="3" />
43
				<selectable-tool group="navigation" icon="azimut-manipulator-icon"
44
					action-command="AZIMUT_SELECT" tooltip="Azimut_Navigation"
45
					position="4" />
46
				<action-tool icon="north-disable-icon" name="NORTH"
47
					action-command="ACTIVE" tooltip="Active_north" position="5" />
48
				<!--
49
					<action-tool icon="images/WireFrame.png"
50
					action-command="WIRE_FRAME" tooltip="Wire_Frame" position="6"/>
51
				-->
52
				<action-tool icon="global-zoom-icon" action-command="RESET_VIEW"
53
					tooltip="Reset_View" position="7" />
54
			</tool-bar>
55
		</extension>
56
		<extension class-name="org.gvsig.gvsig3dgui.layer.MenuZoom3D"
57
			description="Extensi?n encargada de abrir el menu de opciones de zoom 3D."
58
			active="true" priority="51">
59
			<menu text="Vista/navegacion/Zoom_Select" action-command="ZOOM_SELECT"
60
				icon="zoom-selection-icon" />
61
			<menu text="Capa/Transparency" name="TRANSPARENCY"
62
				action-command="TRANSPARENCY" icon="transparency-icon" />
63
			<tool-bar name="MenuZoom3D" position="4">
64
				<action-tool icon="zoom-selection-icon" action-command="ZOOM_SELECT"
65
					tooltip="Zoom_Select" position="2" />
66
				<action-tool icon="transparency-icon" name="TRANSPARENCY"
67
					action-command="TRANSPARENCY" tooltip="Transparency" position="1" />
68
			</tool-bar>
69
		</extension>
70
		<extension class-name="org.gvsig.gvsig3dgui.camera.Menu3D"
71
			description="Extensi?n encargada de abrir el menu de opciones 3D."
72
			active="true" priority="40">
73
			<menu text="Vista/navegacion/Encuadre" action-command="ENCUADRE"
74
				icon="encuadrator-icon" />
75
			<!--
76
				<menu text="Vista/navegacion/Insertar Punto"
77
				action-command="POINT3D" icon="images/InsertPoint.png"/>
78
			-->
79
			<tool-bar name="Menu3D" position="5">
80
				<action-tool icon="encuadrator-icon" action-command="ENCUADRE"
81
					tooltip="gestion_encuadre" position="1" />
82
				<!--
83
					<action-tool icon="images/InsertPoint.png" action-command="POINT3D"
84
					tooltip="insercion_de_puntos_3D" position="2"/>
85
				-->
86
			</tool-bar>
87
		</extension>
88
		<extension class-name="org.gvsig.gvsig3dgui.display.DisplayMenu"
89
			description="Extensi?n encargada de abrir el menu de opciones de visualizaci?n."
90
			active="true" priority="51">
91
			<menu text="Vista/Visualizaci?n/Opciones de Visualizaci?n"
92
				action-command="DISPLAY" icon="display-icon" />
93
			<tool-bar name="MenuVisualizacion" position="4">
94
				<action-tool icon="display-icon" action-command="DISPLAY"
95
					tooltip="Visualizacion" position="2" />
96
			</tool-bar>
97
		</extension>
98
		<extension class-name="org.gvsig.gvsig3dgui.display.FullScreenMenu"
99
			description="Extensi?n encargada de activar el modo de pantalla completa"
100
			active="true" priority="51">
101
			<menu text="Vista/Visualizaci?n/Pantalla Completa"
102
				action-command="FULLSCREEN" icon="fullscreen-icon" />
103
			<tool-bar name="MenuFullScreen" position="4">
104
				<action-tool icon="fullscreen-icon" action-command="FULLSCREEN"
105
					tooltip="Pantalla Completa" position="2" />
106
			</tool-bar>
107
		</extension>
108
		<extension class-name="org.gvsig.gvsig3dgui.display.ProjectionMode"
109
			description="Extensi?n encargada de cambiar el tipo de proyeccion entre Perspectiva y Ortogr?fica"
110
			active="true" priority="51">
111
			<menu text="Vista/Visualizaci?n/Tipo de Proyeccion"
112
				action-command="PROJECTION" icon="projection-icon" />
113
			<tool-bar name="MenuProjection" position="4">
114
				<action-tool icon="projection-icon" action-command="PROJECTION"
115
					tooltip="Modo de Proyeccion" position="2" />
116
			</tool-bar>
117
		</extension>
118

  
119
		<extension class-name="org.gvsig.gvsig3dgui.display.EnableCompass"
120
			description="Extensi?n encargada de mostrar/ocultar la brujula"
121
			active="false"
122
			priority="51">
123

  
124
			<menu text="Vista/Visualizaci?n/Brujula" action-command="COMPASS" icon="compass-icon"/>
125
			<tool-bar name="EnableCompass" position="4">
126
				<action-tool icon="compass-icon" action-command="COMPASS"  tooltip="Modo de Brujula" position="2"/>
127
			</tool-bar>
128
		</extension>
129
		
130
			
131
		<extension class-name="org.gvsig.gvsig3dgui.view.ViewPropertiesExtension3D"
132
			description="Extensi?n encargada de manejar de activar siempre al norte."
133
			active="true">
134
			<menu text="Vista/propiedades" action-command="PROPERTIES" />
135
		</extension>
136
		<extension class-name="org.gvsig.gvsig3dgui.view.Export"
137
			description="Extensi?n encargada de exportar una vista al formato de imagen que se seleccione."
138
			active="true">
139
			<menu text="Vista/Exportar/Imagen" />
140
		</extension>
141
		<extension class-name="org.gvsig.gvsig3dgui.import3D.CreateNewLayerOSG"
142
			description="Crear una nueva capa." active="true">
143
			<menu text="Vista/new_layer/new_osg" action-command="CREARCAPA" />
144
			<tool-bar name="DriverOSG" position="6">
145
				<action-tool icon="create_new_layer_OSG" action-command="CREARCAPA"
146
					tooltip="Crear_capa_osg" position="1" />
147
			</tool-bar>
148
		</extension>
149
		<extension class-name="org.gvsig.gvsig3dgui.import3D.MenuImport3D"
150
			description="Extensi?n encargada de importar objetos 3D no GIS."
151
			active="true" priority="30">
152
			<menu text="Vista/import/Objeto_3D" action-command="OBJECT" />
153
			<!--
154
				menu text="Vista/import/Objeto_3D_Vectorial"
155
				action-command="OBJECT_VECTORIAL"/
156
			-->
157
			<!--menu text="Vista/Crear_capa"
158
				action-command="CREARCAPA" /-->
159
			<!--
160
				menu text="Vista/Capturar_capa" action-command="SALVARCAPA" /
161
			-->
162
			<tool-bar name="DriverOSG" position="6">
163
				<action-tool icon="insert_new_geometry_OSG"
164
					action-command="OBJECT" tooltip="Importar" position="2" />
165
				<!--
166
					action-tool icon="images/plugin_edit.png"
167
					action-command="SALVARCAPA" tooltip="Salvar_capa" position="3" /
168
				-->
169
			</tool-bar>
170
		</extension>
171
		<extension class-name="org.gvsig.gvsig3dgui.import3D.SaveLayerOSG"
172
			description="Salvar una capa." active="true">
173
			<menu text="Vista/save_layer_osg" action-command="SALVARCAPA" />
174
			<tool-bar name="DriverOSG" position="6">
175
				<action-tool icon="save_layer_OSG" action-command="SALVARCAPA"
176
					tooltip="save_layer_osg" position="3" />
177
			</tool-bar>
178
		</extension>
179
		<extension class-name="org.gvsig.gvsig3dgui.layer.ViewSelectionControls3D"
180
			description="Extensi?n encargada de gestionar la vista." active="true"
181
			priority="30">
182
			<menu text="Vista/seleccion/seleccionar_por_punto"
183
				action-command="SELPOINT" icon="view-select-geometry" />
184
			<menu text="Vista/seleccion/seleccionar_por_rectangulo"
185
				action-command="SELRECT" icon="view-select-by-rectangle" />
186
			<menu text="Vista/seleccion/seleccionar_por_poligono"
187
				action-command="SELPOL" icon="view-select-by-polygon" />
188
			<menu text="Vista/seleccion/Seleccion_por_capa" action-command="SELECTIONBYSHAPE" />
189
			<menu text="Vista/seleccion/separator" action-command="separator"
190
				is_separator="true" />
191
			<menu text="Vista/seleccion/invert_selection" action-command="INVERT_SELECTION"
192
				icon="view-select-invert" />
193
			<tool-bar name="Tools_Select" position="7">
194
				<selectable-tool icon="view-select-geometry"
195
					action-command="SELPOINT" tooltip="seleccionar_por_punto" position="1" />
196
				<selectable-tool icon="view-select-by-rectangle"
197
					action-command="SELRECT" tooltip="seleccionar_por_rectangulo"
198
					position="2" />
199
				<selectable-tool icon="view-select-by-polygon"
200
					action-command="SELPOL" tooltip="seleccionar_por_poligono"
201
					position="3" />
202
				<action-tool icon="view-select-invert" action-command="INVERT_SELECTION"
203
					tooltip="invert_selection" position="4" />
204
			</tool-bar>
205
		</extension>
206
		<extension class-name="org.gvsig.gvsig3dgui.legend.Legend3DExtension"
207
			description="Extensi?n para nuevas leyendas 3D." active="true"
208
			priority="30">
209
		</extension>
210
		<extension class-name="org.gvsig.gvsig3dgui.layout.layout3DExtension"
211
			description="Extensi?n encargada del layout para 3D." active="true"
212
			priority="30">
213
			<menu text="Mapa/insert_3D_view" action-command="INSERT_3D_VIEW"
214
				icon="insert_3d_view_map" />
215
			<tool-bar name="Layout_Tools_Insert_Cartografy" position="7">
216
				<!--
217
					selectable-tool icon="layout-insert-view"
218
					action-command="RECTANGLEVIEW" tooltip="insertar_vista"
219
					position="1"/
220
				-->
221
				<selectable-tool icon="insert_3d_view_map"
222
					action-command="INSERT_3D_VIEW" tooltip="insert_3d_view_map"
223
					position="4" />
224
			</tool-bar>
225
		</extension>
226
		<extension class-name="org.gvsig.gvsig3dgui.manipulator.Manipulator3DExtension"
227
			description="Extensi?n encargada de la manipulaci?n de geometrias 3D."
228
			active="true" priority="40">
229
			<tool-bar name="Editing_tools" position="7">
230
				<selectable-tool icon="rotation_manipulator"
231
					action-command="ROTATION_MANIPULATOR" tooltip="rotation_manipulator"
232
					position="1" />
233
				<selectable-tool icon="tabbox_manipulator"
234
					action-command="TABBOX_MANIPULATOR" tooltip="tabbox_manipulator"
235
					position="2" />
236
				<!--
237
					<selectable-tool icon="scale_manipulator"
238
					action-command="SCALE_MANIPULATOR" tooltip="scale_manipulator"
239
					position="3"/>
240
				-->
241
			</tool-bar>
242
		</extension>
243
		<extension class-name="org.gvsig.gvsig3dgui.AboutExtension3D"
244
			description="Extension to add about panel." active="true" priority="1">
245
		</extension>
246
		
247
		<extension class-name="org.gvsig.gvsig3dgui.layer.properties.Module3D"
248
			description="M?dulo adaptador para la librer?a de raster." active="true"
249
			priority="30">
250
		</extension>
251
		<skin-extension class-name="org.gvsig.gvsig3dgui.skin.JDialogSkin">
252
		</skin-extension>
253
	</extensions>
254
</plugin-config>
tags/gvSIG_3D_Animation_1_0_SNAPSHOT_build_9/extensions/ext3Dgui/doc/config_eclipse.html
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
<HTML>
3
<HEAD>
4
	<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
5
	<TITLE>Configuraci&oacute;n del arranque de gvSIG dentro de eclipse con 3D</TITLE>
6
</HEAD>
7
<BODY LANG="es-ES" DIR="LTR">
8
<H2>Plugin de 3D para gvSIG:</H2>
9
<H3>Cambios en la configuraci&oacute;n del arranque
10
de gvSIG para que funcione el plugin:</H3>
11
<P ALIGN=JUSTIFY>El plugin de 3D requiere unas librer&iacute;as en el
12
<I>classpath</I> de arranque de <I>andami</I> y para no tener que
13
modificar las propiedades del proyecto, vamos a explicar los cambios en la
14
configuraci&oacute;n del <I>Run</I> para que arranque la aplicaci&oacute;n correctamente:</P>
15
<ol>
16
  <li>Abrir la configuraci&oacute;n del <I>Run</I>.</li>
17
  <li>PestaƱa <b><i>Classpath</i></b> </li>
18
  <li>Pinchar sobre el elemento de la lista <i>User entries</i></li>
19
  <li>Bot&oacute;n <i>Add Jars...</i></li>
20
  <li>De <i>_fwAndami/lib</i> seleccionar los siguientes proyectos<BR>
21
  	<ul>
22
  		<li>jogl*.jar</li>
23
  		<li>libosg-*.jar</li>
24
  		<li>libNative-*.jar</li>
25
  		<li>gluegen-rt-*.jar</li>
26
  	</ul>
27
  </li>
28
</ol>
29
</BODY>
30
</HTML>
0 31

  
tags/gvSIG_3D_Animation_1_0_SNAPSHOT_build_9/extensions/ext3Dgui/generate-install.sh
1
echo  CONFIGURING BASE PROJECTS  
2
echo  CONFIGURING BASE PROJECTS  
3
echo  CONFIGURING BASE PROJECTS  
4
cd ../build/projects/gvsig-plugin-base
5
mvn clean
6
mvn install -Dmaven.test.skip
7
mvn clean
8
echo CLEANING  3D  PROJECTS
9
echo CLEANING  3D  PROJECTS  
10
echo CLEANING  3D  PROJECTS
11
cd ../gvsig-plugin-3D
12
mvn clean
13
echo  CLEANING ANIMATION PROJECTS  
14
echo  CLEANING ANIMATION PROJECTS  
15
echo  CLEANING ANIMATION PROJECTS  
16
cd ../gvsig-plugin-animation
17
mvn clean
18
echo  CONFIGURING 3D PROJECTS  
19
echo  CONFIGURING 3D PROJECTS  
20
echo  CONFIGURING 3D PROJECTS  
21
cd ../gvsig-plugin-3D
22
mvn install -Dmaven.test.skip -Dinstall-extension
23
echo  CONFIGURING ANIMATION PROJECTS  
24
echo  CONFIGURING ANIMATION PROJECTS  
25
echo  CONFIGURING ANIMATION PROJECTS  
26
cd ../gvsig-plugin-animation
27
mvn install -Dmaven.test.skip -Dinstall-extension
28
echo  GENERATING INSTALLER  
29
echo  GENERATING INSTALLER  
30
echo  GENERATING INSTALLER  
31
cd ../../../ext3Dgui
32
mvn install -Dmaven.test.skip -Dgenerate-install
tags/gvSIG_3D_Animation_1_0_SNAPSHOT_build_9/extensions/ext3Dgui/gen_simb_link.sh
1
export BINARIES_3D=$PWD/../binaries/linux/3D;
2
echo $BINARIES_3D;
3
cd $HOME/.depman/lib
4
find . -type l -exec ls -l {} ';' |sed 's/.*[.][/]//g' | sed 's/\(.*\) -> \(.*\)$/ln -sf \2 \1/g' > $BINARIES_3D/install-3D.tmp ;
5
cat $BINARIES_3D/install-3D.sh.head $BINARIES_3D/install-3D.tmp > $BINARIES_3D/install-3D.sh ;
6
chmod +x $BINARIES_3D/install-3D.sh
7
rm -f $BINARIES_3D/install-3D.tmp
0 8

  
tags/gvSIG_3D_Animation_1_0_SNAPSHOT_build_9/extensions/ext3Dgui/distribution/extension-distribution.xml
1
<assembly>
2
	<id>distribution</id>
3
	<formats>
4
		<format>dir</format>
5
	</formats>
6
	<fileSets>
7
	<!-- Extructure for the extension -->
8
		<fileSet>
9
			<directory>config</directory>
10
			<outputDirectory>${extension-distribution}
11
			</outputDirectory>
12
		</fileSet>
13
		<fileSet>
14
			<directory>images</directory>
15
			<outputDirectory>/${extension-distribution}/images
16
			</outputDirectory>
17
		</fileSet>
18
		<fileSet>
19
			<directory>resources</directory>
20
			<outputDirectory>/${extension-distribution}/resources
21
			</outputDirectory>
22
		</fileSet>
23
	</fileSets>
24
	<files>
25
		<file>
26
			<source>build.number</source>
27
			<outputDirectory>${extension-distribution}
28
			</outputDirectory>
29
		</file>
30
	</files>
31
	<!--
32
		***********************************************************************
33
	-->
34
  <!-- *													   *-->
35
	<!--
36
		***********************************************************************
37
	-->
38
	<dependencySets>
39
		<dependencySet>
40
			<outputDirectory>${extension-distribution}/${library-dir}
41
			</outputDirectory>
42
			<includes>
43
				<include>org.gvsig:lib3DMap</include>
44
				<include>org.gvsig:libCacheService
45
				</include>
46
				<include>org.gvsig:ext3Dgui</include>
47
				<include>org.gvsig:libG*</include>
48
				<include>org.gvsig:libFMap_geometries</include>
49
			</includes>
50
		</dependencySet>
51
		<dependencySet>
52
			<outputDirectory>${gvsig-extension-distribution}/lib
53
			</outputDirectory>
54
			<includes>
55
				<include>org.gvsig.osgvp.libosgvp:*
56
				</include>
57
				<include>jogl:*</include>
58
				<include>org.gvsig:lib3DMap-share</include>
59
				<include>org.gvsig:extSymbology</include>
60
			</includes>
61
		</dependencySet>
62
	</dependencySets>
63
</assembly>
tags/gvSIG_3D_Animation_1_0_SNAPSHOT_build_9/extensions/ext3Dgui/distribution/win-distribution/Notas_asociaciacion_archivos.txt
1

  
2
Pareceser que hay que a?adir unas claves al registro... 
3
puede hacerse generando un fichero .reg 
4
con las claves preparadas y usando el regedit en modo silencioso
5

  
6
el comando es:
7
  regedit /s fichero.reg
8

  
9

  
10
la claves son:
11
HKCR\{ext}  = {typeAbr}
12
HKCR\{typeAbr}\ = {typeName}
13
HKCR\{typeAbr}\DefaultIcon = {FileIcon}
14
HKCR\{typeAbr}\shell\open\command = {exeCommand}
15

  
16

  
17
estas no parecen necesarias:
18
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\{ext}\Application = {exeName}
19
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\{ext}\OpenWithList\a = {exeName}
20

  
21
donde:
22
{ext} = ".gvp"
23
{typeAbr} ="gvSIGProject"
24
{typeName} ="gvSIG Project file"
25
{FileIcon} = "gvSIG.ico" || "gvSIG.exe"
26
{exeCommand} = "gvSIG.exe %L"
27
{exeName} = "gvSIG.exe"
28

  
29

  
30
Ejeplo de fichero .reg:
31
REGEDIT4
32

  
33
[HKEY_CLASSES_ROOT\.gvp]
34
@="gvSIGProject"
35

  
36
[HKEY_CLASSES_ROOT\gvSIGProject]
37
@="gvSIG Project file"
38

  
39
[HKEY_CLASSES_ROOT\gvSIGProject\DefaultIcon]
40
@="C:\\Archivos de programas\\gvSIG_1.0\\bin\\ico-gvSIG.ico,0"
41

  
42

  
43
[HKEY_CLASSES_ROOT\gvSIGProject\shell\open]
44
@="Abrir"
45

  
46
[HKEY_CLASSES_ROOT\gvSIGProject\shell\open\command]
47
@="C:\\Archivos de programas\\gvSIG_1.0\\bin\\gvSIG.exe \"%1\""
48

  
49

  
50

  
51

  
52

  
53

  
54

  
55

  
56

  
57

  
58

  
59

  
60

  
61
*******************************************************************
62
URL's y recortes:
63

  
64

  
65
http://en.wikipedia.org/wiki/Windows_registry
66

  
67
http://www.akadia.com/services/windows_registry_tutorial.html
68

  
69
http://webtools.live2support.com/windows/
70

  
71

  
72

  
73

  
74

  
75

  
76

  
77
http://www.freevbcode.com/ShowCode.asp?ID=2799
78
******************
79
usando VB
80

  
81

  
82
Public Sub associate(EXT As String, FileType As String, _
83
   FileName As String)
84
On Error Resume Next
85
Dim b As Object
86
Set b = CreateObject("wscript.shell")
87
b.regwrite "HKCR\" & EXT & "\", FileType
88
b.regwrite "HKCR\" & FileType & "\", "MY file"
89
b.regwrite "HKCR\" & FileType & "\DefaultIcon\", FileName
90
b.regwrite "HKCR\" & FileType & "\shell\open\command\", _
91
   FileName & " %L"
92
b.regdelete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\" & EXT & "\Application"
93
b.regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\" & EXT & "\Application", FileName
94
b.regdelete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\" & EXT & "\OpenWithList\"
95
b.regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\" & EXT & "\OpenWithList\a", FileName
96

  
97
End Sub
98

  
99
'Sample Usage
100
Private Sub Form_Load()
101
associate ".jpg", "JPGFile", _
102
   "C:\Program Files\Accessories\MSPAINT.EXE"
103
Unload Me
104
End Sub
105

  
106

  
107
****************
108

  
109

  
110
http://www.ss64.com/nt/:
111
http://www.ss64.com/nt/ftype.html
112
**************************************************************************
113
FTYPE
114

  
115
Display or change the link between a FileType and an executable program
116

  
117
Syntax
118
   FTYPE fileType=executable_path
119

  
120
   FTYPE
121

  
122
   FTYPE fileType
123

  
124
   FTYPE fileType=
125

  
126
Key
127
   fileType        : The type of file
128

  
129
   executable_path : The executable program including any command line parameters             
130

  
131
More than one file extension may be associated with the same File Type.
132
e.g. both the extension .JPG and the extension .JPEG may be associated with the File Type "jpegfile"
133

  
134
File Types can be displayed in the Windows Explorer GUI: [View, Options, File Types] however the spelling is usually different to that expected by the FTYPE command e.g. the File Type "txtfile" is displayed in the GUI as "Text Document"and "jpegfile" is displayed as "image/jpeg"
135

  
136
Several FileTypes can be linked to the same executable application, but
137
one FileType cannot be linked to more than one executable application.
138

  
139
FTYPE file type will display the current executable program for that file type.
140

  
141
FTYPE without any parameters will display all FileTypes and the executable program for each.
142

  
143
Defining command line parameters
144

  
145
It is almost always necessary to supply command line parameters so that when a document is opened not only is the relevant application loaded into memory but the document itself also loaded into the application. To make this happen the filename of the document must be passed back to the application.
146

  
147
Command line parameters are exactly like batch file parameters, %0 is the executable program and %1 will reference the document filename
148

  
149
so a simple command line might be:
150

  
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff