diff --git a/samples/java/REBUILD.COMP b/samples/java/REBUILD.COMP deleted file mode 100755 index 94e4079a5c..0000000000 --- a/samples/java/REBUILD.COMP +++ /dev/null @@ -1,103 +0,0 @@ -#! /bin/csh -f - -if ( $#argv > 1 ) then - - setenv CASROOT $argv[1] - setenv SAMPLE_ROOT $argv[2] - -endif - - -echo " ---------------- " -echo " Building OpenCASCADE Samples " -echo " ---------------- " -echo " " -echo " " - -if (! ($?CASROOT)) then - echo -n "Please define CASROOT to the folder containing OpenCascade '"'src'"', '"'drv'"' and '"'inc'"' folders. : " - set nogoodpath = 0 - while ( ${nogoodpath} == 0 ) - set res = $< - if ( ! (-e ${res}/inc/Standard_Real.hxx ) ) then - echo -n "${res}/inc/Standard_Real.hxx doesn't exist ; Please try again : " - else - setenv CASROOT ${res} - set nogoodpath = 1 - endif - end -endif - -## Variable for JAVA - -if ( !($?JAVAHOME) ) then - - set javanotset = 0 - while ( ${javanotset} == 0 ) - echo -n "JAVAHOME not setted . Please define it : " - set res = $< - if (! (-e ${res}/bin/java)) then - echo "java not found in ${res}/bin" - else - # Now we verify if it is really a JDK 1.3 - if ( !(-e ${res}/include/jawt.h ) ) then - echo " the ${res}/include directory doesn't contains jawt.h" - echo " it's seems it is not a JDK 1.3 distribution " - echo " Please try again" - else - setenv JAVAHOME ${res} - set javanotset = 1 - endif - endif - end - -endif - -set REBUILDJAR = No -echo -n "Do you want to rebuild the JAR file [N] : " -set res = $< -if ( ${res} != "" ) then - if ( ${res} == "Y" ) then - set REBUILDJAR = Yes - else - if ( ${res} == "y" ) then - set REBUILDJAR = Yes - endif - endif -endif - -setenv STATION `uname` -if (${STATION} == "IRIX64") setenv STATION IRIX - -setenv SAMPLE_ROOT `pwd` - -foreach pk (ISession ISession2D SampleAISBasicPackage SampleAISDisplayModePackage SampleAISSelectPackage SampleDisplayAnimationPackage SampleGeometryPackage SampleHLRPackage SampleImportExportPackage jcas SampleNativePaint SampleViewer3DPackage SamplesTopologyPackage User) - echo " compiling .. $pk " - csh -f ${SAMPLE_ROOT}/adm/${STATION}/$pk.comp -end - -foreach tk (TKNativePaint TKSamples TKSamples2 TKjcas) -echo " " -echo " " -echo " " -echo " linking .. $tk " -echo " " - csh -f ${SAMPLE_ROOT}/adm/${STATION}/$tk.lnk -end - -foreach pk ( SampleAISBasicJni SampleAISDisplayModeJni SampleAISSelectJni SampleDisplayAnimationJni SampleGeometryJni SampleHLRJni SampleImportExportJni SampleViewer3DJni SamplesTopologyJni CASCADESamplesJni ) -echo " " -echo " compiling .. $pk " -echo " " - csh -fx ${SAMPLE_ROOT}/adm/${STATION}/$pk.comp -echo " " -echo " linking .. $pk " -echo " " - csh -f ${SAMPLE_ROOT}/adm/${STATION}/$pk.lnk -end - -if ( ${REBUILDJAR} == "Yes" ) then - echo "Building the JAR File " -# cd java - csh -f build.csh -endif diff --git a/samples/java/RUN.bat b/samples/java/RUN.bat deleted file mode 100755 index 13ad95b879..0000000000 --- a/samples/java/RUN.bat +++ /dev/null @@ -1,50 +0,0 @@ -@ECHO OFF - -call "%~dp0env.bat" - -IF NOT DEFINED CASROOT GOTO ERR_CASROOT - -SET ROOT=%CASROOT%\.. - -SET SAMPLEHOME=%ROOT%\samples\java - -SET LIB_DIR=win32\vc8\lib -SET JAR_DIR=win32 - -IF NOT EXIST "%JAR_DIR%\CASCADESamples.jar" GOTO ERR_MAKE - -SET OLD_PATH=%PATH% -set PATH=%~dp0;%SAMPLEHOME%\%LIB_DIR%;%PATH% - -IF NOT EXIST "%SAMPLEHOME%\win32\vc8\obj" SET JAVAHOME=%ROOT%\3rdparty\win32\java - -IF NOT DEFINED JAVAHOME GOTO ERR_JAVAHOME - -SET PATH=%JAVAHOME%\bin;%JAVAHOME%\jre\bin;%JAVAHOME%\jre\bin\client;%PATH% - -cd java -echo "javaw.exe -Xss1m -classpath .;%SAMPLEHOME%\%JAR_DIR%\CASCADESamples.jar SamplesStarter" -start javaw.exe -Xss1m -classpath .;%SAMPLEHOME%\%JAR_DIR%\CASCADESamples.jar SamplesStarter -pause -cd .. -SET PATH=%OLD_PATH% - -GOTO END - -:ERR_CASROOT -ECHO Environment variable "CASROOT" not defined. Abort. -pause -GOTO END - -:ERR_JAVAHOME -ECHO Environment variable "JAVAHOME" not defined. Abort. -pause -GOTO END - -:ERR_MAKE -ECHO File %JAR_DIR%\CASCADESamples.jar not found." -ECHO Probably you don't compile the application. Execute %JAR_DIR\build.bat -pause -GOTO END - -:END diff --git a/samples/java/adm/Linux/CASCADESamplesJni.comp b/samples/java/adm/Linux/CASCADESamplesJni.comp deleted file mode 100755 index 7df66401b4..0000000000 --- a/samples/java/adm/Linux/CASCADESamplesJni.comp +++ /dev/null @@ -1,102 +0,0 @@ -if (!($?CCHOME)) set CCHOME = "/usr/bin/g++ " -if (!($?CCFLAGS)) set CCFLAGS = " -fPIC -DLIN -DLININTEL -DCSFDB -DNO_EXCEPTION -funsigned-char -Wall -O3 -DNDEBUG -DNo_Exception " - -if (!($?CCINC)) setenv CCINC "." - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_AIS_Drawer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_AIS_Drawer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_AIS_InteractiveContext_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_AIS_InteractiveContext_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_AIS_InteractiveObject_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_AIS_InteractiveObject_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_AIS_ListOfInteractive_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_AIS_ListOfInteractive_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_AIS_Shape_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_AIS_Shape_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_AspectMarker_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_AspectMarker_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_Background_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_Background_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_ColorMap_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_ColorMap_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_ColorScale_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_ColorScale_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_Driver_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_Driver_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_FontMap_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_FontMap_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_GraphicDevice_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_GraphicDevice_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_Grid_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_Grid_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_MarkMap_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_MarkMap_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_PixMap_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_PixMap_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_TypeMap_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_TypeMap_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_WidthMap_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_WidthMap_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_WindowDriver_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_WindowDriver_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_Window_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_Window_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Bnd_Box_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Bnd_Box_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Geom_Transformation_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Geom_Transformation_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_gp_Ax3_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_gp_Ax3_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_gp_Pnt_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_gp_Pnt_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic2d_DisplayList_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic2d_DisplayList_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic2d_GraphicObject_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic2d_GraphicObject_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic2d_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic2d_View_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_AspectMarker3d_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_AspectMarker3d_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_DataStructureManager_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_DataStructureManager_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_MaterialAspect_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_MaterialAspect_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Plotter_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Plotter_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Structure_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Structure_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_StructureManager_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_StructureManager_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_TextureEnv_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_TextureEnv_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_TextureRoot_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_TextureRoot_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Vector_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Vector_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Vertex_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Vertex_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_ISession2D_InteractiveContext_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_ISession2D_InteractiveContext_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_PlotMgt_PlotterDriver_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_PlotMgt_PlotterDriver_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Prs3d_BasicAspect_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Prs3d_BasicAspect_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Prs3d_Drawer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Prs3d_Drawer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Prs3d_LineAspect_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Prs3d_LineAspect_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Prs3d_Presentation_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Prs3d_Presentation_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Prs3d_Projector_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Prs3d_Projector_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentableObject_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentableObject_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_Presentation_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_Presentation_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentationManager2d_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentationManager2d_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentationManager3d_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentationManager3d_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentationManager_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentationManager_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_Presentations_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_Presentations_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Quantity_Color_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Quantity_Color_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Select2D_Projector_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Select2D_Projector_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_SelectBasics_EntityOwner_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectBasics_EntityOwner_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_EntityOwner_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_EntityOwner_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_Filter_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_Filter_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_ListOfFilter_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_ListOfFilter_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_SelectableObject_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_SelectableObject_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_Selection_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_Selection_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_SelectionManager_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_SelectionManager_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_SequenceOfOwner_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_SequenceOfOwner_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_ViewerSelector_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_ViewerSelector_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Standard_Type_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Standard_Type_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_StdSelect_ViewerSelector3d_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_StdSelect_ViewerSelector3d_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_TColgp_Array1OfPnt2d_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TColgp_Array1OfPnt2d_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_TCollection_AsciiString_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TCollection_AsciiString_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_TCollection_BaseSequence_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TCollection_BaseSequence_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_TCollection_BasicMap_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TCollection_BasicMap_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_TCollection_ExtendedString_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TCollection_ExtendedString_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_TColStd_Array2OfReal_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TColStd_Array2OfReal_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_TColStd_ListOfInteger_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TColStd_ListOfInteger_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_TColStd_ListOfTransient_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TColStd_ListOfTransient_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_TColStd_MapOfTransient_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TColStd_MapOfTransient_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_TopLoc_Location_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TopLoc_Location_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_TopoDS_Shape_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TopoDS_Shape_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_TopoDS_TShape_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TopoDS_TShape_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_V2d_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_V2d_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_V2d_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_V2d_View_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_V3d_Light_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_V3d_Light_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_V3d_OrthographicView_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_V3d_OrthographicView_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_V3d_PerspectiveView_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_V3d_PerspectiveView_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_V3d_Plane_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_V3d_Plane_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_V3d_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_V3d_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_V3d_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_V3d_View_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Viewer_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Viewer_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Viewer_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Viewer_View_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Visual3d_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Visual3d_View_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Visual3d_ViewManager_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Visual3d_ViewManager_java.o diff --git a/samples/java/adm/Linux/CASCADESamplesJni.lnk b/samples/java/adm/Linux/CASCADESamplesJni.lnk deleted file mode 100755 index 19b418495f..0000000000 --- a/samples/java/adm/Linux/CASCADESamplesJni.lnk +++ /dev/null @@ -1,135 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME " g++ " -if (!($?CCFLAGS)) setenv CCFLAGS " -shared " - -if (!($?STLPortHome)) then - setenv STLPortLib "." -else - if (!($?STLPortLib_CC)) setenv STLPortLib_CC "stlport_gcc" - if (!($?STLPortLib)) setenv STLPortLib "$STLPortHome/lib" - setenv STLPortLib "$STLPortLib -l$STLPortLib_CC" -endif - -${CCHOME} ${CCFLAGS} -o ${SAMPLE_ROOT}/${STATION}/lib//libCASCADESamplesJni.so \ - -L${SAMPLE_ROOT}/${STATION}/lib \ - -L${CASROOT}/${STATION}/lib -L${STLPortLib} \ -\ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_AIS_Drawer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_AIS_InteractiveContext_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_AIS_InteractiveObject_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_AIS_ListOfInteractive_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_AIS_Shape_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_AspectMarker_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_Background_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_ColorMap_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_ColorScale_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_Driver_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_FontMap_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_GraphicDevice_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_Grid_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_MarkMap_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_PixMap_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_TypeMap_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_WidthMap_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_WindowDriver_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_Window_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Bnd_Box_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Geom_Transformation_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_gp_Ax3_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_gp_Pnt_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic2d_DisplayList_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic2d_GraphicObject_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic2d_View_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_AspectMarker3d_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_DataStructureManager_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_MaterialAspect_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Plotter_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Structure_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_StructureManager_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_TextureEnv_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_TextureRoot_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Vector_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Vertex_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_ISession2D_InteractiveContext_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_PlotMgt_PlotterDriver_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Prs3d_BasicAspect_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Prs3d_Drawer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Prs3d_LineAspect_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Prs3d_Presentation_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Prs3d_Projector_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentableObject_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_Presentation_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentationManager2d_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentationManager3d_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentationManager_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_Presentations_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Quantity_Color_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Select2D_Projector_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectBasics_EntityOwner_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_EntityOwner_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_Filter_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_ListOfFilter_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_SelectableObject_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_Selection_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_SelectionManager_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_SequenceOfOwner_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_ViewerSelector_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Standard_Type_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_StdSelect_ViewerSelector3d_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TColgp_Array1OfPnt2d_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TCollection_AsciiString_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TCollection_BaseSequence_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TCollection_BasicMap_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TCollection_ExtendedString_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TColStd_Array2OfReal_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TColStd_ListOfInteger_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TColStd_ListOfTransient_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TColStd_MapOfTransient_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TopLoc_Location_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TopoDS_Shape_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TopoDS_TShape_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_V2d_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_V2d_View_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_V3d_Light_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_V3d_OrthographicView_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_V3d_PerspectiveView_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_V3d_Plane_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_V3d_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_V3d_View_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Viewer_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Viewer_View_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Visual3d_View_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Visual3d_ViewManager_java.o \ -\ - -lTKjcas \ - -lTKPrim \ - -lTKFillet \ - -lPTKernel \ - -lTKPShape \ - -lTKOffset \ - -lTKShHealing \ - -lTKXSBase \ - -lTKIGES \ - -lTKShapeSchema \ - -lTKSTEP \ - -lTKFeat \ - -lTKSamples \ - -lTKV3d \ - -lTKernel \ - -lTKGeomAlgo \ - -lTKGeomBase \ - -lTKBool \ - -lTKTopAlgo \ - -lTKBRep \ - -lTKV2d \ - -lTKService \ - -lTKHLR \ - -lTKG2d \ - -lTKMath \ - -lTKMesh \ - -lTKG3d \ - ; - set ld_status=$status - if ( $?LD_LIBRARY_PATH ) then - set ld_library_path=$LD_LIBRARY_PATH - endif - diff --git a/samples/java/adm/Linux/ISession.comp b/samples/java/adm/Linux/ISession.comp deleted file mode 100755 index 042ff5be89..0000000000 --- a/samples/java/adm/Linux/ISession.comp +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/csh -fx - -if (!($?CCHOME)) set CCHOME = "/usr/bin/g++ " -if (!($?CCFLAGS)) set CCFLAGS = " -fPIC -DLIN -DLININTEL -DCSFDB -DNO_EXCEPTION -funsigned-char -Wall -O3 -DNDEBUG -DNo_Exception " - -if (!($?CCINC)) set CCINC = "." - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/ISession)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/ISession -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/ISession/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/ISession/ISession_Point.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/ISession//ISession_Point.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/ISession/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/ISession/ISession_Curve.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/ISession//ISession_Curve.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/ISession/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/ISession/ISession_Surface.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/ISession//ISession_Surface.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/ISession/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/ISession/ISession_Text.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/ISession//ISession_Text.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/ISession/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/ISession/ISession_Direction.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/ISession//ISession_Direction.o diff --git a/samples/java/adm/Linux/ISession2D.comp b/samples/java/adm/Linux/ISession2D.comp deleted file mode 100755 index 3f4c38b276..0000000000 --- a/samples/java/adm/Linux/ISession2D.comp +++ /dev/null @@ -1,21 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/usr/bin/g++ " -if (!($?CCFLAGS)) setenv CCFLAGS " -fPIC -DLIN -DLININTEL -DCSFDB -DNO_EXCEPTION -funsigned-char -Wall -O3 -DNDEBUG -DNo_Exception " - -if (!($?CCINC)) setenv CCINC "." - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/ISession2D)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/ISession2D -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/ISession2D/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/ISession2D/ISession2D_InteractiveContext.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/ISession2D//ISession2D_InteractiveContext.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/ISession2D/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/ISession2D/ISession2D_SensitiveCurve.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/ISession2D//ISession2D_SensitiveCurve.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/ISession2D/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/ISession2D/ISession2D_Curve.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/ISession2D//ISession2D_Curve.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/ISession2D/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/ISession2D/ISession2D_ObjectOwner.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/ISession2D//ISession2D_ObjectOwner.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/ISession2D/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/ISession2D/ISession2D_Shape.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/ISession2D//ISession2D_Shape.o diff --git a/samples/java/adm/Linux/SampleAISBasicJni.comp b/samples/java/adm/Linux/SampleAISBasicJni.comp deleted file mode 100755 index f7e5909304..0000000000 --- a/samples/java/adm/Linux/SampleAISBasicJni.comp +++ /dev/null @@ -1,24 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/usr/bin/g++ " -if (!($?CCFLAGS)) setenv CCFLAGS " -fPIC -DLIN -DLININTEL -DCSFDB -DNO_EXCEPTION -funsigned-char -Wall -O3 -DNDEBUG -DNo_Exception " - -if (!($?CCINC)) setenv CCINC "." - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISBasicJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISBasicJni/SampleAISBasicJni_AIS_InteractiveContext_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni/SampleAISBasicJni_AIS_InteractiveContext_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISBasicJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISBasicJni/SampleAISBasicJni_SampleAISBasicPackage_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni/SampleAISBasicJni_SampleAISBasicPackage_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISBasicJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISBasicJni/SampleAISBasicJni_TCollection_AsciiString_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni/SampleAISBasicJni_TCollection_AsciiString_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISBasicJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISBasicJni/SampleAISBasicJni_UnitsAPI_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni/SampleAISBasicJni_UnitsAPI_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISBasicJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISBasicJni/SampleAISBasicJni_V3d_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni/SampleAISBasicJni_V3d_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISBasicJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISBasicJni/SampleAISBasicJni_V3d_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni/SampleAISBasicJni_V3d_View_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISBasicJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISBasicJni/SampleAISBasicJni_Viewer_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni/SampleAISBasicJni_Viewer_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISBasicJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISBasicJni/SampleAISBasicJni_Viewer_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni/SampleAISBasicJni_Viewer_View_java.o diff --git a/samples/java/adm/Linux/SampleAISBasicJni.lnk b/samples/java/adm/Linux/SampleAISBasicJni.lnk deleted file mode 100755 index a6a03c3f99..0000000000 --- a/samples/java/adm/Linux/SampleAISBasicJni.lnk +++ /dev/null @@ -1,58 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "g++ " -if (!($?CCFLAGS)) setenv CCFLAGS " -shared " - -if (!($?STLPortHome)) then - setenv STLPortLib "." -else - if (!($?STLPortLib_CC)) setenv STLPortLib_CC "stlport_gcc" - if (!($?STLPortLib)) setenv STLPortLib "$STLPortHome/lib" - setenv STLPortLib "$STLPortLib -l$STLPortLib_CC" -endif - -${CCHOME} ${CCFLAGS} -o ${SAMPLE_ROOT}/${STATION}/lib//libSampleAISBasicJni.so \ - -L${SAMPLE_ROOT}/${STATION}/lib \ - -L${CASROOT}/${STATION}/lib -L${STLPortLib} \ -\ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni/SampleAISBasicJni_AIS_InteractiveContext_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni/SampleAISBasicJni_SampleAISBasicPackage_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni/SampleAISBasicJni_TCollection_AsciiString_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni/SampleAISBasicJni_UnitsAPI_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni/SampleAISBasicJni_V3d_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni/SampleAISBasicJni_V3d_View_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni/SampleAISBasicJni_Viewer_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni/SampleAISBasicJni_Viewer_View_java.o \ -\ - -lTKFillet \ - -lPTKernel \ - -lTKPShape \ - -lTKOffset \ - -lTKShHealing \ - -lTKXSBase \ - -lTKIGES \ - -lTKCDF \ - -lTKPCAF \ - -lTKShapeSchema \ - -lTKSTEP \ - -lTKFeat \ - -lTKSamples \ - -lTKPrim \ - -lTKjcas \ - -lTKV3d \ - -lTKernel \ - -lTKGeomAlgo \ - -lTKGeomBase \ - -lTKBool \ - -lTKTopAlgo \ - -lTKBRep \ - -lTKHLR \ - -lTKG2d \ - -lTKV2d \ - -lTKService \ - -lTKMath \ - -lTKG3d \ - ; - set ld_status=$status - if ( $?LD_LIBRARY_PATH ) then - set ld_library_path=$LD_LIBRARY_PATH - endif - diff --git a/samples/java/adm/Linux/SampleAISBasicPackage.comp b/samples/java/adm/Linux/SampleAISBasicPackage.comp deleted file mode 100755 index 5aabc7d819..0000000000 --- a/samples/java/adm/Linux/SampleAISBasicPackage.comp +++ /dev/null @@ -1,17 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/usr/bin/g++ " -if (!($?CCFLAGS)) setenv CCFLAGS " -fPIC -DLIN -DLININTEL -DCSFDB -DNO_EXCEPTION -funsigned-char -Wall -O3 -DNDEBUG -DNo_Exception " - -if (!($?CCINC)) setenv CCINC "." - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicPackage)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicPackage -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISBasicPackage/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/SampleAISBasicPackage/SampleAISBasicPackage.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicPackage//SampleAISBasicPackage.o diff --git a/samples/java/adm/Linux/SampleAISDisplayModeJni.comp b/samples/java/adm/Linux/SampleAISDisplayModeJni.comp deleted file mode 100755 index 0a73c419db..0000000000 --- a/samples/java/adm/Linux/SampleAISDisplayModeJni.comp +++ /dev/null @@ -1,24 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/usr/bin/g++ " -if (!($?CCFLAGS)) setenv CCFLAGS " -fPIC -DLIN -DLININTEL -DCSFDB -DNO_EXCEPTION -funsigned-char -Wall -O3 -DNDEBUG -DNo_Exception " - -if (!($?CCINC)) setenv CCINC "." - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISDisplayModeJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_AIS_InteractiveContext_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni/SampleAISDisplayModeJni_AIS_InteractiveContext_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISDisplayModeJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_Quantity_Color_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni/SampleAISDisplayModeJni_Quantity_Color_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISDisplayModeJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_SampleAISDisplayModePackage_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni/SampleAISDisplayModeJni_SampleAISDisplayModePackage_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISDisplayModeJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_TCollection_AsciiString_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni/SampleAISDisplayModeJni_TCollection_AsciiString_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISDisplayModeJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_V3d_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni/SampleAISDisplayModeJni_V3d_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISDisplayModeJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_V3d_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni/SampleAISDisplayModeJni_V3d_View_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISDisplayModeJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_Viewer_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni/SampleAISDisplayModeJni_Viewer_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISDisplayModeJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_Viewer_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni/SampleAISDisplayModeJni_Viewer_View_java.o diff --git a/samples/java/adm/Linux/SampleAISDisplayModeJni.lnk b/samples/java/adm/Linux/SampleAISDisplayModeJni.lnk deleted file mode 100755 index 0aa380c791..0000000000 --- a/samples/java/adm/Linux/SampleAISDisplayModeJni.lnk +++ /dev/null @@ -1,56 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "g++ " -if (!($?CCFLAGS)) setenv CCFLAGS " -shared " - -if (!($?STLPortHome)) then - setenv STLPortLib "." -else - if (!($?STLPortLib_CC)) setenv STLPortLib_CC "stlport_gcc" - if (!($?STLPortLib)) setenv STLPortLib "$STLPortHome/lib" - setenv STLPortLib "$STLPortLib -l$STLPortLib_CC" -endif - -${CCHOME} ${CCFLAGS} -o ${SAMPLE_ROOT}/${STATION}/lib//libSampleAISDisplayModeJni.so \ - -L${SAMPLE_ROOT}/${STATION}/lib \ - -L${CASROOT}/${STATION}/lib -L${STLPortLib} \ -\ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni/SampleAISDisplayModeJni_AIS_InteractiveContext_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni/SampleAISDisplayModeJni_Quantity_Color_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni/SampleAISDisplayModeJni_SampleAISDisplayModePackage_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni/SampleAISDisplayModeJni_TCollection_AsciiString_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni/SampleAISDisplayModeJni_V3d_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni/SampleAISDisplayModeJni_V3d_View_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni/SampleAISDisplayModeJni_Viewer_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni/SampleAISDisplayModeJni_Viewer_View_java.o \ -\ - -lTKjcas \ - -lTKFillet \ - -lPTKernel \ - -lTKPShape \ - -lTKOffset \ - -lTKShHealing \ - -lTKXSBase \ - -lTKIGES \ - -lTKShapeSchema \ - -lTKSTEP \ - -lTKFeat \ - -lTKSamples \ - -lTKV3d \ - -lTKernel \ - -lTKGeomAlgo \ - -lTKGeomBase \ - -lTKPrim \ - -lTKBool \ - -lTKTopAlgo \ - -lTKBRep \ - -lTKHLR \ - -lTKG2d \ - -lTKV2d \ - -lTKService \ - -lTKMath \ - -lTKG3d \ - ; - set ld_status=$status - if ( $?LD_LIBRARY_PATH ) then - set ld_library_path=$LD_LIBRARY_PATH - endif - diff --git a/samples/java/adm/Linux/SampleAISDisplayModePackage.comp b/samples/java/adm/Linux/SampleAISDisplayModePackage.comp deleted file mode 100755 index 5fd09598c8..0000000000 --- a/samples/java/adm/Linux/SampleAISDisplayModePackage.comp +++ /dev/null @@ -1,17 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/usr/bin/g++ " -if (!($?CCFLAGS)) setenv CCFLAGS " -fPIC -DLIN -DLININTEL -DCSFDB -DNO_EXCEPTION -funsigned-char -Wall -O3 -DNDEBUG -DNo_Exception " - -if (!($?CCINC)) setenv CCINC "." - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModePackage)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModePackage -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISDisplayModePackage/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/SampleAISDisplayModePackage/SampleAISDisplayModePackage.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModePackage/SampleAISDisplayModePackage.o diff --git a/samples/java/adm/Linux/SampleAISSelectJni.comp b/samples/java/adm/Linux/SampleAISSelectJni.comp deleted file mode 100755 index c1297d53e5..0000000000 --- a/samples/java/adm/Linux/SampleAISSelectJni.comp +++ /dev/null @@ -1,25 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/usr/bin/g++ " -if (!($?CCFLAGS)) setenv CCFLAGS " -fPIC -DLIN -DLININTEL -DCSFDB -DNO_EXCEPTION -funsigned-char -Wall -O3 -DNDEBUG -DNo_Exception " - -if (!($?CCINC)) setenv CCINC "." - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISSelectJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISSelectJni/SampleAISSelectJni_AIS_InteractiveContext_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni/SampleAISSelectJni_AIS_InteractiveContext_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISSelectJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISSelectJni/SampleAISSelectJni_Quantity_Color_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni/SampleAISSelectJni_Quantity_Color_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISSelectJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISSelectJni/SampleAISSelectJni_SampleAISSelectPackage_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni/SampleAISSelectJni_SampleAISSelectPackage_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISSelectJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISSelectJni/SampleAISSelectJni_TCollection_AsciiString_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni/SampleAISSelectJni_TCollection_AsciiString_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISSelectJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISSelectJni/SampleAISSelectJni_V3d_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni/SampleAISSelectJni_V3d_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISSelectJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISSelectJni/SampleAISSelectJni_V3d_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni/SampleAISSelectJni_V3d_View_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISSelectJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISSelectJni/SampleAISSelectJni_Viewer_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni/SampleAISSelectJni_Viewer_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISSelectJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISSelectJni/SampleAISSelectJni_Viewer_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni/SampleAISSelectJni_Viewer_View_java.o diff --git a/samples/java/adm/Linux/SampleAISSelectJni.lnk b/samples/java/adm/Linux/SampleAISSelectJni.lnk deleted file mode 100755 index 4edf15793f..0000000000 --- a/samples/java/adm/Linux/SampleAISSelectJni.lnk +++ /dev/null @@ -1,58 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "g++" -if (!($?CCFLAGS)) setenv CCFLAGS " -shared " - -if (!($?STLPortHome)) then - setenv STLPortLib "." -else - if (!($?STLPortLib_CC)) setenv STLPortLib_CC "stlport_gcc" - if (!($?STLPortLib)) setenv STLPortLib "$STLPortHome/lib" - setenv STLPortLib "$STLPortLib -l$STLPortLib_CC" -endif - -${CCHOME} ${CCFLAGS} -o ${SAMPLE_ROOT}/${STATION}/lib//libSampleAISSelectJni.so \ - -L${SAMPLE_ROOT}/${STATION}/lib \ - -L${CASROOT}/${STATION}/lib -L${STLPortLib} \ -\ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni/SampleAISSelectJni_AIS_InteractiveContext_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni/SampleAISSelectJni_Quantity_Color_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni/SampleAISSelectJni_SampleAISSelectPackage_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni/SampleAISSelectJni_TCollection_AsciiString_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni/SampleAISSelectJni_V3d_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni/SampleAISSelectJni_V3d_View_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni/SampleAISSelectJni_Viewer_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni/SampleAISSelectJni_Viewer_View_java.o \ -\ - -lPTKernel \ - -lTKPShape \ - -lTKOffset \ - -lTKShHealing \ - -lTKXSBase \ - -lTKIGES \ - -lTKCDF \ - -lTKPCAF \ - -lTKShapeSchema \ - -lTKSTEP \ - -lTKFeat \ - -lTKSamples \ - -lTKFillet \ - -lTKGeomAlgo \ - -lTKPrim \ - -lTKBool \ - -lTKjcas \ - -lTKV3d \ - -lTKernel \ - -lTKGeomBase \ - -lTKTopAlgo \ - -lTKBRep \ - -lTKHLR \ - -lTKG2d \ - -lTKV2d \ - -lTKService \ - -lTKMath \ - -lTKG3d \ - ; - set ld_status=$status - if ( $?LD_LIBRARY_PATH ) then - set ld_library_path=$LD_LIBRARY_PATH - endif - diff --git a/samples/java/adm/Linux/SampleAISSelectPackage.comp b/samples/java/adm/Linux/SampleAISSelectPackage.comp deleted file mode 100755 index fbbceed66e..0000000000 --- a/samples/java/adm/Linux/SampleAISSelectPackage.comp +++ /dev/null @@ -1,17 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/usr/bin/g++ " -if (!($?CCFLAGS)) setenv CCFLAGS " -fPIC -DLIN -DLININTEL -DCSFDB -DNO_EXCEPTION -funsigned-char -Wall -O3 -DNDEBUG -DNo_Exception " - -if (!($?CCINC)) setenv CCINC "." - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectPackage)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectPackage -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISSelectPackage/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/SampleAISSelectPackage/SampleAISSelectPackage.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectPackage/SampleAISSelectPackage.o diff --git a/samples/java/adm/Linux/SampleDisplayAnimationJni.comp b/samples/java/adm/Linux/SampleDisplayAnimationJni.comp deleted file mode 100755 index f99223a43d..0000000000 --- a/samples/java/adm/Linux/SampleDisplayAnimationJni.comp +++ /dev/null @@ -1,22 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/usr/bin/g++ " -if (!($?CCFLAGS)) setenv CCFLAGS " -fPIC -DLIN -DLININTEL -DCSFDB -DNO_EXCEPTION -funsigned-char -Wall -O3 -DNDEBUG -DNo_Exception " - -if (!($?CCINC)) setenv CCINC "." - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationJni)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationJni -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleDisplayAnimationJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleDisplayAnimationJni/SampleDisplayAnimationJni_AIS_InteractiveContext_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationJni/SampleDisplayAnimationJni_AIS_InteractiveContext_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleDisplayAnimationJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleDisplayAnimationJni/SampleDisplayAnimationJni_SampleDisplayAnimationPackage_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationJni/SampleDisplayAnimationJni_SampleDisplayAnimationPackage_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleDisplayAnimationJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleDisplayAnimationJni/SampleDisplayAnimationJni_V3d_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationJni/SampleDisplayAnimationJni_V3d_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleDisplayAnimationJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleDisplayAnimationJni/SampleDisplayAnimationJni_V3d_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationJni/SampleDisplayAnimationJni_V3d_View_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleDisplayAnimationJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleDisplayAnimationJni/SampleDisplayAnimationJni_Viewer_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationJni/SampleDisplayAnimationJni_Viewer_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleDisplayAnimationJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleDisplayAnimationJni/SampleDisplayAnimationJni_Viewer_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationJni/SampleDisplayAnimationJni_Viewer_View_java.o diff --git a/samples/java/adm/Linux/SampleDisplayAnimationJni.lnk b/samples/java/adm/Linux/SampleDisplayAnimationJni.lnk deleted file mode 100755 index a8356fc519..0000000000 --- a/samples/java/adm/Linux/SampleDisplayAnimationJni.lnk +++ /dev/null @@ -1,56 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "g++" -if (!($?CCFLAGS)) setenv CCFLAGS " -shared " - -if (!($?STLPortHome)) then - setenv STLPortLib "." -else - if (!($?STLPortLib_CC)) setenv STLPortLib_CC "stlport_gcc" - if (!($?STLPortLib)) setenv STLPortLib "$STLPortHome/lib" - setenv STLPortLib "$STLPortLib -l$STLPortLib_CC" -endif - -${CCHOME} ${CCFLAGS} -o ${SAMPLE_ROOT}/${STATION}/lib//libSampleDisplayAnimationJni.so \ - -L${SAMPLE_ROOT}/${STATION}/lib \ - -L${CASROOT}/${STATION}/lib -L${STLPortLib} \ -\ -${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationJni/SampleDisplayAnimationJni_AIS_InteractiveContext_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationJni/SampleDisplayAnimationJni_SampleDisplayAnimationPackage_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationJni/SampleDisplayAnimationJni_V3d_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationJni/SampleDisplayAnimationJni_V3d_View_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationJni/SampleDisplayAnimationJni_Viewer_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationJni/SampleDisplayAnimationJni_Viewer_View_java.o \ -\ - -lTKjcas \ - -lTKPrim \ - -lTKFillet \ - -lPTKernel \ - -lTKPShape \ - -lTKOffset \ - -lTKShHealing \ - -lTKXSBase \ - -lTKIGES \ - -lTKCDF \ - -lTKPCAF \ - -lTKShapeSchema \ - -lTKSTEP \ - -lTKFeat \ - -lTKSamples \ - -lTKV3d \ - -lTKernel \ - -lTKGeomAlgo \ - -lTKGeomBase \ - -lTKBool \ - -lTKTopAlgo \ - -lTKBRep \ - -lTKHLR \ - -lTKG2d \ - -lTKV2d \ - -lTKService \ - -lTKMath \ - -lTKG3d \ -; - set ld_status=$status - if ( $?LD_LIBRARY_PATH ) then - set ld_library_path=$LD_LIBRARY_PATH - endif - diff --git a/samples/java/adm/Linux/SampleDisplayAnimationPackage.comp b/samples/java/adm/Linux/SampleDisplayAnimationPackage.comp deleted file mode 100755 index eedf663f38..0000000000 --- a/samples/java/adm/Linux/SampleDisplayAnimationPackage.comp +++ /dev/null @@ -1,17 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/usr/bin/g++ " -if (!($?CCFLAGS)) setenv CCFLAGS " -fPIC -DLIN -DLININTEL -DCSFDB -DNO_EXCEPTION -funsigned-char -Wall -O3 -DNDEBUG -DNo_Exception " - -if (!($?CCINC)) setenv CCINC "." - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationPackage)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationPackage -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleDisplayAnimationPackage/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/SampleDisplayAnimationPackage/SampleDisplayAnimationPackage.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationPackage/SampleDisplayAnimationPackage.o diff --git a/samples/java/adm/Linux/SampleGeometryJni.comp b/samples/java/adm/Linux/SampleGeometryJni.comp deleted file mode 100755 index 066348ec8d..0000000000 --- a/samples/java/adm/Linux/SampleGeometryJni.comp +++ /dev/null @@ -1,26 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/usr/bin/g++ " -if (!($?CCFLAGS)) setenv CCFLAGS " -fPIC -DLIN -DLININTEL -DCSFDB -DNO_EXCEPTION -funsigned-char -Wall -O3 -DNDEBUG -DNo_Exception " - -if (!($?CCINC)) setenv CCINC "." - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleGeometryJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleGeometryJni/SampleGeometryJni_AIS_InteractiveContext_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_AIS_InteractiveContext_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleGeometryJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleGeometryJni/SampleGeometryJni_ISession2D_InteractiveContext_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_ISession2D_InteractiveContext_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleGeometryJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleGeometryJni/SampleGeometryJni_SampleGeometryPackage_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_SampleGeometryPackage_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleGeometryJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleGeometryJni/SampleGeometryJni_TCollection_AsciiString_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_TCollection_AsciiString_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleGeometryJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleGeometryJni/SampleGeometryJni_V2d_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_V2d_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleGeometryJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleGeometryJni/SampleGeometryJni_V2d_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_V2d_View_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleGeometryJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleGeometryJni/SampleGeometryJni_V3d_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_V3d_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleGeometryJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleGeometryJni/SampleGeometryJni_V3d_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_V3d_View_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleGeometryJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleGeometryJni/SampleGeometryJni_Viewer_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_Viewer_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleGeometryJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleGeometryJni/SampleGeometryJni_Viewer_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_Viewer_View_java.o diff --git a/samples/java/adm/Linux/SampleGeometryJni.lnk b/samples/java/adm/Linux/SampleGeometryJni.lnk deleted file mode 100755 index 15914db2f7..0000000000 --- a/samples/java/adm/Linux/SampleGeometryJni.lnk +++ /dev/null @@ -1,58 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "g++ " -if (!($?CCFLAGS)) setenv CCFLAGS " -shared " - -if (!($?STLPortHome)) then - setenv STLPortLib "." -else - if (!($?STLPortLib_CC)) setenv STLPortLib_CC "stlport_gcc" - if (!($?STLPortLib)) setenv STLPortLib "$STLPortHome/lib" - setenv STLPortLib "$STLPortLib -l$STLPortLib_CC" -endif - -${CCHOME} ${CCFLAGS} -o ${SAMPLE_ROOT}/${STATION}/lib//libSampleGeometryJni.so \ - -L${SAMPLE_ROOT}/${STATION}/lib \ - -L${CASROOT}/${STATION}/lib -L${STLPortLib} \ -\ -${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_AIS_InteractiveContext_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_ISession2D_InteractiveContext_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_SampleGeometryPackage_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_TCollection_AsciiString_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_V2d_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_V2d_View_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_V3d_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_V3d_View_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_Viewer_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_Viewer_View_java.o \ -\ - -lTKjcas \ - -lTKPrim \ - -lTKFillet \ - -lPTKernel \ - -lTKPShape \ - -lTKOffset \ - -lTKShHealing \ - -lTKXSBase \ - -lTKIGES \ - -lTKShapeSchema \ - -lTKSTEP \ - -lTKFeat \ - -lTKSamples \ - -lTKGeomAlgo \ - -lTKGeomBase \ - -lTKV3d \ - -lTKernel \ - -lTKBool \ - -lTKTopAlgo \ - -lTKBRep \ - -lTKV2d \ - -lTKService \ - -lTKHLR \ - -lTKG2d \ - -lTKMath \ - -lTKG3d \ -; - set ld_status=$status - if ( $?LD_LIBRARY_PATH ) then - set ld_library_path=$LD_LIBRARY_PATH - endif - diff --git a/samples/java/adm/Linux/SampleGeometryPackage.comp b/samples/java/adm/Linux/SampleGeometryPackage.comp deleted file mode 100755 index 4a2590b03c..0000000000 --- a/samples/java/adm/Linux/SampleGeometryPackage.comp +++ /dev/null @@ -1,17 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/usr/bin/g++ " -if (!($?CCFLAGS)) setenv CCFLAGS " -fPIC -DLIN -DLININTEL -DCSFDB -DNO_EXCEPTION -funsigned-char -Wall -O3 -DNDEBUG -DNo_Exception " - -if (!($?CCINC)) setenv CCINC "." - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryPackage)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryPackage -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleGeometryPackage/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/SampleGeometryPackage/SampleGeometryPackage.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryPackage/SampleGeometryPackage.o diff --git a/samples/java/adm/Linux/SampleHLRJni.comp b/samples/java/adm/Linux/SampleHLRJni.comp deleted file mode 100755 index a28870cb9d..0000000000 --- a/samples/java/adm/Linux/SampleHLRJni.comp +++ /dev/null @@ -1,56 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/usr/bin/g++ " -if (!($?CCFLAGS)) setenv CCFLAGS " -fPIC -DLIN -DLININTEL -DCSFDB -DNO_EXCEPTION -funsigned-char -Wall -O3 -DNDEBUG -DNo_Exception " - -if (!($?CCINC)) setenv CCINC "." - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_AIS_InteractiveContext_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_AIS_InteractiveContext_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_Background_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_Background_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_ColorCubeColorMap_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_ColorCubeColorMap_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_ColorMapEntry_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_ColorMapEntry_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_ColorMap_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_ColorMap_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_ColorRampColorMap_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_ColorRampColorMap_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_Driver_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_Driver_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_FontMapEntry_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_FontMapEntry_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_FontMap_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_FontMap_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_FontStyle_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_FontStyle_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_GenericColorMap_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_GenericColorMap_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_GraphicDevice_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_GraphicDevice_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_LineStyle_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_LineStyle_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_MarkerStyle_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_MarkerStyle_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_MarkMapEntry_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_MarkMapEntry_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_MarkMap_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_MarkMap_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_TypeMapEntry_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_TypeMapEntry_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_TypeMap_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_TypeMap_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_WidthMapEntry_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_WidthMapEntry_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_WidthMap_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_WidthMap_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_WindowDriver_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_WindowDriver_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_Window_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_Window_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_ISession2D_InteractiveContext_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_ISession2D_InteractiveContext_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Quantity_Color_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Quantity_Color_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_SampleHLRPackage_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_SampleHLRPackage_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Standard_Type_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Standard_Type_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_TCollection_AsciiString_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_TCollection_AsciiString_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_TCollection_ExtendedString_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_TCollection_ExtendedString_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_TColQuantity_Array1OfLength_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_TColQuantity_Array1OfLength_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_TColQuantity_HArray1OfLength_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_TColQuantity_HArray1OfLength_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_TColStd_Array1OfBoolean_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_TColStd_Array1OfBoolean_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_TColStd_Array1OfReal_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_TColStd_Array1OfReal_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_TShort_Array1OfShortReal_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_TShort_Array1OfShortReal_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_V2d_DefaultMap_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_V2d_DefaultMap_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_V2d_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_V2d_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_V2d_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_V2d_View_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_V3d_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_V3d_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_V3d_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_V3d_View_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Viewer_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Viewer_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Viewer_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Viewer_View_java.o diff --git a/samples/java/adm/Linux/SampleHLRJni.lnk b/samples/java/adm/Linux/SampleHLRJni.lnk deleted file mode 100755 index 833cfa831e..0000000000 --- a/samples/java/adm/Linux/SampleHLRJni.lnk +++ /dev/null @@ -1,90 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "g++ " -if (!($?CCFLAGS)) setenv CCFLAGS " -shared " - -if (!($?STLPortHome)) then - setenv STLPortLib "." -else - if (!($?STLPortLib_CC)) setenv STLPortLib_CC "stlport_gcc" - if (!($?STLPortLib)) setenv STLPortLib "$STLPortHome/lib" - setenv STLPortLib "$STLPortLib -l$STLPortLib_CC" -endif - -${CCHOME} ${CCFLAGS} -o ${SAMPLE_ROOT}/${STATION}/lib//libSampleHLRJni.so \ - -L${SAMPLE_ROOT}/${STATION}/lib \ - -L${CASROOT}/${STATION}/lib -L${STLPortLib} \ -\ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_AIS_InteractiveContext_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_Background_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_ColorCubeColorMap_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_ColorMapEntry_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_ColorMap_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_ColorRampColorMap_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_Driver_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_FontMapEntry_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_FontMap_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_FontStyle_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_GenericColorMap_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_GraphicDevice_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_LineStyle_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_MarkerStyle_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_MarkMapEntry_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_MarkMap_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_TypeMapEntry_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_TypeMap_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_WidthMapEntry_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_WidthMap_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_WindowDriver_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_Window_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_ISession2D_InteractiveContext_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Quantity_Color_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_SampleHLRPackage_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Standard_Type_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_TCollection_AsciiString_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_TCollection_ExtendedString_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_TColQuantity_Array1OfLength_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_TColQuantity_HArray1OfLength_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_TColStd_Array1OfBoolean_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_TColStd_Array1OfReal_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_TShort_Array1OfShortReal_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_V2d_DefaultMap_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_V2d_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_V2d_View_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_V3d_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_V3d_View_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Viewer_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Viewer_View_java.o \ -\ - -lTKjcas \ - -lTKPrim \ - -lTKFillet \ - -lPTKernel \ - -lTKPShape \ - -lTKOffset \ - -lTKShHealing \ - -lTKXSBase \ - -lTKIGES \ - -lTKCDF \ - -lTKPCAF \ - -lTKShapeSchema \ - -lTKSTEP \ - -lTKFeat \ - -lTKSamples \ - -lTKV3d \ - -lTKernel \ - -lTKGeomAlgo \ - -lTKGeomBase \ - -lTKBool \ - -lTKTopAlgo \ - -lTKBRep \ - -lTKV2d \ - -lTKService \ - -lTKHLR \ - -lTKG2d \ - -lTKMath \ - -lTKG3d \ - ; - set ld_status=$status - if ( $?LD_LIBRARY_PATH ) then - set ld_library_path=$LD_LIBRARY_PATH - endif - diff --git a/samples/java/adm/Linux/SampleHLRPackage.comp b/samples/java/adm/Linux/SampleHLRPackage.comp deleted file mode 100755 index 3d4e02522c..0000000000 --- a/samples/java/adm/Linux/SampleHLRPackage.comp +++ /dev/null @@ -1,17 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/usr/bin/g++ " -if (!($?CCFLAGS)) setenv CCFLAGS " -fPIC -DLIN -DLININTEL -DCSFDB -DNO_EXCEPTION -funsigned-char -Wall -O3 -DNDEBUG -DNo_Exception " - -if (!($?CCINC)) setenv CCINC "." - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRPackage)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRPackage -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRPackage/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/SampleHLRPackage/SampleHLRPackage.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRPackage/SampleHLRPackage.o diff --git a/samples/java/adm/Linux/SampleImportExportJni.comp b/samples/java/adm/Linux/SampleImportExportJni.comp deleted file mode 100755 index 677d2330ba..0000000000 --- a/samples/java/adm/Linux/SampleImportExportJni.comp +++ /dev/null @@ -1,23 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/usr/bin/g++ " -if (!($?CCFLAGS)) setenv CCFLAGS " -fPIC -DLIN -DLININTEL -DCSFDB -DNO_EXCEPTION -funsigned-char -Wall -O3 -DNDEBUG -DNo_Exception " - -if (!($?CCINC)) setenv CCINC "." - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportJni)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportJni -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleImportExportJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleImportExportJni/SampleImportExportJni_AIS_InteractiveContext_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportJni/SampleImportExportJni_AIS_InteractiveContext_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleImportExportJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleImportExportJni/SampleImportExportJni_SampleImportExportPackage_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportJni/SampleImportExportJni_SampleImportExportPackage_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleImportExportJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleImportExportJni/SampleImportExportJni_TCollection_AsciiString_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportJni/SampleImportExportJni_TCollection_AsciiString_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleImportExportJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleImportExportJni/SampleImportExportJni_V3d_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportJni/SampleImportExportJni_V3d_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleImportExportJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleImportExportJni/SampleImportExportJni_V3d_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportJni/SampleImportExportJni_V3d_View_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleImportExportJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleImportExportJni/SampleImportExportJni_Viewer_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportJni/SampleImportExportJni_Viewer_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleImportExportJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleImportExportJni/SampleImportExportJni_Viewer_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportJni/SampleImportExportJni_Viewer_View_java.o diff --git a/samples/java/adm/Linux/SampleImportExportJni.lnk b/samples/java/adm/Linux/SampleImportExportJni.lnk deleted file mode 100755 index 4bde34e39a..0000000000 --- a/samples/java/adm/Linux/SampleImportExportJni.lnk +++ /dev/null @@ -1,57 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "g++ " -if (!($?CCFLAGS)) setenv CCFLAGS " -shared " - -if (!($?STLPortHome)) then - setenv STLPortLib "." -else - if (!($?STLPortLib_CC)) setenv STLPortLib_CC "stlport_gcc" - if (!($?STLPortLib)) setenv STLPortLib "$STLPortHome/lib" - setenv STLPortLib "$STLPortLib -l$STLPortLib_CC" -endif - -${CCHOME} ${CCFLAGS} -o ${SAMPLE_ROOT}/${STATION}/lib//libSampleImportExportJni.so \ - -L${SAMPLE_ROOT}/${STATION}/lib \ - -L${CASROOT}/${STATION}/lib -L${STLPortLib} \ -\ -${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportJni/SampleImportExportJni_AIS_InteractiveContext_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportJni/SampleImportExportJni_SampleImportExportPackage_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportJni/SampleImportExportJni_TCollection_AsciiString_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportJni/SampleImportExportJni_V3d_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportJni/SampleImportExportJni_V3d_View_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportJni/SampleImportExportJni_Viewer_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportJni/SampleImportExportJni_Viewer_View_java.o \ -\ - -lTKFillet \ - -lTKFeat \ - -lTKSamples \ - -lTKPShape \ - -lTKPCAF \ - -lTKCDF \ - -lTKernel \ - -lTKIGES \ - -lPTKernel \ - -lTKjcas \ - -lTKSTEP \ - -lTKXSBase \ - -lTKShHealing \ - -lTKOffset \ - -lTKBool \ - -lTKGeomBase \ - -lTKTopAlgo \ - -lTKPrim \ - -lTKGeomAlgo \ - -lTKV3d \ - -lTKBRep \ - -lTKMesh \ - -lTKHLR \ - -lTKG2d \ - -lTKV2d \ - -lTKService \ - -lTKMath \ - -lTKG3d \ -; - set ld_status=$status - if ( $?LD_LIBRARY_PATH ) then - set ld_library_path=$LD_LIBRARY_PATH - endif - diff --git a/samples/java/adm/Linux/SampleImportExportPackage.comp b/samples/java/adm/Linux/SampleImportExportPackage.comp deleted file mode 100755 index 53d24c981c..0000000000 --- a/samples/java/adm/Linux/SampleImportExportPackage.comp +++ /dev/null @@ -1,17 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/usr/bin/g++ " -if (!($?CCFLAGS)) setenv CCFLAGS " -fPIC -DLIN -DLININTEL -DCSFDB -DNO_EXCEPTION -funsigned-char -Wall -O3 -DNDEBUG -DNo_Exception " - -if (!($?CCINC)) setenv CCINC "." - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportPackage)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportPackage -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleImportExportPackage/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/SampleImportExportPackage/SampleImportExportPackage.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportPackage/SampleImportExportPackage.o diff --git a/samples/java/adm/Linux/SampleNativePaint.comp b/samples/java/adm/Linux/SampleNativePaint.comp deleted file mode 100755 index 9657ab9b67..0000000000 --- a/samples/java/adm/Linux/SampleNativePaint.comp +++ /dev/null @@ -1,18 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/usr/bin/g++ " -if (!($?CCFLAGS)) setenv CCFLAGS " -fPIC -DLIN -DLININTEL -DCSFDB -DNO_EXCEPTION -funsigned-char -Wall -O3 -DNDEBUG -DNo_Exception " - -if (!($?CCINC)) setenv CCINC "." - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleNativePaint)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleNativePaint -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -I${STLPortInclude} -I${CCINC} -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleNativePaint/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/SampleNativePaint/CASCADEView2d.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleNativePaint/CASCADEView2d.o -${CCHOME} ${CCFLAGS} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -I${STLPortInclude} -I${CCINC} -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleNativePaint/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/SampleNativePaint/CASCADEView3d.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleNativePaint/CASCADEView3d.o diff --git a/samples/java/adm/Linux/SampleViewer3DJni.comp b/samples/java/adm/Linux/SampleViewer3DJni.comp deleted file mode 100755 index f4c887ed88..0000000000 --- a/samples/java/adm/Linux/SampleViewer3DJni.comp +++ /dev/null @@ -1,46 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/usr/bin/g++ " -if (!($?CCFLAGS)) setenv CCFLAGS " -fPIC -DLIN -DLININTEL -DCSFDB -DNO_EXCEPTION -funsigned-char -Wall -O3 -DNDEBUG -DNo_Exception " - -if (!($?CCINC)) setenv CCINC "." - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_AIS_InteractiveContext_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_AIS_InteractiveContext_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_AlienImage_AlienImage_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_AlienImage_AlienImage_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Aspect_Array1OfEdge_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Aspect_Array1OfEdge_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Aspect_GraphicDriver_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Aspect_GraphicDriver_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexC_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexC_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertex_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertex_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexNC_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexNC_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexN_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexN_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexNT_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexNT_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array2OfVertex_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array2OfVertex_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array2OfVertexN_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array2OfVertexN_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array2OfVertexNT_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array2OfVertexNT_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_GraphicDriver_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_GraphicDriver_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_HArray1OfBytes_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_HArray1OfBytes_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Vector_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Vector_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Vertex_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Vertex_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_VertexNC_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_VertexNC_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_VertexN_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_VertexN_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_SampleViewer3DPackage_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_SampleViewer3DPackage_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Standard_Type_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Standard_Type_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_TCollection_AsciiString_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_TCollection_AsciiString_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_TCollection_ExtendedString_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_TCollection_ExtendedString_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_TColStd_Array1OfInteger_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_TColStd_Array1OfInteger_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_TColStd_Array1OfReal_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_TColStd_Array1OfReal_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_TColStd_Array2OfReal_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_TColStd_Array2OfReal_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_TColStd_HArray1OfReal_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_TColStd_HArray1OfReal_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_V3d_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_V3d_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_V3d_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_V3d_View_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Viewer_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Viewer_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Viewer_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Viewer_View_java.o diff --git a/samples/java/adm/Linux/SampleViewer3DJni.lnk b/samples/java/adm/Linux/SampleViewer3DJni.lnk deleted file mode 100755 index a1c9be05be..0000000000 --- a/samples/java/adm/Linux/SampleViewer3DJni.lnk +++ /dev/null @@ -1,68 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "g++ " -if (!($?CCFLAGS)) setenv CCFLAGS " -shared " - -if (!($?STLPortHome)) then - setenv STLPortLib "." -else - if (!($?STLPortLib_CC)) setenv STLPortLib_CC "stlport_gcc" - if (!($?STLPortLib)) setenv STLPortLib "$STLPortHome/lib" - setenv STLPortLib "$STLPortLib -l$STLPortLib_CC" -endif - -${CCHOME} ${CCFLAGS} -o ${SAMPLE_ROOT}/${STATION}/lib//libSampleViewer3DJni.so \ - -L${SAMPLE_ROOT}/${STATION}/lib \ - -L${CASROOT}/${STATION}/lib -L${STLPortLib} \ -\ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_AIS_InteractiveContext_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_AlienImage_AlienImage_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Aspect_Array1OfEdge_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Aspect_GraphicDriver_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexC_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertex_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexNC_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexN_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexNT_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array2OfVertex_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array2OfVertexN_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array2OfVertexNT_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_GraphicDriver_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_HArray1OfBytes_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Vector_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Vertex_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_VertexNC_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_VertexN_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_SampleViewer3DPackage_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Standard_Type_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_TCollection_AsciiString_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_TCollection_ExtendedString_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_TColStd_Array1OfInteger_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_TColStd_Array1OfReal_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_TColStd_Array2OfReal_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_TColStd_HArray1OfReal_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_V3d_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_V3d_View_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Viewer_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Viewer_View_java.o \ -\ - -lTKjcas \ - -lTKSamples2 \ - -lTKPrim \ - -lTKV3d \ - -lTKernel \ - -lTKGeomAlgo \ - -lTKGeomBase \ - -lTKBool \ - -lTKTopAlgo \ - -lTKBRep \ - -lTKHLR \ - -lTKG2d \ - -lTKV2d \ - -lTKService \ - -lTKMath \ - -lTKG3d \ -; - set ld_status=$status - if ( $?LD_LIBRARY_PATH ) then - set ld_library_path=$LD_LIBRARY_PATH - endif - diff --git a/samples/java/adm/Linux/SampleViewer3DPackage.comp b/samples/java/adm/Linux/SampleViewer3DPackage.comp deleted file mode 100755 index bc94af5282..0000000000 --- a/samples/java/adm/Linux/SampleViewer3DPackage.comp +++ /dev/null @@ -1,17 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/usr/bin/g++ " -if (!($?CCFLAGS)) setenv CCFLAGS " -fPIC -DLIN -DLININTEL -DCSFDB -DNO_EXCEPTION -funsigned-char -Wall -O3 -DNDEBUG -DNo_Exception " - -if (!($?CCINC)) setenv CCINC "." - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DPackage)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DPackage -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DPackage/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/SampleViewer3DPackage/SampleViewer3DPackage.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DPackage/SampleViewer3DPackage.o diff --git a/samples/java/adm/Linux/SamplesTopologyJni.comp b/samples/java/adm/Linux/SamplesTopologyJni.comp deleted file mode 100755 index f073dabc45..0000000000 --- a/samples/java/adm/Linux/SamplesTopologyJni.comp +++ /dev/null @@ -1,23 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/usr/bin/g++ " -if (!($?CCFLAGS)) setenv CCFLAGS " -fPIC -DLIN -DLININTEL -DCSFDB -DNO_EXCEPTION -funsigned-char -Wall -O3 -DNDEBUG -DNo_Exception " - -if (!($?CCINC)) setenv CCINC "." - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyJni)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyJni -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SamplesTopologyJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SamplesTopologyJni/SamplesTopologyJni_AIS_InteractiveContext_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyJni/SamplesTopologyJni_AIS_InteractiveContext_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SamplesTopologyJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SamplesTopologyJni/SamplesTopologyJni_SamplesTopologyPackage_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyJni/SamplesTopologyJni_SamplesTopologyPackage_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SamplesTopologyJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SamplesTopologyJni/SamplesTopologyJni_TCollection_AsciiString_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyJni/SamplesTopologyJni_TCollection_AsciiString_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SamplesTopologyJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SamplesTopologyJni/SamplesTopologyJni_V3d_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyJni/SamplesTopologyJni_V3d_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SamplesTopologyJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SamplesTopologyJni/SamplesTopologyJni_V3d_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyJni/SamplesTopologyJni_V3d_View_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SamplesTopologyJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SamplesTopologyJni/SamplesTopologyJni_Viewer_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyJni/SamplesTopologyJni_Viewer_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SamplesTopologyJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SamplesTopologyJni/SamplesTopologyJni_Viewer_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyJni/SamplesTopologyJni_Viewer_View_java.o diff --git a/samples/java/adm/Linux/SamplesTopologyJni.lnk b/samples/java/adm/Linux/SamplesTopologyJni.lnk deleted file mode 100755 index a29792cab4..0000000000 --- a/samples/java/adm/Linux/SamplesTopologyJni.lnk +++ /dev/null @@ -1,57 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "g++ " -if (!($?CCFLAGS)) setenv CCFLAGS "-shared " - -if (!($?STLPortHome)) then - setenv STLPortLib "." -else - if (!($?STLPortLib_CC)) setenv STLPortLib_CC "stlport_gcc" - if (!($?STLPortLib)) setenv STLPortLib "$STLPortHome/lib" - setenv STLPortLib "$STLPortLib -l$STLPortLib_CC" -endif - -${CCHOME} ${CCFLAGS} -o ${SAMPLE_ROOT}/${STATION}/lib//libSamplesTopologyJni.so \ - -L${SAMPLE_ROOT}/${STATION}/lib \ - -L${CASROOT}/${STATION}/lib -L${STLPortLib} \ -\ -${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyJni/SamplesTopologyJni_AIS_InteractiveContext_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyJni/SamplesTopologyJni_SamplesTopologyPackage_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyJni/SamplesTopologyJni_TCollection_AsciiString_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyJni/SamplesTopologyJni_V3d_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyJni/SamplesTopologyJni_V3d_View_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyJni/SamplesTopologyJni_Viewer_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyJni/SamplesTopologyJni_Viewer_View_java.o \ -\ - -lTKjcas \ - -lPTKernel \ - -lTKPShape \ - -lTKShHealing \ - -lTKXSBase \ - -lTKIGES \ - -lTKCDF \ - -lTKPCAF \ - -lTKShapeSchema \ - -lTKSTEP \ - -lTKSamples \ - -lTKFeat \ - -lTKOffset \ - -lTKBool \ - -lTKTopAlgo \ - -lTKGeomBase \ - -lTKFillet \ - -lTKGeomAlgo \ - -lTKPrim \ - -lTKV3d \ - -lTKernel \ - -lTKBRep \ - -lTKHLR \ - -lTKV2d \ - -lTKService \ - -lTKG2d \ - -lTKMath \ - -lTKG3d \ -; - set ld_status=$status - if ( $?LD_LIBRARY_PATH ) then - set ld_library_path=$LD_LIBRARY_PATH - endif - diff --git a/samples/java/adm/Linux/SamplesTopologyPackage.comp b/samples/java/adm/Linux/SamplesTopologyPackage.comp deleted file mode 100755 index dede81bb2a..0000000000 --- a/samples/java/adm/Linux/SamplesTopologyPackage.comp +++ /dev/null @@ -1,17 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/usr/bin/g++ " -if (!($?CCFLAGS)) setenv CCFLAGS " -fPIC -DLIN -DLININTEL -DCSFDB -DNO_EXCEPTION -funsigned-char -Wall -O3 -DNDEBUG -DNo_Exception " - -if (!($?CCINC)) setenv CCINC "." - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyPackage)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyPackage -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SamplesTopologyPackage/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/SamplesTopologyPackage/SamplesTopologyPackage.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyPackage/SamplesTopologyPackage.o diff --git a/samples/java/adm/Linux/TKNativePaint.lnk b/samples/java/adm/Linux/TKNativePaint.lnk deleted file mode 100755 index 812b662937..0000000000 --- a/samples/java/adm/Linux/TKNativePaint.lnk +++ /dev/null @@ -1,42 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "g++ " -if (!($?CCFLAGS)) setenv CCFLAGS " -shared " - -if (!($?STLPortHome)) then - setenv STLPortLib "." -else - if (!($?STLPortLib_CC)) setenv STLPortLib_CC "stlport_gcc" - if (!($?STLPortLib)) setenv STLPortLib "$STLPortHome/lib" - setenv STLPortLib "$STLPortLib -l$STLPortLib_CC" -endif - -${CCHOME} ${CCFLAGS} -o ${SAMPLE_ROOT}/${STATION}/lib//libTKNativePaint.so \ - -L${SAMPLE_ROOT}/${STATION}/lib \ - -L${CASROOT}/${STATION}/lib -L${STLPortLib} \ -${SAMPLE_ROOT}/${STATION}/obj/SampleNativePaint/CASCADEView3d.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleNativePaint/CASCADEView2d.o \ -\ --lTKernel \ --lTKMath \ --lTKGeomBase \ --lTKG2d \ --lTKG3d \ --lTKBRep \ --lTKGeomAlgo \ --lTKTopAlgo \ --lTKPrim \ --lTKHLR \ --lTKService \ --lTKV2d \ --lTKV3d \ --lTKjcas \ -\ - -L${JAVAHOME}/jre/lib/i386 -ljawt \ - -lc \ - ; - set ld_status=$status - if ( $ld_status ) then - echo "Check failed" - else - echo "Check successed" - endif - diff --git a/samples/java/adm/Linux/TKSamples.lnk b/samples/java/adm/Linux/TKSamples.lnk deleted file mode 100755 index ca9126a48a..0000000000 --- a/samples/java/adm/Linux/TKSamples.lnk +++ /dev/null @@ -1,72 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "g++ " -if (!($?CCFLAGS)) setenv CCFLAGS " -shared " - -if (!($?STLPortHome)) then - setenv STLPortLib "." -else - if (!($?STLPortLib_CC)) setenv STLPortLib_CC "stlport_gcc" - if (!($?STLPortLib)) setenv STLPortLib "$STLPortHome/lib" - setenv STLPortLib "$STLPortLib -l$STLPortLib_CC" -endif - -${CCHOME} ${CCFLAGS} -o ${SAMPLE_ROOT}/${STATION}/lib//libTKSamples.so \ - -L${SAMPLE_ROOT}/${STATION}/lib \ - -L${CASROOT}/${STATION}/lib -L${STLPortLib} \ -\ - ${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicPackage/SampleAISBasicPackage.o \ - ${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModePackage/SampleAISDisplayModePackage.o \ - ${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectPackage/SampleAISSelectPackage.o \ - ${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationPackage/SampleDisplayAnimationPackage.o \ - ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryPackage/SampleGeometryPackage.o \ - ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRPackage/SampleHLRPackage.o \ - ${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportPackage/SampleImportExportPackage.o \ - ${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyPackage/SamplesTopologyPackage.o \ - ${SAMPLE_ROOT}/${STATION}/obj/User/User_Cylinder.o \ - ${SAMPLE_ROOT}/${STATION}/obj/ISession/ISession_Point.o \ - ${SAMPLE_ROOT}/${STATION}/obj/ISession/ISession_Curve.o \ - ${SAMPLE_ROOT}/${STATION}/obj/ISession/ISession_Surface.o \ - ${SAMPLE_ROOT}/${STATION}/obj/ISession/ISession_Text.o \ - ${SAMPLE_ROOT}/${STATION}/obj/ISession/ISession_Direction.o \ - ${SAMPLE_ROOT}/${STATION}/obj/ISession2D/ISession2D_InteractiveContext.o \ - ${SAMPLE_ROOT}/${STATION}/obj/ISession2D/ISession2D_SensitiveCurve.o \ - ${SAMPLE_ROOT}/${STATION}/obj/ISession2D/ISession2D_Curve.o \ - ${SAMPLE_ROOT}/${STATION}/obj/ISession2D/ISession2D_ObjectOwner.o \ - ${SAMPLE_ROOT}/${STATION}/obj/ISession2D/ISession2D_Shape.o \ -\ - -lTKernel \ - -lTKBool \ - -lTKGeomAlgo \ - -lTKXSBase \ - -lTKIGES \ - -lTKFeat \ - -lTKMath \ - -lTKG3d \ - -lTKG2d \ - -lTKOffset \ - -lTKGeomBase \ - -lTKTopAlgo \ - -lTKV3d \ - -lTKService \ - -lPTKernel \ - -lTKShapeSchema \ - -lTKShHealing \ - -lTKBRep \ - -lTKFillet \ - -lTKHLR \ - -lTKV2d \ - -lTKPShape \ - -lTKMesh \ - -lTKSTEP \ - -lTKPrim \ - \ - \ - \ - \ - ; - set ld_status=$status - if ( $ld_status ) then - echo "Check failed" - else - echo "Check successed" - endif - diff --git a/samples/java/adm/Linux/TKSamples2.lnk b/samples/java/adm/Linux/TKSamples2.lnk deleted file mode 100755 index 1249eb6b35..0000000000 --- a/samples/java/adm/Linux/TKSamples2.lnk +++ /dev/null @@ -1,35 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "g++ " -if (!($?CCFLAGS)) setenv CCFLAGS " -shared " - -if (!($?STLPortHome)) then - setenv STLPortLib "." -else - if (!($?STLPortLib_CC)) setenv STLPortLib_CC "stlport_gcc" - if (!($?STLPortLib)) setenv STLPortLib "$STLPortHome/lib" - setenv STLPortLib "$STLPortLib -l$STLPortLib_CC" -endif - -${CCHOME} ${CCFLAGS} -o ${SAMPLE_ROOT}/${STATION}/lib//libTKSamples2.so \ - -L${SAMPLE_ROOT}/${STATION}/lib \ - -L${CASROOT}/${STATION}/lib -L${STLPortLib} \ -\ - ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DPackage/SampleViewer3DPackage.o \ -\ - -lTKMath \ - -lTKernel \ - -lTKService \ - -lTKV3d \ - -lTKG2d \ - -lTKV2d \ - -lTKBRep \ - -lTKGeomBase \ - -lTKTopAlgo \ - -lTKG3d \ - -lTKPrim \ - ; - set ld_status=$status - if ( $ld_status ) then - echo "Check failed" - else - echo "Check successed" - endif diff --git a/samples/java/adm/Linux/TKjcas.lnk b/samples/java/adm/Linux/TKjcas.lnk deleted file mode 100755 index 30b7445862..0000000000 --- a/samples/java/adm/Linux/TKjcas.lnk +++ /dev/null @@ -1,28 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "g++ " -if (!($?CCFLAGS)) setenv CCFLAGS "-shared " - -if (!($?STLPortHome)) then - setenv STLPortLib "." -else - if (!($?STLPortLib_CC)) setenv STLPortLib_CC "stlport_gcc" - if (!($?STLPortLib)) setenv STLPortLib "$STLPortHome/lib" - setenv STLPortLib "$STLPortLib -l$STLPortLib_CC" -endif - -${CCHOME} ${CCFLAGS} -o ${SAMPLE_ROOT}/${STATION}/lib//libTKjcas.so \ - -L${SAMPLE_ROOT}/${STATION}/lib \ - -L${CASROOT}/${STATION}/lib -L${STLPortLib} \ -\ - ${SAMPLE_ROOT}/${STATION}/obj/jcas/jcas.o \ - ${SAMPLE_ROOT}/${STATION}/obj/jcas/jcas_Object.o \ - ${SAMPLE_ROOT}/${STATION}/obj/jcas/jcas_Transient.o \ -\ - -lTKernel \ - ; - set ld_status=$status - if ( $ld_status ) then - echo "Check failed" - else - echo "Check successed" - endif - diff --git a/samples/java/adm/Linux/User.comp b/samples/java/adm/Linux/User.comp deleted file mode 100755 index 00da0772d2..0000000000 --- a/samples/java/adm/Linux/User.comp +++ /dev/null @@ -1,17 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/usr/bin/g++ " -if (!($?CCFLAGS)) setenv CCFLAGS " -fPIC -DLIN -DLININTEL -DCSFDB -DNO_EXCEPTION -funsigned-char -Wall -O3 -DNDEBUG -DNo_Exception " - -if (!($?CCINC)) setenv CCINC "." - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/User)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/User -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/User/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/User/User_Cylinder.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/User/User_Cylinder.o diff --git a/samples/java/adm/Linux/jcas.comp b/samples/java/adm/Linux/jcas.comp deleted file mode 100755 index bed5a88753..0000000000 --- a/samples/java/adm/Linux/jcas.comp +++ /dev/null @@ -1,19 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/usr/bin/g++ " -if (!($?CCFLAGS)) setenv CCFLAGS " -fPIC -DLIN -DLININTEL -DCSFDB -DNO_EXCEPTION -funsigned-char -Wall -O3 -DNDEBUG -DNo_Exception " - -if (!($?CCINC)) setenv CCINC "." - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/jcas)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/jcas -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -I${STLPortInclude} -I${CCINC} -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -I${CASROOT}/drv/jcas/. -c ${CASROOT}/src/jcas/jcas.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/jcas/jcas.o -${CCHOME} ${CCFLAGS} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -I${STLPortInclude} -I${CCINC} -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -I${CASROOT}/drv/jcas/. -c ${CASROOT}/src/jcas/jcas_Object.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/jcas/jcas_Object.o -${CCHOME} ${CCFLAGS} -I${JAVAHOME}/include -I${JAVAHOME}/include/linux -I${STLPortInclude} -I${CCINC} -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -I${CASROOT}/drv/jcas/. -c ${CASROOT}/src/jcas/jcas_Transient.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/jcas/jcas_Transient.o diff --git a/samples/java/adm/SunOS/CASCADESamplesJni.comp b/samples/java/adm/SunOS/CASCADESamplesJni.comp deleted file mode 100755 index eb9887bb63..0000000000 --- a/samples/java/adm/SunOS/CASCADESamplesJni.comp +++ /dev/null @@ -1,102 +0,0 @@ -if (!($?CCHOME)) set CCHOME = "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) set CCFLAGS = " -PIC -xchip=ultra -xarch=v8 -Usun -DSOLARIS -DNO_CXX_EXCEPTION -vdelx -DCSFDB -O2 -DNo_Exception +w " - -if (!($?CCINC)) setenv CCINC "/opt/DEV5_1/SUNWspro/SC4.2/include/CC" - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_AIS_Drawer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_AIS_Drawer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_AIS_InteractiveContext_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_AIS_InteractiveContext_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_AIS_InteractiveObject_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_AIS_InteractiveObject_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_AIS_ListOfInteractive_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_AIS_ListOfInteractive_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_AIS_Shape_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_AIS_Shape_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_AspectMarker_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_AspectMarker_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_Background_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_Background_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_ColorMap_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_ColorMap_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_ColorScale_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_ColorScale_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_Driver_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_Driver_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_FontMap_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_FontMap_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_GraphicDevice_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_GraphicDevice_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_Grid_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_Grid_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_MarkMap_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_MarkMap_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_PixMap_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_PixMap_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_TypeMap_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_TypeMap_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_WidthMap_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_WidthMap_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_WindowDriver_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_WindowDriver_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_Window_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_Window_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Bnd_Box_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Bnd_Box_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Geom_Transformation_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Geom_Transformation_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_gp_Ax3_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_gp_Ax3_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_gp_Pnt_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_gp_Pnt_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic2d_DisplayList_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic2d_DisplayList_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic2d_GraphicObject_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic2d_GraphicObject_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic2d_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic2d_View_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_AspectMarker3d_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_AspectMarker3d_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_DataStructureManager_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_DataStructureManager_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_MaterialAspect_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_MaterialAspect_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Plotter_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Plotter_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Structure_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Structure_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_StructureManager_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_StructureManager_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_TextureEnv_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_TextureEnv_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_TextureRoot_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_TextureRoot_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Vector_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Vector_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Vertex_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Vertex_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_ISession2D_InteractiveContext_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_ISession2D_InteractiveContext_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_PlotMgt_PlotterDriver_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_PlotMgt_PlotterDriver_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Prs3d_BasicAspect_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Prs3d_BasicAspect_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Prs3d_Drawer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Prs3d_Drawer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Prs3d_LineAspect_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Prs3d_LineAspect_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Prs3d_Presentation_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Prs3d_Presentation_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Prs3d_Projector_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Prs3d_Projector_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentableObject_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentableObject_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_Presentation_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_Presentation_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentationManager2d_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentationManager2d_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentationManager3d_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentationManager3d_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentationManager_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentationManager_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_Presentations_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_Presentations_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Quantity_Color_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Quantity_Color_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Select2D_Projector_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Select2D_Projector_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_SelectBasics_EntityOwner_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectBasics_EntityOwner_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_EntityOwner_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_EntityOwner_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_Filter_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_Filter_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_ListOfFilter_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_ListOfFilter_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_SelectableObject_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_SelectableObject_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_Selection_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_Selection_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_SelectionManager_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_SelectionManager_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_SequenceOfOwner_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_SequenceOfOwner_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_ViewerSelector_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_ViewerSelector_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Standard_Type_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Standard_Type_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_StdSelect_ViewerSelector3d_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_StdSelect_ViewerSelector3d_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_TColgp_Array1OfPnt2d_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TColgp_Array1OfPnt2d_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_TCollection_AsciiString_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TCollection_AsciiString_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_TCollection_BaseSequence_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TCollection_BaseSequence_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_TCollection_BasicMap_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TCollection_BasicMap_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_TCollection_ExtendedString_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TCollection_ExtendedString_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_TColStd_Array2OfReal_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TColStd_Array2OfReal_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_TColStd_ListOfInteger_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TColStd_ListOfInteger_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_TColStd_ListOfTransient_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TColStd_ListOfTransient_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_TColStd_MapOfTransient_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TColStd_MapOfTransient_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_TopLoc_Location_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TopLoc_Location_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_TopoDS_Shape_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TopoDS_Shape_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_TopoDS_TShape_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TopoDS_TShape_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_V2d_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_V2d_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_V2d_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_V2d_View_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_V3d_Light_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_V3d_Light_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_V3d_OrthographicView_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_V3d_OrthographicView_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_V3d_PerspectiveView_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_V3d_PerspectiveView_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_V3d_Plane_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_V3d_Plane_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_V3d_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_V3d_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_V3d_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_V3d_View_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Viewer_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Viewer_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Viewer_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Viewer_View_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Visual3d_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Visual3d_View_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/CASCADESamplesJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/CASCADESamplesJni/CASCADESamplesJni_Visual3d_ViewManager_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Visual3d_ViewManager_java.o diff --git a/samples/java/adm/SunOS/CASCADESamplesJni.lnk b/samples/java/adm/SunOS/CASCADESamplesJni.lnk deleted file mode 100755 index 5293f697b5..0000000000 --- a/samples/java/adm/SunOS/CASCADESamplesJni.lnk +++ /dev/null @@ -1,142 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -xchip=ultra -xarch=v8 -G -mt " - -if (!($?STLPortHome)) then - setenv STLPortLib "." -else - if (!($?STLPortLib_CC)) setenv STLPortLib_CC "stlport_gcc" - if (!($?STLPortLib)) setenv STLPortLib "$STLPortHome/lib" - setenv STLPortLib "$STLPortLib -l$STLPortLib_CC" -endif - -${CCHOME} ${CCFLAGS} -o ${SAMPLE_ROOT}/${STATION}/lib//libCASCADESamplesJni.so \ - -L${SAMPLE_ROOT}/${STATION}/lib \ - -L${CASROOT}/${STATION}/lib -L${STLPortLib} \ -\ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_AIS_Drawer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_AIS_InteractiveContext_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_AIS_InteractiveObject_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_AIS_ListOfInteractive_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_AIS_Shape_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_AspectMarker_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_Background_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_ColorMap_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_ColorScale_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_Driver_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_FontMap_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_GraphicDevice_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_Grid_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_MarkMap_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_PixMap_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_TypeMap_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_WidthMap_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_WindowDriver_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Aspect_Window_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Bnd_Box_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Geom_Transformation_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_gp_Ax3_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_gp_Pnt_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic2d_DisplayList_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic2d_GraphicObject_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic2d_View_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_AspectMarker3d_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_DataStructureManager_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_MaterialAspect_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Plotter_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Structure_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_StructureManager_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_TextureEnv_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_TextureRoot_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Vector_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Vertex_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_ISession2D_InteractiveContext_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_PlotMgt_PlotterDriver_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Prs3d_BasicAspect_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Prs3d_Drawer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Prs3d_LineAspect_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Prs3d_Presentation_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Prs3d_Projector_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentableObject_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_Presentation_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentationManager2d_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentationManager3d_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentationManager_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_Presentations_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Quantity_Color_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Select2D_Projector_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectBasics_EntityOwner_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_EntityOwner_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_Filter_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_ListOfFilter_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_SelectableObject_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_Selection_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_SelectionManager_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_SequenceOfOwner_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_ViewerSelector_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Standard_Type_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_StdSelect_ViewerSelector3d_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TColgp_Array1OfPnt2d_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TCollection_AsciiString_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TCollection_BaseSequence_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TCollection_BasicMap_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TCollection_ExtendedString_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TColStd_Array2OfReal_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TColStd_ListOfInteger_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TColStd_ListOfTransient_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TColStd_MapOfTransient_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TopLoc_Location_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TopoDS_Shape_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_TopoDS_TShape_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_V2d_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_V2d_View_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_V3d_Light_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_V3d_OrthographicView_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_V3d_PerspectiveView_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_V3d_Plane_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_V3d_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_V3d_View_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Viewer_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Viewer_View_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Visual3d_View_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/CASCADESamplesJni/CASCADESamplesJni_Visual3d_ViewManager_java.o \ -\ - -lTKjcas \ - -lTKPrim \ - -lTKFillet \ - -lPTKernel \ - -lTKPShape \ - -lTKOffset \ - -lTKShHealing \ - -lTKXSBase \ - -lTKIGES \ - -lTKShapeSchema \ - -lTKSTEP \ - -lTKFeat \ - -lTKSamples \ - -lTKV3d \ - -lTKernel \ - -lTKGeomAlgo \ - -lTKGeomBase \ - -lTKBool \ - -lTKTopAlgo \ - -lTKBRep \ - -lTKV2d \ - -lTKService \ - -lTKHLR \ - -lTKG2d \ - -lTKMath \ - -lTKG3d \ - -lsocket -lnsl -lsunmath -lm -ldl \ - \ - \ - \ - \ - -L/usr/openwin/lib -lX11 -lXext -lXmu \ - \ - -L/usr/openwin/lib -ldps \ - -lC -lc ; - set ld_status=$status - if ( $?LD_LIBRARY_PATH ) then - set ld_library_path=$LD_LIBRARY_PATH - endif - diff --git a/samples/java/adm/SunOS/ISession.comp b/samples/java/adm/SunOS/ISession.comp deleted file mode 100755 index 0bcf3213d0..0000000000 --- a/samples/java/adm/SunOS/ISession.comp +++ /dev/null @@ -1,20 +0,0 @@ -if (!($?CCHOME)) set CCHOME = "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) set CCFLAGS = " -PIC -xchip=ultra -xarch=v8 -Usun -DSOLARIS -DNO_CXX_EXCEPTION -vdelx -DCSFDB -O2 -DNo_Exception +w " - -if (!($?CCINC)) set CCINC = "/opt/DEV5_1/SUNWspro/SC4.2/include/CC" - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/ISession)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/ISession -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/ISession/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/ISession/ISession_Point.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/ISession//ISession_Point.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/ISession/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/ISession/ISession_Curve.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/ISession//ISession_Curve.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/ISession/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/ISession/ISession_Surface.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/ISession//ISession_Surface.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/ISession/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/ISession/ISession_Text.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/ISession//ISession_Text.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/ISession/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/ISession/ISession_Direction.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/ISession//ISession_Direction.o diff --git a/samples/java/adm/SunOS/ISession2D.comp b/samples/java/adm/SunOS/ISession2D.comp deleted file mode 100755 index 943bd7ab75..0000000000 --- a/samples/java/adm/SunOS/ISession2D.comp +++ /dev/null @@ -1,21 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -PIC -xchip=ultra -xarch=v8 -Usun -DSOLARIS -DNO_CXX_EXCEPTION -vdelx -DCSFDB -O2 -DNo_Exception +w " - -if (!($?CCINC)) setenv CCINC "/opt/DEV5_1/SUNWspro/SC4.2/include/CC" - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/ISession2D)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/ISession2D -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/ISession2D/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/ISession2D/ISession2D_InteractiveContext.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/ISession2D//ISession2D_InteractiveContext.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/ISession2D/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/ISession2D/ISession2D_SensitiveCurve.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/ISession2D//ISession2D_SensitiveCurve.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/ISession2D/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/ISession2D/ISession2D_Curve.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/ISession2D//ISession2D_Curve.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/ISession2D/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/ISession2D/ISession2D_ObjectOwner.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/ISession2D//ISession2D_ObjectOwner.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/ISession2D/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/ISession2D/ISession2D_Shape.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/ISession2D//ISession2D_Shape.o diff --git a/samples/java/adm/SunOS/SampleAISBasicJni.comp b/samples/java/adm/SunOS/SampleAISBasicJni.comp deleted file mode 100755 index 4f9cc10325..0000000000 --- a/samples/java/adm/SunOS/SampleAISBasicJni.comp +++ /dev/null @@ -1,24 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -PIC -xchip=ultra -xarch=v8 -Usun -DSOLARIS -DNO_CXX_EXCEPTION -vdelx -DCSFDB -O2 -DNo_Exception +w " - -if (!($?CCINC)) setenv CCINC "/opt/DEV5_1/SUNWspro/SC4.2/include/CC" - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISBasicJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISBasicJni/SampleAISBasicJni_AIS_InteractiveContext_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni/SampleAISBasicJni_AIS_InteractiveContext_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISBasicJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISBasicJni/SampleAISBasicJni_SampleAISBasicPackage_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni/SampleAISBasicJni_SampleAISBasicPackage_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISBasicJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISBasicJni/SampleAISBasicJni_TCollection_AsciiString_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni/SampleAISBasicJni_TCollection_AsciiString_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISBasicJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISBasicJni/SampleAISBasicJni_UnitsAPI_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni/SampleAISBasicJni_UnitsAPI_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISBasicJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISBasicJni/SampleAISBasicJni_V3d_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni/SampleAISBasicJni_V3d_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISBasicJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISBasicJni/SampleAISBasicJni_V3d_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni/SampleAISBasicJni_V3d_View_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISBasicJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISBasicJni/SampleAISBasicJni_Viewer_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni/SampleAISBasicJni_Viewer_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISBasicJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISBasicJni/SampleAISBasicJni_Viewer_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni/SampleAISBasicJni_Viewer_View_java.o diff --git a/samples/java/adm/SunOS/SampleAISBasicJni.lnk b/samples/java/adm/SunOS/SampleAISBasicJni.lnk deleted file mode 100755 index fb32b1dc39..0000000000 --- a/samples/java/adm/SunOS/SampleAISBasicJni.lnk +++ /dev/null @@ -1,66 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -xchip=ultra -xarch=v8 -G -mt " - -if (!($?STLPortHome)) then - setenv STLPortLib "." -else - if (!($?STLPortLib_CC)) setenv STLPortLib_CC "stlport_gcc" - if (!($?STLPortLib)) setenv STLPortLib "$STLPortHome/lib" - setenv STLPortLib "$STLPortLib -l$STLPortLib_CC" -endif - -${CCHOME} ${CCFLAGS} -o ${SAMPLE_ROOT}/${STATION}/lib//libSampleAISBasicJni.so \ - -L${SAMPLE_ROOT}/${STATION}/lib \ - -L${CASROOT}/${STATION}/lib -L${STLPortLib} \ -\ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni/SampleAISBasicJni_AIS_InteractiveContext_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni/SampleAISBasicJni_SampleAISBasicPackage_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni/SampleAISBasicJni_TCollection_AsciiString_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni/SampleAISBasicJni_UnitsAPI_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni/SampleAISBasicJni_V3d_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni/SampleAISBasicJni_V3d_View_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni/SampleAISBasicJni_Viewer_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicJni/SampleAISBasicJni_Viewer_View_java.o \ -\ - -lTKFillet \ - -lPTKernel \ - -lTKPShape \ - -lTKOffset \ - -lTKShHealing \ - -lTKXSBase \ - -lTKIGES \ - -lTKCDF \ - -lTKPCAF \ - -lTKShapeSchema \ - -lTKSTEP \ - -lTKFeat \ - -lTKSamples \ - -lTKPrim \ - -lTKjcas \ - -lTKV3d \ - -lTKernel \ - -lTKGeomAlgo \ - -lTKGeomBase \ - -lTKBool \ - -lTKTopAlgo \ - -lTKBRep \ - -lTKHLR \ - -lTKG2d \ - -lTKV2d \ - -lTKService \ - -lTKMath \ - -lTKG3d \ - -lsocket -lnsl -lsunmath -lm -ldl \ - \ - \ - \ - \ - -L/usr/openwin/lib -lX11 -lXext -lXmu \ - \ - -L/usr/openwin/lib -ldps \ - -lC -lc ; - set ld_status=$status - if ( $?LD_LIBRARY_PATH ) then - set ld_library_path=$LD_LIBRARY_PATH - endif - diff --git a/samples/java/adm/SunOS/SampleAISBasicPackage.comp b/samples/java/adm/SunOS/SampleAISBasicPackage.comp deleted file mode 100755 index 6b8933bd32..0000000000 --- a/samples/java/adm/SunOS/SampleAISBasicPackage.comp +++ /dev/null @@ -1,17 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -PIC -xchip=ultra -xarch=v8 -Usun -DSOLARIS -DNO_CXX_EXCEPTION -vdelx -DCSFDB -O2 -DNo_Exception +w " - -if (!($?CCINC)) setenv CCINC "/opt/DEV5_1/SUNWspro/SC4.2/include/CC" - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicPackage)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicPackage -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISBasicPackage/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/SampleAISBasicPackage/SampleAISBasicPackage.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicPackage//SampleAISBasicPackage.o diff --git a/samples/java/adm/SunOS/SampleAISDisplayModeJni.comp b/samples/java/adm/SunOS/SampleAISDisplayModeJni.comp deleted file mode 100755 index ef88309825..0000000000 --- a/samples/java/adm/SunOS/SampleAISDisplayModeJni.comp +++ /dev/null @@ -1,24 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -PIC -xchip=ultra -xarch=v8 -Usun -DSOLARIS -DNO_CXX_EXCEPTION -vdelx -DCSFDB -O2 -DNo_Exception +w " - -if (!($?CCINC)) setenv CCINC "/opt/DEV5_1/SUNWspro/SC4.2/include/CC" - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISDisplayModeJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_AIS_InteractiveContext_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni/SampleAISDisplayModeJni_AIS_InteractiveContext_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISDisplayModeJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_Quantity_Color_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni/SampleAISDisplayModeJni_Quantity_Color_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISDisplayModeJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_SampleAISDisplayModePackage_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni/SampleAISDisplayModeJni_SampleAISDisplayModePackage_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISDisplayModeJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_TCollection_AsciiString_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni/SampleAISDisplayModeJni_TCollection_AsciiString_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISDisplayModeJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_V3d_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni/SampleAISDisplayModeJni_V3d_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISDisplayModeJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_V3d_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni/SampleAISDisplayModeJni_V3d_View_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISDisplayModeJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_Viewer_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni/SampleAISDisplayModeJni_Viewer_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISDisplayModeJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_Viewer_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni/SampleAISDisplayModeJni_Viewer_View_java.o diff --git a/samples/java/adm/SunOS/SampleAISDisplayModeJni.lnk b/samples/java/adm/SunOS/SampleAISDisplayModeJni.lnk deleted file mode 100755 index 7528c2efc9..0000000000 --- a/samples/java/adm/SunOS/SampleAISDisplayModeJni.lnk +++ /dev/null @@ -1,64 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -xchip=ultra -xarch=v8 -G -mt " - -if (!($?STLPortHome)) then - setenv STLPortLib "." -else - if (!($?STLPortLib_CC)) setenv STLPortLib_CC "stlport_gcc" - if (!($?STLPortLib)) setenv STLPortLib "$STLPortHome/lib" - setenv STLPortLib "$STLPortLib -l$STLPortLib_CC" -endif - -${CCHOME} ${CCFLAGS} -o ${SAMPLE_ROOT}/${STATION}/lib//libSampleAISDisplayModeJni.so \ - -L${SAMPLE_ROOT}/${STATION}/lib \ - -L${CASROOT}/${STATION}/lib -L${STLPortLib} \ -\ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni/SampleAISDisplayModeJni_AIS_InteractiveContext_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni/SampleAISDisplayModeJni_Quantity_Color_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni/SampleAISDisplayModeJni_SampleAISDisplayModePackage_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni/SampleAISDisplayModeJni_TCollection_AsciiString_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni/SampleAISDisplayModeJni_V3d_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni/SampleAISDisplayModeJni_V3d_View_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni/SampleAISDisplayModeJni_Viewer_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModeJni/SampleAISDisplayModeJni_Viewer_View_java.o \ -\ - -lTKjcas \ - -lTKFillet \ - -lPTKernel \ - -lTKPShape \ - -lTKOffset \ - -lTKShHealing \ - -lTKXSBase \ - -lTKIGES \ - -lTKShapeSchema \ - -lTKSTEP \ - -lTKFeat \ - -lTKSamples \ - -lTKV3d \ - -lTKernel \ - -lTKGeomAlgo \ - -lTKGeomBase \ - -lTKPrim \ - -lTKBool \ - -lTKTopAlgo \ - -lTKBRep \ - -lTKHLR \ - -lTKG2d \ - -lTKV2d \ - -lTKService \ - -lTKMath \ - -lTKG3d \ - -lsocket -lnsl -lsunmath -lm -ldl \ - \ - \ - \ - \ - -L/usr/openwin/lib -lX11 -lXext -lXmu \ - \ - -L/usr/openwin/lib -ldps \ - -lC -lc ; - set ld_status=$status - if ( $?LD_LIBRARY_PATH ) then - set ld_library_path=$LD_LIBRARY_PATH - endif - diff --git a/samples/java/adm/SunOS/SampleAISDisplayModePackage.comp b/samples/java/adm/SunOS/SampleAISDisplayModePackage.comp deleted file mode 100755 index 37938dd570..0000000000 --- a/samples/java/adm/SunOS/SampleAISDisplayModePackage.comp +++ /dev/null @@ -1,17 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -PIC -xchip=ultra -xarch=v8 -Usun -DSOLARIS -DNO_CXX_EXCEPTION -vdelx -DCSFDB -O2 -DNo_Exception +w " - -if (!($?CCINC)) setenv CCINC "/opt/DEV5_1/SUNWspro/SC4.2/include/CC" - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModePackage)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModePackage -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISDisplayModePackage/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/SampleAISDisplayModePackage/SampleAISDisplayModePackage.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModePackage/SampleAISDisplayModePackage.o diff --git a/samples/java/adm/SunOS/SampleAISSelectJni.comp b/samples/java/adm/SunOS/SampleAISSelectJni.comp deleted file mode 100755 index 5ddba4e426..0000000000 --- a/samples/java/adm/SunOS/SampleAISSelectJni.comp +++ /dev/null @@ -1,24 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -PIC -xchip=ultra -xarch=v8 -Usun -DSOLARIS -DNO_CXX_EXCEPTION -vdelx -DCSFDB -O2 -DNo_Exception +w " - -if (!($?CCINC)) setenv CCINC "/opt/DEV5_1/SUNWspro/SC4.2/include/CC" - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISSelectJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISSelectJni/SampleAISSelectJni_AIS_InteractiveContext_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni/SampleAISSelectJni_AIS_InteractiveContext_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISSelectJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISSelectJni/SampleAISSelectJni_Quantity_Color_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni/SampleAISSelectJni_Quantity_Color_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISSelectJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISSelectJni/SampleAISSelectJni_SampleAISSelectPackage_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni/SampleAISSelectJni_SampleAISSelectPackage_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISSelectJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISSelectJni/SampleAISSelectJni_TCollection_AsciiString_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni/SampleAISSelectJni_TCollection_AsciiString_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISSelectJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISSelectJni/SampleAISSelectJni_V3d_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni/SampleAISSelectJni_V3d_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISSelectJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISSelectJni/SampleAISSelectJni_V3d_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni/SampleAISSelectJni_V3d_View_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISSelectJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISSelectJni/SampleAISSelectJni_Viewer_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni/SampleAISSelectJni_Viewer_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISSelectJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleAISSelectJni/SampleAISSelectJni_Viewer_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni/SampleAISSelectJni_Viewer_View_java.o diff --git a/samples/java/adm/SunOS/SampleAISSelectJni.lnk b/samples/java/adm/SunOS/SampleAISSelectJni.lnk deleted file mode 100755 index 989d86d390..0000000000 --- a/samples/java/adm/SunOS/SampleAISSelectJni.lnk +++ /dev/null @@ -1,66 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -xchip=ultra -xarch=v8 -G -mt " - -if (!($?STLPortHome)) then - setenv STLPortLib "." -else - if (!($?STLPortLib_CC)) setenv STLPortLib_CC "stlport_gcc" - if (!($?STLPortLib)) setenv STLPortLib "$STLPortHome/lib" - setenv STLPortLib "$STLPortLib -l$STLPortLib_CC" -endif - -${CCHOME} ${CCFLAGS} -o ${SAMPLE_ROOT}/${STATION}/lib//libSampleAISSelectJni.so \ - -L${SAMPLE_ROOT}/${STATION}/lib \ - -L${CASROOT}/${STATION}/lib -L${STLPortLib} \ -\ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni/SampleAISSelectJni_AIS_InteractiveContext_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni/SampleAISSelectJni_Quantity_Color_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni/SampleAISSelectJni_SampleAISSelectPackage_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni/SampleAISSelectJni_TCollection_AsciiString_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni/SampleAISSelectJni_V3d_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni/SampleAISSelectJni_V3d_View_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni/SampleAISSelectJni_Viewer_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectJni/SampleAISSelectJni_Viewer_View_java.o \ -\ - -lPTKernel \ - -lTKPShape \ - -lTKOffset \ - -lTKShHealing \ - -lTKXSBase \ - -lTKIGES \ - -lTKCDF \ - -lTKPCAF \ - -lTKShapeSchema \ - -lTKSTEP \ - -lTKFeat \ - -lTKSamples \ - -lTKFillet \ - -lTKGeomAlgo \ - -lTKPrim \ - -lTKBool \ - -lTKjcas \ - -lTKV3d \ - -lTKernel \ - -lTKGeomBase \ - -lTKTopAlgo \ - -lTKBRep \ - -lTKHLR \ - -lTKG2d \ - -lTKV2d \ - -lTKService \ - -lTKMath \ - -lTKG3d \ - -lsocket -lnsl -lsunmath -lm -ldl \ - \ - \ - \ - \ - -L/usr/openwin/lib -lX11 -lXext -lXmu \ - \ - -L/usr/openwin/lib -ldps \ - -lC -lc ; - set ld_status=$status - if ( $?LD_LIBRARY_PATH ) then - set ld_library_path=$LD_LIBRARY_PATH - endif - diff --git a/samples/java/adm/SunOS/SampleAISSelectPackage.comp b/samples/java/adm/SunOS/SampleAISSelectPackage.comp deleted file mode 100755 index ecca86fcb4..0000000000 --- a/samples/java/adm/SunOS/SampleAISSelectPackage.comp +++ /dev/null @@ -1,17 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -PIC -xchip=ultra -xarch=v8 -Usun -DSOLARIS -DNO_CXX_EXCEPTION -vdelx -DCSFDB -O2 -DNo_Exception +w " - -if (!($?CCINC)) setenv CCINC "/opt/DEV5_1/SUNWspro/SC4.2/include/CC" - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectPackage)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectPackage -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleAISSelectPackage/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/SampleAISSelectPackage/SampleAISSelectPackage.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectPackage/SampleAISSelectPackage.o diff --git a/samples/java/adm/SunOS/SampleDisplayAnimationJni.comp b/samples/java/adm/SunOS/SampleDisplayAnimationJni.comp deleted file mode 100755 index 0180f625cb..0000000000 --- a/samples/java/adm/SunOS/SampleDisplayAnimationJni.comp +++ /dev/null @@ -1,22 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -PIC -xchip=ultra -xarch=v8 -Usun -DSOLARIS -DNO_CXX_EXCEPTION -vdelx -DCSFDB -O2 -DNo_Exception +w " - -if (!($?CCINC)) setenv CCINC "/opt/DEV5_1/SUNWspro/SC4.2/include/CC" - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationJni)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationJni -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleDisplayAnimationJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleDisplayAnimationJni/SampleDisplayAnimationJni_AIS_InteractiveContext_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationJni/SampleDisplayAnimationJni_AIS_InteractiveContext_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleDisplayAnimationJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleDisplayAnimationJni/SampleDisplayAnimationJni_SampleDisplayAnimationPackage_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationJni/SampleDisplayAnimationJni_SampleDisplayAnimationPackage_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleDisplayAnimationJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleDisplayAnimationJni/SampleDisplayAnimationJni_V3d_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationJni/SampleDisplayAnimationJni_V3d_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleDisplayAnimationJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleDisplayAnimationJni/SampleDisplayAnimationJni_V3d_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationJni/SampleDisplayAnimationJni_V3d_View_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleDisplayAnimationJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleDisplayAnimationJni/SampleDisplayAnimationJni_Viewer_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationJni/SampleDisplayAnimationJni_Viewer_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleDisplayAnimationJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleDisplayAnimationJni/SampleDisplayAnimationJni_Viewer_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationJni/SampleDisplayAnimationJni_Viewer_View_java.o diff --git a/samples/java/adm/SunOS/SampleDisplayAnimationJni.lnk b/samples/java/adm/SunOS/SampleDisplayAnimationJni.lnk deleted file mode 100755 index d96c637b58..0000000000 --- a/samples/java/adm/SunOS/SampleDisplayAnimationJni.lnk +++ /dev/null @@ -1,64 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -xchip=ultra -xarch=v8 -G -mt " - -if (!($?STLPortHome)) then - setenv STLPortLib "." -else - if (!($?STLPortLib_CC)) setenv STLPortLib_CC "stlport_gcc" - if (!($?STLPortLib)) setenv STLPortLib "$STLPortHome/lib" - setenv STLPortLib "$STLPortLib -l$STLPortLib_CC" -endif - -${CCHOME} ${CCFLAGS} -o ${SAMPLE_ROOT}/${STATION}/lib//libSampleDisplayAnimationJni.so \ - -L${SAMPLE_ROOT}/${STATION}/lib \ - -L${CASROOT}/${STATION}/lib -L${STLPortLib} \ -\ -${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationJni/SampleDisplayAnimationJni_AIS_InteractiveContext_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationJni/SampleDisplayAnimationJni_SampleDisplayAnimationPackage_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationJni/SampleDisplayAnimationJni_V3d_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationJni/SampleDisplayAnimationJni_V3d_View_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationJni/SampleDisplayAnimationJni_Viewer_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationJni/SampleDisplayAnimationJni_Viewer_View_java.o \ -\ - -lTKjcas \ - -lTKPrim \ - -lTKFillet \ - -lPTKernel \ - -lTKPShape \ - -lTKOffset \ - -lTKShHealing \ - -lTKXSBase \ - -lTKIGES \ - -lTKCDF \ - -lTKPCAF \ - -lTKShapeSchema \ - -lTKSTEP \ - -lTKFeat \ - -lTKSamples \ - -lTKV3d \ - -lTKernel \ - -lTKGeomAlgo \ - -lTKGeomBase \ - -lTKBool \ - -lTKTopAlgo \ - -lTKBRep \ - -lTKHLR \ - -lTKG2d \ - -lTKV2d \ - -lTKService \ - -lTKMath \ - -lTKG3d \ - -lsocket -lnsl -lsunmath -lm -ldl \ - \ - \ - \ - \ - -L/usr/openwin/lib -lX11 -lXext -lXmu \ - \ - -L/usr/openwin/lib -ldps \ - -lC -lc ; - set ld_status=$status - if ( $?LD_LIBRARY_PATH ) then - set ld_library_path=$LD_LIBRARY_PATH - endif - diff --git a/samples/java/adm/SunOS/SampleDisplayAnimationPackage.comp b/samples/java/adm/SunOS/SampleDisplayAnimationPackage.comp deleted file mode 100755 index a79d907c8f..0000000000 --- a/samples/java/adm/SunOS/SampleDisplayAnimationPackage.comp +++ /dev/null @@ -1,17 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -PIC -xchip=ultra -xarch=v8 -Usun -DSOLARIS -DNO_CXX_EXCEPTION -vdelx -DCSFDB -O2 -DNo_Exception +w " - -if (!($?CCINC)) setenv CCINC "/opt/DEV5_1/SUNWspro/SC4.2/include/CC" - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationPackage)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationPackage -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleDisplayAnimationPackage/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/SampleDisplayAnimationPackage/SampleDisplayAnimationPackage.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationPackage/SampleDisplayAnimationPackage.o diff --git a/samples/java/adm/SunOS/SampleGeometryJni.comp b/samples/java/adm/SunOS/SampleGeometryJni.comp deleted file mode 100755 index 394b4eb746..0000000000 --- a/samples/java/adm/SunOS/SampleGeometryJni.comp +++ /dev/null @@ -1,26 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -PIC -xchip=ultra -xarch=v8 -Usun -DSOLARIS -DNO_CXX_EXCEPTION -vdelx -DCSFDB -O2 -DNo_Exception +w " - -if (!($?CCINC)) setenv CCINC "/opt/DEV5_1/SUNWspro/SC4.2/include/CC" - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleGeometryJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleGeometryJni/SampleGeometryJni_AIS_InteractiveContext_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_AIS_InteractiveContext_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleGeometryJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleGeometryJni/SampleGeometryJni_ISession2D_InteractiveContext_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_ISession2D_InteractiveContext_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleGeometryJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleGeometryJni/SampleGeometryJni_SampleGeometryPackage_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_SampleGeometryPackage_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleGeometryJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleGeometryJni/SampleGeometryJni_TCollection_AsciiString_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_TCollection_AsciiString_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleGeometryJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleGeometryJni/SampleGeometryJni_V2d_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_V2d_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleGeometryJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleGeometryJni/SampleGeometryJni_V2d_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_V2d_View_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleGeometryJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleGeometryJni/SampleGeometryJni_V3d_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_V3d_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleGeometryJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleGeometryJni/SampleGeometryJni_V3d_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_V3d_View_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleGeometryJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleGeometryJni/SampleGeometryJni_Viewer_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_Viewer_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleGeometryJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleGeometryJni/SampleGeometryJni_Viewer_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_Viewer_View_java.o diff --git a/samples/java/adm/SunOS/SampleGeometryJni.lnk b/samples/java/adm/SunOS/SampleGeometryJni.lnk deleted file mode 100755 index fd57083ab9..0000000000 --- a/samples/java/adm/SunOS/SampleGeometryJni.lnk +++ /dev/null @@ -1,66 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -xchip=ultra -xarch=v8 -G -mt " - -if (!($?STLPortHome)) then - setenv STLPortLib "." -else - if (!($?STLPortLib_CC)) setenv STLPortLib_CC "stlport_gcc" - if (!($?STLPortLib)) setenv STLPortLib "$STLPortHome/lib" - setenv STLPortLib "$STLPortLib -l$STLPortLib_CC" -endif - -${CCHOME} ${CCFLAGS} -o ${SAMPLE_ROOT}/${STATION}/lib//libSampleGeometryJni.so \ - -L${SAMPLE_ROOT}/${STATION}/lib \ - -L${CASROOT}/${STATION}/lib -L${STLPortLib} \ -\ -${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_AIS_InteractiveContext_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_ISession2D_InteractiveContext_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_SampleGeometryPackage_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_TCollection_AsciiString_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_V2d_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_V2d_View_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_V3d_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_V3d_View_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_Viewer_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryJni/SampleGeometryJni_Viewer_View_java.o \ -\ - -lTKjcas \ - -lTKPrim \ - -lTKFillet \ - -lPTKernel \ - -lTKPShape \ - -lTKOffset \ - -lTKShHealing \ - -lTKXSBase \ - -lTKIGES \ - -lTKShapeSchema \ - -lTKSTEP \ - -lTKFeat \ - -lTKSamples \ - -lTKGeomAlgo \ - -lTKGeomBase \ - -lTKV3d \ - -lTKernel \ - -lTKBool \ - -lTKTopAlgo \ - -lTKBRep \ - -lTKV2d \ - -lTKService \ - -lTKHLR \ - -lTKG2d \ - -lTKMath \ - -lTKG3d \ - -lsocket -lnsl -lsunmath -lm -ldl \ - \ - \ - \ - \ - -L/usr/openwin/lib -lX11 -lXext -lXmu \ - \ - -L/usr/openwin/lib -ldps \ - -lC -lc ; - set ld_status=$status - if ( $?LD_LIBRARY_PATH ) then - set ld_library_path=$LD_LIBRARY_PATH - endif - diff --git a/samples/java/adm/SunOS/SampleGeometryPackage.comp b/samples/java/adm/SunOS/SampleGeometryPackage.comp deleted file mode 100755 index 3b36ca9900..0000000000 --- a/samples/java/adm/SunOS/SampleGeometryPackage.comp +++ /dev/null @@ -1,17 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -PIC -xchip=ultra -xarch=v8 -Usun -DSOLARIS -DNO_CXX_EXCEPTION -vdelx -DCSFDB -O2 -DNo_Exception +w " - -if (!($?CCINC)) setenv CCINC "/opt/DEV5_1/SUNWspro/SC4.2/include/CC" - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryPackage)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryPackage -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleGeometryPackage/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/SampleGeometryPackage/SampleGeometryPackage.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryPackage/SampleGeometryPackage.o diff --git a/samples/java/adm/SunOS/SampleHLRJni.comp b/samples/java/adm/SunOS/SampleHLRJni.comp deleted file mode 100755 index 7b10ae4992..0000000000 --- a/samples/java/adm/SunOS/SampleHLRJni.comp +++ /dev/null @@ -1,56 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -PIC -xchip=ultra -xarch=v8 -Usun -DSOLARIS -DNO_CXX_EXCEPTION -vdelx -DCSFDB -O2 -DNo_Exception +w " - -if (!($?CCINC)) setenv CCINC "/opt/DEV5_1/SUNWspro/SC4.2/include/CC" - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_AIS_InteractiveContext_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_AIS_InteractiveContext_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_Background_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_Background_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_ColorCubeColorMap_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_ColorCubeColorMap_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_ColorMapEntry_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_ColorMapEntry_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_ColorMap_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_ColorMap_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_ColorRampColorMap_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_ColorRampColorMap_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_Driver_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_Driver_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_FontMapEntry_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_FontMapEntry_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_FontMap_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_FontMap_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_FontStyle_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_FontStyle_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_GenericColorMap_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_GenericColorMap_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_GraphicDevice_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_GraphicDevice_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_LineStyle_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_LineStyle_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_MarkerStyle_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_MarkerStyle_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_MarkMapEntry_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_MarkMapEntry_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_MarkMap_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_MarkMap_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_TypeMapEntry_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_TypeMapEntry_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_TypeMap_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_TypeMap_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_WidthMapEntry_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_WidthMapEntry_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_WidthMap_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_WidthMap_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_WindowDriver_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_WindowDriver_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Aspect_Window_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_Window_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_ISession2D_InteractiveContext_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_ISession2D_InteractiveContext_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Quantity_Color_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Quantity_Color_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_SampleHLRPackage_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_SampleHLRPackage_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Standard_Type_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Standard_Type_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_TCollection_AsciiString_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_TCollection_AsciiString_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_TCollection_ExtendedString_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_TCollection_ExtendedString_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_TColQuantity_Array1OfLength_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_TColQuantity_Array1OfLength_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_TColQuantity_HArray1OfLength_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_TColQuantity_HArray1OfLength_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_TColStd_Array1OfBoolean_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_TColStd_Array1OfBoolean_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_TColStd_Array1OfReal_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_TColStd_Array1OfReal_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_TShort_Array1OfShortReal_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_TShort_Array1OfShortReal_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_V2d_DefaultMap_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_V2d_DefaultMap_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_V2d_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_V2d_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_V2d_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_V2d_View_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_V3d_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_V3d_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_V3d_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_V3d_View_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Viewer_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Viewer_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleHLRJni/SampleHLRJni_Viewer_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Viewer_View_java.o diff --git a/samples/java/adm/SunOS/SampleHLRJni.lnk b/samples/java/adm/SunOS/SampleHLRJni.lnk deleted file mode 100755 index 647bae0a97..0000000000 --- a/samples/java/adm/SunOS/SampleHLRJni.lnk +++ /dev/null @@ -1,98 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -xchip=ultra -xarch=v8 -G -mt " - -if (!($?STLPortHome)) then - setenv STLPortLib "." -else - if (!($?STLPortLib_CC)) setenv STLPortLib_CC "stlport_gcc" - if (!($?STLPortLib)) setenv STLPortLib "$STLPortHome/lib" - setenv STLPortLib "$STLPortLib -l$STLPortLib_CC" -endif - -${CCHOME} ${CCFLAGS} -o ${SAMPLE_ROOT}/${STATION}/lib//libSampleHLRJni.so \ - -L${SAMPLE_ROOT}/${STATION}/lib \ - -L${CASROOT}/${STATION}/lib -L${STLPortLib} \ -\ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_AIS_InteractiveContext_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_Background_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_ColorCubeColorMap_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_ColorMapEntry_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_ColorMap_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_ColorRampColorMap_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_Driver_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_FontMapEntry_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_FontMap_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_FontStyle_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_GenericColorMap_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_GraphicDevice_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_LineStyle_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_MarkerStyle_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_MarkMapEntry_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_MarkMap_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_TypeMapEntry_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_TypeMap_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_WidthMapEntry_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_WidthMap_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_WindowDriver_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Aspect_Window_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_ISession2D_InteractiveContext_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Quantity_Color_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_SampleHLRPackage_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Standard_Type_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_TCollection_AsciiString_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_TCollection_ExtendedString_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_TColQuantity_Array1OfLength_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_TColQuantity_HArray1OfLength_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_TColStd_Array1OfBoolean_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_TColStd_Array1OfReal_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_TShort_Array1OfShortReal_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_V2d_DefaultMap_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_V2d_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_V2d_View_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_V3d_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_V3d_View_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Viewer_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleHLRJni/SampleHLRJni_Viewer_View_java.o \ -\ - -lTKjcas \ - -lTKPrim \ - -lTKFillet \ - -lPTKernel \ - -lTKPShape \ - -lTKOffset \ - -lTKShHealing \ - -lTKXSBase \ - -lTKIGES \ - -lTKCDF \ - -lTKPCAF \ - -lTKShapeSchema \ - -lTKSTEP \ - -lTKFeat \ - -lTKSamples \ - -lTKV3d \ - -lTKernel \ - -lTKGeomAlgo \ - -lTKGeomBase \ - -lTKBool \ - -lTKTopAlgo \ - -lTKBRep \ - -lTKV2d \ - -lTKService \ - -lTKHLR \ - -lTKG2d \ - -lTKMath \ - -lTKG3d \ - -lsocket -lnsl -lsunmath -lm -ldl \ - \ - \ - \ - \ - -L/usr/openwin/lib -lX11 -lXext -lXmu \ - \ - -L/usr/openwin/lib -ldps \ - -lC -lc ; - set ld_status=$status - if ( $?LD_LIBRARY_PATH ) then - set ld_library_path=$LD_LIBRARY_PATH - endif - diff --git a/samples/java/adm/SunOS/SampleHLRPackage.comp b/samples/java/adm/SunOS/SampleHLRPackage.comp deleted file mode 100755 index 2db962405a..0000000000 --- a/samples/java/adm/SunOS/SampleHLRPackage.comp +++ /dev/null @@ -1,17 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -PIC -xchip=ultra -xarch=v8 -Usun -DSOLARIS -DNO_CXX_EXCEPTION -vdelx -DCSFDB -O2 -DNo_Exception +w " - -if (!($?CCINC)) setenv CCINC "/opt/DEV5_1/SUNWspro/SC4.2/include/CC" - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRPackage)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRPackage -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleHLRPackage/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/SampleHLRPackage/SampleHLRPackage.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRPackage/SampleHLRPackage.o diff --git a/samples/java/adm/SunOS/SampleImportExportJni.comp b/samples/java/adm/SunOS/SampleImportExportJni.comp deleted file mode 100755 index 1c0f3c2cc4..0000000000 --- a/samples/java/adm/SunOS/SampleImportExportJni.comp +++ /dev/null @@ -1,23 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -PIC -xchip=ultra -xarch=v8 -Usun -DSOLARIS -DNO_CXX_EXCEPTION -vdelx -DCSFDB -O2 -DNo_Exception +w " - -if (!($?CCINC)) setenv CCINC "/opt/DEV5_1/SUNWspro/SC4.2/include/CC" - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportJni)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportJni -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleImportExportJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleImportExportJni/SampleImportExportJni_AIS_InteractiveContext_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportJni/SampleImportExportJni_AIS_InteractiveContext_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleImportExportJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleImportExportJni/SampleImportExportJni_SampleImportExportPackage_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportJni/SampleImportExportJni_SampleImportExportPackage_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleImportExportJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleImportExportJni/SampleImportExportJni_TCollection_AsciiString_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportJni/SampleImportExportJni_TCollection_AsciiString_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleImportExportJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleImportExportJni/SampleImportExportJni_V3d_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportJni/SampleImportExportJni_V3d_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleImportExportJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleImportExportJni/SampleImportExportJni_V3d_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportJni/SampleImportExportJni_V3d_View_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleImportExportJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleImportExportJni/SampleImportExportJni_Viewer_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportJni/SampleImportExportJni_Viewer_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleImportExportJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleImportExportJni/SampleImportExportJni_Viewer_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportJni/SampleImportExportJni_Viewer_View_java.o diff --git a/samples/java/adm/SunOS/SampleImportExportJni.lnk b/samples/java/adm/SunOS/SampleImportExportJni.lnk deleted file mode 100755 index 8edbde77b3..0000000000 --- a/samples/java/adm/SunOS/SampleImportExportJni.lnk +++ /dev/null @@ -1,64 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -xchip=ultra -xarch=v8 -G -mt " - -if (!($?STLPortHome)) then - setenv STLPortLib "." -else - if (!($?STLPortLib_CC)) setenv STLPortLib_CC "stlport_gcc" - if (!($?STLPortLib)) setenv STLPortLib "$STLPortHome/lib" - setenv STLPortLib "$STLPortLib -l$STLPortLib_CC" -endif - -${CCHOME} ${CCFLAGS} -o ${SAMPLE_ROOT}/${STATION}/lib//libSampleImportExportJni.so \ - -L${SAMPLE_ROOT}/${STATION}/lib \ - -L${CASROOT}/${STATION}/lib -L${STLPortLib} \ -\ -${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportJni/SampleImportExportJni_AIS_InteractiveContext_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportJni/SampleImportExportJni_SampleImportExportPackage_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportJni/SampleImportExportJni_TCollection_AsciiString_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportJni/SampleImportExportJni_V3d_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportJni/SampleImportExportJni_V3d_View_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportJni/SampleImportExportJni_Viewer_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportJni/SampleImportExportJni_Viewer_View_java.o \ -\ - -lTKFillet \ - -lTKFeat \ - -lTKSamples \ - -lTKPShape \ - -lTKPCAF \ - -lTKCDF \ - -lTKernel \ - -lTKIGES \ - -lPTKernel \ - -lTKjcas \ - -lTKSTEP \ - -lTKXSBase \ - -lTKShHealing \ - -lTKOffset \ - -lTKBool \ - -lTKGeomBase \ - -lTKTopAlgo \ - -lTKPrim \ - -lTKGeomAlgo \ - -lTKV3d \ - -lTKBRep \ - -lTKHLR \ - -lTKG2d \ - -lTKV2d \ - -lTKService \ - -lTKMath \ - -lTKG3d \ - -lsocket -lnsl -lsunmath -lm -ldl \ - \ - \ - \ - \ - -L/usr/openwin/lib -lX11 -lXext -lXmu \ - \ - -L/usr/openwin/lib -ldps \ - -lC -lc ; - set ld_status=$status - if ( $?LD_LIBRARY_PATH ) then - set ld_library_path=$LD_LIBRARY_PATH - endif - diff --git a/samples/java/adm/SunOS/SampleImportExportPackage.comp b/samples/java/adm/SunOS/SampleImportExportPackage.comp deleted file mode 100755 index 0b10651248..0000000000 --- a/samples/java/adm/SunOS/SampleImportExportPackage.comp +++ /dev/null @@ -1,17 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -PIC -xchip=ultra -xarch=v8 -Usun -DSOLARIS -DNO_CXX_EXCEPTION -vdelx -DCSFDB -O2 -DNo_Exception +w " - -if (!($?CCINC)) setenv CCINC "/opt/DEV5_1/SUNWspro/SC4.2/include/CC" - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportPackage)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportPackage -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleImportExportPackage/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/SampleImportExportPackage/SampleImportExportPackage.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportPackage/SampleImportExportPackage.o diff --git a/samples/java/adm/SunOS/SampleNativePaint.comp b/samples/java/adm/SunOS/SampleNativePaint.comp deleted file mode 100755 index f0a19f8ade..0000000000 --- a/samples/java/adm/SunOS/SampleNativePaint.comp +++ /dev/null @@ -1,18 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -PIC -xchip=ultra -xarch=v8 -Usun -DSOLARIS -DNO_CXX_EXCEPTION -vdelx -DCSFDB -O2 -DNo_Exception +w " - -if (!($?CCINC)) setenv CCINC "/opt/DEV5_1/SUNWspro/SC4.2/include/CC" - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleNativePaint)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleNativePaint -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleNativePaint/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/SampleNativePaint/CASCADEView2d.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleNativePaint/CASCADEView2d.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleNativePaint/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/SampleNativePaint/CASCADEView3d.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleNativePaint/CASCADEView3d.o diff --git a/samples/java/adm/SunOS/SampleViewer3DJni.comp b/samples/java/adm/SunOS/SampleViewer3DJni.comp deleted file mode 100755 index 04eb01f146..0000000000 --- a/samples/java/adm/SunOS/SampleViewer3DJni.comp +++ /dev/null @@ -1,46 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -PIC -xchip=ultra -xarch=v8 -Usun -DSOLARIS -DNO_CXX_EXCEPTION -vdelx -DCSFDB -O2 -DNo_Exception +w " - -if (!($?CCINC)) setenv CCINC "/opt/DEV5_1/SUNWspro/SC4.2/include/CC" - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_AIS_InteractiveContext_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_AIS_InteractiveContext_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_AlienImage_AlienImage_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_AlienImage_AlienImage_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Aspect_Array1OfEdge_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Aspect_Array1OfEdge_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Aspect_GraphicDriver_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Aspect_GraphicDriver_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexC_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexC_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertex_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertex_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexNC_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexNC_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexN_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexN_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexNT_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexNT_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array2OfVertex_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array2OfVertex_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array2OfVertexN_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array2OfVertexN_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array2OfVertexNT_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array2OfVertexNT_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_GraphicDriver_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_GraphicDriver_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_HArray1OfBytes_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_HArray1OfBytes_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Vector_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Vector_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Vertex_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Vertex_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_VertexNC_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_VertexNC_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_VertexN_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_VertexN_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_SampleViewer3DPackage_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_SampleViewer3DPackage_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Standard_Type_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Standard_Type_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_TCollection_AsciiString_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_TCollection_AsciiString_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_TCollection_ExtendedString_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_TCollection_ExtendedString_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_TColStd_Array1OfInteger_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_TColStd_Array1OfInteger_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_TColStd_Array1OfReal_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_TColStd_Array1OfReal_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_TColStd_Array2OfReal_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_TColStd_Array2OfReal_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_TColStd_HArray1OfReal_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_TColStd_HArray1OfReal_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_V3d_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_V3d_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_V3d_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_V3d_View_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Viewer_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Viewer_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SampleViewer3DJni/SampleViewer3DJni_Viewer_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Viewer_View_java.o diff --git a/samples/java/adm/SunOS/SampleViewer3DJni.lnk b/samples/java/adm/SunOS/SampleViewer3DJni.lnk deleted file mode 100755 index c4a54f24fb..0000000000 --- a/samples/java/adm/SunOS/SampleViewer3DJni.lnk +++ /dev/null @@ -1,75 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -xchip=ultra -xarch=v8 -G -mt " - -if (!($?STLPortHome)) then - setenv STLPortLib "." -else - if (!($?STLPortLib_CC)) setenv STLPortLib_CC "stlport_gcc" - if (!($?STLPortLib)) setenv STLPortLib "$STLPortHome/lib" - setenv STLPortLib "$STLPortLib -l$STLPortLib_CC" -endif - -${CCHOME} ${CCFLAGS} -o ${SAMPLE_ROOT}/${STATION}/lib//libSampleViewer3DJni.so \ - -L${SAMPLE_ROOT}/${STATION}/lib \ - -L${CASROOT}/${STATION}/lib -L${STLPortLib} \ -\ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_AIS_InteractiveContext_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_AlienImage_AlienImage_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Aspect_Array1OfEdge_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Aspect_GraphicDriver_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexC_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertex_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexNC_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexN_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexNT_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array2OfVertex_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array2OfVertexN_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array2OfVertexNT_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_GraphicDriver_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_HArray1OfBytes_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Vector_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Vertex_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_VertexNC_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_VertexN_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_SampleViewer3DPackage_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Standard_Type_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_TCollection_AsciiString_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_TCollection_ExtendedString_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_TColStd_Array1OfInteger_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_TColStd_Array1OfReal_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_TColStd_Array2OfReal_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_TColStd_HArray1OfReal_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_V3d_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_V3d_View_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Viewer_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DJni/SampleViewer3DJni_Viewer_View_java.o \ -\ - -lTKjcas \ - -lTKSamples2 \ - -lTKPrim \ - -lTKV3d \ - -lTKernel \ - -lTKGeomAlgo \ - -lTKGeomBase \ - -lTKBool \ - -lTKTopAlgo \ - -lTKBRep \ - -lTKHLR \ - -lTKG2d \ - -lTKV2d \ - -lTKService \ - -lTKMath \ - -lTKG3d \ - -lsocket -lnsl -lsunmath -lm -ldl \ - \ - \ - \ - \ - -L/usr/openwin/lib -lX11 -lXext -lXmu \ - -L/usr/openwin/lib -ldps \ - -lC -lc ; - set ld_status=$status - if ( $?LD_LIBRARY_PATH ) then - set ld_library_path=$LD_LIBRARY_PATH - endif - diff --git a/samples/java/adm/SunOS/SampleViewer3DPackage.comp b/samples/java/adm/SunOS/SampleViewer3DPackage.comp deleted file mode 100755 index 762b2b9390..0000000000 --- a/samples/java/adm/SunOS/SampleViewer3DPackage.comp +++ /dev/null @@ -1,17 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -PIC -xchip=ultra -xarch=v8 -Usun -DSOLARIS -DNO_CXX_EXCEPTION -vdelx -DCSFDB -O2 -DNo_Exception +w " - -if (!($?CCINC)) setenv CCINC "/opt/DEV5_1/SUNWspro/SC4.2/include/CC" - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DPackage)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DPackage -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SampleViewer3DPackage/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/SampleViewer3DPackage/SampleViewer3DPackage.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DPackage/SampleViewer3DPackage.o diff --git a/samples/java/adm/SunOS/SamplesTopologyJni.comp b/samples/java/adm/SunOS/SamplesTopologyJni.comp deleted file mode 100755 index b4e9319603..0000000000 --- a/samples/java/adm/SunOS/SamplesTopologyJni.comp +++ /dev/null @@ -1,23 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -PIC -xchip=ultra -xarch=v8 -Usun -DSOLARIS -DNO_CXX_EXCEPTION -vdelx -DCSFDB -O2 -DNo_Exception +w " - -if (!($?CCINC)) setenv CCINC "/opt/DEV5_1/SUNWspro/SC4.2/include/CC" - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyJni)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyJni -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SamplesTopologyJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SamplesTopologyJni/SamplesTopologyJni_AIS_InteractiveContext_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyJni/SamplesTopologyJni_AIS_InteractiveContext_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SamplesTopologyJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SamplesTopologyJni/SamplesTopologyJni_SamplesTopologyPackage_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyJni/SamplesTopologyJni_SamplesTopologyPackage_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SamplesTopologyJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SamplesTopologyJni/SamplesTopologyJni_TCollection_AsciiString_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyJni/SamplesTopologyJni_TCollection_AsciiString_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SamplesTopologyJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SamplesTopologyJni/SamplesTopologyJni_V3d_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyJni/SamplesTopologyJni_V3d_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SamplesTopologyJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SamplesTopologyJni/SamplesTopologyJni_V3d_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyJni/SamplesTopologyJni_V3d_View_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SamplesTopologyJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SamplesTopologyJni/SamplesTopologyJni_Viewer_Viewer_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyJni/SamplesTopologyJni_Viewer_Viewer_java.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SamplesTopologyJni/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/drv/SamplesTopologyJni/SamplesTopologyJni_Viewer_View_java.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyJni/SamplesTopologyJni_Viewer_View_java.o diff --git a/samples/java/adm/SunOS/SamplesTopologyJni.lnk b/samples/java/adm/SunOS/SamplesTopologyJni.lnk deleted file mode 100755 index f9ecf2d3c5..0000000000 --- a/samples/java/adm/SunOS/SamplesTopologyJni.lnk +++ /dev/null @@ -1,65 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS "-xchip=ultra -xarch=v8 -G -mt " - -if (!($?STLPortHome)) then - setenv STLPortLib "." -else - if (!($?STLPortLib_CC)) setenv STLPortLib_CC "stlport_gcc" - if (!($?STLPortLib)) setenv STLPortLib "$STLPortHome/lib" - setenv STLPortLib "$STLPortLib -l$STLPortLib_CC" -endif - -${CCHOME} ${CCFLAGS} -o ${SAMPLE_ROOT}/${STATION}/lib//libSamplesTopologyJni.so \ - -L${SAMPLE_ROOT}/${STATION}/lib \ - -L${CASROOT}/${STATION}/lib -L${STLPortLib} \ -\ -${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyJni/SamplesTopologyJni_AIS_InteractiveContext_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyJni/SamplesTopologyJni_SamplesTopologyPackage_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyJni/SamplesTopologyJni_TCollection_AsciiString_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyJni/SamplesTopologyJni_V3d_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyJni/SamplesTopologyJni_V3d_View_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyJni/SamplesTopologyJni_Viewer_Viewer_java.o \ -${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyJni/SamplesTopologyJni_Viewer_View_java.o \ -\ - -lTKjcas \ - -lPTKernel \ - -lTKPShape \ - -lTKShHealing \ - -lTKXSBase \ - -lTKIGES \ - -lTKCDF \ - -lTKPCAF \ - -lTKShapeSchema \ - -lTKSTEP \ - -lTKSamples \ - -lTKFeat \ - -lTKOffset \ - -lTKBool \ - -lTKTopAlgo \ - -lTKGeomBase \ - -lTKFillet \ - -lTKGeomAlgo \ - -lTKPrim \ - -lTKV3d \ - -lTKernel \ - -lTKBRep \ - -lTKHLR \ - -lTKV2d \ - -lTKService \ - -lTKG2d \ - -lTKMath \ - -lTKG3d \ - -lsocket -lnsl -lsunmath -lm -ldl \ - \ - \ - \ - \ - -L/usr/openwin/lib -lX11 -lXext -lXmu \ - \ - -L/usr/openwin/lib -ldps \ - -lC -lc ; - set ld_status=$status - if ( $?LD_LIBRARY_PATH ) then - set ld_library_path=$LD_LIBRARY_PATH - endif - diff --git a/samples/java/adm/SunOS/SamplesTopologyPackage.comp b/samples/java/adm/SunOS/SamplesTopologyPackage.comp deleted file mode 100755 index 9d41e716ae..0000000000 --- a/samples/java/adm/SunOS/SamplesTopologyPackage.comp +++ /dev/null @@ -1,17 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -PIC -xchip=ultra -xarch=v8 -Usun -DSOLARIS -DNO_CXX_EXCEPTION -vdelx -DCSFDB -O2 -DNo_Exception +w " - -if (!($?CCINC)) setenv CCINC "/opt/DEV5_1/SUNWspro/SC4.2/include/CC" - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyPackage)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyPackage -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/SamplesTopologyPackage/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/SamplesTopologyPackage/SamplesTopologyPackage.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyPackage/SamplesTopologyPackage.o diff --git a/samples/java/adm/SunOS/TKNativePaint.lnk b/samples/java/adm/SunOS/TKNativePaint.lnk deleted file mode 100755 index 3c7bc36b5a..0000000000 --- a/samples/java/adm/SunOS/TKNativePaint.lnk +++ /dev/null @@ -1,78 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -xchip=ultra -xarch=v8 -G -mt " - -if (!($?STLPortHome)) then - setenv STLPortLib "." -else - if (!($?STLPortLib_CC)) setenv STLPortLib_CC "stlport_gcc" - if (!($?STLPortLib)) setenv STLPortLib "$STLPortHome/lib" - setenv STLPortLib "$STLPortLib -l$STLPortLib_CC" -endif - -${CCHOME} ${CCFLAGS} -o ${SAMPLE_ROOT}/${STATION}/lib//libTKNativePaint.so \ - -L${SAMPLE_ROOT}/${STATION}/lib \ - -L${CASROOT}/${STATION}/lib -L${STLPortLib} \ -${SAMPLE_ROOT}/${STATION}/obj/SampleNativePaint/CASCADEView3d.o \ -${SAMPLE_ROOT}/${STATION}/obj/SampleNativePaint/CASCADEView2d.o \ -\ --lTKernel \ --lTKMath \ --lTKGeomBase \ --lTKG2d \ --lTKG3d \ --lTKBRep \ --lTKGeomAlgo \ --lTKTopAlgo \ --lTKPrim \ --lTKHLR \ --lTKService \ --lTKV2d \ --lTKV3d \ --lTKjcas \ - \ - -L${JAVAHOME}/jre/lib/sparc -ljawt \ - \ - -lC -lc ; - set ld_status=$status - if ( $?LD_LIBRARY_PATH ) then - set ld_library_path=$LD_LIBRARY_PATH - endif -if ( $?LD_LIBRARY_PATH ) then - setenv LD_LIBRARY_PATH ${SAMPLE_ROOT}/${STATION}/lib:${CASROOT}/${STATION}/lib::${LD_LIBRARY_PATH} -else - setenv LD_LIBRARY_PATH ${SAMPLE_ROOT}/${STATION}/lib:${CASROOT}/${STATION}/lib: -endif -echo "Check of undefined symbols with LD_LIBRARY_PATH : $LD_LIBRARY_PATH" -/usr/ccs/bin/ld -o /dev/null \ -\ -${SAMPLE_ROOT}/${STATION}/lib//libTKNativePaint.so\ --lTKernel \ --lTKMath \ --lTKGeomBase \ --lTKG2d \ --lTKG3d \ --lTKBRep \ --lTKGeomAlgo \ --lTKTopAlgo \ --lTKPrim \ --lTKHLR \ --lTKService \ --lTKV2d \ --lTKV3d \ --lTKjcas \ - \ - -L${JAVAHOME}/jre/lib/sparc -ljawt \ - \ -; - if ( $status ) then - echo "Check failed" - else - echo "Check successed" - endif - if ( $?ld_library_path ) then - setenv LD_LIBRARY_PATH $ld_library_path - else - unsetenv LD_LIBRARY_PATH - endif - set status=$ld_status - diff --git a/samples/java/adm/SunOS/TKSamples.lnk b/samples/java/adm/SunOS/TKSamples.lnk deleted file mode 100755 index fa70299f03..0000000000 --- a/samples/java/adm/SunOS/TKSamples.lnk +++ /dev/null @@ -1,66 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -xchip=ultra -xarch=v8 -G -mt " - -if (!($?STLPortHome)) then - setenv STLPortLib "." -else - if (!($?STLPortLib_CC)) setenv STLPortLib_CC "stlport_gcc" - if (!($?STLPortLib)) setenv STLPortLib "$STLPortHome/lib" - setenv STLPortLib "$STLPortLib -l$STLPortLib_CC" -endif - -${CCHOME} ${CCFLAGS} -o ${SAMPLE_ROOT}/${STATION}/lib//libTKSamples.so \ - -L${SAMPLE_ROOT}/${STATION}/lib \ - -L${CASROOT}/${STATION}/lib -L${STLPortLib} \ -\ - ${SAMPLE_ROOT}/${STATION}/obj/SampleAISBasicPackage/SampleAISBasicPackage.o \ - ${SAMPLE_ROOT}/${STATION}/obj/SampleAISDisplayModePackage/SampleAISDisplayModePackage.o \ - ${SAMPLE_ROOT}/${STATION}/obj/SampleAISSelectPackage/SampleAISSelectPackage.o \ - ${SAMPLE_ROOT}/${STATION}/obj/SampleDisplayAnimationPackage/SampleDisplayAnimationPackage.o \ - ${SAMPLE_ROOT}/${STATION}/obj/SampleGeometryPackage/SampleGeometryPackage.o \ - ${SAMPLE_ROOT}/${STATION}/obj/SampleHLRPackage/SampleHLRPackage.o \ - ${SAMPLE_ROOT}/${STATION}/obj/SampleImportExportPackage/SampleImportExportPackage.o \ - ${SAMPLE_ROOT}/${STATION}/obj/SamplesTopologyPackage/SamplesTopologyPackage.o \ - ${SAMPLE_ROOT}/${STATION}/obj/User/User_Cylinder.o \ - ${SAMPLE_ROOT}/${STATION}/obj/ISession/ISession_Point.o \ - ${SAMPLE_ROOT}/${STATION}/obj/ISession/ISession_Curve.o \ - ${SAMPLE_ROOT}/${STATION}/obj/ISession/ISession_Surface.o \ - ${SAMPLE_ROOT}/${STATION}/obj/ISession/ISession_Text.o \ - ${SAMPLE_ROOT}/${STATION}/obj/ISession/ISession_Direction.o \ - ${SAMPLE_ROOT}/${STATION}/obj/ISession2D/ISession2D_InteractiveContext.o \ - ${SAMPLE_ROOT}/${STATION}/obj/ISession2D/ISession2D_SensitiveCurve.o \ - ${SAMPLE_ROOT}/${STATION}/obj/ISession2D/ISession2D_Curve.o \ - ${SAMPLE_ROOT}/${STATION}/obj/ISession2D/ISession2D_ObjectOwner.o \ - ${SAMPLE_ROOT}/${STATION}/obj/ISession2D/ISession2D_Shape.o \ -\ - -lTKernel \ - -lTKBool \ - -lTKGeomAlgo \ - -lTKXSBase \ - -lTKIGES \ - -lTKFeat \ - -lTKMath \ - -lTKG3d \ - -lTKG2d \ - -lTKOffset \ - -lTKGeomBase \ - -lTKTopAlgo \ - -lTKV3d \ - -lTKService \ - -lPTKernel \ - -lTKShapeSchema \ - -lTKShHealing \ - -lTKBRep \ - -lTKFillet \ - -lTKHLR \ - -lTKV2d \ - -lTKPShape \ - -lTKSTEP \ - -lTKPrim \ - -lsocket -lnsl -lsunmath -lm -ldl \ - -L/usr/openwin/lib -lX11 -lXext -lXmu \ - \ - \ - \ - \ - -lC -lc ; diff --git a/samples/java/adm/SunOS/TKSamples2.lnk b/samples/java/adm/SunOS/TKSamples2.lnk deleted file mode 100755 index 57ae672b5d..0000000000 --- a/samples/java/adm/SunOS/TKSamples2.lnk +++ /dev/null @@ -1,69 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -xchip=ultra -xarch=v8 -G -mt " - -if (!($?STLPortHome)) then - setenv STLPortLib "." -else - if (!($?STLPortLib_CC)) setenv STLPortLib_CC "stlport_gcc" - if (!($?STLPortLib)) setenv STLPortLib "$STLPortHome/lib" - setenv STLPortLib "$STLPortLib -l$STLPortLib_CC" -endif - -${CCHOME} ${CCFLAGS} -o ${SAMPLE_ROOT}/${STATION}/lib//libTKSamples2.so \ - -L${SAMPLE_ROOT}/${STATION}/lib \ - -L${CASROOT}/${STATION}/lib -L${STLPortLib} \ -\ - ${SAMPLE_ROOT}/${STATION}/obj/SampleViewer3DPackage/SampleViewer3DPackage.o \ -\ - -lTKMath \ - -lTKernel \ - -lTKService \ - -lTKV3d \ - -lTKG2d \ - -lTKV2d \ - -lTKBRep \ - -lTKGeomBase \ - -lTKTopAlgo \ - -lTKG3d \ - -lTKPrim \ - -lsocket -lnsl -lsunmath -lm -ldl \ - \ - -L/usr/openwin/lib -lX11 -lXext -lXmu \ - -lC -lc ; - set ld_status=$status - if ( $?LD_LIBRARY_PATH ) then - set ld_library_path=$LD_LIBRARY_PATH - endif -if ( $?LD_LIBRARY_PATH ) then - setenv LD_LIBRARY_PATH ${SAMPLE_ROOT}/${STATION}/lib:${CASROOT}/${STATION}/lib::${LD_LIBRARY_PATH} -else - setenv LD_LIBRARY_PATH ${SAMPLE_ROOT}/${STATION}/lib:${CASROOT}/${STATION}/lib: -endif -echo "Check of undefined symbols with LD_LIBRARY_PATH : $LD_LIBRARY_PATH" -/usr/ccs/bin/ld -o /dev/null \ -\ -${SAMPLE_ROOT}/${STATION}/lib//libTKSamples2.so\ - -lTKMath \ - -lTKernel \ - -lTKService \ - -lTKV3d \ - -lTKG2d \ - -lTKV2d \ - -lTKBRep \ - -lTKGeomBase \ - -lTKTopAlgo \ - -lTKG3d \ - -lTKPrim \ - ; - if ( $status ) then - echo "Check failed" - else - echo "Check successed" - endif - if ( $?ld_library_path ) then - setenv LD_LIBRARY_PATH $ld_library_path - else - unsetenv LD_LIBRARY_PATH - endif - set status=$ld_status - diff --git a/samples/java/adm/SunOS/TKjcas.lnk b/samples/java/adm/SunOS/TKjcas.lnk deleted file mode 100755 index e002dfe97b..0000000000 --- a/samples/java/adm/SunOS/TKjcas.lnk +++ /dev/null @@ -1,49 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS "-xchip=ultra -xarch=v8 -G -mt " - -if (!($?STLPortHome)) then - setenv STLPortLib "." -else - if (!($?STLPortLib_CC)) setenv STLPortLib_CC "stlport_gcc" - if (!($?STLPortLib)) setenv STLPortLib "$STLPortHome/lib" - setenv STLPortLib "$STLPortLib -l$STLPortLib_CC" -endif - -${CCHOME} ${CCFLAGS} -o ${SAMPLE_ROOT}/${STATION}/lib//libTKjcas.so \ - -L${SAMPLE_ROOT}/${STATION}/lib \ - -L${CASROOT}/${STATION}/lib -L${STLPortLib} \ -\ - ${SAMPLE_ROOT}/${STATION}/obj/jcas/jcas.o \ - ${SAMPLE_ROOT}/${STATION}/obj/jcas/jcas_Object.o \ - ${SAMPLE_ROOT}/${STATION}/obj/jcas/jcas_Transient.o \ -\ - -lTKernel \ - -lsocket -lnsl -lsunmath -lm -ldl \ - -lC -lc ; - set ld_status=$status - if ( $?LD_LIBRARY_PATH ) then - set ld_library_path=$LD_LIBRARY_PATH - endif -if ( $?LD_LIBRARY_PATH ) then - setenv LD_LIBRARY_PATH ${SAMPLE_ROOT}/${STATION}/lib:${CASROOT}/${STATION}/lib::${LD_LIBRARY_PATH} -else - setenv LD_LIBRARY_PATH ${SAMPLE_ROOT}/${STATION}/lib:${CASROOT}/${STATION}/lib: -endif -echo "Check of undefined symbols with LD_LIBRARY_PATH : $LD_LIBRARY_PATH" -/usr/ccs/bin/ld -o /dev/null \ -\ -${SAMPLE_ROOT}/${STATION}/lib//libTKjcas.so\ - -lTKernel \ - ; - if ( $status ) then - echo "Check failed" - else - echo "Check successed" - endif - if ( $?ld_library_path ) then - setenv LD_LIBRARY_PATH $ld_library_path - else - unsetenv LD_LIBRARY_PATH - endif - set status=$ld_status - diff --git a/samples/java/adm/SunOS/User.comp b/samples/java/adm/SunOS/User.comp deleted file mode 100755 index a76ae6c580..0000000000 --- a/samples/java/adm/SunOS/User.comp +++ /dev/null @@ -1,17 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -PIC -xchip=ultra -xarch=v8 -Usun -DSOLARIS -DNO_CXX_EXCEPTION -vdelx -DCSFDB -O2 -DNo_Exception +w " - -if (!($?CCINC)) setenv CCINC "/opt/DEV5_1/SUNWspro/SC4.2/include/CC" - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/User)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/User -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${SAMPLE_ROOT}/drv/User/. -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -c ${SAMPLE_ROOT}/src/User/User_Cylinder.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/User/User_Cylinder.o diff --git a/samples/java/adm/SunOS/jcas.comp b/samples/java/adm/SunOS/jcas.comp deleted file mode 100755 index c8c5b7e313..0000000000 --- a/samples/java/adm/SunOS/jcas.comp +++ /dev/null @@ -1,19 +0,0 @@ -if (!($?CCHOME)) setenv CCHOME "/opt/DEV5_1/SUNWspro/bin/CC " -if (!($?CCFLAGS)) setenv CCFLAGS " -PIC -xchip=ultra -xarch=v8 -Usun -DSOLARIS -DNO_CXX_EXCEPTION -vdelx -DCSFDB -O2 -DNo_Exception +w " - -if (!($?CCINC)) setenv CCINC "/opt/DEV5_1/SUNWspro/SC4.2/include/CC" - -if (!($?STLPortHome)) then - setenv STLPortInclude "." -else - if (!($?STLPortInclude)) setenv STLPortInclude "$STLPortHome/stlport" -endif - -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/jcas)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/jcas -if (!(-e ${SAMPLE_ROOT}/${STATION}/obj/.tmp)) mkdir -p ${SAMPLE_ROOT}/${STATION}/obj/.tmp -if (!(-e ${SAMPLE_ROOT}/${STATION}/lib)) mkdir -p ${SAMPLE_ROOT}/${STATION}/lib - - -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -I${CASROOT}/drv/jcas/. -c ${CASROOT}/src/jcas/jcas.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/jcas/jcas.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -I${CASROOT}/drv/jcas/. -c ${CASROOT}/src/jcas/jcas_Object.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/jcas/jcas_Object.o -${CCHOME} ${CCFLAGS} -I${STLPortInclude} -I${CCINC} -I${JAVAHOME}/include -I${JAVAHOME}/include/solaris -DHAVE_WOK_CONFIG_H -DHAVE_CONFIG_H -I${SAMPLE_ROOT}/inc -I${CASROOT}/inc -I${CASROOT}/src/WOKTclLib -I${CASROOT}/drv/jcas/. -c ${CASROOT}/src/jcas/jcas_Transient.cxx -o ${SAMPLE_ROOT}/${STATION}/obj/jcas/jcas_Transient.o diff --git a/samples/java/adm/win32/CASCADESamplesJni.vcproj b/samples/java/adm/win32/CASCADESamplesJni.vcproj deleted file mode 100755 index c862b982cf..0000000000 --- a/samples/java/adm/win32/CASCADESamplesJni.vcproj +++ /dev/null @@ -1,2282 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples/java/adm/win32/Run_MSVC.bat b/samples/java/adm/win32/Run_MSVC.bat deleted file mode 100644 index 53891e6bf9..0000000000 --- a/samples/java/adm/win32/Run_MSVC.bat +++ /dev/null @@ -1,19 +0,0 @@ -@echo off -rem Launch MS VC with environment prepared for building OCCT Java sample - -rem Set build environment -call %~dp0..\..\..\..\ros\env_build.bat vc8 win32 - -rem Define path to project file -set PRJFILE=%~dp0SAMPLE.sln - -rem Launch Visual Studio - either professional (devenv) or Express, as available -if exist %DevEnvDir%\devenv.exe ( - start %DevEnvDir%\devenv.exe %PRJFILE% /useenv -) else if exist %DevEnvDir%\VCExpress.exe ( - start %DevEnvDir%\VCExpress.exe %PRJFILE% /useenv -) else ( - echo Error: Could not find MS Visual Studio ^(%VCVER%^) - echo Check relevant environment variable ^(e.g. VS80COMNTOOLS for vc8^) -) - diff --git a/samples/java/adm/win32/SAMPLE.sln b/samples/java/adm/win32/SAMPLE.sln deleted file mode 100755 index 7dd6fe82fa..0000000000 --- a/samples/java/adm/win32/SAMPLE.sln +++ /dev/null @@ -1,136 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CASCADESamplesJni", "CASCADESamplesJni.vcproj", "{8DEBD578-2878-464F-9C01-892D53D494E2}" - ProjectSection(ProjectDependencies) = postProject - {502DF869-EFEC-4E18-BE1C-7CE7A507A947} = {502DF869-EFEC-4E18-BE1C-7CE7A507A947} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SampleAISBasicJni", "SampleAISBasicJni.vcproj", "{21AA79D9-F0A8-4A68-A4EA-9E623046DF08}" - ProjectSection(ProjectDependencies) = postProject - {03037241-CE41-4D9C-B981-0DBC60B0686D} = {03037241-CE41-4D9C-B981-0DBC60B0686D} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SampleAISDisplayModeJni", "SampleAISDisplayModeJni.vcproj", "{25614FA5-E94F-4E86-9FC1-97FD71790710}" - ProjectSection(ProjectDependencies) = postProject - {21AA79D9-F0A8-4A68-A4EA-9E623046DF08} = {21AA79D9-F0A8-4A68-A4EA-9E623046DF08} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SampleAISSelectJni", "SampleAISSelectJni.vcproj", "{FDC347F7-D9A0-4D07-B223-CC2A3F1BEB9D}" - ProjectSection(ProjectDependencies) = postProject - {25614FA5-E94F-4E86-9FC1-97FD71790710} = {25614FA5-E94F-4E86-9FC1-97FD71790710} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SampleDisplayAnimationJni", "SampleDisplayAnimationJni.vcproj", "{8A832152-5825-4FAB-A459-B360FC52BEEB}" - ProjectSection(ProjectDependencies) = postProject - {FDC347F7-D9A0-4D07-B223-CC2A3F1BEB9D} = {FDC347F7-D9A0-4D07-B223-CC2A3F1BEB9D} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SampleGeometryJni", "SampleGeometryJni.vcproj", "{EADBD6B4-E6F5-405D-8AF3-496A6472D304}" - ProjectSection(ProjectDependencies) = postProject - {8A832152-5825-4FAB-A459-B360FC52BEEB} = {8A832152-5825-4FAB-A459-B360FC52BEEB} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SampleHLRJni", "SampleHLRJni.vcproj", "{378E3840-7587-49C3-B73C-7FBD4ACC4BE9}" - ProjectSection(ProjectDependencies) = postProject - {EADBD6B4-E6F5-405D-8AF3-496A6472D304} = {EADBD6B4-E6F5-405D-8AF3-496A6472D304} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SampleImportExportJni", "SampleImportExportJni.vcproj", "{4318F255-7436-48BA-A686-372E4AAE972D}" - ProjectSection(ProjectDependencies) = postProject - {378E3840-7587-49C3-B73C-7FBD4ACC4BE9} = {378E3840-7587-49C3-B73C-7FBD4ACC4BE9} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SampleViewer3DJni", "SampleViewer3DJni.vcproj", "{78DD8C4E-E56E-4EE2-A810-F9F1E3E0B193}" - ProjectSection(ProjectDependencies) = postProject - {4318F255-7436-48BA-A686-372E4AAE972D} = {4318F255-7436-48BA-A686-372E4AAE972D} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SamplesTopologyJni", "SamplesTopologyJni.vcproj", "{502DF869-EFEC-4E18-BE1C-7CE7A507A947}" - ProjectSection(ProjectDependencies) = postProject - {78DD8C4E-E56E-4EE2-A810-F9F1E3E0B193} = {78DD8C4E-E56E-4EE2-A810-F9F1E3E0B193} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TKNativePaint", "TKNativePaint.vcproj", "{0D94D552-A08C-4158-AFD1-EEB7ADDE040A}" - ProjectSection(ProjectDependencies) = postProject - {703C819A-28AC-4AC4-A707-1DC9DC1A62CE} = {703C819A-28AC-4AC4-A707-1DC9DC1A62CE} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TKSamples", "TKSamples.vcproj", "{AB26C48F-40D5-49C6-8E4A-5965FCCEAAC2}" - ProjectSection(ProjectDependencies) = postProject - {0D94D552-A08C-4158-AFD1-EEB7ADDE040A} = {0D94D552-A08C-4158-AFD1-EEB7ADDE040A} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TKSamples2", "TKSamples2.vcproj", "{03037241-CE41-4D9C-B981-0DBC60B0686D}" - ProjectSection(ProjectDependencies) = postProject - {AB26C48F-40D5-49C6-8E4A-5965FCCEAAC2} = {AB26C48F-40D5-49C6-8E4A-5965FCCEAAC2} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TKjcas", "TKjcas.vcproj", "{703C819A-28AC-4AC4-A707-1DC9DC1A62CE}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {8DEBD578-2878-464F-9C01-892D53D494E2}.Debug|Win32.ActiveCfg = Debug|Win32 - {8DEBD578-2878-464F-9C01-892D53D494E2}.Debug|Win32.Build.0 = Debug|Win32 - {8DEBD578-2878-464F-9C01-892D53D494E2}.Release|Win32.ActiveCfg = Release|Win32 - {8DEBD578-2878-464F-9C01-892D53D494E2}.Release|Win32.Build.0 = Release|Win32 - {21AA79D9-F0A8-4A68-A4EA-9E623046DF08}.Debug|Win32.ActiveCfg = Debug|Win32 - {21AA79D9-F0A8-4A68-A4EA-9E623046DF08}.Debug|Win32.Build.0 = Debug|Win32 - {21AA79D9-F0A8-4A68-A4EA-9E623046DF08}.Release|Win32.ActiveCfg = Release|Win32 - {21AA79D9-F0A8-4A68-A4EA-9E623046DF08}.Release|Win32.Build.0 = Release|Win32 - {25614FA5-E94F-4E86-9FC1-97FD71790710}.Debug|Win32.ActiveCfg = Debug|Win32 - {25614FA5-E94F-4E86-9FC1-97FD71790710}.Debug|Win32.Build.0 = Debug|Win32 - {25614FA5-E94F-4E86-9FC1-97FD71790710}.Release|Win32.ActiveCfg = Release|Win32 - {25614FA5-E94F-4E86-9FC1-97FD71790710}.Release|Win32.Build.0 = Release|Win32 - {FDC347F7-D9A0-4D07-B223-CC2A3F1BEB9D}.Debug|Win32.ActiveCfg = Debug|Win32 - {FDC347F7-D9A0-4D07-B223-CC2A3F1BEB9D}.Debug|Win32.Build.0 = Debug|Win32 - {FDC347F7-D9A0-4D07-B223-CC2A3F1BEB9D}.Release|Win32.ActiveCfg = Release|Win32 - {FDC347F7-D9A0-4D07-B223-CC2A3F1BEB9D}.Release|Win32.Build.0 = Release|Win32 - {8A832152-5825-4FAB-A459-B360FC52BEEB}.Debug|Win32.ActiveCfg = Debug|Win32 - {8A832152-5825-4FAB-A459-B360FC52BEEB}.Debug|Win32.Build.0 = Debug|Win32 - {8A832152-5825-4FAB-A459-B360FC52BEEB}.Release|Win32.ActiveCfg = Release|Win32 - {8A832152-5825-4FAB-A459-B360FC52BEEB}.Release|Win32.Build.0 = Release|Win32 - {EADBD6B4-E6F5-405D-8AF3-496A6472D304}.Debug|Win32.ActiveCfg = Debug|Win32 - {EADBD6B4-E6F5-405D-8AF3-496A6472D304}.Debug|Win32.Build.0 = Debug|Win32 - {EADBD6B4-E6F5-405D-8AF3-496A6472D304}.Release|Win32.ActiveCfg = Release|Win32 - {EADBD6B4-E6F5-405D-8AF3-496A6472D304}.Release|Win32.Build.0 = Release|Win32 - {378E3840-7587-49C3-B73C-7FBD4ACC4BE9}.Debug|Win32.ActiveCfg = Debug|Win32 - {378E3840-7587-49C3-B73C-7FBD4ACC4BE9}.Debug|Win32.Build.0 = Debug|Win32 - {378E3840-7587-49C3-B73C-7FBD4ACC4BE9}.Release|Win32.ActiveCfg = Release|Win32 - {378E3840-7587-49C3-B73C-7FBD4ACC4BE9}.Release|Win32.Build.0 = Release|Win32 - {4318F255-7436-48BA-A686-372E4AAE972D}.Debug|Win32.ActiveCfg = Debug|Win32 - {4318F255-7436-48BA-A686-372E4AAE972D}.Debug|Win32.Build.0 = Debug|Win32 - {4318F255-7436-48BA-A686-372E4AAE972D}.Release|Win32.ActiveCfg = Release|Win32 - {4318F255-7436-48BA-A686-372E4AAE972D}.Release|Win32.Build.0 = Release|Win32 - {78DD8C4E-E56E-4EE2-A810-F9F1E3E0B193}.Debug|Win32.ActiveCfg = Debug|Win32 - {78DD8C4E-E56E-4EE2-A810-F9F1E3E0B193}.Debug|Win32.Build.0 = Debug|Win32 - {78DD8C4E-E56E-4EE2-A810-F9F1E3E0B193}.Release|Win32.ActiveCfg = Release|Win32 - {78DD8C4E-E56E-4EE2-A810-F9F1E3E0B193}.Release|Win32.Build.0 = Release|Win32 - {502DF869-EFEC-4E18-BE1C-7CE7A507A947}.Debug|Win32.ActiveCfg = Debug|Win32 - {502DF869-EFEC-4E18-BE1C-7CE7A507A947}.Debug|Win32.Build.0 = Debug|Win32 - {502DF869-EFEC-4E18-BE1C-7CE7A507A947}.Release|Win32.ActiveCfg = Release|Win32 - {502DF869-EFEC-4E18-BE1C-7CE7A507A947}.Release|Win32.Build.0 = Release|Win32 - {0D94D552-A08C-4158-AFD1-EEB7ADDE040A}.Debug|Win32.ActiveCfg = Debug|Win32 - {0D94D552-A08C-4158-AFD1-EEB7ADDE040A}.Debug|Win32.Build.0 = Debug|Win32 - {0D94D552-A08C-4158-AFD1-EEB7ADDE040A}.Release|Win32.ActiveCfg = Release|Win32 - {0D94D552-A08C-4158-AFD1-EEB7ADDE040A}.Release|Win32.Build.0 = Release|Win32 - {AB26C48F-40D5-49C6-8E4A-5965FCCEAAC2}.Debug|Win32.ActiveCfg = Debug|Win32 - {AB26C48F-40D5-49C6-8E4A-5965FCCEAAC2}.Debug|Win32.Build.0 = Debug|Win32 - {AB26C48F-40D5-49C6-8E4A-5965FCCEAAC2}.Release|Win32.ActiveCfg = Release|Win32 - {AB26C48F-40D5-49C6-8E4A-5965FCCEAAC2}.Release|Win32.Build.0 = Release|Win32 - {03037241-CE41-4D9C-B981-0DBC60B0686D}.Debug|Win32.ActiveCfg = Debug|Win32 - {03037241-CE41-4D9C-B981-0DBC60B0686D}.Debug|Win32.Build.0 = Debug|Win32 - {03037241-CE41-4D9C-B981-0DBC60B0686D}.Release|Win32.ActiveCfg = Release|Win32 - {03037241-CE41-4D9C-B981-0DBC60B0686D}.Release|Win32.Build.0 = Release|Win32 - {703C819A-28AC-4AC4-A707-1DC9DC1A62CE}.Debug|Win32.ActiveCfg = Debug|Win32 - {703C819A-28AC-4AC4-A707-1DC9DC1A62CE}.Debug|Win32.Build.0 = Debug|Win32 - {703C819A-28AC-4AC4-A707-1DC9DC1A62CE}.Release|Win32.ActiveCfg = Release|Win32 - {703C819A-28AC-4AC4-A707-1DC9DC1A62CE}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/samples/java/adm/win32/SampleAISBasicJni.vcproj b/samples/java/adm/win32/SampleAISBasicJni.vcproj deleted file mode 100755 index b15bef69f5..0000000000 --- a/samples/java/adm/win32/SampleAISBasicJni.vcproj +++ /dev/null @@ -1,410 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples/java/adm/win32/SampleAISDisplayModeJni.vcproj b/samples/java/adm/win32/SampleAISDisplayModeJni.vcproj deleted file mode 100755 index abc8bb115d..0000000000 --- a/samples/java/adm/win32/SampleAISDisplayModeJni.vcproj +++ /dev/null @@ -1,410 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples/java/adm/win32/SampleAISSelectJni.vcproj b/samples/java/adm/win32/SampleAISSelectJni.vcproj deleted file mode 100755 index 49ed780303..0000000000 --- a/samples/java/adm/win32/SampleAISSelectJni.vcproj +++ /dev/null @@ -1,410 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples/java/adm/win32/SampleDisplayAnimationJni.vcproj b/samples/java/adm/win32/SampleDisplayAnimationJni.vcproj deleted file mode 100755 index 474e829cd2..0000000000 --- a/samples/java/adm/win32/SampleDisplayAnimationJni.vcproj +++ /dev/null @@ -1,362 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples/java/adm/win32/SampleGeometryJni.vcproj b/samples/java/adm/win32/SampleGeometryJni.vcproj deleted file mode 100755 index 7c81f735ab..0000000000 --- a/samples/java/adm/win32/SampleGeometryJni.vcproj +++ /dev/null @@ -1,458 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples/java/adm/win32/SampleHLRJni.vcproj b/samples/java/adm/win32/SampleHLRJni.vcproj deleted file mode 100755 index 69482c9131..0000000000 --- a/samples/java/adm/win32/SampleHLRJni.vcproj +++ /dev/null @@ -1,1178 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples/java/adm/win32/SampleImportExportJni.vcproj b/samples/java/adm/win32/SampleImportExportJni.vcproj deleted file mode 100755 index ebf90b2f00..0000000000 --- a/samples/java/adm/win32/SampleImportExportJni.vcproj +++ /dev/null @@ -1,386 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples/java/adm/win32/SampleViewer3DJni.vcproj b/samples/java/adm/win32/SampleViewer3DJni.vcproj deleted file mode 100755 index 4dcce42dfe..0000000000 --- a/samples/java/adm/win32/SampleViewer3DJni.vcproj +++ /dev/null @@ -1,938 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples/java/adm/win32/SamplesTopologyJni.vcproj b/samples/java/adm/win32/SamplesTopologyJni.vcproj deleted file mode 100755 index 1bb12a396d..0000000000 --- a/samples/java/adm/win32/SamplesTopologyJni.vcproj +++ /dev/null @@ -1,386 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples/java/adm/win32/TKNativePaint.vcproj b/samples/java/adm/win32/TKNativePaint.vcproj deleted file mode 100755 index 05074d5475..0000000000 --- a/samples/java/adm/win32/TKNativePaint.vcproj +++ /dev/null @@ -1,266 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples/java/adm/win32/TKSamples.vcproj b/samples/java/adm/win32/TKSamples.vcproj deleted file mode 100755 index 67679ffa15..0000000000 --- a/samples/java/adm/win32/TKSamples.vcproj +++ /dev/null @@ -1,674 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples/java/adm/win32/TKSamples2.vcproj b/samples/java/adm/win32/TKSamples2.vcproj deleted file mode 100755 index fb5ba762e1..0000000000 --- a/samples/java/adm/win32/TKSamples2.vcproj +++ /dev/null @@ -1,242 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples/java/adm/win32/TKjcas.vcproj b/samples/java/adm/win32/TKjcas.vcproj deleted file mode 100755 index f0288cd2e7..0000000000 --- a/samples/java/adm/win32/TKjcas.vcproj +++ /dev/null @@ -1,288 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples/java/build.bat b/samples/java/build.bat deleted file mode 100755 index 9077c0da80..0000000000 --- a/samples/java/build.bat +++ /dev/null @@ -1,29 +0,0 @@ -@ECHO OFF - -call %~dp0..\..\ros\env_build.bat vc8 win32 - -IF NOT EXIST win32 mkdir win32 -cd win32 -IF NOT EXIST vc8 mkdir vc8 -cd vc8 - -SET ROOT=%CASROOT%\.. -SET SAMPLEHOME=%ROOT%\samples\java - -IF NOT EXIST obj mkdir obj -IF NOT EXIST classes mkdir classes - -del CASCADESamples.jar - -%JAVAHOME%\bin\javac -d classes %CASROOT%\src\jcas\*.java %SAMPLEHOME%\java\CASCADESamplesJni\*.java %SAMPLEHOME%\java\SampleGeometryJni\*.java %SAMPLEHOME%\java\SamplesTopologyJni\*.java %SAMPLEHOME%\java\SampleViewer3DJni\*.java %SAMPLEHOME%\java\SampleAISBasicJni\*.java %SAMPLEHOME%\java\SampleAISDisplayModeJni\*.java %SAMPLEHOME%\java\SampleAISSelectJni\*.java %SAMPLEHOME%\java\SampleDisplayAnimationJni\*.java %SAMPLEHOME%\java\SampleImportExportJni\*.java %SAMPLEHOME%\java\SampleHLRJni\*.java %SAMPLEHOME%\java\util\*.java %SAMPLEHOME%\java\*.java - - -cd classes -%JAVAHOME%\bin\jar -cf CASCADESamples.jar -C . jcas\*.class CASCADESamplesJni\*.class SampleGeometryJni\*.class SamplesTopologyJni\*.class SampleViewer3DJni\*.class SampleAISBasicJni\*.class SampleAISDisplayModeJni\*.class SampleAISSelectJni\*.class SampleDisplayAnimationJni\*.class SampleImportExportJni\*.class SampleHLRJni\*.class util\*.class *.class -copy CASCADESamples.jar %SAMPLEHOME%\win32 - -cd .. -del /q /s /f classes\* -rmdir /q /s classes - -cd .. diff --git a/samples/java/build.csh b/samples/java/build.csh deleted file mode 100755 index 1cddbf7107..0000000000 --- a/samples/java/build.csh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/csh -f - -setenv STATION `uname -s` -if (${STATION} == "IRIX64") setenv STATION IRIX - -setenv SAMPLE_ROOT `pwd` - -cd $STATION - -if ( ! -d obj ) then - mkdir obj -endif - -if ( ! -d classes ) then - mkdir classes -endif -if ( !($?JAVAHOME) ) then - echo -n "JAVAHOME not setted . Please define it : " - set res = $< - setenv JAVAHOME ${res} -else - setenv JDK ${JAVAHOME} -endif - -${JAVAHOME}/bin/javac -d classes ${CASROOT}/src/jcas/*.java ${SAMPLE_ROOT}/java/CASCADESamplesJni/*.java ${SAMPLE_ROOT}/java/SampleGeometryJni/*.java ${SAMPLE_ROOT}/java/SamplesTopologyJni/*.java ${SAMPLE_ROOT}/java/SampleViewer3DJni/*.java ${SAMPLE_ROOT}/java/SampleAISBasicJni/*.java ${SAMPLE_ROOT}/java/SampleAISDisplayModeJni/*.java ${SAMPLE_ROOT}/java/SampleAISSelectJni/*.java ${SAMPLE_ROOT}/java/SampleDisplayAnimationJni/*.java ${SAMPLE_ROOT}/java/SampleImportExportJni/*.java ${SAMPLE_ROOT}/java/SampleHLRJni/*.java ${SAMPLE_ROOT}/java/util/*.java ${SAMPLE_ROOT}/java/util/x11/*.java ${SAMPLE_ROOT}/java/*.java - -${JAVAHOME}/bin/jar -cf CASCADESamples.jar -C classes/ . - -rm -R classes diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_AIS_Drawer_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_AIS_Drawer_java.cxx deleted file mode 100755 index 4db324b022..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_AIS_Drawer_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_AIS_InteractiveContext_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_AIS_InteractiveContext_java.cxx deleted file mode 100755 index 9b2ad92dfe..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_AIS_InteractiveContext_java.cxx +++ /dev/null @@ -1,6369 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1Create_11 (JNIEnv *env, jobject theobj, jobject MainViewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_Viewer ) the_MainViewer; - void* ptr_MainViewer = jcas_GetHandle(env,MainViewer); - - if ( ptr_MainViewer != NULL ) the_MainViewer = *( ( Handle( V3d_Viewer )* )ptr_MainViewer ); - -Handle(AIS_InteractiveContext)* theret = new Handle(AIS_InteractiveContext); -*theret = new AIS_InteractiveContext(the_MainViewer); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1Create_12 (JNIEnv *env, jobject theobj, jobject MainViewer, jobject Collector) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_Viewer ) the_MainViewer; - void* ptr_MainViewer = jcas_GetHandle(env,MainViewer); - - if ( ptr_MainViewer != NULL ) the_MainViewer = *( ( Handle( V3d_Viewer )* )ptr_MainViewer ); - - Handle( V3d_Viewer ) the_Collector; - void* ptr_Collector = jcas_GetHandle(env,Collector); - - if ( ptr_Collector != NULL ) the_Collector = *( ( Handle( V3d_Viewer )* )ptr_Collector ); - -Handle(AIS_InteractiveContext)* theret = new Handle(AIS_InteractiveContext); -*theret = new AIS_InteractiveContext(the_MainViewer,the_Collector); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Delete (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->Delete(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_IsCollectorClosed (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IsCollectorClosed(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_CloseCollector (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->CloseCollector(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_OpenCollector (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->OpenCollector(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetAutoActivateSelection (JNIEnv *env, jobject theobj, jboolean Auto) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetAutoActivateSelection((Standard_Boolean) Auto); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_GetAutoActivateSelection (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->GetAutoActivateSelection(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1Display_11 (JNIEnv *env, jobject theobj, jobject anIobj, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anIobj; - void* ptr_anIobj = jcas_GetHandle(env,anIobj); - - if ( ptr_anIobj != NULL ) the_anIobj = *( ( Handle( AIS_InteractiveObject )* )ptr_anIobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->Display(the_anIobj,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1Display_12 (JNIEnv *env, jobject theobj, jobject anIobj, jint amode, jint aSelectionMode, jboolean updateviewer, jboolean allowdecomposition) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anIobj; - void* ptr_anIobj = jcas_GetHandle(env,anIobj); - - if ( ptr_anIobj != NULL ) the_anIobj = *( ( Handle( AIS_InteractiveObject )* )ptr_anIobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->Display(the_anIobj,(Standard_Integer) amode,(Standard_Integer) aSelectionMode,(Standard_Boolean) updateviewer,(Standard_Boolean) allowdecomposition); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Load (JNIEnv *env, jobject theobj, jobject aniobj, jint SelectionMode, jboolean AllowDecomp) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->Load(the_aniobj,(Standard_Integer) SelectionMode,(Standard_Boolean) AllowDecomp); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Erase (JNIEnv *env, jobject theobj, jobject aniobj, jboolean updateviewer, jboolean PutInCollector) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->Erase(the_aniobj,(Standard_Boolean) updateviewer,(Standard_Boolean) PutInCollector); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_EraseMode (JNIEnv *env, jobject theobj, jobject aniobj, jint aMode, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->EraseMode(the_aniobj,(Standard_Integer) aMode,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_EraseAll (JNIEnv *env, jobject theobj, jboolean PutInCollector, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->EraseAll((Standard_Boolean) PutInCollector,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DisplayAll (JNIEnv *env, jobject theobj, jboolean OnlyFromCollector, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->DisplayAll((Standard_Boolean) OnlyFromCollector,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DisplayFromCollector (JNIEnv *env, jobject theobj, jobject anIObj, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anIObj; - void* ptr_anIObj = jcas_GetHandle(env,anIObj); - - if ( ptr_anIObj != NULL ) the_anIObj = *( ( Handle( AIS_InteractiveObject )* )ptr_anIObj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->DisplayFromCollector(the_anIObj,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_EraseSelected (JNIEnv *env, jobject theobj, jboolean PutInCollector, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->EraseSelected((Standard_Boolean) PutInCollector,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DisplaySelected (JNIEnv *env, jobject theobj, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->DisplaySelected((Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_KeepTemporary (JNIEnv *env, jobject theobj, jobject anIObj, jint InWhichLocal) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anIObj; - void* ptr_anIObj = jcas_GetHandle(env,anIObj); - - if ( ptr_anIObj != NULL ) the_anIObj = *( ( Handle( AIS_InteractiveObject )* )ptr_anIObj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->KeepTemporary(the_anIObj,(Standard_Integer) InWhichLocal); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Clear (JNIEnv *env, jobject theobj, jobject aniobj, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->Clear(the_aniobj,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_ClearPrs (JNIEnv *env, jobject theobj, jobject aniobj, jint aMode, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->ClearPrs(the_aniobj,(Standard_Integer) aMode,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Remove (JNIEnv *env, jobject theobj, jobject aniobj, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->Remove(the_aniobj,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_RemoveAll (JNIEnv *env, jobject theobj, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->RemoveAll((Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Hilight (JNIEnv *env, jobject theobj, jobject aniobj, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->Hilight(the_aniobj,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HilightWithColor (JNIEnv *env, jobject theobj, jobject aniobj, jshort aCol, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->HilightWithColor(the_aniobj,(Quantity_NameOfColor) aCol,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Unhilight (JNIEnv *env, jobject theobj, jobject aniobj, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->Unhilight(the_aniobj,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetDisplayPriority (JNIEnv *env, jobject theobj, jobject anIobj, jint aPriority) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anIobj; - void* ptr_anIobj = jcas_GetHandle(env,anIobj); - - if ( ptr_anIobj != NULL ) the_anIobj = *( ( Handle( AIS_InteractiveObject )* )ptr_anIobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetDisplayPriority(the_anIobj,(Standard_Integer) aPriority); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1Redisplay_11 (JNIEnv *env, jobject theobj, jobject aniobj, jboolean updateviewer, jboolean allmodes) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->Redisplay(the_aniobj,(Standard_Boolean) updateviewer,(Standard_Boolean) allmodes); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1Redisplay_12 (JNIEnv *env, jobject theobj, jshort aTypeOfObject, jint Signature, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->Redisplay((AIS_KindOfInteractive) aTypeOfObject,(Standard_Integer) Signature,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_RecomputePrsOnly (JNIEnv *env, jobject theobj, jobject anIobj, jboolean updateviewer, jboolean allmodes) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anIobj; - void* ptr_anIobj = jcas_GetHandle(env,anIobj); - - if ( ptr_anIobj != NULL ) the_anIobj = *( ( Handle( AIS_InteractiveObject )* )ptr_anIobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->RecomputePrsOnly(the_anIobj,(Standard_Boolean) updateviewer,(Standard_Boolean) allmodes); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_RecomputeSelectionOnly (JNIEnv *env, jobject theobj, jobject anIObj) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anIObj; - void* ptr_anIObj = jcas_GetHandle(env,anIObj); - - if ( ptr_anIObj != NULL ) the_anIObj = *( ( Handle( AIS_InteractiveObject )* )ptr_anIObj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->RecomputeSelectionOnly(the_anIObj); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Update (JNIEnv *env, jobject theobj, jobject anIobj, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anIobj; - void* ptr_anIobj = jcas_GetHandle(env,anIobj); - - if ( ptr_anIobj != NULL ) the_anIobj = *( ( Handle( AIS_InteractiveObject )* )ptr_anIobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->Update(the_anIobj,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetDisplayMode_11 (JNIEnv *env, jobject theobj, jobject aniobj, jint aMode, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetDisplayMode(the_aniobj,(Standard_Integer) aMode,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_UnsetDisplayMode (JNIEnv *env, jobject theobj, jobject aniobj, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->UnsetDisplayMode(the_aniobj,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetSelectionMode (JNIEnv *env, jobject theobj, jobject aniobj, jint aMode) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetSelectionMode(the_aniobj,(Standard_Integer) aMode); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_UnsetSelectionMode (JNIEnv *env, jobject theobj, jobject aniobj) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->UnsetSelectionMode(the_aniobj); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetSensitivity_11 (JNIEnv *env, jobject theobj, jdouble aPrecision) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetSensitivity((Standard_Real) aPrecision); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetSensitivity_12 (JNIEnv *env, jobject theobj, jint aPrecision) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetSensitivity((Standard_Integer) aPrecision); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetLocation (JNIEnv *env, jobject theobj, jobject aniobj, jobject aLocation) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -TopLoc_Location* the_aLocation = (TopLoc_Location*) jcas_GetHandle(env,aLocation); -if ( the_aLocation == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aLocation = new TopLoc_Location (); - // jcas_SetHandle ( env, aLocation, the_aLocation ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetLocation(the_aniobj,*the_aLocation); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_ResetLocation (JNIEnv *env, jobject theobj, jobject aniobj) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->ResetLocation(the_aniobj); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HasLocation (JNIEnv *env, jobject theobj, jobject aniobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->HasLocation(the_aniobj); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Location (JNIEnv *env, jobject theobj, jobject aniobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -const TopLoc_Location& theret = the_this->Location(the_aniobj); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TopLoc_Location",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetCurrentFacingModel (JNIEnv *env, jobject theobj, jobject aniobj, jshort aModel) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetCurrentFacingModel(the_aniobj,(Aspect_TypeOfFacingModel) aModel); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetColor_11 (JNIEnv *env, jobject theobj, jobject aniobj, jshort aColor, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetColor(the_aniobj,(Quantity_NameOfColor) aColor,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetColor_12 (JNIEnv *env, jobject theobj, jobject aniobj, jobject aColor, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Quantity_Color* the_aColor = (Quantity_Color*) jcas_GetHandle(env,aColor); -if ( the_aColor == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aColor = new Quantity_Color (); - // jcas_SetHandle ( env, aColor, the_aColor ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetColor(the_aniobj,*the_aColor,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_UnsetColor (JNIEnv *env, jobject theobj, jobject aniobj, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->UnsetColor(the_aniobj,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetWidth (JNIEnv *env, jobject theobj, jobject aniobj, jdouble aValue, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetWidth(the_aniobj,(Standard_Real) aValue,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_UnsetWidth (JNIEnv *env, jobject theobj, jobject aniobj, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->UnsetWidth(the_aniobj,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetMaterial (JNIEnv *env, jobject theobj, jobject aniobj, jshort aName, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetMaterial(the_aniobj,(Graphic3d_NameOfMaterial) aName,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_UnsetMaterial (JNIEnv *env, jobject theobj, jobject anObj, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anObj; - void* ptr_anObj = jcas_GetHandle(env,anObj); - - if ( ptr_anObj != NULL ) the_anObj = *( ( Handle( AIS_InteractiveObject )* )ptr_anObj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->UnsetMaterial(the_anObj,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetTransparency (JNIEnv *env, jobject theobj, jobject aniobj, jdouble aValue, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetTransparency(the_aniobj,(Standard_Real) aValue,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_UnsetTransparency (JNIEnv *env, jobject theobj, jobject aniobj, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->UnsetTransparency(the_aniobj,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetDegenerateModel_11 (JNIEnv *env, jobject theobj, jobject aniobj, jshort aModel, jdouble aRatio) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetDegenerateModel(the_aniobj,(Aspect_TypeOfDegenerateModel) aModel,(Quantity_Ratio) aRatio); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetDegenerateModel_12 (JNIEnv *env, jobject theobj, jshort aModel, jdouble aSkipRatio) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetDegenerateModel((Aspect_TypeOfDegenerateModel) aModel,(Quantity_Ratio) aSkipRatio); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetLocalAttributes (JNIEnv *env, jobject theobj, jobject aniobj, jobject aDrawer, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - - Handle( AIS_Drawer ) the_aDrawer; - void* ptr_aDrawer = jcas_GetHandle(env,aDrawer); - - if ( ptr_aDrawer != NULL ) the_aDrawer = *( ( Handle( AIS_Drawer )* )ptr_aDrawer ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetLocalAttributes(the_aniobj,the_aDrawer,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_UnsetLocalAttributes (JNIEnv *env, jobject theobj, jobject anObj, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anObj; - void* ptr_anObj = jcas_GetHandle(env,anObj); - - if ( ptr_anObj != NULL ) the_anObj = *( ( Handle( AIS_InteractiveObject )* )ptr_anObj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->UnsetLocalAttributes(the_anObj,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetPolygonOffsets (JNIEnv *env, jobject theobj, jobject anObj, jint aMode, jdouble aFactor, jdouble aUnits, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anObj; - void* ptr_anObj = jcas_GetHandle(env,anObj); - - if ( ptr_anObj != NULL ) the_anObj = *( ( Handle( AIS_InteractiveObject )* )ptr_anObj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetPolygonOffsets(the_anObj,(Standard_Integer) aMode,(Standard_Real) aFactor,(Standard_Real) aUnits,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HasPolygonOffsets (JNIEnv *env, jobject theobj, jobject anObj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anObj; - void* ptr_anObj = jcas_GetHandle(env,anObj); - - if ( ptr_anObj != NULL ) the_anObj = *( ( Handle( AIS_InteractiveObject )* )ptr_anObj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->HasPolygonOffsets(the_anObj); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_PolygonOffsets (JNIEnv *env, jobject theobj, jobject anObj, jobject aMode, jobject aFactor, jobject aUnits) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anObj; - void* ptr_anObj = jcas_GetHandle(env,anObj); - - if ( ptr_anObj != NULL ) the_anObj = *( ( Handle( AIS_InteractiveObject )* )ptr_anObj ); - -Standard_Integer the_aMode = jcas_GetInteger(env,aMode); -Standard_Real the_aFactor = jcas_GetReal(env,aFactor); -Standard_Real the_aUnits = jcas_GetReal(env,aUnits); -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->PolygonOffsets(the_anObj,the_aMode,the_aFactor,the_aUnits); -jcas_SetInteger(env,aMode,the_aMode); -jcas_SetReal(env,aFactor,the_aFactor); -jcas_SetReal(env,aUnits,the_aUnits); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetTrihedronSize (JNIEnv *env, jobject theobj, jdouble aSize, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetTrihedronSize((Standard_Real) aSize,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_TrihedronSize (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->TrihedronSize(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetPlaneSize_11 (JNIEnv *env, jobject theobj, jdouble aSizeX, jdouble aSizeY, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetPlaneSize((Standard_Real) aSizeX,(Standard_Real) aSizeY,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetPlaneSize_12 (JNIEnv *env, jobject theobj, jdouble aSize, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetPlaneSize((Standard_Real) aSize,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_PlaneSize (JNIEnv *env, jobject theobj, jobject XSize, jobject YSize) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_Real the_XSize = jcas_GetReal(env,XSize); -Standard_Real the_YSize = jcas_GetReal(env,YSize); -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->PlaneSize(the_XSize,the_YSize); -jcas_SetReal(env,XSize,the_XSize); -jcas_SetReal(env,YSize,the_YSize); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DisplayStatus (JNIEnv *env, jobject theobj, jobject anIobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anIobj; - void* ptr_anIobj = jcas_GetHandle(env,anIobj); - - if ( ptr_anIobj != NULL ) the_anIobj = *( ( Handle( AIS_InteractiveObject )* )ptr_anIobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->DisplayStatus(the_anIobj); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DisplayedModes (JNIEnv *env, jobject theobj, jobject aniobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -const TColStd_ListOfInteger& theret = the_this->DisplayedModes(the_aniobj); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TColStd_ListOfInteger",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1IsDisplayed_11 (JNIEnv *env, jobject theobj, jobject anIobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anIobj; - void* ptr_anIobj = jcas_GetHandle(env,anIobj); - - if ( ptr_anIobj != NULL ) the_anIobj = *( ( Handle( AIS_InteractiveObject )* )ptr_anIobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IsDisplayed(the_anIobj); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1IsDisplayed_12 (JNIEnv *env, jobject theobj, jobject aniobj, jint aMode) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IsDisplayed(the_aniobj,(Standard_Integer) aMode); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1IsHilighted_11 (JNIEnv *env, jobject theobj, jobject aniobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IsHilighted(the_aniobj); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1IsHilighted_12 (JNIEnv *env, jobject theobj, jobject anIobj, jobject WithColor, jobject theHiCol) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anIobj; - void* ptr_anIobj = jcas_GetHandle(env,anIobj); - - if ( ptr_anIobj != NULL ) the_anIobj = *( ( Handle( AIS_InteractiveObject )* )ptr_anIobj ); - -Standard_Boolean the_WithColor = jcas_GetBoolean(env,WithColor); -Quantity_NameOfColor the_theHiCol = ( Quantity_NameOfColor )jcas_GetShort ( env, theHiCol ); -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IsHilighted(the_anIobj,the_WithColor,the_theHiCol); -jcas_SetBoolean(env,WithColor,the_WithColor); -jcas_SetShort(env,theHiCol,the_theHiCol); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_IsInCollector (JNIEnv *env, jobject theobj, jobject anIObj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anIObj; - void* ptr_anIObj = jcas_GetHandle(env,anIObj); - - if ( ptr_anIObj != NULL ) the_anIObj = *( ( Handle( AIS_InteractiveObject )* )ptr_anIObj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IsInCollector(the_anIObj); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DisplayPriority (JNIEnv *env, jobject theobj, jobject anIobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anIobj; - void* ptr_anIobj = jcas_GetHandle(env,anIobj); - - if ( ptr_anIobj != NULL ) the_anIobj = *( ( Handle( AIS_InteractiveObject )* )ptr_anIobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->DisplayPriority(the_anIobj); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HasColor (JNIEnv *env, jobject theobj, jobject aniobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->HasColor(the_aniobj); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1Color_11 (JNIEnv *env, jobject theobj, jobject aniobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Color(the_aniobj); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1Color_12 (JNIEnv *env, jobject theobj, jobject aniobj, jobject acolor) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Quantity_Color* the_acolor = (Quantity_Color*) jcas_GetHandle(env,acolor); -if ( the_acolor == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_acolor = new Quantity_Color (); - // jcas_SetHandle ( env, acolor, the_acolor ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->Color(the_aniobj,*the_acolor); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Width (JNIEnv *env, jobject theobj, jobject aniobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Width(the_aniobj); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Status (JNIEnv *env, jobject theobj, jobject anObj, jobject astatus) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anObj; - void* ptr_anObj = jcas_GetHandle(env,anObj); - - if ( ptr_anObj != NULL ) the_anObj = *( ( Handle( AIS_InteractiveObject )* )ptr_anObj ); - -TCollection_ExtendedString* the_astatus = (TCollection_ExtendedString*) jcas_GetHandle(env,astatus); -if ( the_astatus == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_astatus = new TCollection_ExtendedString (); - // jcas_SetHandle ( env, astatus, the_astatus ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->Status(the_anObj,*the_astatus); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_UpdateCurrentViewer (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->UpdateCurrentViewer(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_UpdateCollector (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->UpdateCollector(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DisplayMode (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->DisplayMode(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HilightColor (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->HilightColor(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SelectionColor_11 (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->SelectionColor(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_PreSelectionColor (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->PreSelectionColor(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DefaultColor (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->DefaultColor(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SubIntensityColor (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->SubIntensityColor(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetHilightColor (JNIEnv *env, jobject theobj, jshort aHiCol) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetHilightColor((Quantity_NameOfColor) aHiCol); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SelectionColor_12 (JNIEnv *env, jobject theobj, jshort aCol) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SelectionColor((Quantity_NameOfColor) aCol); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetPreselectionColor (JNIEnv *env, jobject theobj, jshort aCol) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetPreselectionColor((Quantity_NameOfColor) aCol); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetSubIntensityColor (JNIEnv *env, jobject theobj, jshort aCol) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetSubIntensityColor((Quantity_NameOfColor) aCol); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetDisplayMode_12 (JNIEnv *env, jobject theobj, jshort AMode, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetDisplayMode((AIS_DisplayMode) AMode,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetDeviationCoefficient_11 (JNIEnv *env, jobject theobj, jobject aniobj, jdouble aCoefficient, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetDeviationCoefficient(the_aniobj,(Standard_Real) aCoefficient,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetDeviationAngle_11 (JNIEnv *env, jobject theobj, jobject aniobj, jdouble anAngle, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetDeviationAngle(the_aniobj,(Standard_Real) anAngle,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetAngleAndDeviation (JNIEnv *env, jobject theobj, jobject aniobj, jdouble anAngle, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetAngleAndDeviation(the_aniobj,(Standard_Real) anAngle,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetHLRDeviationCoefficient_11 (JNIEnv *env, jobject theobj, jobject aniobj, jdouble aCoefficient, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetHLRDeviationCoefficient(the_aniobj,(Standard_Real) aCoefficient,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetHLRDeviationAngle (JNIEnv *env, jobject theobj, jobject aniobj, jdouble anAngle, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetHLRDeviationAngle(the_aniobj,(Standard_Real) anAngle,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetHLRAngleAndDeviation_11 (JNIEnv *env, jobject theobj, jobject aniobj, jdouble anAngle, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetHLRAngleAndDeviation(the_aniobj,(Standard_Real) anAngle,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetDeviationCoefficient_12 (JNIEnv *env, jobject theobj, jdouble aCoefficient) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetDeviationCoefficient((Standard_Real) aCoefficient); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DeviationCoefficient (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->DeviationCoefficient(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetDeviationAngle_12 (JNIEnv *env, jobject theobj, jdouble anAngle) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetDeviationAngle((Standard_Real) anAngle); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DeviationAngle (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->DeviationAngle(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetHLRDeviationCoefficient_12 (JNIEnv *env, jobject theobj, jdouble aCoefficient) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetHLRDeviationCoefficient((Standard_Real) aCoefficient); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HLRDeviationCoefficient (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->HLRDeviationCoefficient(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetHLRAngle (JNIEnv *env, jobject theobj, jdouble anAngle) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetHLRAngle((Standard_Real) anAngle); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HLRAngle (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->HLRAngle(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetHLRAngleAndDeviation_12 (JNIEnv *env, jobject theobj, jdouble anAngle) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetHLRAngleAndDeviation((Standard_Real) anAngle); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HiddenLineAspect (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -Handle(Prs3d_LineAspect)* theret = new Handle(Prs3d_LineAspect); -*theret = the_this->HiddenLineAspect(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Prs3d_LineAspect",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetHiddenLineAspect (JNIEnv *env, jobject theobj, jobject anAspect) -{ - -jcas_Locking alock(env); -{ -try { - Handle( Prs3d_LineAspect ) the_anAspect; - void* ptr_anAspect = jcas_GetHandle(env,anAspect); - - if ( ptr_anAspect != NULL ) the_anAspect = *( ( Handle( Prs3d_LineAspect )* )ptr_anAspect ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetHiddenLineAspect(the_anAspect); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DrawHiddenLine (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->DrawHiddenLine(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_EnableDrawHiddenLine (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->EnableDrawHiddenLine(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DisableDrawHiddenLine (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->DisableDrawHiddenLine(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetIsoNumber (JNIEnv *env, jobject theobj, jint NbIsos, jshort WhichIsos) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetIsoNumber((Standard_Integer) NbIsos,(AIS_TypeOfIso) WhichIsos); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_IsoNumber (JNIEnv *env, jobject theobj, jshort WhichIsos) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IsoNumber((AIS_TypeOfIso) WhichIsos); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1IsoOnPlane_11 (JNIEnv *env, jobject theobj, jboolean SwitchOn) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->IsoOnPlane((Standard_Boolean) SwitchOn); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1IsoOnPlane_12 (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IsoOnPlane(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetSelectedAspect (JNIEnv *env, jobject theobj, jobject anAspect, jboolean globalChange, jboolean updateViewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( Prs3d_BasicAspect ) the_anAspect; - void* ptr_anAspect = jcas_GetHandle(env,anAspect); - - if ( ptr_anAspect != NULL ) the_anAspect = *( ( Handle( Prs3d_BasicAspect )* )ptr_anAspect ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetSelectedAspect(the_anAspect,(Standard_Boolean) globalChange,(Standard_Boolean) updateViewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_MoveTo (JNIEnv *env, jobject theobj, jint XPix, jint YPix, jobject aView) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->MoveTo((Standard_Integer) XPix,(Standard_Integer) YPix,the_aView); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HasNextDetected (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->HasNextDetected(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HilightNextDetected (JNIEnv *env, jobject theobj, jobject aView) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->HilightNextDetected(the_aView); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HilightPreviousDetected (JNIEnv *env, jobject theobj, jobject aView) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->HilightPreviousDetected(the_aView); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1Select_11 (JNIEnv *env, jobject theobj, jint XPMin, jint YPMin, jint XPMax, jint YPMax, jobject aView, jboolean updateviewer) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Select((Standard_Integer) XPMin,(Standard_Integer) YPMin,(Standard_Integer) XPMax,(Standard_Integer) YPMax,the_aView,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1Select_12 (JNIEnv *env, jobject theobj, jobject Polyline, jobject aView, jboolean updateviewer) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -TColgp_Array1OfPnt2d* the_Polyline = (TColgp_Array1OfPnt2d*) jcas_GetHandle(env,Polyline); -if ( the_Polyline == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Polyline = new TColgp_Array1OfPnt2d (); - // jcas_SetHandle ( env, Polyline, the_Polyline ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Select(*the_Polyline,the_aView,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1Select_13 (JNIEnv *env, jobject theobj, jboolean updateviewer) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Select((Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1ShiftSelect_11 (JNIEnv *env, jobject theobj, jboolean updateviewer) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->ShiftSelect((Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1ShiftSelect_12 (JNIEnv *env, jobject theobj, jobject Polyline, jobject aView, jboolean updateviewer) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -TColgp_Array1OfPnt2d* the_Polyline = (TColgp_Array1OfPnt2d*) jcas_GetHandle(env,Polyline); -if ( the_Polyline == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Polyline = new TColgp_Array1OfPnt2d (); - // jcas_SetHandle ( env, Polyline, the_Polyline ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->ShiftSelect(*the_Polyline,the_aView,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1ShiftSelect_13 (JNIEnv *env, jobject theobj, jint XPMin, jint YPMin, jint XPMax, jint YPMax, jobject aView, jboolean updateviewer) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->ShiftSelect((Standard_Integer) XPMin,(Standard_Integer) YPMin,(Standard_Integer) XPMax,(Standard_Integer) YPMax,the_aView,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetToHilightSelected (JNIEnv *env, jobject theobj, jboolean toHilight) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetToHilightSelected((Standard_Boolean) toHilight); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_ToHilightSelected (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->ToHilightSelected(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetCurrentObject (JNIEnv *env, jobject theobj, jobject aniobj, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetCurrentObject(the_aniobj,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AddOrRemoveCurrentObject (JNIEnv *env, jobject theobj, jobject aniobj, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->AddOrRemoveCurrentObject(the_aniobj,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_UpdateCurrent (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->UpdateCurrent(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_WasCurrentTouched (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->WasCurrentTouched(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetOkCurrent (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetOkCurrent(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_IsCurrent (JNIEnv *env, jobject theobj, jobject aniobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IsCurrent(the_aniobj); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_InitCurrent (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->InitCurrent(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_MoreCurrent (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->MoreCurrent(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_NextCurrent (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->NextCurrent(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Current (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -Handle(AIS_InteractiveObject)* theret = new Handle(AIS_InteractiveObject); -*theret = the_this->Current(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/AIS_InteractiveObject",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_NbCurrents (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->NbCurrents(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_FirstCurrentObject (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -Handle(AIS_InteractiveObject)* theret = new Handle(AIS_InteractiveObject); -*theret = the_this->FirstCurrentObject(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/AIS_InteractiveObject",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HilightCurrents (JNIEnv *env, jobject theobj, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->HilightCurrents((Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_UnhilightCurrents (JNIEnv *env, jobject theobj, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->UnhilightCurrents((Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_ClearCurrents (JNIEnv *env, jobject theobj, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->ClearCurrents((Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetSelected (JNIEnv *env, jobject theobj, jobject aniObj, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniObj; - void* ptr_aniObj = jcas_GetHandle(env,aniObj); - - if ( ptr_aniObj != NULL ) the_aniObj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniObj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetSelected(the_aniObj,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetSelectedCurrent (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetSelectedCurrent(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_UpdateSelected (JNIEnv *env, jobject theobj, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->UpdateSelected((Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1AddOrRemoveSelected_11 (JNIEnv *env, jobject theobj, jobject aniobj, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->AddOrRemoveSelected(the_aniobj,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HilightSelected (JNIEnv *env, jobject theobj, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->HilightSelected((Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_UnhilightSelected (JNIEnv *env, jobject theobj, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->UnhilightSelected((Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_ClearSelected (JNIEnv *env, jobject theobj, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->ClearSelected((Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1AddOrRemoveSelected_12 (JNIEnv *env, jobject theobj, jobject aShape, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_aShape = (TopoDS_Shape*) jcas_GetHandle(env,aShape); -if ( the_aShape == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aShape = new TopoDS_Shape (); - // jcas_SetHandle ( env, aShape, the_aShape ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->AddOrRemoveSelected(*the_aShape,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1AddOrRemoveSelected_13 (JNIEnv *env, jobject theobj, jobject anOwner, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( SelectMgr_EntityOwner ) the_anOwner; - void* ptr_anOwner = jcas_GetHandle(env,anOwner); - - if ( ptr_anOwner != NULL ) the_anOwner = *( ( Handle( SelectMgr_EntityOwner )* )ptr_anOwner ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->AddOrRemoveSelected(the_anOwner,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_IsSelected (JNIEnv *env, jobject theobj, jobject aniobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IsSelected(the_aniobj); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_InitSelected (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->InitSelected(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_MoreSelected (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->MoreSelected(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_NextSelected (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->NextSelected(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_NbSelected (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->NbSelected(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HasSelectedShape (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->HasSelectedShape(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SelectedShape (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -TopoDS_Shape* theret = new TopoDS_Shape(the_this->SelectedShape()); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TopoDS_Shape",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SelectedOwner (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -Handle(SelectMgr_EntityOwner)* theret = new Handle(SelectMgr_EntityOwner); -*theret = the_this->SelectedOwner(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/SelectMgr_EntityOwner",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Interactive (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -Handle(AIS_InteractiveObject)* theret = new Handle(AIS_InteractiveObject); -*theret = the_this->Interactive(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/AIS_InteractiveObject",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SelectedInteractive (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -Handle(AIS_InteractiveObject)* theret = new Handle(AIS_InteractiveObject); -*theret = the_this->SelectedInteractive(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/AIS_InteractiveObject",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HasApplicative (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->HasApplicative(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Applicative (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -Handle(Standard_Transient)* theret = new Handle(Standard_Transient); -*theret = the_this->Applicative(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Standard_Transient",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HasDetected (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->HasDetected(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HasDetectedShape (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->HasDetectedShape(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DetectedShape (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -const TopoDS_Shape& theret = the_this->DetectedShape(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TopoDS_Shape",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DetectedInteractive (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -Handle(AIS_InteractiveObject)* theret = new Handle(AIS_InteractiveObject); -*theret = the_this->DetectedInteractive(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/AIS_InteractiveObject",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DetectedOwner (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -Handle(SelectMgr_EntityOwner)* theret = new Handle(SelectMgr_EntityOwner); -*theret = the_this->DetectedOwner(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/SelectMgr_EntityOwner",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_InitDetected (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->InitDetected(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_MoreDetected (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->MoreDetected(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_NextDetected (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->NextDetected(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DetectedCurrentShape (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -const TopoDS_Shape& theret = the_this->DetectedCurrentShape(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TopoDS_Shape",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DetectedCurrentObject (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -Handle(AIS_InteractiveObject)* theret = new Handle(AIS_InteractiveObject); -*theret = the_this->DetectedCurrentObject(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/AIS_InteractiveObject",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_OpenLocalContext (JNIEnv *env, jobject theobj, jboolean UseDisplayedObjects, jboolean AllowShapeDecomposition, jboolean AcceptEraseOfObjects, jboolean BothViewers) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->OpenLocalContext((Standard_Boolean) UseDisplayedObjects,(Standard_Boolean) AllowShapeDecomposition,(Standard_Boolean) AcceptEraseOfObjects,(Standard_Boolean) BothViewers); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_CloseLocalContext (JNIEnv *env, jobject theobj, jint Index, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->CloseLocalContext((Standard_Integer) Index,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_IndexOfCurrentLocal (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IndexOfCurrentLocal(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_CloseAllContexts (JNIEnv *env, jobject theobj, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->CloseAllContexts((Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_ResetOriginalState (JNIEnv *env, jobject theobj, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->ResetOriginalState((Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_ClearLocalContext (JNIEnv *env, jobject theobj, jshort TheMode) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->ClearLocalContext((AIS_ClearMode) TheMode); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_UseDisplayedObjects (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->UseDisplayedObjects(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_NotUseDisplayedObjects (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->NotUseDisplayedObjects(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_BeginImmediateDraw (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->BeginImmediateDraw(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_ImmediateAdd (JNIEnv *env, jobject theobj, jobject anIObj, jint aMode) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anIObj; - void* ptr_anIObj = jcas_GetHandle(env,anIObj); - - if ( ptr_anIObj != NULL ) the_anIObj = *( ( Handle( AIS_InteractiveObject )* )ptr_anIObj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->ImmediateAdd(the_anIObj,(Standard_Integer) aMode); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_ImmediateRemove (JNIEnv *env, jobject theobj, jobject anIObj, jint aMode) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anIObj; - void* ptr_anIObj = jcas_GetHandle(env,anIObj); - - if ( ptr_anIObj != NULL ) the_anIObj = *( ( Handle( AIS_InteractiveObject )* )ptr_anIObj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->ImmediateRemove(the_anIObj,(Standard_Integer) aMode); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1EndImmediateDraw_11 (JNIEnv *env, jobject theobj, jobject aView, jboolean DoubleBuf) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->EndImmediateDraw(the_aView,(Standard_Boolean) DoubleBuf); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1EndImmediateDraw_12 (JNIEnv *env, jobject theobj, jboolean DoubleBuf) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->EndImmediateDraw((Standard_Boolean) DoubleBuf); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_IsImmediateModeOn (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IsImmediateModeOn(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Drag (JNIEnv *env, jobject theobj, jobject aView, jobject anObject, jobject aTranformation, jboolean postConcatenate, jboolean update, jboolean zBuffer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - - Handle( AIS_InteractiveObject ) the_anObject; - void* ptr_anObject = jcas_GetHandle(env,anObject); - - if ( ptr_anObject != NULL ) the_anObject = *( ( Handle( AIS_InteractiveObject )* )ptr_anObject ); - - Handle( Geom_Transformation ) the_aTranformation; - void* ptr_aTranformation = jcas_GetHandle(env,aTranformation); - - if ( ptr_aTranformation != NULL ) the_aTranformation = *( ( Handle( Geom_Transformation )* )ptr_aTranformation ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->Drag(the_aView,the_anObject,the_aTranformation,(Standard_Boolean) postConcatenate,(Standard_Boolean) update,(Standard_Boolean) zBuffer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetAutomaticHilight (JNIEnv *env, jobject theobj, jboolean aStatus) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetAutomaticHilight((Standard_Boolean) aStatus); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AutomaticHilight (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->AutomaticHilight(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetZDetection (JNIEnv *env, jobject theobj, jboolean aStatus) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetZDetection((Standard_Boolean) aStatus); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_ZDetection (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->ZDetection(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Activate (JNIEnv *env, jobject theobj, jobject anIobj, jint aMode) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anIobj; - void* ptr_anIobj = jcas_GetHandle(env,anIobj); - - if ( ptr_anIobj != NULL ) the_anIobj = *( ( Handle( AIS_InteractiveObject )* )ptr_anIobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->Activate(the_anIobj,(Standard_Integer) aMode); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1Deactivate_11 (JNIEnv *env, jobject theobj, jobject anIObj) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anIObj; - void* ptr_anIObj = jcas_GetHandle(env,anIObj); - - if ( ptr_anIObj != NULL ) the_anIObj = *( ( Handle( AIS_InteractiveObject )* )ptr_anIObj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->Deactivate(the_anIObj); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1Deactivate_12 (JNIEnv *env, jobject theobj, jobject anIobj, jint aMode) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anIobj; - void* ptr_anIobj = jcas_GetHandle(env,anIobj); - - if ( ptr_anIobj != NULL ) the_anIobj = *( ( Handle( AIS_InteractiveObject )* )ptr_anIobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->Deactivate(the_anIobj,(Standard_Integer) aMode); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_ActivatedModes (JNIEnv *env, jobject theobj, jobject anIobj, jobject theList) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anIobj; - void* ptr_anIobj = jcas_GetHandle(env,anIobj); - - if ( ptr_anIobj != NULL ) the_anIobj = *( ( Handle( AIS_InteractiveObject )* )ptr_anIobj ); - -TColStd_ListOfInteger* the_theList = (TColStd_ListOfInteger*) jcas_GetHandle(env,theList); -if ( the_theList == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_theList = new TColStd_ListOfInteger (); - // jcas_SetHandle ( env, theList, the_theList ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->ActivatedModes(the_anIobj,*the_theList); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetShapeDecomposition (JNIEnv *env, jobject theobj, jobject anIobj, jboolean aStatus) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anIobj; - void* ptr_anIobj = jcas_GetHandle(env,anIobj); - - if ( ptr_anIobj != NULL ) the_anIobj = *( ( Handle( AIS_InteractiveObject )* )ptr_anIobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetShapeDecomposition(the_anIobj,(Standard_Boolean) aStatus); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetTemporaryAttributes (JNIEnv *env, jobject theobj, jobject anObj, jobject aDrawer, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anObj; - void* ptr_anObj = jcas_GetHandle(env,anObj); - - if ( ptr_anObj != NULL ) the_anObj = *( ( Handle( AIS_InteractiveObject )* )ptr_anObj ); - - Handle( Prs3d_Drawer ) the_aDrawer; - void* ptr_aDrawer = jcas_GetHandle(env,aDrawer); - - if ( ptr_aDrawer != NULL ) the_aDrawer = *( ( Handle( Prs3d_Drawer )* )ptr_aDrawer ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SetTemporaryAttributes(the_anObj,the_aDrawer,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SubIntensityOn_11 (JNIEnv *env, jobject theobj, jobject aniobj, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SubIntensityOn(the_aniobj,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SubIntensityOff_11 (JNIEnv *env, jobject theobj, jobject aniobj, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_aniobj; - void* ptr_aniobj = jcas_GetHandle(env,aniobj); - - if ( ptr_aniobj != NULL ) the_aniobj = *( ( Handle( AIS_InteractiveObject )* )ptr_aniobj ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SubIntensityOff(the_aniobj,(Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SubIntensityOn_12 (JNIEnv *env, jobject theobj, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SubIntensityOn((Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SubIntensityOff_12 (JNIEnv *env, jobject theobj, jboolean updateviewer) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->SubIntensityOff((Standard_Boolean) updateviewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AddFilter (JNIEnv *env, jobject theobj, jobject aFilter) -{ - -jcas_Locking alock(env); -{ -try { - Handle( SelectMgr_Filter ) the_aFilter; - void* ptr_aFilter = jcas_GetHandle(env,aFilter); - - if ( ptr_aFilter != NULL ) the_aFilter = *( ( Handle( SelectMgr_Filter )* )ptr_aFilter ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->AddFilter(the_aFilter); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_RemoveFilter (JNIEnv *env, jobject theobj, jobject aFilter) -{ - -jcas_Locking alock(env); -{ -try { - Handle( SelectMgr_Filter ) the_aFilter; - void* ptr_aFilter = jcas_GetHandle(env,aFilter); - - if ( ptr_aFilter != NULL ) the_aFilter = *( ( Handle( SelectMgr_Filter )* )ptr_aFilter ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->RemoveFilter(the_aFilter); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_RemoveFilters (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->RemoveFilters(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_ActivateStandardMode (JNIEnv *env, jobject theobj, jshort aStandardActivation) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->ActivateStandardMode((TopAbs_ShapeEnum) aStandardActivation); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DeactivateStandardMode (JNIEnv *env, jobject theobj, jshort aStandardActivation) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->DeactivateStandardMode((TopAbs_ShapeEnum) aStandardActivation); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_ActivatedStandardModes (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -const TColStd_ListOfInteger& theret = the_this->ActivatedStandardModes(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TColStd_ListOfInteger",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Filters (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -const SelectMgr_ListOfFilter& theret = the_this->Filters(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/SelectMgr_ListOfFilter",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DefaultDrawer (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -Handle(Prs3d_Drawer)* theret = new Handle(Prs3d_Drawer); -*theret = the_this->DefaultDrawer(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Prs3d_Drawer",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_CurrentViewer (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -Handle(V3d_Viewer)* theret = new Handle(V3d_Viewer); -*theret = the_this->CurrentViewer(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/V3d_Viewer",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1DisplayedObjects_11 (JNIEnv *env, jobject theobj, jobject aListOfIO, jboolean OnlyFromNeutral) -{ - -jcas_Locking alock(env); -{ -try { -AIS_ListOfInteractive* the_aListOfIO = (AIS_ListOfInteractive*) jcas_GetHandle(env,aListOfIO); -if ( the_aListOfIO == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aListOfIO = new AIS_ListOfInteractive (); - // jcas_SetHandle ( env, aListOfIO, the_aListOfIO ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->DisplayedObjects(*the_aListOfIO,(Standard_Boolean) OnlyFromNeutral); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1DisplayedObjects_12 (JNIEnv *env, jobject theobj, jshort WhichKind, jint WhichSignature, jobject aListOfIO, jboolean OnlyFromNeutral) -{ - -jcas_Locking alock(env); -{ -try { -AIS_ListOfInteractive* the_aListOfIO = (AIS_ListOfInteractive*) jcas_GetHandle(env,aListOfIO); -if ( the_aListOfIO == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aListOfIO = new AIS_ListOfInteractive (); - // jcas_SetHandle ( env, aListOfIO, the_aListOfIO ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->DisplayedObjects((AIS_KindOfInteractive) WhichKind,(Standard_Integer) WhichSignature,*the_aListOfIO,(Standard_Boolean) OnlyFromNeutral); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Collector (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -Handle(V3d_Viewer)* theret = new Handle(V3d_Viewer); -*theret = the_this->Collector(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/V3d_Viewer",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1ObjectsInCollector_11 (JNIEnv *env, jobject theobj, jobject aListOfIO) -{ - -jcas_Locking alock(env); -{ -try { -AIS_ListOfInteractive* the_aListOfIO = (AIS_ListOfInteractive*) jcas_GetHandle(env,aListOfIO); -if ( the_aListOfIO == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aListOfIO = new AIS_ListOfInteractive (); - // jcas_SetHandle ( env, aListOfIO, the_aListOfIO ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->ObjectsInCollector(*the_aListOfIO); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1ObjectsInCollector_12 (JNIEnv *env, jobject theobj, jshort WhichKind, jint WhichSignature, jobject aListOfIO) -{ - -jcas_Locking alock(env); -{ -try { -AIS_ListOfInteractive* the_aListOfIO = (AIS_ListOfInteractive*) jcas_GetHandle(env,aListOfIO); -if ( the_aListOfIO == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aListOfIO = new AIS_ListOfInteractive (); - // jcas_SetHandle ( env, aListOfIO, the_aListOfIO ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->ObjectsInCollector((AIS_KindOfInteractive) WhichKind,(Standard_Integer) WhichSignature,*the_aListOfIO); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_ObjectsInside (JNIEnv *env, jobject theobj, jobject aListOfIO, jshort WhichKind, jint WhichSignature) -{ - -jcas_Locking alock(env); -{ -try { -AIS_ListOfInteractive* the_aListOfIO = (AIS_ListOfInteractive*) jcas_GetHandle(env,aListOfIO); -if ( the_aListOfIO == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aListOfIO = new AIS_ListOfInteractive (); - // jcas_SetHandle ( env, aListOfIO, the_aListOfIO ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->ObjectsInside(*the_aListOfIO,(AIS_KindOfInteractive) WhichKind,(Standard_Integer) WhichSignature); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HasOpenedContext (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->HasOpenedContext(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_CurrentName (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -const TCollection_AsciiString& theret = the_this->CurrentName(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TCollection_AsciiString",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SelectionName (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -const TCollection_AsciiString& theret = the_this->SelectionName(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TCollection_AsciiString",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DomainOfMainViewer (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -Standard_CString sret = the_this->DomainOfMainViewer(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DomainOfCollector (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -Standard_CString sret = the_this->DomainOfCollector(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SelectionManager (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -Handle(SelectMgr_SelectionManager)* theret = new Handle(SelectMgr_SelectionManager); -*theret = the_this->SelectionManager(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/SelectMgr_SelectionManager",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_MainPrsMgr (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -Handle(PrsMgr_PresentationManager3d)* theret = new Handle(PrsMgr_PresentationManager3d); -*theret = the_this->MainPrsMgr(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/PrsMgr_PresentationManager3d",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_CollectorPrsMgr (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -Handle(PrsMgr_PresentationManager3d)* theret = new Handle(PrsMgr_PresentationManager3d); -*theret = the_this->CollectorPrsMgr(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/PrsMgr_PresentationManager3d",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_MainSelector (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -Handle(StdSelect_ViewerSelector3d)* theret = new Handle(StdSelect_ViewerSelector3d); -*theret = the_this->MainSelector(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/StdSelect_ViewerSelector3d",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_LocalSelector (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -Handle(StdSelect_ViewerSelector3d)* theret = new Handle(StdSelect_ViewerSelector3d); -*theret = the_this->LocalSelector(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/StdSelect_ViewerSelector3d",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_CollectorSelector (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -Handle(StdSelect_ViewerSelector3d)* theret = new Handle(StdSelect_ViewerSelector3d); -*theret = the_this->CollectorSelector(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/StdSelect_ViewerSelector3d",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_PurgeDisplay (JNIEnv *env, jobject theobj, jboolean CollectorToo) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->PurgeDisplay((Standard_Boolean) CollectorToo); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HighestIndex (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->HighestIndex(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1DisplayActiveAreas_11 (JNIEnv *env, jobject theobj, jobject aView) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->DisplayActiveAreas(the_aView); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_ClearActiveAreas (JNIEnv *env, jobject theobj, jobject aView) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->ClearActiveAreas(the_aView); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1DisplayActiveSensitive_11 (JNIEnv *env, jobject theobj, jobject aView) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->DisplayActiveSensitive(the_aView); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_ClearActiveSensitive (JNIEnv *env, jobject theobj, jobject aView) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->ClearActiveSensitive(the_aView); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1DisplayActiveSensitive_12 (JNIEnv *env, jobject theobj, jobject anObject, jobject aView) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anObject; - void* ptr_anObject = jcas_GetHandle(env,anObject); - - if ( ptr_anObject != NULL ) the_anObject = *( ( Handle( AIS_InteractiveObject )* )ptr_anObject ); - - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->DisplayActiveSensitive(the_anObject,the_aView); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1DisplayActiveAreas_12 (JNIEnv *env, jobject theobj, jobject anObject, jobject aView) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anObject; - void* ptr_anObject = jcas_GetHandle(env,anObject); - - if ( ptr_anObject != NULL ) the_anObject = *( ( Handle( AIS_InteractiveObject )* )ptr_anObject ); - - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->DisplayActiveAreas(the_anObject,the_aView); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_IsInLocal (JNIEnv *env, jobject theobj, jobject anObject, jobject TheIndex) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anObject; - void* ptr_anObject = jcas_GetHandle(env,anObject); - - if ( ptr_anObject != NULL ) the_anObject = *( ( Handle( AIS_InteractiveObject )* )ptr_anObject ); - -Standard_Integer the_TheIndex = jcas_GetInteger(env,TheIndex); -Handle(AIS_InteractiveContext) the_this = *((Handle(AIS_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IsInLocal(the_anObject,the_TheIndex); -jcas_SetInteger(env,TheIndex,the_TheIndex); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_AIS_InteractiveObject_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_AIS_InteractiveObject_java.cxx deleted file mode 100755 index c31ca3464d..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_AIS_InteractiveObject_java.cxx +++ /dev/null @@ -1,1848 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_Type (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Type(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_Signature (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Signature(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_AcceptShapeDecomposition (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->AcceptShapeDecomposition(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SetCurrentFacingModel (JNIEnv *env, jobject theobj, jshort aModel) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->SetCurrentFacingModel((Aspect_TypeOfFacingModel) aModel); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_CurrentFacingModel (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->CurrentFacingModel(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_AIS_1InteractiveObject_1SetColor_11 (JNIEnv *env, jobject theobj, jobject aColor) -{ - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_aColor = (Quantity_Color*) jcas_GetHandle(env,aColor); -if ( the_aColor == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aColor = new Quantity_Color (); - // jcas_SetHandle ( env, aColor, the_aColor ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->SetColor(*the_aColor); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_AIS_1InteractiveObject_1SetColor_12 (JNIEnv *env, jobject theobj, jshort aColor) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->SetColor((Quantity_NameOfColor) aColor); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_UnsetColor (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->UnsetColor(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SetWidth (JNIEnv *env, jobject theobj, jdouble aValue) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->SetWidth((Standard_Real) aValue); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_UnsetWidth (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->UnsetWidth(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_AcceptDisplayMode (JNIEnv *env, jobject theobj, jint aMode) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->AcceptDisplayMode((Standard_Integer) aMode); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_DefaultDisplayMode (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->DefaultDisplayMode(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_Redisplay (JNIEnv *env, jobject theobj, jboolean AllModes) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->Redisplay((Standard_Boolean) AllModes); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SetInfiniteState (JNIEnv *env, jobject theobj, jboolean aFlag) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->SetInfiniteState((Standard_Boolean) aFlag); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_IsInfinite (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IsInfinite(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_HasInteractiveContext (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->HasInteractiveContext(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_GetContext (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -Handle(AIS_InteractiveContext)* theret = new Handle(AIS_InteractiveContext); -*theret = the_this->GetContext(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/AIS_InteractiveContext",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SetContext (JNIEnv *env, jobject theobj, jobject aCtx) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aCtx; - void* ptr_aCtx = jcas_GetHandle(env,aCtx); - - if ( ptr_aCtx != NULL ) the_aCtx = *( ( Handle( AIS_InteractiveContext )* )ptr_aCtx ); - -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->SetContext(the_aCtx); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_HasOwner (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->HasOwner(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_GetOwner (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -Handle(Standard_Transient)* theret = new Handle(Standard_Transient); -*theret = the_this->GetOwner(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Standard_Transient",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SetOwner (JNIEnv *env, jobject theobj, jobject ApplicativeEntity) -{ - -jcas_Locking alock(env); -{ -try { - Handle( Standard_Transient ) the_ApplicativeEntity; - void* ptr_ApplicativeEntity = jcas_GetHandle(env,ApplicativeEntity); - - if ( ptr_ApplicativeEntity != NULL ) the_ApplicativeEntity = *( ( Handle( Standard_Transient )* )ptr_ApplicativeEntity ); - -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->SetOwner(the_ApplicativeEntity); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_ClearOwner (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->ClearOwner(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_HasUsers (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->HasUsers(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_Users (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -const TColStd_ListOfTransient& theret = the_this->Users(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TColStd_ListOfTransient",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_AddUser (JNIEnv *env, jobject theobj, jobject aUser) -{ - -jcas_Locking alock(env); -{ -try { - Handle( Standard_Transient ) the_aUser; - void* ptr_aUser = jcas_GetHandle(env,aUser); - - if ( ptr_aUser != NULL ) the_aUser = *( ( Handle( Standard_Transient )* )ptr_aUser ); - -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->AddUser(the_aUser); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_ClearUsers (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->ClearUsers(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_HasDisplayMode (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->HasDisplayMode(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SetDisplayMode (JNIEnv *env, jobject theobj, jint aMode) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->SetDisplayMode((Standard_Integer) aMode); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_UnsetDisplayMode (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->UnsetDisplayMode(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_DisplayMode (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->DisplayMode(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_HasSelectionMode (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->HasSelectionMode(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SelectionMode (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->SelectionMode(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SetSelectionMode (JNIEnv *env, jobject theobj, jint aMode) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->SetSelectionMode((Standard_Integer) aMode); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_UnsetSelectionMode (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->UnsetSelectionMode(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SelectionPriority (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->SelectionPriority(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SetSelectionPriority (JNIEnv *env, jobject theobj, jint aPriority) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->SetSelectionPriority((Standard_Integer) aPriority); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_UnsetSelectionPriority (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->UnsetSelectionPriority(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_HasSelectionPriority (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->HasSelectionPriority(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_HasHilightMode (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->HasHilightMode(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_HilightMode (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->HilightMode(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SetHilightMode (JNIEnv *env, jobject theobj, jint anIndex) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->SetHilightMode((Standard_Integer) anIndex); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_UnsetHilightMode (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->UnsetHilightMode(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_HasColor (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->HasColor(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_AIS_1InteractiveObject_1Color_11 (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Color(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_AIS_1InteractiveObject_1Color_12 (JNIEnv *env, jobject theobj, jobject aColor) -{ - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_aColor = (Quantity_Color*) jcas_GetHandle(env,aColor); -if ( the_aColor == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aColor = new Quantity_Color (); - // jcas_SetHandle ( env, aColor, the_aColor ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->Color(*the_aColor); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_HasWidth (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->HasWidth(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_Width (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Width(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_HasMaterial (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->HasMaterial(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_Material (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Material(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_AIS_1InteractiveObject_1SetMaterial_11 (JNIEnv *env, jobject theobj, jshort aName) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->SetMaterial((Graphic3d_NameOfMaterial) aName); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_AIS_1InteractiveObject_1SetMaterial_12 (JNIEnv *env, jobject theobj, jobject aName) -{ - -jcas_Locking alock(env); -{ -try { -Graphic3d_MaterialAspect* the_aName = (Graphic3d_MaterialAspect*) jcas_GetHandle(env,aName); -if ( the_aName == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aName = new Graphic3d_MaterialAspect (); - // jcas_SetHandle ( env, aName, the_aName ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->SetMaterial(*the_aName); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_UnsetMaterial (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->UnsetMaterial(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SetTransparency (JNIEnv *env, jobject theobj, jdouble aValue) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->SetTransparency((Standard_Real) aValue); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_IsTransparent (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IsTransparent(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_Transparency (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Transparency(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_UnsetTransparency (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->UnsetTransparency(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SetAttributes (JNIEnv *env, jobject theobj, jobject aDrawer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_Drawer ) the_aDrawer; - void* ptr_aDrawer = jcas_GetHandle(env,aDrawer); - - if ( ptr_aDrawer != NULL ) the_aDrawer = *( ( Handle( AIS_Drawer )* )ptr_aDrawer ); - -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->SetAttributes(the_aDrawer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_Attributes (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -Handle(AIS_Drawer)* theret = new Handle(AIS_Drawer); -*theret = the_this->Attributes(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/AIS_Drawer",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_UnsetAttributes (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->UnsetAttributes(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_AIS_1InteractiveObject_1State_11 (JNIEnv *env, jobject theobj, jint theState) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->State((Standard_Integer) theState); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_AIS_1InteractiveObject_1State_12 (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->State(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SetDegenerateModel (JNIEnv *env, jobject theobj, jshort aModel, jdouble aRatio) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->SetDegenerateModel((Aspect_TypeOfDegenerateModel) aModel,(Quantity_Ratio) aRatio); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_DegenerateModel (JNIEnv *env, jobject theobj, jobject aRatio) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Standard_Real the_aRatio = jcas_GetReal(env,aRatio); -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->DegenerateModel(the_aRatio); -jcas_SetReal(env,aRatio,the_aRatio); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SetTransformation (JNIEnv *env, jobject theobj, jobject aTranformation, jboolean postConcatenate, jboolean updateSelection) -{ - -jcas_Locking alock(env); -{ -try { - Handle( Geom_Transformation ) the_aTranformation; - void* ptr_aTranformation = jcas_GetHandle(env,aTranformation); - - if ( ptr_aTranformation != NULL ) the_aTranformation = *( ( Handle( Geom_Transformation )* )ptr_aTranformation ); - -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->SetTransformation(the_aTranformation,(Standard_Boolean) postConcatenate,(Standard_Boolean) updateSelection); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_UnsetTransformation (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->UnsetTransformation(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_Transformation (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -Handle(Geom_Transformation)* theret = new Handle(Geom_Transformation); -*theret = the_this->Transformation(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Geom_Transformation",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_HasTransformation (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->HasTransformation(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_HasPresentation (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->HasPresentation(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_Presentation (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -Handle(Prs3d_Presentation)* theret = new Handle(Prs3d_Presentation); -*theret = the_this->Presentation(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Prs3d_Presentation",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SetAspect (JNIEnv *env, jobject theobj, jobject anAspect, jboolean globalChange) -{ - -jcas_Locking alock(env); -{ -try { - Handle( Prs3d_BasicAspect ) the_anAspect; - void* ptr_anAspect = jcas_GetHandle(env,anAspect); - - if ( ptr_anAspect != NULL ) the_anAspect = *( ( Handle( Prs3d_BasicAspect )* )ptr_anAspect ); - -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->SetAspect(the_anAspect,(Standard_Boolean) globalChange); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SetPolygonOffsets (JNIEnv *env, jobject theobj, jint aMode, jdouble aFactor, jdouble aUnits) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->SetPolygonOffsets((Standard_Integer) aMode,(Standard_Real) aFactor,(Standard_Real) aUnits); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_HasPolygonOffsets (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->HasPolygonOffsets(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_PolygonOffsets (JNIEnv *env, jobject theobj, jobject aMode, jobject aFactor, jobject aUnits) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Integer the_aMode = jcas_GetInteger(env,aMode); -Standard_Real the_aFactor = jcas_GetReal(env,aFactor); -Standard_Real the_aUnits = jcas_GetReal(env,aUnits); -Handle(AIS_InteractiveObject) the_this = *((Handle(AIS_InteractiveObject)*) jcas_GetHandle(env,theobj)); -the_this->PolygonOffsets(the_aMode,the_aFactor,the_aUnits); -jcas_SetInteger(env,aMode,the_aMode); -jcas_SetReal(env,aFactor,the_aFactor); -jcas_SetReal(env,aUnits,the_aUnits); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_AIS_ListOfInteractive_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_AIS_ListOfInteractive_java.cxx deleted file mode 100755 index 048e0e22fc..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_AIS_ListOfInteractive_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1ListOfInteractive_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - AIS_ListOfInteractive* theobj = (AIS_ListOfInteractive*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_AIS_Shape_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_AIS_Shape_java.cxx deleted file mode 100755 index 3118a7a9bb..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_AIS_Shape_java.cxx +++ /dev/null @@ -1,1049 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_AIS_1Shape_1Create_10 (JNIEnv *env, jobject theobj, jobject shap) -{ - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_shap = (TopoDS_Shape*) jcas_GetHandle(env,shap); -if ( the_shap == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_shap = new TopoDS_Shape (); - // jcas_SetHandle ( env, shap, the_shap ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(AIS_Shape)* theret = new Handle(AIS_Shape); -*theret = new AIS_Shape(*the_shap); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1Shape_Signature (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Signature(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1Shape_Type (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Type(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1Shape_AcceptShapeDecomposition (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); - thejret = the_this->AcceptShapeDecomposition(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_Set (JNIEnv *env, jobject theobj, jobject ashap) -{ - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_ashap = (TopoDS_Shape*) jcas_GetHandle(env,ashap); -if ( the_ashap == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_ashap = new TopoDS_Shape (); - // jcas_SetHandle ( env, ashap, the_ashap ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); -the_this->Set(*the_ashap); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1Shape_Shape (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); -const TopoDS_Shape& theret = the_this->Shape(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TopoDS_Shape",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1Shape_AIS_1Shape_1SetOwnDeviationCoefficient_11 (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); - thejret = the_this->SetOwnDeviationCoefficient(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1Shape_AIS_1Shape_1SetOwnHLRDeviationCoefficient_11 (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); - thejret = the_this->SetOwnHLRDeviationCoefficient(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1Shape_AIS_1Shape_1SetOwnDeviationAngle_11 (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); - thejret = the_this->SetOwnDeviationAngle(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1Shape_AIS_1Shape_1SetOwnHLRDeviationAngle_11 (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); - thejret = the_this->SetOwnHLRDeviationAngle(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_AIS_1Shape_1SetOwnDeviationCoefficient_12 (JNIEnv *env, jobject theobj, jdouble aCoefficient) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); -the_this->SetOwnDeviationCoefficient((Standard_Real) aCoefficient); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_AIS_1Shape_1SetOwnHLRDeviationCoefficient_12 (JNIEnv *env, jobject theobj, jdouble aCoefficient) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); -the_this->SetOwnHLRDeviationCoefficient((Standard_Real) aCoefficient); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_SetAngleAndDeviation (JNIEnv *env, jobject theobj, jdouble anAngle) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); -the_this->SetAngleAndDeviation((Standard_Real) anAngle); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_AIS_1Shape_UserAngle (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); - thejret = the_this->UserAngle(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_AIS_1Shape_1SetOwnDeviationAngle_12 (JNIEnv *env, jobject theobj, jdouble anAngle) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); -the_this->SetOwnDeviationAngle((Standard_Real) anAngle); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_SetHLRAngleAndDeviation (JNIEnv *env, jobject theobj, jdouble anAngle) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); -the_this->SetHLRAngleAndDeviation((Standard_Real) anAngle); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_AIS_1Shape_1SetOwnHLRDeviationAngle_12 (JNIEnv *env, jobject theobj, jdouble anAngle) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); -the_this->SetOwnHLRDeviationAngle((Standard_Real) anAngle); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1Shape_OwnDeviationCoefficient (JNIEnv *env, jobject theobj, jobject aCoefficient, jobject aPreviousCoefficient) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_Real the_aCoefficient = jcas_GetReal(env,aCoefficient); -Standard_Real the_aPreviousCoefficient = jcas_GetReal(env,aPreviousCoefficient); -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); - thejret = the_this->OwnDeviationCoefficient(the_aCoefficient,the_aPreviousCoefficient); -jcas_SetReal(env,aCoefficient,the_aCoefficient); -jcas_SetReal(env,aPreviousCoefficient,the_aPreviousCoefficient); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1Shape_OwnHLRDeviationCoefficient (JNIEnv *env, jobject theobj, jobject aCoefficient, jobject aPreviousCoefficient) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_Real the_aCoefficient = jcas_GetReal(env,aCoefficient); -Standard_Real the_aPreviousCoefficient = jcas_GetReal(env,aPreviousCoefficient); -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); - thejret = the_this->OwnHLRDeviationCoefficient(the_aCoefficient,the_aPreviousCoefficient); -jcas_SetReal(env,aCoefficient,the_aCoefficient); -jcas_SetReal(env,aPreviousCoefficient,the_aPreviousCoefficient); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1Shape_OwnDeviationAngle (JNIEnv *env, jobject theobj, jobject anAngle, jobject aPreviousAngle) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_Real the_anAngle = jcas_GetReal(env,anAngle); -Standard_Real the_aPreviousAngle = jcas_GetReal(env,aPreviousAngle); -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); - thejret = the_this->OwnDeviationAngle(the_anAngle,the_aPreviousAngle); -jcas_SetReal(env,anAngle,the_anAngle); -jcas_SetReal(env,aPreviousAngle,the_aPreviousAngle); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1Shape_OwnHLRDeviationAngle (JNIEnv *env, jobject theobj, jobject anAngle, jobject aPreviousAngle) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_Real the_anAngle = jcas_GetReal(env,anAngle); -Standard_Real the_aPreviousAngle = jcas_GetReal(env,aPreviousAngle); -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); - thejret = the_this->OwnHLRDeviationAngle(the_anAngle,the_aPreviousAngle); -jcas_SetReal(env,anAngle,the_anAngle); -jcas_SetReal(env,aPreviousAngle,the_aPreviousAngle); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_AIS_1Shape_1SetColor_11 (JNIEnv *env, jobject theobj, jshort aColor) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); -the_this->SetColor((Quantity_NameOfColor) aColor); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_AIS_1Shape_1SetColor_12 (JNIEnv *env, jobject theobj, jobject aColor) -{ - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_aColor = (Quantity_Color*) jcas_GetHandle(env,aColor); -if ( the_aColor == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aColor = new Quantity_Color (); - // jcas_SetHandle ( env, aColor, the_aColor ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); -the_this->SetColor(*the_aColor); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_UnsetColor (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); -the_this->UnsetColor(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_SetWidth (JNIEnv *env, jobject theobj, jdouble aValue) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); -the_this->SetWidth((Standard_Real) aValue); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_UnsetWidth (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); -the_this->UnsetWidth(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_AIS_1Shape_1SetMaterial_11 (JNIEnv *env, jobject theobj, jshort aName) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); -the_this->SetMaterial((Graphic3d_NameOfMaterial) aName); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_AIS_1Shape_1SetMaterial_12 (JNIEnv *env, jobject theobj, jobject aName) -{ - -jcas_Locking alock(env); -{ -try { -Graphic3d_MaterialAspect* the_aName = (Graphic3d_MaterialAspect*) jcas_GetHandle(env,aName); -if ( the_aName == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aName = new Graphic3d_MaterialAspect (); - // jcas_SetHandle ( env, aName, the_aName ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); -the_this->SetMaterial(*the_aName); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_UnsetMaterial (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); -the_this->UnsetMaterial(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_SetTransparency (JNIEnv *env, jobject theobj, jdouble aValue) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); -the_this->SetTransparency((Standard_Real) aValue); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_UnsetTransparency (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); -the_this->UnsetTransparency(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1Shape_BoundingBox (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); -const Bnd_Box& theret = the_this->BoundingBox(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Bnd_Box",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1Shape_AIS_1Shape_1Color_11 (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Color(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_AIS_1Shape_1Color_12 (JNIEnv *env, jobject theobj, jobject aColor) -{ - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_aColor = (Quantity_Color*) jcas_GetHandle(env,aColor); -if ( the_aColor == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aColor = new Quantity_Color (); - // jcas_SetHandle ( env, aColor, the_aColor ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); -the_this->Color(*the_aColor); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1Shape_Material (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Material(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_AIS_1Shape_Transparency (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Handle(AIS_Shape) the_this = *((Handle(AIS_Shape)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Transparency(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1Shape_SelectionType (JNIEnv *env, jclass, jint aDecompositionMode) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { - thejret = AIS_Shape::SelectionType((Standard_Integer) aDecompositionMode); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1Shape_SelectionMode (JNIEnv *env, jclass, jshort aShapeType) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { - thejret = AIS_Shape::SelectionMode((TopAbs_ShapeEnum) aShapeType); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_AIS_1Shape_GetDeflection (JNIEnv *env, jclass, jobject aShape, jobject aDrawer) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_aShape = (TopoDS_Shape*) jcas_GetHandle(env,aShape); -if ( the_aShape == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aShape = new TopoDS_Shape (); - // jcas_SetHandle ( env, aShape, the_aShape ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if - Handle( Prs3d_Drawer ) the_aDrawer; - void* ptr_aDrawer = jcas_GetHandle(env,aDrawer); - - if ( ptr_aDrawer != NULL ) the_aDrawer = *( ( Handle( Prs3d_Drawer )* )ptr_aDrawer ); - - thejret = AIS_Shape::GetDeflection(*the_aShape,the_aDrawer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_AspectMarker_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_AspectMarker_java.cxx deleted file mode 100755 index dd574364b9..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_AspectMarker_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_Background_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_Background_java.cxx deleted file mode 100755 index e1d69aee24..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_Background_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1Background_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Aspect_Background* theobj = (Aspect_Background*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_ColorMapEntry_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_ColorMapEntry_java.cxx deleted file mode 100755 index ef134af155..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_ColorMapEntry_java.cxx +++ /dev/null @@ -1,323 +0,0 @@ -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#include -#include -#include -#include -#include -#include - -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1ColorMapEntry_Aspect_1ColorMapEntry_1Create_11 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_ColorMapEntry* theret = new Aspect_ColorMapEntry(); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1ColorMapEntry_Aspect_1ColorMapEntry_1Create_12 (JNIEnv *env, jobject theobj, jint index, jobject rgb) -{ - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_rgb = (Quantity_Color*) jcas_GetHandle(env,rgb); -Aspect_ColorMapEntry* theret = new Aspect_ColorMapEntry((Standard_Integer) index,*the_rgb); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1ColorMapEntry_Aspect_1ColorMapEntry_1Create_13 (JNIEnv *env, jobject theobj, jobject entry) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_ColorMapEntry* the_entry = (Aspect_ColorMapEntry*) jcas_GetHandle(env,entry); -Aspect_ColorMapEntry* theret = new Aspect_ColorMapEntry(*the_entry); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1ColorMapEntry_Aspect_1ColorMapEntry_1SetValue_11 (JNIEnv *env, jobject theobj, jint index, jobject rgb) -{ - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_rgb = (Quantity_Color*) jcas_GetHandle(env,rgb); -Aspect_ColorMapEntry* the_this = (Aspect_ColorMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetValue((Standard_Integer) index,*the_rgb); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1ColorMapEntry_Aspect_1ColorMapEntry_1SetValue_12 (JNIEnv *env, jobject theobj, jobject entry) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_ColorMapEntry* the_entry = (Aspect_ColorMapEntry*) jcas_GetHandle(env,entry); -Aspect_ColorMapEntry* the_this = (Aspect_ColorMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetValue(*the_entry); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1ColorMapEntry_SetColor (JNIEnv *env, jobject theobj, jobject rgb) -{ - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_rgb = (Quantity_Color*) jcas_GetHandle(env,rgb); -Aspect_ColorMapEntry* the_this = (Aspect_ColorMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetColor(*the_rgb); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1ColorMapEntry_Color (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_ColorMapEntry* the_this = (Aspect_ColorMapEntry*) jcas_GetHandle(env,theobj); -const Quantity_Color& theret = the_this->Color(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Quantity_Color",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1ColorMapEntry_SetIndex (JNIEnv *env, jobject theobj, jint index) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_ColorMapEntry* the_this = (Aspect_ColorMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetIndex((Standard_Integer) index); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_Aspect_1ColorMapEntry_Index (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_ColorMapEntry* the_this = (Aspect_ColorMapEntry*) jcas_GetHandle(env,theobj); - thejret = the_this->Index(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1ColorMapEntry_Free (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_ColorMapEntry* the_this = (Aspect_ColorMapEntry*) jcas_GetHandle(env,theobj); -the_this->Free(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_Aspect_1ColorMapEntry_IsAllocated (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_ColorMapEntry* the_this = (Aspect_ColorMapEntry*) jcas_GetHandle(env,theobj); - thejret = the_this->IsAllocated(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1ColorMapEntry_Dump (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_ColorMapEntry* the_this = (Aspect_ColorMapEntry*) jcas_GetHandle(env,theobj); -the_this->Dump(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1ColorMapEntry_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Aspect_ColorMapEntry* theobj = (Aspect_ColorMapEntry*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_ColorMap_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_ColorMap_java.cxx deleted file mode 100755 index 6e2b10eef0..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_ColorMap_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_ColorScale_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_ColorScale_java.cxx deleted file mode 100755 index 557ac2d1a5..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_ColorScale_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_Driver_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_Driver_java.cxx deleted file mode 100755 index fa5d12a578..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_Driver_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_FontMapEntry_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_FontMapEntry_java.cxx deleted file mode 100755 index 92e158e73b..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_FontMapEntry_java.cxx +++ /dev/null @@ -1,323 +0,0 @@ -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#include -#include -#include -#include -#include -#include - -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontMapEntry_Aspect_1FontMapEntry_1Create_11 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_FontMapEntry* theret = new Aspect_FontMapEntry(); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontMapEntry_Aspect_1FontMapEntry_1Create_12 (JNIEnv *env, jobject theobj, jint index, jobject style) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_style = (Aspect_FontStyle*) jcas_GetHandle(env,style); -Aspect_FontMapEntry* theret = new Aspect_FontMapEntry((Standard_Integer) index,*the_style); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontMapEntry_Aspect_1FontMapEntry_1Create_13 (JNIEnv *env, jobject theobj, jobject entry) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_FontMapEntry* the_entry = (Aspect_FontMapEntry*) jcas_GetHandle(env,entry); -Aspect_FontMapEntry* theret = new Aspect_FontMapEntry(*the_entry); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontMapEntry_Aspect_1FontMapEntry_1SetValue_11 (JNIEnv *env, jobject theobj, jint index, jobject style) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_style = (Aspect_FontStyle*) jcas_GetHandle(env,style); -Aspect_FontMapEntry* the_this = (Aspect_FontMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetValue((Standard_Integer) index,*the_style); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontMapEntry_Aspect_1FontMapEntry_1SetValue_12 (JNIEnv *env, jobject theobj, jobject entry) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_FontMapEntry* the_entry = (Aspect_FontMapEntry*) jcas_GetHandle(env,entry); -Aspect_FontMapEntry* the_this = (Aspect_FontMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetValue(*the_entry); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontMapEntry_SetType (JNIEnv *env, jobject theobj, jobject Style) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_Style = (Aspect_FontStyle*) jcas_GetHandle(env,Style); -Aspect_FontMapEntry* the_this = (Aspect_FontMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetType(*the_Style); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontMapEntry_Type (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontMapEntry* the_this = (Aspect_FontMapEntry*) jcas_GetHandle(env,theobj); -const Aspect_FontStyle& theret = the_this->Type(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_FontStyle",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontMapEntry_SetIndex (JNIEnv *env, jobject theobj, jint index) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_FontMapEntry* the_this = (Aspect_FontMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetIndex((Standard_Integer) index); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_Aspect_1FontMapEntry_Index (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontMapEntry* the_this = (Aspect_FontMapEntry*) jcas_GetHandle(env,theobj); - thejret = the_this->Index(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontMapEntry_Free (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_FontMapEntry* the_this = (Aspect_FontMapEntry*) jcas_GetHandle(env,theobj); -the_this->Free(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_Aspect_1FontMapEntry_IsAllocated (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontMapEntry* the_this = (Aspect_FontMapEntry*) jcas_GetHandle(env,theobj); - thejret = the_this->IsAllocated(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontMapEntry_Dump (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_FontMapEntry* the_this = (Aspect_FontMapEntry*) jcas_GetHandle(env,theobj); -the_this->Dump(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontMapEntry_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Aspect_FontMapEntry* theobj = (Aspect_FontMapEntry*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_FontMap_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_FontMap_java.cxx deleted file mode 100755 index 02e03bc025..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_FontMap_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_FontStyle_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_FontStyle_java.cxx deleted file mode 100755 index 784e877643..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_FontStyle_java.cxx +++ /dev/null @@ -1,979 +0,0 @@ -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Aspect_1FontStyle_1Create_11 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* theret = new Aspect_FontStyle(); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Aspect_1FontStyle_1Create_12 (JNIEnv *env, jobject theobj, jint Type, jdouble Size, jdouble Slant, jboolean CapsHeight) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* theret = new Aspect_FontStyle((Aspect_TypeOfFont) Type,(Quantity_Length) Size,(Quantity_PlaneAngle) Slant,(Standard_Boolean) CapsHeight); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Aspect_1FontStyle_1Create_13 (JNIEnv *env, jobject theobj, jobject Style, jdouble Size, jdouble Slant, jboolean CapsHeight) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_Style = jcas_ConvertToCString(env,Style); -Aspect_FontStyle* theret = new Aspect_FontStyle(the_Style,(Quantity_Length) Size,(Quantity_PlaneAngle) Slant,(Standard_Boolean) CapsHeight); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Aspect_1FontStyle_1Create_14 (JNIEnv *env, jobject theobj, jobject Style) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_Style = jcas_ConvertToCString(env,Style); -Aspect_FontStyle* theret = new Aspect_FontStyle(the_Style); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Assign (JNIEnv *env, jobject theobj, jobject Other) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_Other = (Aspect_FontStyle*) jcas_GetHandle(env,Other); -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -const Aspect_FontStyle& theret = the_this->Assign(*the_Other); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_FontStyle",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Aspect_1FontStyle_1SetValues_11 (JNIEnv *env, jobject theobj, jint Type, jdouble Size, jdouble Slant, jboolean CapsHeight) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -the_this->SetValues((Aspect_TypeOfFont) Type,(Quantity_Length) Size,(Quantity_PlaneAngle) Slant,(Standard_Boolean) CapsHeight); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Aspect_1FontStyle_1SetValues_12 (JNIEnv *env, jobject theobj, jobject Style, jdouble Size, jdouble Slant, jboolean CapsHeight) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_Style = jcas_ConvertToCString(env,Style); -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -the_this->SetValues(the_Style,(Quantity_Length) Size,(Quantity_PlaneAngle) Slant,(Standard_Boolean) CapsHeight); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Aspect_1FontStyle_1SetValues_13 (JNIEnv *env, jobject theobj, jobject Style) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_Style = jcas_ConvertToCString(env,Style); -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -the_this->SetValues(the_Style); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_SetFamily (JNIEnv *env, jobject theobj, jobject aName) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aName = jcas_ConvertToCString(env,aName); -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -the_this->SetFamily(the_aName); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_SetWeight (JNIEnv *env, jobject theobj, jobject aName) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aName = jcas_ConvertToCString(env,aName); -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -the_this->SetWeight(the_aName); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_SetRegistry (JNIEnv *env, jobject theobj, jobject aName) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aName = jcas_ConvertToCString(env,aName); -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -the_this->SetRegistry(the_aName); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_SetEncoding (JNIEnv *env, jobject theobj, jobject aName) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aName = jcas_ConvertToCString(env,aName); -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -the_this->SetEncoding(the_aName); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Style (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); - thejret = the_this->Style(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Length (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); - thejret = the_this->Length(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Value (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->Value(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Size (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); - thejret = the_this->Size(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Slant (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); - thejret = the_this->Slant(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_CapsHeight (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); - thejret = the_this->CapsHeight(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_AliasName (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->AliasName(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_FullName (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->FullName(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Foundry (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->Foundry(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Family (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->Family(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Weight (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->Weight(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Registry (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->Registry(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Encoding (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->Encoding(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_SSlant (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->SSlant(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_SWidth (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->SWidth(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_SStyle (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->SStyle(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_SPixelSize (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->SPixelSize(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_SPointSize (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->SPointSize(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_SResolutionX (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->SResolutionX(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_SResolutionY (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->SResolutionY(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_SSpacing (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->SSpacing(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_SAverageWidth (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->SAverageWidth(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Dump (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -the_this->Dump(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_IsEqual (JNIEnv *env, jobject theobj, jobject Other) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_Other = (Aspect_FontStyle*) jcas_GetHandle(env,Other); -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); - thejret = the_this->IsEqual(*the_Other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_IsNotEqual (JNIEnv *env, jobject theobj, jobject Other) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_Other = (Aspect_FontStyle*) jcas_GetHandle(env,Other); -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); - thejret = the_this->IsNotEqual(*the_Other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Aspect_FontStyle* theobj = (Aspect_FontStyle*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_GenericColorMap_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_GenericColorMap_java.cxx deleted file mode 100755 index 724fc344aa..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_GenericColorMap_java.cxx +++ /dev/null @@ -1,224 +0,0 @@ -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#include -#include -#include -#include -#include -#include - -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1GenericColorMap_Aspect_1GenericColorMap_1Create_10 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_GenericColorMap)* theret = new Handle(Aspect_GenericColorMap); -*theret = new Aspect_GenericColorMap(); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1GenericColorMap_Aspect_1GenericColorMap_1AddEntry_11 (JNIEnv *env, jobject theobj, jobject AnEntry) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_ColorMapEntry* the_AnEntry = (Aspect_ColorMapEntry*) jcas_GetHandle(env,AnEntry); -Handle(Aspect_GenericColorMap) the_this = *((Handle(Aspect_GenericColorMap)*) jcas_GetHandle(env,theobj)); -the_this->AddEntry(*the_AnEntry); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_Aspect_1GenericColorMap_Aspect_1GenericColorMap_1AddEntry_12 (JNIEnv *env, jobject theobj, jobject aColor) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_aColor = (Quantity_Color*) jcas_GetHandle(env,aColor); -Handle(Aspect_GenericColorMap) the_this = *((Handle(Aspect_GenericColorMap)*) jcas_GetHandle(env,theobj)); - thejret = the_this->AddEntry(*the_aColor); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1GenericColorMap_RemoveEntry (JNIEnv *env, jobject theobj, jint AColorMapEntryIndex) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_GenericColorMap) the_this = *((Handle(Aspect_GenericColorMap)*) jcas_GetHandle(env,theobj)); -the_this->RemoveEntry((Standard_Integer) AColorMapEntryIndex); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_Aspect_1GenericColorMap_FindColorMapIndex (JNIEnv *env, jobject theobj, jint AColorMapEntryIndex) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_GenericColorMap) the_this = *((Handle(Aspect_GenericColorMap)*) jcas_GetHandle(env,theobj)); - thejret = the_this->FindColorMapIndex((Standard_Integer) AColorMapEntryIndex); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1GenericColorMap_FindEntry (JNIEnv *env, jobject theobj, jint AColorMapEntryIndex) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_GenericColorMap) the_this = *((Handle(Aspect_GenericColorMap)*) jcas_GetHandle(env,theobj)); -const Aspect_ColorMapEntry& theret = the_this->FindEntry((Standard_Integer) AColorMapEntryIndex); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_ColorMapEntry",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_Aspect_1GenericColorMap_NearestColorMapIndex (JNIEnv *env, jobject theobj, jobject aColor) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_aColor = (Quantity_Color*) jcas_GetHandle(env,aColor); -Handle(Aspect_GenericColorMap) the_this = *((Handle(Aspect_GenericColorMap)*) jcas_GetHandle(env,theobj)); - thejret = the_this->NearestColorMapIndex(*the_aColor); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1GenericColorMap_NearestEntry (JNIEnv *env, jobject theobj, jobject aColor) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_aColor = (Quantity_Color*) jcas_GetHandle(env,aColor); -Handle(Aspect_GenericColorMap) the_this = *((Handle(Aspect_GenericColorMap)*) jcas_GetHandle(env,theobj)); -const Aspect_ColorMapEntry& theret = the_this->NearestEntry(*the_aColor); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_ColorMapEntry",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_GraphicDevice_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_GraphicDevice_java.cxx deleted file mode 100755 index 53a627a60f..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_GraphicDevice_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_Grid_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_Grid_java.cxx deleted file mode 100755 index f0de30d5c2..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_Grid_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_LineStyle_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_LineStyle_java.cxx deleted file mode 100755 index 7d49145907..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_LineStyle_java.cxx +++ /dev/null @@ -1,305 +0,0 @@ -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1LineStyle_Aspect_1LineStyle_1Create_11 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_LineStyle* theret = new Aspect_LineStyle(); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1LineStyle_Aspect_1LineStyle_1Create_12 (JNIEnv *env, jobject theobj, jint Type) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_LineStyle* theret = new Aspect_LineStyle((Aspect_TypeOfLine) Type); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1LineStyle_Aspect_1LineStyle_1Create_13 (JNIEnv *env, jobject theobj, jobject Style) -{ - -jcas_Locking alock(env); -{ -try { -TColQuantity_Array1OfLength* the_Style = (TColQuantity_Array1OfLength*) jcas_GetHandle(env,Style); -Aspect_LineStyle* theret = new Aspect_LineStyle(*the_Style); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1LineStyle_Assign (JNIEnv *env, jobject theobj, jobject Other) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_LineStyle* the_Other = (Aspect_LineStyle*) jcas_GetHandle(env,Other); -Aspect_LineStyle* the_this = (Aspect_LineStyle*) jcas_GetHandle(env,theobj); -const Aspect_LineStyle& theret = the_this->Assign(*the_Other); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_LineStyle",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1LineStyle_Aspect_1LineStyle_1SetValues_11 (JNIEnv *env, jobject theobj, jint Type) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_LineStyle* the_this = (Aspect_LineStyle*) jcas_GetHandle(env,theobj); -the_this->SetValues((Aspect_TypeOfLine) Type); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1LineStyle_Aspect_1LineStyle_1SetValues_12 (JNIEnv *env, jobject theobj, jobject Style) -{ - -jcas_Locking alock(env); -{ -try { -TColQuantity_Array1OfLength* the_Style = (TColQuantity_Array1OfLength*) jcas_GetHandle(env,Style); -Aspect_LineStyle* the_this = (Aspect_LineStyle*) jcas_GetHandle(env,theobj); -the_this->SetValues(*the_Style); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_Aspect_1LineStyle_Style (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_LineStyle* the_this = (Aspect_LineStyle*) jcas_GetHandle(env,theobj); - thejret = the_this->Style(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_Aspect_1LineStyle_Length (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_LineStyle* the_this = (Aspect_LineStyle*) jcas_GetHandle(env,theobj); - thejret = the_this->Length(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1LineStyle_Values (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_LineStyle* the_this = (Aspect_LineStyle*) jcas_GetHandle(env,theobj); -const TColQuantity_Array1OfLength& theret = the_this->Values(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TColQuantity_Array1OfLength",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_Aspect_1LineStyle_IsEqual (JNIEnv *env, jobject theobj, jobject Other) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_LineStyle* the_Other = (Aspect_LineStyle*) jcas_GetHandle(env,Other); -Aspect_LineStyle* the_this = (Aspect_LineStyle*) jcas_GetHandle(env,theobj); - thejret = the_this->IsEqual(*the_Other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_Aspect_1LineStyle_IsNotEqual (JNIEnv *env, jobject theobj, jobject Other) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_LineStyle* the_Other = (Aspect_LineStyle*) jcas_GetHandle(env,Other); -Aspect_LineStyle* the_this = (Aspect_LineStyle*) jcas_GetHandle(env,theobj); - thejret = the_this->IsNotEqual(*the_Other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1LineStyle_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Aspect_LineStyle* theobj = (Aspect_LineStyle*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_MarkMapEntry_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_MarkMapEntry_java.cxx deleted file mode 100755 index 34dc56a643..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_MarkMapEntry_java.cxx +++ /dev/null @@ -1,323 +0,0 @@ -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#include -#include -#include -#include -#include -#include - -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1MarkMapEntry_Aspect_1MarkMapEntry_1Create_11 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_MarkMapEntry* theret = new Aspect_MarkMapEntry(); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1MarkMapEntry_Aspect_1MarkMapEntry_1Create_12 (JNIEnv *env, jobject theobj, jint index, jobject style) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_MarkerStyle* the_style = (Aspect_MarkerStyle*) jcas_GetHandle(env,style); -Aspect_MarkMapEntry* theret = new Aspect_MarkMapEntry((Standard_Integer) index,*the_style); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1MarkMapEntry_Aspect_1MarkMapEntry_1Create_13 (JNIEnv *env, jobject theobj, jobject entry) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_MarkMapEntry* the_entry = (Aspect_MarkMapEntry*) jcas_GetHandle(env,entry); -Aspect_MarkMapEntry* theret = new Aspect_MarkMapEntry(*the_entry); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1MarkMapEntry_Aspect_1MarkMapEntry_1SetValue_11 (JNIEnv *env, jobject theobj, jint index, jobject style) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_MarkerStyle* the_style = (Aspect_MarkerStyle*) jcas_GetHandle(env,style); -Aspect_MarkMapEntry* the_this = (Aspect_MarkMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetValue((Standard_Integer) index,*the_style); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1MarkMapEntry_Aspect_1MarkMapEntry_1SetValue_12 (JNIEnv *env, jobject theobj, jobject entry) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_MarkMapEntry* the_entry = (Aspect_MarkMapEntry*) jcas_GetHandle(env,entry); -Aspect_MarkMapEntry* the_this = (Aspect_MarkMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetValue(*the_entry); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1MarkMapEntry_SetStyle (JNIEnv *env, jobject theobj, jobject Style) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_MarkerStyle* the_Style = (Aspect_MarkerStyle*) jcas_GetHandle(env,Style); -Aspect_MarkMapEntry* the_this = (Aspect_MarkMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetStyle(*the_Style); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1MarkMapEntry_Style (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_MarkMapEntry* the_this = (Aspect_MarkMapEntry*) jcas_GetHandle(env,theobj); -const Aspect_MarkerStyle& theret = the_this->Style(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_MarkerStyle",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1MarkMapEntry_SetIndex (JNIEnv *env, jobject theobj, jint index) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_MarkMapEntry* the_this = (Aspect_MarkMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetIndex((Standard_Integer) index); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_Aspect_1MarkMapEntry_Index (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_MarkMapEntry* the_this = (Aspect_MarkMapEntry*) jcas_GetHandle(env,theobj); - thejret = the_this->Index(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1MarkMapEntry_Free (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_MarkMapEntry* the_this = (Aspect_MarkMapEntry*) jcas_GetHandle(env,theobj); -the_this->Free(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_Aspect_1MarkMapEntry_IsAllocated (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_MarkMapEntry* the_this = (Aspect_MarkMapEntry*) jcas_GetHandle(env,theobj); - thejret = the_this->IsAllocated(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1MarkMapEntry_Dump (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_MarkMapEntry* the_this = (Aspect_MarkMapEntry*) jcas_GetHandle(env,theobj); -the_this->Dump(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1MarkMapEntry_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Aspect_MarkMapEntry* theobj = (Aspect_MarkMapEntry*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_MarkMap_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_MarkMap_java.cxx deleted file mode 100755 index 26c916c977..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_MarkMap_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_MarkerStyle_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_MarkerStyle_java.cxx deleted file mode 100755 index b30f6db3d9..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_MarkerStyle_java.cxx +++ /dev/null @@ -1,366 +0,0 @@ -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1MarkerStyle_Aspect_1MarkerStyle_1Create_11 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_MarkerStyle* theret = new Aspect_MarkerStyle(); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1MarkerStyle_Aspect_1MarkerStyle_1Create_12 (JNIEnv *env, jobject theobj, jint aType) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_MarkerStyle* theret = new Aspect_MarkerStyle((Aspect_TypeOfMarker) aType); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1MarkerStyle_Aspect_1MarkerStyle_1Create_13 (JNIEnv *env, jobject theobj, jobject aXpoint, jobject aYpoint) -{ - -jcas_Locking alock(env); -{ -try { -TColStd_Array1OfReal* the_aXpoint = (TColStd_Array1OfReal*) jcas_GetHandle(env,aXpoint); -TColStd_Array1OfReal* the_aYpoint = (TColStd_Array1OfReal*) jcas_GetHandle(env,aYpoint); -Aspect_MarkerStyle* theret = new Aspect_MarkerStyle(*the_aXpoint,*the_aYpoint); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1MarkerStyle_Aspect_1MarkerStyle_1Create_14 (JNIEnv *env, jobject theobj, jobject aXpoint, jobject aYpoint, jobject aSpoint) -{ - -jcas_Locking alock(env); -{ -try { -TColStd_Array1OfReal* the_aXpoint = (TColStd_Array1OfReal*) jcas_GetHandle(env,aXpoint); -TColStd_Array1OfReal* the_aYpoint = (TColStd_Array1OfReal*) jcas_GetHandle(env,aYpoint); -TColStd_Array1OfBoolean* the_aSpoint = (TColStd_Array1OfBoolean*) jcas_GetHandle(env,aSpoint); -Aspect_MarkerStyle* theret = new Aspect_MarkerStyle(*the_aXpoint,*the_aYpoint,*the_aSpoint); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1MarkerStyle_Assign (JNIEnv *env, jobject theobj, jobject Other) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_MarkerStyle* the_Other = (Aspect_MarkerStyle*) jcas_GetHandle(env,Other); -Aspect_MarkerStyle* the_this = (Aspect_MarkerStyle*) jcas_GetHandle(env,theobj); -const Aspect_MarkerStyle& theret = the_this->Assign(*the_Other); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_MarkerStyle",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_Aspect_1MarkerStyle_Type (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_MarkerStyle* the_this = (Aspect_MarkerStyle*) jcas_GetHandle(env,theobj); - thejret = the_this->Type(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_Aspect_1MarkerStyle_Length (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_MarkerStyle* the_this = (Aspect_MarkerStyle*) jcas_GetHandle(env,theobj); - thejret = the_this->Length(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_Aspect_1MarkerStyle_Values (JNIEnv *env, jobject theobj, jint aRank, jobject aX, jobject aY) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_Real the_aX = jcas_GetReal(env,aX); -Standard_Real the_aY = jcas_GetReal(env,aY); -Aspect_MarkerStyle* the_this = (Aspect_MarkerStyle*) jcas_GetHandle(env,theobj); - thejret = the_this->Values((Standard_Integer) aRank,the_aX,the_aY); -jcas_SetReal(env,aX,the_aX); -jcas_SetReal(env,aY,the_aY); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1MarkerStyle_XValues (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_MarkerStyle* the_this = (Aspect_MarkerStyle*) jcas_GetHandle(env,theobj); -const TShort_Array1OfShortReal& theret = the_this->XValues(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TShort_Array1OfShortReal",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1MarkerStyle_YValues (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_MarkerStyle* the_this = (Aspect_MarkerStyle*) jcas_GetHandle(env,theobj); -const TShort_Array1OfShortReal& theret = the_this->YValues(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TShort_Array1OfShortReal",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1MarkerStyle_SValues (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_MarkerStyle* the_this = (Aspect_MarkerStyle*) jcas_GetHandle(env,theobj); -const TColStd_Array1OfBoolean& theret = the_this->SValues(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TColStd_Array1OfBoolean",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_Aspect_1MarkerStyle_IsEqual (JNIEnv *env, jobject theobj, jobject Other) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_MarkerStyle* the_Other = (Aspect_MarkerStyle*) jcas_GetHandle(env,Other); -Aspect_MarkerStyle* the_this = (Aspect_MarkerStyle*) jcas_GetHandle(env,theobj); - thejret = the_this->IsEqual(*the_Other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_Aspect_1MarkerStyle_IsNotEqual (JNIEnv *env, jobject theobj, jobject Other) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_MarkerStyle* the_Other = (Aspect_MarkerStyle*) jcas_GetHandle(env,Other); -Aspect_MarkerStyle* the_this = (Aspect_MarkerStyle*) jcas_GetHandle(env,theobj); - thejret = the_this->IsNotEqual(*the_Other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1MarkerStyle_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Aspect_MarkerStyle* theobj = (Aspect_MarkerStyle*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_PixMap_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_PixMap_java.cxx deleted file mode 100755 index dfda1db9d3..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_PixMap_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_TypeMapEntry_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_TypeMapEntry_java.cxx deleted file mode 100755 index 41b3fc963d..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_TypeMapEntry_java.cxx +++ /dev/null @@ -1,323 +0,0 @@ -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#include -#include -#include -#include -#include -#include - -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1TypeMapEntry_Aspect_1TypeMapEntry_1Create_11 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_TypeMapEntry* theret = new Aspect_TypeMapEntry(); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1TypeMapEntry_Aspect_1TypeMapEntry_1Create_12 (JNIEnv *env, jobject theobj, jint index, jobject style) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_LineStyle* the_style = (Aspect_LineStyle*) jcas_GetHandle(env,style); -Aspect_TypeMapEntry* theret = new Aspect_TypeMapEntry((Standard_Integer) index,*the_style); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1TypeMapEntry_Aspect_1TypeMapEntry_1Create_13 (JNIEnv *env, jobject theobj, jobject entry) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_TypeMapEntry* the_entry = (Aspect_TypeMapEntry*) jcas_GetHandle(env,entry); -Aspect_TypeMapEntry* theret = new Aspect_TypeMapEntry(*the_entry); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1TypeMapEntry_Aspect_1TypeMapEntry_1SetValue_11 (JNIEnv *env, jobject theobj, jint index, jobject style) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_LineStyle* the_style = (Aspect_LineStyle*) jcas_GetHandle(env,style); -Aspect_TypeMapEntry* the_this = (Aspect_TypeMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetValue((Standard_Integer) index,*the_style); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1TypeMapEntry_Aspect_1TypeMapEntry_1SetValue_12 (JNIEnv *env, jobject theobj, jobject entry) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_TypeMapEntry* the_entry = (Aspect_TypeMapEntry*) jcas_GetHandle(env,entry); -Aspect_TypeMapEntry* the_this = (Aspect_TypeMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetValue(*the_entry); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1TypeMapEntry_SetType (JNIEnv *env, jobject theobj, jobject Style) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_LineStyle* the_Style = (Aspect_LineStyle*) jcas_GetHandle(env,Style); -Aspect_TypeMapEntry* the_this = (Aspect_TypeMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetType(*the_Style); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1TypeMapEntry_Type (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_TypeMapEntry* the_this = (Aspect_TypeMapEntry*) jcas_GetHandle(env,theobj); -const Aspect_LineStyle& theret = the_this->Type(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_LineStyle",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1TypeMapEntry_SetIndex (JNIEnv *env, jobject theobj, jint index) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_TypeMapEntry* the_this = (Aspect_TypeMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetIndex((Standard_Integer) index); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_Aspect_1TypeMapEntry_Index (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_TypeMapEntry* the_this = (Aspect_TypeMapEntry*) jcas_GetHandle(env,theobj); - thejret = the_this->Index(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1TypeMapEntry_Free (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_TypeMapEntry* the_this = (Aspect_TypeMapEntry*) jcas_GetHandle(env,theobj); -the_this->Free(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_Aspect_1TypeMapEntry_IsAllocated (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_TypeMapEntry* the_this = (Aspect_TypeMapEntry*) jcas_GetHandle(env,theobj); - thejret = the_this->IsAllocated(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1TypeMapEntry_Dump (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_TypeMapEntry* the_this = (Aspect_TypeMapEntry*) jcas_GetHandle(env,theobj); -the_this->Dump(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1TypeMapEntry_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Aspect_TypeMapEntry* theobj = (Aspect_TypeMapEntry*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_TypeMap_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_TypeMap_java.cxx deleted file mode 100755 index 5e1c282746..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_TypeMap_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_WidthMapEntry_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_WidthMapEntry_java.cxx deleted file mode 100755 index faa3f22e4b..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_WidthMapEntry_java.cxx +++ /dev/null @@ -1,413 +0,0 @@ -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_Aspect_1WidthMapEntry_1Create_11 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* theret = new Aspect_WidthMapEntry(); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_Aspect_1WidthMapEntry_1Create_12 (JNIEnv *env, jobject theobj, jint index, jint style) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* theret = new Aspect_WidthMapEntry((Standard_Integer) index,(Aspect_WidthOfLine) style); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_Aspect_1WidthMapEntry_1Create_13 (JNIEnv *env, jobject theobj, jint index, jdouble width) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* theret = new Aspect_WidthMapEntry((Standard_Integer) index,(Quantity_Length) width); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_Aspect_1WidthMapEntry_1Create_14 (JNIEnv *env, jobject theobj, jobject entry) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* the_entry = (Aspect_WidthMapEntry*) jcas_GetHandle(env,entry); -Aspect_WidthMapEntry* theret = new Aspect_WidthMapEntry(*the_entry); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_Aspect_1WidthMapEntry_1SetValue_11 (JNIEnv *env, jobject theobj, jint index, jint style) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* the_this = (Aspect_WidthMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetValue((Standard_Integer) index,(Aspect_WidthOfLine) style); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_Aspect_1WidthMapEntry_1SetValue_12 (JNIEnv *env, jobject theobj, jint index, jdouble width) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* the_this = (Aspect_WidthMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetValue((Standard_Integer) index,(Quantity_Length) width); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_Aspect_1WidthMapEntry_1SetValue_13 (JNIEnv *env, jobject theobj, jobject entry) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* the_entry = (Aspect_WidthMapEntry*) jcas_GetHandle(env,entry); -Aspect_WidthMapEntry* the_this = (Aspect_WidthMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetValue(*the_entry); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_SetIndex (JNIEnv *env, jobject theobj, jint index) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* the_this = (Aspect_WidthMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetIndex((Standard_Integer) index); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_SetType (JNIEnv *env, jobject theobj, jint Style) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* the_this = (Aspect_WidthMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetType((Aspect_WidthOfLine) Style); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_SetWidth (JNIEnv *env, jobject theobj, jdouble Width) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* the_this = (Aspect_WidthMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetWidth((Quantity_Length) Width); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_Type (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* the_this = (Aspect_WidthMapEntry*) jcas_GetHandle(env,theobj); - thejret = the_this->Type(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_Width (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* the_this = (Aspect_WidthMapEntry*) jcas_GetHandle(env,theobj); - thejret = the_this->Width(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_Index (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* the_this = (Aspect_WidthMapEntry*) jcas_GetHandle(env,theobj); - thejret = the_this->Index(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_Free (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* the_this = (Aspect_WidthMapEntry*) jcas_GetHandle(env,theobj); -the_this->Free(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_IsAllocated (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* the_this = (Aspect_WidthMapEntry*) jcas_GetHandle(env,theobj); - thejret = the_this->IsAllocated(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_Dump (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* the_this = (Aspect_WidthMapEntry*) jcas_GetHandle(env,theobj); -the_this->Dump(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Aspect_WidthMapEntry* theobj = (Aspect_WidthMapEntry*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_WidthMap_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_WidthMap_java.cxx deleted file mode 100755 index d88431cebf..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_WidthMap_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_WindowDriver_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_WindowDriver_java.cxx deleted file mode 100755 index a6e378b3d4..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_WindowDriver_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_Window_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_Window_java.cxx deleted file mode 100755 index dc9cc91df7..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Aspect_Window_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Bnd_Box_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Bnd_Box_java.cxx deleted file mode 100755 index b2049049cf..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Bnd_Box_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Bnd_1Box_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Bnd_Box* theobj = (Bnd_Box*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Geom_Transformation_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Geom_Transformation_java.cxx deleted file mode 100755 index 4267fb8a9d..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Geom_Transformation_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic2d_DisplayList_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic2d_DisplayList_java.cxx deleted file mode 100755 index 0ec17fd8ad..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic2d_DisplayList_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic2d_GraphicObject_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic2d_GraphicObject_java.cxx deleted file mode 100755 index f687d576e0..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic2d_GraphicObject_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic2d_View_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic2d_View_java.cxx deleted file mode 100755 index 4e0f43bfbe..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic2d_View_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_AspectMarker3d_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_AspectMarker3d_java.cxx deleted file mode 100755 index ff44211c98..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_AspectMarker3d_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_DataStructureManager_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_DataStructureManager_java.cxx deleted file mode 100755 index 0dc12a241b..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_DataStructureManager_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_MaterialAspect_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_MaterialAspect_java.cxx deleted file mode 100755 index 85403df594..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_MaterialAspect_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Graphic3d_1MaterialAspect_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Graphic3d_MaterialAspect* theobj = (Graphic3d_MaterialAspect*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Plotter_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Plotter_java.cxx deleted file mode 100755 index 6edcee802e..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Plotter_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_StructureManager_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_StructureManager_java.cxx deleted file mode 100755 index e5c1791fa0..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_StructureManager_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Structure_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Structure_java.cxx deleted file mode 100755 index bee696dfce..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Structure_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_TextureEnv_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_TextureEnv_java.cxx deleted file mode 100755 index ac444dd28d..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_TextureEnv_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_TextureRoot_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_TextureRoot_java.cxx deleted file mode 100755 index 23270c46f7..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_TextureRoot_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Vector_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Vector_java.cxx deleted file mode 100755 index bb7a6e25c9..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Vector_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Graphic3d_1Vector_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Graphic3d_Vector* theobj = (Graphic3d_Vector*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Vertex_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Vertex_java.cxx deleted file mode 100755 index be0c84f2a1..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Graphic3d_Vertex_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Graphic3d_1Vertex_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Graphic3d_Vertex* theobj = (Graphic3d_Vertex*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_ISession2D_InteractiveContext_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_ISession2D_InteractiveContext_java.cxx deleted file mode 100755 index 3a8cafd74d..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_ISession2D_InteractiveContext_java.cxx +++ /dev/null @@ -1,572 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_ISession2D_1InteractiveContext_1Create_11 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(ISession2D_InteractiveContext)* theret = new Handle(ISession2D_InteractiveContext); -*theret = new ISession2D_InteractiveContext(); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_ISession2D_1InteractiveContext_1Create_12 (JNIEnv *env, jobject theobj, jobject aViewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V2d_Viewer ) the_aViewer; - void* ptr_aViewer = jcas_GetHandle(env,aViewer); - - if ( ptr_aViewer != NULL ) the_aViewer = *( ( Handle( V2d_Viewer )* )ptr_aViewer ); - -Handle(ISession2D_InteractiveContext)* theret = new Handle(ISession2D_InteractiveContext); -*theret = new ISession2D_InteractiveContext(the_aViewer); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_Initialize (JNIEnv *env, jobject theobj, jobject aViewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V2d_Viewer ) the_aViewer; - void* ptr_aViewer = jcas_GetHandle(env,aViewer); - - if ( ptr_aViewer != NULL ) the_aViewer = *( ( Handle( V2d_Viewer )* )ptr_aViewer ); - -Handle(ISession2D_InteractiveContext) the_this = *((Handle(ISession2D_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->Initialize(the_aViewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_ISession2D_1InteractiveContext_1Display_11 (JNIEnv *env, jobject theobj, jobject anObject, jboolean Redraw) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anObject; - void* ptr_anObject = jcas_GetHandle(env,anObject); - - if ( ptr_anObject != NULL ) the_anObject = *( ( Handle( AIS_InteractiveObject )* )ptr_anObject ); - -Handle(ISession2D_InteractiveContext) the_this = *((Handle(ISession2D_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->Display(the_anObject,(Standard_Boolean) Redraw); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_ISession2D_1InteractiveContext_1Display_12 (JNIEnv *env, jobject theobj, jobject anObject, jint aDisplayMode, jint aSelectionMode, jboolean Redraw) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anObject; - void* ptr_anObject = jcas_GetHandle(env,anObject); - - if ( ptr_anObject != NULL ) the_anObject = *( ( Handle( AIS_InteractiveObject )* )ptr_anObject ); - -Handle(ISession2D_InteractiveContext) the_this = *((Handle(ISession2D_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->Display(the_anObject,(Standard_Integer) aDisplayMode,(Standard_Integer) aSelectionMode,(Standard_Boolean) Redraw); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_Erase (JNIEnv *env, jobject theobj, jobject anObject, jboolean Redraw) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anObject; - void* ptr_anObject = jcas_GetHandle(env,anObject); - - if ( ptr_anObject != NULL ) the_anObject = *( ( Handle( AIS_InteractiveObject )* )ptr_anObject ); - -Handle(ISession2D_InteractiveContext) the_this = *((Handle(ISession2D_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->Erase(the_anObject,(Standard_Boolean) Redraw); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_DisplayAll (JNIEnv *env, jobject theobj, jboolean Redraw) -{ - -jcas_Locking alock(env); -{ -try { -Handle(ISession2D_InteractiveContext) the_this = *((Handle(ISession2D_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->DisplayAll((Standard_Boolean) Redraw); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_EraseAll (JNIEnv *env, jobject theobj, jboolean Redraw) -{ - -jcas_Locking alock(env); -{ -try { -Handle(ISession2D_InteractiveContext) the_this = *((Handle(ISession2D_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->EraseAll((Standard_Boolean) Redraw); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_IsDisplayed (JNIEnv *env, jobject theobj, jobject anObject, jint aMode) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anObject; - void* ptr_anObject = jcas_GetHandle(env,anObject); - - if ( ptr_anObject != NULL ) the_anObject = *( ( Handle( AIS_InteractiveObject )* )ptr_anObject ); - -Handle(ISession2D_InteractiveContext) the_this = *((Handle(ISession2D_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IsDisplayed(the_anObject,(Standard_Integer) aMode); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_Redisplay (JNIEnv *env, jobject theobj, jobject anObject, jboolean Redraw, jboolean allmodes) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anObject; - void* ptr_anObject = jcas_GetHandle(env,anObject); - - if ( ptr_anObject != NULL ) the_anObject = *( ( Handle( AIS_InteractiveObject )* )ptr_anObject ); - -Handle(ISession2D_InteractiveContext) the_this = *((Handle(ISession2D_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->Redisplay(the_anObject,(Standard_Boolean) Redraw,(Standard_Boolean) allmodes); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_Clear (JNIEnv *env, jobject theobj, jobject anObject, jboolean Redraw) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anObject; - void* ptr_anObject = jcas_GetHandle(env,anObject); - - if ( ptr_anObject != NULL ) the_anObject = *( ( Handle( AIS_InteractiveObject )* )ptr_anObject ); - -Handle(ISession2D_InteractiveContext) the_this = *((Handle(ISession2D_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->Clear(the_anObject,(Standard_Boolean) Redraw); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_Remove (JNIEnv *env, jobject theobj, jobject anObject, jboolean Redraw) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anObject; - void* ptr_anObject = jcas_GetHandle(env,anObject); - - if ( ptr_anObject != NULL ) the_anObject = *( ( Handle( AIS_InteractiveObject )* )ptr_anObject ); - -Handle(ISession2D_InteractiveContext) the_this = *((Handle(ISession2D_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->Remove(the_anObject,(Standard_Boolean) Redraw); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_Highlight (JNIEnv *env, jobject theobj, jobject anObject, jboolean Redraw) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anObject; - void* ptr_anObject = jcas_GetHandle(env,anObject); - - if ( ptr_anObject != NULL ) the_anObject = *( ( Handle( AIS_InteractiveObject )* )ptr_anObject ); - -Handle(ISession2D_InteractiveContext) the_this = *((Handle(ISession2D_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->Highlight(the_anObject,(Standard_Boolean) Redraw); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_Unhighlight (JNIEnv *env, jobject theobj, jobject anObject, jboolean Redraw) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anObject; - void* ptr_anObject = jcas_GetHandle(env,anObject); - - if ( ptr_anObject != NULL ) the_anObject = *( ( Handle( AIS_InteractiveObject )* )ptr_anObject ); - -Handle(ISession2D_InteractiveContext) the_this = *((Handle(ISession2D_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->Unhighlight(the_anObject,(Standard_Boolean) Redraw); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_IsHilighted (JNIEnv *env, jobject theobj, jobject anObject) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveObject ) the_anObject; - void* ptr_anObject = jcas_GetHandle(env,anObject); - - if ( ptr_anObject != NULL ) the_anObject = *( ( Handle( AIS_InteractiveObject )* )ptr_anObject ); - -Handle(ISession2D_InteractiveContext) the_this = *((Handle(ISession2D_InteractiveContext)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IsHilighted(the_anObject); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_ISession2D_1InteractiveContext_1Move_11 (JNIEnv *env, jobject theobj, jint x1, jint y1, jobject aView) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V2d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V2d_View )* )ptr_aView ); - -Handle(ISession2D_InteractiveContext) the_this = *((Handle(ISession2D_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->Move((Standard_Integer) x1,(Standard_Integer) y1,the_aView); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_ISession2D_1InteractiveContext_1Move_12 (JNIEnv *env, jobject theobj, jint x1, jint y1, jint x2, jint y2, jobject aView) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V2d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V2d_View )* )ptr_aView ); - -Handle(ISession2D_InteractiveContext) the_this = *((Handle(ISession2D_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->Move((Standard_Integer) x1,(Standard_Integer) y1,(Standard_Integer) x2,(Standard_Integer) y2,the_aView); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_Pick (JNIEnv *env, jobject theobj, jboolean MultiSelection) -{ - -jcas_Locking alock(env); -{ -try { -Handle(ISession2D_InteractiveContext) the_this = *((Handle(ISession2D_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->Pick((Standard_Boolean) MultiSelection); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_DisplayAreas (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(ISession2D_InteractiveContext) the_this = *((Handle(ISession2D_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->DisplayAreas(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_ClearAreas (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(ISession2D_InteractiveContext) the_this = *((Handle(ISession2D_InteractiveContext)*) jcas_GetHandle(env,theobj)); -the_this->ClearAreas(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_PlotMgt_PlotterDriver_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_PlotMgt_PlotterDriver_java.cxx deleted file mode 100755 index 3e0bc39acf..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_PlotMgt_PlotterDriver_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Prs3d_BasicAspect_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Prs3d_BasicAspect_java.cxx deleted file mode 100755 index 1a726f4d3a..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Prs3d_BasicAspect_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Prs3d_Drawer_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Prs3d_Drawer_java.cxx deleted file mode 100755 index 175c6bebe8..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Prs3d_Drawer_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Prs3d_LineAspect_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Prs3d_LineAspect_java.cxx deleted file mode 100755 index 9059229702..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Prs3d_LineAspect_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Prs3d_Presentation_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Prs3d_Presentation_java.cxx deleted file mode 100755 index 3080e3c9f6..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Prs3d_Presentation_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Prs3d_Projector_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Prs3d_Projector_java.cxx deleted file mode 100755 index 57cc0f5009..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Prs3d_Projector_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentableObject_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentableObject_java.cxx deleted file mode 100755 index 179121f29d..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentableObject_java.cxx +++ /dev/null @@ -1,349 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_PrsMgr_1PresentableObject_TypeOfPresentation3d (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(PrsMgr_PresentableObject) the_this = *((Handle(PrsMgr_PresentableObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->TypeOfPresentation3d(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_PrsMgr_1PresentableObject_GetTransformPersistencePoint (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(PrsMgr_PresentableObject) the_this = *((Handle(PrsMgr_PresentableObject)*) jcas_GetHandle(env,theobj)); -gp_Pnt* theret = new gp_Pnt(the_this->GetTransformPersistencePoint()); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/gp_Pnt",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_PrsMgr_1PresentableObject_SetTypeOfPresentation (JNIEnv *env, jobject theobj, jshort aType) -{ - -jcas_Locking alock(env); -{ -try { -Handle(PrsMgr_PresentableObject) the_this = *((Handle(PrsMgr_PresentableObject)*) jcas_GetHandle(env,theobj)); -the_this->SetTypeOfPresentation((PrsMgr_TypeOfPresentation3d) aType); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_PrsMgr_1PresentableObject_PrsMgr_1PresentableObject_1SetToUpdate_11 (JNIEnv *env, jobject theobj, jint aMode) -{ - -jcas_Locking alock(env); -{ -try { -Handle(PrsMgr_PresentableObject) the_this = *((Handle(PrsMgr_PresentableObject)*) jcas_GetHandle(env,theobj)); -the_this->SetToUpdate((Standard_Integer) aMode); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_PrsMgr_1PresentableObject_PrsMgr_1PresentableObject_1SetToUpdate_12 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(PrsMgr_PresentableObject) the_this = *((Handle(PrsMgr_PresentableObject)*) jcas_GetHandle(env,theobj)); -the_this->SetToUpdate(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_PrsMgr_1PresentableObject_ToBeUpdated (JNIEnv *env, jobject theobj, jobject ListOfMode) -{ - -jcas_Locking alock(env); -{ -try { -TColStd_ListOfInteger* the_ListOfMode = (TColStd_ListOfInteger*) jcas_GetHandle(env,ListOfMode); -if ( the_ListOfMode == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_ListOfMode = new TColStd_ListOfInteger (); - // jcas_SetHandle ( env, ListOfMode, the_ListOfMode ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(PrsMgr_PresentableObject) the_this = *((Handle(PrsMgr_PresentableObject)*) jcas_GetHandle(env,theobj)); -the_this->ToBeUpdated(*the_ListOfMode); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_PrsMgr_1PresentableObject_SetLocation (JNIEnv *env, jobject theobj, jobject aLoc) -{ - -jcas_Locking alock(env); -{ -try { -TopLoc_Location* the_aLoc = (TopLoc_Location*) jcas_GetHandle(env,aLoc); -if ( the_aLoc == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aLoc = new TopLoc_Location (); - // jcas_SetHandle ( env, aLoc, the_aLoc ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(PrsMgr_PresentableObject) the_this = *((Handle(PrsMgr_PresentableObject)*) jcas_GetHandle(env,theobj)); -the_this->SetLocation(*the_aLoc); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_PrsMgr_1PresentableObject_HasLocation (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(PrsMgr_PresentableObject) the_this = *((Handle(PrsMgr_PresentableObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->HasLocation(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_PrsMgr_1PresentableObject_Location (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(PrsMgr_PresentableObject) the_this = *((Handle(PrsMgr_PresentableObject)*) jcas_GetHandle(env,theobj)); -const TopLoc_Location& theret = the_this->Location(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TopLoc_Location",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_PrsMgr_1PresentableObject_ResetLocation (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(PrsMgr_PresentableObject) the_this = *((Handle(PrsMgr_PresentableObject)*) jcas_GetHandle(env,theobj)); -the_this->ResetLocation(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_PrsMgr_1PresentableObject_PrsMgr_1PresentableObject_1UpdateLocation_11 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(PrsMgr_PresentableObject) the_this = *((Handle(PrsMgr_PresentableObject)*) jcas_GetHandle(env,theobj)); -the_this->UpdateLocation(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_PrsMgr_1PresentableObject_PrsMgr_1PresentableObject_1UpdateLocation_12 (JNIEnv *env, jobject theobj, jobject P) -{ - -jcas_Locking alock(env); -{ -try { - Handle( Prs3d_Presentation ) the_P; - void* ptr_P = jcas_GetHandle(env,P); - - if ( ptr_P != NULL ) the_P = *( ( Handle( Prs3d_Presentation )* )ptr_P ); - -Handle(PrsMgr_PresentableObject) the_this = *((Handle(PrsMgr_PresentableObject)*) jcas_GetHandle(env,theobj)); -the_this->UpdateLocation(the_P); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentationManager2d_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentationManager2d_java.cxx deleted file mode 100755 index 69052244c7..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentationManager2d_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentationManager3d_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentationManager3d_java.cxx deleted file mode 100755 index ba500aad11..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentationManager3d_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentationManager_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentationManager_java.cxx deleted file mode 100755 index 4f946d7bc0..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_PresentationManager_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_Presentation_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_Presentation_java.cxx deleted file mode 100755 index 026e6e34ff..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_Presentation_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_Presentations_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_Presentations_java.cxx deleted file mode 100755 index 8da1a1c94f..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_PrsMgr_Presentations_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_PrsMgr_1Presentations_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - PrsMgr_Presentations* theobj = (PrsMgr_Presentations*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Quantity_Color_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Quantity_Color_java.cxx deleted file mode 100755 index 2c6d6ad421..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Quantity_Color_java.cxx +++ /dev/null @@ -1,792 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Quantity_1Color_Quantity_1Color_1Create_11 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Quantity_Color* theret = new Quantity_Color(); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Quantity_1Color_Quantity_1Color_1Create_12 (JNIEnv *env, jobject theobj, jshort AName) -{ - -jcas_Locking alock(env); -{ -try { -Quantity_Color* theret = new Quantity_Color((Quantity_NameOfColor) AName); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Quantity_1Color_Quantity_1Color_1Create_13 (JNIEnv *env, jobject theobj, jdouble R1, jdouble R2, jdouble R3, jshort AType) -{ - -jcas_Locking alock(env); -{ -try { -Quantity_Color* theret = new Quantity_Color((Quantity_Parameter) R1,(Quantity_Parameter) R2,(Quantity_Parameter) R3,(Quantity_TypeOfColor) AType); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Quantity_1Color_Assign (JNIEnv *env, jobject theobj, jobject Other) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_Other = (Quantity_Color*) jcas_GetHandle(env,Other); -if ( the_Other == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Other = new Quantity_Color (); - // jcas_SetHandle ( env, Other, the_Other ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Quantity_Color* the_this = (Quantity_Color*) jcas_GetHandle(env,theobj); -const Quantity_Color& theret = the_this->Assign(*the_Other); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Quantity_Color",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Quantity_1Color_ChangeContrast (JNIEnv *env, jobject theobj, jdouble ADelta) -{ - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_this = (Quantity_Color*) jcas_GetHandle(env,theobj); -the_this->ChangeContrast((Quantity_Rate) ADelta); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Quantity_1Color_ChangeIntensity (JNIEnv *env, jobject theobj, jdouble ADelta) -{ - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_this = (Quantity_Color*) jcas_GetHandle(env,theobj); -the_this->ChangeIntensity((Quantity_Rate) ADelta); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Quantity_1Color_Quantity_1Color_1SetValues_11 (JNIEnv *env, jobject theobj, jshort AName) -{ - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_this = (Quantity_Color*) jcas_GetHandle(env,theobj); -the_this->SetValues((Quantity_NameOfColor) AName); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Quantity_1Color_Quantity_1Color_1SetValues_12 (JNIEnv *env, jobject theobj, jdouble R1, jdouble R2, jdouble R3, jshort AType) -{ - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_this = (Quantity_Color*) jcas_GetHandle(env,theobj); -the_this->SetValues((Quantity_Parameter) R1,(Quantity_Parameter) R2,(Quantity_Parameter) R3,(Quantity_TypeOfColor) AType); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Quantity_1Color_Delta (JNIEnv *env, jobject theobj, jobject AColor, jobject DC, jobject DI) -{ - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_AColor = (Quantity_Color*) jcas_GetHandle(env,AColor); -if ( the_AColor == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_AColor = new Quantity_Color (); - // jcas_SetHandle ( env, AColor, the_AColor ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Standard_Real the_DC = jcas_GetReal(env,DC); -Standard_Real the_DI = jcas_GetReal(env,DI); -Quantity_Color* the_this = (Quantity_Color*) jcas_GetHandle(env,theobj); -the_this->Delta(*the_AColor,the_DC,the_DI); -jcas_SetReal(env,DC,the_DC); -jcas_SetReal(env,DI,the_DI); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_Quantity_1Color_Distance (JNIEnv *env, jobject theobj, jobject AColor) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_AColor = (Quantity_Color*) jcas_GetHandle(env,AColor); -if ( the_AColor == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_AColor = new Quantity_Color (); - // jcas_SetHandle ( env, AColor, the_AColor ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Quantity_Color* the_this = (Quantity_Color*) jcas_GetHandle(env,theobj); - thejret = the_this->Distance(*the_AColor); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_Quantity_1Color_SquareDistance (JNIEnv *env, jobject theobj, jobject AColor) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_AColor = (Quantity_Color*) jcas_GetHandle(env,AColor); -if ( the_AColor == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_AColor = new Quantity_Color (); - // jcas_SetHandle ( env, AColor, the_AColor ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Quantity_Color* the_this = (Quantity_Color*) jcas_GetHandle(env,theobj); - thejret = the_this->SquareDistance(*the_AColor); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_Quantity_1Color_Blue (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_this = (Quantity_Color*) jcas_GetHandle(env,theobj); - thejret = the_this->Blue(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_Quantity_1Color_Green (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_this = (Quantity_Color*) jcas_GetHandle(env,theobj); - thejret = the_this->Green(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_Quantity_1Color_Hue (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_this = (Quantity_Color*) jcas_GetHandle(env,theobj); - thejret = the_this->Hue(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_Quantity_1Color_IsDifferent (JNIEnv *env, jobject theobj, jobject Other) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_Other = (Quantity_Color*) jcas_GetHandle(env,Other); -if ( the_Other == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Other = new Quantity_Color (); - // jcas_SetHandle ( env, Other, the_Other ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Quantity_Color* the_this = (Quantity_Color*) jcas_GetHandle(env,theobj); - thejret = the_this->IsDifferent(*the_Other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_Quantity_1Color_IsEqual (JNIEnv *env, jobject theobj, jobject Other) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_Other = (Quantity_Color*) jcas_GetHandle(env,Other); -if ( the_Other == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Other = new Quantity_Color (); - // jcas_SetHandle ( env, Other, the_Other ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Quantity_Color* the_this = (Quantity_Color*) jcas_GetHandle(env,theobj); - thejret = the_this->IsEqual(*the_Other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_Quantity_1Color_Light (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_this = (Quantity_Color*) jcas_GetHandle(env,theobj); - thejret = the_this->Light(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_Quantity_1Color_Quantity_1Color_1Name_11 (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_this = (Quantity_Color*) jcas_GetHandle(env,theobj); - thejret = the_this->Name(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_Quantity_1Color_Red (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_this = (Quantity_Color*) jcas_GetHandle(env,theobj); - thejret = the_this->Red(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_Quantity_1Color_Saturation (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_this = (Quantity_Color*) jcas_GetHandle(env,theobj); - thejret = the_this->Saturation(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Quantity_1Color_Values (JNIEnv *env, jobject theobj, jobject R1, jobject R2, jobject R3, jshort AType) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_R1 = jcas_GetReal(env,R1); -Standard_Real the_R2 = jcas_GetReal(env,R2); -Standard_Real the_R3 = jcas_GetReal(env,R3); -Quantity_Color* the_this = (Quantity_Color*) jcas_GetHandle(env,theobj); -the_this->Values(the_R1,the_R2,the_R3,(Quantity_TypeOfColor) AType); -jcas_SetReal(env,R1,the_R1); -jcas_SetReal(env,R2,the_R2); -jcas_SetReal(env,R3,the_R3); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Quantity_1Color_SetEpsilon (JNIEnv *env, jclass, jdouble AnEpsilon) -{ - -jcas_Locking alock(env); -{ -try { -Quantity_Color::SetEpsilon((Quantity_Parameter) AnEpsilon); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_Quantity_1Color_Epsilon (JNIEnv *env, jclass) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { - thejret = Quantity_Color::Epsilon(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_Quantity_1Color_Quantity_1Color_1Name_12 (JNIEnv *env, jclass, jdouble R, jdouble G, jdouble B) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { - thejret = Quantity_Color::Name((Quantity_Parameter) R,(Quantity_Parameter) G,(Quantity_Parameter) B); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Quantity_1Color_StringName (JNIEnv *env, jclass, jshort AColor) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString sret = Quantity_Color::StringName((Quantity_NameOfColor) AColor); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Quantity_1Color_HlsRgb (JNIEnv *env, jclass, jdouble H, jdouble L, jdouble S, jobject R, jobject G, jobject B) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_R = jcas_GetReal(env,R); -Standard_Real the_G = jcas_GetReal(env,G); -Standard_Real the_B = jcas_GetReal(env,B); -Quantity_Color::HlsRgb((Quantity_Parameter) H,(Quantity_Parameter) L,(Quantity_Parameter) S,the_R,the_G,the_B); -jcas_SetReal(env,R,the_R); -jcas_SetReal(env,G,the_G); -jcas_SetReal(env,B,the_B); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Quantity_1Color_RgbHls (JNIEnv *env, jclass, jdouble R, jdouble G, jdouble B, jobject H, jobject L, jobject S) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_H = jcas_GetReal(env,H); -Standard_Real the_L = jcas_GetReal(env,L); -Standard_Real the_S = jcas_GetReal(env,S); -Quantity_Color::RgbHls((Quantity_Parameter) R,(Quantity_Parameter) G,(Quantity_Parameter) B,the_H,the_L,the_S); -jcas_SetReal(env,H,the_H); -jcas_SetReal(env,L,the_L); -jcas_SetReal(env,S,the_S); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Quantity_1Color_Test (JNIEnv *env, jclass) -{ - -jcas_Locking alock(env); -{ -try { -Quantity_Color::Test(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Quantity_1Color_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Quantity_Color* theobj = (Quantity_Color*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Select2D_Projector_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Select2D_Projector_java.cxx deleted file mode 100755 index f7c34d397b..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Select2D_Projector_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_SelectBasics_EntityOwner_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_SelectBasics_EntityOwner_java.cxx deleted file mode 100755 index ecf1d733c1..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_SelectBasics_EntityOwner_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_EntityOwner_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_EntityOwner_java.cxx deleted file mode 100755 index 6da9bb8f3a..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_EntityOwner_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_Filter_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_Filter_java.cxx deleted file mode 100755 index 555df207aa..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_Filter_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_ListOfFilter_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_ListOfFilter_java.cxx deleted file mode 100755 index 55a3206d9b..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_ListOfFilter_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_SelectMgr_1ListOfFilter_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - SelectMgr_ListOfFilter* theobj = (SelectMgr_ListOfFilter*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_SelectableObject_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_SelectableObject_java.cxx deleted file mode 100755 index a832f4274b..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_SelectableObject_java.cxx +++ /dev/null @@ -1,558 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_NbPossibleSelection (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(SelectMgr_SelectableObject) the_this = *((Handle(SelectMgr_SelectableObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->NbPossibleSelection(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_SelectMgr_1SelectableObject_1UpdateSelection_11 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(SelectMgr_SelectableObject) the_this = *((Handle(SelectMgr_SelectableObject)*) jcas_GetHandle(env,theobj)); -the_this->UpdateSelection(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_SelectMgr_1SelectableObject_1UpdateSelection_12 (JNIEnv *env, jobject theobj, jint aMode) -{ - -jcas_Locking alock(env); -{ -try { -Handle(SelectMgr_SelectableObject) the_this = *((Handle(SelectMgr_SelectableObject)*) jcas_GetHandle(env,theobj)); -the_this->UpdateSelection((Standard_Integer) aMode); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_AddSelection (JNIEnv *env, jobject theobj, jobject aSelection, jint aMode) -{ - -jcas_Locking alock(env); -{ -try { - Handle( SelectMgr_Selection ) the_aSelection; - void* ptr_aSelection = jcas_GetHandle(env,aSelection); - - if ( ptr_aSelection != NULL ) the_aSelection = *( ( Handle( SelectMgr_Selection )* )ptr_aSelection ); - -Handle(SelectMgr_SelectableObject) the_this = *((Handle(SelectMgr_SelectableObject)*) jcas_GetHandle(env,theobj)); -the_this->AddSelection(the_aSelection,(Standard_Integer) aMode); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_ClearSelections (JNIEnv *env, jobject theobj, jboolean update) -{ - -jcas_Locking alock(env); -{ -try { -Handle(SelectMgr_SelectableObject) the_this = *((Handle(SelectMgr_SelectableObject)*) jcas_GetHandle(env,theobj)); -the_this->ClearSelections((Standard_Boolean) update); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_Selection (JNIEnv *env, jobject theobj, jint aMode) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(SelectMgr_SelectableObject) the_this = *((Handle(SelectMgr_SelectableObject)*) jcas_GetHandle(env,theobj)); -Handle(SelectMgr_Selection)* theret = new Handle(SelectMgr_Selection); -*theret = the_this->Selection((Standard_Integer) aMode); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/SelectMgr_Selection",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_HasSelection (JNIEnv *env, jobject theobj, jint aMode) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(SelectMgr_SelectableObject) the_this = *((Handle(SelectMgr_SelectableObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->HasSelection((Standard_Integer) aMode); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_Init (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(SelectMgr_SelectableObject) the_this = *((Handle(SelectMgr_SelectableObject)*) jcas_GetHandle(env,theobj)); -the_this->Init(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_More (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(SelectMgr_SelectableObject) the_this = *((Handle(SelectMgr_SelectableObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->More(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_Next (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(SelectMgr_SelectableObject) the_this = *((Handle(SelectMgr_SelectableObject)*) jcas_GetHandle(env,theobj)); -the_this->Next(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_CurrentSelection (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(SelectMgr_SelectableObject) the_this = *((Handle(SelectMgr_SelectableObject)*) jcas_GetHandle(env,theobj)); -Handle(SelectMgr_Selection)* theret = new Handle(SelectMgr_Selection); -*theret = the_this->CurrentSelection(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/SelectMgr_Selection",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_ResetLocation (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(SelectMgr_SelectableObject) the_this = *((Handle(SelectMgr_SelectableObject)*) jcas_GetHandle(env,theobj)); -the_this->ResetLocation(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_SelectMgr_1SelectableObject_1UpdateLocation_11 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(SelectMgr_SelectableObject) the_this = *((Handle(SelectMgr_SelectableObject)*) jcas_GetHandle(env,theobj)); -the_this->UpdateLocation(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_HilightSelected (JNIEnv *env, jobject theobj, jobject PM, jobject Seq) -{ - -jcas_Locking alock(env); -{ -try { - Handle( PrsMgr_PresentationManager3d ) the_PM; - void* ptr_PM = jcas_GetHandle(env,PM); - - if ( ptr_PM != NULL ) the_PM = *( ( Handle( PrsMgr_PresentationManager3d )* )ptr_PM ); - -SelectMgr_SequenceOfOwner* the_Seq = (SelectMgr_SequenceOfOwner*) jcas_GetHandle(env,Seq); -if ( the_Seq == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Seq = new SelectMgr_SequenceOfOwner (); - // jcas_SetHandle ( env, Seq, the_Seq ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(SelectMgr_SelectableObject) the_this = *((Handle(SelectMgr_SelectableObject)*) jcas_GetHandle(env,theobj)); -the_this->HilightSelected(the_PM,*the_Seq); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_ClearSelected (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(SelectMgr_SelectableObject) the_this = *((Handle(SelectMgr_SelectableObject)*) jcas_GetHandle(env,theobj)); -the_this->ClearSelected(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_HilightOwnerWithColor (JNIEnv *env, jobject theobj, jobject thePM, jshort theColor, jobject theOwner) -{ - -jcas_Locking alock(env); -{ -try { - Handle( PrsMgr_PresentationManager3d ) the_thePM; - void* ptr_thePM = jcas_GetHandle(env,thePM); - - if ( ptr_thePM != NULL ) the_thePM = *( ( Handle( PrsMgr_PresentationManager3d )* )ptr_thePM ); - - Handle( SelectMgr_EntityOwner ) the_theOwner; - void* ptr_theOwner = jcas_GetHandle(env,theOwner); - - if ( ptr_theOwner != NULL ) the_theOwner = *( ( Handle( SelectMgr_EntityOwner )* )ptr_theOwner ); - -Handle(SelectMgr_SelectableObject) the_this = *((Handle(SelectMgr_SelectableObject)*) jcas_GetHandle(env,theobj)); -the_this->HilightOwnerWithColor(the_thePM,(Quantity_NameOfColor) theColor,the_theOwner); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_IsAutoHilight (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(SelectMgr_SelectableObject) the_this = *((Handle(SelectMgr_SelectableObject)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IsAutoHilight(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_SetAutoHilight (JNIEnv *env, jobject theobj, jboolean newAutoHilight) -{ - -jcas_Locking alock(env); -{ -try { -Handle(SelectMgr_SelectableObject) the_this = *((Handle(SelectMgr_SelectableObject)*) jcas_GetHandle(env,theobj)); -the_this->SetAutoHilight((Standard_Boolean) newAutoHilight); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_GetHilightPresentation (JNIEnv *env, jobject theobj, jobject TheMgr) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { - Handle( PrsMgr_PresentationManager3d ) the_TheMgr; - void* ptr_TheMgr = jcas_GetHandle(env,TheMgr); - - if ( ptr_TheMgr != NULL ) the_TheMgr = *( ( Handle( PrsMgr_PresentationManager3d )* )ptr_TheMgr ); - -Handle(SelectMgr_SelectableObject) the_this = *((Handle(SelectMgr_SelectableObject)*) jcas_GetHandle(env,theobj)); -Handle(Prs3d_Presentation)* theret = new Handle(Prs3d_Presentation); -*theret = the_this->GetHilightPresentation(the_TheMgr); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Prs3d_Presentation",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_GetSelectPresentation (JNIEnv *env, jobject theobj, jobject TheMgr) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { - Handle( PrsMgr_PresentationManager3d ) the_TheMgr; - void* ptr_TheMgr = jcas_GetHandle(env,TheMgr); - - if ( ptr_TheMgr != NULL ) the_TheMgr = *( ( Handle( PrsMgr_PresentationManager3d )* )ptr_TheMgr ); - -Handle(SelectMgr_SelectableObject) the_this = *((Handle(SelectMgr_SelectableObject)*) jcas_GetHandle(env,theobj)); -Handle(Prs3d_Presentation)* theret = new Handle(Prs3d_Presentation); -*theret = the_this->GetSelectPresentation(the_TheMgr); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Prs3d_Presentation",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_SelectionManager_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_SelectionManager_java.cxx deleted file mode 100755 index 9993e0058d..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_SelectionManager_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_Selection_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_Selection_java.cxx deleted file mode 100755 index fbf5c5d989..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_Selection_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_SequenceOfOwner_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_SequenceOfOwner_java.cxx deleted file mode 100755 index 6be6a047ca..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_SequenceOfOwner_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_SelectMgr_1SequenceOfOwner_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - SelectMgr_SequenceOfOwner* theobj = (SelectMgr_SequenceOfOwner*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_ViewerSelector_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_ViewerSelector_java.cxx deleted file mode 100755 index ffa9689ebb..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_SelectMgr_ViewerSelector_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Standard_Type_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Standard_Type_java.cxx deleted file mode 100755 index 81ac87e0e5..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Standard_Type_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_StdSelect_ViewerSelector3d_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_StdSelect_ViewerSelector3d_java.cxx deleted file mode 100755 index 34ec2f8c3a..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_StdSelect_ViewerSelector3d_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TColQuantity_Array1OfLength_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TColQuantity_Array1OfLength_java.cxx deleted file mode 100755 index 0c10bc2128..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TColQuantity_Array1OfLength_java.cxx +++ /dev/null @@ -1,323 +0,0 @@ -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#include -#include -#include -#include -#include -#include - -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColQuantity_1Array1OfLength_TColQuantity_1Array1OfLength_1Create_11 (JNIEnv *env, jobject theobj, jint Low, jint Up) -{ - -jcas_Locking alock(env); -{ -try { -TColQuantity_Array1OfLength* theret = new TColQuantity_Array1OfLength((Standard_Integer) Low,(Standard_Integer) Up); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColQuantity_1Array1OfLength_TColQuantity_1Array1OfLength_1Create_12 (JNIEnv *env, jobject theobj, jdouble Item, jint Low, jint Up) -{ - -jcas_Locking alock(env); -{ -try { -TColQuantity_Array1OfLength* theret = new TColQuantity_Array1OfLength((Quantity_Length) Item,(Standard_Integer) Low,(Standard_Integer) Up); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColQuantity_1Array1OfLength_Init (JNIEnv *env, jobject theobj, jdouble V) -{ - -jcas_Locking alock(env); -{ -try { -TColQuantity_Array1OfLength* the_this = (TColQuantity_Array1OfLength*) jcas_GetHandle(env,theobj); -the_this->Init((Quantity_Length) V); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColQuantity_1Array1OfLength_Destroy (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -TColQuantity_Array1OfLength* the_this = (TColQuantity_Array1OfLength*) jcas_GetHandle(env,theobj); -the_this->Destroy(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TColQuantity_1Array1OfLength_IsAllocated (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TColQuantity_Array1OfLength* the_this = (TColQuantity_Array1OfLength*) jcas_GetHandle(env,theobj); - thejret = the_this->IsAllocated(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TColQuantity_1Array1OfLength_Assign (JNIEnv *env, jobject theobj, jobject Other) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -TColQuantity_Array1OfLength* the_Other = (TColQuantity_Array1OfLength*) jcas_GetHandle(env,Other); -TColQuantity_Array1OfLength* the_this = (TColQuantity_Array1OfLength*) jcas_GetHandle(env,theobj); -const TColQuantity_Array1OfLength& theret = the_this->Assign(*the_Other); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TColQuantity_Array1OfLength",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TColQuantity_1Array1OfLength_Length (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -TColQuantity_Array1OfLength* the_this = (TColQuantity_Array1OfLength*) jcas_GetHandle(env,theobj); - thejret = the_this->Length(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TColQuantity_1Array1OfLength_Lower (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -TColQuantity_Array1OfLength* the_this = (TColQuantity_Array1OfLength*) jcas_GetHandle(env,theobj); - thejret = the_this->Lower(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TColQuantity_1Array1OfLength_Upper (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -TColQuantity_Array1OfLength* the_this = (TColQuantity_Array1OfLength*) jcas_GetHandle(env,theobj); - thejret = the_this->Upper(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColQuantity_1Array1OfLength_SetValue (JNIEnv *env, jobject theobj, jint Index, jdouble Value) -{ - -jcas_Locking alock(env); -{ -try { -TColQuantity_Array1OfLength* the_this = (TColQuantity_Array1OfLength*) jcas_GetHandle(env,theobj); -the_this->SetValue((Standard_Integer) Index,(Quantity_Length) Value); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_TColQuantity_1Array1OfLength_Value (JNIEnv *env, jobject theobj, jint Index) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -TColQuantity_Array1OfLength* the_this = (TColQuantity_Array1OfLength*) jcas_GetHandle(env,theobj); - thejret = the_this->Value((Standard_Integer) Index); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_TColQuantity_1Array1OfLength_ChangeValue (JNIEnv *env, jobject theobj, jint Index) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -TColQuantity_Array1OfLength* the_this = (TColQuantity_Array1OfLength*) jcas_GetHandle(env,theobj); - thejret = the_this->ChangeValue((Standard_Integer) Index); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColQuantity_1Array1OfLength_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - TColQuantity_Array1OfLength* theobj = (TColQuantity_Array1OfLength*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TColQuantity_HArray1OfLength_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TColQuantity_HArray1OfLength_java.cxx deleted file mode 100755 index b465403265..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TColQuantity_HArray1OfLength_java.cxx +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TColStd_Array1OfBoolean_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TColStd_Array1OfBoolean_java.cxx deleted file mode 100755 index a63aee7645..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TColStd_Array1OfBoolean_java.cxx +++ /dev/null @@ -1,322 +0,0 @@ -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#include -#include -#include -#include -#include -#include - -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColStd_1Array1OfBoolean_TColStd_1Array1OfBoolean_1Create_11 (JNIEnv *env, jobject theobj, jint Low, jint Up) -{ - -jcas_Locking alock(env); -{ -try { -TColStd_Array1OfBoolean* theret = new TColStd_Array1OfBoolean((Standard_Integer) Low,(Standard_Integer) Up); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColStd_1Array1OfBoolean_TColStd_1Array1OfBoolean_1Create_12 (JNIEnv *env, jobject theobj, jboolean Item, jint Low, jint Up) -{ - -jcas_Locking alock(env); -{ -try { -TColStd_Array1OfBoolean* theret = new TColStd_Array1OfBoolean((Standard_Boolean) Item,(Standard_Integer) Low,(Standard_Integer) Up); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColStd_1Array1OfBoolean_Init (JNIEnv *env, jobject theobj, jboolean V) -{ - -jcas_Locking alock(env); -{ -try { -TColStd_Array1OfBoolean* the_this = (TColStd_Array1OfBoolean*) jcas_GetHandle(env,theobj); -the_this->Init((Standard_Boolean) V); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColStd_1Array1OfBoolean_Destroy (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -TColStd_Array1OfBoolean* the_this = (TColStd_Array1OfBoolean*) jcas_GetHandle(env,theobj); -the_this->Destroy(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TColStd_1Array1OfBoolean_IsAllocated (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TColStd_Array1OfBoolean* the_this = (TColStd_Array1OfBoolean*) jcas_GetHandle(env,theobj); - thejret = the_this->IsAllocated(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TColStd_1Array1OfBoolean_Assign (JNIEnv *env, jobject theobj, jobject Other) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -TColStd_Array1OfBoolean* the_Other = (TColStd_Array1OfBoolean*) jcas_GetHandle(env,Other); -TColStd_Array1OfBoolean* the_this = (TColStd_Array1OfBoolean*) jcas_GetHandle(env,theobj); -const TColStd_Array1OfBoolean& theret = the_this->Assign(*the_Other); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TColStd_Array1OfBoolean",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TColStd_1Array1OfBoolean_Length (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -TColStd_Array1OfBoolean* the_this = (TColStd_Array1OfBoolean*) jcas_GetHandle(env,theobj); - thejret = the_this->Length(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TColStd_1Array1OfBoolean_Lower (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -TColStd_Array1OfBoolean* the_this = (TColStd_Array1OfBoolean*) jcas_GetHandle(env,theobj); - thejret = the_this->Lower(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TColStd_1Array1OfBoolean_Upper (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -TColStd_Array1OfBoolean* the_this = (TColStd_Array1OfBoolean*) jcas_GetHandle(env,theobj); - thejret = the_this->Upper(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColStd_1Array1OfBoolean_SetValue (JNIEnv *env, jobject theobj, jint Index, jboolean Value) -{ - -jcas_Locking alock(env); -{ -try { -TColStd_Array1OfBoolean* the_this = (TColStd_Array1OfBoolean*) jcas_GetHandle(env,theobj); -the_this->SetValue((Standard_Integer) Index,(Standard_Boolean) Value); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TColStd_1Array1OfBoolean_Value (JNIEnv *env, jobject theobj, jint Index) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TColStd_Array1OfBoolean* the_this = (TColStd_Array1OfBoolean*) jcas_GetHandle(env,theobj); - thejret = the_this->Value((Standard_Integer) Index); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TColStd_1Array1OfBoolean_ChangeValue (JNIEnv *env, jobject theobj, jint Index) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TColStd_Array1OfBoolean* the_this = (TColStd_Array1OfBoolean*) jcas_GetHandle(env,theobj); - thejret = the_this->ChangeValue((Standard_Integer) Index); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColStd_1Array1OfBoolean_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - TColStd_Array1OfBoolean* theobj = (TColStd_Array1OfBoolean*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TColStd_Array1OfReal_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TColStd_Array1OfReal_java.cxx deleted file mode 100755 index 4dda88a37f..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TColStd_Array1OfReal_java.cxx +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColStd_1Array1OfReal_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - TColStd_Array1OfReal* theobj = (TColStd_Array1OfReal*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TColStd_Array2OfReal_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TColStd_Array2OfReal_java.cxx deleted file mode 100755 index a187a11e2b..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TColStd_Array2OfReal_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColStd_1Array2OfReal_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - TColStd_Array2OfReal* theobj = (TColStd_Array2OfReal*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TColStd_ListOfInteger_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TColStd_ListOfInteger_java.cxx deleted file mode 100755 index e4df9a428d..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TColStd_ListOfInteger_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColStd_1ListOfInteger_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - TColStd_ListOfInteger* theobj = (TColStd_ListOfInteger*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TColStd_ListOfTransient_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TColStd_ListOfTransient_java.cxx deleted file mode 100755 index 3b55a5567f..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TColStd_ListOfTransient_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColStd_1ListOfTransient_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - TColStd_ListOfTransient* theobj = (TColStd_ListOfTransient*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TColStd_MapOfTransient_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TColStd_MapOfTransient_java.cxx deleted file mode 100755 index 91e66e06c8..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TColStd_MapOfTransient_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColStd_1MapOfTransient_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - TColStd_MapOfTransient* theobj = (TColStd_MapOfTransient*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TColgp_Array1OfPnt2d_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TColgp_Array1OfPnt2d_java.cxx deleted file mode 100755 index a5b85b7518..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TColgp_Array1OfPnt2d_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColgp_1Array1OfPnt2d_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - TColgp_Array1OfPnt2d* theobj = (TColgp_Array1OfPnt2d*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TCollection_AsciiString_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TCollection_AsciiString_java.cxx deleted file mode 100755 index 24eb95cb92..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TCollection_AsciiString_java.cxx +++ /dev/null @@ -1,2343 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Create_11 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* theret = new TCollection_AsciiString(); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Create_12 (JNIEnv *env, jobject theobj, jobject message) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_message = jcas_ConvertToCString(env,message); -TCollection_AsciiString* theret = new TCollection_AsciiString(the_message); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Create_13 (JNIEnv *env, jobject theobj, jobject message, jint aLen) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_message = jcas_ConvertToCString(env,message); -TCollection_AsciiString* theret = new TCollection_AsciiString(the_message,(Standard_Integer) aLen); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Create_14 (JNIEnv *env, jobject theobj, jobject aChar) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Character the_aChar = jcas_GetCharacter(env,aChar); -TCollection_AsciiString* theret = new TCollection_AsciiString(the_aChar); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Create_15 (JNIEnv *env, jobject theobj, jint length, jobject filler) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Character the_filler = jcas_GetCharacter(env,filler); -TCollection_AsciiString* theret = new TCollection_AsciiString((Standard_Integer) length,the_filler); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Create_16 (JNIEnv *env, jobject theobj, jint value) -{ - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* theret = new TCollection_AsciiString((Standard_Integer) value); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Create_17 (JNIEnv *env, jobject theobj, jdouble value) -{ - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* theret = new TCollection_AsciiString((Standard_Real) value); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Create_18 (JNIEnv *env, jobject theobj, jobject astring) -{ - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_astring = (TCollection_AsciiString*) jcas_GetHandle(env,astring); -if ( the_astring == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_astring = new TCollection_AsciiString (); - // jcas_SetHandle ( env, astring, the_astring ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TCollection_AsciiString* theret = new TCollection_AsciiString(*the_astring); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Create_19 (JNIEnv *env, jobject theobj, jobject astring, jobject message) -{ - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_astring = (TCollection_AsciiString*) jcas_GetHandle(env,astring); -if ( the_astring == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_astring = new TCollection_AsciiString (); - // jcas_SetHandle ( env, astring, the_astring ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Standard_Character the_message = jcas_GetCharacter(env,message); -TCollection_AsciiString* theret = new TCollection_AsciiString(*the_astring,the_message); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Create_110 (JNIEnv *env, jobject theobj, jobject astring, jobject message) -{ - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_astring = (TCollection_AsciiString*) jcas_GetHandle(env,astring); -if ( the_astring == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_astring = new TCollection_AsciiString (); - // jcas_SetHandle ( env, astring, the_astring ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Standard_CString the_message = jcas_ConvertToCString(env,message); -TCollection_AsciiString* theret = new TCollection_AsciiString(*the_astring,the_message); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Create_111 (JNIEnv *env, jobject theobj, jobject astring, jobject message) -{ - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_astring = (TCollection_AsciiString*) jcas_GetHandle(env,astring); -if ( the_astring == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_astring = new TCollection_AsciiString (); - // jcas_SetHandle ( env, astring, the_astring ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TCollection_AsciiString* the_message = (TCollection_AsciiString*) jcas_GetHandle(env,message); -if ( the_message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, message, the_message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TCollection_AsciiString* theret = new TCollection_AsciiString(*the_astring,*the_message); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Create_112 (JNIEnv *env, jobject theobj, jobject astring) -{ - -jcas_Locking alock(env); -{ -try { -TCollection_ExtendedString* the_astring = (TCollection_ExtendedString*) jcas_GetHandle(env,astring); -if ( the_astring == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_astring = new TCollection_ExtendedString (); - // jcas_SetHandle ( env, astring, the_astring ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TCollection_AsciiString* theret = new TCollection_AsciiString(*the_astring); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1AssignCat_11 (JNIEnv *env, jobject theobj, jobject other) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Character the_other = jcas_GetCharacter(env,other); -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -the_this->AssignCat(the_other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1AssignCat_12 (JNIEnv *env, jobject theobj, jint other) -{ - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -the_this->AssignCat((Standard_Integer) other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1AssignCat_13 (JNIEnv *env, jobject theobj, jdouble other) -{ - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -the_this->AssignCat((Standard_Real) other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1AssignCat_14 (JNIEnv *env, jobject theobj, jobject other) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_other = jcas_ConvertToCString(env,other); -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -the_this->AssignCat(the_other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1AssignCat_15 (JNIEnv *env, jobject theobj, jobject other) -{ - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_other = (TCollection_AsciiString*) jcas_GetHandle(env,other); -if ( the_other == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_other = new TCollection_AsciiString (); - // jcas_SetHandle ( env, other, the_other ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -the_this->AssignCat(*the_other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_Capitalize (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -the_this->Capitalize(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Cat_11 (JNIEnv *env, jobject theobj, jobject other) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Standard_Character the_other = jcas_GetCharacter(env,other); -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -TCollection_AsciiString* theret = new TCollection_AsciiString(the_this->Cat(the_other)); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TCollection_AsciiString",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Cat_12 (JNIEnv *env, jobject theobj, jint other) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -TCollection_AsciiString* theret = new TCollection_AsciiString(the_this->Cat((Standard_Integer) other)); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TCollection_AsciiString",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Cat_13 (JNIEnv *env, jobject theobj, jdouble other) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -TCollection_AsciiString* theret = new TCollection_AsciiString(the_this->Cat((Standard_Real) other)); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TCollection_AsciiString",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Cat_14 (JNIEnv *env, jobject theobj, jobject other) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_other = jcas_ConvertToCString(env,other); -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -TCollection_AsciiString* theret = new TCollection_AsciiString(the_this->Cat(the_other)); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TCollection_AsciiString",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Cat_15 (JNIEnv *env, jobject theobj, jobject other) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_other = (TCollection_AsciiString*) jcas_GetHandle(env,other); -if ( the_other == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_other = new TCollection_AsciiString (); - // jcas_SetHandle ( env, other, the_other ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -TCollection_AsciiString* theret = new TCollection_AsciiString(the_this->Cat(*the_other)); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TCollection_AsciiString",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_Center (JNIEnv *env, jobject theobj, jint Width, jobject Filler) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Character the_Filler = jcas_GetCharacter(env,Filler); -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -the_this->Center((Standard_Integer) Width,the_Filler); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_ChangeAll (JNIEnv *env, jobject theobj, jobject aChar, jobject NewChar, jboolean CaseSensitive) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Character the_aChar = jcas_GetCharacter(env,aChar); -Standard_Character the_NewChar = jcas_GetCharacter(env,NewChar); -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -the_this->ChangeAll(the_aChar,the_NewChar,(Standard_Boolean) CaseSensitive); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_Clear (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -the_this->Clear(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Copy_11 (JNIEnv *env, jobject theobj, jobject fromwhere) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_fromwhere = jcas_ConvertToCString(env,fromwhere); -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -the_this->Copy(the_fromwhere); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Copy_12 (JNIEnv *env, jobject theobj, jobject fromwhere) -{ - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_fromwhere = (TCollection_AsciiString*) jcas_GetHandle(env,fromwhere); -if ( the_fromwhere == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_fromwhere = new TCollection_AsciiString (); - // jcas_SetHandle ( env, fromwhere, the_fromwhere ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -the_this->Copy(*the_fromwhere); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_Destroy (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -the_this->Destroy(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_FirstLocationInSet (JNIEnv *env, jobject theobj, jobject Set, jint FromIndex, jint ToIndex) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_Set = (TCollection_AsciiString*) jcas_GetHandle(env,Set); -if ( the_Set == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Set = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Set, the_Set ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); - thejret = the_this->FirstLocationInSet(*the_Set,(Standard_Integer) FromIndex,(Standard_Integer) ToIndex); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_FirstLocationNotInSet (JNIEnv *env, jobject theobj, jobject Set, jint FromIndex, jint ToIndex) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_Set = (TCollection_AsciiString*) jcas_GetHandle(env,Set); -if ( the_Set == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Set = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Set, the_Set ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); - thejret = the_this->FirstLocationNotInSet(*the_Set,(Standard_Integer) FromIndex,(Standard_Integer) ToIndex); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Insert_11 (JNIEnv *env, jobject theobj, jint where, jobject what) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Character the_what = jcas_GetCharacter(env,what); -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -the_this->Insert((Standard_Integer) where,the_what); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Insert_12 (JNIEnv *env, jobject theobj, jint where, jobject what) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_what = jcas_ConvertToCString(env,what); -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -the_this->Insert((Standard_Integer) where,the_what); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Insert_13 (JNIEnv *env, jobject theobj, jint where, jobject what) -{ - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_what = (TCollection_AsciiString*) jcas_GetHandle(env,what); -if ( the_what == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_what = new TCollection_AsciiString (); - // jcas_SetHandle ( env, what, the_what ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -the_this->Insert((Standard_Integer) where,*the_what); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_InsertAfter (JNIEnv *env, jobject theobj, jint Index, jobject other) -{ - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_other = (TCollection_AsciiString*) jcas_GetHandle(env,other); -if ( the_other == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_other = new TCollection_AsciiString (); - // jcas_SetHandle ( env, other, the_other ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -the_this->InsertAfter((Standard_Integer) Index,*the_other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_InsertBefore (JNIEnv *env, jobject theobj, jint Index, jobject other) -{ - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_other = (TCollection_AsciiString*) jcas_GetHandle(env,other); -if ( the_other == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_other = new TCollection_AsciiString (); - // jcas_SetHandle ( env, other, the_other ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -the_this->InsertBefore((Standard_Integer) Index,*the_other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_IsEmpty (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); - thejret = the_this->IsEmpty(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1IsEqual_11 (JNIEnv *env, jobject theobj, jobject other) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_other = jcas_ConvertToCString(env,other); -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); - thejret = the_this->IsEqual(the_other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1IsEqual_12 (JNIEnv *env, jobject theobj, jobject other) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_other = (TCollection_AsciiString*) jcas_GetHandle(env,other); -if ( the_other == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_other = new TCollection_AsciiString (); - // jcas_SetHandle ( env, other, the_other ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); - thejret = the_this->IsEqual(*the_other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1IsDifferent_11 (JNIEnv *env, jobject theobj, jobject other) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_other = jcas_ConvertToCString(env,other); -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); - thejret = the_this->IsDifferent(the_other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1IsDifferent_12 (JNIEnv *env, jobject theobj, jobject other) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_other = (TCollection_AsciiString*) jcas_GetHandle(env,other); -if ( the_other == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_other = new TCollection_AsciiString (); - // jcas_SetHandle ( env, other, the_other ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); - thejret = the_this->IsDifferent(*the_other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1IsLess_11 (JNIEnv *env, jobject theobj, jobject other) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_other = jcas_ConvertToCString(env,other); -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); - thejret = the_this->IsLess(the_other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1IsLess_12 (JNIEnv *env, jobject theobj, jobject other) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_other = (TCollection_AsciiString*) jcas_GetHandle(env,other); -if ( the_other == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_other = new TCollection_AsciiString (); - // jcas_SetHandle ( env, other, the_other ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); - thejret = the_this->IsLess(*the_other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1IsGreater_11 (JNIEnv *env, jobject theobj, jobject other) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_other = jcas_ConvertToCString(env,other); -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); - thejret = the_this->IsGreater(the_other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1IsGreater_12 (JNIEnv *env, jobject theobj, jobject other) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_other = (TCollection_AsciiString*) jcas_GetHandle(env,other); -if ( the_other == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_other = new TCollection_AsciiString (); - // jcas_SetHandle ( env, other, the_other ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); - thejret = the_this->IsGreater(*the_other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_IntegerValue (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); - thejret = the_this->IntegerValue(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_IsIntegerValue (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); - thejret = the_this->IsIntegerValue(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_IsRealValue (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); - thejret = the_this->IsRealValue(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_IsAscii (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); - thejret = the_this->IsAscii(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_LeftAdjust (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -the_this->LeftAdjust(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_LeftJustify (JNIEnv *env, jobject theobj, jint Width, jobject Filler) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Character the_Filler = jcas_GetCharacter(env,Filler); -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -the_this->LeftJustify((Standard_Integer) Width,the_Filler); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_Length (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); - thejret = the_this->Length(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Location_11 (JNIEnv *env, jobject theobj, jobject other, jint FromIndex, jint ToIndex) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_other = (TCollection_AsciiString*) jcas_GetHandle(env,other); -if ( the_other == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_other = new TCollection_AsciiString (); - // jcas_SetHandle ( env, other, the_other ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); - thejret = the_this->Location(*the_other,(Standard_Integer) FromIndex,(Standard_Integer) ToIndex); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Location_12 (JNIEnv *env, jobject theobj, jint N, jobject C, jint FromIndex, jint ToIndex) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Standard_Character the_C = jcas_GetCharacter(env,C); -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); - thejret = the_this->Location((Standard_Integer) N,the_C,(Standard_Integer) FromIndex,(Standard_Integer) ToIndex); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_LowerCase (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -the_this->LowerCase(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_Prepend (JNIEnv *env, jobject theobj, jobject other) -{ - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_other = (TCollection_AsciiString*) jcas_GetHandle(env,other); -if ( the_other == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_other = new TCollection_AsciiString (); - // jcas_SetHandle ( env, other, the_other ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -the_this->Prepend(*the_other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_RealValue (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); - thejret = the_this->RealValue(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1RemoveAll_11 (JNIEnv *env, jobject theobj, jobject C, jboolean CaseSensitive) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Character the_C = jcas_GetCharacter(env,C); -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -the_this->RemoveAll(the_C,(Standard_Boolean) CaseSensitive); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1RemoveAll_12 (JNIEnv *env, jobject theobj, jobject what) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Character the_what = jcas_GetCharacter(env,what); -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -the_this->RemoveAll(the_what); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_Remove (JNIEnv *env, jobject theobj, jint where, jint ahowmany) -{ - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -the_this->Remove((Standard_Integer) where,(Standard_Integer) ahowmany); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_RightAdjust (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -the_this->RightAdjust(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_RightJustify (JNIEnv *env, jobject theobj, jint Width, jobject Filler) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Character the_Filler = jcas_GetCharacter(env,Filler); -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -the_this->RightJustify((Standard_Integer) Width,the_Filler); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Search_11 (JNIEnv *env, jobject theobj, jobject what) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_what = jcas_ConvertToCString(env,what); -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); - thejret = the_this->Search(the_what); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Search_12 (JNIEnv *env, jobject theobj, jobject what) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_what = (TCollection_AsciiString*) jcas_GetHandle(env,what); -if ( the_what == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_what = new TCollection_AsciiString (); - // jcas_SetHandle ( env, what, the_what ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); - thejret = the_this->Search(*the_what); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1SearchFromEnd_11 (JNIEnv *env, jobject theobj, jobject what) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_what = jcas_ConvertToCString(env,what); -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); - thejret = the_this->SearchFromEnd(the_what); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1SearchFromEnd_12 (JNIEnv *env, jobject theobj, jobject what) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_what = (TCollection_AsciiString*) jcas_GetHandle(env,what); -if ( the_what == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_what = new TCollection_AsciiString (); - // jcas_SetHandle ( env, what, the_what ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); - thejret = the_this->SearchFromEnd(*the_what); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1SetValue_11 (JNIEnv *env, jobject theobj, jint where, jobject what) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Character the_what = jcas_GetCharacter(env,what); -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -the_this->SetValue((Standard_Integer) where,the_what); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1SetValue_12 (JNIEnv *env, jobject theobj, jint where, jobject what) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_what = jcas_ConvertToCString(env,what); -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -the_this->SetValue((Standard_Integer) where,the_what); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1SetValue_13 (JNIEnv *env, jobject theobj, jint where, jobject what) -{ - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_what = (TCollection_AsciiString*) jcas_GetHandle(env,what); -if ( the_what == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_what = new TCollection_AsciiString (); - // jcas_SetHandle ( env, what, the_what ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -the_this->SetValue((Standard_Integer) where,*the_what); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Split_12 (JNIEnv *env, jobject theobj, jint where) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -TCollection_AsciiString* theret = new TCollection_AsciiString(the_this->Split((Standard_Integer) where)); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TCollection_AsciiString",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1SubString_12 (JNIEnv *env, jobject theobj, jint FromIndex, jint ToIndex) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -TCollection_AsciiString* theret = new TCollection_AsciiString(the_this->SubString((Standard_Integer) FromIndex,(Standard_Integer) ToIndex)); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TCollection_AsciiString",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_ToCString (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->ToCString(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Token_12 (JNIEnv *env, jobject theobj, jobject separators, jint whichone) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_separators = jcas_ConvertToCString(env,separators); -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -TCollection_AsciiString* theret = new TCollection_AsciiString(the_this->Token(the_separators,(Standard_Integer) whichone)); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TCollection_AsciiString",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_Trunc (JNIEnv *env, jobject theobj, jint ahowmany) -{ - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -the_this->Trunc((Standard_Integer) ahowmany); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_UpperCase (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -the_this->UpperCase(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_UsefullLength (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); - thejret = the_this->UsefullLength(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_Value (JNIEnv *env, jobject theobj, jint where) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_this = (TCollection_AsciiString*) jcas_GetHandle(env,theobj); -Standard_Character *theret = ((Standard_Character *) malloc(sizeof(Standard_Character))); -*theret = the_this->Value((Standard_Integer) where); -thejret = jcas_CreateObject(env,"jcas/Standard_Character",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_HashCode (JNIEnv *env, jclass, jobject astring, jint Upper) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_astring = (TCollection_AsciiString*) jcas_GetHandle(env,astring); -if ( the_astring == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_astring = new TCollection_AsciiString (); - // jcas_SetHandle ( env, astring, the_astring ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if - thejret = TCollection_AsciiString::HashCode(*the_astring,(Standard_Integer) Upper); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1IsEqual_13 (JNIEnv *env, jclass, jobject string1, jobject string2) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_string1 = (TCollection_AsciiString*) jcas_GetHandle(env,string1); -if ( the_string1 == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_string1 = new TCollection_AsciiString (); - // jcas_SetHandle ( env, string1, the_string1 ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TCollection_AsciiString* the_string2 = (TCollection_AsciiString*) jcas_GetHandle(env,string2); -if ( the_string2 == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_string2 = new TCollection_AsciiString (); - // jcas_SetHandle ( env, string2, the_string2 ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if - thejret = TCollection_AsciiString::IsEqual(*the_string1,*the_string2); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1IsEqual_14 (JNIEnv *env, jclass, jobject string1, jobject string2) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_string1 = (TCollection_AsciiString*) jcas_GetHandle(env,string1); -if ( the_string1 == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_string1 = new TCollection_AsciiString (); - // jcas_SetHandle ( env, string1, the_string1 ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Standard_CString the_string2 = jcas_ConvertToCString(env,string2); - thejret = TCollection_AsciiString::IsEqual(*the_string1,the_string2); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_HASHCODE (JNIEnv *env, jclass, jobject astring, jint Upper) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_astring = (TCollection_AsciiString*) jcas_GetHandle(env,astring); -if ( the_astring == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_astring = new TCollection_AsciiString (); - // jcas_SetHandle ( env, astring, the_astring ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if - thejret = TCollection_AsciiString::HASHCODE(*the_astring,(Standard_Integer) Upper); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_ISSIMILAR (JNIEnv *env, jclass, jobject string1, jobject string2) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TCollection_AsciiString* the_string1 = (TCollection_AsciiString*) jcas_GetHandle(env,string1); -if ( the_string1 == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_string1 = new TCollection_AsciiString (); - // jcas_SetHandle ( env, string1, the_string1 ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TCollection_AsciiString* the_string2 = (TCollection_AsciiString*) jcas_GetHandle(env,string2); -if ( the_string2 == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_string2 = new TCollection_AsciiString (); - // jcas_SetHandle ( env, string2, the_string2 ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if - thejret = TCollection_AsciiString::ISSIMILAR(*the_string1,*the_string2); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - TCollection_AsciiString* theobj = (TCollection_AsciiString*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TCollection_BaseSequence_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TCollection_BaseSequence_java.cxx deleted file mode 100755 index 1084436f06..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TCollection_BaseSequence_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1BaseSequence_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - TCollection_BaseSequence* theobj = (TCollection_BaseSequence*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TCollection_BasicMap_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TCollection_BasicMap_java.cxx deleted file mode 100755 index 97a59639ba..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TCollection_BasicMap_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1BasicMap_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - TCollection_BasicMap* theobj = (TCollection_BasicMap*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TCollection_ExtendedString_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TCollection_ExtendedString_java.cxx deleted file mode 100755 index f3ee44d55d..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TCollection_ExtendedString_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1ExtendedString_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - TCollection_ExtendedString* theobj = (TCollection_ExtendedString*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TShort_Array1OfShortReal_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TShort_Array1OfShortReal_java.cxx deleted file mode 100755 index f2355fddf4..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TShort_Array1OfShortReal_java.cxx +++ /dev/null @@ -1,323 +0,0 @@ -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#include -#include -#include -#include -#include -#include - -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TShort_1Array1OfShortReal_TShort_1Array1OfShortReal_1Create_11 (JNIEnv *env, jobject theobj, jint Low, jint Up) -{ - -jcas_Locking alock(env); -{ -try { -TShort_Array1OfShortReal* theret = new TShort_Array1OfShortReal((Standard_Integer) Low,(Standard_Integer) Up); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TShort_1Array1OfShortReal_TShort_1Array1OfShortReal_1Create_12 (JNIEnv *env, jobject theobj, jfloat Item, jint Low, jint Up) -{ - -jcas_Locking alock(env); -{ -try { -TShort_Array1OfShortReal* theret = new TShort_Array1OfShortReal((Standard_ShortReal) Item,(Standard_Integer) Low,(Standard_Integer) Up); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TShort_1Array1OfShortReal_Init (JNIEnv *env, jobject theobj, jfloat V) -{ - -jcas_Locking alock(env); -{ -try { -TShort_Array1OfShortReal* the_this = (TShort_Array1OfShortReal*) jcas_GetHandle(env,theobj); -the_this->Init((Standard_ShortReal) V); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TShort_1Array1OfShortReal_Destroy (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -TShort_Array1OfShortReal* the_this = (TShort_Array1OfShortReal*) jcas_GetHandle(env,theobj); -the_this->Destroy(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TShort_1Array1OfShortReal_IsAllocated (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TShort_Array1OfShortReal* the_this = (TShort_Array1OfShortReal*) jcas_GetHandle(env,theobj); - thejret = the_this->IsAllocated(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TShort_1Array1OfShortReal_Assign (JNIEnv *env, jobject theobj, jobject Other) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -TShort_Array1OfShortReal* the_Other = (TShort_Array1OfShortReal*) jcas_GetHandle(env,Other); -TShort_Array1OfShortReal* the_this = (TShort_Array1OfShortReal*) jcas_GetHandle(env,theobj); -const TShort_Array1OfShortReal& theret = the_this->Assign(*the_Other); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TShort_Array1OfShortReal",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TShort_1Array1OfShortReal_Length (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -TShort_Array1OfShortReal* the_this = (TShort_Array1OfShortReal*) jcas_GetHandle(env,theobj); - thejret = the_this->Length(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TShort_1Array1OfShortReal_Lower (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -TShort_Array1OfShortReal* the_this = (TShort_Array1OfShortReal*) jcas_GetHandle(env,theobj); - thejret = the_this->Lower(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TShort_1Array1OfShortReal_Upper (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -TShort_Array1OfShortReal* the_this = (TShort_Array1OfShortReal*) jcas_GetHandle(env,theobj); - thejret = the_this->Upper(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TShort_1Array1OfShortReal_SetValue (JNIEnv *env, jobject theobj, jint Index, jfloat Value) -{ - -jcas_Locking alock(env); -{ -try { -TShort_Array1OfShortReal* the_this = (TShort_Array1OfShortReal*) jcas_GetHandle(env,theobj); -the_this->SetValue((Standard_Integer) Index,(Standard_ShortReal) Value); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); - -} - - - -JNIEXPORT jfloat JNICALL Java_CASCADESamplesJni_TShort_1Array1OfShortReal_Value (JNIEnv *env, jobject theobj, jint Index) -{ -jfloat thejret; - -jcas_Locking alock(env); -{ -try { -TShort_Array1OfShortReal* the_this = (TShort_Array1OfShortReal*) jcas_GetHandle(env,theobj); - thejret = the_this->Value((Standard_Integer) Index); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jfloat JNICALL Java_CASCADESamplesJni_TShort_1Array1OfShortReal_ChangeValue (JNIEnv *env, jobject theobj, jint Index) -{ -jfloat thejret; - -jcas_Locking alock(env); -{ -try { -TShort_Array1OfShortReal* the_this = (TShort_Array1OfShortReal*) jcas_GetHandle(env,theobj); - thejret = the_this->ChangeValue((Standard_Integer) Index); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,GetSString(Err)); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TShort_1Array1OfShortReal_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - TShort_Array1OfShortReal* theobj = (TShort_Array1OfShortReal*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TopLoc_Location_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TopLoc_Location_java.cxx deleted file mode 100755 index 81f91e5bba..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TopLoc_Location_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopLoc_1Location_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - TopLoc_Location* theobj = (TopLoc_Location*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TopoDS_Shape_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TopoDS_Shape_java.cxx deleted file mode 100755 index 5df10c52fc..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TopoDS_Shape_java.cxx +++ /dev/null @@ -1,1119 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Create_10 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* theret = new TopoDS_Shape(); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_IsNull (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); - thejret = the_this->IsNull(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_Nullify (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); -the_this->Nullify(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Location_11 (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); -const TopLoc_Location& theret = the_this->Location(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TopLoc_Location",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Location_12 (JNIEnv *env, jobject theobj, jobject Loc) -{ - -jcas_Locking alock(env); -{ -try { -TopLoc_Location* the_Loc = (TopLoc_Location*) jcas_GetHandle(env,Loc); -if ( the_Loc == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Loc = new TopLoc_Location (); - // jcas_SetHandle ( env, Loc, the_Loc ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); -the_this->Location(*the_Loc); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_Located (JNIEnv *env, jobject theobj, jobject Loc) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -TopLoc_Location* the_Loc = (TopLoc_Location*) jcas_GetHandle(env,Loc); -if ( the_Loc == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Loc = new TopLoc_Location (); - // jcas_SetHandle ( env, Loc, the_Loc ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); -TopoDS_Shape* theret = new TopoDS_Shape(the_this->Located(*the_Loc)); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TopoDS_Shape",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Orientation_11 (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); - thejret = the_this->Orientation(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Orientation_12 (JNIEnv *env, jobject theobj, jshort Orient) -{ - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); -the_this->Orientation((TopAbs_Orientation) Orient); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_Oriented (JNIEnv *env, jobject theobj, jshort Or) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); -TopoDS_Shape* theret = new TopoDS_Shape(the_this->Oriented((TopAbs_Orientation) Or)); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TopoDS_Shape",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1TShape_11 (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); -Handle(TopoDS_TShape)* theret = new Handle(TopoDS_TShape); -*theret = the_this->TShape(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TopoDS_TShape",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_ShapeType (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); - thejret = the_this->ShapeType(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Free_11 (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); - thejret = the_this->Free(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Free_12 (JNIEnv *env, jobject theobj, jboolean F) -{ - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); -the_this->Free((Standard_Boolean) F); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Modified_11 (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); - thejret = the_this->Modified(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Modified_12 (JNIEnv *env, jobject theobj, jboolean M) -{ - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); -the_this->Modified((Standard_Boolean) M); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Checked_11 (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); - thejret = the_this->Checked(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Checked_12 (JNIEnv *env, jobject theobj, jboolean C) -{ - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); -the_this->Checked((Standard_Boolean) C); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Orientable_11 (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); - thejret = the_this->Orientable(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Orientable_12 (JNIEnv *env, jobject theobj, jboolean C) -{ - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); -the_this->Orientable((Standard_Boolean) C); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Closed_11 (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); - thejret = the_this->Closed(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Closed_12 (JNIEnv *env, jobject theobj, jboolean C) -{ - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); -the_this->Closed((Standard_Boolean) C); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Infinite_11 (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); - thejret = the_this->Infinite(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Infinite_12 (JNIEnv *env, jobject theobj, jboolean C) -{ - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); -the_this->Infinite((Standard_Boolean) C); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Convex_11 (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); - thejret = the_this->Convex(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Convex_12 (JNIEnv *env, jobject theobj, jboolean C) -{ - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); -the_this->Convex((Standard_Boolean) C); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_Move (JNIEnv *env, jobject theobj, jobject position) -{ - -jcas_Locking alock(env); -{ -try { -TopLoc_Location* the_position = (TopLoc_Location*) jcas_GetHandle(env,position); -if ( the_position == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_position = new TopLoc_Location (); - // jcas_SetHandle ( env, position, the_position ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); -the_this->Move(*the_position); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_Moved (JNIEnv *env, jobject theobj, jobject position) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -TopLoc_Location* the_position = (TopLoc_Location*) jcas_GetHandle(env,position); -if ( the_position == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_position = new TopLoc_Location (); - // jcas_SetHandle ( env, position, the_position ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); -TopoDS_Shape* theret = new TopoDS_Shape(the_this->Moved(*the_position)); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TopoDS_Shape",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_Reverse (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); -the_this->Reverse(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_Reversed (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); -TopoDS_Shape* theret = new TopoDS_Shape(the_this->Reversed()); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TopoDS_Shape",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_Complement (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); -the_this->Complement(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_Complemented (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); -TopoDS_Shape* theret = new TopoDS_Shape(the_this->Complemented()); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TopoDS_Shape",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_Compose (JNIEnv *env, jobject theobj, jshort Orient) -{ - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); -the_this->Compose((TopAbs_Orientation) Orient); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_Composed (JNIEnv *env, jobject theobj, jshort Orient) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); -TopoDS_Shape* theret = new TopoDS_Shape(the_this->Composed((TopAbs_Orientation) Orient)); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TopoDS_Shape",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_IsPartner (JNIEnv *env, jobject theobj, jobject other) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_other = (TopoDS_Shape*) jcas_GetHandle(env,other); -if ( the_other == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_other = new TopoDS_Shape (); - // jcas_SetHandle ( env, other, the_other ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); - thejret = the_this->IsPartner(*the_other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_IsSame (JNIEnv *env, jobject theobj, jobject other) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_other = (TopoDS_Shape*) jcas_GetHandle(env,other); -if ( the_other == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_other = new TopoDS_Shape (); - // jcas_SetHandle ( env, other, the_other ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); - thejret = the_this->IsSame(*the_other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_IsEqual (JNIEnv *env, jobject theobj, jobject other) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_other = (TopoDS_Shape*) jcas_GetHandle(env,other); -if ( the_other == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_other = new TopoDS_Shape (); - // jcas_SetHandle ( env, other, the_other ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); - thejret = the_this->IsEqual(*the_other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_IsNotEqual (JNIEnv *env, jobject theobj, jobject other) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_other = (TopoDS_Shape*) jcas_GetHandle(env,other); -if ( the_other == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_other = new TopoDS_Shape (); - // jcas_SetHandle ( env, other, the_other ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); - thejret = the_this->IsNotEqual(*the_other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_HashCode (JNIEnv *env, jobject theobj, jint Upper) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); - thejret = the_this->HashCode((Standard_Integer) Upper); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_EmptyCopy (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); -the_this->EmptyCopy(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_EmptyCopied (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); -TopoDS_Shape* theret = new TopoDS_Shape(the_this->EmptyCopied()); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TopoDS_Shape",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1TShape_12 (JNIEnv *env, jobject theobj, jobject T) -{ - -jcas_Locking alock(env); -{ -try { - Handle( TopoDS_TShape ) the_T; - void* ptr_T = jcas_GetHandle(env,T); - - if ( ptr_T != NULL ) the_T = *( ( Handle( TopoDS_TShape )* )ptr_T ); - -TopoDS_Shape* the_this = (TopoDS_Shape*) jcas_GetHandle(env,theobj); -the_this->TShape(the_T); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - TopoDS_Shape* theobj = (TopoDS_Shape*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TopoDS_TShape_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TopoDS_TShape_java.cxx deleted file mode 100755 index fcbb7147e6..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_TopoDS_TShape_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_V2d_View_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_V2d_View_java.cxx deleted file mode 100755 index ec0a5b7efd..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_V2d_View_java.cxx +++ /dev/null @@ -1,1540 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Create_10 (JNIEnv *env, jobject theobj, jobject aWindowDriver, jobject aViewer, jdouble aXCenter, jdouble aYCenter, jdouble aSize) -{ - -jcas_Locking alock(env); -{ -try { - Handle( Aspect_WindowDriver ) the_aWindowDriver; - void* ptr_aWindowDriver = jcas_GetHandle(env,aWindowDriver); - - if ( ptr_aWindowDriver != NULL ) the_aWindowDriver = *( ( Handle( Aspect_WindowDriver )* )ptr_aWindowDriver ); - - Handle( V2d_Viewer ) the_aViewer; - void* ptr_aViewer = jcas_GetHandle(env,aViewer); - - if ( ptr_aViewer != NULL ) the_aViewer = *( ( Handle( V2d_Viewer )* )ptr_aViewer ); - -Handle(V2d_View)* theret = new Handle(V2d_View); -*theret = new V2d_View(the_aWindowDriver,the_aViewer,(Quantity_Length) aXCenter,(Quantity_Length) aYCenter,(Quantity_Length) aSize); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_SetDefaultPosition (JNIEnv *env, jobject theobj, jdouble aXCenter, jdouble aYCenter, jdouble aSize) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetDefaultPosition((Quantity_Length) aXCenter,(Quantity_Length) aYCenter,(Quantity_Length) aSize); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_Fitall (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->Fitall(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_WindowFit (JNIEnv *env, jobject theobj, jint aX1, jint aY1, jint aX2, jint aY2) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->WindowFit((Standard_Integer) aX1,(Standard_Integer) aY1,(Standard_Integer) aX2,(Standard_Integer) aY2); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Fit_11 (JNIEnv *env, jobject theobj, jdouble aX1, jdouble aY1, jdouble aX2, jdouble aY2, jboolean UseMinimum) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->Fit((Quantity_Length) aX1,(Quantity_Length) aY1,(Quantity_Length) aX2,(Quantity_Length) aY2,(Standard_Boolean) UseMinimum); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_SetFitallRatio (JNIEnv *env, jobject theobj, jdouble aRatio) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetFitallRatio((Quantity_Ratio) aRatio); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Zoom_11 (JNIEnv *env, jobject theobj, jdouble Zoom) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->Zoom((Quantity_Factor) Zoom); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Zoom_12 (JNIEnv *env, jobject theobj, jint aX1, jint aY1, jint aX2, jint aY2, jdouble aCoefficient) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->Zoom((Standard_Integer) aX1,(Standard_Integer) aY1,(Standard_Integer) aX2,(Standard_Integer) aY2,(Quantity_Ratio) aCoefficient); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Zoom_13 (JNIEnv *env, jobject theobj, jint aX, jint aY, jdouble aCoefficient) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->Zoom((Standard_Integer) aX,(Standard_Integer) aY,(Quantity_Ratio) aCoefficient); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_Magnify (JNIEnv *env, jobject theobj, jobject anOriginView, jint X1, jint Y1, jint X2, jint Y2) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V2d_View ) the_anOriginView; - void* ptr_anOriginView = jcas_GetHandle(env,anOriginView); - - if ( ptr_anOriginView != NULL ) the_anOriginView = *( ( Handle( V2d_View )* )ptr_anOriginView ); - -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->Magnify(the_anOriginView,(Standard_Integer) X1,(Standard_Integer) Y1,(Standard_Integer) X2,(Standard_Integer) Y2); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_Translate (JNIEnv *env, jobject theobj, jdouble dx, jdouble dy) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->Translate((Quantity_Length) dx,(Quantity_Length) dy); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_Place (JNIEnv *env, jobject theobj, jint x, jint y, jdouble aZoomFactor) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->Place((Standard_Integer) x,(Standard_Integer) y,(Quantity_Factor) aZoomFactor); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_ScreenPlace (JNIEnv *env, jobject theobj, jdouble x, jdouble y, jdouble aZoomFactor) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->ScreenPlace((Quantity_Length) x,(Quantity_Length) y,(Quantity_Factor) aZoomFactor); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_Pan (JNIEnv *env, jobject theobj, jint dx, jint dy) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->Pan((Standard_Integer) dx,(Standard_Integer) dy); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Convert_11 (JNIEnv *env, jobject theobj, jint V) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Convert((Standard_Integer) V); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Convert_12 (JNIEnv *env, jobject theobj, jint X, jint Y, jobject ViewX, jobject ViewY) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_ViewX = jcas_GetReal(env,ViewX); -Standard_Real the_ViewY = jcas_GetReal(env,ViewY); -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->Convert((Standard_Integer) X,(Standard_Integer) Y,the_ViewX,the_ViewY); -jcas_SetReal(env,ViewX,the_ViewX); -jcas_SetReal(env,ViewY,the_ViewY); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Convert_13 (JNIEnv *env, jobject theobj, jdouble ViewX, jdouble ViewY, jobject X, jobject Y) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Integer the_X = jcas_GetInteger(env,X); -Standard_Integer the_Y = jcas_GetInteger(env,Y); -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->Convert((Quantity_Length) ViewX,(Quantity_Length) ViewY,the_X,the_Y); -jcas_SetInteger(env,X,the_X); -jcas_SetInteger(env,Y,the_Y); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Convert_14 (JNIEnv *env, jobject theobj, jdouble aDriverSize) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Convert((Quantity_Length) aDriverSize); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_Reset (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->Reset(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_Previous (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->Previous(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_DisableStorePrevious (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->DisableStorePrevious(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_EnableStorePrevious (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->EnableStorePrevious(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_Update (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->Update(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_UpdateNew (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->UpdateNew(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_RestoreArea (JNIEnv *env, jobject theobj, jint Xc, jint Yc, jint Width, jint Height) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->RestoreArea((Standard_Integer) Xc,(Standard_Integer) Yc,(Standard_Integer) Width,(Standard_Integer) Height); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_Restore (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->Restore(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Dump_11 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->Dump(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Dump_12 (JNIEnv *env, jobject theobj, jobject aFileName) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aFileName = jcas_ConvertToCString(env,aFileName); -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->Dump(the_aFileName); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Pick_11 (JNIEnv *env, jobject theobj, jint X, jint Y, jint aPrecision) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -Handle(Graphic2d_DisplayList)* theret = new Handle(Graphic2d_DisplayList); -*theret = the_this->Pick((Standard_Integer) X,(Standard_Integer) Y,(Standard_Integer) aPrecision); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Graphic2d_DisplayList",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V2d_1View_PickByCircle (JNIEnv *env, jobject theobj, jint X, jint Y, jint Radius) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -Handle(Graphic2d_DisplayList)* theret = new Handle(Graphic2d_DisplayList); -*theret = the_this->PickByCircle((Standard_Integer) X,(Standard_Integer) Y,(Standard_Integer) Radius); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Graphic2d_DisplayList",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Pick_12 (JNIEnv *env, jobject theobj, jint Xmin, jint Ymin, jint Xmax, jint Ymax, jshort aPickMode) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -Handle(Graphic2d_DisplayList)* theret = new Handle(Graphic2d_DisplayList); -*theret = the_this->Pick((Standard_Integer) Xmin,(Standard_Integer) Ymin,(Standard_Integer) Xmax,(Standard_Integer) Ymax,(Graphic2d_PickMode) aPickMode); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Graphic2d_DisplayList",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_Erase (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->Erase(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_MustBeResized (JNIEnv *env, jobject theobj, jshort anEffect) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->MustBeResized((V2d_TypeOfWindowResizingEffect) anEffect); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_HasBeenMoved (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->HasBeenMoved(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Plot_11 (JNIEnv *env, jobject theobj, jobject aPlotterDriver, jdouble aXCenter, jdouble aYCenter, jdouble aScale) -{ - -jcas_Locking alock(env); -{ -try { - Handle( PlotMgt_PlotterDriver ) the_aPlotterDriver; - void* ptr_aPlotterDriver = jcas_GetHandle(env,aPlotterDriver); - - if ( ptr_aPlotterDriver != NULL ) the_aPlotterDriver = *( ( Handle( PlotMgt_PlotterDriver )* )ptr_aPlotterDriver ); - -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->Plot(the_aPlotterDriver,(Quantity_Length) aXCenter,(Quantity_Length) aYCenter,(Quantity_Factor) aScale); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Plot_12 (JNIEnv *env, jobject theobj, jobject aPlotterDriver, jdouble aScale) -{ - -jcas_Locking alock(env); -{ -try { - Handle( PlotMgt_PlotterDriver ) the_aPlotterDriver; - void* ptr_aPlotterDriver = jcas_GetHandle(env,aPlotterDriver); - - if ( ptr_aPlotterDriver != NULL ) the_aPlotterDriver = *( ( Handle( PlotMgt_PlotterDriver )* )ptr_aPlotterDriver ); - -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->Plot(the_aPlotterDriver,(Quantity_Factor) aScale); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_PlotScreen (JNIEnv *env, jobject theobj, jobject aPlotterDriver) -{ - -jcas_Locking alock(env); -{ -try { - Handle( PlotMgt_PlotterDriver ) the_aPlotterDriver; - void* ptr_aPlotterDriver = jcas_GetHandle(env,aPlotterDriver); - - if ( ptr_aPlotterDriver != NULL ) the_aPlotterDriver = *( ( Handle( PlotMgt_PlotterDriver )* )ptr_aPlotterDriver ); - -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->PlotScreen(the_aPlotterDriver); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_ScreenCopy (JNIEnv *env, jobject theobj, jobject aPlotterDriver, jboolean fWhiteBackground, jdouble aScale) -{ - -jcas_Locking alock(env); -{ -try { - Handle( PlotMgt_PlotterDriver ) the_aPlotterDriver; - void* ptr_aPlotterDriver = jcas_GetHandle(env,aPlotterDriver); - - if ( ptr_aPlotterDriver != NULL ) the_aPlotterDriver = *( ( Handle( PlotMgt_PlotterDriver )* )ptr_aPlotterDriver ); - -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->ScreenCopy(the_aPlotterDriver,(Standard_Boolean) fWhiteBackground,(Quantity_Factor) aScale); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_PostScriptOutput (JNIEnv *env, jobject theobj, jobject aFile, jdouble aWidth, jdouble aHeight, jdouble aXCenter, jdouble aYCenter, jdouble aScale, jshort aTypeOfColorSpace) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aFile = jcas_ConvertToCString(env,aFile); -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->PostScriptOutput(the_aFile,(Quantity_Length) aWidth,(Quantity_Length) aHeight,(Quantity_Length) aXCenter,(Quantity_Length) aYCenter,(Quantity_Factor) aScale,(Aspect_TypeOfColorSpace) aTypeOfColorSpace); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_ScreenPostScriptOutput (JNIEnv *env, jobject theobj, jobject aFile, jdouble aWidth, jdouble aHeight, jshort aTypeOfColorSpace) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aFile = jcas_ConvertToCString(env,aFile); -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->ScreenPostScriptOutput(the_aFile,(Quantity_Length) aWidth,(Quantity_Length) aHeight,(Aspect_TypeOfColorSpace) aTypeOfColorSpace); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_Hit (JNIEnv *env, jobject theobj, jint X, jint Y, jobject gx, jobject gy) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_gx = jcas_GetReal(env,gx); -Standard_Real the_gy = jcas_GetReal(env,gy); -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->Hit((Standard_Integer) X,(Standard_Integer) Y,the_gx,the_gy); -jcas_SetReal(env,gx,the_gx); -jcas_SetReal(env,gy,the_gy); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_ShowHit (JNIEnv *env, jobject theobj, jint X, jint Y) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->ShowHit((Standard_Integer) X,(Standard_Integer) Y); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_EraseHit (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->EraseHit(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_SetDefaultHighlightColor (JNIEnv *env, jobject theobj, jint aColorIndex) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetDefaultHighlightColor((Standard_Integer) aColorIndex); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_SetDeflection (JNIEnv *env, jobject theobj, jdouble aDeflection) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetDeflection((Quantity_Length) aDeflection); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_V2d_1View_Deflection (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Deflection(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V2d_1View_View (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -Handle(Graphic2d_View)* theret = new Handle(Graphic2d_View); -*theret = the_this->View(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Graphic2d_View",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V2d_1View_Viewer (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -Handle(V2d_Viewer)* theret = new Handle(V2d_Viewer); -*theret = the_this->Viewer(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/V2d_Viewer",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V2d_1View_Driver (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -Handle(Aspect_WindowDriver)* theret = new Handle(Aspect_WindowDriver); -*theret = the_this->Driver(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_WindowDriver",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Zoom_14 (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Zoom(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_Center (JNIEnv *env, jobject theobj, jobject aX, jobject aY) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_aX = jcas_GetReal(env,aX); -Standard_Real the_aY = jcas_GetReal(env,aY); -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->Center(the_aX,the_aY); -jcas_SetReal(env,aX,the_aX); -jcas_SetReal(env,aY,the_aY); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_V2d_1View_Size (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Size(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Color_11 (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Color(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Color_12 (JNIEnv *env, jobject theobj, jobject color) -{ - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_color = (Quantity_Color*) jcas_GetHandle(env,color); -if ( the_color == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_color = new Quantity_Color (); - // jcas_SetHandle ( env, color, the_color ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->Color(*the_color); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_Scroll (JNIEnv *env, jobject theobj, jobject XCenter, jobject YCenter, jobject DX, jobject DY) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Integer the_XCenter = jcas_GetInteger(env,XCenter); -Standard_Integer the_YCenter = jcas_GetInteger(env,YCenter); -Standard_Integer the_DX = jcas_GetInteger(env,DX); -Standard_Integer the_DY = jcas_GetInteger(env,DY); -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->Scroll(the_XCenter,the_YCenter,the_DX,the_DY); -jcas_SetInteger(env,XCenter,the_XCenter); -jcas_SetInteger(env,YCenter,the_YCenter); -jcas_SetInteger(env,DX,the_DX); -jcas_SetInteger(env,DY,the_DY); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_V2d_1View_DefaultHighlightColor (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->DefaultHighlightColor(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Fit_12 (JNIEnv *env, jobject theobj, jint aX1, jint aY1, jint aX2, jint aY2) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->Fit((Standard_Integer) aX1,(Standard_Integer) aY1,(Standard_Integer) aX2,(Standard_Integer) aY2); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1SetBackground_11 (JNIEnv *env, jobject theobj, jshort aNameColor) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetBackground((Quantity_NameOfColor) aNameColor); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1SetBackground_12 (JNIEnv *env, jobject theobj, jobject color) -{ - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_color = (Quantity_Color*) jcas_GetHandle(env,color); -if ( the_color == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_color = new Quantity_Color (); - // jcas_SetHandle ( env, color, the_color ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetBackground(*the_color); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1SetBackground_13 (JNIEnv *env, jobject theobj, jobject aNameFile, jshort aMethod) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aNameFile = jcas_ConvertToCString(env,aNameFile); -Handle(V2d_View) the_this = *((Handle(V2d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->SetBackground(the_aNameFile,(Aspect_FillMethod) aMethod); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_V2d_Viewer_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_V2d_Viewer_java.cxx deleted file mode 100755 index 588b310968..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_V2d_Viewer_java.cxx +++ /dev/null @@ -1,961 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_V2d_1Viewer_1Create_11 (JNIEnv *env, jobject theobj, jobject aGraphicDevice, jstring aName, jobject aDomain) -{ - -jcas_Locking alock(env); -{ -try { - Handle( Aspect_GraphicDevice ) the_aGraphicDevice; - void* ptr_aGraphicDevice = jcas_GetHandle(env,aGraphicDevice); - - if ( ptr_aGraphicDevice != NULL ) the_aGraphicDevice = *( ( Handle( Aspect_GraphicDevice )* )ptr_aGraphicDevice ); - -Standard_ExtString the_aName = jcas_ConvertToExtString(env,aName); -Standard_CString the_aDomain = jcas_ConvertToCString(env,aDomain); -Handle(V2d_Viewer)* theret = new Handle(V2d_Viewer); -*theret = new V2d_Viewer(the_aGraphicDevice,the_aName,the_aDomain); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_V2d_1Viewer_1Create_12 (JNIEnv *env, jobject theobj, jobject aGraphicDevice, jobject aView, jstring aName, jobject aDomain) -{ - -jcas_Locking alock(env); -{ -try { - Handle( Aspect_GraphicDevice ) the_aGraphicDevice; - void* ptr_aGraphicDevice = jcas_GetHandle(env,aGraphicDevice); - - if ( ptr_aGraphicDevice != NULL ) the_aGraphicDevice = *( ( Handle( Aspect_GraphicDevice )* )ptr_aGraphicDevice ); - - Handle( Graphic2d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( Graphic2d_View )* )ptr_aView ); - -Standard_ExtString the_aName = jcas_ConvertToExtString(env,aName); -Standard_CString the_aDomain = jcas_ConvertToCString(env,aDomain); -Handle(V2d_Viewer)* theret = new Handle(V2d_Viewer); -*theret = new V2d_Viewer(the_aGraphicDevice,the_aView,the_aName,the_aDomain); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_AddView (JNIEnv *env, jobject theobj, jobject aView) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V2d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V2d_View )* )ptr_aView ); - -Handle(V2d_Viewer) the_this = *((Handle(V2d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->AddView(the_aView); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_RemoveView (JNIEnv *env, jobject theobj, jobject aView) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V2d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V2d_View )* )ptr_aView ); - -Handle(V2d_Viewer) the_this = *((Handle(V2d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->RemoveView(the_aView); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_Update (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_Viewer) the_this = *((Handle(V2d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->Update(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_UpdateNew (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_Viewer) the_this = *((Handle(V2d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->UpdateNew(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_SetColorMap (JNIEnv *env, jobject theobj, jobject aColorMap) -{ - -jcas_Locking alock(env); -{ -try { - Handle( Aspect_ColorMap ) the_aColorMap; - void* ptr_aColorMap = jcas_GetHandle(env,aColorMap); - - if ( ptr_aColorMap != NULL ) the_aColorMap = *( ( Handle( Aspect_ColorMap )* )ptr_aColorMap ); - -Handle(V2d_Viewer) the_this = *((Handle(V2d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetColorMap(the_aColorMap); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_SetTypeMap (JNIEnv *env, jobject theobj, jobject aTypeMap) -{ - -jcas_Locking alock(env); -{ -try { - Handle( Aspect_TypeMap ) the_aTypeMap; - void* ptr_aTypeMap = jcas_GetHandle(env,aTypeMap); - - if ( ptr_aTypeMap != NULL ) the_aTypeMap = *( ( Handle( Aspect_TypeMap )* )ptr_aTypeMap ); - -Handle(V2d_Viewer) the_this = *((Handle(V2d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetTypeMap(the_aTypeMap); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_SetWidthMap (JNIEnv *env, jobject theobj, jobject aWidthMap) -{ - -jcas_Locking alock(env); -{ -try { - Handle( Aspect_WidthMap ) the_aWidthMap; - void* ptr_aWidthMap = jcas_GetHandle(env,aWidthMap); - - if ( ptr_aWidthMap != NULL ) the_aWidthMap = *( ( Handle( Aspect_WidthMap )* )ptr_aWidthMap ); - -Handle(V2d_Viewer) the_this = *((Handle(V2d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetWidthMap(the_aWidthMap); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_SetFontMap (JNIEnv *env, jobject theobj, jobject aFontMap, jboolean useMFT) -{ - -jcas_Locking alock(env); -{ -try { - Handle( Aspect_FontMap ) the_aFontMap; - void* ptr_aFontMap = jcas_GetHandle(env,aFontMap); - - if ( ptr_aFontMap != NULL ) the_aFontMap = *( ( Handle( Aspect_FontMap )* )ptr_aFontMap ); - -Handle(V2d_Viewer) the_this = *((Handle(V2d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetFontMap(the_aFontMap,(Standard_Boolean) useMFT); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_SetMarkMap (JNIEnv *env, jobject theobj, jobject aMarkMap) -{ - -jcas_Locking alock(env); -{ -try { - Handle( Aspect_MarkMap ) the_aMarkMap; - void* ptr_aMarkMap = jcas_GetHandle(env,aMarkMap); - - if ( ptr_aMarkMap != NULL ) the_aMarkMap = *( ( Handle( Aspect_MarkMap )* )ptr_aMarkMap ); - -Handle(V2d_Viewer) the_this = *((Handle(V2d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetMarkMap(the_aMarkMap); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V2d_1Viewer_ColorMap (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V2d_Viewer) the_this = *((Handle(V2d_Viewer)*) jcas_GetHandle(env,theobj)); -Handle(Aspect_ColorMap)* theret = new Handle(Aspect_ColorMap); -*theret = the_this->ColorMap(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_ColorMap",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V2d_1Viewer_TypeMap (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V2d_Viewer) the_this = *((Handle(V2d_Viewer)*) jcas_GetHandle(env,theobj)); -Handle(Aspect_TypeMap)* theret = new Handle(Aspect_TypeMap); -*theret = the_this->TypeMap(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_TypeMap",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V2d_1Viewer_WidthMap (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V2d_Viewer) the_this = *((Handle(V2d_Viewer)*) jcas_GetHandle(env,theobj)); -Handle(Aspect_WidthMap)* theret = new Handle(Aspect_WidthMap); -*theret = the_this->WidthMap(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_WidthMap",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V2d_1Viewer_FontMap (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V2d_Viewer) the_this = *((Handle(V2d_Viewer)*) jcas_GetHandle(env,theobj)); -Handle(Aspect_FontMap)* theret = new Handle(Aspect_FontMap); -*theret = the_this->FontMap(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_FontMap",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V2d_1Viewer_MarkMap (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V2d_Viewer) the_this = *((Handle(V2d_Viewer)*) jcas_GetHandle(env,theobj)); -Handle(Aspect_MarkMap)* theret = new Handle(Aspect_MarkMap); -*theret = the_this->MarkMap(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_MarkMap",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V2d_1Viewer_UseMFT (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V2d_Viewer) the_this = *((Handle(V2d_Viewer)*) jcas_GetHandle(env,theobj)); - thejret = the_this->UseMFT(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V2d_1Viewer_View (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V2d_Viewer) the_this = *((Handle(V2d_Viewer)*) jcas_GetHandle(env,theobj)); -Handle(Graphic2d_View)* theret = new Handle(Graphic2d_View); -*theret = the_this->View(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Graphic2d_View",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_V2d_1Viewer_InitializeColor (JNIEnv *env, jobject theobj, jshort aColor) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V2d_Viewer) the_this = *((Handle(V2d_Viewer)*) jcas_GetHandle(env,theobj)); - thejret = the_this->InitializeColor((Quantity_NameOfColor) aColor); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_InitActiveViews (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_Viewer) the_this = *((Handle(V2d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->InitActiveViews(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V2d_1Viewer_MoreActiveViews (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V2d_Viewer) the_this = *((Handle(V2d_Viewer)*) jcas_GetHandle(env,theobj)); - thejret = the_this->MoreActiveViews(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_NextActiveViews (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_Viewer) the_this = *((Handle(V2d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->NextActiveViews(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V2d_1Viewer_ActiveView (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V2d_Viewer) the_this = *((Handle(V2d_Viewer)*) jcas_GetHandle(env,theobj)); -Handle(V2d_View)* theret = new Handle(V2d_View); -*theret = the_this->ActiveView(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/V2d_View",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V2d_1Viewer_IsEmpty (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V2d_Viewer) the_this = *((Handle(V2d_Viewer)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IsEmpty(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_V2d_1Viewer_GridType (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V2d_Viewer) the_this = *((Handle(V2d_Viewer)*) jcas_GetHandle(env,theobj)); - thejret = the_this->GridType(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_Hit (JNIEnv *env, jobject theobj, jdouble X, jdouble Y, jobject gx, jobject gy) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_gx = jcas_GetReal(env,gx); -Standard_Real the_gy = jcas_GetReal(env,gy); -Handle(V2d_Viewer) the_this = *((Handle(V2d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->Hit((Quantity_Length) X,(Quantity_Length) Y,the_gx,the_gy); -jcas_SetReal(env,gx,the_gx); -jcas_SetReal(env,gy,the_gy); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_ActivateGrid (JNIEnv *env, jobject theobj, jshort aGridType, jshort aGridDrawMode) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_Viewer) the_this = *((Handle(V2d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->ActivateGrid((Aspect_GridType) aGridType,(Aspect_GridDrawMode) aGridDrawMode); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_DeactivateGrid (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_Viewer) the_this = *((Handle(V2d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->DeactivateGrid(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V2d_1Viewer_IsActive (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V2d_Viewer) the_this = *((Handle(V2d_Viewer)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IsActive(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_RectangularGridValues (JNIEnv *env, jobject theobj, jobject XOrigin, jobject YOrigin, jobject XStep, jobject YStep, jobject RotationAngle) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_XOrigin = jcas_GetReal(env,XOrigin); -Standard_Real the_YOrigin = jcas_GetReal(env,YOrigin); -Standard_Real the_XStep = jcas_GetReal(env,XStep); -Standard_Real the_YStep = jcas_GetReal(env,YStep); -Standard_Real the_RotationAngle = jcas_GetReal(env,RotationAngle); -Handle(V2d_Viewer) the_this = *((Handle(V2d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->RectangularGridValues(the_XOrigin,the_YOrigin,the_XStep,the_YStep,the_RotationAngle); -jcas_SetReal(env,XOrigin,the_XOrigin); -jcas_SetReal(env,YOrigin,the_YOrigin); -jcas_SetReal(env,XStep,the_XStep); -jcas_SetReal(env,YStep,the_YStep); -jcas_SetReal(env,RotationAngle,the_RotationAngle); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_SetRectangularGridValues (JNIEnv *env, jobject theobj, jdouble XOrigin, jdouble YOrigin, jdouble XStep, jdouble YStep, jdouble RotationAngle) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_Viewer) the_this = *((Handle(V2d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetRectangularGridValues((Quantity_Length) XOrigin,(Quantity_Length) YOrigin,(Quantity_Length) XStep,(Quantity_Length) YStep,(Quantity_PlaneAngle) RotationAngle); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_CircularGridValues (JNIEnv *env, jobject theobj, jobject XOrigin, jobject YOrigin, jobject RadiusStep, jobject DivisionNumber, jobject RotationAngle) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_XOrigin = jcas_GetReal(env,XOrigin); -Standard_Real the_YOrigin = jcas_GetReal(env,YOrigin); -Standard_Real the_RadiusStep = jcas_GetReal(env,RadiusStep); -Standard_Integer the_DivisionNumber = jcas_GetInteger(env,DivisionNumber); -Standard_Real the_RotationAngle = jcas_GetReal(env,RotationAngle); -Handle(V2d_Viewer) the_this = *((Handle(V2d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->CircularGridValues(the_XOrigin,the_YOrigin,the_RadiusStep,the_DivisionNumber,the_RotationAngle); -jcas_SetReal(env,XOrigin,the_XOrigin); -jcas_SetReal(env,YOrigin,the_YOrigin); -jcas_SetReal(env,RadiusStep,the_RadiusStep); -jcas_SetInteger(env,DivisionNumber,the_DivisionNumber); -jcas_SetReal(env,RotationAngle,the_RotationAngle); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_SetCircularGridValues (JNIEnv *env, jobject theobj, jdouble XOrigin, jdouble YOrigin, jdouble RadiusStep, jint DivisionNumber, jdouble RotationAngle) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V2d_Viewer) the_this = *((Handle(V2d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetCircularGridValues((Quantity_Length) XOrigin,(Quantity_Length) YOrigin,(Quantity_Length) RadiusStep,(Standard_Integer) DivisionNumber,(Quantity_PlaneAngle) RotationAngle); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_SetGridColor (JNIEnv *env, jobject theobj, jobject color1, jobject color2) -{ - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_color1 = (Quantity_Color*) jcas_GetHandle(env,color1); -if ( the_color1 == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_color1 = new Quantity_Color (); - // jcas_SetHandle ( env, color1, the_color1 ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Quantity_Color* the_color2 = (Quantity_Color*) jcas_GetHandle(env,color2); -if ( the_color2 == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_color2 = new Quantity_Color (); - // jcas_SetHandle ( env, color2, the_color2 ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(V2d_Viewer) the_this = *((Handle(V2d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetGridColor(*the_color1,*the_color2); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_V3d_Light_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_V3d_Light_java.cxx deleted file mode 100755 index 8f98a2efe6..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_V3d_Light_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_V3d_OrthographicView_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_V3d_OrthographicView_java.cxx deleted file mode 100755 index 7dc922866a..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_V3d_OrthographicView_java.cxx +++ /dev/null @@ -1,158 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1OrthographicView_V3d_1OrthographicView_1Create_11 (JNIEnv *env, jobject theobj, jobject VM) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_Viewer ) the_VM; - void* ptr_VM = jcas_GetHandle(env,VM); - - if ( ptr_VM != NULL ) the_VM = *( ( Handle( V3d_Viewer )* )ptr_VM ); - -Handle(V3d_OrthographicView)* theret = new Handle(V3d_OrthographicView); -*theret = new V3d_OrthographicView(the_VM); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1OrthographicView_V3d_1OrthographicView_1Create_12 (JNIEnv *env, jobject theobj, jobject VM, jobject V) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_Viewer ) the_VM; - void* ptr_VM = jcas_GetHandle(env,VM); - - if ( ptr_VM != NULL ) the_VM = *( ( Handle( V3d_Viewer )* )ptr_VM ); - - Handle( V3d_PerspectiveView ) the_V; - void* ptr_V = jcas_GetHandle(env,V); - - if ( ptr_V != NULL ) the_V = *( ( Handle( V3d_PerspectiveView )* )ptr_V ); - -Handle(V3d_OrthographicView)* theret = new Handle(V3d_OrthographicView); -*theret = new V3d_OrthographicView(the_VM,the_V); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1OrthographicView_V3d_1OrthographicView_1Create_13 (JNIEnv *env, jobject theobj, jobject VM, jobject V) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_Viewer ) the_VM; - void* ptr_VM = jcas_GetHandle(env,VM); - - if ( ptr_VM != NULL ) the_VM = *( ( Handle( V3d_Viewer )* )ptr_VM ); - - Handle( V3d_OrthographicView ) the_V; - void* ptr_V = jcas_GetHandle(env,V); - - if ( ptr_V != NULL ) the_V = *( ( Handle( V3d_OrthographicView )* )ptr_V ); - -Handle(V3d_OrthographicView)* theret = new Handle(V3d_OrthographicView); -*theret = new V3d_OrthographicView(the_VM,the_V); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1OrthographicView_Copy (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_OrthographicView) the_this = *((Handle(V3d_OrthographicView)*) jcas_GetHandle(env,theobj)); -Handle(V3d_OrthographicView)* theret = new Handle(V3d_OrthographicView); -*theret = the_this->Copy(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/V3d_OrthographicView",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_V3d_PerspectiveView_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_V3d_PerspectiveView_java.cxx deleted file mode 100755 index b3f24bc674..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_V3d_PerspectiveView_java.cxx +++ /dev/null @@ -1,206 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1PerspectiveView_V3d_1PerspectiveView_1Create_11 (JNIEnv *env, jobject theobj, jobject VM) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_Viewer ) the_VM; - void* ptr_VM = jcas_GetHandle(env,VM); - - if ( ptr_VM != NULL ) the_VM = *( ( Handle( V3d_Viewer )* )ptr_VM ); - -Handle(V3d_PerspectiveView)* theret = new Handle(V3d_PerspectiveView); -*theret = new V3d_PerspectiveView(the_VM); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1PerspectiveView_V3d_1PerspectiveView_1Create_12 (JNIEnv *env, jobject theobj, jobject VM, jobject V) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_Viewer ) the_VM; - void* ptr_VM = jcas_GetHandle(env,VM); - - if ( ptr_VM != NULL ) the_VM = *( ( Handle( V3d_Viewer )* )ptr_VM ); - - Handle( V3d_OrthographicView ) the_V; - void* ptr_V = jcas_GetHandle(env,V); - - if ( ptr_V != NULL ) the_V = *( ( Handle( V3d_OrthographicView )* )ptr_V ); - -Handle(V3d_PerspectiveView)* theret = new Handle(V3d_PerspectiveView); -*theret = new V3d_PerspectiveView(the_VM,the_V); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1PerspectiveView_V3d_1PerspectiveView_1Create_13 (JNIEnv *env, jobject theobj, jobject VM, jobject V) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_Viewer ) the_VM; - void* ptr_VM = jcas_GetHandle(env,VM); - - if ( ptr_VM != NULL ) the_VM = *( ( Handle( V3d_Viewer )* )ptr_VM ); - - Handle( V3d_PerspectiveView ) the_V; - void* ptr_V = jcas_GetHandle(env,V); - - if ( ptr_V != NULL ) the_V = *( ( Handle( V3d_PerspectiveView )* )ptr_V ); - -Handle(V3d_PerspectiveView)* theret = new Handle(V3d_PerspectiveView); -*theret = new V3d_PerspectiveView(the_VM,the_V); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1PerspectiveView_Copy (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_PerspectiveView) the_this = *((Handle(V3d_PerspectiveView)*) jcas_GetHandle(env,theobj)); -Handle(V3d_PerspectiveView)* theret = new Handle(V3d_PerspectiveView); -*theret = the_this->Copy(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/V3d_PerspectiveView",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1PerspectiveView_SetAngle (JNIEnv *env, jobject theobj, jdouble Angle) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_PerspectiveView) the_this = *((Handle(V3d_PerspectiveView)*) jcas_GetHandle(env,theobj)); -the_this->SetAngle((Quantity_PlaneAngle) Angle); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_V3d_1PerspectiveView_Angle (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_PerspectiveView) the_this = *((Handle(V3d_PerspectiveView)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Angle(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_V3d_Plane_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_V3d_Plane_java.cxx deleted file mode 100755 index 22d3ed2e12..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_V3d_Plane_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_V3d_View_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_V3d_View_java.cxx deleted file mode 100755 index 119aa892b1..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_V3d_View_java.cxx +++ /dev/null @@ -1,4377 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetWindow_11 (JNIEnv *env, jobject theobj, jobject IdWin) -{ - -jcas_Locking alock(env); -{ -try { - Handle( Aspect_Window ) the_IdWin; - void* ptr_IdWin = jcas_GetHandle(env,IdWin); - - if ( ptr_IdWin != NULL ) the_IdWin = *( ( Handle( Aspect_Window )* )ptr_IdWin ); - -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetWindow(the_IdWin); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetMagnify (JNIEnv *env, jobject theobj, jobject IdWin, jobject aPreviousView, jint x1, jint y1, jint x2, jint y2) -{ - -jcas_Locking alock(env); -{ -try { - Handle( Aspect_Window ) the_IdWin; - void* ptr_IdWin = jcas_GetHandle(env,IdWin); - - if ( ptr_IdWin != NULL ) the_IdWin = *( ( Handle( Aspect_Window )* )ptr_IdWin ); - - Handle( V3d_View ) the_aPreviousView; - void* ptr_aPreviousView = jcas_GetHandle(env,aPreviousView); - - if ( ptr_aPreviousView != NULL ) the_aPreviousView = *( ( Handle( V3d_View )* )ptr_aPreviousView ); - -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetMagnify(the_IdWin,the_aPreviousView,(Standard_Integer) x1,(Standard_Integer) y1,(Standard_Integer) x2,(Standard_Integer) y2); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_Remove (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Remove(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_Update (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Update(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Redraw_11 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Redraw(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Redraw_12 (JNIEnv *env, jobject theobj, jint x, jint y, jint width, jint height) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Redraw((Standard_Integer) x,(Standard_Integer) y,(Standard_Integer) width,(Standard_Integer) height); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_MustBeResized (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->MustBeResized(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_DoMapping (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->DoMapping(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_IsEmpty (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IsEmpty(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_UpdateLights (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->UpdateLights(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetBackgroundColor_11 (JNIEnv *env, jobject theobj, jshort Type, jdouble V1, jdouble V2, jdouble V3) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetBackgroundColor((Quantity_TypeOfColor) Type,(Quantity_Parameter) V1,(Quantity_Parameter) V2,(Quantity_Parameter) V3); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetBackgroundColor_12 (JNIEnv *env, jobject theobj, jobject Color) -{ - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_Color = (Quantity_Color*) jcas_GetHandle(env,Color); -if ( the_Color == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Color = new Quantity_Color (); - // jcas_SetHandle ( env, Color, the_Color ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetBackgroundColor(*the_Color); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetBackgroundColor_13 (JNIEnv *env, jobject theobj, jshort Name) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetBackgroundColor((Quantity_NameOfColor) Name); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetBackgroundImage (JNIEnv *env, jobject theobj, jobject FileName, jshort FillStyle, jboolean update) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_FileName = jcas_ConvertToCString(env,FileName); -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetBackgroundImage(the_FileName,(Aspect_FillMethod) FillStyle,(Standard_Boolean) update); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetBgImageStyle (JNIEnv *env, jobject theobj, jshort FillStyle, jboolean update) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetBgImageStyle((Aspect_FillMethod) FillStyle,(Standard_Boolean) update); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetAxis (JNIEnv *env, jobject theobj, jdouble X, jdouble Y, jdouble Z, jdouble Vx, jdouble Vy, jdouble Vz) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetAxis((V3d_Coordinate) X,(V3d_Coordinate) Y,(V3d_Coordinate) Z,(Quantity_Parameter) Vx,(Quantity_Parameter) Vy,(Quantity_Parameter) Vz); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetShadingModel (JNIEnv *env, jobject theobj, jshort Model) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetShadingModel((V3d_TypeOfShadingModel) Model); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetSurfaceDetail (JNIEnv *env, jobject theobj, jshort SurfaceDetail) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetSurfaceDetail((V3d_TypeOfSurfaceDetail) SurfaceDetail); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetTextureEnv (JNIEnv *env, jobject theobj, jobject ATexture) -{ - -jcas_Locking alock(env); -{ -try { - Handle( Graphic3d_TextureEnv ) the_ATexture; - void* ptr_ATexture = jcas_GetHandle(env,ATexture); - - if ( ptr_ATexture != NULL ) the_ATexture = *( ( Handle( Graphic3d_TextureEnv )* )ptr_ATexture ); - -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetTextureEnv(the_ATexture); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetVisualization (JNIEnv *env, jobject theobj, jshort Mode) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetVisualization((V3d_TypeOfVisualization) Mode); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetAntialiasingOn (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetAntialiasingOn(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetAntialiasingOff (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetAntialiasingOff(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetZClippingDepth (JNIEnv *env, jobject theobj, jdouble Depth) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetZClippingDepth((Quantity_Length) Depth); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetZClippingWidth (JNIEnv *env, jobject theobj, jdouble Width) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetZClippingWidth((Quantity_Length) Width); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetZClippingType (JNIEnv *env, jobject theobj, jshort Type) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetZClippingType((V3d_TypeOfZclipping) Type); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetZCueingDepth (JNIEnv *env, jobject theobj, jdouble Depth) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetZCueingDepth((Quantity_Length) Depth); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetZCueingWidth (JNIEnv *env, jobject theobj, jdouble Width) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetZCueingWidth((Quantity_Length) Width); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetZCueingOn (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetZCueingOn(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetZCueingOff (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetZCueingOff(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetLightOn_11 (JNIEnv *env, jobject theobj, jobject MyLight) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_Light ) the_MyLight; - void* ptr_MyLight = jcas_GetHandle(env,MyLight); - - if ( ptr_MyLight != NULL ) the_MyLight = *( ( Handle( V3d_Light )* )ptr_MyLight ); - -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetLightOn(the_MyLight); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetLightOn_12 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetLightOn(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetLightOff_11 (JNIEnv *env, jobject theobj, jobject MyLight) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_Light ) the_MyLight; - void* ptr_MyLight = jcas_GetHandle(env,MyLight); - - if ( ptr_MyLight != NULL ) the_MyLight = *( ( Handle( V3d_Light )* )ptr_MyLight ); - -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetLightOff(the_MyLight); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetLightOff_12 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetLightOff(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_IsActiveLight (JNIEnv *env, jobject theobj, jobject aLight) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { - Handle( V3d_Light ) the_aLight; - void* ptr_aLight = jcas_GetHandle(env,aLight); - - if ( ptr_aLight != NULL ) the_aLight = *( ( Handle( V3d_Light )* )ptr_aLight ); - -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IsActiveLight(the_aLight); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetTransparency (JNIEnv *env, jobject theobj, jboolean AnActivity) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetTransparency((Standard_Boolean) AnActivity); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetPlaneOn_11 (JNIEnv *env, jobject theobj, jobject MyPlane) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_Plane ) the_MyPlane; - void* ptr_MyPlane = jcas_GetHandle(env,MyPlane); - - if ( ptr_MyPlane != NULL ) the_MyPlane = *( ( Handle( V3d_Plane )* )ptr_MyPlane ); - -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetPlaneOn(the_MyPlane); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetPlaneOn_12 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetPlaneOn(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetPlaneOff_11 (JNIEnv *env, jobject theobj, jobject MyPlane) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_Plane ) the_MyPlane; - void* ptr_MyPlane = jcas_GetHandle(env,MyPlane); - - if ( ptr_MyPlane != NULL ) the_MyPlane = *( ( Handle( V3d_Plane )* )ptr_MyPlane ); - -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetPlaneOff(the_MyPlane); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetPlaneOff_12 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetPlaneOff(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_IsActivePlane (JNIEnv *env, jobject theobj, jobject aPlane) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { - Handle( V3d_Plane ) the_aPlane; - void* ptr_aPlane = jcas_GetHandle(env,aPlane); - - if ( ptr_aPlane != NULL ) the_aPlane = *( ( Handle( V3d_Plane )* )ptr_aPlane ); - -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IsActivePlane(the_aPlane); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_ZBufferTriedronSetup (JNIEnv *env, jobject theobj, jshort XColor, jshort YColor, jshort ZColor, jdouble SizeRatio, jdouble AxisDiametr, jint NbFacettes) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->ZBufferTriedronSetup((Quantity_NameOfColor) XColor,(Quantity_NameOfColor) YColor,(Quantity_NameOfColor) ZColor,(Standard_Real) SizeRatio,(Standard_Real) AxisDiametr,(Standard_Integer) NbFacettes); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_TriedronDisplay (JNIEnv *env, jobject theobj, jshort APosition, jshort AColor, jdouble AScale, jshort AMode) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->TriedronDisplay((Aspect_TypeOfTriedronPosition) APosition,(Quantity_NameOfColor) AColor,(Standard_Real) AScale,(V3d_TypeOfVisualization) AMode); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_TriedronErase (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->TriedronErase(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_TriedronEcho (JNIEnv *env, jobject theobj, jshort AType) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->TriedronEcho((Aspect_TypeOfTriedronEcho) AType); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_ColorScaleDisplay (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->ColorScaleDisplay(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_ColorScaleErase (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->ColorScaleErase(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_ColorScaleIsDisplayed (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->ColorScaleIsDisplayed(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1View_ColorScale (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -Handle(Aspect_ColorScale)* theret = new Handle(Aspect_ColorScale); -*theret = the_this->ColorScale(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_ColorScale",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetFront (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetFront(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Rotate_11 (JNIEnv *env, jobject theobj, jdouble Ax, jdouble Ay, jdouble Az, jboolean Start) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Rotate((Quantity_PlaneAngle) Ax,(Quantity_PlaneAngle) Ay,(Quantity_PlaneAngle) Az,(Standard_Boolean) Start); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Rotate_12 (JNIEnv *env, jobject theobj, jdouble Ax, jdouble Ay, jdouble Az, jdouble X, jdouble Y, jdouble Z, jboolean Start) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Rotate((Quantity_PlaneAngle) Ax,(Quantity_PlaneAngle) Ay,(Quantity_PlaneAngle) Az,(V3d_Coordinate) X,(V3d_Coordinate) Y,(V3d_Coordinate) Z,(Standard_Boolean) Start); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Rotate_13 (JNIEnv *env, jobject theobj, jshort Axe, jdouble Angle, jdouble X, jdouble Y, jdouble Z, jboolean Start) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Rotate((V3d_TypeOfAxe) Axe,(Quantity_PlaneAngle) Angle,(V3d_Coordinate) X,(V3d_Coordinate) Y,(V3d_Coordinate) Z,(Standard_Boolean) Start); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Rotate_14 (JNIEnv *env, jobject theobj, jshort Axe, jdouble Angle, jboolean Start) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Rotate((V3d_TypeOfAxe) Axe,(Quantity_PlaneAngle) Angle,(Standard_Boolean) Start); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Rotate_15 (JNIEnv *env, jobject theobj, jdouble Angle, jboolean Start) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Rotate((Quantity_PlaneAngle) Angle,(Standard_Boolean) Start); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Move_11 (JNIEnv *env, jobject theobj, jdouble Dx, jdouble Dy, jdouble Dz, jboolean Start) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Move((Quantity_Length) Dx,(Quantity_Length) Dy,(Quantity_Length) Dz,(Standard_Boolean) Start); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Move_12 (JNIEnv *env, jobject theobj, jshort Axe, jdouble Length, jboolean Start) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Move((V3d_TypeOfAxe) Axe,(Quantity_Length) Length,(Standard_Boolean) Start); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Move_13 (JNIEnv *env, jobject theobj, jdouble Length, jboolean Start) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Move((Quantity_Length) Length,(Standard_Boolean) Start); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Translate_11 (JNIEnv *env, jobject theobj, jdouble Dx, jdouble Dy, jdouble Dz, jboolean Start) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Translate((Quantity_Length) Dx,(Quantity_Length) Dy,(Quantity_Length) Dz,(Standard_Boolean) Start); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Translate_12 (JNIEnv *env, jobject theobj, jshort Axe, jdouble Length, jboolean Start) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Translate((V3d_TypeOfAxe) Axe,(Quantity_Length) Length,(Standard_Boolean) Start); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Translate_13 (JNIEnv *env, jobject theobj, jdouble Length, jboolean Start) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Translate((Quantity_Length) Length,(Standard_Boolean) Start); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_Place (JNIEnv *env, jobject theobj, jint x, jint y, jdouble aZoomFactor) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Place((Standard_Integer) x,(Standard_Integer) y,(Quantity_Factor) aZoomFactor); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Turn_11 (JNIEnv *env, jobject theobj, jdouble Ax, jdouble Ay, jdouble Az, jboolean Start) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Turn((Quantity_PlaneAngle) Ax,(Quantity_PlaneAngle) Ay,(Quantity_PlaneAngle) Az,(Standard_Boolean) Start); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Turn_12 (JNIEnv *env, jobject theobj, jshort Axe, jdouble Angle, jboolean Start) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Turn((V3d_TypeOfAxe) Axe,(Quantity_PlaneAngle) Angle,(Standard_Boolean) Start); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Turn_13 (JNIEnv *env, jobject theobj, jdouble Angle, jboolean Start) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Turn((Quantity_PlaneAngle) Angle,(Standard_Boolean) Start); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetTwist (JNIEnv *env, jobject theobj, jdouble Angle) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetTwist((Quantity_PlaneAngle) Angle); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetEye (JNIEnv *env, jobject theobj, jdouble X, jdouble Y, jdouble Z) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetEye((V3d_Coordinate) X,(V3d_Coordinate) Y,(V3d_Coordinate) Z); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetDepth (JNIEnv *env, jobject theobj, jdouble Depth) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetDepth((Quantity_Length) Depth); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetProj_11 (JNIEnv *env, jobject theobj, jdouble Vx, jdouble Vy, jdouble Vz) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetProj((Quantity_Parameter) Vx,(Quantity_Parameter) Vy,(Quantity_Parameter) Vz); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetProj_12 (JNIEnv *env, jobject theobj, jshort Orientation) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetProj((V3d_TypeOfOrientation) Orientation); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetAt (JNIEnv *env, jobject theobj, jdouble X, jdouble Y, jdouble Z) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetAt((V3d_Coordinate) X,(V3d_Coordinate) Y,(V3d_Coordinate) Z); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetUp_11 (JNIEnv *env, jobject theobj, jdouble Vx, jdouble Vy, jdouble Vz) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetUp((Quantity_Parameter) Vx,(Quantity_Parameter) Vy,(Quantity_Parameter) Vz); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetUp_12 (JNIEnv *env, jobject theobj, jshort Orientation) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetUp((V3d_TypeOfOrientation) Orientation); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetViewOrientationDefault (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetViewOrientationDefault(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_ResetViewOrientation (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->ResetViewOrientation(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_Panning (JNIEnv *env, jobject theobj, jdouble Dx, jdouble Dy, jdouble aZoomFactor, jboolean Start) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Panning((Quantity_Length) Dx,(Quantity_Length) Dy,(Quantity_Factor) aZoomFactor,(Standard_Boolean) Start); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetCenter_11 (JNIEnv *env, jobject theobj, jdouble Xc, jdouble Yc) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetCenter((V3d_Coordinate) Xc,(V3d_Coordinate) Yc); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetCenter_12 (JNIEnv *env, jobject theobj, jint X, jint Y) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetCenter((Standard_Integer) X,(Standard_Integer) Y); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetSize (JNIEnv *env, jobject theobj, jdouble Size) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetSize((Quantity_Length) Size); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetZSize (JNIEnv *env, jobject theobj, jdouble Size) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetZSize((Quantity_Length) Size); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetZoom (JNIEnv *env, jobject theobj, jdouble Coef, jboolean Start) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetZoom((Quantity_Factor) Coef,(Standard_Boolean) Start); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetScale (JNIEnv *env, jobject theobj, jdouble Coef) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetScale((Quantity_Factor) Coef); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetAxialScale (JNIEnv *env, jobject theobj, jdouble Sx, jdouble Sy, jdouble Sz) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetAxialScale((Standard_Real) Sx,(Standard_Real) Sy,(Standard_Real) Sz); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1FitAll_11 (JNIEnv *env, jobject theobj, jdouble Coef, jboolean FitZ, jboolean update) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->FitAll((Quantity_Coefficient) Coef,(Standard_Boolean) FitZ,(Standard_Boolean) update); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_ZFitAll (JNIEnv *env, jobject theobj, jdouble Coef) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->ZFitAll((Quantity_Coefficient) Coef); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1FitAll_12 (JNIEnv *env, jobject theobj, jdouble Umin, jdouble Vmin, jdouble Umax, jdouble Vmax) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->FitAll((V3d_Coordinate) Umin,(V3d_Coordinate) Vmin,(V3d_Coordinate) Umax,(V3d_Coordinate) Vmax); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_WindowFit (JNIEnv *env, jobject theobj, jint Xmin, jint Ymin, jint Xmax, jint Ymax) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->WindowFit((Standard_Integer) Xmin,(Standard_Integer) Ymin,(Standard_Integer) Xmax,(Standard_Integer) Ymax); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetViewMappingDefault (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetViewMappingDefault(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_ResetViewMapping (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->ResetViewMapping(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_Reset (JNIEnv *env, jobject theobj, jboolean update) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Reset((Standard_Boolean) update); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Convert_11 (JNIEnv *env, jobject theobj, jint Vp) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Convert((Standard_Integer) Vp); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Convert_12 (JNIEnv *env, jobject theobj, jint Xp, jint Yp, jobject Xv, jobject Yv) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_Xv = jcas_GetReal(env,Xv); -Standard_Real the_Yv = jcas_GetReal(env,Yv); -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Convert((Standard_Integer) Xp,(Standard_Integer) Yp,the_Xv,the_Yv); -jcas_SetReal(env,Xv,the_Xv); -jcas_SetReal(env,Yv,the_Yv); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Convert_13 (JNIEnv *env, jobject theobj, jdouble Vv) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Convert((Quantity_Length) Vv); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Convert_14 (JNIEnv *env, jobject theobj, jdouble Xv, jdouble Yv, jobject Xp, jobject Yp) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Integer the_Xp = jcas_GetInteger(env,Xp); -Standard_Integer the_Yp = jcas_GetInteger(env,Yp); -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Convert((V3d_Coordinate) Xv,(V3d_Coordinate) Yv,the_Xp,the_Yp); -jcas_SetInteger(env,Xp,the_Xp); -jcas_SetInteger(env,Yp,the_Yp); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Convert_15 (JNIEnv *env, jobject theobj, jint Xp, jint Yp, jobject X, jobject Y, jobject Z) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_X = jcas_GetReal(env,X); -Standard_Real the_Y = jcas_GetReal(env,Y); -Standard_Real the_Z = jcas_GetReal(env,Z); -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Convert((Standard_Integer) Xp,(Standard_Integer) Yp,the_X,the_Y,the_Z); -jcas_SetReal(env,X,the_X); -jcas_SetReal(env,Y,the_Y); -jcas_SetReal(env,Z,the_Z); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1ConvertToGrid_11 (JNIEnv *env, jobject theobj, jint Xp, jint Yp, jobject Xg, jobject Yg, jobject Zg) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_Xg = jcas_GetReal(env,Xg); -Standard_Real the_Yg = jcas_GetReal(env,Yg); -Standard_Real the_Zg = jcas_GetReal(env,Zg); -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->ConvertToGrid((Standard_Integer) Xp,(Standard_Integer) Yp,the_Xg,the_Yg,the_Zg); -jcas_SetReal(env,Xg,the_Xg); -jcas_SetReal(env,Yg,the_Yg); -jcas_SetReal(env,Zg,the_Zg); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1ConvertToGrid_12 (JNIEnv *env, jobject theobj, jdouble X, jdouble Y, jdouble Z, jobject Xg, jobject Yg, jobject Zg) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_Xg = jcas_GetReal(env,Xg); -Standard_Real the_Yg = jcas_GetReal(env,Yg); -Standard_Real the_Zg = jcas_GetReal(env,Zg); -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->ConvertToGrid((V3d_Coordinate) X,(V3d_Coordinate) Y,(V3d_Coordinate) Z,the_Xg,the_Yg,the_Zg); -jcas_SetReal(env,Xg,the_Xg); -jcas_SetReal(env,Yg,the_Yg); -jcas_SetReal(env,Zg,the_Zg); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Convert_16 (JNIEnv *env, jobject theobj, jdouble X, jdouble Y, jdouble Z, jobject Xp, jobject Yp) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Integer the_Xp = jcas_GetInteger(env,Xp); -Standard_Integer the_Yp = jcas_GetInteger(env,Yp); -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Convert((V3d_Coordinate) X,(V3d_Coordinate) Y,(V3d_Coordinate) Z,the_Xp,the_Yp); -jcas_SetInteger(env,Xp,the_Xp); -jcas_SetInteger(env,Yp,the_Yp); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_Project (JNIEnv *env, jobject theobj, jdouble X, jdouble Y, jdouble Z, jobject Xp, jobject Yp) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_Xp = jcas_GetReal(env,Xp); -Standard_Real the_Yp = jcas_GetReal(env,Yp); -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Project((V3d_Coordinate) X,(V3d_Coordinate) Y,(V3d_Coordinate) Z,the_Xp,the_Yp); -jcas_SetReal(env,Xp,the_Xp); -jcas_SetReal(env,Yp,the_Yp); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1BackgroundColor_11 (JNIEnv *env, jobject theobj, jshort Type, jobject V1, jobject V2, jobject V3) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_V1 = jcas_GetReal(env,V1); -Standard_Real the_V2 = jcas_GetReal(env,V2); -Standard_Real the_V3 = jcas_GetReal(env,V3); -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->BackgroundColor((Quantity_TypeOfColor) Type,the_V1,the_V2,the_V3); -jcas_SetReal(env,V1,the_V1); -jcas_SetReal(env,V2,the_V2); -jcas_SetReal(env,V3,the_V3); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1BackgroundColor_12 (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -Quantity_Color* theret = new Quantity_Color(the_this->BackgroundColor()); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Quantity_Color",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_V3d_1View_Scale (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Scale(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1AxialScale_11 (JNIEnv *env, jobject theobj, jobject Sx, jobject Sy, jobject Sz) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_Sx = jcas_GetReal(env,Sx); -Standard_Real the_Sy = jcas_GetReal(env,Sy); -Standard_Real the_Sz = jcas_GetReal(env,Sz); -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->AxialScale(the_Sx,the_Sy,the_Sz); -jcas_SetReal(env,Sx,the_Sx); -jcas_SetReal(env,Sy,the_Sy); -jcas_SetReal(env,Sz,the_Sz); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_Center (JNIEnv *env, jobject theobj, jobject Xc, jobject Yc) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_Xc = jcas_GetReal(env,Xc); -Standard_Real the_Yc = jcas_GetReal(env,Yc); -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Center(the_Xc,the_Yc); -jcas_SetReal(env,Xc,the_Xc); -jcas_SetReal(env,Yc,the_Yc); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_Size (JNIEnv *env, jobject theobj, jobject Width, jobject Height) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_Width = jcas_GetReal(env,Width); -Standard_Real the_Height = jcas_GetReal(env,Height); -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Size(the_Width,the_Height); -jcas_SetReal(env,Width,the_Width); -jcas_SetReal(env,Height,the_Height); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_V3d_1View_ZSize (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->ZSize(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_Eye (JNIEnv *env, jobject theobj, jobject X, jobject Y, jobject Z) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_X = jcas_GetReal(env,X); -Standard_Real the_Y = jcas_GetReal(env,Y); -Standard_Real the_Z = jcas_GetReal(env,Z); -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Eye(the_X,the_Y,the_Z); -jcas_SetReal(env,X,the_X); -jcas_SetReal(env,Y,the_Y); -jcas_SetReal(env,Z,the_Z); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_FocalReferencePoint (JNIEnv *env, jobject theobj, jobject X, jobject Y, jobject Z) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_X = jcas_GetReal(env,X); -Standard_Real the_Y = jcas_GetReal(env,Y); -Standard_Real the_Z = jcas_GetReal(env,Z); -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->FocalReferencePoint(the_X,the_Y,the_Z); -jcas_SetReal(env,X,the_X); -jcas_SetReal(env,Y,the_Y); -jcas_SetReal(env,Z,the_Z); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_ProjReferenceAxe (JNIEnv *env, jobject theobj, jint Xpix, jint Ypix, jobject XP, jobject YP, jobject ZP, jobject VX, jobject VY, jobject VZ) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_XP = jcas_GetReal(env,XP); -Standard_Real the_YP = jcas_GetReal(env,YP); -Standard_Real the_ZP = jcas_GetReal(env,ZP); -Standard_Real the_VX = jcas_GetReal(env,VX); -Standard_Real the_VY = jcas_GetReal(env,VY); -Standard_Real the_VZ = jcas_GetReal(env,VZ); -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->ProjReferenceAxe((Standard_Integer) Xpix,(Standard_Integer) Ypix,the_XP,the_YP,the_ZP,the_VX,the_VY,the_VZ); -jcas_SetReal(env,XP,the_XP); -jcas_SetReal(env,YP,the_YP); -jcas_SetReal(env,ZP,the_ZP); -jcas_SetReal(env,VX,the_VX); -jcas_SetReal(env,VY,the_VY); -jcas_SetReal(env,VZ,the_VZ); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_V3d_1View_Depth (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Depth(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_Proj (JNIEnv *env, jobject theobj, jobject Vx, jobject Vy, jobject Vz) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_Vx = jcas_GetReal(env,Vx); -Standard_Real the_Vy = jcas_GetReal(env,Vy); -Standard_Real the_Vz = jcas_GetReal(env,Vz); -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Proj(the_Vx,the_Vy,the_Vz); -jcas_SetReal(env,Vx,the_Vx); -jcas_SetReal(env,Vy,the_Vy); -jcas_SetReal(env,Vz,the_Vz); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_At (JNIEnv *env, jobject theobj, jobject X, jobject Y, jobject Z) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_X = jcas_GetReal(env,X); -Standard_Real the_Y = jcas_GetReal(env,Y); -Standard_Real the_Z = jcas_GetReal(env,Z); -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->At(the_X,the_Y,the_Z); -jcas_SetReal(env,X,the_X); -jcas_SetReal(env,Y,the_Y); -jcas_SetReal(env,Z,the_Z); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_Up (JNIEnv *env, jobject theobj, jobject Vx, jobject Vy, jobject Vz) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_Vx = jcas_GetReal(env,Vx); -Standard_Real the_Vy = jcas_GetReal(env,Vy); -Standard_Real the_Vz = jcas_GetReal(env,Vz); -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Up(the_Vx,the_Vy,the_Vz); -jcas_SetReal(env,Vx,the_Vx); -jcas_SetReal(env,Vy,the_Vy); -jcas_SetReal(env,Vz,the_Vz); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_V3d_1View_Twist (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Twist(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_V3d_1View_ShadingModel (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->ShadingModel(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_V3d_1View_SurfaceDetail (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->SurfaceDetail(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1View_TextureEnv (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -Handle(Graphic3d_TextureEnv)* theret = new Handle(Graphic3d_TextureEnv); -*theret = the_this->TextureEnv(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Graphic3d_TextureEnv",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_Transparency (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Transparency(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_V3d_1View_Visualization (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Visualization(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_Antialiasing (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Antialiasing(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_ZCueing (JNIEnv *env, jobject theobj, jobject Depth, jobject Width) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_Real the_Depth = jcas_GetReal(env,Depth); -Standard_Real the_Width = jcas_GetReal(env,Width); -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->ZCueing(the_Depth,the_Width); -jcas_SetReal(env,Depth,the_Depth); -jcas_SetReal(env,Width,the_Width); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_V3d_1View_ZClipping (JNIEnv *env, jobject theobj, jobject Depth, jobject Width) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Standard_Real the_Depth = jcas_GetReal(env,Depth); -Standard_Real the_Width = jcas_GetReal(env,Width); -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->ZClipping(the_Depth,the_Width); -jcas_SetReal(env,Depth,the_Depth); -jcas_SetReal(env,Width,the_Width); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_IfMoreLights (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IfMoreLights(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_InitActiveLights (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->InitActiveLights(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_MoreActiveLights (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->MoreActiveLights(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_NextActiveLights (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->NextActiveLights(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1View_ActiveLight (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -Handle(V3d_Light)* theret = new Handle(V3d_Light); -*theret = the_this->ActiveLight(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/V3d_Light",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_IfMorePlanes (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IfMorePlanes(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_InitActivePlanes (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->InitActivePlanes(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_MoreActivePlanes (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->MoreActivePlanes(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_NextActivePlanes (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->NextActivePlanes(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1View_ActivePlane (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -Handle(V3d_Plane)* theret = new Handle(V3d_Plane); -*theret = the_this->ActivePlane(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/V3d_Plane",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1View_Viewer (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -Handle(V3d_Viewer)* theret = new Handle(V3d_Viewer); -*theret = the_this->Viewer(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/V3d_Viewer",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_IfWindow (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IfWindow(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1View_Window (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -Handle(Aspect_Window)* theret = new Handle(Aspect_Window); -*theret = the_this->Window(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_Window",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_V3d_1View_Type (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Type(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_Pan (JNIEnv *env, jobject theobj, jint Dx, jint Dy, jdouble aZoomFactor) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Pan((Standard_Integer) Dx,(Standard_Integer) Dy,(Quantity_Factor) aZoomFactor); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Zoom_11 (JNIEnv *env, jobject theobj, jint X1, jint Y1, jint X2, jint Y2) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Zoom((Standard_Integer) X1,(Standard_Integer) Y1,(Standard_Integer) X2,(Standard_Integer) Y2); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Zoom_12 (JNIEnv *env, jobject theobj, jint X, jint Y) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Zoom((Standard_Integer) X,(Standard_Integer) Y); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1AxialScale_12 (JNIEnv *env, jobject theobj, jint Dx, jint Dy, jshort Axis) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->AxialScale((Standard_Integer) Dx,(Standard_Integer) Dy,(V3d_TypeOfAxe) Axis); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_StartRotation (JNIEnv *env, jobject theobj, jint X, jint Y, jdouble zRotationThreshold) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->StartRotation((Standard_Integer) X,(Standard_Integer) Y,(Quantity_Ratio) zRotationThreshold); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_Rotation (JNIEnv *env, jobject theobj, jint X, jint Y) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Rotation((Standard_Integer) X,(Standard_Integer) Y); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetFocale (JNIEnv *env, jobject theobj, jdouble Focale) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetFocale((Quantity_Length) Focale); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_V3d_1View_Focale (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Focale(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1View_View (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -Handle(Visual3d_View)* theret = new Handle(Visual3d_View); -*theret = the_this->View(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Visual3d_View",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_TransientManagerBeginDraw (JNIEnv *env, jobject theobj, jboolean DoubleBuffer, jboolean RetainMode) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->TransientManagerBeginDraw((Standard_Boolean) DoubleBuffer,(Standard_Boolean) RetainMode); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_TransientManagerClearDraw (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->TransientManagerClearDraw(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_TransientManagerBeginAddDraw (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->TransientManagerBeginAddDraw(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetAnimationModeOn (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetAnimationModeOn(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetAnimationModeOff (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetAnimationModeOff(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_AnimationModeIsOn (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->AnimationModeIsOn(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetAnimationMode (JNIEnv *env, jobject theobj, jboolean anAnimationFlag, jboolean aDegenerationFlag) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetAnimationMode((Standard_Boolean) anAnimationFlag,(Standard_Boolean) aDegenerationFlag); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_AnimationMode (JNIEnv *env, jobject theobj, jobject isDegenerate) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_Boolean the_isDegenerate = jcas_GetBoolean(env,isDegenerate); -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->AnimationMode(the_isDegenerate); -jcas_SetBoolean(env,isDegenerate,the_isDegenerate); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetDegenerateModeOn (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetDegenerateModeOn(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetDegenerateModeOff (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetDegenerateModeOff(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_DegenerateModeIsOn (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->DegenerateModeIsOn(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetComputedMode (JNIEnv *env, jobject theobj, jboolean aMode) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetComputedMode((Standard_Boolean) aMode); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_ComputedMode (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->ComputedMode(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_WindowFitAll (JNIEnv *env, jobject theobj, jint Xmin, jint Ymin, jint Xmax, jint Ymax) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->WindowFitAll((Standard_Integer) Xmin,(Standard_Integer) Ymin,(Standard_Integer) Xmax,(Standard_Integer) Ymax); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetPlotter (JNIEnv *env, jobject theobj, jobject aPlotter) -{ - -jcas_Locking alock(env); -{ -try { - Handle( Graphic3d_Plotter ) the_aPlotter; - void* ptr_aPlotter = jcas_GetHandle(env,aPlotter); - - if ( ptr_aPlotter != NULL ) the_aPlotter = *( ( Handle( Graphic3d_Plotter )* )ptr_aPlotter ); - -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetPlotter(the_aPlotter); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_Plot (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->Plot(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetGrid (JNIEnv *env, jobject theobj, jobject aPlane, jobject aGrid) -{ - -jcas_Locking alock(env); -{ -try { -gp_Ax3* the_aPlane = (gp_Ax3*) jcas_GetHandle(env,aPlane); -if ( the_aPlane == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aPlane = new gp_Ax3 (); - // jcas_SetHandle ( env, aPlane, the_aPlane ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if - Handle( Aspect_Grid ) the_aGrid; - void* ptr_aGrid = jcas_GetHandle(env,aGrid); - - if ( ptr_aGrid != NULL ) the_aGrid = *( ( Handle( Aspect_Grid )* )ptr_aGrid ); - -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetGrid(*the_aPlane,the_aGrid); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetGridGraphicValues (JNIEnv *env, jobject theobj, jobject aGrid) -{ - -jcas_Locking alock(env); -{ -try { - Handle( Aspect_Grid ) the_aGrid; - void* ptr_aGrid = jcas_GetHandle(env,aGrid); - - if ( ptr_aGrid != NULL ) the_aGrid = *( ( Handle( Aspect_Grid )* )ptr_aGrid ); - -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetGridGraphicValues(the_aGrid); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetGridActivity (JNIEnv *env, jobject theobj, jboolean aFlag) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetGridActivity((Standard_Boolean) aFlag); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_V3d_1View_Tumble (JNIEnv *env, jobject theobj, jint NbImages, jboolean AnimationMode) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Tumble((Standard_Integer) NbImages,(Standard_Boolean) AnimationMode); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_ScreenCopy (JNIEnv *env, jobject theobj, jobject aPlotterDriver, jboolean fWhiteBackground, jdouble aScale) -{ - -jcas_Locking alock(env); -{ -try { - Handle( PlotMgt_PlotterDriver ) the_aPlotterDriver; - void* ptr_aPlotterDriver = jcas_GetHandle(env,aPlotterDriver); - - if ( ptr_aPlotterDriver != NULL ) the_aPlotterDriver = *( ( Handle( PlotMgt_PlotterDriver )* )ptr_aPlotterDriver ); - -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->ScreenCopy(the_aPlotterDriver,(Standard_Boolean) fWhiteBackground,(Quantity_Factor) aScale); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Dump_11 (JNIEnv *env, jobject theobj, jobject aFile) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aFile = jcas_ConvertToCString(env,aFile); -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Dump(the_aFile); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Dump_12 (JNIEnv *env, jobject theobj, jobject aFile, jshort aFormat) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aFile = jcas_ConvertToCString(env,aFile); -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Dump(the_aFile,(Aspect_FormatOfSheetPaper) aFormat); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1View_ToPixMap (JNIEnv *env, jobject theobj, jint aWidth, jint aHeight, jint aCDepth) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -Handle(Aspect_PixMap)* theret = new Handle(Aspect_PixMap); -*theret = the_this->ToPixMap((Standard_Integer) aWidth,(Standard_Integer) aHeight,(Standard_Integer) aCDepth); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_PixMap",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetProjModel (JNIEnv *env, jobject theobj, jshort amOdel) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetProjModel((V3d_TypeOfProjectionModel) amOdel); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_V3d_1View_ProjModel (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->ProjModel(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetBackFacingModel (JNIEnv *env, jobject theobj, jshort aModel) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->SetBackFacingModel((V3d_TypeOfBackfacingModel) aModel); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_V3d_1View_BackFacingModel (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->BackFacingModel(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_EnableDepthTest (JNIEnv *env, jobject theobj, jboolean enable) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->EnableDepthTest((Standard_Boolean) enable); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_IsDepthTestEnabled (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IsDepthTestEnabled(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_EnableGLLight (JNIEnv *env, jobject theobj, jboolean enable) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); -the_this->EnableGLLight((Standard_Boolean) enable); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_IsGLLightEnabled (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_View) the_this = *((Handle(V3d_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IsGLLightEnabled(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_V3d_Viewer_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_V3d_Viewer_java.cxx deleted file mode 100755 index bdfa2a5122..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_V3d_Viewer_java.cxx +++ /dev/null @@ -1,2340 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1Create_10 (JNIEnv *env, jobject theobj, jobject Device, jstring aName, jobject aDomain, jdouble ViewSize, jshort ViewProj, jshort ViewBackground, jshort Visualization, jshort ShadingModel, jshort UpdateMode, jboolean ComputedMode, jboolean DefaultComputedMode, jshort SurfaceDetail) -{ - -jcas_Locking alock(env); -{ -try { - Handle( Aspect_GraphicDevice ) the_Device; - void* ptr_Device = jcas_GetHandle(env,Device); - - if ( ptr_Device != NULL ) the_Device = *( ( Handle( Aspect_GraphicDevice )* )ptr_Device ); - -Standard_ExtString the_aName = jcas_ConvertToExtString(env,aName); -Standard_CString the_aDomain = jcas_ConvertToCString(env,aDomain); -Handle(V3d_Viewer)* theret = new Handle(V3d_Viewer); -*theret = new V3d_Viewer(the_Device,the_aName,the_aDomain,(Quantity_Length) ViewSize,(V3d_TypeOfOrientation) ViewProj,(Quantity_NameOfColor) ViewBackground,(V3d_TypeOfVisualization) Visualization,(V3d_TypeOfShadingModel) ShadingModel,(V3d_TypeOfUpdate) UpdateMode,(Standard_Boolean) ComputedMode,(Standard_Boolean) DefaultComputedMode,(V3d_TypeOfSurfaceDetail) SurfaceDetail); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1Viewer_CreateView (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -Handle(V3d_View)* theret = new Handle(V3d_View); -*theret = the_this->CreateView(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/V3d_View",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1Viewer_DefaultOrthographicView (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -Handle(V3d_OrthographicView)* theret = new Handle(V3d_OrthographicView); -*theret = the_this->DefaultOrthographicView(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/V3d_OrthographicView",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1Viewer_DefaultPerspectiveView (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -Handle(V3d_PerspectiveView)* theret = new Handle(V3d_PerspectiveView); -*theret = the_this->DefaultPerspectiveView(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/V3d_PerspectiveView",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1SetViewOn_11 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetViewOn(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1SetViewOn_12 (JNIEnv *env, jobject theobj, jobject View) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_View; - void* ptr_View = jcas_GetHandle(env,View); - - if ( ptr_View != NULL ) the_View = *( ( Handle( V3d_View )* )ptr_View ); - -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetViewOn(the_View); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1SetViewOff_11 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetViewOff(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1SetViewOff_12 (JNIEnv *env, jobject theobj, jobject View) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_View; - void* ptr_View = jcas_GetHandle(env,View); - - if ( ptr_View != NULL ) the_View = *( ( Handle( V3d_View )* )ptr_View ); - -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetViewOff(the_View); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_Update (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->Update(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_UpdateLights (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->UpdateLights(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_Redraw (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->Redraw(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_Remove (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->Remove(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_Erase (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->Erase(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_UnHighlight (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->UnHighlight(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1SetDefaultBackgroundColor_11 (JNIEnv *env, jobject theobj, jshort Type, jdouble V1, jdouble V2, jdouble V3) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetDefaultBackgroundColor((Quantity_TypeOfColor) Type,(Quantity_Parameter) V1,(Quantity_Parameter) V2,(Quantity_Parameter) V3); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1SetDefaultBackgroundColor_12 (JNIEnv *env, jobject theobj, jshort Name) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetDefaultBackgroundColor((Quantity_NameOfColor) Name); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1SetDefaultBackgroundColor_13 (JNIEnv *env, jobject theobj, jobject Color) -{ - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_Color = (Quantity_Color*) jcas_GetHandle(env,Color); -if ( the_Color == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Color = new Quantity_Color (); - // jcas_SetHandle ( env, Color, the_Color ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetDefaultBackgroundColor(*the_Color); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_SetDefaultViewSize (JNIEnv *env, jobject theobj, jdouble Size) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetDefaultViewSize((Quantity_Length) Size); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_SetDefaultViewProj (JNIEnv *env, jobject theobj, jshort Orientation) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetDefaultViewProj((V3d_TypeOfOrientation) Orientation); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_SetDefaultVisualization (JNIEnv *env, jobject theobj, jshort Type) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetDefaultVisualization((V3d_TypeOfVisualization) Type); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_SetZBufferManagment (JNIEnv *env, jobject theobj, jboolean Automatic) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetZBufferManagment((Standard_Boolean) Automatic); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1Viewer_ZBufferManagment (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); - thejret = the_this->ZBufferManagment(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_SetDefaultShadingModel (JNIEnv *env, jobject theobj, jshort Type) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetDefaultShadingModel((V3d_TypeOfShadingModel) Type); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_SetDefaultSurfaceDetail (JNIEnv *env, jobject theobj, jshort Type) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetDefaultSurfaceDetail((V3d_TypeOfSurfaceDetail) Type); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_SetDefaultAngle (JNIEnv *env, jobject theobj, jdouble Angle) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetDefaultAngle((Quantity_PlaneAngle) Angle); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_SetUpdateMode (JNIEnv *env, jobject theobj, jshort Mode) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetUpdateMode((V3d_TypeOfUpdate) Mode); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_SetDefaultTypeOfView (JNIEnv *env, jobject theobj, jshort Type) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetDefaultTypeOfView((V3d_TypeOfView) Type); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_SetPrivilegedPlane (JNIEnv *env, jobject theobj, jobject aPlane) -{ - -jcas_Locking alock(env); -{ -try { -gp_Ax3* the_aPlane = (gp_Ax3*) jcas_GetHandle(env,aPlane); -if ( the_aPlane == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aPlane = new gp_Ax3 (); - // jcas_SetHandle ( env, aPlane, the_aPlane ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetPrivilegedPlane(*the_aPlane); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1Viewer_PrivilegedPlane (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -gp_Ax3* theret = new gp_Ax3(the_this->PrivilegedPlane()); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/gp_Ax3",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_DisplayPrivilegedPlane (JNIEnv *env, jobject theobj, jboolean OnOff, jdouble aSize) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->DisplayPrivilegedPlane((Standard_Boolean) OnOff,(Quantity_Length) aSize); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1SetLightOn_11 (JNIEnv *env, jobject theobj, jobject MyLight) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_Light ) the_MyLight; - void* ptr_MyLight = jcas_GetHandle(env,MyLight); - - if ( ptr_MyLight != NULL ) the_MyLight = *( ( Handle( V3d_Light )* )ptr_MyLight ); - -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetLightOn(the_MyLight); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1SetLightOn_12 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetLightOn(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1SetLightOff_11 (JNIEnv *env, jobject theobj, jobject MyLight) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_Light ) the_MyLight; - void* ptr_MyLight = jcas_GetHandle(env,MyLight); - - if ( ptr_MyLight != NULL ) the_MyLight = *( ( Handle( V3d_Light )* )ptr_MyLight ); - -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetLightOff(the_MyLight); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1SetLightOff_12 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetLightOff(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_DelLight (JNIEnv *env, jobject theobj, jobject MyLight) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_Light ) the_MyLight; - void* ptr_MyLight = jcas_GetHandle(env,MyLight); - - if ( ptr_MyLight != NULL ) the_MyLight = *( ( Handle( V3d_Light )* )ptr_MyLight ); - -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->DelLight(the_MyLight); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_SetCurrentSelectedLight (JNIEnv *env, jobject theobj, jobject TheLight) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_Light ) the_TheLight; - void* ptr_TheLight = jcas_GetHandle(env,TheLight); - - if ( ptr_TheLight != NULL ) the_TheLight = *( ( Handle( V3d_Light )* )ptr_TheLight ); - -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetCurrentSelectedLight(the_TheLight); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_ClearCurrentSelectedLight (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->ClearCurrentSelectedLight(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1DefaultBackgroundColor_11 (JNIEnv *env, jobject theobj, jshort Type, jobject V1, jobject V2, jobject V3) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_V1 = jcas_GetReal(env,V1); -Standard_Real the_V2 = jcas_GetReal(env,V2); -Standard_Real the_V3 = jcas_GetReal(env,V3); -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->DefaultBackgroundColor((Quantity_TypeOfColor) Type,the_V1,the_V2,the_V3); -jcas_SetReal(env,V1,the_V1); -jcas_SetReal(env,V2,the_V2); -jcas_SetReal(env,V3,the_V3); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1DefaultBackgroundColor_12 (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -Quantity_Color* theret = new Quantity_Color(the_this->DefaultBackgroundColor()); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Quantity_Color",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_V3d_1Viewer_DefaultViewSize (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); - thejret = the_this->DefaultViewSize(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_V3d_1Viewer_DefaultViewProj (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); - thejret = the_this->DefaultViewProj(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_V3d_1Viewer_DefaultVisualization (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); - thejret = the_this->DefaultVisualization(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_V3d_1Viewer_DefaultShadingModel (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); - thejret = the_this->DefaultShadingModel(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_V3d_1Viewer_DefaultSurfaceDetail (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); - thejret = the_this->DefaultSurfaceDetail(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_V3d_1Viewer_DefaultAngle (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); - thejret = the_this->DefaultAngle(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_V3d_1Viewer_UpdateMode (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); - thejret = the_this->UpdateMode(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1Viewer_IfMoreViews (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IfMoreViews(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_InitActiveViews (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->InitActiveViews(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1Viewer_MoreActiveViews (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); - thejret = the_this->MoreActiveViews(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_NextActiveViews (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->NextActiveViews(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1Viewer_ActiveView (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -Handle(V3d_View)* theret = new Handle(V3d_View); -*theret = the_this->ActiveView(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/V3d_View",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1Viewer_LastActiveView (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); - thejret = the_this->LastActiveView(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_InitDefinedViews (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->InitDefinedViews(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1Viewer_MoreDefinedViews (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); - thejret = the_this->MoreDefinedViews(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_NextDefinedViews (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->NextDefinedViews(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1Viewer_DefinedView (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -Handle(V3d_View)* theret = new Handle(V3d_View); -*theret = the_this->DefinedView(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/V3d_View",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_InitActiveLights (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->InitActiveLights(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1Viewer_MoreActiveLights (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); - thejret = the_this->MoreActiveLights(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_NextActiveLights (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->NextActiveLights(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1Viewer_ActiveLight (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -Handle(V3d_Light)* theret = new Handle(V3d_Light); -*theret = the_this->ActiveLight(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/V3d_Light",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_InitDefinedLights (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->InitDefinedLights(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1Viewer_MoreDefinedLights (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); - thejret = the_this->MoreDefinedLights(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_NextDefinedLights (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->NextDefinedLights(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1Viewer_DefinedLight (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -Handle(V3d_Light)* theret = new Handle(V3d_Light); -*theret = the_this->DefinedLight(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/V3d_Light",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_InitDefinedPlanes (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->InitDefinedPlanes(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1Viewer_MoreDefinedPlanes (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); - thejret = the_this->MoreDefinedPlanes(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_NextDefinedPlanes (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->NextDefinedPlanes(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1Viewer_DefinedPlane (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -Handle(V3d_Plane)* theret = new Handle(V3d_Plane); -*theret = the_this->DefinedPlane(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/V3d_Plane",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1Viewer_Viewer (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -Handle(Visual3d_ViewManager)* theret = new Handle(Visual3d_ViewManager); -*theret = the_this->Viewer(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Visual3d_ViewManager",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1Viewer_CurrentSelectedLight (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -Handle(V3d_Light)* theret = new Handle(V3d_Light); -*theret = the_this->CurrentSelectedLight(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/V3d_Light",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1Viewer_IsGlobalLight (JNIEnv *env, jobject theobj, jobject TheLight) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { - Handle( V3d_Light ) the_TheLight; - void* ptr_TheLight = jcas_GetHandle(env,TheLight); - - if ( ptr_TheLight != NULL ) the_TheLight = *( ( Handle( V3d_Light )* )ptr_TheLight ); - -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IsGlobalLight(the_TheLight); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1Viewer_ComputedMode (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); - thejret = the_this->ComputedMode(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1Viewer_DefaultComputedMode (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); - thejret = the_this->DefaultComputedMode(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_ActivateGrid (JNIEnv *env, jobject theobj, jshort aGridType, jshort aGridDrawMode) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->ActivateGrid((Aspect_GridType) aGridType,(Aspect_GridDrawMode) aGridDrawMode); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_DeactivateGrid (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->DeactivateGrid(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1SetGridEcho_11 (JNIEnv *env, jobject theobj, jboolean showGrid) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetGridEcho((Standard_Boolean) showGrid); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1SetGridEcho_12 (JNIEnv *env, jobject theobj, jobject aMarker) -{ - -jcas_Locking alock(env); -{ -try { - Handle( Graphic3d_AspectMarker3d ) the_aMarker; - void* ptr_aMarker = jcas_GetHandle(env,aMarker); - - if ( ptr_aMarker != NULL ) the_aMarker = *( ( Handle( Graphic3d_AspectMarker3d )* )ptr_aMarker ); - -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetGridEcho(the_aMarker); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1Viewer_GridEcho (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); - thejret = the_this->GridEcho(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1IsActive_11 (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IsActive(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1Viewer_Grid (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -Handle(Aspect_Grid)* theret = new Handle(Aspect_Grid); -*theret = the_this->Grid(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_Grid",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_V3d_1Viewer_GridType (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); - thejret = the_this->GridType(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_V3d_1Viewer_GridDrawMode (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); - thejret = the_this->GridDrawMode(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_RectangularGridValues (JNIEnv *env, jobject theobj, jobject XOrigin, jobject YOrigin, jobject XStep, jobject YStep, jobject RotationAngle) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_XOrigin = jcas_GetReal(env,XOrigin); -Standard_Real the_YOrigin = jcas_GetReal(env,YOrigin); -Standard_Real the_XStep = jcas_GetReal(env,XStep); -Standard_Real the_YStep = jcas_GetReal(env,YStep); -Standard_Real the_RotationAngle = jcas_GetReal(env,RotationAngle); -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->RectangularGridValues(the_XOrigin,the_YOrigin,the_XStep,the_YStep,the_RotationAngle); -jcas_SetReal(env,XOrigin,the_XOrigin); -jcas_SetReal(env,YOrigin,the_YOrigin); -jcas_SetReal(env,XStep,the_XStep); -jcas_SetReal(env,YStep,the_YStep); -jcas_SetReal(env,RotationAngle,the_RotationAngle); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_SetRectangularGridValues (JNIEnv *env, jobject theobj, jdouble XOrigin, jdouble YOrigin, jdouble XStep, jdouble YStep, jdouble RotationAngle) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetRectangularGridValues((Quantity_Length) XOrigin,(Quantity_Length) YOrigin,(Quantity_Length) XStep,(Quantity_Length) YStep,(Quantity_PlaneAngle) RotationAngle); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_CircularGridValues (JNIEnv *env, jobject theobj, jobject XOrigin, jobject YOrigin, jobject RadiusStep, jobject DivisionNumber, jobject RotationAngle) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_XOrigin = jcas_GetReal(env,XOrigin); -Standard_Real the_YOrigin = jcas_GetReal(env,YOrigin); -Standard_Real the_RadiusStep = jcas_GetReal(env,RadiusStep); -Standard_Integer the_DivisionNumber = jcas_GetInteger(env,DivisionNumber); -Standard_Real the_RotationAngle = jcas_GetReal(env,RotationAngle); -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->CircularGridValues(the_XOrigin,the_YOrigin,the_RadiusStep,the_DivisionNumber,the_RotationAngle); -jcas_SetReal(env,XOrigin,the_XOrigin); -jcas_SetReal(env,YOrigin,the_YOrigin); -jcas_SetReal(env,RadiusStep,the_RadiusStep); -jcas_SetInteger(env,DivisionNumber,the_DivisionNumber); -jcas_SetReal(env,RotationAngle,the_RotationAngle); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_SetCircularGridValues (JNIEnv *env, jobject theobj, jdouble XOrigin, jdouble YOrigin, jdouble RadiusStep, jint DivisionNumber, jdouble RotationAngle) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetCircularGridValues((Quantity_Length) XOrigin,(Quantity_Length) YOrigin,(Quantity_Length) RadiusStep,(Standard_Integer) DivisionNumber,(Quantity_PlaneAngle) RotationAngle); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_CircularGridGraphicValues (JNIEnv *env, jobject theobj, jobject Radius, jobject OffSet) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_Radius = jcas_GetReal(env,Radius); -Standard_Real the_OffSet = jcas_GetReal(env,OffSet); -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->CircularGridGraphicValues(the_Radius,the_OffSet); -jcas_SetReal(env,Radius,the_Radius); -jcas_SetReal(env,OffSet,the_OffSet); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_SetCircularGridGraphicValues (JNIEnv *env, jobject theobj, jdouble Radius, jdouble OffSet) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetCircularGridGraphicValues((Quantity_Length) Radius,(Quantity_Length) OffSet); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_RectangularGridGraphicValues (JNIEnv *env, jobject theobj, jobject XSize, jobject YSize, jobject OffSet) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_XSize = jcas_GetReal(env,XSize); -Standard_Real the_YSize = jcas_GetReal(env,YSize); -Standard_Real the_OffSet = jcas_GetReal(env,OffSet); -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->RectangularGridGraphicValues(the_XSize,the_YSize,the_OffSet); -jcas_SetReal(env,XSize,the_XSize); -jcas_SetReal(env,YSize,the_YSize); -jcas_SetReal(env,OffSet,the_OffSet); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_SetRectangularGridGraphicValues (JNIEnv *env, jobject theobj, jdouble XSize, jdouble YSize, jdouble OffSet) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetRectangularGridGraphicValues((Quantity_Length) XSize,(Quantity_Length) YSize,(Quantity_Length) OffSet); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_SetDefaultLights (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->SetDefaultLights(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_Init (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(V3d_Viewer) the_this = *((Handle(V3d_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->Init(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Viewer_View_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Viewer_View_java.cxx deleted file mode 100755 index 4294417278..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Viewer_View_java.cxx +++ /dev/null @@ -1,129 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Viewer_1View_Update (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Viewer_View) the_this = *((Handle(Viewer_View)*) jcas_GetHandle(env,theobj)); -the_this->Update(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_Viewer_1View_SetImmediateUpdate (JNIEnv *env, jobject theobj, jboolean onoff) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Viewer_View) the_this = *((Handle(Viewer_View)*) jcas_GetHandle(env,theobj)); - thejret = the_this->SetImmediateUpdate((Standard_Boolean) onoff); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Viewer_1View_WindowFit (JNIEnv *env, jobject theobj, jint Xmin, jint Ymin, jint Xmax, jint Ymax) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Viewer_View) the_this = *((Handle(Viewer_View)*) jcas_GetHandle(env,theobj)); -the_this->WindowFit((Standard_Integer) Xmin,(Standard_Integer) Ymin,(Standard_Integer) Xmax,(Standard_Integer) Ymax); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Viewer_1View_Place (JNIEnv *env, jobject theobj, jint x, jint y, jdouble aZoomFactor) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Viewer_View) the_this = *((Handle(Viewer_View)*) jcas_GetHandle(env,theobj)); -the_this->Place((Standard_Integer) x,(Standard_Integer) y,(Quantity_Factor) aZoomFactor); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Viewer_Viewer_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Viewer_Viewer_java.cxx deleted file mode 100755 index ab6ee568f5..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Viewer_Viewer_java.cxx +++ /dev/null @@ -1,137 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Viewer_1Viewer_Update (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Viewer_Viewer) the_this = *((Handle(Viewer_Viewer)*) jcas_GetHandle(env,theobj)); -the_this->Update(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Viewer_1Viewer_Device (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Viewer_Viewer) the_this = *((Handle(Viewer_Viewer)*) jcas_GetHandle(env,theobj)); -Handle(Aspect_GraphicDevice)* theret = new Handle(Aspect_GraphicDevice); -*theret = the_this->Device(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_GraphicDevice",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jstring JNICALL Java_CASCADESamplesJni_Viewer_1Viewer_NextName (JNIEnv *env, jobject theobj) -{ -jstring thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Viewer_Viewer) the_this = *((Handle(Viewer_Viewer)*) jcas_GetHandle(env,theobj)); -Standard_ExtString sret = the_this->NextName(); -thejret = jcas_ConvertTojstring(env,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Viewer_1Viewer_Domain (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Viewer_Viewer) the_this = *((Handle(Viewer_Viewer)*) jcas_GetHandle(env,theobj)); -Standard_CString sret = the_this->Domain(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Visual3d_ViewManager_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Visual3d_ViewManager_java.cxx deleted file mode 100755 index 7372a2ceb4..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Visual3d_ViewManager_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Visual3d_View_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Visual3d_View_java.cxx deleted file mode 100755 index c3fc161d8e..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_Visual3d_View_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_gp_Ax3_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_gp_Ax3_java.cxx deleted file mode 100755 index a306af2200..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_gp_Ax3_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_gp_1Ax3_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - gp_Ax3* theobj = (gp_Ax3*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_gp_Pnt_java.cxx b/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_gp_Pnt_java.cxx deleted file mode 100755 index f3825e7c00..0000000000 --- a/samples/java/drv/CASCADESamplesJni/CASCADESamplesJni_gp_Pnt_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_CASCADESamplesJni_gp_1Pnt_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - gp_Pnt* theobj = (gp_Pnt*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/ISession/ISession_Curve.ixx b/samples/java/drv/ISession/ISession_Curve.ixx deleted file mode 100755 index 7cdf4f5094..0000000000 --- a/samples/java/drv/ISession/ISession_Curve.ixx +++ /dev/null @@ -1,75 +0,0 @@ -// File generated by CPPExt (Transient) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// -#include - -#ifndef _Standard_TypeMismatch_HeaderFile -#include -#endif - -ISession_Curve::~ISession_Curve() {} - - - -Standard_EXPORT Handle_Standard_Type& ISession_Curve_Type_() -{ - - static Handle_Standard_Type aType1 = STANDARD_TYPE(AIS_InteractiveObject); - if ( aType1.IsNull()) aType1 = STANDARD_TYPE(AIS_InteractiveObject); - static Handle_Standard_Type aType2 = STANDARD_TYPE(SelectMgr_SelectableObject); - if ( aType2.IsNull()) aType2 = STANDARD_TYPE(SelectMgr_SelectableObject); - static Handle_Standard_Type aType3 = STANDARD_TYPE(PrsMgr_PresentableObject); - if ( aType3.IsNull()) aType3 = STANDARD_TYPE(PrsMgr_PresentableObject); - static Handle_Standard_Type aType4 = STANDARD_TYPE(MMgt_TShared); - if ( aType4.IsNull()) aType4 = STANDARD_TYPE(MMgt_TShared); - static Handle_Standard_Type aType5 = STANDARD_TYPE(Standard_Transient); - if ( aType5.IsNull()) aType5 = STANDARD_TYPE(Standard_Transient); - - - static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,aType4,aType5,NULL}; - static Handle_Standard_Type _aType = new Standard_Type("ISession_Curve", - sizeof(ISession_Curve), - 1, - (Standard_Address)_Ancestors, - (Standard_Address)NULL); - - return _aType; -} - - -// DownCast method -// allow safe downcasting -// -const Handle(ISession_Curve) Handle(ISession_Curve)::DownCast(const Handle(Standard_Transient)& AnObject) -{ - Handle(ISession_Curve) _anOtherObject; - - if (!AnObject.IsNull()) { - if (AnObject->IsKind(STANDARD_TYPE(ISession_Curve))) { - _anOtherObject = Handle(ISession_Curve)((Handle(ISession_Curve)&)AnObject); - } - } - - return _anOtherObject ; -} -const Handle(Standard_Type)& ISession_Curve::DynamicType() const -{ - return STANDARD_TYPE(ISession_Curve) ; -} -Standard_Boolean ISession_Curve::IsKind(const Handle(Standard_Type)& AType) const -{ - return (STANDARD_TYPE(ISession_Curve) == AType || AIS_InteractiveObject::IsKind(AType)); -} -Handle_ISession_Curve::~Handle_ISession_Curve() {} - diff --git a/samples/java/drv/ISession/ISession_Curve.jxx b/samples/java/drv/ISession/ISession_Curve.jxx deleted file mode 100755 index 49eb4decad..0000000000 --- a/samples/java/drv/ISession/ISession_Curve.jxx +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef _Geom_Curve_HeaderFile -#include -#endif -#ifndef _PrsMgr_PresentationManager3d_HeaderFile -#include -#endif -#ifndef _Prs3d_Presentation_HeaderFile -#include -#endif -#ifndef _Prs3d_Projector_HeaderFile -#include -#endif -#ifndef _SelectMgr_Selection_HeaderFile -#include -#endif -#ifndef _ISession_Curve_HeaderFile -#include -#endif diff --git a/samples/java/drv/ISession/ISession_Direction.ixx b/samples/java/drv/ISession/ISession_Direction.ixx deleted file mode 100755 index eff2aae182..0000000000 --- a/samples/java/drv/ISession/ISession_Direction.ixx +++ /dev/null @@ -1,75 +0,0 @@ -// File generated by CPPExt (Transient) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// -#include - -#ifndef _Standard_TypeMismatch_HeaderFile -#include -#endif - -ISession_Direction::~ISession_Direction() {} - - - -Standard_EXPORT Handle_Standard_Type& ISession_Direction_Type_() -{ - - static Handle_Standard_Type aType1 = STANDARD_TYPE(AIS_InteractiveObject); - if ( aType1.IsNull()) aType1 = STANDARD_TYPE(AIS_InteractiveObject); - static Handle_Standard_Type aType2 = STANDARD_TYPE(SelectMgr_SelectableObject); - if ( aType2.IsNull()) aType2 = STANDARD_TYPE(SelectMgr_SelectableObject); - static Handle_Standard_Type aType3 = STANDARD_TYPE(PrsMgr_PresentableObject); - if ( aType3.IsNull()) aType3 = STANDARD_TYPE(PrsMgr_PresentableObject); - static Handle_Standard_Type aType4 = STANDARD_TYPE(MMgt_TShared); - if ( aType4.IsNull()) aType4 = STANDARD_TYPE(MMgt_TShared); - static Handle_Standard_Type aType5 = STANDARD_TYPE(Standard_Transient); - if ( aType5.IsNull()) aType5 = STANDARD_TYPE(Standard_Transient); - - - static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,aType4,aType5,NULL}; - static Handle_Standard_Type _aType = new Standard_Type("ISession_Direction", - sizeof(ISession_Direction), - 1, - (Standard_Address)_Ancestors, - (Standard_Address)NULL); - - return _aType; -} - - -// DownCast method -// allow safe downcasting -// -const Handle(ISession_Direction) Handle(ISession_Direction)::DownCast(const Handle(Standard_Transient)& AnObject) -{ - Handle(ISession_Direction) _anOtherObject; - - if (!AnObject.IsNull()) { - if (AnObject->IsKind(STANDARD_TYPE(ISession_Direction))) { - _anOtherObject = Handle(ISession_Direction)((Handle(ISession_Direction)&)AnObject); - } - } - - return _anOtherObject ; -} -const Handle(Standard_Type)& ISession_Direction::DynamicType() const -{ - return STANDARD_TYPE(ISession_Direction) ; -} -Standard_Boolean ISession_Direction::IsKind(const Handle(Standard_Type)& AType) const -{ - return (STANDARD_TYPE(ISession_Direction) == AType || AIS_InteractiveObject::IsKind(AType)); -} -Handle_ISession_Direction::~Handle_ISession_Direction() {} - diff --git a/samples/java/drv/ISession/ISession_Direction.jxx b/samples/java/drv/ISession/ISession_Direction.jxx deleted file mode 100755 index 5cede73633..0000000000 --- a/samples/java/drv/ISession/ISession_Direction.jxx +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef _gp_Pnt_HeaderFile -#include -#endif -#ifndef _gp_Dir_HeaderFile -#include -#endif -#ifndef _gp_Vec_HeaderFile -#include -#endif -#ifndef _gp_Pnt2d_HeaderFile -#include -#endif -#ifndef _gp_Dir2d_HeaderFile -#include -#endif -#ifndef _gp_Vec2d_HeaderFile -#include -#endif -#ifndef _TCollection_ExtendedString_HeaderFile -#include -#endif -#ifndef _PrsMgr_PresentationManager3d_HeaderFile -#include -#endif -#ifndef _Prs3d_Presentation_HeaderFile -#include -#endif -#ifndef _Prs3d_Projector_HeaderFile -#include -#endif -#ifndef _PrsMgr_PresentationManager2d_HeaderFile -#include -#endif -#ifndef _Graphic2d_GraphicObject_HeaderFile -#include -#endif -#ifndef _SelectMgr_Selection_HeaderFile -#include -#endif -#ifndef _ISession_Direction_HeaderFile -#include -#endif diff --git a/samples/java/drv/ISession/ISession_Point.ixx b/samples/java/drv/ISession/ISession_Point.ixx deleted file mode 100755 index 51b8ee811b..0000000000 --- a/samples/java/drv/ISession/ISession_Point.ixx +++ /dev/null @@ -1,75 +0,0 @@ -// File generated by CPPExt (Transient) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// -#include - -#ifndef _Standard_TypeMismatch_HeaderFile -#include -#endif - -ISession_Point::~ISession_Point() {} - - - -Standard_EXPORT Handle_Standard_Type& ISession_Point_Type_() -{ - - static Handle_Standard_Type aType1 = STANDARD_TYPE(AIS_InteractiveObject); - if ( aType1.IsNull()) aType1 = STANDARD_TYPE(AIS_InteractiveObject); - static Handle_Standard_Type aType2 = STANDARD_TYPE(SelectMgr_SelectableObject); - if ( aType2.IsNull()) aType2 = STANDARD_TYPE(SelectMgr_SelectableObject); - static Handle_Standard_Type aType3 = STANDARD_TYPE(PrsMgr_PresentableObject); - if ( aType3.IsNull()) aType3 = STANDARD_TYPE(PrsMgr_PresentableObject); - static Handle_Standard_Type aType4 = STANDARD_TYPE(MMgt_TShared); - if ( aType4.IsNull()) aType4 = STANDARD_TYPE(MMgt_TShared); - static Handle_Standard_Type aType5 = STANDARD_TYPE(Standard_Transient); - if ( aType5.IsNull()) aType5 = STANDARD_TYPE(Standard_Transient); - - - static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,aType4,aType5,NULL}; - static Handle_Standard_Type _aType = new Standard_Type("ISession_Point", - sizeof(ISession_Point), - 1, - (Standard_Address)_Ancestors, - (Standard_Address)NULL); - - return _aType; -} - - -// DownCast method -// allow safe downcasting -// -const Handle(ISession_Point) Handle(ISession_Point)::DownCast(const Handle(Standard_Transient)& AnObject) -{ - Handle(ISession_Point) _anOtherObject; - - if (!AnObject.IsNull()) { - if (AnObject->IsKind(STANDARD_TYPE(ISession_Point))) { - _anOtherObject = Handle(ISession_Point)((Handle(ISession_Point)&)AnObject); - } - } - - return _anOtherObject ; -} -const Handle(Standard_Type)& ISession_Point::DynamicType() const -{ - return STANDARD_TYPE(ISession_Point) ; -} -Standard_Boolean ISession_Point::IsKind(const Handle(Standard_Type)& AType) const -{ - return (STANDARD_TYPE(ISession_Point) == AType || AIS_InteractiveObject::IsKind(AType)); -} -Handle_ISession_Point::~Handle_ISession_Point() {} - diff --git a/samples/java/drv/ISession/ISession_Point.jxx b/samples/java/drv/ISession/ISession_Point.jxx deleted file mode 100755 index ca97d3b775..0000000000 --- a/samples/java/drv/ISession/ISession_Point.jxx +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef _gp_Pnt2d_HeaderFile -#include -#endif -#ifndef _gp_Pnt_HeaderFile -#include -#endif -#ifndef _PrsMgr_PresentationManager3d_HeaderFile -#include -#endif -#ifndef _Prs3d_Presentation_HeaderFile -#include -#endif -#ifndef _Prs3d_Projector_HeaderFile -#include -#endif -#ifndef _PrsMgr_PresentationManager2d_HeaderFile -#include -#endif -#ifndef _Graphic2d_GraphicObject_HeaderFile -#include -#endif -#ifndef _SelectMgr_Selection_HeaderFile -#include -#endif -#ifndef _ISession_Point_HeaderFile -#include -#endif diff --git a/samples/java/drv/ISession/ISession_Surface.ixx b/samples/java/drv/ISession/ISession_Surface.ixx deleted file mode 100755 index 55669f69b6..0000000000 --- a/samples/java/drv/ISession/ISession_Surface.ixx +++ /dev/null @@ -1,75 +0,0 @@ -// File generated by CPPExt (Transient) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// -#include - -#ifndef _Standard_TypeMismatch_HeaderFile -#include -#endif - -ISession_Surface::~ISession_Surface() {} - - - -Standard_EXPORT Handle_Standard_Type& ISession_Surface_Type_() -{ - - static Handle_Standard_Type aType1 = STANDARD_TYPE(AIS_InteractiveObject); - if ( aType1.IsNull()) aType1 = STANDARD_TYPE(AIS_InteractiveObject); - static Handle_Standard_Type aType2 = STANDARD_TYPE(SelectMgr_SelectableObject); - if ( aType2.IsNull()) aType2 = STANDARD_TYPE(SelectMgr_SelectableObject); - static Handle_Standard_Type aType3 = STANDARD_TYPE(PrsMgr_PresentableObject); - if ( aType3.IsNull()) aType3 = STANDARD_TYPE(PrsMgr_PresentableObject); - static Handle_Standard_Type aType4 = STANDARD_TYPE(MMgt_TShared); - if ( aType4.IsNull()) aType4 = STANDARD_TYPE(MMgt_TShared); - static Handle_Standard_Type aType5 = STANDARD_TYPE(Standard_Transient); - if ( aType5.IsNull()) aType5 = STANDARD_TYPE(Standard_Transient); - - - static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,aType4,aType5,NULL}; - static Handle_Standard_Type _aType = new Standard_Type("ISession_Surface", - sizeof(ISession_Surface), - 1, - (Standard_Address)_Ancestors, - (Standard_Address)NULL); - - return _aType; -} - - -// DownCast method -// allow safe downcasting -// -const Handle(ISession_Surface) Handle(ISession_Surface)::DownCast(const Handle(Standard_Transient)& AnObject) -{ - Handle(ISession_Surface) _anOtherObject; - - if (!AnObject.IsNull()) { - if (AnObject->IsKind(STANDARD_TYPE(ISession_Surface))) { - _anOtherObject = Handle(ISession_Surface)((Handle(ISession_Surface)&)AnObject); - } - } - - return _anOtherObject ; -} -const Handle(Standard_Type)& ISession_Surface::DynamicType() const -{ - return STANDARD_TYPE(ISession_Surface) ; -} -Standard_Boolean ISession_Surface::IsKind(const Handle(Standard_Type)& AType) const -{ - return (STANDARD_TYPE(ISession_Surface) == AType || AIS_InteractiveObject::IsKind(AType)); -} -Handle_ISession_Surface::~Handle_ISession_Surface() {} - diff --git a/samples/java/drv/ISession/ISession_Surface.jxx b/samples/java/drv/ISession/ISession_Surface.jxx deleted file mode 100755 index 4d311402aa..0000000000 --- a/samples/java/drv/ISession/ISession_Surface.jxx +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef _Geom_Surface_HeaderFile -#include -#endif -#ifndef _PrsMgr_PresentationManager3d_HeaderFile -#include -#endif -#ifndef _Prs3d_Presentation_HeaderFile -#include -#endif -#ifndef _Prs3d_Projector_HeaderFile -#include -#endif -#ifndef _SelectMgr_Selection_HeaderFile -#include -#endif -#ifndef _ISession_Surface_HeaderFile -#include -#endif diff --git a/samples/java/drv/ISession/ISession_Text.ixx b/samples/java/drv/ISession/ISession_Text.ixx deleted file mode 100755 index 96653f181f..0000000000 --- a/samples/java/drv/ISession/ISession_Text.ixx +++ /dev/null @@ -1,75 +0,0 @@ -// File generated by CPPExt (Transient) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// -#include - -#ifndef _Standard_TypeMismatch_HeaderFile -#include -#endif - -ISession_Text::~ISession_Text() {} - - - -Standard_EXPORT Handle_Standard_Type& ISession_Text_Type_() -{ - - static Handle_Standard_Type aType1 = STANDARD_TYPE(AIS_InteractiveObject); - if ( aType1.IsNull()) aType1 = STANDARD_TYPE(AIS_InteractiveObject); - static Handle_Standard_Type aType2 = STANDARD_TYPE(SelectMgr_SelectableObject); - if ( aType2.IsNull()) aType2 = STANDARD_TYPE(SelectMgr_SelectableObject); - static Handle_Standard_Type aType3 = STANDARD_TYPE(PrsMgr_PresentableObject); - if ( aType3.IsNull()) aType3 = STANDARD_TYPE(PrsMgr_PresentableObject); - static Handle_Standard_Type aType4 = STANDARD_TYPE(MMgt_TShared); - if ( aType4.IsNull()) aType4 = STANDARD_TYPE(MMgt_TShared); - static Handle_Standard_Type aType5 = STANDARD_TYPE(Standard_Transient); - if ( aType5.IsNull()) aType5 = STANDARD_TYPE(Standard_Transient); - - - static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,aType4,aType5,NULL}; - static Handle_Standard_Type _aType = new Standard_Type("ISession_Text", - sizeof(ISession_Text), - 1, - (Standard_Address)_Ancestors, - (Standard_Address)NULL); - - return _aType; -} - - -// DownCast method -// allow safe downcasting -// -const Handle(ISession_Text) Handle(ISession_Text)::DownCast(const Handle(Standard_Transient)& AnObject) -{ - Handle(ISession_Text) _anOtherObject; - - if (!AnObject.IsNull()) { - if (AnObject->IsKind(STANDARD_TYPE(ISession_Text))) { - _anOtherObject = Handle(ISession_Text)((Handle(ISession_Text)&)AnObject); - } - } - - return _anOtherObject ; -} -const Handle(Standard_Type)& ISession_Text::DynamicType() const -{ - return STANDARD_TYPE(ISession_Text) ; -} -Standard_Boolean ISession_Text::IsKind(const Handle(Standard_Type)& AType) const -{ - return (STANDARD_TYPE(ISession_Text) == AType || AIS_InteractiveObject::IsKind(AType)); -} -Handle_ISession_Text::~Handle_ISession_Text() {} - diff --git a/samples/java/drv/ISession/ISession_Text.jxx b/samples/java/drv/ISession/ISession_Text.jxx deleted file mode 100755 index 1bfab80e3d..0000000000 --- a/samples/java/drv/ISession/ISession_Text.jxx +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef _TCollection_AsciiString_HeaderFile -#include -#endif -#ifndef _gp_Pnt_HeaderFile -#include -#endif -#ifndef _PrsMgr_PresentationManager3d_HeaderFile -#include -#endif -#ifndef _Prs3d_Presentation_HeaderFile -#include -#endif -#ifndef _Prs3d_Projector_HeaderFile -#include -#endif -#ifndef _PrsMgr_PresentationManager2d_HeaderFile -#include -#endif -#ifndef _Graphic2d_GraphicObject_HeaderFile -#include -#endif -#ifndef _SelectMgr_Selection_HeaderFile -#include -#endif -#ifndef _ISession_Text_HeaderFile -#include -#endif diff --git a/samples/java/drv/ISession2D/ISession2D_Curve.ixx b/samples/java/drv/ISession2D/ISession2D_Curve.ixx deleted file mode 100755 index 73d0934522..0000000000 --- a/samples/java/drv/ISession2D/ISession2D_Curve.ixx +++ /dev/null @@ -1,75 +0,0 @@ -// File generated by CPPExt (Transient) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// -#include - -#ifndef _Standard_TypeMismatch_HeaderFile -#include -#endif - -ISession2D_Curve::~ISession2D_Curve() {} - - - -Standard_EXPORT Handle_Standard_Type& ISession2D_Curve_Type_() -{ - - static Handle_Standard_Type aType1 = STANDARD_TYPE(AIS_InteractiveObject); - if ( aType1.IsNull()) aType1 = STANDARD_TYPE(AIS_InteractiveObject); - static Handle_Standard_Type aType2 = STANDARD_TYPE(SelectMgr_SelectableObject); - if ( aType2.IsNull()) aType2 = STANDARD_TYPE(SelectMgr_SelectableObject); - static Handle_Standard_Type aType3 = STANDARD_TYPE(PrsMgr_PresentableObject); - if ( aType3.IsNull()) aType3 = STANDARD_TYPE(PrsMgr_PresentableObject); - static Handle_Standard_Type aType4 = STANDARD_TYPE(MMgt_TShared); - if ( aType4.IsNull()) aType4 = STANDARD_TYPE(MMgt_TShared); - static Handle_Standard_Type aType5 = STANDARD_TYPE(Standard_Transient); - if ( aType5.IsNull()) aType5 = STANDARD_TYPE(Standard_Transient); - - - static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,aType4,aType5,NULL}; - static Handle_Standard_Type _aType = new Standard_Type("ISession2D_Curve", - sizeof(ISession2D_Curve), - 1, - (Standard_Address)_Ancestors, - (Standard_Address)NULL); - - return _aType; -} - - -// DownCast method -// allow safe downcasting -// -const Handle(ISession2D_Curve) Handle(ISession2D_Curve)::DownCast(const Handle(Standard_Transient)& AnObject) -{ - Handle(ISession2D_Curve) _anOtherObject; - - if (!AnObject.IsNull()) { - if (AnObject->IsKind(STANDARD_TYPE(ISession2D_Curve))) { - _anOtherObject = Handle(ISession2D_Curve)((Handle(ISession2D_Curve)&)AnObject); - } - } - - return _anOtherObject ; -} -const Handle(Standard_Type)& ISession2D_Curve::DynamicType() const -{ - return STANDARD_TYPE(ISession2D_Curve) ; -} -Standard_Boolean ISession2D_Curve::IsKind(const Handle(Standard_Type)& AType) const -{ - return (STANDARD_TYPE(ISession2D_Curve) == AType || AIS_InteractiveObject::IsKind(AType)); -} -Handle_ISession2D_Curve::~Handle_ISession2D_Curve() {} - diff --git a/samples/java/drv/ISession2D/ISession2D_Curve.jxx b/samples/java/drv/ISession2D/ISession2D_Curve.jxx deleted file mode 100755 index c246815c8e..0000000000 --- a/samples/java/drv/ISession2D/ISession2D_Curve.jxx +++ /dev/null @@ -1,15 +0,0 @@ -#ifndef _Geom2d_Curve_HeaderFile -#include -#endif -#ifndef _PrsMgr_PresentationManager2d_HeaderFile -#include -#endif -#ifndef _Graphic2d_GraphicObject_HeaderFile -#include -#endif -#ifndef _SelectMgr_Selection_HeaderFile -#include -#endif -#ifndef _ISession2D_Curve_HeaderFile -#include -#endif diff --git a/samples/java/drv/ISession2D/ISession2D_InteractiveContext.ixx b/samples/java/drv/ISession2D/ISession2D_InteractiveContext.ixx deleted file mode 100755 index 479309a4d9..0000000000 --- a/samples/java/drv/ISession2D/ISession2D_InteractiveContext.ixx +++ /dev/null @@ -1,69 +0,0 @@ -// File generated by CPPExt (Transient) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// -#include - -#ifndef _Standard_TypeMismatch_HeaderFile -#include -#endif - -ISession2D_InteractiveContext::~ISession2D_InteractiveContext() {} - - - -Standard_EXPORT Handle_Standard_Type& ISession2D_InteractiveContext_Type_() -{ - - static Handle_Standard_Type aType1 = STANDARD_TYPE(MMgt_TShared); - if ( aType1.IsNull()) aType1 = STANDARD_TYPE(MMgt_TShared); - static Handle_Standard_Type aType2 = STANDARD_TYPE(Standard_Transient); - if ( aType2.IsNull()) aType2 = STANDARD_TYPE(Standard_Transient); - - - static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,NULL}; - static Handle_Standard_Type _aType = new Standard_Type("ISession2D_InteractiveContext", - sizeof(ISession2D_InteractiveContext), - 1, - (Standard_Address)_Ancestors, - (Standard_Address)NULL); - - return _aType; -} - - -// DownCast method -// allow safe downcasting -// -const Handle(ISession2D_InteractiveContext) Handle(ISession2D_InteractiveContext)::DownCast(const Handle(Standard_Transient)& AnObject) -{ - Handle(ISession2D_InteractiveContext) _anOtherObject; - - if (!AnObject.IsNull()) { - if (AnObject->IsKind(STANDARD_TYPE(ISession2D_InteractiveContext))) { - _anOtherObject = Handle(ISession2D_InteractiveContext)((Handle(ISession2D_InteractiveContext)&)AnObject); - } - } - - return _anOtherObject ; -} -const Handle(Standard_Type)& ISession2D_InteractiveContext::DynamicType() const -{ - return STANDARD_TYPE(ISession2D_InteractiveContext) ; -} -Standard_Boolean ISession2D_InteractiveContext::IsKind(const Handle(Standard_Type)& AType) const -{ - return (STANDARD_TYPE(ISession2D_InteractiveContext) == AType || MMgt_TShared::IsKind(AType)); -} -Handle_ISession2D_InteractiveContext::~Handle_ISession2D_InteractiveContext() {} - diff --git a/samples/java/drv/ISession2D/ISession2D_InteractiveContext.jxx b/samples/java/drv/ISession2D/ISession2D_InteractiveContext.jxx deleted file mode 100755 index 2821760049..0000000000 --- a/samples/java/drv/ISession2D/ISession2D_InteractiveContext.jxx +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef _V2d_Viewer_HeaderFile -#include -#endif -#ifndef _PrsMgr_PresentationManager2d_HeaderFile -#include -#endif -#ifndef _SelectMgr_SelectionManager_HeaderFile -#include -#endif -#ifndef _StdSelect_ViewerSelector2d_HeaderFile -#include -#endif -#ifndef _AIS_InteractiveObject_HeaderFile -#include -#endif -#ifndef _V2d_View_HeaderFile -#include -#endif -#ifndef _Select2D_Projector_HeaderFile -#include -#endif -#ifndef _TColStd_MapOfTransient_HeaderFile -#include -#endif -#ifndef _ISession2D_InteractiveContext_HeaderFile -#include -#endif diff --git a/samples/java/drv/ISession2D/ISession2D_ObjectOwner.ixx b/samples/java/drv/ISession2D/ISession2D_ObjectOwner.ixx deleted file mode 100755 index 7b8f32ce84..0000000000 --- a/samples/java/drv/ISession2D/ISession2D_ObjectOwner.ixx +++ /dev/null @@ -1,73 +0,0 @@ -// File generated by CPPExt (Transient) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// -#include - -#ifndef _Standard_TypeMismatch_HeaderFile -#include -#endif - -ISession2D_ObjectOwner::~ISession2D_ObjectOwner() {} - - - -Standard_EXPORT Handle_Standard_Type& ISession2D_ObjectOwner_Type_() -{ - - static Handle_Standard_Type aType1 = STANDARD_TYPE(SelectMgr_EntityOwner); - if ( aType1.IsNull()) aType1 = STANDARD_TYPE(SelectMgr_EntityOwner); - static Handle_Standard_Type aType2 = STANDARD_TYPE(SelectBasics_EntityOwner); - if ( aType2.IsNull()) aType2 = STANDARD_TYPE(SelectBasics_EntityOwner); - static Handle_Standard_Type aType3 = STANDARD_TYPE(MMgt_TShared); - if ( aType3.IsNull()) aType3 = STANDARD_TYPE(MMgt_TShared); - static Handle_Standard_Type aType4 = STANDARD_TYPE(Standard_Transient); - if ( aType4.IsNull()) aType4 = STANDARD_TYPE(Standard_Transient); - - - static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,aType4,NULL}; - static Handle_Standard_Type _aType = new Standard_Type("ISession2D_ObjectOwner", - sizeof(ISession2D_ObjectOwner), - 1, - (Standard_Address)_Ancestors, - (Standard_Address)NULL); - - return _aType; -} - - -// DownCast method -// allow safe downcasting -// -const Handle(ISession2D_ObjectOwner) Handle(ISession2D_ObjectOwner)::DownCast(const Handle(Standard_Transient)& AnObject) -{ - Handle(ISession2D_ObjectOwner) _anOtherObject; - - if (!AnObject.IsNull()) { - if (AnObject->IsKind(STANDARD_TYPE(ISession2D_ObjectOwner))) { - _anOtherObject = Handle(ISession2D_ObjectOwner)((Handle(ISession2D_ObjectOwner)&)AnObject); - } - } - - return _anOtherObject ; -} -const Handle(Standard_Type)& ISession2D_ObjectOwner::DynamicType() const -{ - return STANDARD_TYPE(ISession2D_ObjectOwner) ; -} -Standard_Boolean ISession2D_ObjectOwner::IsKind(const Handle(Standard_Type)& AType) const -{ - return (STANDARD_TYPE(ISession2D_ObjectOwner) == AType || SelectMgr_EntityOwner::IsKind(AType)); -} -Handle_ISession2D_ObjectOwner::~Handle_ISession2D_ObjectOwner() {} - diff --git a/samples/java/drv/ISession2D/ISession2D_ObjectOwner.jxx b/samples/java/drv/ISession2D/ISession2D_ObjectOwner.jxx deleted file mode 100755 index 525f37fb7d..0000000000 --- a/samples/java/drv/ISession2D/ISession2D_ObjectOwner.jxx +++ /dev/null @@ -1,15 +0,0 @@ -#ifndef _Graphic2d_GraphicObject_HeaderFile -#include -#endif -#ifndef _SelectMgr_SelectableObject_HeaderFile -#include -#endif -#ifndef _PrsMgr_PresentationManager_HeaderFile -#include -#endif -#ifndef _TCollection_AsciiString_HeaderFile -#include -#endif -#ifndef _ISession2D_ObjectOwner_HeaderFile -#include -#endif diff --git a/samples/java/drv/ISession2D/ISession2D_SensitiveCurve.ixx b/samples/java/drv/ISession2D/ISession2D_SensitiveCurve.ixx deleted file mode 100755 index 748c40592c..0000000000 --- a/samples/java/drv/ISession2D/ISession2D_SensitiveCurve.ixx +++ /dev/null @@ -1,73 +0,0 @@ -// File generated by CPPExt (Transient) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// -#include - -#ifndef _Standard_TypeMismatch_HeaderFile -#include -#endif - -ISession2D_SensitiveCurve::~ISession2D_SensitiveCurve() {} - - - -Standard_EXPORT Handle_Standard_Type& ISession2D_SensitiveCurve_Type_() -{ - - static Handle_Standard_Type aType1 = STANDARD_TYPE(Select2D_SensitiveEntity); - if ( aType1.IsNull()) aType1 = STANDARD_TYPE(Select2D_SensitiveEntity); - static Handle_Standard_Type aType2 = STANDARD_TYPE(SelectBasics_SensitiveEntity); - if ( aType2.IsNull()) aType2 = STANDARD_TYPE(SelectBasics_SensitiveEntity); - static Handle_Standard_Type aType3 = STANDARD_TYPE(MMgt_TShared); - if ( aType3.IsNull()) aType3 = STANDARD_TYPE(MMgt_TShared); - static Handle_Standard_Type aType4 = STANDARD_TYPE(Standard_Transient); - if ( aType4.IsNull()) aType4 = STANDARD_TYPE(Standard_Transient); - - - static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,aType4,NULL}; - static Handle_Standard_Type _aType = new Standard_Type("ISession2D_SensitiveCurve", - sizeof(ISession2D_SensitiveCurve), - 1, - (Standard_Address)_Ancestors, - (Standard_Address)NULL); - - return _aType; -} - - -// DownCast method -// allow safe downcasting -// -const Handle(ISession2D_SensitiveCurve) Handle(ISession2D_SensitiveCurve)::DownCast(const Handle(Standard_Transient)& AnObject) -{ - Handle(ISession2D_SensitiveCurve) _anOtherObject; - - if (!AnObject.IsNull()) { - if (AnObject->IsKind(STANDARD_TYPE(ISession2D_SensitiveCurve))) { - _anOtherObject = Handle(ISession2D_SensitiveCurve)((Handle(ISession2D_SensitiveCurve)&)AnObject); - } - } - - return _anOtherObject ; -} -const Handle(Standard_Type)& ISession2D_SensitiveCurve::DynamicType() const -{ - return STANDARD_TYPE(ISession2D_SensitiveCurve) ; -} -Standard_Boolean ISession2D_SensitiveCurve::IsKind(const Handle(Standard_Type)& AType) const -{ - return (STANDARD_TYPE(ISession2D_SensitiveCurve) == AType || Select2D_SensitiveEntity::IsKind(AType)); -} -Handle_ISession2D_SensitiveCurve::~Handle_ISession2D_SensitiveCurve() {} - diff --git a/samples/java/drv/ISession2D/ISession2D_SensitiveCurve.jxx b/samples/java/drv/ISession2D/ISession2D_SensitiveCurve.jxx deleted file mode 100755 index 105d3a8a24..0000000000 --- a/samples/java/drv/ISession2D/ISession2D_SensitiveCurve.jxx +++ /dev/null @@ -1,15 +0,0 @@ -#ifndef _Geom2d_Curve_HeaderFile -#include -#endif -#ifndef _TColgp_HArray1OfPnt2d_HeaderFile -#include -#endif -#ifndef _SelectBasics_EntityOwner_HeaderFile -#include -#endif -#ifndef _SelectBasics_ListOfBox2d_HeaderFile -#include -#endif -#ifndef _ISession2D_SensitiveCurve_HeaderFile -#include -#endif diff --git a/samples/java/drv/ISession2D/ISession2D_Shape.ixx b/samples/java/drv/ISession2D/ISession2D_Shape.ixx deleted file mode 100755 index f3c62883af..0000000000 --- a/samples/java/drv/ISession2D/ISession2D_Shape.ixx +++ /dev/null @@ -1,75 +0,0 @@ -// File generated by CPPExt (Transient) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// -#include - -#ifndef _Standard_TypeMismatch_HeaderFile -#include -#endif - -ISession2D_Shape::~ISession2D_Shape() {} - - - -Standard_EXPORT Handle_Standard_Type& ISession2D_Shape_Type_() -{ - - static Handle_Standard_Type aType1 = STANDARD_TYPE(AIS_InteractiveObject); - if ( aType1.IsNull()) aType1 = STANDARD_TYPE(AIS_InteractiveObject); - static Handle_Standard_Type aType2 = STANDARD_TYPE(SelectMgr_SelectableObject); - if ( aType2.IsNull()) aType2 = STANDARD_TYPE(SelectMgr_SelectableObject); - static Handle_Standard_Type aType3 = STANDARD_TYPE(PrsMgr_PresentableObject); - if ( aType3.IsNull()) aType3 = STANDARD_TYPE(PrsMgr_PresentableObject); - static Handle_Standard_Type aType4 = STANDARD_TYPE(MMgt_TShared); - if ( aType4.IsNull()) aType4 = STANDARD_TYPE(MMgt_TShared); - static Handle_Standard_Type aType5 = STANDARD_TYPE(Standard_Transient); - if ( aType5.IsNull()) aType5 = STANDARD_TYPE(Standard_Transient); - - - static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,aType4,aType5,NULL}; - static Handle_Standard_Type _aType = new Standard_Type("ISession2D_Shape", - sizeof(ISession2D_Shape), - 1, - (Standard_Address)_Ancestors, - (Standard_Address)NULL); - - return _aType; -} - - -// DownCast method -// allow safe downcasting -// -const Handle(ISession2D_Shape) Handle(ISession2D_Shape)::DownCast(const Handle(Standard_Transient)& AnObject) -{ - Handle(ISession2D_Shape) _anOtherObject; - - if (!AnObject.IsNull()) { - if (AnObject->IsKind(STANDARD_TYPE(ISession2D_Shape))) { - _anOtherObject = Handle(ISession2D_Shape)((Handle(ISession2D_Shape)&)AnObject); - } - } - - return _anOtherObject ; -} -const Handle(Standard_Type)& ISession2D_Shape::DynamicType() const -{ - return STANDARD_TYPE(ISession2D_Shape) ; -} -Standard_Boolean ISession2D_Shape::IsKind(const Handle(Standard_Type)& AType) const -{ - return (STANDARD_TYPE(ISession2D_Shape) == AType || AIS_InteractiveObject::IsKind(AType)); -} -Handle_ISession2D_Shape::~Handle_ISession2D_Shape() {} - diff --git a/samples/java/drv/ISession2D/ISession2D_Shape.jxx b/samples/java/drv/ISession2D/ISession2D_Shape.jxx deleted file mode 100755 index f093e4002b..0000000000 --- a/samples/java/drv/ISession2D/ISession2D_Shape.jxx +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef _HLRBRep_Algo_HeaderFile -#include -#endif -#ifndef _HLRBRep_PolyAlgo_HeaderFile -#include -#endif -#ifndef _TopoDS_Shape_HeaderFile -#include -#endif -#ifndef _HLRAlgo_Projector_HeaderFile -#include -#endif -#ifndef _PrsMgr_PresentationManager3d_HeaderFile -#include -#endif -#ifndef _Prs3d_Presentation_HeaderFile -#include -#endif -#ifndef _Prs3d_Projector_HeaderFile -#include -#endif -#ifndef _PrsMgr_PresentationManager2d_HeaderFile -#include -#endif -#ifndef _Graphic2d_GraphicObject_HeaderFile -#include -#endif -#ifndef _Graphic2d_SetOfSegments_HeaderFile -#include -#endif -#ifndef _GGraphic2d_SetOfCurves_HeaderFile -#include -#endif -#ifndef _SelectMgr_Selection_HeaderFile -#include -#endif -#ifndef _ISession2D_Shape_HeaderFile -#include -#endif diff --git a/samples/java/drv/SampleAISBasicJni/SampleAISBasicJni_AIS_InteractiveContext_java.cxx b/samples/java/drv/SampleAISBasicJni/SampleAISBasicJni_AIS_InteractiveContext_java.cxx deleted file mode 100755 index 2247ce236e..0000000000 --- a/samples/java/drv/SampleAISBasicJni/SampleAISBasicJni_AIS_InteractiveContext_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleAISBasicJni/SampleAISBasicJni_SampleAISBasicPackage_java.cxx b/samples/java/drv/SampleAISBasicJni/SampleAISBasicJni_SampleAISBasicPackage_java.cxx deleted file mode 100755 index fcfdc0d19d..0000000000 --- a/samples/java/drv/SampleAISBasicJni/SampleAISBasicJni_SampleAISBasicPackage_java.cxx +++ /dev/null @@ -1,272 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT jobject JNICALL Java_SampleAISBasicJni_SampleAISBasicPackage_CreateViewer (JNIEnv *env, jclass, jstring aName) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Standard_ExtString the_aName = jcas_ConvertToExtString(env,aName); -Handle(V3d_Viewer)* theret = new Handle(V3d_Viewer); -*theret = SampleAISBasicPackage::CreateViewer(the_aName); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/V3d_Viewer",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleAISBasicJni_SampleAISBasicPackage_SetWindow (JNIEnv *env, jclass, jobject aView, jint hiwin, jint lowin) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -SampleAISBasicPackage::SetWindow(the_aView,(Standard_Integer) hiwin,(Standard_Integer) lowin); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleAISBasicJni_SampleAISBasicPackage_DisplayTrihedron (JNIEnv *env, jclass, jobject aContext) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -SampleAISBasicPackage::DisplayTrihedron(the_aContext); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleAISBasicJni_SampleAISBasicPackage_DisplayCircle (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleAISBasicPackage::DisplayCircle(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleAISBasicJni_SampleAISBasicPackage_DisplayLine (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleAISBasicPackage::DisplayLine(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleAISBasicJni_SampleAISBasicPackage_DisplaySphere (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleAISBasicPackage::DisplaySphere(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleAISBasicJni_SampleAISBasicPackage_DisplayCylinder (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleAISBasicPackage::DisplayCylinder(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - -} diff --git a/samples/java/drv/SampleAISBasicJni/SampleAISBasicJni_TCollection_AsciiString_java.cxx b/samples/java/drv/SampleAISBasicJni/SampleAISBasicJni_TCollection_AsciiString_java.cxx deleted file mode 100755 index 0e2390bd27..0000000000 --- a/samples/java/drv/SampleAISBasicJni/SampleAISBasicJni_TCollection_AsciiString_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleAISBasicJni_TCollection_1AsciiString_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - TCollection_AsciiString* theobj = (TCollection_AsciiString*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleAISBasicJni/SampleAISBasicJni_UnitsAPI_java.cxx b/samples/java/drv/SampleAISBasicJni/SampleAISBasicJni_UnitsAPI_java.cxx deleted file mode 100755 index 469cbcf70f..0000000000 --- a/samples/java/drv/SampleAISBasicJni/SampleAISBasicJni_UnitsAPI_java.cxx +++ /dev/null @@ -1,57 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - - -#include -#include -#include -#include -#include -#include -#include - -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleAISBasicJni_UnitsAPI_SetLocalSystem (JNIEnv *env, jclass, jshort aSystemUnit) -{ - -jcas_Locking alock(env); -{ -try { -UnitsAPI::SetLocalSystem((UnitsAPI_SystemUnits) aSystemUnit); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - -} diff --git a/samples/java/drv/SampleAISBasicJni/SampleAISBasicJni_V3d_View_java.cxx b/samples/java/drv/SampleAISBasicJni/SampleAISBasicJni_V3d_View_java.cxx deleted file mode 100755 index 35da16e8f6..0000000000 --- a/samples/java/drv/SampleAISBasicJni/SampleAISBasicJni_V3d_View_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleAISBasicJni/SampleAISBasicJni_V3d_Viewer_java.cxx b/samples/java/drv/SampleAISBasicJni/SampleAISBasicJni_V3d_Viewer_java.cxx deleted file mode 100755 index f041b51988..0000000000 --- a/samples/java/drv/SampleAISBasicJni/SampleAISBasicJni_V3d_Viewer_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleAISBasicJni/SampleAISBasicJni_Viewer_View_java.cxx b/samples/java/drv/SampleAISBasicJni/SampleAISBasicJni_Viewer_View_java.cxx deleted file mode 100755 index 91327819c2..0000000000 --- a/samples/java/drv/SampleAISBasicJni/SampleAISBasicJni_Viewer_View_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleAISBasicJni/SampleAISBasicJni_Viewer_Viewer_java.cxx b/samples/java/drv/SampleAISBasicJni/SampleAISBasicJni_Viewer_Viewer_java.cxx deleted file mode 100755 index a7d2e50a62..0000000000 --- a/samples/java/drv/SampleAISBasicJni/SampleAISBasicJni_Viewer_Viewer_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleAISBasicPackage/SampleAISBasicPackage.ixx b/samples/java/drv/SampleAISBasicPackage/SampleAISBasicPackage.ixx deleted file mode 100755 index 06f448bf92..0000000000 --- a/samples/java/drv/SampleAISBasicPackage/SampleAISBasicPackage.ixx +++ /dev/null @@ -1,19 +0,0 @@ -// File generated by CPPExt (Value) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// -#include - - - - diff --git a/samples/java/drv/SampleAISBasicPackage/SampleAISBasicPackage.jxx b/samples/java/drv/SampleAISBasicPackage/SampleAISBasicPackage.jxx deleted file mode 100755 index 507ff0292a..0000000000 --- a/samples/java/drv/SampleAISBasicPackage/SampleAISBasicPackage.jxx +++ /dev/null @@ -1,15 +0,0 @@ -#ifndef _V3d_Viewer_HeaderFile -#include -#endif -#ifndef _V3d_View_HeaderFile -#include -#endif -#ifndef _AIS_InteractiveContext_HeaderFile -#include -#endif -#ifndef _TCollection_AsciiString_HeaderFile -#include -#endif -#ifndef _SampleAISBasicPackage_HeaderFile -#include -#endif diff --git a/samples/java/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_AIS_InteractiveContext_java.cxx b/samples/java/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_AIS_InteractiveContext_java.cxx deleted file mode 100755 index 6013aa9bc4..0000000000 --- a/samples/java/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_AIS_InteractiveContext_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_Quantity_Color_java.cxx b/samples/java/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_Quantity_Color_java.cxx deleted file mode 100755 index acddab205e..0000000000 --- a/samples/java/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_Quantity_Color_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_Quantity_1Color_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Quantity_Color* theobj = (Quantity_Color*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_SampleAISDisplayModePackage_java.cxx b/samples/java/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_SampleAISDisplayModePackage_java.cxx deleted file mode 100755 index 93ad4f6a66..0000000000 --- a/samples/java/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_SampleAISDisplayModePackage_java.cxx +++ /dev/null @@ -1,721 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT jobject JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_CreateViewer (JNIEnv *env, jclass, jstring aName) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Standard_ExtString the_aName = jcas_ConvertToExtString(env,aName); -Handle(V3d_Viewer)* theret = new Handle(V3d_Viewer); -*theret = SampleAISDisplayModePackage::CreateViewer(the_aName); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/V3d_Viewer",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_SetWindow (JNIEnv *env, jclass, jobject aView, jint hiwin, jint lowin) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -SampleAISDisplayModePackage::SetWindow(the_aView,(Standard_Integer) hiwin,(Standard_Integer) lowin); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_DisplayBox (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleAISDisplayModePackage::DisplayBox(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_DisplaySphere (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleAISDisplayModePackage::DisplaySphere(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_DisplayCylinder (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleAISDisplayModePackage::DisplayCylinder(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_EraseAll (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleAISDisplayModePackage::EraseAll(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_InitContext (JNIEnv *env, jclass, jobject aContext) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -SampleAISDisplayModePackage::InitContext(the_aContext); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_GetIsosNumber (JNIEnv *env, jclass, jobject aContext, jobject u, jobject v) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -Standard_Integer the_u = jcas_GetInteger(env,u); -Standard_Integer the_v = jcas_GetInteger(env,v); -SampleAISDisplayModePackage::GetIsosNumber(the_aContext,the_u,the_v); -jcas_SetInteger(env,u,the_u); -jcas_SetInteger(env,v,the_v); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_SetIsosNumber (JNIEnv *env, jclass, jobject aContext, jint u, jint v, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleAISDisplayModePackage::SetIsosNumber(the_aContext,(Standard_Integer) u,(Standard_Integer) v,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_SetDisplayMode (JNIEnv *env, jclass, jobject aContext, jshort aMode, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleAISDisplayModePackage::SetDisplayMode(the_aContext,(AIS_DisplayMode) aMode,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_SetObjectDisplayMode (JNIEnv *env, jclass, jobject aContext, jshort aMode, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleAISDisplayModePackage::SetObjectDisplayMode(the_aContext,(AIS_DisplayMode) aMode,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_SetObjectMaterial (JNIEnv *env, jclass, jobject aContext, jshort aName, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleAISDisplayModePackage::SetObjectMaterial(the_aContext,(Graphic3d_NameOfMaterial) aName,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_GetObjectColor (JNIEnv *env, jclass, jobject aContext) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -Quantity_Color* theret = new Quantity_Color(SampleAISDisplayModePackage::GetObjectColor(the_aContext)); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Quantity_Color",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_SetObjectColor (JNIEnv *env, jclass, jobject aContext, jobject aColor, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -Quantity_Color* the_aColor = (Quantity_Color*) jcas_GetHandle(env,aColor); -if ( the_aColor == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aColor = new Quantity_Color (); - // jcas_SetHandle ( env, aColor, the_aColor ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleAISDisplayModePackage::SetObjectColor(the_aContext,*the_aColor,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jdouble JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_GetObjectTransparency (JNIEnv *env, jclass, jobject aContext) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - - thejret = SampleAISDisplayModePackage::GetObjectTransparency(the_aContext); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_SetObjectTransparency (JNIEnv *env, jclass, jobject aContext, jdouble aValue, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleAISDisplayModePackage::SetObjectTransparency(the_aContext,(Standard_Real) aValue,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_CreateLight (JNIEnv *env, jclass, jobject aContext) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -SampleAISDisplayModePackage::CreateLight(the_aContext); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_SetFirstPointOfLight (JNIEnv *env, jclass, jobject aContext, jobject aView, jint X, jint Y) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -SampleAISDisplayModePackage::SetFirstPointOfLight(the_aContext,the_aView,(Standard_Integer) X,(Standard_Integer) Y); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_MoveSecondPointOfLight (JNIEnv *env, jclass, jobject aContext, jobject aView, jint X, jint Y) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -SampleAISDisplayModePackage::MoveSecondPointOfLight(the_aContext,the_aView,(Standard_Integer) X,(Standard_Integer) Y); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_SetSecondPointOfLight (JNIEnv *env, jclass, jobject aContext) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -SampleAISDisplayModePackage::SetSecondPointOfLight(the_aContext); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - -} diff --git a/samples/java/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_TCollection_AsciiString_java.cxx b/samples/java/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_TCollection_AsciiString_java.cxx deleted file mode 100755 index 0f253537f6..0000000000 --- a/samples/java/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_TCollection_AsciiString_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_TCollection_1AsciiString_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - TCollection_AsciiString* theobj = (TCollection_AsciiString*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_V3d_View_java.cxx b/samples/java/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_V3d_View_java.cxx deleted file mode 100755 index 14835b66f9..0000000000 --- a/samples/java/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_V3d_View_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_V3d_Viewer_java.cxx b/samples/java/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_V3d_Viewer_java.cxx deleted file mode 100755 index 850b6b3310..0000000000 --- a/samples/java/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_V3d_Viewer_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_Viewer_View_java.cxx b/samples/java/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_Viewer_View_java.cxx deleted file mode 100755 index caf35ba252..0000000000 --- a/samples/java/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_Viewer_View_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_Viewer_Viewer_java.cxx b/samples/java/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_Viewer_Viewer_java.cxx deleted file mode 100755 index ed4faaa706..0000000000 --- a/samples/java/drv/SampleAISDisplayModeJni/SampleAISDisplayModeJni_Viewer_Viewer_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleAISDisplayModePackage/SampleAISDisplayModePackage.ixx b/samples/java/drv/SampleAISDisplayModePackage/SampleAISDisplayModePackage.ixx deleted file mode 100755 index f6284357ac..0000000000 --- a/samples/java/drv/SampleAISDisplayModePackage/SampleAISDisplayModePackage.ixx +++ /dev/null @@ -1,19 +0,0 @@ -// File generated by CPPExt (Value) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// -#include - - - - diff --git a/samples/java/drv/SampleAISDisplayModePackage/SampleAISDisplayModePackage.jxx b/samples/java/drv/SampleAISDisplayModePackage/SampleAISDisplayModePackage.jxx deleted file mode 100755 index 8ac7a4606f..0000000000 --- a/samples/java/drv/SampleAISDisplayModePackage/SampleAISDisplayModePackage.jxx +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef _V3d_Viewer_HeaderFile -#include -#endif -#ifndef _V3d_View_HeaderFile -#include -#endif -#ifndef _AIS_InteractiveContext_HeaderFile -#include -#endif -#ifndef _TCollection_AsciiString_HeaderFile -#include -#endif -#ifndef _Quantity_Color_HeaderFile -#include -#endif -#ifndef _SampleAISDisplayModePackage_HeaderFile -#include -#endif diff --git a/samples/java/drv/SampleAISSelectJni/SampleAISSelectJni_AIS_InteractiveContext_java.cxx b/samples/java/drv/SampleAISSelectJni/SampleAISSelectJni_AIS_InteractiveContext_java.cxx deleted file mode 100755 index 374d10fcec..0000000000 --- a/samples/java/drv/SampleAISSelectJni/SampleAISSelectJni_AIS_InteractiveContext_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleAISSelectJni/SampleAISSelectJni_Quantity_Color_java.cxx b/samples/java/drv/SampleAISSelectJni/SampleAISSelectJni_Quantity_Color_java.cxx deleted file mode 100755 index 47cb060b35..0000000000 --- a/samples/java/drv/SampleAISSelectJni/SampleAISSelectJni_Quantity_Color_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleAISSelectJni_Quantity_1Color_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Quantity_Color* theobj = (Quantity_Color*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleAISSelectJni/SampleAISSelectJni_SampleAISSelectPackage_java.cxx b/samples/java/drv/SampleAISSelectJni/SampleAISSelectJni_SampleAISSelectPackage_java.cxx deleted file mode 100755 index 0a5e08382b..0000000000 --- a/samples/java/drv/SampleAISSelectJni/SampleAISSelectJni_SampleAISSelectPackage_java.cxx +++ /dev/null @@ -1,523 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT jobject JNICALL Java_SampleAISSelectJni_SampleAISSelectPackage_CreateViewer (JNIEnv *env, jclass, jstring aName) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Standard_ExtString the_aName = jcas_ConvertToExtString(env,aName); -Handle(V3d_Viewer)* theret = new Handle(V3d_Viewer); -*theret = SampleAISSelectPackage::CreateViewer(the_aName); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/V3d_Viewer",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleAISSelectJni_SampleAISSelectPackage_SetWindow (JNIEnv *env, jclass, jobject aView, jint hiwin, jint lowin) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -SampleAISSelectPackage::SetWindow(the_aView,(Standard_Integer) hiwin,(Standard_Integer) lowin); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleAISSelectJni_SampleAISSelectPackage_DisplayBox (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleAISSelectPackage::DisplayBox(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleAISSelectJni_SampleAISSelectPackage_DisplayCylinder (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleAISSelectPackage::DisplayCylinder(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleAISSelectJni_SampleAISSelectPackage_SelectVertices (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleAISSelectPackage::SelectVertices(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleAISSelectJni_SampleAISSelectPackage_SelectEdges (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleAISSelectPackage::SelectEdges(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleAISSelectJni_SampleAISSelectPackage_SelectFaces (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleAISSelectPackage::SelectFaces(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleAISSelectJni_SampleAISSelectPackage_SelectNeutral (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleAISSelectPackage::SelectNeutral(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_SampleAISSelectJni_SampleAISSelectPackage_MakeFillet (JNIEnv *env, jclass, jobject aContext, jdouble aValue, jobject Message) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if - thejret = SampleAISSelectPackage::MakeFillet(the_aContext,(Standard_Real) aValue,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_SampleAISSelectJni_SampleAISSelectPackage_IsCylinderSelected (JNIEnv *env, jclass, jobject aContext) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - - thejret = SampleAISSelectPackage::IsCylinderSelected(the_aContext); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleAISSelectJni_SampleAISSelectPackage_StartSelectFace (JNIEnv *env, jclass, jobject aContext) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -SampleAISSelectPackage::StartSelectFace(the_aContext); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_SampleAISSelectJni_SampleAISSelectPackage_GetFaceColor (JNIEnv *env, jclass, jobject aContext) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -Quantity_Color* theret = new Quantity_Color(SampleAISSelectPackage::GetFaceColor(the_aContext)); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Quantity_Color",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleAISSelectJni_SampleAISSelectPackage_SetFaceColor (JNIEnv *env, jclass, jobject aContext, jobject aColor, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -Quantity_Color* the_aColor = (Quantity_Color*) jcas_GetHandle(env,aColor); -if ( the_aColor == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aColor = new Quantity_Color (); - // jcas_SetHandle ( env, aColor, the_aColor ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleAISSelectPackage::SetFaceColor(the_aContext,*the_aColor,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleAISSelectJni_SampleAISSelectPackage_EndSelectFace (JNIEnv *env, jclass, jobject aContext) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -SampleAISSelectPackage::EndSelectFace(the_aContext); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - -} diff --git a/samples/java/drv/SampleAISSelectJni/SampleAISSelectJni_TCollection_AsciiString_java.cxx b/samples/java/drv/SampleAISSelectJni/SampleAISSelectJni_TCollection_AsciiString_java.cxx deleted file mode 100755 index b540c5b1f1..0000000000 --- a/samples/java/drv/SampleAISSelectJni/SampleAISSelectJni_TCollection_AsciiString_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleAISSelectJni_TCollection_1AsciiString_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - TCollection_AsciiString* theobj = (TCollection_AsciiString*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleAISSelectJni/SampleAISSelectJni_V3d_View_java.cxx b/samples/java/drv/SampleAISSelectJni/SampleAISSelectJni_V3d_View_java.cxx deleted file mode 100755 index 025d86a015..0000000000 --- a/samples/java/drv/SampleAISSelectJni/SampleAISSelectJni_V3d_View_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleAISSelectJni/SampleAISSelectJni_V3d_Viewer_java.cxx b/samples/java/drv/SampleAISSelectJni/SampleAISSelectJni_V3d_Viewer_java.cxx deleted file mode 100755 index 602d14159e..0000000000 --- a/samples/java/drv/SampleAISSelectJni/SampleAISSelectJni_V3d_Viewer_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleAISSelectJni/SampleAISSelectJni_Viewer_View_java.cxx b/samples/java/drv/SampleAISSelectJni/SampleAISSelectJni_Viewer_View_java.cxx deleted file mode 100755 index 193d066eec..0000000000 --- a/samples/java/drv/SampleAISSelectJni/SampleAISSelectJni_Viewer_View_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleAISSelectJni/SampleAISSelectJni_Viewer_Viewer_java.cxx b/samples/java/drv/SampleAISSelectJni/SampleAISSelectJni_Viewer_Viewer_java.cxx deleted file mode 100755 index d7bd486054..0000000000 --- a/samples/java/drv/SampleAISSelectJni/SampleAISSelectJni_Viewer_Viewer_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleAISSelectPackage/SampleAISSelectPackage.ixx b/samples/java/drv/SampleAISSelectPackage/SampleAISSelectPackage.ixx deleted file mode 100755 index 7b8538ba94..0000000000 --- a/samples/java/drv/SampleAISSelectPackage/SampleAISSelectPackage.ixx +++ /dev/null @@ -1,19 +0,0 @@ -// File generated by CPPExt (Value) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// -#include - - - - diff --git a/samples/java/drv/SampleAISSelectPackage/SampleAISSelectPackage.jxx b/samples/java/drv/SampleAISSelectPackage/SampleAISSelectPackage.jxx deleted file mode 100755 index 011c984e8f..0000000000 --- a/samples/java/drv/SampleAISSelectPackage/SampleAISSelectPackage.jxx +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef _V3d_Viewer_HeaderFile -#include -#endif -#ifndef _V3d_View_HeaderFile -#include -#endif -#ifndef _AIS_InteractiveContext_HeaderFile -#include -#endif -#ifndef _TCollection_AsciiString_HeaderFile -#include -#endif -#ifndef _Quantity_Color_HeaderFile -#include -#endif -#ifndef _SampleAISSelectPackage_HeaderFile -#include -#endif diff --git a/samples/java/drv/SampleDisplayAnimationJni/SampleDisplayAnimationJni_AIS_InteractiveContext_java.cxx b/samples/java/drv/SampleDisplayAnimationJni/SampleDisplayAnimationJni_AIS_InteractiveContext_java.cxx deleted file mode 100755 index 0a04aaa74b..0000000000 --- a/samples/java/drv/SampleDisplayAnimationJni/SampleDisplayAnimationJni_AIS_InteractiveContext_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleDisplayAnimationJni/SampleDisplayAnimationJni_SampleDisplayAnimationPackage_java.cxx b/samples/java/drv/SampleDisplayAnimationJni/SampleDisplayAnimationJni_SampleDisplayAnimationPackage_java.cxx deleted file mode 100755 index 73bd67212c..0000000000 --- a/samples/java/drv/SampleDisplayAnimationJni/SampleDisplayAnimationJni_SampleDisplayAnimationPackage_java.cxx +++ /dev/null @@ -1,276 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT jobject JNICALL Java_SampleDisplayAnimationJni_SampleDisplayAnimationPackage_CreateViewer (JNIEnv *env, jclass, jstring aName) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Standard_ExtString the_aName = jcas_ConvertToExtString(env,aName); -Handle(V3d_Viewer)* theret = new Handle(V3d_Viewer); -*theret = SampleDisplayAnimationPackage::CreateViewer(the_aName); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/V3d_Viewer",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleDisplayAnimationJni_SampleDisplayAnimationPackage_SetWindow (JNIEnv *env, jclass, jobject aView, jint hiwin, jint lowin) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -SampleDisplayAnimationPackage::SetWindow(the_aView,(Standard_Integer) hiwin,(Standard_Integer) lowin); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_SampleDisplayAnimationJni_SampleDisplayAnimationPackage_LoadData (JNIEnv *env, jclass, jobject aContext, jobject aPath) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -Standard_CString the_aPath = jcas_ConvertToCString(env,aPath); - thejret = SampleDisplayAnimationPackage::LoadData(the_aContext,the_aPath); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleDisplayAnimationJni_SampleDisplayAnimationPackage_ChangePosition (JNIEnv *env, jclass, jobject aContext) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -SampleDisplayAnimationPackage::ChangePosition(the_aContext); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jdouble JNICALL Java_SampleDisplayAnimationJni_SampleDisplayAnimationPackage_GetDeviationCoefficient (JNIEnv *env, jclass) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { - thejret = SampleDisplayAnimationPackage::GetDeviationCoefficient(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleDisplayAnimationJni_SampleDisplayAnimationPackage_SetDeviationCoefficient (JNIEnv *env, jclass, jobject aContext, jdouble aValue) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -SampleDisplayAnimationPackage::SetDeviationCoefficient(the_aContext,(Standard_Real) aValue); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_SampleDisplayAnimationJni_SampleDisplayAnimationPackage_GetAngleIncrement (JNIEnv *env, jclass) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { - thejret = SampleDisplayAnimationPackage::GetAngleIncrement(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleDisplayAnimationJni_SampleDisplayAnimationPackage_SetAngleIncrement (JNIEnv *env, jclass, jint aValue) -{ - -jcas_Locking alock(env); -{ -try { -SampleDisplayAnimationPackage::SetAngleIncrement((Standard_Integer) aValue); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_SampleDisplayAnimationJni_SampleDisplayAnimationPackage_SaveImage (JNIEnv *env, jclass, jobject aFileName, jobject aFormat, jobject aView) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aFileName = jcas_ConvertToCString(env,aFileName); -Standard_CString the_aFormat = jcas_ConvertToCString(env,aFormat); - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - - thejret = SampleDisplayAnimationPackage::SaveImage(the_aFileName,the_aFormat,the_aView); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - -} diff --git a/samples/java/drv/SampleDisplayAnimationJni/SampleDisplayAnimationJni_V3d_View_java.cxx b/samples/java/drv/SampleDisplayAnimationJni/SampleDisplayAnimationJni_V3d_View_java.cxx deleted file mode 100755 index 8e11210a8d..0000000000 --- a/samples/java/drv/SampleDisplayAnimationJni/SampleDisplayAnimationJni_V3d_View_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleDisplayAnimationJni/SampleDisplayAnimationJni_V3d_Viewer_java.cxx b/samples/java/drv/SampleDisplayAnimationJni/SampleDisplayAnimationJni_V3d_Viewer_java.cxx deleted file mode 100755 index 3fbd654291..0000000000 --- a/samples/java/drv/SampleDisplayAnimationJni/SampleDisplayAnimationJni_V3d_Viewer_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleDisplayAnimationJni/SampleDisplayAnimationJni_Viewer_View_java.cxx b/samples/java/drv/SampleDisplayAnimationJni/SampleDisplayAnimationJni_Viewer_View_java.cxx deleted file mode 100755 index 4885e12959..0000000000 --- a/samples/java/drv/SampleDisplayAnimationJni/SampleDisplayAnimationJni_Viewer_View_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleDisplayAnimationJni/SampleDisplayAnimationJni_Viewer_Viewer_java.cxx b/samples/java/drv/SampleDisplayAnimationJni/SampleDisplayAnimationJni_Viewer_Viewer_java.cxx deleted file mode 100755 index 1cbff6115a..0000000000 --- a/samples/java/drv/SampleDisplayAnimationJni/SampleDisplayAnimationJni_Viewer_Viewer_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleDisplayAnimationPackage/SampleDisplayAnimationPackage.ixx b/samples/java/drv/SampleDisplayAnimationPackage/SampleDisplayAnimationPackage.ixx deleted file mode 100755 index f84057978b..0000000000 --- a/samples/java/drv/SampleDisplayAnimationPackage/SampleDisplayAnimationPackage.ixx +++ /dev/null @@ -1,19 +0,0 @@ -// File generated by CPPExt (Value) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// -#include - - - - diff --git a/samples/java/drv/SampleDisplayAnimationPackage/SampleDisplayAnimationPackage.jxx b/samples/java/drv/SampleDisplayAnimationPackage/SampleDisplayAnimationPackage.jxx deleted file mode 100755 index cb1d3e455d..0000000000 --- a/samples/java/drv/SampleDisplayAnimationPackage/SampleDisplayAnimationPackage.jxx +++ /dev/null @@ -1,12 +0,0 @@ -#ifndef _V3d_Viewer_HeaderFile -#include -#endif -#ifndef _V3d_View_HeaderFile -#include -#endif -#ifndef _AIS_InteractiveContext_HeaderFile -#include -#endif -#ifndef _SampleDisplayAnimationPackage_HeaderFile -#include -#endif diff --git a/samples/java/drv/SampleGeometryJni/SampleGeometryJni_AIS_InteractiveContext_java.cxx b/samples/java/drv/SampleGeometryJni/SampleGeometryJni_AIS_InteractiveContext_java.cxx deleted file mode 100755 index f70c5b7daf..0000000000 --- a/samples/java/drv/SampleGeometryJni/SampleGeometryJni_AIS_InteractiveContext_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleGeometryJni/SampleGeometryJni_ISession2D_InteractiveContext_java.cxx b/samples/java/drv/SampleGeometryJni/SampleGeometryJni_ISession2D_InteractiveContext_java.cxx deleted file mode 100755 index 682745b721..0000000000 --- a/samples/java/drv/SampleGeometryJni/SampleGeometryJni_ISession2D_InteractiveContext_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleGeometryJni/SampleGeometryJni_SampleGeometryPackage_java.cxx b/samples/java/drv/SampleGeometryJni/SampleGeometryJni_SampleGeometryPackage_java.cxx deleted file mode 100755 index 3ffa8c2295..0000000000 --- a/samples/java/drv/SampleGeometryJni/SampleGeometryJni_SampleGeometryPackage_java.cxx +++ /dev/null @@ -1,2089 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT jobject JNICALL Java_SampleGeometryJni_SampleGeometryPackage_CreateViewer3d (JNIEnv *env, jclass, jstring aName) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Standard_ExtString the_aName = jcas_ConvertToExtString(env,aName); -Handle(V3d_Viewer)* theret = new Handle(V3d_Viewer); -*theret = SampleGeometryPackage::CreateViewer3d(the_aName); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/V3d_Viewer",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_SetWindow3d (JNIEnv *env, jclass, jobject aView, jint hiwin, jint lowin) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -SampleGeometryPackage::SetWindow3d(the_aView,(Standard_Integer) hiwin,(Standard_Integer) lowin); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_SampleGeometryJni_SampleGeometryPackage_CreateViewer2d (JNIEnv *env, jclass, jstring aName) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Standard_ExtString the_aName = jcas_ConvertToExtString(env,aName); -Handle(V2d_Viewer)* theret = new Handle(V2d_Viewer); -*theret = SampleGeometryPackage::CreateViewer2d(the_aName); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/V2d_Viewer",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleGeometryJni_SampleGeometryPackage_CreateView2d (JNIEnv *env, jclass, jobject aViewer, jint hiwin, jint lowin) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { - Handle( V2d_Viewer ) the_aViewer; - void* ptr_aViewer = jcas_GetHandle(env,aViewer); - - if ( ptr_aViewer != NULL ) the_aViewer = *( ( Handle( V2d_Viewer )* )ptr_aViewer ); - -Handle(V2d_View)* theret = new Handle(V2d_View); -*theret = SampleGeometryPackage::CreateView2d(the_aViewer,(Standard_Integer) hiwin,(Standard_Integer) lowin); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/V2d_View",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest1 (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest1(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest2 (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest2(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest3 (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest3(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest4 (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest4(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest5 (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest5(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest6 (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest6(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest7 (JNIEnv *env, jclass, jobject aContext2D, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( ISession2D_InteractiveContext ) the_aContext2D; - void* ptr_aContext2D = jcas_GetHandle(env,aContext2D); - - if ( ptr_aContext2D != NULL ) the_aContext2D = *( ( Handle( ISession2D_InteractiveContext )* )ptr_aContext2D ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest7(the_aContext2D,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest8 (JNIEnv *env, jclass, jobject aContext2D, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( ISession2D_InteractiveContext ) the_aContext2D; - void* ptr_aContext2D = jcas_GetHandle(env,aContext2D); - - if ( ptr_aContext2D != NULL ) the_aContext2D = *( ( Handle( ISession2D_InteractiveContext )* )ptr_aContext2D ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest8(the_aContext2D,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest9 (JNIEnv *env, jclass, jobject aContext2D, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( ISession2D_InteractiveContext ) the_aContext2D; - void* ptr_aContext2D = jcas_GetHandle(env,aContext2D); - - if ( ptr_aContext2D != NULL ) the_aContext2D = *( ( Handle( ISession2D_InteractiveContext )* )ptr_aContext2D ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest9(the_aContext2D,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest10 (JNIEnv *env, jclass, jobject aContext2D, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( ISession2D_InteractiveContext ) the_aContext2D; - void* ptr_aContext2D = jcas_GetHandle(env,aContext2D); - - if ( ptr_aContext2D != NULL ) the_aContext2D = *( ( Handle( ISession2D_InteractiveContext )* )ptr_aContext2D ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest10(the_aContext2D,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest11 (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest11(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest12 (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest12(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest13 (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest13(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest14 (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest14(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest15 (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest15(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest16 (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest16(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest17 (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest17(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest18 (JNIEnv *env, jclass, jobject aContext2D, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( ISession2D_InteractiveContext ) the_aContext2D; - void* ptr_aContext2D = jcas_GetHandle(env,aContext2D); - - if ( ptr_aContext2D != NULL ) the_aContext2D = *( ( Handle( ISession2D_InteractiveContext )* )ptr_aContext2D ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest18(the_aContext2D,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest19 (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest19(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest20 (JNIEnv *env, jclass, jobject aContext2D, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( ISession2D_InteractiveContext ) the_aContext2D; - void* ptr_aContext2D = jcas_GetHandle(env,aContext2D); - - if ( ptr_aContext2D != NULL ) the_aContext2D = *( ( Handle( ISession2D_InteractiveContext )* )ptr_aContext2D ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest20(the_aContext2D,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest21 (JNIEnv *env, jclass, jobject aContext2D, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( ISession2D_InteractiveContext ) the_aContext2D; - void* ptr_aContext2D = jcas_GetHandle(env,aContext2D); - - if ( ptr_aContext2D != NULL ) the_aContext2D = *( ( Handle( ISession2D_InteractiveContext )* )ptr_aContext2D ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest21(the_aContext2D,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest22 (JNIEnv *env, jclass, jobject aContext2D, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( ISession2D_InteractiveContext ) the_aContext2D; - void* ptr_aContext2D = jcas_GetHandle(env,aContext2D); - - if ( ptr_aContext2D != NULL ) the_aContext2D = *( ( Handle( ISession2D_InteractiveContext )* )ptr_aContext2D ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest22(the_aContext2D,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest23 (JNIEnv *env, jclass, jobject aContext2D, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( ISession2D_InteractiveContext ) the_aContext2D; - void* ptr_aContext2D = jcas_GetHandle(env,aContext2D); - - if ( ptr_aContext2D != NULL ) the_aContext2D = *( ( Handle( ISession2D_InteractiveContext )* )ptr_aContext2D ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest23(the_aContext2D,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest24 (JNIEnv *env, jclass, jobject aContext, jobject aContext2D, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - - Handle( ISession2D_InteractiveContext ) the_aContext2D; - void* ptr_aContext2D = jcas_GetHandle(env,aContext2D); - - if ( ptr_aContext2D != NULL ) the_aContext2D = *( ( Handle( ISession2D_InteractiveContext )* )ptr_aContext2D ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest24(the_aContext,the_aContext2D,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest25 (JNIEnv *env, jclass, jobject aContext2D, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( ISession2D_InteractiveContext ) the_aContext2D; - void* ptr_aContext2D = jcas_GetHandle(env,aContext2D); - - if ( ptr_aContext2D != NULL ) the_aContext2D = *( ( Handle( ISession2D_InteractiveContext )* )ptr_aContext2D ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest25(the_aContext2D,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest26 (JNIEnv *env, jclass, jobject aContext2D, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( ISession2D_InteractiveContext ) the_aContext2D; - void* ptr_aContext2D = jcas_GetHandle(env,aContext2D); - - if ( ptr_aContext2D != NULL ) the_aContext2D = *( ( Handle( ISession2D_InteractiveContext )* )ptr_aContext2D ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest26(the_aContext2D,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest27 (JNIEnv *env, jclass, jobject aContext2D, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( ISession2D_InteractiveContext ) the_aContext2D; - void* ptr_aContext2D = jcas_GetHandle(env,aContext2D); - - if ( ptr_aContext2D != NULL ) the_aContext2D = *( ( Handle( ISession2D_InteractiveContext )* )ptr_aContext2D ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest27(the_aContext2D,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest28 (JNIEnv *env, jclass, jobject aContext2D, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( ISession2D_InteractiveContext ) the_aContext2D; - void* ptr_aContext2D = jcas_GetHandle(env,aContext2D); - - if ( ptr_aContext2D != NULL ) the_aContext2D = *( ( Handle( ISession2D_InteractiveContext )* )ptr_aContext2D ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest28(the_aContext2D,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest29 (JNIEnv *env, jclass, jobject aContext2D, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( ISession2D_InteractiveContext ) the_aContext2D; - void* ptr_aContext2D = jcas_GetHandle(env,aContext2D); - - if ( ptr_aContext2D != NULL ) the_aContext2D = *( ( Handle( ISession2D_InteractiveContext )* )ptr_aContext2D ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest29(the_aContext2D,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest30 (JNIEnv *env, jclass, jobject aContext2D, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( ISession2D_InteractiveContext ) the_aContext2D; - void* ptr_aContext2D = jcas_GetHandle(env,aContext2D); - - if ( ptr_aContext2D != NULL ) the_aContext2D = *( ( Handle( ISession2D_InteractiveContext )* )ptr_aContext2D ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest30(the_aContext2D,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest31 (JNIEnv *env, jclass, jobject aContext2D, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( ISession2D_InteractiveContext ) the_aContext2D; - void* ptr_aContext2D = jcas_GetHandle(env,aContext2D); - - if ( ptr_aContext2D != NULL ) the_aContext2D = *( ( Handle( ISession2D_InteractiveContext )* )ptr_aContext2D ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest31(the_aContext2D,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest32 (JNIEnv *env, jclass, jobject aContext2D, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( ISession2D_InteractiveContext ) the_aContext2D; - void* ptr_aContext2D = jcas_GetHandle(env,aContext2D); - - if ( ptr_aContext2D != NULL ) the_aContext2D = *( ( Handle( ISession2D_InteractiveContext )* )ptr_aContext2D ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest32(the_aContext2D,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest33 (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest33(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest34 (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest34(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest35 (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest35(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest36 (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest36(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest37 (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest37(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest38 (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest38(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest39 (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest39(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest40 (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest40(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest41 (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest41(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest42 (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest42(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest43 (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest43(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest44 (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest44(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest45 (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest45(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest46 (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest46(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest47 (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest47(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest48 (JNIEnv *env, jclass, jobject aContext2D, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( ISession2D_InteractiveContext ) the_aContext2D; - void* ptr_aContext2D = jcas_GetHandle(env,aContext2D); - - if ( ptr_aContext2D != NULL ) the_aContext2D = *( ( Handle( ISession2D_InteractiveContext )* )ptr_aContext2D ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest48(the_aContext2D,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest49 (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest49(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest50 (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleGeometryPackage::gpTest50(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_SampleGeometryJni_SampleGeometryPackage_SaveImage (JNIEnv *env, jclass, jobject aFileName, jobject aFormat, jobject aView) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aFileName = jcas_ConvertToCString(env,aFileName); -Standard_CString the_aFormat = jcas_ConvertToCString(env,aFormat); - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - - thejret = SampleGeometryPackage::SaveImage(the_aFileName,the_aFormat,the_aView); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - -} diff --git a/samples/java/drv/SampleGeometryJni/SampleGeometryJni_TCollection_AsciiString_java.cxx b/samples/java/drv/SampleGeometryJni/SampleGeometryJni_TCollection_AsciiString_java.cxx deleted file mode 100755 index 4da73dbe7d..0000000000 --- a/samples/java/drv/SampleGeometryJni/SampleGeometryJni_TCollection_AsciiString_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleGeometryJni_TCollection_1AsciiString_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - TCollection_AsciiString* theobj = (TCollection_AsciiString*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleGeometryJni/SampleGeometryJni_V2d_View_java.cxx b/samples/java/drv/SampleGeometryJni/SampleGeometryJni_V2d_View_java.cxx deleted file mode 100755 index 20a8b734cf..0000000000 --- a/samples/java/drv/SampleGeometryJni/SampleGeometryJni_V2d_View_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleGeometryJni/SampleGeometryJni_V2d_Viewer_java.cxx b/samples/java/drv/SampleGeometryJni/SampleGeometryJni_V2d_Viewer_java.cxx deleted file mode 100755 index 0be5622f87..0000000000 --- a/samples/java/drv/SampleGeometryJni/SampleGeometryJni_V2d_Viewer_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleGeometryJni/SampleGeometryJni_V3d_View_java.cxx b/samples/java/drv/SampleGeometryJni/SampleGeometryJni_V3d_View_java.cxx deleted file mode 100755 index 6831645da4..0000000000 --- a/samples/java/drv/SampleGeometryJni/SampleGeometryJni_V3d_View_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleGeometryJni/SampleGeometryJni_V3d_Viewer_java.cxx b/samples/java/drv/SampleGeometryJni/SampleGeometryJni_V3d_Viewer_java.cxx deleted file mode 100755 index 068c1ddd46..0000000000 --- a/samples/java/drv/SampleGeometryJni/SampleGeometryJni_V3d_Viewer_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleGeometryJni/SampleGeometryJni_Viewer_View_java.cxx b/samples/java/drv/SampleGeometryJni/SampleGeometryJni_Viewer_View_java.cxx deleted file mode 100755 index b4d3676efb..0000000000 --- a/samples/java/drv/SampleGeometryJni/SampleGeometryJni_Viewer_View_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleGeometryJni/SampleGeometryJni_Viewer_Viewer_java.cxx b/samples/java/drv/SampleGeometryJni/SampleGeometryJni_Viewer_Viewer_java.cxx deleted file mode 100755 index 609697c9d6..0000000000 --- a/samples/java/drv/SampleGeometryJni/SampleGeometryJni_Viewer_Viewer_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleGeometryPackage/SampleGeometryPackage.ixx b/samples/java/drv/SampleGeometryPackage/SampleGeometryPackage.ixx deleted file mode 100755 index c142514e81..0000000000 --- a/samples/java/drv/SampleGeometryPackage/SampleGeometryPackage.ixx +++ /dev/null @@ -1,19 +0,0 @@ -// File generated by CPPExt (Value) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// -#include - - - - diff --git a/samples/java/drv/SampleGeometryPackage/SampleGeometryPackage.jxx b/samples/java/drv/SampleGeometryPackage/SampleGeometryPackage.jxx deleted file mode 100755 index 2f68cd8155..0000000000 --- a/samples/java/drv/SampleGeometryPackage/SampleGeometryPackage.jxx +++ /dev/null @@ -1,24 +0,0 @@ -#ifndef _V3d_Viewer_HeaderFile -#include -#endif -#ifndef _V3d_View_HeaderFile -#include -#endif -#ifndef _V2d_Viewer_HeaderFile -#include -#endif -#ifndef _V2d_View_HeaderFile -#include -#endif -#ifndef _AIS_InteractiveContext_HeaderFile -#include -#endif -#ifndef _TCollection_AsciiString_HeaderFile -#include -#endif -#ifndef _ISession2D_InteractiveContext_HeaderFile -#include -#endif -#ifndef _SampleGeometryPackage_HeaderFile -#include -#endif diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_AIS_InteractiveContext_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_AIS_InteractiveContext_java.cxx deleted file mode 100755 index 3d7da13c00..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_AIS_InteractiveContext_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_Background_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_Background_java.cxx deleted file mode 100755 index 4cd13ef7c6..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_Background_java.cxx +++ /dev/null @@ -1,160 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Background_Aspect_1Background_1Create_11 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_Background* theret = new Aspect_Background(); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Background_Aspect_1Background_1Create_12 (JNIEnv *env, jobject theobj, jobject AColor) -{ - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_AColor = (Quantity_Color*) jcas_GetHandle(env,AColor); -if ( the_AColor == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_AColor = new Quantity_Color (); - // jcas_SetHandle ( env, AColor, the_AColor ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_Background* theret = new Aspect_Background(*the_AColor); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Background_SetColor (JNIEnv *env, jobject theobj, jobject AColor) -{ - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_AColor = (Quantity_Color*) jcas_GetHandle(env,AColor); -if ( the_AColor == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_AColor = new Quantity_Color (); - // jcas_SetHandle ( env, AColor, the_AColor ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_Background* the_this = (Aspect_Background*) jcas_GetHandle(env,theobj); -the_this->SetColor(*the_AColor); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1Background_Color (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_Background* the_this = (Aspect_Background*) jcas_GetHandle(env,theobj); -Quantity_Color* theret = new Quantity_Color(the_this->Color()); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Quantity_Color",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Background_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Aspect_Background* theobj = (Aspect_Background*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_ColorCubeColorMap_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_ColorCubeColorMap_java.cxx deleted file mode 100755 index 189394c5ce..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_ColorCubeColorMap_java.cxx +++ /dev/null @@ -1,252 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1ColorCubeColorMap_Aspect_1ColorCubeColorMap_1Create_10 (JNIEnv *env, jobject theobj, jint base_pixel, jint redmax, jint redmult, jint greenmax, jint greenmult, jint bluemax, jint bluemult) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_ColorCubeColorMap)* theret = new Handle(Aspect_ColorCubeColorMap); -*theret = new Aspect_ColorCubeColorMap((Standard_Integer) base_pixel,(Standard_Integer) redmax,(Standard_Integer) redmult,(Standard_Integer) greenmax,(Standard_Integer) greenmult,(Standard_Integer) bluemax,(Standard_Integer) bluemult); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1ColorCubeColorMap_ColorCubeDefinition (JNIEnv *env, jobject theobj, jobject base_pixel, jobject redmax, jobject redmult, jobject greenmax, jobject greenmult, jobject bluemax, jobject bluemult) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Integer the_base_pixel = jcas_GetInteger(env,base_pixel); -Standard_Integer the_redmax = jcas_GetInteger(env,redmax); -Standard_Integer the_redmult = jcas_GetInteger(env,redmult); -Standard_Integer the_greenmax = jcas_GetInteger(env,greenmax); -Standard_Integer the_greenmult = jcas_GetInteger(env,greenmult); -Standard_Integer the_bluemax = jcas_GetInteger(env,bluemax); -Standard_Integer the_bluemult = jcas_GetInteger(env,bluemult); -Handle(Aspect_ColorCubeColorMap) the_this = *((Handle(Aspect_ColorCubeColorMap)*) jcas_GetHandle(env,theobj)); -the_this->ColorCubeDefinition(the_base_pixel,the_redmax,the_redmult,the_greenmax,the_greenmult,the_bluemax,the_bluemult); -jcas_SetInteger(env,base_pixel,the_base_pixel); -jcas_SetInteger(env,redmax,the_redmax); -jcas_SetInteger(env,redmult,the_redmult); -jcas_SetInteger(env,greenmax,the_greenmax); -jcas_SetInteger(env,greenmult,the_greenmult); -jcas_SetInteger(env,bluemax,the_bluemax); -jcas_SetInteger(env,bluemult,the_bluemult); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1ColorCubeColorMap_FindColorMapIndex (JNIEnv *env, jobject theobj, jint AColorMapEntryIndex) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_ColorCubeColorMap) the_this = *((Handle(Aspect_ColorCubeColorMap)*) jcas_GetHandle(env,theobj)); - thejret = the_this->FindColorMapIndex((Standard_Integer) AColorMapEntryIndex); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1ColorCubeColorMap_FindEntry (JNIEnv *env, jobject theobj, jint AColorMapEntryIndex) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_ColorCubeColorMap) the_this = *((Handle(Aspect_ColorCubeColorMap)*) jcas_GetHandle(env,theobj)); -const Aspect_ColorMapEntry& theret = the_this->FindEntry((Standard_Integer) AColorMapEntryIndex); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_ColorMapEntry",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1ColorCubeColorMap_NearestColorMapIndex (JNIEnv *env, jobject theobj, jobject aColor) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_aColor = (Quantity_Color*) jcas_GetHandle(env,aColor); -if ( the_aColor == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aColor = new Quantity_Color (); - // jcas_SetHandle ( env, aColor, the_aColor ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(Aspect_ColorCubeColorMap) the_this = *((Handle(Aspect_ColorCubeColorMap)*) jcas_GetHandle(env,theobj)); - thejret = the_this->NearestColorMapIndex(*the_aColor); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1ColorCubeColorMap_NearestEntry (JNIEnv *env, jobject theobj, jobject aColor) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_aColor = (Quantity_Color*) jcas_GetHandle(env,aColor); -if ( the_aColor == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aColor = new Quantity_Color (); - // jcas_SetHandle ( env, aColor, the_aColor ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(Aspect_ColorCubeColorMap) the_this = *((Handle(Aspect_ColorCubeColorMap)*) jcas_GetHandle(env,theobj)); -const Aspect_ColorMapEntry& theret = the_this->NearestEntry(*the_aColor); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_ColorMapEntry",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1ColorCubeColorMap_AddEntry (JNIEnv *env, jobject theobj, jobject aColor) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_aColor = (Quantity_Color*) jcas_GetHandle(env,aColor); -if ( the_aColor == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aColor = new Quantity_Color (); - // jcas_SetHandle ( env, aColor, the_aColor ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(Aspect_ColorCubeColorMap) the_this = *((Handle(Aspect_ColorCubeColorMap)*) jcas_GetHandle(env,theobj)); - thejret = the_this->AddEntry(*the_aColor); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_ColorMapEntry_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_ColorMapEntry_java.cxx deleted file mode 100755 index 3af7e61df8..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_ColorMapEntry_java.cxx +++ /dev/null @@ -1,381 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1ColorMapEntry_Aspect_1ColorMapEntry_1Create_11 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_ColorMapEntry* theret = new Aspect_ColorMapEntry(); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1ColorMapEntry_Aspect_1ColorMapEntry_1Create_12 (JNIEnv *env, jobject theobj, jint index, jobject rgb) -{ - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_rgb = (Quantity_Color*) jcas_GetHandle(env,rgb); -if ( the_rgb == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_rgb = new Quantity_Color (); - // jcas_SetHandle ( env, rgb, the_rgb ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_ColorMapEntry* theret = new Aspect_ColorMapEntry((Standard_Integer) index,*the_rgb); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1ColorMapEntry_Aspect_1ColorMapEntry_1Create_13 (JNIEnv *env, jobject theobj, jobject entry) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_ColorMapEntry* the_entry = (Aspect_ColorMapEntry*) jcas_GetHandle(env,entry); -if ( the_entry == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_entry = new Aspect_ColorMapEntry (); - // jcas_SetHandle ( env, entry, the_entry ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_ColorMapEntry* theret = new Aspect_ColorMapEntry(*the_entry); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1ColorMapEntry_Aspect_1ColorMapEntry_1SetValue_11 (JNIEnv *env, jobject theobj, jint index, jobject rgb) -{ - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_rgb = (Quantity_Color*) jcas_GetHandle(env,rgb); -if ( the_rgb == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_rgb = new Quantity_Color (); - // jcas_SetHandle ( env, rgb, the_rgb ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_ColorMapEntry* the_this = (Aspect_ColorMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetValue((Standard_Integer) index,*the_rgb); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1ColorMapEntry_Aspect_1ColorMapEntry_1SetValue_12 (JNIEnv *env, jobject theobj, jobject entry) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_ColorMapEntry* the_entry = (Aspect_ColorMapEntry*) jcas_GetHandle(env,entry); -if ( the_entry == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_entry = new Aspect_ColorMapEntry (); - // jcas_SetHandle ( env, entry, the_entry ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_ColorMapEntry* the_this = (Aspect_ColorMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetValue(*the_entry); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1ColorMapEntry_SetColor (JNIEnv *env, jobject theobj, jobject rgb) -{ - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_rgb = (Quantity_Color*) jcas_GetHandle(env,rgb); -if ( the_rgb == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_rgb = new Quantity_Color (); - // jcas_SetHandle ( env, rgb, the_rgb ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_ColorMapEntry* the_this = (Aspect_ColorMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetColor(*the_rgb); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1ColorMapEntry_Color (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_ColorMapEntry* the_this = (Aspect_ColorMapEntry*) jcas_GetHandle(env,theobj); -const Quantity_Color& theret = the_this->Color(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Quantity_Color",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1ColorMapEntry_SetIndex (JNIEnv *env, jobject theobj, jint index) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_ColorMapEntry* the_this = (Aspect_ColorMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetIndex((Standard_Integer) index); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1ColorMapEntry_Index (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_ColorMapEntry* the_this = (Aspect_ColorMapEntry*) jcas_GetHandle(env,theobj); - thejret = the_this->Index(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1ColorMapEntry_Free (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_ColorMapEntry* the_this = (Aspect_ColorMapEntry*) jcas_GetHandle(env,theobj); -the_this->Free(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1ColorMapEntry_IsAllocated (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_ColorMapEntry* the_this = (Aspect_ColorMapEntry*) jcas_GetHandle(env,theobj); - thejret = the_this->IsAllocated(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1ColorMapEntry_Dump (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_ColorMapEntry* the_this = (Aspect_ColorMapEntry*) jcas_GetHandle(env,theobj); -the_this->Dump(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1ColorMapEntry_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Aspect_ColorMapEntry* theobj = (Aspect_ColorMapEntry*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_ColorMap_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_ColorMap_java.cxx deleted file mode 100755 index e47f7bc80d..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_ColorMap_java.cxx +++ /dev/null @@ -1,312 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT jshort JNICALL Java_SampleHLRJni_Aspect_1ColorMap_Type (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_ColorMap) the_this = *((Handle(Aspect_ColorMap)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Type(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1ColorMap_Size (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_ColorMap) the_this = *((Handle(Aspect_ColorMap)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Size(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1ColorMap_Index (JNIEnv *env, jobject theobj, jint aColormapIndex) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_ColorMap) the_this = *((Handle(Aspect_ColorMap)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Index((Standard_Integer) aColormapIndex); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1ColorMap_Dump (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_ColorMap) the_this = *((Handle(Aspect_ColorMap)*) jcas_GetHandle(env,theobj)); -the_this->Dump(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1ColorMap_Entry (JNIEnv *env, jobject theobj, jint AColorMapIndex) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_ColorMap) the_this = *((Handle(Aspect_ColorMap)*) jcas_GetHandle(env,theobj)); -const Aspect_ColorMapEntry& theret = the_this->Entry((Standard_Integer) AColorMapIndex); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_ColorMapEntry",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1ColorMap_FindColorMapIndex (JNIEnv *env, jobject theobj, jint AColorMapEntryIndex) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_ColorMap) the_this = *((Handle(Aspect_ColorMap)*) jcas_GetHandle(env,theobj)); - thejret = the_this->FindColorMapIndex((Standard_Integer) AColorMapEntryIndex); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1ColorMap_FindEntry (JNIEnv *env, jobject theobj, jint AColorMapEntryIndex) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_ColorMap) the_this = *((Handle(Aspect_ColorMap)*) jcas_GetHandle(env,theobj)); -const Aspect_ColorMapEntry& theret = the_this->FindEntry((Standard_Integer) AColorMapEntryIndex); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_ColorMapEntry",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1ColorMap_NearestColorMapIndex (JNIEnv *env, jobject theobj, jobject aColor) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_aColor = (Quantity_Color*) jcas_GetHandle(env,aColor); -if ( the_aColor == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aColor = new Quantity_Color (); - // jcas_SetHandle ( env, aColor, the_aColor ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(Aspect_ColorMap) the_this = *((Handle(Aspect_ColorMap)*) jcas_GetHandle(env,theobj)); - thejret = the_this->NearestColorMapIndex(*the_aColor); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1ColorMap_NearestEntry (JNIEnv *env, jobject theobj, jobject aColor) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_aColor = (Quantity_Color*) jcas_GetHandle(env,aColor); -if ( the_aColor == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aColor = new Quantity_Color (); - // jcas_SetHandle ( env, aColor, the_aColor ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(Aspect_ColorMap) the_this = *((Handle(Aspect_ColorMap)*) jcas_GetHandle(env,theobj)); -const Aspect_ColorMapEntry& theret = the_this->NearestEntry(*the_aColor); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_ColorMapEntry",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1ColorMap_AddEntry (JNIEnv *env, jobject theobj, jobject aColor) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_aColor = (Quantity_Color*) jcas_GetHandle(env,aColor); -if ( the_aColor == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aColor = new Quantity_Color (); - // jcas_SetHandle ( env, aColor, the_aColor ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(Aspect_ColorMap) the_this = *((Handle(Aspect_ColorMap)*) jcas_GetHandle(env,theobj)); - thejret = the_this->AddEntry(*the_aColor); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_ColorRampColorMap_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_ColorRampColorMap_java.cxx deleted file mode 100755 index 3b3f4d42c0..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_ColorRampColorMap_java.cxx +++ /dev/null @@ -1,289 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1ColorRampColorMap_Aspect_1ColorRampColorMap_1Create_11 (JNIEnv *env, jobject theobj, jint basepixel, jint dimension, jobject color) -{ - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_color = (Quantity_Color*) jcas_GetHandle(env,color); -if ( the_color == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_color = new Quantity_Color (); - // jcas_SetHandle ( env, color, the_color ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(Aspect_ColorRampColorMap)* theret = new Handle(Aspect_ColorRampColorMap); -*theret = new Aspect_ColorRampColorMap((Standard_Integer) basepixel,(Standard_Integer) dimension,*the_color); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1ColorRampColorMap_Aspect_1ColorRampColorMap_1Create_12 (JNIEnv *env, jobject theobj, jint basepixel, jint dimension, jshort colorName) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_ColorRampColorMap)* theret = new Handle(Aspect_ColorRampColorMap); -*theret = new Aspect_ColorRampColorMap((Standard_Integer) basepixel,(Standard_Integer) dimension,(Quantity_NameOfColor) colorName); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1ColorRampColorMap_ColorRampDefinition (JNIEnv *env, jobject theobj, jobject basepixel, jobject dimension, jobject color) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Integer the_basepixel = jcas_GetInteger(env,basepixel); -Standard_Integer the_dimension = jcas_GetInteger(env,dimension); -Quantity_Color* the_color = (Quantity_Color*) jcas_GetHandle(env,color); -if ( the_color == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_color = new Quantity_Color (); - // jcas_SetHandle ( env, color, the_color ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(Aspect_ColorRampColorMap) the_this = *((Handle(Aspect_ColorRampColorMap)*) jcas_GetHandle(env,theobj)); -the_this->ColorRampDefinition(the_basepixel,the_dimension,*the_color); -jcas_SetInteger(env,basepixel,the_basepixel); -jcas_SetInteger(env,dimension,the_dimension); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1ColorRampColorMap_FindColorMapIndex (JNIEnv *env, jobject theobj, jint ColorMapEntryIndex) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_ColorRampColorMap) the_this = *((Handle(Aspect_ColorRampColorMap)*) jcas_GetHandle(env,theobj)); - thejret = the_this->FindColorMapIndex((Standard_Integer) ColorMapEntryIndex); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1ColorRampColorMap_FindEntry (JNIEnv *env, jobject theobj, jint AColorMapEntryIndex) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_ColorRampColorMap) the_this = *((Handle(Aspect_ColorRampColorMap)*) jcas_GetHandle(env,theobj)); -const Aspect_ColorMapEntry& theret = the_this->FindEntry((Standard_Integer) AColorMapEntryIndex); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_ColorMapEntry",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1ColorRampColorMap_NearestColorMapIndex (JNIEnv *env, jobject theobj, jobject aColor) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_aColor = (Quantity_Color*) jcas_GetHandle(env,aColor); -if ( the_aColor == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aColor = new Quantity_Color (); - // jcas_SetHandle ( env, aColor, the_aColor ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(Aspect_ColorRampColorMap) the_this = *((Handle(Aspect_ColorRampColorMap)*) jcas_GetHandle(env,theobj)); - thejret = the_this->NearestColorMapIndex(*the_aColor); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1ColorRampColorMap_NearestEntry (JNIEnv *env, jobject theobj, jobject aColor) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_aColor = (Quantity_Color*) jcas_GetHandle(env,aColor); -if ( the_aColor == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aColor = new Quantity_Color (); - // jcas_SetHandle ( env, aColor, the_aColor ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(Aspect_ColorRampColorMap) the_this = *((Handle(Aspect_ColorRampColorMap)*) jcas_GetHandle(env,theobj)); -const Aspect_ColorMapEntry& theret = the_this->NearestEntry(*the_aColor); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_ColorMapEntry",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1ColorRampColorMap_AddEntry (JNIEnv *env, jobject theobj, jobject aColor) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_aColor = (Quantity_Color*) jcas_GetHandle(env,aColor); -if ( the_aColor == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aColor = new Quantity_Color (); - // jcas_SetHandle ( env, aColor, the_aColor ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(Aspect_ColorRampColorMap) the_this = *((Handle(Aspect_ColorRampColorMap)*) jcas_GetHandle(env,theobj)); - thejret = the_this->AddEntry(*the_aColor); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_Driver_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_Driver_java.cxx deleted file mode 100755 index de047df615..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_Driver_java.cxx +++ /dev/null @@ -1,1229 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_EndDraw (JNIEnv *env, jobject theobj, jboolean Synchronize) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->EndDraw((Standard_Boolean) Synchronize); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_SetColorMap (JNIEnv *env, jobject theobj, jobject aColorMap) -{ - -jcas_Locking alock(env); -{ -try { - Handle( Aspect_ColorMap ) the_aColorMap; - void* ptr_aColorMap = jcas_GetHandle(env,aColorMap); - - if ( ptr_aColorMap != NULL ) the_aColorMap = *( ( Handle( Aspect_ColorMap )* )ptr_aColorMap ); - -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->SetColorMap(the_aColorMap); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_SetTypeMap (JNIEnv *env, jobject theobj, jobject aTypeMap) -{ - -jcas_Locking alock(env); -{ -try { - Handle( Aspect_TypeMap ) the_aTypeMap; - void* ptr_aTypeMap = jcas_GetHandle(env,aTypeMap); - - if ( ptr_aTypeMap != NULL ) the_aTypeMap = *( ( Handle( Aspect_TypeMap )* )ptr_aTypeMap ); - -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->SetTypeMap(the_aTypeMap); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_SetWidthMap (JNIEnv *env, jobject theobj, jobject aWidthMap) -{ - -jcas_Locking alock(env); -{ -try { - Handle( Aspect_WidthMap ) the_aWidthMap; - void* ptr_aWidthMap = jcas_GetHandle(env,aWidthMap); - - if ( ptr_aWidthMap != NULL ) the_aWidthMap = *( ( Handle( Aspect_WidthMap )* )ptr_aWidthMap ); - -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->SetWidthMap(the_aWidthMap); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_SetFontMap (JNIEnv *env, jobject theobj, jobject aFontMap, jboolean useMFT) -{ - -jcas_Locking alock(env); -{ -try { - Handle( Aspect_FontMap ) the_aFontMap; - void* ptr_aFontMap = jcas_GetHandle(env,aFontMap); - - if ( ptr_aFontMap != NULL ) the_aFontMap = *( ( Handle( Aspect_FontMap )* )ptr_aFontMap ); - -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->SetFontMap(the_aFontMap,(Standard_Boolean) useMFT); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_SetMarkMap (JNIEnv *env, jobject theobj, jobject aMarkMap) -{ - -jcas_Locking alock(env); -{ -try { - Handle( Aspect_MarkMap ) the_aMarkMap; - void* ptr_aMarkMap = jcas_GetHandle(env,aMarkMap); - - if ( ptr_aMarkMap != NULL ) the_aMarkMap = *( ( Handle( Aspect_MarkMap )* )ptr_aMarkMap ); - -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->SetMarkMap(the_aMarkMap); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_SetLineAttrib (JNIEnv *env, jobject theobj, jint ColorIndex, jint TypeIndex, jint WidthIndex) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->SetLineAttrib((Standard_Integer) ColorIndex,(Standard_Integer) TypeIndex,(Standard_Integer) WidthIndex); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_Aspect_1Driver_1SetTextAttrib_11 (JNIEnv *env, jobject theobj, jint ColorIndex, jint FontIndex) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->SetTextAttrib((Standard_Integer) ColorIndex,(Standard_Integer) FontIndex); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_Aspect_1Driver_1SetTextAttrib_12 (JNIEnv *env, jobject theobj, jint ColorIndex, jint FontIndex, jdouble aSlant, jdouble aHScale, jdouble aWScale, jboolean isUnderlined) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->SetTextAttrib((Standard_Integer) ColorIndex,(Standard_Integer) FontIndex,(Quantity_PlaneAngle) aSlant,(Quantity_Factor) aHScale,(Quantity_Factor) aWScale,(Standard_Boolean) isUnderlined); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_SetPolyAttrib (JNIEnv *env, jobject theobj, jint ColorIndex, jint TileIndex, jboolean DrawEdge) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->SetPolyAttrib((Standard_Integer) ColorIndex,(Standard_Integer) TileIndex,(Standard_Boolean) DrawEdge); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_SetMarkerAttrib (JNIEnv *env, jobject theobj, jint ColorIndex, jint WidthIndex, jboolean FillMarker) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->SetMarkerAttrib((Standard_Integer) ColorIndex,(Standard_Integer) WidthIndex,(Standard_Boolean) FillMarker); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1Driver_IsKnownImage (JNIEnv *env, jobject theobj, jobject anImage) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { - Handle( Standard_Transient ) the_anImage; - void* ptr_anImage = jcas_GetHandle(env,anImage); - - if ( ptr_anImage != NULL ) the_anImage = *( ( Handle( Standard_Transient )* )ptr_anImage ); - -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IsKnownImage(the_anImage); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1Driver_SizeOfImageFile (JNIEnv *env, jobject theobj, jobject anImageFile, jobject aWidth, jobject aHeight) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_anImageFile = jcas_ConvertToCString(env,anImageFile); -Standard_Integer the_aWidth = jcas_GetInteger(env,aWidth); -Standard_Integer the_aHeight = jcas_GetInteger(env,aHeight); -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); - thejret = the_this->SizeOfImageFile(the_anImageFile,the_aWidth,the_aHeight); -jcas_SetInteger(env,aWidth,the_aWidth); -jcas_SetInteger(env,aHeight,the_aHeight); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_ClearImage (JNIEnv *env, jobject theobj, jobject anImageId) -{ - -jcas_Locking alock(env); -{ -try { - Handle( Standard_Transient ) the_anImageId; - void* ptr_anImageId = jcas_GetHandle(env,anImageId); - - if ( ptr_anImageId != NULL ) the_anImageId = *( ( Handle( Standard_Transient )* )ptr_anImageId ); - -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->ClearImage(the_anImageId); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_ClearImageFile (JNIEnv *env, jobject theobj, jobject anImageFile) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_anImageFile = jcas_ConvertToCString(env,anImageFile); -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->ClearImageFile(the_anImageFile); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_DrawImage (JNIEnv *env, jobject theobj, jobject anImageId, jfloat aX, jfloat aY) -{ - -jcas_Locking alock(env); -{ -try { - Handle( Standard_Transient ) the_anImageId; - void* ptr_anImageId = jcas_GetHandle(env,anImageId); - - if ( ptr_anImageId != NULL ) the_anImageId = *( ( Handle( Standard_Transient )* )ptr_anImageId ); - -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->DrawImage(the_anImageId,(Standard_ShortReal) aX,(Standard_ShortReal) aY); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_DrawImageFile (JNIEnv *env, jobject theobj, jobject anImageFile, jfloat aX, jfloat aY, jdouble aScale) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_anImageFile = jcas_ConvertToCString(env,anImageFile); -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->DrawImageFile(the_anImageFile,(Standard_ShortReal) aX,(Standard_ShortReal) aY,(Quantity_Factor) aScale); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_DrawPolyline (JNIEnv *env, jobject theobj, jobject aListX, jobject aListY) -{ - -jcas_Locking alock(env); -{ -try { -TShort_Array1OfShortReal* the_aListX = (TShort_Array1OfShortReal*) jcas_GetHandle(env,aListX); -if ( the_aListX == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aListX = new TShort_Array1OfShortReal (); - // jcas_SetHandle ( env, aListX, the_aListX ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TShort_Array1OfShortReal* the_aListY = (TShort_Array1OfShortReal*) jcas_GetHandle(env,aListY); -if ( the_aListY == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aListY = new TShort_Array1OfShortReal (); - // jcas_SetHandle ( env, aListY, the_aListY ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->DrawPolyline(*the_aListX,*the_aListY); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_DrawPolygon (JNIEnv *env, jobject theobj, jobject aListX, jobject aListY) -{ - -jcas_Locking alock(env); -{ -try { -TShort_Array1OfShortReal* the_aListX = (TShort_Array1OfShortReal*) jcas_GetHandle(env,aListX); -if ( the_aListX == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aListX = new TShort_Array1OfShortReal (); - // jcas_SetHandle ( env, aListX, the_aListX ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TShort_Array1OfShortReal* the_aListY = (TShort_Array1OfShortReal*) jcas_GetHandle(env,aListY); -if ( the_aListY == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aListY = new TShort_Array1OfShortReal (); - // jcas_SetHandle ( env, aListY, the_aListY ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->DrawPolygon(*the_aListX,*the_aListY); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_DrawSegment (JNIEnv *env, jobject theobj, jfloat X1, jfloat Y1, jfloat X2, jfloat Y2) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->DrawSegment((Standard_ShortReal) X1,(Standard_ShortReal) Y1,(Standard_ShortReal) X2,(Standard_ShortReal) Y2); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_DrawText (JNIEnv *env, jobject theobj, jobject aText, jfloat Xpos, jfloat Ypos, jfloat anAngle, jshort aType) -{ - -jcas_Locking alock(env); -{ -try { -TCollection_ExtendedString* the_aText = (TCollection_ExtendedString*) jcas_GetHandle(env,aText); -if ( the_aText == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aText = new TCollection_ExtendedString (); - // jcas_SetHandle ( env, aText, the_aText ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->DrawText(*the_aText,(Standard_ShortReal) Xpos,(Standard_ShortReal) Ypos,(Standard_ShortReal) anAngle,(Aspect_TypeOfText) aType); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_DrawPolyText (JNIEnv *env, jobject theobj, jobject aText, jfloat Xpos, jfloat Ypos, jdouble aMarge, jfloat anAngle, jshort aType) -{ - -jcas_Locking alock(env); -{ -try { -TCollection_ExtendedString* the_aText = (TCollection_ExtendedString*) jcas_GetHandle(env,aText); -if ( the_aText == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aText = new TCollection_ExtendedString (); - // jcas_SetHandle ( env, aText, the_aText ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->DrawPolyText(*the_aText,(Standard_ShortReal) Xpos,(Standard_ShortReal) Ypos,(Quantity_Ratio) aMarge,(Standard_ShortReal) anAngle,(Aspect_TypeOfText) aType); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_DrawPoint (JNIEnv *env, jobject theobj, jfloat X, jfloat Y) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->DrawPoint((Standard_ShortReal) X,(Standard_ShortReal) Y); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_DrawMarker (JNIEnv *env, jobject theobj, jint aMarker, jfloat Xpos, jfloat Ypos, jfloat Width, jfloat Height, jfloat Angle) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->DrawMarker((Standard_Integer) aMarker,(Standard_ShortReal) Xpos,(Standard_ShortReal) Ypos,(Standard_ShortReal) Width,(Standard_ShortReal) Height,(Standard_ShortReal) Angle); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1Driver_DrawArc (JNIEnv *env, jobject theobj, jfloat X, jfloat Y, jfloat anXradius, jfloat anYradius, jfloat aStartAngle, jfloat anOpenAngle) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); - thejret = the_this->DrawArc((Standard_ShortReal) X,(Standard_ShortReal) Y,(Standard_ShortReal) anXradius,(Standard_ShortReal) anYradius,(Standard_ShortReal) aStartAngle,(Standard_ShortReal) anOpenAngle); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1Driver_DrawPolyArc (JNIEnv *env, jobject theobj, jfloat X, jfloat Y, jfloat anXradius, jfloat anYradius, jfloat aStartAngle, jfloat anOpenAngle) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); - thejret = the_this->DrawPolyArc((Standard_ShortReal) X,(Standard_ShortReal) Y,(Standard_ShortReal) anXradius,(Standard_ShortReal) anYradius,(Standard_ShortReal) aStartAngle,(Standard_ShortReal) anOpenAngle); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_BeginPolyline (JNIEnv *env, jobject theobj, jint aNumber) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->BeginPolyline((Standard_Integer) aNumber); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_BeginPolygon (JNIEnv *env, jobject theobj, jint aNumber) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->BeginPolygon((Standard_Integer) aNumber); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_BeginSegments (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->BeginSegments(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_BeginArcs (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->BeginArcs(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_BeginPolyArcs (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->BeginPolyArcs(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_BeginMarkers (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->BeginMarkers(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_BeginPoints (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->BeginPoints(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_ClosePrimitive (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->ClosePrimitive(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1Driver_ColorMap (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -Handle(Aspect_ColorMap)* theret = new Handle(Aspect_ColorMap); -*theret = the_this->ColorMap(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_ColorMap",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1Driver_TypeMap (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -Handle(Aspect_TypeMap)* theret = new Handle(Aspect_TypeMap); -*theret = the_this->TypeMap(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_TypeMap",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1Driver_WidthMap (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -Handle(Aspect_WidthMap)* theret = new Handle(Aspect_WidthMap); -*theret = the_this->WidthMap(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_WidthMap",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1Driver_FontMap (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -Handle(Aspect_FontMap)* theret = new Handle(Aspect_FontMap); -*theret = the_this->FontMap(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_FontMap",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1Driver_MarkMap (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -Handle(Aspect_MarkMap)* theret = new Handle(Aspect_MarkMap); -*theret = the_this->MarkMap(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_MarkMap",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_WorkSpace (JNIEnv *env, jobject theobj, jobject Width, jobject Heigth) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_Width = jcas_GetReal(env,Width); -Standard_Real the_Heigth = jcas_GetReal(env,Heigth); -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->WorkSpace(the_Width,the_Heigth); -jcas_SetReal(env,Width,the_Width); -jcas_SetReal(env,Heigth,the_Heigth); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jdouble JNICALL Java_SampleHLRJni_Aspect_1Driver_Aspect_1Driver_1Convert_11 (JNIEnv *env, jobject theobj, jint PV) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Convert((Standard_Integer) PV); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1Driver_Aspect_1Driver_1Convert_12 (JNIEnv *env, jobject theobj, jdouble DV) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Convert((Quantity_Length) DV); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_Aspect_1Driver_1Convert_13 (JNIEnv *env, jobject theobj, jint PX, jint PY, jobject DX, jobject DY) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_DX = jcas_GetReal(env,DX); -Standard_Real the_DY = jcas_GetReal(env,DY); -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->Convert((Standard_Integer) PX,(Standard_Integer) PY,the_DX,the_DY); -jcas_SetReal(env,DX,the_DX); -jcas_SetReal(env,DY,the_DY); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_Aspect_1Driver_1Convert_14 (JNIEnv *env, jobject theobj, jdouble DX, jdouble DY, jobject PX, jobject PY) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Integer the_PX = jcas_GetInteger(env,PX); -Standard_Integer the_PY = jcas_GetInteger(env,PY); -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); -the_this->Convert((Quantity_Length) DX,(Quantity_Length) DY,the_PX,the_PY); -jcas_SetInteger(env,PX,the_PX); -jcas_SetInteger(env,PY,the_PY); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1Driver_UseMFT (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Driver) the_this = *((Handle(Aspect_Driver)*) jcas_GetHandle(env,theobj)); - thejret = the_this->UseMFT(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_FontMapEntry_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_FontMapEntry_java.cxx deleted file mode 100755 index 3ec0a8a0af..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_FontMapEntry_java.cxx +++ /dev/null @@ -1,381 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontMapEntry_Aspect_1FontMapEntry_1Create_11 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_FontMapEntry* theret = new Aspect_FontMapEntry(); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontMapEntry_Aspect_1FontMapEntry_1Create_12 (JNIEnv *env, jobject theobj, jint index, jobject style) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_style = (Aspect_FontStyle*) jcas_GetHandle(env,style); -if ( the_style == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_style = new Aspect_FontStyle (); - // jcas_SetHandle ( env, style, the_style ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_FontMapEntry* theret = new Aspect_FontMapEntry((Standard_Integer) index,*the_style); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontMapEntry_Aspect_1FontMapEntry_1Create_13 (JNIEnv *env, jobject theobj, jobject entry) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_FontMapEntry* the_entry = (Aspect_FontMapEntry*) jcas_GetHandle(env,entry); -if ( the_entry == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_entry = new Aspect_FontMapEntry (); - // jcas_SetHandle ( env, entry, the_entry ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_FontMapEntry* theret = new Aspect_FontMapEntry(*the_entry); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontMapEntry_Aspect_1FontMapEntry_1SetValue_11 (JNIEnv *env, jobject theobj, jint index, jobject style) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_style = (Aspect_FontStyle*) jcas_GetHandle(env,style); -if ( the_style == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_style = new Aspect_FontStyle (); - // jcas_SetHandle ( env, style, the_style ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_FontMapEntry* the_this = (Aspect_FontMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetValue((Standard_Integer) index,*the_style); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontMapEntry_Aspect_1FontMapEntry_1SetValue_12 (JNIEnv *env, jobject theobj, jobject entry) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_FontMapEntry* the_entry = (Aspect_FontMapEntry*) jcas_GetHandle(env,entry); -if ( the_entry == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_entry = new Aspect_FontMapEntry (); - // jcas_SetHandle ( env, entry, the_entry ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_FontMapEntry* the_this = (Aspect_FontMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetValue(*the_entry); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontMapEntry_SetType (JNIEnv *env, jobject theobj, jobject Style) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_Style = (Aspect_FontStyle*) jcas_GetHandle(env,Style); -if ( the_Style == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Style = new Aspect_FontStyle (); - // jcas_SetHandle ( env, Style, the_Style ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_FontMapEntry* the_this = (Aspect_FontMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetType(*the_Style); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontMapEntry_Type (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontMapEntry* the_this = (Aspect_FontMapEntry*) jcas_GetHandle(env,theobj); -const Aspect_FontStyle& theret = the_this->Type(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_FontStyle",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontMapEntry_SetIndex (JNIEnv *env, jobject theobj, jint index) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_FontMapEntry* the_this = (Aspect_FontMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetIndex((Standard_Integer) index); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1FontMapEntry_Index (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontMapEntry* the_this = (Aspect_FontMapEntry*) jcas_GetHandle(env,theobj); - thejret = the_this->Index(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontMapEntry_Free (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_FontMapEntry* the_this = (Aspect_FontMapEntry*) jcas_GetHandle(env,theobj); -the_this->Free(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1FontMapEntry_IsAllocated (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontMapEntry* the_this = (Aspect_FontMapEntry*) jcas_GetHandle(env,theobj); - thejret = the_this->IsAllocated(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontMapEntry_Dump (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_FontMapEntry* the_this = (Aspect_FontMapEntry*) jcas_GetHandle(env,theobj); -the_this->Dump(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontMapEntry_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Aspect_FontMapEntry* theobj = (Aspect_FontMapEntry*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_FontMap_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_FontMap_java.cxx deleted file mode 100755 index c543df6ba6..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_FontMap_java.cxx +++ /dev/null @@ -1,225 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontMap_Aspect_1FontMap_1Create_10 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_FontMap)* theret = new Handle(Aspect_FontMap); -*theret = new Aspect_FontMap(); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontMap_Aspect_1FontMap_1AddEntry_11 (JNIEnv *env, jobject theobj, jobject AnEntry) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_FontMapEntry* the_AnEntry = (Aspect_FontMapEntry*) jcas_GetHandle(env,AnEntry); -if ( the_AnEntry == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_AnEntry = new Aspect_FontMapEntry (); - // jcas_SetHandle ( env, AnEntry, the_AnEntry ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(Aspect_FontMap) the_this = *((Handle(Aspect_FontMap)*) jcas_GetHandle(env,theobj)); -the_this->AddEntry(*the_AnEntry); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1FontMap_Aspect_1FontMap_1AddEntry_12 (JNIEnv *env, jobject theobj, jobject aStyle) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_aStyle = (Aspect_FontStyle*) jcas_GetHandle(env,aStyle); -if ( the_aStyle == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aStyle = new Aspect_FontStyle (); - // jcas_SetHandle ( env, aStyle, the_aStyle ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(Aspect_FontMap) the_this = *((Handle(Aspect_FontMap)*) jcas_GetHandle(env,theobj)); - thejret = the_this->AddEntry(*the_aStyle); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1FontMap_Size (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_FontMap) the_this = *((Handle(Aspect_FontMap)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Size(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1FontMap_Index (JNIEnv *env, jobject theobj, jint aFontmapIndex) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_FontMap) the_this = *((Handle(Aspect_FontMap)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Index((Standard_Integer) aFontmapIndex); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontMap_Dump (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_FontMap) the_this = *((Handle(Aspect_FontMap)*) jcas_GetHandle(env,theobj)); -the_this->Dump(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontMap_Entry (JNIEnv *env, jobject theobj, jint AnIndex) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_FontMap) the_this = *((Handle(Aspect_FontMap)*) jcas_GetHandle(env,theobj)); -Aspect_FontMapEntry* theret = new Aspect_FontMapEntry(the_this->Entry((Standard_Integer) AnIndex)); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_FontMapEntry",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_FontStyle_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_FontStyle_java.cxx deleted file mode 100755 index 61c70e1cdc..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_FontStyle_java.cxx +++ /dev/null @@ -1,1017 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Aspect_1FontStyle_1Create_11 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* theret = new Aspect_FontStyle(); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Aspect_1FontStyle_1Create_12 (JNIEnv *env, jobject theobj, jshort Type, jdouble Size, jdouble Slant, jboolean CapsHeight) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* theret = new Aspect_FontStyle((Aspect_TypeOfFont) Type,(Quantity_Length) Size,(Quantity_PlaneAngle) Slant,(Standard_Boolean) CapsHeight); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Aspect_1FontStyle_1Create_13 (JNIEnv *env, jobject theobj, jobject Style, jdouble Size, jdouble Slant, jboolean CapsHeight) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_Style = jcas_ConvertToCString(env,Style); -Aspect_FontStyle* theret = new Aspect_FontStyle(the_Style,(Quantity_Length) Size,(Quantity_PlaneAngle) Slant,(Standard_Boolean) CapsHeight); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Aspect_1FontStyle_1Create_14 (JNIEnv *env, jobject theobj, jobject Style) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_Style = jcas_ConvertToCString(env,Style); -Aspect_FontStyle* theret = new Aspect_FontStyle(the_Style); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Assign (JNIEnv *env, jobject theobj, jobject Other) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_Other = (Aspect_FontStyle*) jcas_GetHandle(env,Other); -if ( the_Other == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Other = new Aspect_FontStyle (); - // jcas_SetHandle ( env, Other, the_Other ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -const Aspect_FontStyle& theret = the_this->Assign(*the_Other); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_FontStyle",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Aspect_1FontStyle_1SetValues_11 (JNIEnv *env, jobject theobj, jshort Type, jdouble Size, jdouble Slant, jboolean CapsHeight) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -the_this->SetValues((Aspect_TypeOfFont) Type,(Quantity_Length) Size,(Quantity_PlaneAngle) Slant,(Standard_Boolean) CapsHeight); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Aspect_1FontStyle_1SetValues_12 (JNIEnv *env, jobject theobj, jobject Style, jdouble Size, jdouble Slant, jboolean CapsHeight) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_Style = jcas_ConvertToCString(env,Style); -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -the_this->SetValues(the_Style,(Quantity_Length) Size,(Quantity_PlaneAngle) Slant,(Standard_Boolean) CapsHeight); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Aspect_1FontStyle_1SetValues_13 (JNIEnv *env, jobject theobj, jobject Style) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_Style = jcas_ConvertToCString(env,Style); -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -the_this->SetValues(the_Style); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontStyle_SetFamily (JNIEnv *env, jobject theobj, jobject aName) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aName = jcas_ConvertToCString(env,aName); -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -the_this->SetFamily(the_aName); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontStyle_SetWeight (JNIEnv *env, jobject theobj, jobject aName) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aName = jcas_ConvertToCString(env,aName); -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -the_this->SetWeight(the_aName); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontStyle_SetRegistry (JNIEnv *env, jobject theobj, jobject aName) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aName = jcas_ConvertToCString(env,aName); -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -the_this->SetRegistry(the_aName); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontStyle_SetEncoding (JNIEnv *env, jobject theobj, jobject aName) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aName = jcas_ConvertToCString(env,aName); -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -the_this->SetEncoding(the_aName); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jshort JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Style (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); - thejret = the_this->Style(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Length (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); - thejret = the_this->Length(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Value (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->Value(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jdouble JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Size (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); - thejret = the_this->Size(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jdouble JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Slant (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); - thejret = the_this->Slant(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1FontStyle_CapsHeight (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); - thejret = the_this->CapsHeight(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_AliasName (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->AliasName(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_FullName (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->FullName(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Foundry (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->Foundry(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Family (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->Family(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Weight (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->Weight(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Registry (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->Registry(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Encoding (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->Encoding(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_SSlant (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->SSlant(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_SWidth (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->SWidth(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_SStyle (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->SStyle(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_SPixelSize (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->SPixelSize(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_SPointSize (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->SPointSize(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_SResolutionX (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->SResolutionX(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_SResolutionY (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->SResolutionY(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_SSpacing (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->SSpacing(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_SAverageWidth (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -Standard_CString sret = the_this->SAverageWidth(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Dump (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); -the_this->Dump(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1FontStyle_IsEqual (JNIEnv *env, jobject theobj, jobject Other) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_Other = (Aspect_FontStyle*) jcas_GetHandle(env,Other); -if ( the_Other == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Other = new Aspect_FontStyle (); - // jcas_SetHandle ( env, Other, the_Other ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); - thejret = the_this->IsEqual(*the_Other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1FontStyle_IsNotEqual (JNIEnv *env, jobject theobj, jobject Other) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_FontStyle* the_Other = (Aspect_FontStyle*) jcas_GetHandle(env,Other); -if ( the_Other == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Other = new Aspect_FontStyle (); - // jcas_SetHandle ( env, Other, the_Other ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_FontStyle* the_this = (Aspect_FontStyle*) jcas_GetHandle(env,theobj); - thejret = the_this->IsNotEqual(*the_Other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontStyle_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Aspect_FontStyle* theobj = (Aspect_FontStyle*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_GenericColorMap_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_GenericColorMap_java.cxx deleted file mode 100755 index f1c25fb191..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_GenericColorMap_java.cxx +++ /dev/null @@ -1,272 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1GenericColorMap_Aspect_1GenericColorMap_1Create_10 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_GenericColorMap)* theret = new Handle(Aspect_GenericColorMap); -*theret = new Aspect_GenericColorMap(); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1GenericColorMap_Aspect_1GenericColorMap_1AddEntry_11 (JNIEnv *env, jobject theobj, jobject AnEntry) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_ColorMapEntry* the_AnEntry = (Aspect_ColorMapEntry*) jcas_GetHandle(env,AnEntry); -if ( the_AnEntry == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_AnEntry = new Aspect_ColorMapEntry (); - // jcas_SetHandle ( env, AnEntry, the_AnEntry ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(Aspect_GenericColorMap) the_this = *((Handle(Aspect_GenericColorMap)*) jcas_GetHandle(env,theobj)); -the_this->AddEntry(*the_AnEntry); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1GenericColorMap_Aspect_1GenericColorMap_1AddEntry_12 (JNIEnv *env, jobject theobj, jobject aColor) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_aColor = (Quantity_Color*) jcas_GetHandle(env,aColor); -if ( the_aColor == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aColor = new Quantity_Color (); - // jcas_SetHandle ( env, aColor, the_aColor ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(Aspect_GenericColorMap) the_this = *((Handle(Aspect_GenericColorMap)*) jcas_GetHandle(env,theobj)); - thejret = the_this->AddEntry(*the_aColor); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1GenericColorMap_RemoveEntry (JNIEnv *env, jobject theobj, jint AColorMapEntryIndex) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_GenericColorMap) the_this = *((Handle(Aspect_GenericColorMap)*) jcas_GetHandle(env,theobj)); -the_this->RemoveEntry((Standard_Integer) AColorMapEntryIndex); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1GenericColorMap_FindColorMapIndex (JNIEnv *env, jobject theobj, jint AColorMapEntryIndex) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_GenericColorMap) the_this = *((Handle(Aspect_GenericColorMap)*) jcas_GetHandle(env,theobj)); - thejret = the_this->FindColorMapIndex((Standard_Integer) AColorMapEntryIndex); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1GenericColorMap_FindEntry (JNIEnv *env, jobject theobj, jint AColorMapEntryIndex) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_GenericColorMap) the_this = *((Handle(Aspect_GenericColorMap)*) jcas_GetHandle(env,theobj)); -const Aspect_ColorMapEntry& theret = the_this->FindEntry((Standard_Integer) AColorMapEntryIndex); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_ColorMapEntry",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1GenericColorMap_NearestColorMapIndex (JNIEnv *env, jobject theobj, jobject aColor) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_aColor = (Quantity_Color*) jcas_GetHandle(env,aColor); -if ( the_aColor == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aColor = new Quantity_Color (); - // jcas_SetHandle ( env, aColor, the_aColor ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(Aspect_GenericColorMap) the_this = *((Handle(Aspect_GenericColorMap)*) jcas_GetHandle(env,theobj)); - thejret = the_this->NearestColorMapIndex(*the_aColor); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1GenericColorMap_NearestEntry (JNIEnv *env, jobject theobj, jobject aColor) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_aColor = (Quantity_Color*) jcas_GetHandle(env,aColor); -if ( the_aColor == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aColor = new Quantity_Color (); - // jcas_SetHandle ( env, aColor, the_aColor ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(Aspect_GenericColorMap) the_this = *((Handle(Aspect_GenericColorMap)*) jcas_GetHandle(env,theobj)); -const Aspect_ColorMapEntry& theret = the_this->NearestEntry(*the_aColor); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_ColorMapEntry",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_GraphicDevice_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_GraphicDevice_java.cxx deleted file mode 100755 index d7132047f9..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_GraphicDevice_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_LineStyle_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_LineStyle_java.cxx deleted file mode 100755 index 6082b1f981..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_LineStyle_java.cxx +++ /dev/null @@ -1,363 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1LineStyle_Aspect_1LineStyle_1Create_11 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_LineStyle* theret = new Aspect_LineStyle(); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1LineStyle_Aspect_1LineStyle_1Create_12 (JNIEnv *env, jobject theobj, jshort Type) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_LineStyle* theret = new Aspect_LineStyle((Aspect_TypeOfLine) Type); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1LineStyle_Aspect_1LineStyle_1Create_13 (JNIEnv *env, jobject theobj, jobject Style) -{ - -jcas_Locking alock(env); -{ -try { -TColQuantity_Array1OfLength* the_Style = (TColQuantity_Array1OfLength*) jcas_GetHandle(env,Style); -if ( the_Style == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Style = new TColQuantity_Array1OfLength (); - // jcas_SetHandle ( env, Style, the_Style ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_LineStyle* theret = new Aspect_LineStyle(*the_Style); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1LineStyle_Assign (JNIEnv *env, jobject theobj, jobject Other) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_LineStyle* the_Other = (Aspect_LineStyle*) jcas_GetHandle(env,Other); -if ( the_Other == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Other = new Aspect_LineStyle (); - // jcas_SetHandle ( env, Other, the_Other ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_LineStyle* the_this = (Aspect_LineStyle*) jcas_GetHandle(env,theobj); -const Aspect_LineStyle& theret = the_this->Assign(*the_Other); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_LineStyle",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1LineStyle_Aspect_1LineStyle_1SetValues_11 (JNIEnv *env, jobject theobj, jshort Type) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_LineStyle* the_this = (Aspect_LineStyle*) jcas_GetHandle(env,theobj); -the_this->SetValues((Aspect_TypeOfLine) Type); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1LineStyle_Aspect_1LineStyle_1SetValues_12 (JNIEnv *env, jobject theobj, jobject Style) -{ - -jcas_Locking alock(env); -{ -try { -TColQuantity_Array1OfLength* the_Style = (TColQuantity_Array1OfLength*) jcas_GetHandle(env,Style); -if ( the_Style == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Style = new TColQuantity_Array1OfLength (); - // jcas_SetHandle ( env, Style, the_Style ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_LineStyle* the_this = (Aspect_LineStyle*) jcas_GetHandle(env,theobj); -the_this->SetValues(*the_Style); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jshort JNICALL Java_SampleHLRJni_Aspect_1LineStyle_Style (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_LineStyle* the_this = (Aspect_LineStyle*) jcas_GetHandle(env,theobj); - thejret = the_this->Style(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1LineStyle_Length (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_LineStyle* the_this = (Aspect_LineStyle*) jcas_GetHandle(env,theobj); - thejret = the_this->Length(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1LineStyle_Values (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_LineStyle* the_this = (Aspect_LineStyle*) jcas_GetHandle(env,theobj); -const TColQuantity_Array1OfLength& theret = the_this->Values(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TColQuantity_Array1OfLength",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1LineStyle_IsEqual (JNIEnv *env, jobject theobj, jobject Other) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_LineStyle* the_Other = (Aspect_LineStyle*) jcas_GetHandle(env,Other); -if ( the_Other == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Other = new Aspect_LineStyle (); - // jcas_SetHandle ( env, Other, the_Other ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_LineStyle* the_this = (Aspect_LineStyle*) jcas_GetHandle(env,theobj); - thejret = the_this->IsEqual(*the_Other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1LineStyle_IsNotEqual (JNIEnv *env, jobject theobj, jobject Other) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_LineStyle* the_Other = (Aspect_LineStyle*) jcas_GetHandle(env,Other); -if ( the_Other == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Other = new Aspect_LineStyle (); - // jcas_SetHandle ( env, Other, the_Other ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_LineStyle* the_this = (Aspect_LineStyle*) jcas_GetHandle(env,theobj); - thejret = the_this->IsNotEqual(*the_Other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1LineStyle_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Aspect_LineStyle* theobj = (Aspect_LineStyle*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_MarkMapEntry_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_MarkMapEntry_java.cxx deleted file mode 100755 index d91f43f792..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_MarkMapEntry_java.cxx +++ /dev/null @@ -1,381 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkMapEntry_Aspect_1MarkMapEntry_1Create_11 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_MarkMapEntry* theret = new Aspect_MarkMapEntry(); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkMapEntry_Aspect_1MarkMapEntry_1Create_12 (JNIEnv *env, jobject theobj, jint index, jobject style) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_MarkerStyle* the_style = (Aspect_MarkerStyle*) jcas_GetHandle(env,style); -if ( the_style == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_style = new Aspect_MarkerStyle (); - // jcas_SetHandle ( env, style, the_style ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_MarkMapEntry* theret = new Aspect_MarkMapEntry((Standard_Integer) index,*the_style); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkMapEntry_Aspect_1MarkMapEntry_1Create_13 (JNIEnv *env, jobject theobj, jobject entry) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_MarkMapEntry* the_entry = (Aspect_MarkMapEntry*) jcas_GetHandle(env,entry); -if ( the_entry == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_entry = new Aspect_MarkMapEntry (); - // jcas_SetHandle ( env, entry, the_entry ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_MarkMapEntry* theret = new Aspect_MarkMapEntry(*the_entry); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkMapEntry_Aspect_1MarkMapEntry_1SetValue_11 (JNIEnv *env, jobject theobj, jint index, jobject style) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_MarkerStyle* the_style = (Aspect_MarkerStyle*) jcas_GetHandle(env,style); -if ( the_style == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_style = new Aspect_MarkerStyle (); - // jcas_SetHandle ( env, style, the_style ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_MarkMapEntry* the_this = (Aspect_MarkMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetValue((Standard_Integer) index,*the_style); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkMapEntry_Aspect_1MarkMapEntry_1SetValue_12 (JNIEnv *env, jobject theobj, jobject entry) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_MarkMapEntry* the_entry = (Aspect_MarkMapEntry*) jcas_GetHandle(env,entry); -if ( the_entry == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_entry = new Aspect_MarkMapEntry (); - // jcas_SetHandle ( env, entry, the_entry ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_MarkMapEntry* the_this = (Aspect_MarkMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetValue(*the_entry); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkMapEntry_SetStyle (JNIEnv *env, jobject theobj, jobject Style) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_MarkerStyle* the_Style = (Aspect_MarkerStyle*) jcas_GetHandle(env,Style); -if ( the_Style == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Style = new Aspect_MarkerStyle (); - // jcas_SetHandle ( env, Style, the_Style ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_MarkMapEntry* the_this = (Aspect_MarkMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetStyle(*the_Style); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1MarkMapEntry_Style (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_MarkMapEntry* the_this = (Aspect_MarkMapEntry*) jcas_GetHandle(env,theobj); -const Aspect_MarkerStyle& theret = the_this->Style(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_MarkerStyle",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkMapEntry_SetIndex (JNIEnv *env, jobject theobj, jint index) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_MarkMapEntry* the_this = (Aspect_MarkMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetIndex((Standard_Integer) index); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1MarkMapEntry_Index (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_MarkMapEntry* the_this = (Aspect_MarkMapEntry*) jcas_GetHandle(env,theobj); - thejret = the_this->Index(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkMapEntry_Free (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_MarkMapEntry* the_this = (Aspect_MarkMapEntry*) jcas_GetHandle(env,theobj); -the_this->Free(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1MarkMapEntry_IsAllocated (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_MarkMapEntry* the_this = (Aspect_MarkMapEntry*) jcas_GetHandle(env,theobj); - thejret = the_this->IsAllocated(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkMapEntry_Dump (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_MarkMapEntry* the_this = (Aspect_MarkMapEntry*) jcas_GetHandle(env,theobj); -the_this->Dump(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkMapEntry_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Aspect_MarkMapEntry* theobj = (Aspect_MarkMapEntry*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_MarkMap_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_MarkMap_java.cxx deleted file mode 100755 index befb356661..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_MarkMap_java.cxx +++ /dev/null @@ -1,225 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkMap_Aspect_1MarkMap_1Create_10 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_MarkMap)* theret = new Handle(Aspect_MarkMap); -*theret = new Aspect_MarkMap(); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkMap_Aspect_1MarkMap_1AddEntry_11 (JNIEnv *env, jobject theobj, jobject AnEntry) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_MarkMapEntry* the_AnEntry = (Aspect_MarkMapEntry*) jcas_GetHandle(env,AnEntry); -if ( the_AnEntry == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_AnEntry = new Aspect_MarkMapEntry (); - // jcas_SetHandle ( env, AnEntry, the_AnEntry ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(Aspect_MarkMap) the_this = *((Handle(Aspect_MarkMap)*) jcas_GetHandle(env,theobj)); -the_this->AddEntry(*the_AnEntry); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1MarkMap_Aspect_1MarkMap_1AddEntry_12 (JNIEnv *env, jobject theobj, jobject aStyle) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_MarkerStyle* the_aStyle = (Aspect_MarkerStyle*) jcas_GetHandle(env,aStyle); -if ( the_aStyle == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aStyle = new Aspect_MarkerStyle (); - // jcas_SetHandle ( env, aStyle, the_aStyle ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(Aspect_MarkMap) the_this = *((Handle(Aspect_MarkMap)*) jcas_GetHandle(env,theobj)); - thejret = the_this->AddEntry(*the_aStyle); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1MarkMap_Size (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_MarkMap) the_this = *((Handle(Aspect_MarkMap)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Size(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1MarkMap_Index (JNIEnv *env, jobject theobj, jint aMarkmapIndex) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_MarkMap) the_this = *((Handle(Aspect_MarkMap)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Index((Standard_Integer) aMarkmapIndex); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkMap_Dump (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_MarkMap) the_this = *((Handle(Aspect_MarkMap)*) jcas_GetHandle(env,theobj)); -the_this->Dump(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1MarkMap_Entry (JNIEnv *env, jobject theobj, jint AnIndex) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_MarkMap) the_this = *((Handle(Aspect_MarkMap)*) jcas_GetHandle(env,theobj)); -Aspect_MarkMapEntry* theret = new Aspect_MarkMapEntry(the_this->Entry((Standard_Integer) AnIndex)); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_MarkMapEntry",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_MarkerStyle_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_MarkerStyle_java.cxx deleted file mode 100755 index 7800eb0a75..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_MarkerStyle_java.cxx +++ /dev/null @@ -1,454 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkerStyle_Aspect_1MarkerStyle_1Create_11 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_MarkerStyle* theret = new Aspect_MarkerStyle(); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkerStyle_Aspect_1MarkerStyle_1Create_12 (JNIEnv *env, jobject theobj, jshort aType) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_MarkerStyle* theret = new Aspect_MarkerStyle((Aspect_TypeOfMarker) aType); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkerStyle_Aspect_1MarkerStyle_1Create_13 (JNIEnv *env, jobject theobj, jobject aXpoint, jobject aYpoint) -{ - -jcas_Locking alock(env); -{ -try { -TColStd_Array1OfReal* the_aXpoint = (TColStd_Array1OfReal*) jcas_GetHandle(env,aXpoint); -if ( the_aXpoint == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aXpoint = new TColStd_Array1OfReal (); - // jcas_SetHandle ( env, aXpoint, the_aXpoint ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TColStd_Array1OfReal* the_aYpoint = (TColStd_Array1OfReal*) jcas_GetHandle(env,aYpoint); -if ( the_aYpoint == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aYpoint = new TColStd_Array1OfReal (); - // jcas_SetHandle ( env, aYpoint, the_aYpoint ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_MarkerStyle* theret = new Aspect_MarkerStyle(*the_aXpoint,*the_aYpoint); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkerStyle_Aspect_1MarkerStyle_1Create_14 (JNIEnv *env, jobject theobj, jobject aXpoint, jobject aYpoint, jobject aSpoint) -{ - -jcas_Locking alock(env); -{ -try { -TColStd_Array1OfReal* the_aXpoint = (TColStd_Array1OfReal*) jcas_GetHandle(env,aXpoint); -if ( the_aXpoint == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aXpoint = new TColStd_Array1OfReal (); - // jcas_SetHandle ( env, aXpoint, the_aXpoint ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TColStd_Array1OfReal* the_aYpoint = (TColStd_Array1OfReal*) jcas_GetHandle(env,aYpoint); -if ( the_aYpoint == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aYpoint = new TColStd_Array1OfReal (); - // jcas_SetHandle ( env, aYpoint, the_aYpoint ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TColStd_Array1OfBoolean* the_aSpoint = (TColStd_Array1OfBoolean*) jcas_GetHandle(env,aSpoint); -if ( the_aSpoint == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aSpoint = new TColStd_Array1OfBoolean (); - // jcas_SetHandle ( env, aSpoint, the_aSpoint ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_MarkerStyle* theret = new Aspect_MarkerStyle(*the_aXpoint,*the_aYpoint,*the_aSpoint); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1MarkerStyle_Assign (JNIEnv *env, jobject theobj, jobject Other) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_MarkerStyle* the_Other = (Aspect_MarkerStyle*) jcas_GetHandle(env,Other); -if ( the_Other == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Other = new Aspect_MarkerStyle (); - // jcas_SetHandle ( env, Other, the_Other ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_MarkerStyle* the_this = (Aspect_MarkerStyle*) jcas_GetHandle(env,theobj); -const Aspect_MarkerStyle& theret = the_this->Assign(*the_Other); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_MarkerStyle",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_SampleHLRJni_Aspect_1MarkerStyle_Type (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_MarkerStyle* the_this = (Aspect_MarkerStyle*) jcas_GetHandle(env,theobj); - thejret = the_this->Type(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1MarkerStyle_Length (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_MarkerStyle* the_this = (Aspect_MarkerStyle*) jcas_GetHandle(env,theobj); - thejret = the_this->Length(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1MarkerStyle_Values (JNIEnv *env, jobject theobj, jint aRank, jobject aX, jobject aY) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_Real the_aX = jcas_GetReal(env,aX); -Standard_Real the_aY = jcas_GetReal(env,aY); -Aspect_MarkerStyle* the_this = (Aspect_MarkerStyle*) jcas_GetHandle(env,theobj); - thejret = the_this->Values((Standard_Integer) aRank,the_aX,the_aY); -jcas_SetReal(env,aX,the_aX); -jcas_SetReal(env,aY,the_aY); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1MarkerStyle_XValues (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_MarkerStyle* the_this = (Aspect_MarkerStyle*) jcas_GetHandle(env,theobj); -const TShort_Array1OfShortReal& theret = the_this->XValues(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TShort_Array1OfShortReal",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1MarkerStyle_YValues (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_MarkerStyle* the_this = (Aspect_MarkerStyle*) jcas_GetHandle(env,theobj); -const TShort_Array1OfShortReal& theret = the_this->YValues(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TShort_Array1OfShortReal",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1MarkerStyle_SValues (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_MarkerStyle* the_this = (Aspect_MarkerStyle*) jcas_GetHandle(env,theobj); -const TColStd_Array1OfBoolean& theret = the_this->SValues(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TColStd_Array1OfBoolean",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1MarkerStyle_IsEqual (JNIEnv *env, jobject theobj, jobject Other) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_MarkerStyle* the_Other = (Aspect_MarkerStyle*) jcas_GetHandle(env,Other); -if ( the_Other == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Other = new Aspect_MarkerStyle (); - // jcas_SetHandle ( env, Other, the_Other ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_MarkerStyle* the_this = (Aspect_MarkerStyle*) jcas_GetHandle(env,theobj); - thejret = the_this->IsEqual(*the_Other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1MarkerStyle_IsNotEqual (JNIEnv *env, jobject theobj, jobject Other) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_MarkerStyle* the_Other = (Aspect_MarkerStyle*) jcas_GetHandle(env,Other); -if ( the_Other == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Other = new Aspect_MarkerStyle (); - // jcas_SetHandle ( env, Other, the_Other ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_MarkerStyle* the_this = (Aspect_MarkerStyle*) jcas_GetHandle(env,theobj); - thejret = the_this->IsNotEqual(*the_Other); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkerStyle_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Aspect_MarkerStyle* theobj = (Aspect_MarkerStyle*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_TypeMapEntry_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_TypeMapEntry_java.cxx deleted file mode 100755 index 077ee63acc..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_TypeMapEntry_java.cxx +++ /dev/null @@ -1,381 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1TypeMapEntry_Aspect_1TypeMapEntry_1Create_11 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_TypeMapEntry* theret = new Aspect_TypeMapEntry(); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1TypeMapEntry_Aspect_1TypeMapEntry_1Create_12 (JNIEnv *env, jobject theobj, jint index, jobject style) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_LineStyle* the_style = (Aspect_LineStyle*) jcas_GetHandle(env,style); -if ( the_style == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_style = new Aspect_LineStyle (); - // jcas_SetHandle ( env, style, the_style ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_TypeMapEntry* theret = new Aspect_TypeMapEntry((Standard_Integer) index,*the_style); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1TypeMapEntry_Aspect_1TypeMapEntry_1Create_13 (JNIEnv *env, jobject theobj, jobject entry) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_TypeMapEntry* the_entry = (Aspect_TypeMapEntry*) jcas_GetHandle(env,entry); -if ( the_entry == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_entry = new Aspect_TypeMapEntry (); - // jcas_SetHandle ( env, entry, the_entry ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_TypeMapEntry* theret = new Aspect_TypeMapEntry(*the_entry); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1TypeMapEntry_Aspect_1TypeMapEntry_1SetValue_11 (JNIEnv *env, jobject theobj, jint index, jobject style) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_LineStyle* the_style = (Aspect_LineStyle*) jcas_GetHandle(env,style); -if ( the_style == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_style = new Aspect_LineStyle (); - // jcas_SetHandle ( env, style, the_style ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_TypeMapEntry* the_this = (Aspect_TypeMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetValue((Standard_Integer) index,*the_style); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1TypeMapEntry_Aspect_1TypeMapEntry_1SetValue_12 (JNIEnv *env, jobject theobj, jobject entry) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_TypeMapEntry* the_entry = (Aspect_TypeMapEntry*) jcas_GetHandle(env,entry); -if ( the_entry == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_entry = new Aspect_TypeMapEntry (); - // jcas_SetHandle ( env, entry, the_entry ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_TypeMapEntry* the_this = (Aspect_TypeMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetValue(*the_entry); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1TypeMapEntry_SetType (JNIEnv *env, jobject theobj, jobject Style) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_LineStyle* the_Style = (Aspect_LineStyle*) jcas_GetHandle(env,Style); -if ( the_Style == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Style = new Aspect_LineStyle (); - // jcas_SetHandle ( env, Style, the_Style ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_TypeMapEntry* the_this = (Aspect_TypeMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetType(*the_Style); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1TypeMapEntry_Type (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_TypeMapEntry* the_this = (Aspect_TypeMapEntry*) jcas_GetHandle(env,theobj); -const Aspect_LineStyle& theret = the_this->Type(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_LineStyle",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1TypeMapEntry_SetIndex (JNIEnv *env, jobject theobj, jint index) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_TypeMapEntry* the_this = (Aspect_TypeMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetIndex((Standard_Integer) index); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1TypeMapEntry_Index (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_TypeMapEntry* the_this = (Aspect_TypeMapEntry*) jcas_GetHandle(env,theobj); - thejret = the_this->Index(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1TypeMapEntry_Free (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_TypeMapEntry* the_this = (Aspect_TypeMapEntry*) jcas_GetHandle(env,theobj); -the_this->Free(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1TypeMapEntry_IsAllocated (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_TypeMapEntry* the_this = (Aspect_TypeMapEntry*) jcas_GetHandle(env,theobj); - thejret = the_this->IsAllocated(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1TypeMapEntry_Dump (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_TypeMapEntry* the_this = (Aspect_TypeMapEntry*) jcas_GetHandle(env,theobj); -the_this->Dump(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1TypeMapEntry_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Aspect_TypeMapEntry* theobj = (Aspect_TypeMapEntry*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_TypeMap_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_TypeMap_java.cxx deleted file mode 100755 index ebd4e7c91a..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_TypeMap_java.cxx +++ /dev/null @@ -1,225 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1TypeMap_Aspect_1TypeMap_1Create_10 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_TypeMap)* theret = new Handle(Aspect_TypeMap); -*theret = new Aspect_TypeMap(); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1TypeMap_Aspect_1TypeMap_1AddEntry_11 (JNIEnv *env, jobject theobj, jobject AnEntry) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_TypeMapEntry* the_AnEntry = (Aspect_TypeMapEntry*) jcas_GetHandle(env,AnEntry); -if ( the_AnEntry == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_AnEntry = new Aspect_TypeMapEntry (); - // jcas_SetHandle ( env, AnEntry, the_AnEntry ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(Aspect_TypeMap) the_this = *((Handle(Aspect_TypeMap)*) jcas_GetHandle(env,theobj)); -the_this->AddEntry(*the_AnEntry); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1TypeMap_Aspect_1TypeMap_1AddEntry_12 (JNIEnv *env, jobject theobj, jobject aStyle) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_LineStyle* the_aStyle = (Aspect_LineStyle*) jcas_GetHandle(env,aStyle); -if ( the_aStyle == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aStyle = new Aspect_LineStyle (); - // jcas_SetHandle ( env, aStyle, the_aStyle ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(Aspect_TypeMap) the_this = *((Handle(Aspect_TypeMap)*) jcas_GetHandle(env,theobj)); - thejret = the_this->AddEntry(*the_aStyle); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1TypeMap_Size (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_TypeMap) the_this = *((Handle(Aspect_TypeMap)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Size(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1TypeMap_Index (JNIEnv *env, jobject theobj, jint aTypemapIndex) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_TypeMap) the_this = *((Handle(Aspect_TypeMap)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Index((Standard_Integer) aTypemapIndex); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1TypeMap_Dump (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_TypeMap) the_this = *((Handle(Aspect_TypeMap)*) jcas_GetHandle(env,theobj)); -the_this->Dump(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1TypeMap_Entry (JNIEnv *env, jobject theobj, jint AnIndex) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_TypeMap) the_this = *((Handle(Aspect_TypeMap)*) jcas_GetHandle(env,theobj)); -Aspect_TypeMapEntry* theret = new Aspect_TypeMapEntry(the_this->Entry((Standard_Integer) AnIndex)); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_TypeMapEntry",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_WidthMapEntry_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_WidthMapEntry_java.cxx deleted file mode 100755 index d3c8dfdc51..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_WidthMapEntry_java.cxx +++ /dev/null @@ -1,441 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_Aspect_1WidthMapEntry_1Create_11 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* theret = new Aspect_WidthMapEntry(); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_Aspect_1WidthMapEntry_1Create_12 (JNIEnv *env, jobject theobj, jint index, jshort style) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* theret = new Aspect_WidthMapEntry((Standard_Integer) index,(Aspect_WidthOfLine) style); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_Aspect_1WidthMapEntry_1Create_13 (JNIEnv *env, jobject theobj, jint index, jdouble width) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* theret = new Aspect_WidthMapEntry((Standard_Integer) index,(Quantity_Length) width); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_Aspect_1WidthMapEntry_1Create_14 (JNIEnv *env, jobject theobj, jobject entry) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* the_entry = (Aspect_WidthMapEntry*) jcas_GetHandle(env,entry); -if ( the_entry == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_entry = new Aspect_WidthMapEntry (); - // jcas_SetHandle ( env, entry, the_entry ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_WidthMapEntry* theret = new Aspect_WidthMapEntry(*the_entry); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_Aspect_1WidthMapEntry_1SetValue_11 (JNIEnv *env, jobject theobj, jint index, jshort style) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* the_this = (Aspect_WidthMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetValue((Standard_Integer) index,(Aspect_WidthOfLine) style); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_Aspect_1WidthMapEntry_1SetValue_12 (JNIEnv *env, jobject theobj, jint index, jdouble width) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* the_this = (Aspect_WidthMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetValue((Standard_Integer) index,(Quantity_Length) width); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_Aspect_1WidthMapEntry_1SetValue_13 (JNIEnv *env, jobject theobj, jobject entry) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* the_entry = (Aspect_WidthMapEntry*) jcas_GetHandle(env,entry); -if ( the_entry == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_entry = new Aspect_WidthMapEntry (); - // jcas_SetHandle ( env, entry, the_entry ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Aspect_WidthMapEntry* the_this = (Aspect_WidthMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetValue(*the_entry); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_SetIndex (JNIEnv *env, jobject theobj, jint index) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* the_this = (Aspect_WidthMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetIndex((Standard_Integer) index); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_SetType (JNIEnv *env, jobject theobj, jshort Style) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* the_this = (Aspect_WidthMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetType((Aspect_WidthOfLine) Style); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_SetWidth (JNIEnv *env, jobject theobj, jdouble Width) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* the_this = (Aspect_WidthMapEntry*) jcas_GetHandle(env,theobj); -the_this->SetWidth((Quantity_Length) Width); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jshort JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_Type (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* the_this = (Aspect_WidthMapEntry*) jcas_GetHandle(env,theobj); - thejret = the_this->Type(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jdouble JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_Width (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* the_this = (Aspect_WidthMapEntry*) jcas_GetHandle(env,theobj); - thejret = the_this->Width(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_Index (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* the_this = (Aspect_WidthMapEntry*) jcas_GetHandle(env,theobj); - thejret = the_this->Index(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_Free (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* the_this = (Aspect_WidthMapEntry*) jcas_GetHandle(env,theobj); -the_this->Free(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_IsAllocated (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* the_this = (Aspect_WidthMapEntry*) jcas_GetHandle(env,theobj); - thejret = the_this->IsAllocated(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_Dump (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* the_this = (Aspect_WidthMapEntry*) jcas_GetHandle(env,theobj); -the_this->Dump(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Aspect_WidthMapEntry* theobj = (Aspect_WidthMapEntry*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_WidthMap_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_WidthMap_java.cxx deleted file mode 100755 index 18d88b9c3b..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_WidthMap_java.cxx +++ /dev/null @@ -1,239 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WidthMap_Aspect_1WidthMap_1Create_10 (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_WidthMap)* theret = new Handle(Aspect_WidthMap); -*theret = new Aspect_WidthMap(); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WidthMap_Aspect_1WidthMap_1AddEntry_11 (JNIEnv *env, jobject theobj, jobject AnEntry) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_WidthMapEntry* the_AnEntry = (Aspect_WidthMapEntry*) jcas_GetHandle(env,AnEntry); -if ( the_AnEntry == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_AnEntry = new Aspect_WidthMapEntry (); - // jcas_SetHandle ( env, AnEntry, the_AnEntry ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(Aspect_WidthMap) the_this = *((Handle(Aspect_WidthMap)*) jcas_GetHandle(env,theobj)); -the_this->AddEntry(*the_AnEntry); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1WidthMap_Aspect_1WidthMap_1AddEntry_12 (JNIEnv *env, jobject theobj, jshort aStyle) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_WidthMap) the_this = *((Handle(Aspect_WidthMap)*) jcas_GetHandle(env,theobj)); - thejret = the_this->AddEntry((Aspect_WidthOfLine) aStyle); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1WidthMap_Aspect_1WidthMap_1AddEntry_13 (JNIEnv *env, jobject theobj, jdouble aStyle) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_WidthMap) the_this = *((Handle(Aspect_WidthMap)*) jcas_GetHandle(env,theobj)); - thejret = the_this->AddEntry((Quantity_Length) aStyle); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1WidthMap_Size (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_WidthMap) the_this = *((Handle(Aspect_WidthMap)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Size(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1WidthMap_Index (JNIEnv *env, jobject theobj, jint aWidthmapIndex) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_WidthMap) the_this = *((Handle(Aspect_WidthMap)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Index((Standard_Integer) aWidthmapIndex); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1WidthMap_Entry (JNIEnv *env, jobject theobj, jint AnIndex) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_WidthMap) the_this = *((Handle(Aspect_WidthMap)*) jcas_GetHandle(env,theobj)); -Aspect_WidthMapEntry* theret = new Aspect_WidthMapEntry(the_this->Entry((Standard_Integer) AnIndex)); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_WidthMapEntry",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WidthMap_Dump (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_WidthMap) the_this = *((Handle(Aspect_WidthMap)*) jcas_GetHandle(env,theobj)); -the_this->Dump(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_WindowDriver_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_WindowDriver_java.cxx deleted file mode 100755 index 335ecb2703..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_WindowDriver_java.cxx +++ /dev/null @@ -1,842 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_BeginDraw (JNIEnv *env, jobject theobj, jboolean DoubleBuffer, jint aRetainBuffer) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_WindowDriver) the_this = *((Handle(Aspect_WindowDriver)*) jcas_GetHandle(env,theobj)); -the_this->BeginDraw((Standard_Boolean) DoubleBuffer,(Standard_Integer) aRetainBuffer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jshort JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_ResizeSpace (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_WindowDriver) the_this = *((Handle(Aspect_WindowDriver)*) jcas_GetHandle(env,theobj)); - thejret = the_this->ResizeSpace(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_Window (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_WindowDriver) the_this = *((Handle(Aspect_WindowDriver)*) jcas_GetHandle(env,theobj)); -Handle(Aspect_Window)* theret = new Handle(Aspect_Window); -*theret = the_this->Window(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_Window",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_SetDrawMode (JNIEnv *env, jobject theobj, jshort aMode) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_WindowDriver) the_this = *((Handle(Aspect_WindowDriver)*) jcas_GetHandle(env,theobj)); -the_this->SetDrawMode((Aspect_TypeOfDrawMode) aMode); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_OpenBuffer (JNIEnv *env, jobject theobj, jint aRetainBuffer, jfloat aPivotX, jfloat aPivotY, jint aWidthIndex, jint aColorIndex, jint aFontIndex, jshort aDrawMode) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_WindowDriver) the_this = *((Handle(Aspect_WindowDriver)*) jcas_GetHandle(env,theobj)); - thejret = the_this->OpenBuffer((Standard_Integer) aRetainBuffer,(Standard_ShortReal) aPivotX,(Standard_ShortReal) aPivotY,(Standard_Integer) aWidthIndex,(Standard_Integer) aColorIndex,(Standard_Integer) aFontIndex,(Aspect_TypeOfDrawMode) aDrawMode); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_CloseBuffer (JNIEnv *env, jobject theobj, jint aRetainBuffer) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_WindowDriver) the_this = *((Handle(Aspect_WindowDriver)*) jcas_GetHandle(env,theobj)); -the_this->CloseBuffer((Standard_Integer) aRetainBuffer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_ClearBuffer (JNIEnv *env, jobject theobj, jint aRetainBuffer) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_WindowDriver) the_this = *((Handle(Aspect_WindowDriver)*) jcas_GetHandle(env,theobj)); -the_this->ClearBuffer((Standard_Integer) aRetainBuffer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_DrawBuffer (JNIEnv *env, jobject theobj, jint aRetainBuffer) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_WindowDriver) the_this = *((Handle(Aspect_WindowDriver)*) jcas_GetHandle(env,theobj)); -the_this->DrawBuffer((Standard_Integer) aRetainBuffer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_EraseBuffer (JNIEnv *env, jobject theobj, jint aRetainBuffer) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_WindowDriver) the_this = *((Handle(Aspect_WindowDriver)*) jcas_GetHandle(env,theobj)); -the_this->EraseBuffer((Standard_Integer) aRetainBuffer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_MoveBuffer (JNIEnv *env, jobject theobj, jint aRetainBuffer, jfloat aPivotX, jfloat aPivotY) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_WindowDriver) the_this = *((Handle(Aspect_WindowDriver)*) jcas_GetHandle(env,theobj)); -the_this->MoveBuffer((Standard_Integer) aRetainBuffer,(Standard_ShortReal) aPivotX,(Standard_ShortReal) aPivotY); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_ScaleBuffer (JNIEnv *env, jobject theobj, jint aRetainBuffer, jdouble aScaleX, jdouble aScaleY) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_WindowDriver) the_this = *((Handle(Aspect_WindowDriver)*) jcas_GetHandle(env,theobj)); -the_this->ScaleBuffer((Standard_Integer) aRetainBuffer,(Quantity_Factor) aScaleX,(Quantity_Factor) aScaleY); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_RotateBuffer (JNIEnv *env, jobject theobj, jint aRetainBuffer, jdouble anAngle) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_WindowDriver) the_this = *((Handle(Aspect_WindowDriver)*) jcas_GetHandle(env,theobj)); -the_this->RotateBuffer((Standard_Integer) aRetainBuffer,(Quantity_PlaneAngle) anAngle); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_BufferIsOpen (JNIEnv *env, jobject theobj, jint aRetainBuffer) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_WindowDriver) the_this = *((Handle(Aspect_WindowDriver)*) jcas_GetHandle(env,theobj)); - thejret = the_this->BufferIsOpen((Standard_Integer) aRetainBuffer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_BufferIsEmpty (JNIEnv *env, jobject theobj, jint aRetainBuffer) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_WindowDriver) the_this = *((Handle(Aspect_WindowDriver)*) jcas_GetHandle(env,theobj)); - thejret = the_this->BufferIsEmpty((Standard_Integer) aRetainBuffer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_BufferIsDrawn (JNIEnv *env, jobject theobj, jint aRetainBuffer) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_WindowDriver) the_this = *((Handle(Aspect_WindowDriver)*) jcas_GetHandle(env,theobj)); - thejret = the_this->BufferIsDrawn((Standard_Integer) aRetainBuffer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_AngleOfBuffer (JNIEnv *env, jobject theobj, jint aRetainBuffer, jobject anAngle) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_anAngle = jcas_GetReal(env,anAngle); -Handle(Aspect_WindowDriver) the_this = *((Handle(Aspect_WindowDriver)*) jcas_GetHandle(env,theobj)); -the_this->AngleOfBuffer((Standard_Integer) aRetainBuffer,the_anAngle); -jcas_SetReal(env,anAngle,the_anAngle); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_ScaleOfBuffer (JNIEnv *env, jobject theobj, jint aRetainBuffer, jobject aScaleX, jobject aScaleY) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_aScaleX = jcas_GetReal(env,aScaleX); -Standard_Real the_aScaleY = jcas_GetReal(env,aScaleY); -Handle(Aspect_WindowDriver) the_this = *((Handle(Aspect_WindowDriver)*) jcas_GetHandle(env,theobj)); -the_this->ScaleOfBuffer((Standard_Integer) aRetainBuffer,the_aScaleX,the_aScaleY); -jcas_SetReal(env,aScaleX,the_aScaleX); -jcas_SetReal(env,aScaleY,the_aScaleY); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_PositionOfBuffer (JNIEnv *env, jobject theobj, jint aRetainBuffer, jobject aPivotX, jobject aPivotY) -{ - -jcas_Locking alock(env); -{ -try { -Standard_ShortReal the_aPivotX = jcas_GetShortReal(env,aPivotX); -Standard_ShortReal the_aPivotY = jcas_GetShortReal(env,aPivotY); -Handle(Aspect_WindowDriver) the_this = *((Handle(Aspect_WindowDriver)*) jcas_GetHandle(env,theobj)); -the_this->PositionOfBuffer((Standard_Integer) aRetainBuffer,the_aPivotX,the_aPivotY); -jcas_SetShortReal(env,aPivotX,the_aPivotX); -jcas_SetShortReal(env,aPivotY,the_aPivotY); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_Aspect_1WindowDriver_1TextSize_11 (JNIEnv *env, jobject theobj, jobject aText, jobject aWidth, jobject aHeight, jint aFontIndex) -{ - -jcas_Locking alock(env); -{ -try { -TCollection_ExtendedString* the_aText = (TCollection_ExtendedString*) jcas_GetHandle(env,aText); -if ( the_aText == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aText = new TCollection_ExtendedString (); - // jcas_SetHandle ( env, aText, the_aText ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Standard_ShortReal the_aWidth = jcas_GetShortReal(env,aWidth); -Standard_ShortReal the_aHeight = jcas_GetShortReal(env,aHeight); -Handle(Aspect_WindowDriver) the_this = *((Handle(Aspect_WindowDriver)*) jcas_GetHandle(env,theobj)); -the_this->TextSize(*the_aText,the_aWidth,the_aHeight,(Standard_Integer) aFontIndex); -jcas_SetShortReal(env,aWidth,the_aWidth); -jcas_SetShortReal(env,aHeight,the_aHeight); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_Aspect_1WindowDriver_1TextSize_12 (JNIEnv *env, jobject theobj, jobject aText, jobject aWidth, jobject aHeight, jobject anXoffset, jobject anYoffset, jint aFontIndex) -{ - -jcas_Locking alock(env); -{ -try { -TCollection_ExtendedString* the_aText = (TCollection_ExtendedString*) jcas_GetHandle(env,aText); -if ( the_aText == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_aText = new TCollection_ExtendedString (); - // jcas_SetHandle ( env, aText, the_aText ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Standard_ShortReal the_aWidth = jcas_GetShortReal(env,aWidth); -Standard_ShortReal the_aHeight = jcas_GetShortReal(env,aHeight); -Standard_ShortReal the_anXoffset = jcas_GetShortReal(env,anXoffset); -Standard_ShortReal the_anYoffset = jcas_GetShortReal(env,anYoffset); -Handle(Aspect_WindowDriver) the_this = *((Handle(Aspect_WindowDriver)*) jcas_GetHandle(env,theobj)); -the_this->TextSize(*the_aText,the_aWidth,the_aHeight,the_anXoffset,the_anYoffset,(Standard_Integer) aFontIndex); -jcas_SetShortReal(env,aWidth,the_aWidth); -jcas_SetShortReal(env,aHeight,the_aHeight); -jcas_SetShortReal(env,anXoffset,the_anXoffset); -jcas_SetShortReal(env,anYoffset,the_anYoffset); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_FontSize (JNIEnv *env, jobject theobj, jobject aSlant, jobject aSize, jobject aBheight, jint aFontIndex) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Standard_Real the_aSlant = jcas_GetReal(env,aSlant); -Standard_ShortReal the_aSize = jcas_GetShortReal(env,aSize); -Standard_ShortReal the_aBheight = jcas_GetShortReal(env,aBheight); -Handle(Aspect_WindowDriver) the_this = *((Handle(Aspect_WindowDriver)*) jcas_GetHandle(env,theobj)); -Standard_CString sret = the_this->FontSize(the_aSlant,the_aSize,the_aBheight,(Standard_Integer) aFontIndex); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); -jcas_SetReal(env,aSlant,the_aSlant); -jcas_SetShortReal(env,aSize,the_aSize); -jcas_SetShortReal(env,aBheight,the_aBheight); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_ColorBoundIndexs (JNIEnv *env, jobject theobj, jobject aMinIndex, jobject aMaxIndex) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Integer the_aMinIndex = jcas_GetInteger(env,aMinIndex); -Standard_Integer the_aMaxIndex = jcas_GetInteger(env,aMaxIndex); -Handle(Aspect_WindowDriver) the_this = *((Handle(Aspect_WindowDriver)*) jcas_GetHandle(env,theobj)); -the_this->ColorBoundIndexs(the_aMinIndex,the_aMaxIndex); -jcas_SetInteger(env,aMinIndex,the_aMinIndex); -jcas_SetInteger(env,aMaxIndex,the_aMaxIndex); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_LocalColorIndex (JNIEnv *env, jobject theobj, jint anIndex) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_WindowDriver) the_this = *((Handle(Aspect_WindowDriver)*) jcas_GetHandle(env,theobj)); - thejret = the_this->LocalColorIndex((Standard_Integer) anIndex); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_FontBoundIndexs (JNIEnv *env, jobject theobj, jobject aMinIndex, jobject aMaxIndex) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Integer the_aMinIndex = jcas_GetInteger(env,aMinIndex); -Standard_Integer the_aMaxIndex = jcas_GetInteger(env,aMaxIndex); -Handle(Aspect_WindowDriver) the_this = *((Handle(Aspect_WindowDriver)*) jcas_GetHandle(env,theobj)); -the_this->FontBoundIndexs(the_aMinIndex,the_aMaxIndex); -jcas_SetInteger(env,aMinIndex,the_aMinIndex); -jcas_SetInteger(env,aMaxIndex,the_aMaxIndex); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_LocalFontIndex (JNIEnv *env, jobject theobj, jint anIndex) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_WindowDriver) the_this = *((Handle(Aspect_WindowDriver)*) jcas_GetHandle(env,theobj)); - thejret = the_this->LocalFontIndex((Standard_Integer) anIndex); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_TypeBoundIndexs (JNIEnv *env, jobject theobj, jobject aMinIndex, jobject aMaxIndex) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Integer the_aMinIndex = jcas_GetInteger(env,aMinIndex); -Standard_Integer the_aMaxIndex = jcas_GetInteger(env,aMaxIndex); -Handle(Aspect_WindowDriver) the_this = *((Handle(Aspect_WindowDriver)*) jcas_GetHandle(env,theobj)); -the_this->TypeBoundIndexs(the_aMinIndex,the_aMaxIndex); -jcas_SetInteger(env,aMinIndex,the_aMinIndex); -jcas_SetInteger(env,aMaxIndex,the_aMaxIndex); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_LocalTypeIndex (JNIEnv *env, jobject theobj, jint anIndex) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_WindowDriver) the_this = *((Handle(Aspect_WindowDriver)*) jcas_GetHandle(env,theobj)); - thejret = the_this->LocalTypeIndex((Standard_Integer) anIndex); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_WidthBoundIndexs (JNIEnv *env, jobject theobj, jobject aMinIndex, jobject aMaxIndex) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Integer the_aMinIndex = jcas_GetInteger(env,aMinIndex); -Standard_Integer the_aMaxIndex = jcas_GetInteger(env,aMaxIndex); -Handle(Aspect_WindowDriver) the_this = *((Handle(Aspect_WindowDriver)*) jcas_GetHandle(env,theobj)); -the_this->WidthBoundIndexs(the_aMinIndex,the_aMaxIndex); -jcas_SetInteger(env,aMinIndex,the_aMinIndex); -jcas_SetInteger(env,aMaxIndex,the_aMaxIndex); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_LocalWidthIndex (JNIEnv *env, jobject theobj, jint anIndex) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_WindowDriver) the_this = *((Handle(Aspect_WindowDriver)*) jcas_GetHandle(env,theobj)); - thejret = the_this->LocalWidthIndex((Standard_Integer) anIndex); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_MarkBoundIndexs (JNIEnv *env, jobject theobj, jobject aMinIndex, jobject aMaxIndex) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Integer the_aMinIndex = jcas_GetInteger(env,aMinIndex); -Standard_Integer the_aMaxIndex = jcas_GetInteger(env,aMaxIndex); -Handle(Aspect_WindowDriver) the_this = *((Handle(Aspect_WindowDriver)*) jcas_GetHandle(env,theobj)); -the_this->MarkBoundIndexs(the_aMinIndex,the_aMaxIndex); -jcas_SetInteger(env,aMinIndex,the_aMinIndex); -jcas_SetInteger(env,aMaxIndex,the_aMaxIndex); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_LocalMarkIndex (JNIEnv *env, jobject theobj, jint anIndex) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_WindowDriver) the_this = *((Handle(Aspect_WindowDriver)*) jcas_GetHandle(env,theobj)); - thejret = the_this->LocalMarkIndex((Standard_Integer) anIndex); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_Window_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_Window_java.cxx deleted file mode 100755 index 7dfb7bfc71..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_Aspect_Window_java.cxx +++ /dev/null @@ -1,957 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_Aspect_1Window_1SetBackground_11 (JNIEnv *env, jobject theobj, jobject ABack) -{ - -jcas_Locking alock(env); -{ -try { -Aspect_Background* the_ABack = (Aspect_Background*) jcas_GetHandle(env,ABack); -if ( the_ABack == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_ABack = new Aspect_Background (); - // jcas_SetHandle ( env, ABack, the_ABack ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); -the_this->SetBackground(*the_ABack); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_Aspect_1Window_1SetBackground_12 (JNIEnv *env, jobject theobj, jshort BackColor) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); -the_this->SetBackground((Quantity_NameOfColor) BackColor); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_Aspect_1Window_1SetBackground_13 (JNIEnv *env, jobject theobj, jobject color) -{ - -jcas_Locking alock(env); -{ -try { -Quantity_Color* the_color = (Quantity_Color*) jcas_GetHandle(env,color); -if ( the_color == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_color = new Quantity_Color (); - // jcas_SetHandle ( env, color, the_color ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); -the_this->SetBackground(*the_color); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1Window_Aspect_1Window_1SetBackground_14 (JNIEnv *env, jobject theobj, jobject aName, jshort aMethod) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aName = jcas_ConvertToCString(env,aName); -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); - thejret = the_this->SetBackground(the_aName,(Aspect_FillMethod) aMethod); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_SetDoubleBuffer (JNIEnv *env, jobject theobj, jboolean DBmode) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); -the_this->SetDoubleBuffer((Standard_Boolean) DBmode); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_Flush (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); -the_this->Flush(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_Map (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); -the_this->Map(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_Unmap (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); -the_this->Unmap(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jshort JNICALL Java_SampleHLRJni_Aspect_1Window_DoResize (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); - thejret = the_this->DoResize(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1Window_DoMapping (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); - thejret = the_this->DoMapping(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_Destroy (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); -the_this->Destroy(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_Clear (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); -the_this->Clear(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_ClearArea (JNIEnv *env, jobject theobj, jint XCenter, jint YCenter, jint Width, jint Height) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); -the_this->ClearArea((Standard_Integer) XCenter,(Standard_Integer) YCenter,(Standard_Integer) Width,(Standard_Integer) Height); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_Restore (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); -the_this->Restore(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_RestoreArea (JNIEnv *env, jobject theobj, jint XCenter, jint YCenter, jint Width, jint Height) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); -the_this->RestoreArea((Standard_Integer) XCenter,(Standard_Integer) YCenter,(Standard_Integer) Width,(Standard_Integer) Height); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1Window_Dump (JNIEnv *env, jobject theobj, jobject aFilename, jdouble aGammaValue) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aFilename = jcas_ConvertToCString(env,aFilename); -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Dump(the_aFilename,(Standard_Real) aGammaValue); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1Window_DumpArea (JNIEnv *env, jobject theobj, jobject aFilename, jint Xc, jint Yc, jint Width, jint Height, jdouble aGammaValue) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aFilename = jcas_ConvertToCString(env,aFilename); -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); - thejret = the_this->DumpArea(the_aFilename,(Standard_Integer) Xc,(Standard_Integer) Yc,(Standard_Integer) Width,(Standard_Integer) Height,(Standard_Real) aGammaValue); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1Window_Load (JNIEnv *env, jobject theobj, jobject aFilename) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aFilename = jcas_ConvertToCString(env,aFilename); -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Load(the_aFilename); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1Window_LoadArea (JNIEnv *env, jobject theobj, jobject aFilename, jint Xc, jint Yc, jint Width, jint Height) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aFilename = jcas_ConvertToCString(env,aFilename); -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); - thejret = the_this->LoadArea(the_aFilename,(Standard_Integer) Xc,(Standard_Integer) Yc,(Standard_Integer) Width,(Standard_Integer) Height); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1Window_Background (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); -Aspect_Background* theret = new Aspect_Background(the_this->Background()); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_Background",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1Window_BackgroundImage (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); -Standard_CString sret = the_this->BackgroundImage(); -jclass CLSret = env->FindClass("jcas/Standard_CString"); -thejret = env->AllocObject(CLSret); -jcas_SetCStringValue(env,thejret,sret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_SampleHLRJni_Aspect_1Window_BackgroundFillMethod (JNIEnv *env, jobject theobj) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); - thejret = the_this->BackgroundFillMethod(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1Window_GraphicDevice (JNIEnv *env, jobject theobj) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); -Handle(Aspect_GraphicDevice)* theret = new Handle(Aspect_GraphicDevice); -*theret = the_this->GraphicDevice(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_GraphicDevice",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1Window_IsMapped (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); - thejret = the_this->IsMapped(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jdouble JNICALL Java_SampleHLRJni_Aspect_1Window_Ratio (JNIEnv *env, jobject theobj) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Ratio(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_Aspect_1Window_1Position_11 (JNIEnv *env, jobject theobj, jobject X1, jobject Y1, jobject X2, jobject Y2) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_X1 = jcas_GetReal(env,X1); -Standard_Real the_Y1 = jcas_GetReal(env,Y1); -Standard_Real the_X2 = jcas_GetReal(env,X2); -Standard_Real the_Y2 = jcas_GetReal(env,Y2); -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); -the_this->Position(the_X1,the_Y1,the_X2,the_Y2); -jcas_SetReal(env,X1,the_X1); -jcas_SetReal(env,Y1,the_Y1); -jcas_SetReal(env,X2,the_X2); -jcas_SetReal(env,Y2,the_Y2); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_Aspect_1Window_1Position_12 (JNIEnv *env, jobject theobj, jobject X1, jobject Y1, jobject X2, jobject Y2) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Integer the_X1 = jcas_GetInteger(env,X1); -Standard_Integer the_Y1 = jcas_GetInteger(env,Y1); -Standard_Integer the_X2 = jcas_GetInteger(env,X2); -Standard_Integer the_Y2 = jcas_GetInteger(env,Y2); -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); -the_this->Position(the_X1,the_Y1,the_X2,the_Y2); -jcas_SetInteger(env,X1,the_X1); -jcas_SetInteger(env,Y1,the_Y1); -jcas_SetInteger(env,X2,the_X2); -jcas_SetInteger(env,Y2,the_Y2); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_Aspect_1Window_1Size_11 (JNIEnv *env, jobject theobj, jobject Width, jobject Height) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_Width = jcas_GetReal(env,Width); -Standard_Real the_Height = jcas_GetReal(env,Height); -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); -the_this->Size(the_Width,the_Height); -jcas_SetReal(env,Width,the_Width); -jcas_SetReal(env,Height,the_Height); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_Aspect_1Window_1Size_12 (JNIEnv *env, jobject theobj, jobject Width, jobject Height) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Integer the_Width = jcas_GetInteger(env,Width); -Standard_Integer the_Height = jcas_GetInteger(env,Height); -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); -the_this->Size(the_Width,the_Height); -jcas_SetInteger(env,Width,the_Width); -jcas_SetInteger(env,Height,the_Height); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_MMSize (JNIEnv *env, jobject theobj, jobject Width, jobject Height) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_Width = jcas_GetReal(env,Width); -Standard_Real the_Height = jcas_GetReal(env,Height); -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); -the_this->MMSize(the_Width,the_Height); -jcas_SetReal(env,Width,the_Width); -jcas_SetReal(env,Height,the_Height); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jdouble JNICALL Java_SampleHLRJni_Aspect_1Window_Aspect_1Window_1Convert_11 (JNIEnv *env, jobject theobj, jint PV) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Convert((Standard_Integer) PV); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1Window_Aspect_1Window_1Convert_12 (JNIEnv *env, jobject theobj, jdouble DV) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Convert((Quantity_Parameter) DV); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_Aspect_1Window_1Convert_13 (JNIEnv *env, jobject theobj, jint PX, jint PY, jobject DX, jobject DY) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Real the_DX = jcas_GetReal(env,DX); -Standard_Real the_DY = jcas_GetReal(env,DY); -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); -the_this->Convert((Standard_Integer) PX,(Standard_Integer) PY,the_DX,the_DY); -jcas_SetReal(env,DX,the_DX); -jcas_SetReal(env,DY,the_DY); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_Aspect_1Window_1Convert_14 (JNIEnv *env, jobject theobj, jdouble DX, jdouble DY, jobject PX, jobject PY) -{ - -jcas_Locking alock(env); -{ -try { -Standard_Integer the_PX = jcas_GetInteger(env,PX); -Standard_Integer the_PY = jcas_GetInteger(env,PY); -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); -the_this->Convert((Quantity_Parameter) DX,(Quantity_Parameter) DY,the_PX,the_PY); -jcas_SetInteger(env,PX,the_PX); -jcas_SetInteger(env,PY,the_PY); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1Window_BackingStore (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); - thejret = the_this->BackingStore(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1Window_DoubleBuffer (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_Window) the_this = *((Handle(Aspect_Window)*) jcas_GetHandle(env,theobj)); - thejret = the_this->DoubleBuffer(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_ISession2D_InteractiveContext_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_ISession2D_InteractiveContext_java.cxx deleted file mode 100755 index 7bebc498cf..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_ISession2D_InteractiveContext_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_Quantity_Color_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_Quantity_Color_java.cxx deleted file mode 100755 index 215b2a60a9..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_Quantity_Color_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleHLRJni_Quantity_1Color_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Quantity_Color* theobj = (Quantity_Color*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_SampleHLRPackage_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_SampleHLRPackage_java.cxx deleted file mode 100755 index d297bf84a9..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_SampleHLRPackage_java.cxx +++ /dev/null @@ -1,434 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_SampleHLRPackage_CreateViewer3d (JNIEnv *env, jclass, jstring aName) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Standard_ExtString the_aName = jcas_ConvertToExtString(env,aName); -Handle(V3d_Viewer)* theret = new Handle(V3d_Viewer); -*theret = SampleHLRPackage::CreateViewer3d(the_aName); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/V3d_Viewer",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_SampleHLRPackage_SetWindow3d (JNIEnv *env, jclass, jobject aView, jint hiwin, jint lowin) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -SampleHLRPackage::SetWindow3d(the_aView,(Standard_Integer) hiwin,(Standard_Integer) lowin); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_SampleHLRPackage_CreateViewer2d (JNIEnv *env, jclass, jstring aName) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Standard_ExtString the_aName = jcas_ConvertToExtString(env,aName); -Handle(V2d_Viewer)* theret = new Handle(V2d_Viewer); -*theret = SampleHLRPackage::CreateViewer2d(the_aName); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/V2d_Viewer",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_SampleHLRPackage_CreateView2d (JNIEnv *env, jclass, jobject aViewer, jint hiwin, jint lowin) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { - Handle( V2d_Viewer ) the_aViewer; - void* ptr_aViewer = jcas_GetHandle(env,aViewer); - - if ( ptr_aViewer != NULL ) the_aViewer = *( ( Handle( V2d_Viewer )* )ptr_aViewer ); - -Handle(V2d_View)* theret = new Handle(V2d_View); -*theret = SampleHLRPackage::CreateView2d(the_aViewer,(Standard_Integer) hiwin,(Standard_Integer) lowin); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/V2d_View",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_SampleHLRPackage_InitMaps (JNIEnv *env, jclass, jobject aViewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V2d_Viewer ) the_aViewer; - void* ptr_aViewer = jcas_GetHandle(env,aViewer); - - if ( ptr_aViewer != NULL ) the_aViewer = *( ( Handle( V2d_Viewer )* )ptr_aViewer ); - -SampleHLRPackage::InitMaps(the_aViewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_SampleHLRPackage_DisplayTrihedron (JNIEnv *env, jclass, jobject aContext) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -SampleHLRPackage::DisplayTrihedron(the_aContext); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_SampleHLRPackage_GetShapes (JNIEnv *env, jclass, jobject aSrcContext, jobject aDestContext) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aSrcContext; - void* ptr_aSrcContext = jcas_GetHandle(env,aSrcContext); - - if ( ptr_aSrcContext != NULL ) the_aSrcContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aSrcContext ); - - Handle( AIS_InteractiveContext ) the_aDestContext; - void* ptr_aDestContext = jcas_GetHandle(env,aDestContext); - - if ( ptr_aDestContext != NULL ) the_aDestContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aDestContext ); - - thejret = SampleHLRPackage::GetShapes(the_aSrcContext,the_aDestContext); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_SampleHLRPackage_Apply (JNIEnv *env, jclass, jobject aContext2d, jint aDisplayMode) -{ - -jcas_Locking alock(env); -{ -try { - Handle( ISession2D_InteractiveContext ) the_aContext2d; - void* ptr_aContext2d = jcas_GetHandle(env,aContext2d); - - if ( ptr_aContext2d != NULL ) the_aContext2d = *( ( Handle( ISession2D_InteractiveContext )* )ptr_aContext2d ); - -SampleHLRPackage::Apply(the_aContext2d,(Standard_Integer) aDisplayMode); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_SampleHLRPackage_UpdateProjector (JNIEnv *env, jclass, jobject aView) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -SampleHLRPackage::UpdateProjector(the_aView); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_SampleHLRPackage_SetNbIsos (JNIEnv *env, jclass, jint aNbIsos) -{ - -jcas_Locking alock(env); -{ -try { -SampleHLRPackage::SetNbIsos((Standard_Integer) aNbIsos); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_SampleHLRPackage_ReadBRep (JNIEnv *env, jclass, jobject aFileName, jobject aContext) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aFileName = jcas_ConvertToCString(env,aFileName); - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - - thejret = SampleHLRPackage::ReadBRep(the_aFileName,the_aContext); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_SampleHLRPackage_SaveBRep (JNIEnv *env, jclass, jobject aFileName, jobject aContext) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aFileName = jcas_ConvertToCString(env,aFileName); - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - - thejret = SampleHLRPackage::SaveBRep(the_aFileName,the_aContext); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_SampleHLRPackage_SampleHLRPackage_1SaveImage_11 (JNIEnv *env, jclass, jobject aFileName, jobject aFormat, jobject aView) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aFileName = jcas_ConvertToCString(env,aFileName); -Standard_CString the_aFormat = jcas_ConvertToCString(env,aFormat); - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - - thejret = SampleHLRPackage::SaveImage(the_aFileName,the_aFormat,the_aView); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_SampleHLRPackage_SampleHLRPackage_1SaveImage_12 (JNIEnv *env, jclass, jobject aFileName, jobject aFormat, jobject aView) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aFileName = jcas_ConvertToCString(env,aFileName); -Standard_CString the_aFormat = jcas_ConvertToCString(env,aFormat); - Handle( V2d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V2d_View )* )ptr_aView ); - - thejret = SampleHLRPackage::SaveImage(the_aFileName,the_aFormat,the_aView); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_Standard_Type_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_Standard_Type_java.cxx deleted file mode 100755 index 99428d5fe1..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_Standard_Type_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_TColQuantity_Array1OfLength_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_TColQuantity_Array1OfLength_java.cxx deleted file mode 100755 index cf50360a9a..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_TColQuantity_Array1OfLength_java.cxx +++ /dev/null @@ -1,341 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleHLRJni_TColQuantity_1Array1OfLength_TColQuantity_1Array1OfLength_1Create_11 (JNIEnv *env, jobject theobj, jint Low, jint Up) -{ - -jcas_Locking alock(env); -{ -try { -TColQuantity_Array1OfLength* theret = new TColQuantity_Array1OfLength((Standard_Integer) Low,(Standard_Integer) Up); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_TColQuantity_1Array1OfLength_TColQuantity_1Array1OfLength_1Create_12 (JNIEnv *env, jobject theobj, jdouble Item, jint Low, jint Up) -{ - -jcas_Locking alock(env); -{ -try { -TColQuantity_Array1OfLength* theret = new TColQuantity_Array1OfLength((Quantity_Length) Item,(Standard_Integer) Low,(Standard_Integer) Up); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_TColQuantity_1Array1OfLength_Init (JNIEnv *env, jobject theobj, jdouble V) -{ - -jcas_Locking alock(env); -{ -try { -TColQuantity_Array1OfLength* the_this = (TColQuantity_Array1OfLength*) jcas_GetHandle(env,theobj); -the_this->Init((Quantity_Length) V); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_TColQuantity_1Array1OfLength_Destroy (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -TColQuantity_Array1OfLength* the_this = (TColQuantity_Array1OfLength*) jcas_GetHandle(env,theobj); -the_this->Destroy(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_TColQuantity_1Array1OfLength_IsAllocated (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TColQuantity_Array1OfLength* the_this = (TColQuantity_Array1OfLength*) jcas_GetHandle(env,theobj); - thejret = the_this->IsAllocated(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_TColQuantity_1Array1OfLength_Assign (JNIEnv *env, jobject theobj, jobject Other) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -TColQuantity_Array1OfLength* the_Other = (TColQuantity_Array1OfLength*) jcas_GetHandle(env,Other); -if ( the_Other == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Other = new TColQuantity_Array1OfLength (); - // jcas_SetHandle ( env, Other, the_Other ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TColQuantity_Array1OfLength* the_this = (TColQuantity_Array1OfLength*) jcas_GetHandle(env,theobj); -const TColQuantity_Array1OfLength& theret = the_this->Assign(*the_Other); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TColQuantity_Array1OfLength",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_TColQuantity_1Array1OfLength_Length (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -TColQuantity_Array1OfLength* the_this = (TColQuantity_Array1OfLength*) jcas_GetHandle(env,theobj); - thejret = the_this->Length(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_TColQuantity_1Array1OfLength_Lower (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -TColQuantity_Array1OfLength* the_this = (TColQuantity_Array1OfLength*) jcas_GetHandle(env,theobj); - thejret = the_this->Lower(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_TColQuantity_1Array1OfLength_Upper (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -TColQuantity_Array1OfLength* the_this = (TColQuantity_Array1OfLength*) jcas_GetHandle(env,theobj); - thejret = the_this->Upper(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_TColQuantity_1Array1OfLength_SetValue (JNIEnv *env, jobject theobj, jint Index, jdouble Value) -{ - -jcas_Locking alock(env); -{ -try { -TColQuantity_Array1OfLength* the_this = (TColQuantity_Array1OfLength*) jcas_GetHandle(env,theobj); -the_this->SetValue((Standard_Integer) Index,(Quantity_Length) Value); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jdouble JNICALL Java_SampleHLRJni_TColQuantity_1Array1OfLength_Value (JNIEnv *env, jobject theobj, jint Index) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -TColQuantity_Array1OfLength* the_this = (TColQuantity_Array1OfLength*) jcas_GetHandle(env,theobj); - thejret = the_this->Value((Standard_Integer) Index); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jdouble JNICALL Java_SampleHLRJni_TColQuantity_1Array1OfLength_ChangeValue (JNIEnv *env, jobject theobj, jint Index) -{ -jdouble thejret; - -jcas_Locking alock(env); -{ -try { -TColQuantity_Array1OfLength* the_this = (TColQuantity_Array1OfLength*) jcas_GetHandle(env,theobj); - thejret = the_this->ChangeValue((Standard_Integer) Index); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_TColQuantity_1Array1OfLength_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - TColQuantity_Array1OfLength* theobj = (TColQuantity_Array1OfLength*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_TColQuantity_HArray1OfLength_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_TColQuantity_HArray1OfLength_java.cxx deleted file mode 100755 index deef46d865..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_TColQuantity_HArray1OfLength_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_TColStd_Array1OfBoolean_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_TColStd_Array1OfBoolean_java.cxx deleted file mode 100755 index 1a8670823d..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_TColStd_Array1OfBoolean_java.cxx +++ /dev/null @@ -1,340 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleHLRJni_TColStd_1Array1OfBoolean_TColStd_1Array1OfBoolean_1Create_11 (JNIEnv *env, jobject theobj, jint Low, jint Up) -{ - -jcas_Locking alock(env); -{ -try { -TColStd_Array1OfBoolean* theret = new TColStd_Array1OfBoolean((Standard_Integer) Low,(Standard_Integer) Up); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_TColStd_1Array1OfBoolean_TColStd_1Array1OfBoolean_1Create_12 (JNIEnv *env, jobject theobj, jboolean Item, jint Low, jint Up) -{ - -jcas_Locking alock(env); -{ -try { -TColStd_Array1OfBoolean* theret = new TColStd_Array1OfBoolean((Standard_Boolean) Item,(Standard_Integer) Low,(Standard_Integer) Up); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_TColStd_1Array1OfBoolean_Init (JNIEnv *env, jobject theobj, jboolean V) -{ - -jcas_Locking alock(env); -{ -try { -TColStd_Array1OfBoolean* the_this = (TColStd_Array1OfBoolean*) jcas_GetHandle(env,theobj); -the_this->Init((Standard_Boolean) V); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_TColStd_1Array1OfBoolean_Destroy (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -TColStd_Array1OfBoolean* the_this = (TColStd_Array1OfBoolean*) jcas_GetHandle(env,theobj); -the_this->Destroy(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_TColStd_1Array1OfBoolean_IsAllocated (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TColStd_Array1OfBoolean* the_this = (TColStd_Array1OfBoolean*) jcas_GetHandle(env,theobj); - thejret = the_this->IsAllocated(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_TColStd_1Array1OfBoolean_Assign (JNIEnv *env, jobject theobj, jobject Other) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -TColStd_Array1OfBoolean* the_Other = (TColStd_Array1OfBoolean*) jcas_GetHandle(env,Other); -if ( the_Other == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Other = new TColStd_Array1OfBoolean (); - // jcas_SetHandle ( env, Other, the_Other ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TColStd_Array1OfBoolean* the_this = (TColStd_Array1OfBoolean*) jcas_GetHandle(env,theobj); -const TColStd_Array1OfBoolean& theret = the_this->Assign(*the_Other); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TColStd_Array1OfBoolean",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_TColStd_1Array1OfBoolean_Length (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -TColStd_Array1OfBoolean* the_this = (TColStd_Array1OfBoolean*) jcas_GetHandle(env,theobj); - thejret = the_this->Length(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_TColStd_1Array1OfBoolean_Lower (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -TColStd_Array1OfBoolean* the_this = (TColStd_Array1OfBoolean*) jcas_GetHandle(env,theobj); - thejret = the_this->Lower(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_TColStd_1Array1OfBoolean_Upper (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -TColStd_Array1OfBoolean* the_this = (TColStd_Array1OfBoolean*) jcas_GetHandle(env,theobj); - thejret = the_this->Upper(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_TColStd_1Array1OfBoolean_SetValue (JNIEnv *env, jobject theobj, jint Index, jboolean Value) -{ - -jcas_Locking alock(env); -{ -try { -TColStd_Array1OfBoolean* the_this = (TColStd_Array1OfBoolean*) jcas_GetHandle(env,theobj); -the_this->SetValue((Standard_Integer) Index,(Standard_Boolean) Value); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_TColStd_1Array1OfBoolean_Value (JNIEnv *env, jobject theobj, jint Index) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TColStd_Array1OfBoolean* the_this = (TColStd_Array1OfBoolean*) jcas_GetHandle(env,theobj); - thejret = the_this->Value((Standard_Integer) Index); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_TColStd_1Array1OfBoolean_ChangeValue (JNIEnv *env, jobject theobj, jint Index) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TColStd_Array1OfBoolean* the_this = (TColStd_Array1OfBoolean*) jcas_GetHandle(env,theobj); - thejret = the_this->ChangeValue((Standard_Integer) Index); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_TColStd_1Array1OfBoolean_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - TColStd_Array1OfBoolean* theobj = (TColStd_Array1OfBoolean*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_TColStd_Array1OfReal_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_TColStd_Array1OfReal_java.cxx deleted file mode 100755 index 8e8d87c36a..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_TColStd_Array1OfReal_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleHLRJni_TColStd_1Array1OfReal_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - TColStd_Array1OfReal* theobj = (TColStd_Array1OfReal*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_TCollection_AsciiString_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_TCollection_AsciiString_java.cxx deleted file mode 100755 index 7249d5d148..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_TCollection_AsciiString_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleHLRJni_TCollection_1AsciiString_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - TCollection_AsciiString* theobj = (TCollection_AsciiString*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_TCollection_ExtendedString_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_TCollection_ExtendedString_java.cxx deleted file mode 100755 index eeae9d452e..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_TCollection_ExtendedString_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleHLRJni_TCollection_1ExtendedString_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - TCollection_ExtendedString* theobj = (TCollection_ExtendedString*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_TShort_Array1OfShortReal_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_TShort_Array1OfShortReal_java.cxx deleted file mode 100755 index 32cb1e238d..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_TShort_Array1OfShortReal_java.cxx +++ /dev/null @@ -1,341 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleHLRJni_TShort_1Array1OfShortReal_TShort_1Array1OfShortReal_1Create_11 (JNIEnv *env, jobject theobj, jint Low, jint Up) -{ - -jcas_Locking alock(env); -{ -try { -TShort_Array1OfShortReal* theret = new TShort_Array1OfShortReal((Standard_Integer) Low,(Standard_Integer) Up); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_TShort_1Array1OfShortReal_TShort_1Array1OfShortReal_1Create_12 (JNIEnv *env, jobject theobj, jfloat Item, jint Low, jint Up) -{ - -jcas_Locking alock(env); -{ -try { -TShort_Array1OfShortReal* theret = new TShort_Array1OfShortReal((Standard_ShortReal) Item,(Standard_Integer) Low,(Standard_Integer) Up); -jcas_SetHandle(env,theobj,theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_TShort_1Array1OfShortReal_Init (JNIEnv *env, jobject theobj, jfloat V) -{ - -jcas_Locking alock(env); -{ -try { -TShort_Array1OfShortReal* the_this = (TShort_Array1OfShortReal*) jcas_GetHandle(env,theobj); -the_this->Init((Standard_ShortReal) V); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_TShort_1Array1OfShortReal_Destroy (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -TShort_Array1OfShortReal* the_this = (TShort_Array1OfShortReal*) jcas_GetHandle(env,theobj); -the_this->Destroy(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_TShort_1Array1OfShortReal_IsAllocated (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -TShort_Array1OfShortReal* the_this = (TShort_Array1OfShortReal*) jcas_GetHandle(env,theobj); - thejret = the_this->IsAllocated(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_TShort_1Array1OfShortReal_Assign (JNIEnv *env, jobject theobj, jobject Other) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -TShort_Array1OfShortReal* the_Other = (TShort_Array1OfShortReal*) jcas_GetHandle(env,Other); -if ( the_Other == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Other = new TShort_Array1OfShortReal (); - // jcas_SetHandle ( env, Other, the_Other ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TShort_Array1OfShortReal* the_this = (TShort_Array1OfShortReal*) jcas_GetHandle(env,theobj); -const TShort_Array1OfShortReal& theret = the_this->Assign(*the_Other); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/TShort_Array1OfShortReal",&theret,0); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_TShort_1Array1OfShortReal_Length (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -TShort_Array1OfShortReal* the_this = (TShort_Array1OfShortReal*) jcas_GetHandle(env,theobj); - thejret = the_this->Length(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_TShort_1Array1OfShortReal_Lower (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -TShort_Array1OfShortReal* the_this = (TShort_Array1OfShortReal*) jcas_GetHandle(env,theobj); - thejret = the_this->Lower(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleHLRJni_TShort_1Array1OfShortReal_Upper (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -TShort_Array1OfShortReal* the_this = (TShort_Array1OfShortReal*) jcas_GetHandle(env,theobj); - thejret = the_this->Upper(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_TShort_1Array1OfShortReal_SetValue (JNIEnv *env, jobject theobj, jint Index, jfloat Value) -{ - -jcas_Locking alock(env); -{ -try { -TShort_Array1OfShortReal* the_this = (TShort_Array1OfShortReal*) jcas_GetHandle(env,theobj); -the_this->SetValue((Standard_Integer) Index,(Standard_ShortReal) Value); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jfloat JNICALL Java_SampleHLRJni_TShort_1Array1OfShortReal_Value (JNIEnv *env, jobject theobj, jint Index) -{ -jfloat thejret; - -jcas_Locking alock(env); -{ -try { -TShort_Array1OfShortReal* the_this = (TShort_Array1OfShortReal*) jcas_GetHandle(env,theobj); - thejret = the_this->Value((Standard_Integer) Index); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jfloat JNICALL Java_SampleHLRJni_TShort_1Array1OfShortReal_ChangeValue (JNIEnv *env, jobject theobj, jint Index) -{ -jfloat thejret; - -jcas_Locking alock(env); -{ -try { -TShort_Array1OfShortReal* the_this = (TShort_Array1OfShortReal*) jcas_GetHandle(env,theobj); - thejret = the_this->ChangeValue((Standard_Integer) Index); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_TShort_1Array1OfShortReal_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - TShort_Array1OfShortReal* theobj = (TShort_Array1OfShortReal*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_V2d_DefaultMap_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_V2d_DefaultMap_java.cxx deleted file mode 100755 index b767509598..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_V2d_DefaultMap_java.cxx +++ /dev/null @@ -1,173 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_V2d_1DefaultMap_ColorMap (JNIEnv *env, jclass) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_GenericColorMap)* theret = new Handle(Aspect_GenericColorMap); -*theret = V2d_DefaultMap::ColorMap(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_GenericColorMap",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_V2d_1DefaultMap_TypeMap (JNIEnv *env, jclass) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_TypeMap)* theret = new Handle(Aspect_TypeMap); -*theret = V2d_DefaultMap::TypeMap(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_TypeMap",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_V2d_1DefaultMap_WidthMap (JNIEnv *env, jclass) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_WidthMap)* theret = new Handle(Aspect_WidthMap); -*theret = V2d_DefaultMap::WidthMap(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_WidthMap",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_V2d_1DefaultMap_FontMap (JNIEnv *env, jclass) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_FontMap)* theret = new Handle(Aspect_FontMap); -*theret = V2d_DefaultMap::FontMap(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_FontMap",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jobject JNICALL Java_SampleHLRJni_V2d_1DefaultMap_MarkMap (JNIEnv *env, jclass) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Aspect_MarkMap)* theret = new Handle(Aspect_MarkMap); -*theret = V2d_DefaultMap::MarkMap(); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/Aspect_MarkMap",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleHLRJni_V2d_1DefaultMap_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - V2d_DefaultMap* theobj = (V2d_DefaultMap*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_V2d_View_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_V2d_View_java.cxx deleted file mode 100755 index 49fc5830ae..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_V2d_View_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_V2d_Viewer_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_V2d_Viewer_java.cxx deleted file mode 100755 index e16165fae9..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_V2d_Viewer_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_V3d_View_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_V3d_View_java.cxx deleted file mode 100755 index 5403df95d0..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_V3d_View_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_V3d_Viewer_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_V3d_Viewer_java.cxx deleted file mode 100755 index ff38a7cfd1..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_V3d_Viewer_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_Viewer_View_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_Viewer_View_java.cxx deleted file mode 100755 index 5b280ba758..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_Viewer_View_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleHLRJni/SampleHLRJni_Viewer_Viewer_java.cxx b/samples/java/drv/SampleHLRJni/SampleHLRJni_Viewer_Viewer_java.cxx deleted file mode 100755 index 574167735c..0000000000 --- a/samples/java/drv/SampleHLRJni/SampleHLRJni_Viewer_Viewer_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleHLRPackage/SampleHLRPackage.ixx b/samples/java/drv/SampleHLRPackage/SampleHLRPackage.ixx deleted file mode 100755 index 4f7d81585d..0000000000 --- a/samples/java/drv/SampleHLRPackage/SampleHLRPackage.ixx +++ /dev/null @@ -1,19 +0,0 @@ -// File generated by CPPExt (Value) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// -#include - - - - diff --git a/samples/java/drv/SampleHLRPackage/SampleHLRPackage.jxx b/samples/java/drv/SampleHLRPackage/SampleHLRPackage.jxx deleted file mode 100755 index e3b73c2704..0000000000 --- a/samples/java/drv/SampleHLRPackage/SampleHLRPackage.jxx +++ /dev/null @@ -1,21 +0,0 @@ -#ifndef _V3d_Viewer_HeaderFile -#include -#endif -#ifndef _V3d_View_HeaderFile -#include -#endif -#ifndef _V2d_Viewer_HeaderFile -#include -#endif -#ifndef _V2d_View_HeaderFile -#include -#endif -#ifndef _AIS_InteractiveContext_HeaderFile -#include -#endif -#ifndef _ISession2D_InteractiveContext_HeaderFile -#include -#endif -#ifndef _SampleHLRPackage_HeaderFile -#include -#endif diff --git a/samples/java/drv/SampleImportExportJni/SampleImportExportJni_AIS_InteractiveContext_java.cxx b/samples/java/drv/SampleImportExportJni/SampleImportExportJni_AIS_InteractiveContext_java.cxx deleted file mode 100755 index 78df9e3be9..0000000000 --- a/samples/java/drv/SampleImportExportJni/SampleImportExportJni_AIS_InteractiveContext_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleImportExportJni/SampleImportExportJni_SampleImportExportPackage_java.cxx b/samples/java/drv/SampleImportExportJni/SampleImportExportJni_SampleImportExportPackage_java.cxx deleted file mode 100755 index 7bf7a969d3..0000000000 --- a/samples/java/drv/SampleImportExportJni/SampleImportExportJni_SampleImportExportPackage_java.cxx +++ /dev/null @@ -1,382 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT jobject JNICALL Java_SampleImportExportJni_SampleImportExportPackage_CreateViewer3d (JNIEnv *env, jclass, jstring aName) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Standard_ExtString the_aName = jcas_ConvertToExtString(env,aName); -Handle(V3d_Viewer)* theret = new Handle(V3d_Viewer); -*theret = SampleImportExportPackage::CreateViewer3d(the_aName); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/V3d_Viewer",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleImportExportJni_SampleImportExportPackage_SetWindow3d (JNIEnv *env, jclass, jobject aView, jint hiwin, jint lowin) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -SampleImportExportPackage::SetWindow3d(the_aView,(Standard_Integer) hiwin,(Standard_Integer) lowin); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_SampleImportExportJni_SampleImportExportPackage_ReadBREP (JNIEnv *env, jclass, jobject aFileName, jobject aContext) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aFileName = jcas_ConvertToCString(env,aFileName); - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - - thejret = SampleImportExportPackage::ReadBREP(the_aFileName,the_aContext); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_SampleImportExportJni_SampleImportExportPackage_SaveBREP (JNIEnv *env, jclass, jobject aFileName, jobject aContext) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aFileName = jcas_ConvertToCString(env,aFileName); - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - - thejret = SampleImportExportPackage::SaveBREP(the_aFileName,the_aContext); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_SampleImportExportJni_SampleImportExportPackage_ReadCSFDB (JNIEnv *env, jclass, jobject aFileName, jobject aContext, jobject ReturnMessage) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aFileName = jcas_ConvertToCString(env,aFileName); - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_ReturnMessage = (TCollection_AsciiString*) jcas_GetHandle(env,ReturnMessage); -if ( the_ReturnMessage == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_ReturnMessage = new TCollection_AsciiString (); - // jcas_SetHandle ( env, ReturnMessage, the_ReturnMessage ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if - thejret = SampleImportExportPackage::ReadCSFDB(the_aFileName,the_aContext,*the_ReturnMessage); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_SampleImportExportJni_SampleImportExportPackage_SaveCSFDB (JNIEnv *env, jclass, jobject aFileName, jobject aContext, jobject ReturnMessage, jshort aTriangleMode) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aFileName = jcas_ConvertToCString(env,aFileName); - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_ReturnMessage = (TCollection_AsciiString*) jcas_GetHandle(env,ReturnMessage); -if ( the_ReturnMessage == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_ReturnMessage = new TCollection_AsciiString (); - // jcas_SetHandle ( env, ReturnMessage, the_ReturnMessage ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if - thejret = SampleImportExportPackage::SaveCSFDB(the_aFileName,the_aContext,*the_ReturnMessage,(MgtBRep_TriangleMode) aTriangleMode); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_SampleImportExportJni_SampleImportExportPackage_ReadSTEP (JNIEnv *env, jclass, jobject aFileName, jobject aContext) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aFileName = jcas_ConvertToCString(env,aFileName); - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - - thejret = SampleImportExportPackage::ReadSTEP(the_aFileName,the_aContext); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jshort JNICALL Java_SampleImportExportJni_SampleImportExportPackage_SaveSTEP (JNIEnv *env, jclass, jobject aFileName, jobject aContext, jshort aValue) -{ -jshort thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aFileName = jcas_ConvertToCString(env,aFileName); - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - - thejret = SampleImportExportPackage::SaveSTEP(the_aFileName,the_aContext,(STEPControl_StepModelType) aValue); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleImportExportJni_SampleImportExportPackage_ReadIGES (JNIEnv *env, jclass, jobject aFileName, jobject aContext) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aFileName = jcas_ConvertToCString(env,aFileName); - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - - thejret = SampleImportExportPackage::ReadIGES(the_aFileName,the_aContext); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_SampleImportExportJni_SampleImportExportPackage_SaveIGES (JNIEnv *env, jclass, jobject aFileName, jobject aContext) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aFileName = jcas_ConvertToCString(env,aFileName); - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - - thejret = SampleImportExportPackage::SaveIGES(the_aFileName,the_aContext); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_SampleImportExportJni_SampleImportExportPackage_SaveImage (JNIEnv *env, jclass, jobject aFileName, jobject aFormat, jobject aView) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_aFileName = jcas_ConvertToCString(env,aFileName); -Standard_CString the_aFormat = jcas_ConvertToCString(env,aFormat); - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - - thejret = SampleImportExportPackage::SaveImage(the_aFileName,the_aFormat,the_aView); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - -} diff --git a/samples/java/drv/SampleImportExportJni/SampleImportExportJni_TCollection_AsciiString_java.cxx b/samples/java/drv/SampleImportExportJni/SampleImportExportJni_TCollection_AsciiString_java.cxx deleted file mode 100755 index 4d54802d50..0000000000 --- a/samples/java/drv/SampleImportExportJni/SampleImportExportJni_TCollection_AsciiString_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleImportExportJni_TCollection_1AsciiString_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - TCollection_AsciiString* theobj = (TCollection_AsciiString*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleImportExportJni/SampleImportExportJni_V3d_View_java.cxx b/samples/java/drv/SampleImportExportJni/SampleImportExportJni_V3d_View_java.cxx deleted file mode 100755 index 19027a4f5c..0000000000 --- a/samples/java/drv/SampleImportExportJni/SampleImportExportJni_V3d_View_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleImportExportJni/SampleImportExportJni_V3d_Viewer_java.cxx b/samples/java/drv/SampleImportExportJni/SampleImportExportJni_V3d_Viewer_java.cxx deleted file mode 100755 index eab25373bd..0000000000 --- a/samples/java/drv/SampleImportExportJni/SampleImportExportJni_V3d_Viewer_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleImportExportJni/SampleImportExportJni_Viewer_View_java.cxx b/samples/java/drv/SampleImportExportJni/SampleImportExportJni_Viewer_View_java.cxx deleted file mode 100755 index d16ee61749..0000000000 --- a/samples/java/drv/SampleImportExportJni/SampleImportExportJni_Viewer_View_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleImportExportJni/SampleImportExportJni_Viewer_Viewer_java.cxx b/samples/java/drv/SampleImportExportJni/SampleImportExportJni_Viewer_Viewer_java.cxx deleted file mode 100755 index 908a0466a6..0000000000 --- a/samples/java/drv/SampleImportExportJni/SampleImportExportJni_Viewer_Viewer_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleImportExportPackage/SampleImportExportPackage.ixx b/samples/java/drv/SampleImportExportPackage/SampleImportExportPackage.ixx deleted file mode 100755 index a1640e9f58..0000000000 --- a/samples/java/drv/SampleImportExportPackage/SampleImportExportPackage.ixx +++ /dev/null @@ -1,19 +0,0 @@ -// File generated by CPPExt (Value) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// -#include - - - - diff --git a/samples/java/drv/SampleImportExportPackage/SampleImportExportPackage.jxx b/samples/java/drv/SampleImportExportPackage/SampleImportExportPackage.jxx deleted file mode 100755 index ba5dd3609d..0000000000 --- a/samples/java/drv/SampleImportExportPackage/SampleImportExportPackage.jxx +++ /dev/null @@ -1,15 +0,0 @@ -#ifndef _V3d_Viewer_HeaderFile -#include -#endif -#ifndef _V3d_View_HeaderFile -#include -#endif -#ifndef _AIS_InteractiveContext_HeaderFile -#include -#endif -#ifndef _TCollection_AsciiString_HeaderFile -#include -#endif -#ifndef _SampleImportExportPackage_HeaderFile -#include -#endif diff --git a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_AIS_InteractiveContext_java.cxx b/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_AIS_InteractiveContext_java.cxx deleted file mode 100755 index 8fa7e42ffb..0000000000 --- a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_AIS_InteractiveContext_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_AlienImage_AlienImage_java.cxx b/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_AlienImage_AlienImage_java.cxx deleted file mode 100755 index 321f14aa4d..0000000000 --- a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_AlienImage_AlienImage_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Aspect_Array1OfEdge_java.cxx b/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Aspect_Array1OfEdge_java.cxx deleted file mode 100755 index 0e8d5d8d2b..0000000000 --- a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Aspect_Array1OfEdge_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Aspect_1Array1OfEdge_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Aspect_Array1OfEdge* theobj = (Aspect_Array1OfEdge*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Aspect_GraphicDriver_java.cxx b/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Aspect_GraphicDriver_java.cxx deleted file mode 100755 index 9e5a90af70..0000000000 --- a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Aspect_GraphicDriver_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexC_java.cxx b/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexC_java.cxx deleted file mode 100755 index 9e92135984..0000000000 --- a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexC_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1Array1OfVertexC_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Graphic3d_Array1OfVertexC* theobj = (Graphic3d_Array1OfVertexC*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexNC_java.cxx b/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexNC_java.cxx deleted file mode 100755 index 5b1b037b47..0000000000 --- a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexNC_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1Array1OfVertexNC_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Graphic3d_Array1OfVertexNC* theobj = (Graphic3d_Array1OfVertexNC*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexNT_java.cxx b/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexNT_java.cxx deleted file mode 100755 index a66a5d789e..0000000000 --- a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexNT_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1Array1OfVertexNT_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Graphic3d_Array1OfVertexNT* theobj = (Graphic3d_Array1OfVertexNT*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexN_java.cxx b/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexN_java.cxx deleted file mode 100755 index 2bf9847c56..0000000000 --- a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertexN_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1Array1OfVertexN_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Graphic3d_Array1OfVertexN* theobj = (Graphic3d_Array1OfVertexN*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertex_java.cxx b/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertex_java.cxx deleted file mode 100755 index 53d073e0e9..0000000000 --- a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array1OfVertex_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1Array1OfVertex_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Graphic3d_Array1OfVertex* theobj = (Graphic3d_Array1OfVertex*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array2OfVertexNT_java.cxx b/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array2OfVertexNT_java.cxx deleted file mode 100755 index d29ff44ce8..0000000000 --- a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array2OfVertexNT_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1Array2OfVertexNT_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Graphic3d_Array2OfVertexNT* theobj = (Graphic3d_Array2OfVertexNT*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array2OfVertexN_java.cxx b/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array2OfVertexN_java.cxx deleted file mode 100755 index d0bf731f68..0000000000 --- a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array2OfVertexN_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1Array2OfVertexN_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Graphic3d_Array2OfVertexN* theobj = (Graphic3d_Array2OfVertexN*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array2OfVertex_java.cxx b/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array2OfVertex_java.cxx deleted file mode 100755 index 1c1d0a76f5..0000000000 --- a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Array2OfVertex_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1Array2OfVertex_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Graphic3d_Array2OfVertex* theobj = (Graphic3d_Array2OfVertex*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_GraphicDriver_java.cxx b/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_GraphicDriver_java.cxx deleted file mode 100755 index 1e4eab1897..0000000000 --- a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_GraphicDriver_java.cxx +++ /dev/null @@ -1,1151 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_Graphic3d_1GraphicDriver_1Create_10 (JNIEnv *env, jobject theobj, jobject AShrName) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_AShrName = jcas_ConvertToCString(env,AShrName); -Handle(Graphic3d_GraphicDriver)* theret = new Handle(Graphic3d_GraphicDriver); - OSD_SharedLibrary TheSharedLibrary(the_AShrName); - Standard_Boolean Result = TheSharedLibrary.DlOpen (OSD_RTLD_LAZY); - OSD_Function new_GLGraphicDriver = TheSharedLibrary.DlSymb ("MetaGraphicDriverFactory"); - Handle(Graphic3d_GraphicDriver) (*fp) (Standard_CString) = NULL; - fp = (Handle(Graphic3d_GraphicDriver) (*) (Standard_CString)) new_GLGraphicDriver; - if ( ! new_GLGraphicDriver) { - Aspect_GraphicDeviceDefinitionError::Raise( TheSharedLibrary.DlError () ); - } - Standard_CString aSharedName = TheSharedLibrary.Name (); - *theret = (*fp) (aSharedName); - jcas_SetHandle(env,theobj,theret); - -} - -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jboolean JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_Graphic3d_1GraphicDriver_1Begin_11 (JNIEnv *env, jobject theobj, jobject ADisplay) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Standard_CString the_ADisplay = jcas_ConvertToCString(env,ADisplay); -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Begin(the_ADisplay); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_End (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->End(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_InquireLightLimit (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); - thejret = the_this->InquireLightLimit(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_InquirePlaneLimit (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); - thejret = the_this->InquirePlaneLimit(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jint JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_InquireViewLimit (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); - thejret = the_this->InquireViewLimit(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT jboolean JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_InquireTextureAvailable (JNIEnv *env, jobject theobj) -{ -jboolean thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); - thejret = the_this->InquireTextureAvailable(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_InitPick (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->InitPick(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_ZBufferTriedronSetup (JNIEnv *env, jobject theobj, jshort XColor, jshort YColor, jshort ZColor, jdouble SizeRatio, jdouble AxisDiametr, jint NbFacettes) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->ZBufferTriedronSetup((Quantity_NameOfColor) XColor,(Quantity_NameOfColor) YColor,(Quantity_NameOfColor) ZColor,(Standard_Real) SizeRatio,(Standard_Real) AxisDiametr,(Standard_Integer) NbFacettes); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_EndAddMode (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->EndAddMode(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_BeginPolyline (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->BeginPolyline(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_Graphic3d_1GraphicDriver_1Draw_11 (JNIEnv *env, jobject theobj, jfloat X, jfloat Y, jfloat Z) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->Draw((Standard_ShortReal) X,(Standard_ShortReal) Y,(Standard_ShortReal) Z); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_EndImmediatMode (JNIEnv *env, jobject theobj, jint Synchronize) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->EndImmediatMode((Standard_Integer) Synchronize); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_EndPolyline (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->EndPolyline(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_Graphic3d_1GraphicDriver_1Move_11 (JNIEnv *env, jobject theobj, jfloat X, jfloat Y, jfloat Z) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->Move((Standard_ShortReal) X,(Standard_ShortReal) Y,(Standard_ShortReal) Z); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_SetLineColor (JNIEnv *env, jobject theobj, jfloat R, jfloat G, jfloat B) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->SetLineColor((Standard_ShortReal) R,(Standard_ShortReal) G,(Standard_ShortReal) B); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_SetLineType (JNIEnv *env, jobject theobj, jint Type) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->SetLineType((Standard_Integer) Type); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_SetLineWidth (JNIEnv *env, jobject theobj, jfloat Width) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->SetLineWidth((Standard_ShortReal) Width); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_SetMinMax (JNIEnv *env, jobject theobj, jfloat X1, jfloat Y1, jfloat Z1, jfloat X2, jfloat Y2, jfloat Z2) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->SetMinMax((Standard_ShortReal) X1,(Standard_ShortReal) Y1,(Standard_ShortReal) Z1,(Standard_ShortReal) X2,(Standard_ShortReal) Y2,(Standard_ShortReal) Z2); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_Transform (JNIEnv *env, jobject theobj, jobject AMatrix, jshort AType) -{ - -jcas_Locking alock(env); -{ -try { -TColStd_Array2OfReal* the_AMatrix = (TColStd_Array2OfReal*) jcas_GetHandle(env,AMatrix); -if ( the_AMatrix == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_AMatrix = new TColStd_Array2OfReal (); - // jcas_SetHandle ( env, AMatrix, the_AMatrix ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->Transform(*the_AMatrix,(Graphic3d_TypeOfComposition) AType); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_CreateTexture (JNIEnv *env, jobject theobj, jshort Type, jobject Image, jobject FileName, jobject TexUpperBounds) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { - Handle( AlienImage_AlienImage ) the_Image; - void* ptr_Image = jcas_GetHandle(env,Image); - - if ( ptr_Image != NULL ) the_Image = *( ( Handle( AlienImage_AlienImage )* )ptr_Image ); - -Standard_CString the_FileName = jcas_ConvertToCString(env,FileName); - Handle( TColStd_HArray1OfReal ) the_TexUpperBounds; - void* ptr_TexUpperBounds = jcas_GetHandle(env,TexUpperBounds); - - if ( ptr_TexUpperBounds != NULL ) the_TexUpperBounds = *( ( Handle( TColStd_HArray1OfReal )* )ptr_TexUpperBounds ); - -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); - thejret = the_this->CreateTexture((Graphic3d_TypeOfTexture) Type,the_Image,the_FileName,the_TexUpperBounds); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_DestroyTexture (JNIEnv *env, jobject theobj, jint TexId) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->DestroyTexture((Standard_Integer) TexId); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_BeginPolygon2d (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->BeginPolygon2d(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_BeginPolyline2d (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->BeginPolyline2d(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_Graphic3d_1GraphicDriver_1Draw_12 (JNIEnv *env, jobject theobj, jfloat X, jfloat Y) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->Draw((Standard_ShortReal) X,(Standard_ShortReal) Y); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_Edge (JNIEnv *env, jobject theobj, jfloat X, jfloat Y) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->Edge((Standard_ShortReal) X,(Standard_ShortReal) Y); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_EndLayer (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->EndLayer(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_EndPolygon2d (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->EndPolygon2d(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_EndPolyline2d (JNIEnv *env, jobject theobj) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->EndPolyline2d(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_Graphic3d_1GraphicDriver_1Move_12 (JNIEnv *env, jobject theobj, jfloat X, jfloat Y) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->Move((Standard_ShortReal) X,(Standard_ShortReal) Y); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_Rectangle (JNIEnv *env, jobject theobj, jfloat X, jfloat Y, jfloat Width, jfloat Height) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->Rectangle((Standard_ShortReal) X,(Standard_ShortReal) Y,(Standard_ShortReal) Width,(Standard_ShortReal) Height); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_SetColor (JNIEnv *env, jobject theobj, jfloat R, jfloat G, jfloat B) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->SetColor((Standard_ShortReal) R,(Standard_ShortReal) G,(Standard_ShortReal) B); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_SetLineAttributes (JNIEnv *env, jobject theobj, jint Type, jfloat Width) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->SetLineAttributes((Standard_Integer) Type,(Standard_ShortReal) Width); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_SetTextAttributes (JNIEnv *env, jobject theobj, jchar* Font, jint Type, jfloat R, jfloat G, jfloat B) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->SetTextAttributes((Standard_CString) Font,(Standard_Integer) Type,(Standard_ShortReal) R,(Standard_ShortReal) G,(Standard_ShortReal) B); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_Graphic3d_1GraphicDriver_1Text_15 (JNIEnv *env, jobject theobj, jobject AText, jfloat X, jfloat Y, jfloat AHeight) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_AText = jcas_ConvertToCString(env,AText); -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->Text(the_AText,(Standard_ShortReal) X,(Standard_ShortReal) Y,(Standard_ShortReal) AHeight); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_TextSize (JNIEnv *env, jobject theobj, jobject AText, jfloat AHeight, jobject AWidth, jobject AnAscent, jobject ADescent) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_AText = jcas_ConvertToCString(env,AText); -Standard_ShortReal the_AWidth = jcas_GetShortReal(env,AWidth); -Standard_ShortReal the_AnAscent = jcas_GetShortReal(env,AnAscent); -Standard_ShortReal the_ADescent = jcas_GetShortReal(env,ADescent); -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->TextSize(the_AText,(Standard_ShortReal) AHeight,the_AWidth,the_AnAscent,the_ADescent); -jcas_SetShortReal(env,AWidth,the_AWidth); -jcas_SetShortReal(env,AnAscent,the_AnAscent); -jcas_SetShortReal(env,ADescent,the_ADescent); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_PrintBoolean (JNIEnv *env, jobject theobj, jobject AComment, jboolean AValue) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_AComment = jcas_ConvertToCString(env,AComment); -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->PrintBoolean(the_AComment,(Standard_Boolean) AValue); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_PrintFunction (JNIEnv *env, jobject theobj, jobject AFunc) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_AFunc = jcas_ConvertToCString(env,AFunc); -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->PrintFunction(the_AFunc); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_PrintInteger (JNIEnv *env, jobject theobj, jobject AComment, jint AValue) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_AComment = jcas_ConvertToCString(env,AComment); -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->PrintInteger(the_AComment,(Standard_Integer) AValue); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_PrintIResult (JNIEnv *env, jobject theobj, jobject AFunc, jint AResult) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_AFunc = jcas_ConvertToCString(env,AFunc); -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->PrintIResult(the_AFunc,(Standard_Integer) AResult); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_PrintShortReal (JNIEnv *env, jobject theobj, jobject AComment, jfloat AValue) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_AComment = jcas_ConvertToCString(env,AComment); -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->PrintShortReal(the_AComment,(Standard_ShortReal) AValue); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_PrintMatrix (JNIEnv *env, jobject theobj, jobject AComment, jobject AMatrix) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_AComment = jcas_ConvertToCString(env,AComment); -TColStd_Array2OfReal* the_AMatrix = (TColStd_Array2OfReal*) jcas_GetHandle(env,AMatrix); -if ( the_AMatrix == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_AMatrix = new TColStd_Array2OfReal (); - // jcas_SetHandle ( env, AMatrix, the_AMatrix ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->PrintMatrix(the_AComment,*the_AMatrix); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_PrintString (JNIEnv *env, jobject theobj, jobject AComment, jobject AString) -{ - -jcas_Locking alock(env); -{ -try { -Standard_CString the_AComment = jcas_ConvertToCString(env,AComment); -Standard_CString the_AString = jcas_ConvertToCString(env,AString); -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->PrintString(the_AComment,the_AString); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_SetTrace (JNIEnv *env, jobject theobj, jint ALevel) -{ - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); -the_this->SetTrace((Standard_Integer) ALevel); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jint JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_Trace (JNIEnv *env, jobject theobj) -{ -jint thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver) the_this = *((Handle(Graphic3d_GraphicDriver)*) jcas_GetHandle(env,theobj)); - thejret = the_this->Trace(); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - -} diff --git a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_HArray1OfBytes_java.cxx b/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_HArray1OfBytes_java.cxx deleted file mode 100755 index 018c56950b..0000000000 --- a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_HArray1OfBytes_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -//#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Vector_java.cxx b/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Vector_java.cxx deleted file mode 100755 index 92a475ad15..0000000000 --- a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Vector_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1Vector_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Graphic3d_Vector* theobj = (Graphic3d_Vector*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_VertexNC_java.cxx b/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_VertexNC_java.cxx deleted file mode 100755 index 9d001ae54d..0000000000 --- a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_VertexNC_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1VertexNC_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Graphic3d_VertexNC* theobj = (Graphic3d_VertexNC*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_VertexN_java.cxx b/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_VertexN_java.cxx deleted file mode 100755 index d5def430be..0000000000 --- a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_VertexN_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1VertexN_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Graphic3d_VertexN* theobj = (Graphic3d_VertexN*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Vertex_java.cxx b/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Vertex_java.cxx deleted file mode 100755 index 8d3c414521..0000000000 --- a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Graphic3d_Vertex_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1Vertex_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - Graphic3d_Vertex* theobj = (Graphic3d_Vertex*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_SampleViewer3DPackage_java.cxx b/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_SampleViewer3DPackage_java.cxx deleted file mode 100755 index 1d3d757e02..0000000000 --- a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_SampleViewer3DPackage_java.cxx +++ /dev/null @@ -1,1249 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT jobject JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_CreateViewer (JNIEnv *env, jclass, jstring aName) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Standard_ExtString the_aName = jcas_ConvertToExtString(env,aName); -Handle(V3d_Viewer)* theret = new Handle(V3d_Viewer); -*theret = SampleViewer3DPackage::CreateViewer(the_aName); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/V3d_Viewer",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_SetWindow (JNIEnv *env, jclass, jobject aView, jint hiwin, jint lowin) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -SampleViewer3DPackage::SetWindow(the_aView,(Standard_Integer) hiwin,(Standard_Integer) lowin); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT jobject JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_CreateGraphicDriver (JNIEnv *env, jclass) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Handle(Graphic3d_GraphicDriver)* theret = new Handle(Graphic3d_GraphicDriver); -*theret = SampleViewer3DPackage::CreateGraphicDriver(); -thejret = jcas_CreateObject(env,"SampleViewer3DJni/Graphic3d_GraphicDriver",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_DisplayBox (JNIEnv *env, jclass, jobject aContext) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -SampleViewer3DPackage::DisplayBox(the_aContext); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_DisplayCylinder (JNIEnv *env, jclass, jobject aContext) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -SampleViewer3DPackage::DisplayCylinder(the_aContext); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_DisplaySphere (JNIEnv *env, jclass, jobject aContext) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -SampleViewer3DPackage::DisplaySphere(the_aContext); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_EraseAll (JNIEnv *env, jclass, jobject aContext) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -SampleViewer3DPackage::EraseAll(the_aContext); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_CreateSpotLight (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleViewer3DPackage::CreateSpotLight(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_SetSpotLight (JNIEnv *env, jclass, jobject aContext, jobject aView, jint X, jint Y, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleViewer3DPackage::SetSpotLight(the_aContext,the_aView,(Standard_Integer) X,(Standard_Integer) Y,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_DirectingSpotLight (JNIEnv *env, jclass, jobject aContext, jobject aView, jint X, jint Y) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -SampleViewer3DPackage::DirectingSpotLight(the_aContext,the_aView,(Standard_Integer) X,(Standard_Integer) Y); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_DirectSpotLight (JNIEnv *env, jclass, jobject aView, jint X, jint Y, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleViewer3DPackage::DirectSpotLight(the_aView,(Standard_Integer) X,(Standard_Integer) Y,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_ExpandingSpotLight (JNIEnv *env, jclass, jobject aContext, jobject aView, jint X, jint Y) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -SampleViewer3DPackage::ExpandingSpotLight(the_aContext,the_aView,(Standard_Integer) X,(Standard_Integer) Y); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_ExpandSpotLight (JNIEnv *env, jclass, jobject aContext) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -SampleViewer3DPackage::ExpandSpotLight(the_aContext); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_CreatePositionalLight (JNIEnv *env, jclass, jobject aContext, jobject aView, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleViewer3DPackage::CreatePositionalLight(the_aContext,the_aView,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_DirectingPositionalLight (JNIEnv *env, jclass, jobject aView, jint X, jint Y) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -SampleViewer3DPackage::DirectingPositionalLight(the_aView,(Standard_Integer) X,(Standard_Integer) Y); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_DirectPositionalLight (JNIEnv *env, jclass, jobject aContext, jobject aView, jint X, jint Y, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleViewer3DPackage::DirectPositionalLight(the_aContext,the_aView,(Standard_Integer) X,(Standard_Integer) Y,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_CreateDirectionalLight (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleViewer3DPackage::CreateDirectionalLight(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_SetDirectionalLight (JNIEnv *env, jclass, jobject aContext, jobject aView, jint X, jint Y, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleViewer3DPackage::SetDirectionalLight(the_aContext,the_aView,(Standard_Integer) X,(Standard_Integer) Y,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_DirectingDirectionalLight (JNIEnv *env, jclass, jobject aContext, jobject aView, jint X, jint Y) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -SampleViewer3DPackage::DirectingDirectionalLight(the_aContext,the_aView,(Standard_Integer) X,(Standard_Integer) Y); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_DirectDirectionalLight (JNIEnv *env, jclass, jobject aContext) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -SampleViewer3DPackage::DirectDirectionalLight(the_aContext); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_CreateAmbientLight (JNIEnv *env, jclass, jobject aContext, jobject aView, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleViewer3DPackage::CreateAmbientLight(the_aContext,the_aView,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_ClearLights (JNIEnv *env, jclass, jobject aView, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleViewer3DPackage::ClearLights(the_aView,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_ChangeZClippingDepth (JNIEnv *env, jclass, jobject aView, jdouble Depth, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleViewer3DPackage::ChangeZClippingDepth(the_aView,(Quantity_Length) Depth,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_ChangeZClippingWidth (JNIEnv *env, jclass, jobject aView, jdouble Width, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleViewer3DPackage::ChangeZClippingWidth(the_aView,(Quantity_Length) Width,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_ChangeZClippingType (JNIEnv *env, jclass, jobject aView, jshort Type, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleViewer3DPackage::ChangeZClippingType(the_aView,(V3d_TypeOfZclipping) Type,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_ChangeZCueingDepth (JNIEnv *env, jclass, jobject aView, jdouble Depth, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleViewer3DPackage::ChangeZCueingDepth(the_aView,(Quantity_Length) Depth,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_ChangeZCueingWidth (JNIEnv *env, jclass, jobject aView, jdouble Width, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleViewer3DPackage::ChangeZCueingWidth(the_aView,(Quantity_Length) Width,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_ChangeZCueingOnOff (JNIEnv *env, jclass, jobject aView, jboolean IsOn, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleViewer3DPackage::ChangeZCueingOnOff(the_aView,(Standard_Boolean) IsOn,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_ChangeShadingModel (JNIEnv *env, jclass, jobject aView, jshort Model) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -SampleViewer3DPackage::ChangeShadingModel(the_aView,(V3d_TypeOfShadingModel) Model); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_ChangeAntialiasing (JNIEnv *env, jclass, jobject aView, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleViewer3DPackage::ChangeAntialiasing(the_aView,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_CreateClippingPlane (JNIEnv *env, jclass, jobject aViewer) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_Viewer ) the_aViewer; - void* ptr_aViewer = jcas_GetHandle(env,aViewer); - - if ( ptr_aViewer != NULL ) the_aViewer = *( ( Handle( V3d_Viewer )* )ptr_aViewer ); - -SampleViewer3DPackage::CreateClippingPlane(the_aViewer); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_DisplayClippingPlane (JNIEnv *env, jclass, jobject aContext, jobject aView, jobject Z, jobject IsOn) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -Standard_Real the_Z = jcas_GetReal(env,Z); -Standard_Boolean the_IsOn = jcas_GetBoolean(env,IsOn); -SampleViewer3DPackage::DisplayClippingPlane(the_aContext,the_aView,the_Z,the_IsOn); -jcas_SetReal(env,Z,the_Z); -jcas_SetBoolean(env,IsOn,the_IsOn); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_ChangeModelClippingZ (JNIEnv *env, jclass, jobject aContext, jobject aView, jdouble Z, jboolean IsOn, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleViewer3DPackage::ChangeModelClippingZ(the_aContext,the_aView,(Standard_Real) Z,(Standard_Boolean) IsOn,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_ChangeModelClippingOnOff (JNIEnv *env, jclass, jobject aContext, jobject aView, jboolean IsOn, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SampleViewer3DPackage::ChangeModelClippingOnOff(the_aContext,the_aView,(Standard_Boolean) IsOn,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_ClearClippingPlane (JNIEnv *env, jclass, jobject aContext, jobject aView, jboolean IsOn) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -SampleViewer3DPackage::ClearClippingPlane(the_aContext,the_aView,(Standard_Boolean) IsOn); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - -} diff --git a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Standard_Type_java.cxx b/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Standard_Type_java.cxx deleted file mode 100755 index 9d5e87e5b2..0000000000 --- a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Standard_Type_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_TColStd_Array1OfInteger_java.cxx b/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_TColStd_Array1OfInteger_java.cxx deleted file mode 100755 index f8ca77fe56..0000000000 --- a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_TColStd_Array1OfInteger_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_TColStd_1Array1OfInteger_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - TColStd_Array1OfInteger* theobj = (TColStd_Array1OfInteger*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_TColStd_Array1OfReal_java.cxx b/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_TColStd_Array1OfReal_java.cxx deleted file mode 100755 index 2fdf2955da..0000000000 --- a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_TColStd_Array1OfReal_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_TColStd_1Array1OfReal_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - TColStd_Array1OfReal* theobj = (TColStd_Array1OfReal*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_TColStd_Array2OfReal_java.cxx b/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_TColStd_Array2OfReal_java.cxx deleted file mode 100755 index 388937ec12..0000000000 --- a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_TColStd_Array2OfReal_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_TColStd_1Array2OfReal_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - TColStd_Array2OfReal* theobj = (TColStd_Array2OfReal*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_TColStd_HArray1OfReal_java.cxx b/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_TColStd_HArray1OfReal_java.cxx deleted file mode 100755 index d68fd24b52..0000000000 --- a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_TColStd_HArray1OfReal_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_TCollection_AsciiString_java.cxx b/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_TCollection_AsciiString_java.cxx deleted file mode 100755 index 817a91d3dc..0000000000 --- a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_TCollection_AsciiString_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_TCollection_1AsciiString_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - TCollection_AsciiString* theobj = (TCollection_AsciiString*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_TCollection_ExtendedString_java.cxx b/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_TCollection_ExtendedString_java.cxx deleted file mode 100755 index 38250810de..0000000000 --- a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_TCollection_ExtendedString_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SampleViewer3DJni_TCollection_1ExtendedString_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - TCollection_ExtendedString* theobj = (TCollection_ExtendedString*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_V3d_View_java.cxx b/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_V3d_View_java.cxx deleted file mode 100755 index 1bf37f1d25..0000000000 --- a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_V3d_View_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_V3d_Viewer_java.cxx b/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_V3d_Viewer_java.cxx deleted file mode 100755 index c97d3620dd..0000000000 --- a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_V3d_Viewer_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Viewer_View_java.cxx b/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Viewer_View_java.cxx deleted file mode 100755 index fa37e99be7..0000000000 --- a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Viewer_View_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Viewer_Viewer_java.cxx b/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Viewer_Viewer_java.cxx deleted file mode 100755 index bd1c948a2c..0000000000 --- a/samples/java/drv/SampleViewer3DJni/SampleViewer3DJni_Viewer_Viewer_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SampleViewer3DPackage/SampleViewer3DPackage.ixx b/samples/java/drv/SampleViewer3DPackage/SampleViewer3DPackage.ixx deleted file mode 100755 index f765f0566f..0000000000 --- a/samples/java/drv/SampleViewer3DPackage/SampleViewer3DPackage.ixx +++ /dev/null @@ -1,19 +0,0 @@ -// File generated by CPPExt (Value) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// -#include - - - - diff --git a/samples/java/drv/SampleViewer3DPackage/SampleViewer3DPackage.jxx b/samples/java/drv/SampleViewer3DPackage/SampleViewer3DPackage.jxx deleted file mode 100755 index d072e6e3a0..0000000000 --- a/samples/java/drv/SampleViewer3DPackage/SampleViewer3DPackage.jxx +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef _V3d_Viewer_HeaderFile -#include -#endif -#ifndef _V3d_View_HeaderFile -#include -#endif -#ifndef _Graphic3d_GraphicDriver_HeaderFile -#include -#endif -#ifndef _AIS_InteractiveContext_HeaderFile -#include -#endif -#ifndef _TCollection_AsciiString_HeaderFile -#include -#endif -#ifndef _SampleViewer3DPackage_HeaderFile -#include -#endif diff --git a/samples/java/drv/SamplesTopologyJni/SamplesTopologyJni_AIS_InteractiveContext_java.cxx b/samples/java/drv/SamplesTopologyJni/SamplesTopologyJni_AIS_InteractiveContext_java.cxx deleted file mode 100755 index 1cf2e55ce9..0000000000 --- a/samples/java/drv/SamplesTopologyJni/SamplesTopologyJni_AIS_InteractiveContext_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SamplesTopologyJni/SamplesTopologyJni_SamplesTopologyPackage_java.cxx b/samples/java/drv/SamplesTopologyJni/SamplesTopologyJni_SamplesTopologyPackage_java.cxx deleted file mode 100755 index 8081d84a8c..0000000000 --- a/samples/java/drv/SamplesTopologyJni/SamplesTopologyJni_SamplesTopologyPackage_java.cxx +++ /dev/null @@ -1,2151 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - - -extern "C" { - - -JNIEXPORT jobject JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_CreateViewer (JNIEnv *env, jclass, jstring aName) -{ -jobject thejret; - -jcas_Locking alock(env); -{ -try { -Standard_ExtString the_aName = jcas_ConvertToExtString(env,aName); -Handle(V3d_Viewer)* theret = new Handle(V3d_Viewer); -*theret = SamplesTopologyPackage::CreateViewer(the_aName); -thejret = jcas_CreateObject(env,"CASCADESamplesJni/V3d_Viewer",theret); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); -return thejret; -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_SetWindow (JNIEnv *env, jclass, jobject aView, jint hiwin, jint lowin) -{ - -jcas_Locking alock(env); -{ -try { - Handle( V3d_View ) the_aView; - void* ptr_aView = jcas_GetHandle(env,aView); - - if ( ptr_aView != NULL ) the_aView = *( ( Handle( V3d_View )* )ptr_aView ); - -SamplesTopologyPackage::SetWindow(the_aView,(Standard_Integer) hiwin,(Standard_Integer) lowin); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_MakeBox (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::MakeBox(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_MakeCylinder (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::MakeCylinder(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_MakeCone (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::MakeCone(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_MakeSphere (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::MakeSphere(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_MakeTorus (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::MakeTorus(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_MakeWedge (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::MakeWedge(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_MakePrism (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::MakePrism(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_MakeRevol (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::MakeRevol(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_MakePipe (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::MakePipe(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_MakeThru (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::MakeThru(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_MakeEvolved (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::MakeEvolved(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_MakeDraft (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::MakeDraft(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Cut (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::Cut(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Fuse (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::Fuse(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Common (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::Common(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Section (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::Section(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_PSection (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::PSection(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Blend (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::Blend(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_EvolvedBlend (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::EvolvedBlend(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Chamfer (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::Chamfer(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Vertex (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::Vertex(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Edge (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::Edge(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Wire (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::Wire(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Face (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::Face(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Shell (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::Shell(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Compound (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::Compound(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Sewing (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::Sewing(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Builder (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::Builder(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Geometry (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::Geometry(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Explorer (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::Explorer(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Validity (JNIEnv *env, jclass, jobject aContext, jobject Message, jobject Result) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TCollection_AsciiString* the_Result = (TCollection_AsciiString*) jcas_GetHandle(env,Result); -if ( the_Result == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Result = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Result, the_Result ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::Validity(the_aContext,*the_Message,*the_Result); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_LinearProp (JNIEnv *env, jclass, jobject aContext, jobject Message, jobject Result) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TCollection_AsciiString* the_Result = (TCollection_AsciiString*) jcas_GetHandle(env,Result); -if ( the_Result == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Result = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Result, the_Result ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::LinearProp(the_aContext,*the_Message,*the_Result); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_SurfaceProp (JNIEnv *env, jclass, jobject aContext, jobject Message, jobject Result) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TCollection_AsciiString* the_Result = (TCollection_AsciiString*) jcas_GetHandle(env,Result); -if ( the_Result == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Result = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Result, the_Result ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::SurfaceProp(the_aContext,*the_Message,*the_Result); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_VolumeProp (JNIEnv *env, jclass, jobject aContext, jobject Message, jobject Result) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -TCollection_AsciiString* the_Result = (TCollection_AsciiString*) jcas_GetHandle(env,Result); -if ( the_Result == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Result = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Result, the_Result ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::VolumeProp(the_aContext,*the_Message,*the_Result); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Mirror (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::Mirror(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Mirroraxis (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::Mirroraxis(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Rotate (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::Rotate(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Scale (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::Scale(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Translation (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::Translation(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Displacement (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::Displacement(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Deform (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::Deform(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_LocalPrism (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::LocalPrism(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_LocalDPrism (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::LocalDPrism(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_LocalRevol (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::LocalRevol(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_LocalPipe (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::LocalPipe(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Rib (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::Rib(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Glue (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::Glue(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Split (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::Split(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Thick (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::Thick(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Offset (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::Offset(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_BuildMesh (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::BuildMesh(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_DisplayMesh (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::DisplayMesh(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_ClearMesh (JNIEnv *env, jclass, jobject aContext, jobject Message) -{ - -jcas_Locking alock(env); -{ -try { - Handle( AIS_InteractiveContext ) the_aContext; - void* ptr_aContext = jcas_GetHandle(env,aContext); - - if ( ptr_aContext != NULL ) the_aContext = *( ( Handle( AIS_InteractiveContext )* )ptr_aContext ); - -TCollection_AsciiString* the_Message = (TCollection_AsciiString*) jcas_GetHandle(env,Message); -if ( the_Message == NULL ) { - - // The following assumes availability of the default constructor (what may not - // always be the case). Therefore explicit exception is thrown if the null - // object has been passed. - // the_Message = new TCollection_AsciiString (); - // jcas_SetHandle ( env, Message, the_Message ); - jcas_ThrowException (env, "NULL object has been passed while expecting an object manipulated by value"); - -} // end if -SamplesTopologyPackage::ClearMesh(the_aContext,*the_Message); - -} -catch (Standard_Failure) { - Standard_SStream Err; - Err << Standard_Failure::Caught(); - Err << (char) 0; - jcas_ThrowException(env,Err.str().c_str()); -} -} -alock.Release(); - -} - - -} diff --git a/samples/java/drv/SamplesTopologyJni/SamplesTopologyJni_TCollection_AsciiString_java.cxx b/samples/java/drv/SamplesTopologyJni/SamplesTopologyJni_TCollection_AsciiString_java.cxx deleted file mode 100755 index 93bc254708..0000000000 --- a/samples/java/drv/SamplesTopologyJni/SamplesTopologyJni_TCollection_AsciiString_java.cxx +++ /dev/null @@ -1,43 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - - -JNIEXPORT void JNICALL Java_SamplesTopologyJni_TCollection_1AsciiString_FinalizeValue(JNIEnv *, jclass, jlong theid) -{ -if (theid) { - TCollection_AsciiString* theobj = (TCollection_AsciiString*) theid; - delete theobj; -} -} - - -} diff --git a/samples/java/drv/SamplesTopologyJni/SamplesTopologyJni_V3d_View_java.cxx b/samples/java/drv/SamplesTopologyJni/SamplesTopologyJni_V3d_View_java.cxx deleted file mode 100755 index e8c3cbeeb6..0000000000 --- a/samples/java/drv/SamplesTopologyJni/SamplesTopologyJni_V3d_View_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SamplesTopologyJni/SamplesTopologyJni_V3d_Viewer_java.cxx b/samples/java/drv/SamplesTopologyJni/SamplesTopologyJni_V3d_Viewer_java.cxx deleted file mode 100755 index 669b6923b5..0000000000 --- a/samples/java/drv/SamplesTopologyJni/SamplesTopologyJni_V3d_Viewer_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SamplesTopologyJni/SamplesTopologyJni_Viewer_View_java.cxx b/samples/java/drv/SamplesTopologyJni/SamplesTopologyJni_Viewer_View_java.cxx deleted file mode 100755 index 3c80c9c053..0000000000 --- a/samples/java/drv/SamplesTopologyJni/SamplesTopologyJni_Viewer_View_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SamplesTopologyJni/SamplesTopologyJni_Viewer_Viewer_java.cxx b/samples/java/drv/SamplesTopologyJni/SamplesTopologyJni_Viewer_Viewer_java.cxx deleted file mode 100755 index 123a503d0c..0000000000 --- a/samples/java/drv/SamplesTopologyJni/SamplesTopologyJni_Viewer_Viewer_java.cxx +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (C) 1991 - 2000 by -// Matra Datavision SA. All rights reserved. -// -// Copyright (C) 2001 - 2004 by -// Open CASCADE SA. All rights reserved. -// -// This file is part of the Open CASCADE Technology software. -// -// This software may be distributed and/or modified under the terms and -// conditions of the Open CASCADE Public License as defined by Open CASCADE SA -// and appearing in the file LICENSE included in the packaging of this file. -// -// This software is distributed on an "AS IS" basis, without warranty of any -// kind, and Open CASCADE SA hereby disclaims all such warranties, -// including without limitation, any warranties of merchantability, fitness -// for a particular purpose or non-infringement. Please see the License for -// the specific terms and conditions governing rights and limitations under the -// License. - -#include -#include -#include -#include -#include -#include -#include - - - -extern "C" { - -} diff --git a/samples/java/drv/SamplesTopologyPackage/SamplesTopologyPackage.ixx b/samples/java/drv/SamplesTopologyPackage/SamplesTopologyPackage.ixx deleted file mode 100755 index a08548faaa..0000000000 --- a/samples/java/drv/SamplesTopologyPackage/SamplesTopologyPackage.ixx +++ /dev/null @@ -1,19 +0,0 @@ -// File generated by CPPExt (Value) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// -#include - - - - diff --git a/samples/java/drv/SamplesTopologyPackage/SamplesTopologyPackage.jxx b/samples/java/drv/SamplesTopologyPackage/SamplesTopologyPackage.jxx deleted file mode 100755 index f1d6ecd40f..0000000000 --- a/samples/java/drv/SamplesTopologyPackage/SamplesTopologyPackage.jxx +++ /dev/null @@ -1,15 +0,0 @@ -#ifndef _V3d_Viewer_HeaderFile -#include -#endif -#ifndef _V3d_View_HeaderFile -#include -#endif -#ifndef _AIS_InteractiveContext_HeaderFile -#include -#endif -#ifndef _TCollection_AsciiString_HeaderFile -#include -#endif -#ifndef _SamplesTopologyPackage_HeaderFile -#include -#endif diff --git a/samples/java/drv/User/User_Cylinder.ixx b/samples/java/drv/User/User_Cylinder.ixx deleted file mode 100755 index 96bbb61ecb..0000000000 --- a/samples/java/drv/User/User_Cylinder.ixx +++ /dev/null @@ -1,75 +0,0 @@ -// File generated by CPPExt (Transient) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// -#include - -#ifndef _Standard_TypeMismatch_HeaderFile -#include -#endif - -User_Cylinder::~User_Cylinder() {} - - - -Standard_EXPORT Handle_Standard_Type& User_Cylinder_Type_() -{ - - static Handle_Standard_Type aType1 = STANDARD_TYPE(AIS_InteractiveObject); - if ( aType1.IsNull()) aType1 = STANDARD_TYPE(AIS_InteractiveObject); - static Handle_Standard_Type aType2 = STANDARD_TYPE(SelectMgr_SelectableObject); - if ( aType2.IsNull()) aType2 = STANDARD_TYPE(SelectMgr_SelectableObject); - static Handle_Standard_Type aType3 = STANDARD_TYPE(PrsMgr_PresentableObject); - if ( aType3.IsNull()) aType3 = STANDARD_TYPE(PrsMgr_PresentableObject); - static Handle_Standard_Type aType4 = STANDARD_TYPE(MMgt_TShared); - if ( aType4.IsNull()) aType4 = STANDARD_TYPE(MMgt_TShared); - static Handle_Standard_Type aType5 = STANDARD_TYPE(Standard_Transient); - if ( aType5.IsNull()) aType5 = STANDARD_TYPE(Standard_Transient); - - - static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,aType4,aType5,NULL}; - static Handle_Standard_Type _aType = new Standard_Type("User_Cylinder", - sizeof(User_Cylinder), - 1, - (Standard_Address)_Ancestors, - (Standard_Address)NULL); - - return _aType; -} - - -// DownCast method -// allow safe downcasting -// -const Handle(User_Cylinder) Handle(User_Cylinder)::DownCast(const Handle(Standard_Transient)& AnObject) -{ - Handle(User_Cylinder) _anOtherObject; - - if (!AnObject.IsNull()) { - if (AnObject->IsKind(STANDARD_TYPE(User_Cylinder))) { - _anOtherObject = Handle(User_Cylinder)((Handle(User_Cylinder)&)AnObject); - } - } - - return _anOtherObject ; -} -const Handle(Standard_Type)& User_Cylinder::DynamicType() const -{ - return STANDARD_TYPE(User_Cylinder) ; -} -Standard_Boolean User_Cylinder::IsKind(const Handle(Standard_Type)& AType) const -{ - return (STANDARD_TYPE(User_Cylinder) == AType || AIS_InteractiveObject::IsKind(AType)); -} -Handle_User_Cylinder::~Handle_User_Cylinder() {} - diff --git a/samples/java/drv/User/User_Cylinder.jxx b/samples/java/drv/User/User_Cylinder.jxx deleted file mode 100755 index 63c79b4c47..0000000000 --- a/samples/java/drv/User/User_Cylinder.jxx +++ /dev/null @@ -1,15 +0,0 @@ -#ifndef _PrsMgr_PresentationManager3d_HeaderFile -#include -#endif -#ifndef _Prs3d_Presentation_HeaderFile -#include -#endif -#ifndef _Prs3d_Projector_HeaderFile -#include -#endif -#ifndef _SelectMgr_Selection_HeaderFile -#include -#endif -#ifndef _User_Cylinder_HeaderFile -#include -#endif diff --git a/samples/java/env.bat b/samples/java/env.bat deleted file mode 100644 index 5d2e4ce2f9..0000000000 --- a/samples/java/env.bat +++ /dev/null @@ -1,3 +0,0 @@ -@echo off - -call "%~dp0..\..\ros\env.bat" diff --git a/samples/java/inc/CASCADESamplesJni_AIS_ClearMode.h b/samples/java/inc/CASCADESamplesJni_AIS_ClearMode.h deleted file mode 100755 index 01700df7d1..0000000000 --- a/samples/java/inc/CASCADESamplesJni_AIS_ClearMode.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_AIS_0005fClearMode */ - -#ifndef _Included_CASCADESamplesJni_AIS_0005fClearMode -#define _Included_CASCADESamplesJni_AIS_0005fClearMode -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_AIS_0005fClearMode_AIS_CM_All -#define CASCADESamplesJni_AIS_0005fClearMode_AIS_CM_All 0L -#undef CASCADESamplesJni_AIS_0005fClearMode_AIS_CM_Interactive -#define CASCADESamplesJni_AIS_0005fClearMode_AIS_CM_Interactive 1L -#undef CASCADESamplesJni_AIS_0005fClearMode_AIS_CM_Filters -#define CASCADESamplesJni_AIS_0005fClearMode_AIS_CM_Filters 2L -#undef CASCADESamplesJni_AIS_0005fClearMode_AIS_CM_StandardModes -#define CASCADESamplesJni_AIS_0005fClearMode_AIS_CM_StandardModes 3L -#undef CASCADESamplesJni_AIS_0005fClearMode_AIS_CM_TemporaryShapePrs -#define CASCADESamplesJni_AIS_0005fClearMode_AIS_CM_TemporaryShapePrs 4L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_AIS_DisplayMode.h b/samples/java/inc/CASCADESamplesJni_AIS_DisplayMode.h deleted file mode 100755 index 710093579f..0000000000 --- a/samples/java/inc/CASCADESamplesJni_AIS_DisplayMode.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_AIS_0005fDisplayMode */ - -#ifndef _Included_CASCADESamplesJni_AIS_0005fDisplayMode -#define _Included_CASCADESamplesJni_AIS_0005fDisplayMode -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_AIS_0005fDisplayMode_AIS_WireFrame -#define CASCADESamplesJni_AIS_0005fDisplayMode_AIS_WireFrame 0L -#undef CASCADESamplesJni_AIS_0005fDisplayMode_AIS_Shaded -#define CASCADESamplesJni_AIS_0005fDisplayMode_AIS_Shaded 1L -#undef CASCADESamplesJni_AIS_0005fDisplayMode_AIS_QuickHLR -#define CASCADESamplesJni_AIS_0005fDisplayMode_AIS_QuickHLR 2L -#undef CASCADESamplesJni_AIS_0005fDisplayMode_AIS_ExactHLR -#define CASCADESamplesJni_AIS_0005fDisplayMode_AIS_ExactHLR 3L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_AIS_DisplayStatus.h b/samples/java/inc/CASCADESamplesJni_AIS_DisplayStatus.h deleted file mode 100755 index e241ca8b55..0000000000 --- a/samples/java/inc/CASCADESamplesJni_AIS_DisplayStatus.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_AIS_0005fDisplayStatus */ - -#ifndef _Included_CASCADESamplesJni_AIS_0005fDisplayStatus -#define _Included_CASCADESamplesJni_AIS_0005fDisplayStatus -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_AIS_0005fDisplayStatus_AIS_DS_Displayed -#define CASCADESamplesJni_AIS_0005fDisplayStatus_AIS_DS_Displayed 0L -#undef CASCADESamplesJni_AIS_0005fDisplayStatus_AIS_DS_Erased -#define CASCADESamplesJni_AIS_0005fDisplayStatus_AIS_DS_Erased 1L -#undef CASCADESamplesJni_AIS_0005fDisplayStatus_AIS_DS_FullErased -#define CASCADESamplesJni_AIS_0005fDisplayStatus_AIS_DS_FullErased 2L -#undef CASCADESamplesJni_AIS_0005fDisplayStatus_AIS_DS_Temporary -#define CASCADESamplesJni_AIS_0005fDisplayStatus_AIS_DS_Temporary 3L -#undef CASCADESamplesJni_AIS_0005fDisplayStatus_AIS_DS_None -#define CASCADESamplesJni_AIS_0005fDisplayStatus_AIS_DS_None 4L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_AIS_Drawer.h b/samples/java/inc/CASCADESamplesJni_AIS_Drawer.h deleted file mode 100755 index 629b2ee373..0000000000 --- a/samples/java/inc/CASCADESamplesJni_AIS_Drawer.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_AIS_0005fDrawer */ - -#ifndef _Included_CASCADESamplesJni_AIS_0005fDrawer -#define _Included_CASCADESamplesJni_AIS_0005fDrawer -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_AIS_InteractiveContext.h b/samples/java/inc/CASCADESamplesJni_AIS_InteractiveContext.h deleted file mode 100755 index 9f38bf93ff..0000000000 --- a/samples/java/inc/CASCADESamplesJni_AIS_InteractiveContext.h +++ /dev/null @@ -1,1910 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_AIS_0005fInteractiveContext */ - -#ifndef _Included_CASCADESamplesJni_AIS_0005fInteractiveContext -#define _Included_CASCADESamplesJni_AIS_0005fInteractiveContext -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_AddOrRemoveSelected_1 - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1AddOrRemoveSelected_11 - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_AddOrRemoveSelected_2 - * Signature: (LCASCADESamplesJni/TopoDS_Shape;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1AddOrRemoveSelected_12 - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_AddOrRemoveSelected_3 - * Signature: (LCASCADESamplesJni/SelectMgr_EntityOwner;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1AddOrRemoveSelected_13 - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_Color_1 - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;)S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1Color_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_Color_2 - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;LCASCADESamplesJni/Quantity_Color;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1Color_12 - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_Create_1 - * Signature: (LCASCADESamplesJni/V3d_Viewer;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1Create_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_Create_2 - * Signature: (LCASCADESamplesJni/V3d_Viewer;LCASCADESamplesJni/V3d_Viewer;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1Create_12 - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_Deactivate_1 - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1Deactivate_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_Deactivate_2 - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;I)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1Deactivate_12 - (JNIEnv *, jobject, jobject, jint); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_DisplayActiveAreas_1 - * Signature: (LCASCADESamplesJni/V3d_View;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1DisplayActiveAreas_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_DisplayActiveAreas_2 - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;LCASCADESamplesJni/V3d_View;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1DisplayActiveAreas_12 - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_DisplayActiveSensitive_1 - * Signature: (LCASCADESamplesJni/V3d_View;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1DisplayActiveSensitive_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_DisplayActiveSensitive_2 - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;LCASCADESamplesJni/V3d_View;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1DisplayActiveSensitive_12 - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_Display_1 - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1Display_11 - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_Display_2 - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;IIZZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1Display_12 - (JNIEnv *, jobject, jobject, jint, jint, jboolean, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_DisplayedObjects_1 - * Signature: (LCASCADESamplesJni/AIS_ListOfInteractive;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1DisplayedObjects_11 - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_DisplayedObjects_2 - * Signature: (SILCASCADESamplesJni/AIS_ListOfInteractive;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1DisplayedObjects_12 - (JNIEnv *, jobject, jshort, jint, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_EndImmediateDraw_1 - * Signature: (LCASCADESamplesJni/V3d_View;Z)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1EndImmediateDraw_11 - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_EndImmediateDraw_2 - * Signature: (Z)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1EndImmediateDraw_12 - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_IsDisplayed_1 - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1IsDisplayed_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_IsDisplayed_2 - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;I)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1IsDisplayed_12 - (JNIEnv *, jobject, jobject, jint); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_IsHilighted_1 - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1IsHilighted_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_IsHilighted_2 - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;Ljcas/Standard_Boolean;Ljcas/Standard_Short;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1IsHilighted_12 - (JNIEnv *, jobject, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_IsoOnPlane_1 - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1IsoOnPlane_11 - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_IsoOnPlane_2 - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1IsoOnPlane_12 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_ObjectsInCollector_1 - * Signature: (LCASCADESamplesJni/AIS_ListOfInteractive;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1ObjectsInCollector_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_ObjectsInCollector_2 - * Signature: (SILCASCADESamplesJni/AIS_ListOfInteractive;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1ObjectsInCollector_12 - (JNIEnv *, jobject, jshort, jint, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_Redisplay_1 - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;ZZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1Redisplay_11 - (JNIEnv *, jobject, jobject, jboolean, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_Redisplay_2 - * Signature: (SIZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1Redisplay_12 - (JNIEnv *, jobject, jshort, jint, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_Select_1 - * Signature: (IIIILCASCADESamplesJni/V3d_View;Z)S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1Select_11 - (JNIEnv *, jobject, jint, jint, jint, jint, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_Select_2 - * Signature: (LCASCADESamplesJni/TColgp_Array1OfPnt2d;LCASCADESamplesJni/V3d_View;Z)S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1Select_12 - (JNIEnv *, jobject, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_Select_3 - * Signature: (Z)S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1Select_13 - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_SelectionColor_1 - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SelectionColor_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_SelectionColor_2 - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SelectionColor_12 - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_SetColor_1 - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;SZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetColor_11 - (JNIEnv *, jobject, jobject, jshort, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_SetColor_2 - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;LCASCADESamplesJni/Quantity_Color;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetColor_12 - (JNIEnv *, jobject, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_SetDegenerateModel_1 - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;SD)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetDegenerateModel_11 - (JNIEnv *, jobject, jobject, jshort, jdouble); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_SetDegenerateModel_2 - * Signature: (SD)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetDegenerateModel_12 - (JNIEnv *, jobject, jshort, jdouble); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_SetDeviationAngle_1 - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;DZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetDeviationAngle_11 - (JNIEnv *, jobject, jobject, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_SetDeviationAngle_2 - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetDeviationAngle_12 - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_SetDeviationCoefficient_1 - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;DZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetDeviationCoefficient_11 - (JNIEnv *, jobject, jobject, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_SetDeviationCoefficient_2 - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetDeviationCoefficient_12 - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_SetDisplayMode_1 - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;IZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetDisplayMode_11 - (JNIEnv *, jobject, jobject, jint, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_SetDisplayMode_2 - * Signature: (SZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetDisplayMode_12 - (JNIEnv *, jobject, jshort, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_SetHLRAngleAndDeviation_1 - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;DZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetHLRAngleAndDeviation_11 - (JNIEnv *, jobject, jobject, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_SetHLRAngleAndDeviation_2 - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetHLRAngleAndDeviation_12 - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_SetHLRDeviationCoefficient_1 - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;DZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetHLRDeviationCoefficient_11 - (JNIEnv *, jobject, jobject, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_SetHLRDeviationCoefficient_2 - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetHLRDeviationCoefficient_12 - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_SetPlaneSize_1 - * Signature: (DDZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetPlaneSize_11 - (JNIEnv *, jobject, jdouble, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_SetPlaneSize_2 - * Signature: (DZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetPlaneSize_12 - (JNIEnv *, jobject, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_SetSensitivity_1 - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetSensitivity_11 - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_SetSensitivity_2 - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SetSensitivity_12 - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_ShiftSelect_1 - * Signature: (Z)S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1ShiftSelect_11 - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_ShiftSelect_2 - * Signature: (LCASCADESamplesJni/TColgp_Array1OfPnt2d;LCASCADESamplesJni/V3d_View;Z)S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1ShiftSelect_12 - (JNIEnv *, jobject, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_ShiftSelect_3 - * Signature: (IIIILCASCADESamplesJni/V3d_View;Z)S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1ShiftSelect_13 - (JNIEnv *, jobject, jint, jint, jint, jint, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_SubIntensityOff_1 - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SubIntensityOff_11 - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_SubIntensityOff_2 - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SubIntensityOff_12 - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_SubIntensityOn_1 - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SubIntensityOn_11 - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AIS_InteractiveContext_SubIntensityOn_2 - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AIS_1InteractiveContext_1SubIntensityOn_12 - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: Activate - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;I)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Activate - (JNIEnv *, jobject, jobject, jint); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: ActivateStandardMode - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_ActivateStandardMode - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: ActivatedModes - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;LCASCADESamplesJni/TColStd_ListOfInteger;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_ActivatedModes - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: ActivatedStandardModes - * Signature: ()LCASCADESamplesJni/TColStd_ListOfInteger; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_ActivatedStandardModes - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AddFilter - * Signature: (LCASCADESamplesJni/SelectMgr_Filter;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AddFilter - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AddOrRemoveCurrentObject - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AddOrRemoveCurrentObject - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: Applicative - * Signature: ()LCASCADESamplesJni/Standard_Transient; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Applicative - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: AutomaticHilight - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_AutomaticHilight - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: BeginImmediateDraw - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_BeginImmediateDraw - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: Clear - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Clear - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: ClearActiveAreas - * Signature: (LCASCADESamplesJni/V3d_View;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_ClearActiveAreas - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: ClearActiveSensitive - * Signature: (LCASCADESamplesJni/V3d_View;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_ClearActiveSensitive - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: ClearCurrents - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_ClearCurrents - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: ClearLocalContext - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_ClearLocalContext - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: ClearPrs - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;IZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_ClearPrs - (JNIEnv *, jobject, jobject, jint, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: ClearSelected - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_ClearSelected - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: CloseAllContexts - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_CloseAllContexts - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: CloseCollector - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_CloseCollector - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: CloseLocalContext - * Signature: (IZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_CloseLocalContext - (JNIEnv *, jobject, jint, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: Collector - * Signature: ()LCASCADESamplesJni/V3d_Viewer; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Collector - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: CollectorPrsMgr - * Signature: ()LCASCADESamplesJni/PrsMgr_PresentationManager3d; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_CollectorPrsMgr - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: CollectorSelector - * Signature: ()LCASCADESamplesJni/StdSelect_ViewerSelector3d; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_CollectorSelector - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: Current - * Signature: ()LCASCADESamplesJni/AIS_InteractiveObject; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Current - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: CurrentName - * Signature: ()LCASCADESamplesJni/TCollection_AsciiString; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_CurrentName - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: CurrentViewer - * Signature: ()LCASCADESamplesJni/V3d_Viewer; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_CurrentViewer - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: DeactivateStandardMode - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DeactivateStandardMode - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: DefaultColor - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DefaultColor - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: DefaultDrawer - * Signature: ()LCASCADESamplesJni/Prs3d_Drawer; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DefaultDrawer - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: Delete - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Delete - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: DetectedCurrentObject - * Signature: ()LCASCADESamplesJni/AIS_InteractiveObject; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DetectedCurrentObject - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: DetectedCurrentShape - * Signature: ()LCASCADESamplesJni/TopoDS_Shape; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DetectedCurrentShape - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: DetectedInteractive - * Signature: ()LCASCADESamplesJni/AIS_InteractiveObject; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DetectedInteractive - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: DetectedOwner - * Signature: ()LCASCADESamplesJni/SelectMgr_EntityOwner; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DetectedOwner - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: DetectedShape - * Signature: ()LCASCADESamplesJni/TopoDS_Shape; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DetectedShape - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: DeviationAngle - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DeviationAngle - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: DeviationCoefficient - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DeviationCoefficient - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: DisableDrawHiddenLine - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DisableDrawHiddenLine - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: DisplayAll - * Signature: (ZZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DisplayAll - (JNIEnv *, jobject, jboolean, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: DisplayFromCollector - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DisplayFromCollector - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: DisplayMode - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DisplayMode - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: DisplayPriority - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;)I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DisplayPriority - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: DisplaySelected - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DisplaySelected - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: DisplayStatus - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;)S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DisplayStatus - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: DisplayedModes - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;)LCASCADESamplesJni/TColStd_ListOfInteger; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DisplayedModes - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: DomainOfCollector - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DomainOfCollector - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: DomainOfMainViewer - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DomainOfMainViewer - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: Drag - * Signature: (LCASCADESamplesJni/V3d_View;LCASCADESamplesJni/AIS_InteractiveObject;LCASCADESamplesJni/Geom_Transformation;ZZZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Drag - (JNIEnv *, jobject, jobject, jobject, jobject, jboolean, jboolean, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: DrawHiddenLine - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_DrawHiddenLine - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: EnableDrawHiddenLine - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_EnableDrawHiddenLine - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: Erase - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;ZZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Erase - (JNIEnv *, jobject, jobject, jboolean, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: EraseAll - * Signature: (ZZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_EraseAll - (JNIEnv *, jobject, jboolean, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: EraseMode - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;IZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_EraseMode - (JNIEnv *, jobject, jobject, jint, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: EraseSelected - * Signature: (ZZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_EraseSelected - (JNIEnv *, jobject, jboolean, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: Filters - * Signature: ()LCASCADESamplesJni/SelectMgr_ListOfFilter; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Filters - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: FirstCurrentObject - * Signature: ()LCASCADESamplesJni/AIS_InteractiveObject; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_FirstCurrentObject - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: GetAutoActivateSelection - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_GetAutoActivateSelection - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: HLRAngle - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HLRAngle - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: HLRDeviationCoefficient - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HLRDeviationCoefficient - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: HasApplicative - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HasApplicative - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: HasColor - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HasColor - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: HasDetected - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HasDetected - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: HasDetectedShape - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HasDetectedShape - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: HasLocation - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HasLocation - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: HasNextDetected - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HasNextDetected - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: HasOpenedContext - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HasOpenedContext - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: HasPolygonOffsets - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HasPolygonOffsets - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: HasSelectedShape - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HasSelectedShape - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: HiddenLineAspect - * Signature: ()LCASCADESamplesJni/Prs3d_LineAspect; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HiddenLineAspect - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: HighestIndex - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HighestIndex - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: Hilight - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Hilight - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: HilightColor - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HilightColor - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: HilightCurrents - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HilightCurrents - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: HilightNextDetected - * Signature: (LCASCADESamplesJni/V3d_View;)I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HilightNextDetected - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: HilightPreviousDetected - * Signature: (LCASCADESamplesJni/V3d_View;)I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HilightPreviousDetected - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: HilightSelected - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HilightSelected - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: HilightWithColor - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;SZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_HilightWithColor - (JNIEnv *, jobject, jobject, jshort, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: ImmediateAdd - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;I)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_ImmediateAdd - (JNIEnv *, jobject, jobject, jint); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: ImmediateRemove - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;I)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_ImmediateRemove - (JNIEnv *, jobject, jobject, jint); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: IndexOfCurrentLocal - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_IndexOfCurrentLocal - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: InitCurrent - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_InitCurrent - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: InitDetected - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_InitDetected - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: InitSelected - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_InitSelected - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: Interactive - * Signature: ()LCASCADESamplesJni/AIS_InteractiveObject; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Interactive - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: IsCollectorClosed - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_IsCollectorClosed - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: IsCurrent - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_IsCurrent - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: IsImmediateModeOn - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_IsImmediateModeOn - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: IsInCollector - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_IsInCollector - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: IsInLocal - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;Ljcas/Standard_Integer;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_IsInLocal - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: IsSelected - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_IsSelected - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: IsoNumber - * Signature: (S)I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_IsoNumber - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: KeepTemporary - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;I)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_KeepTemporary - (JNIEnv *, jobject, jobject, jint); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: Load - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;IZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Load - (JNIEnv *, jobject, jobject, jint, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: LocalSelector - * Signature: ()LCASCADESamplesJni/StdSelect_ViewerSelector3d; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_LocalSelector - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: Location - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;)LCASCADESamplesJni/TopLoc_Location; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Location - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: MainPrsMgr - * Signature: ()LCASCADESamplesJni/PrsMgr_PresentationManager3d; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_MainPrsMgr - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: MainSelector - * Signature: ()LCASCADESamplesJni/StdSelect_ViewerSelector3d; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_MainSelector - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: MoreCurrent - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_MoreCurrent - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: MoreDetected - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_MoreDetected - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: MoreSelected - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_MoreSelected - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: MoveTo - * Signature: (IILCASCADESamplesJni/V3d_View;)S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_MoveTo - (JNIEnv *, jobject, jint, jint, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: NbCurrents - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_NbCurrents - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: NbSelected - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_NbSelected - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: NextCurrent - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_NextCurrent - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: NextDetected - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_NextDetected - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: NextSelected - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_NextSelected - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: NotUseDisplayedObjects - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_NotUseDisplayedObjects - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: ObjectsInside - * Signature: (LCASCADESamplesJni/AIS_ListOfInteractive;SI)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_ObjectsInside - (JNIEnv *, jobject, jobject, jshort, jint); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: OpenCollector - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_OpenCollector - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: OpenLocalContext - * Signature: (ZZZZ)I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_OpenLocalContext - (JNIEnv *, jobject, jboolean, jboolean, jboolean, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: PlaneSize - * Signature: (Ljcas/Standard_Real;Ljcas/Standard_Real;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_PlaneSize - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: PolygonOffsets - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;Ljcas/Standard_Integer;Ljcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_PolygonOffsets - (JNIEnv *, jobject, jobject, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: PreSelectionColor - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_PreSelectionColor - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: PurgeDisplay - * Signature: (Z)I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_PurgeDisplay - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: RecomputePrsOnly - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;ZZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_RecomputePrsOnly - (JNIEnv *, jobject, jobject, jboolean, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: RecomputeSelectionOnly - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_RecomputeSelectionOnly - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: Remove - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Remove - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: RemoveAll - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_RemoveAll - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: RemoveFilter - * Signature: (LCASCADESamplesJni/SelectMgr_Filter;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_RemoveFilter - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: RemoveFilters - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_RemoveFilters - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: ResetLocation - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_ResetLocation - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: ResetOriginalState - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_ResetOriginalState - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SelectedInteractive - * Signature: ()LCASCADESamplesJni/AIS_InteractiveObject; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SelectedInteractive - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SelectedOwner - * Signature: ()LCASCADESamplesJni/SelectMgr_EntityOwner; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SelectedOwner - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SelectedShape - * Signature: ()LCASCADESamplesJni/TopoDS_Shape; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SelectedShape - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SelectionManager - * Signature: ()LCASCADESamplesJni/SelectMgr_SelectionManager; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SelectionManager - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SelectionName - * Signature: ()LCASCADESamplesJni/TCollection_AsciiString; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SelectionName - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SetAngleAndDeviation - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;DZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetAngleAndDeviation - (JNIEnv *, jobject, jobject, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SetAutoActivateSelection - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetAutoActivateSelection - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SetAutomaticHilight - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetAutomaticHilight - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SetCurrentFacingModel - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetCurrentFacingModel - (JNIEnv *, jobject, jobject, jshort); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SetCurrentObject - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetCurrentObject - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SetDisplayPriority - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;I)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetDisplayPriority - (JNIEnv *, jobject, jobject, jint); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SetHLRAngle - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetHLRAngle - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SetHLRDeviationAngle - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;DZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetHLRDeviationAngle - (JNIEnv *, jobject, jobject, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SetHiddenLineAspect - * Signature: (LCASCADESamplesJni/Prs3d_LineAspect;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetHiddenLineAspect - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SetHilightColor - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetHilightColor - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SetIsoNumber - * Signature: (IS)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetIsoNumber - (JNIEnv *, jobject, jint, jshort); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SetLocalAttributes - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;LCASCADESamplesJni/AIS_Drawer;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetLocalAttributes - (JNIEnv *, jobject, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SetLocation - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;LCASCADESamplesJni/TopLoc_Location;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetLocation - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SetMaterial - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;SZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetMaterial - (JNIEnv *, jobject, jobject, jshort, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SetOkCurrent - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetOkCurrent - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SetPolygonOffsets - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;IDDZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetPolygonOffsets - (JNIEnv *, jobject, jobject, jint, jdouble, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SetPreselectionColor - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetPreselectionColor - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SetSelected - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetSelected - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SetSelectedAspect - * Signature: (LCASCADESamplesJni/Prs3d_BasicAspect;ZZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetSelectedAspect - (JNIEnv *, jobject, jobject, jboolean, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SetSelectedCurrent - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetSelectedCurrent - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SetSelectionMode - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;I)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetSelectionMode - (JNIEnv *, jobject, jobject, jint); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SetShapeDecomposition - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetShapeDecomposition - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SetSubIntensityColor - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetSubIntensityColor - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SetTemporaryAttributes - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;LCASCADESamplesJni/Prs3d_Drawer;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetTemporaryAttributes - (JNIEnv *, jobject, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SetToHilightSelected - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetToHilightSelected - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SetTransparency - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;DZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetTransparency - (JNIEnv *, jobject, jobject, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SetTrihedronSize - * Signature: (DZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetTrihedronSize - (JNIEnv *, jobject, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SetWidth - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;DZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetWidth - (JNIEnv *, jobject, jobject, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SetZDetection - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SetZDetection - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: Status - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;LCASCADESamplesJni/TCollection_ExtendedString;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Status - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: SubIntensityColor - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_SubIntensityColor - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: ToHilightSelected - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_ToHilightSelected - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: TrihedronSize - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_TrihedronSize - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: Unhilight - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Unhilight - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: UnhilightCurrents - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_UnhilightCurrents - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: UnhilightSelected - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_UnhilightSelected - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: UnsetColor - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_UnsetColor - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: UnsetDisplayMode - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_UnsetDisplayMode - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: UnsetLocalAttributes - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_UnsetLocalAttributes - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: UnsetMaterial - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_UnsetMaterial - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: UnsetSelectionMode - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_UnsetSelectionMode - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: UnsetTransparency - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_UnsetTransparency - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: UnsetWidth - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_UnsetWidth - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: Update - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Update - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: UpdateCollector - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_UpdateCollector - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: UpdateCurrent - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_UpdateCurrent - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: UpdateCurrentViewer - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_UpdateCurrentViewer - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: UpdateSelected - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_UpdateSelected - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: UseDisplayedObjects - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_UseDisplayedObjects - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: WasCurrentTouched - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_WasCurrentTouched - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: Width - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;)D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_Width - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveContext - * Method: ZDetection - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveContext_ZDetection - (JNIEnv *, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_AIS_InteractiveObject.h b/samples/java/inc/CASCADESamplesJni_AIS_InteractiveObject.h deleted file mode 100755 index 29397dd2f1..0000000000 --- a/samples/java/inc/CASCADESamplesJni_AIS_InteractiveObject.h +++ /dev/null @@ -1,598 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_AIS_0005fInteractiveObject */ - -#ifndef _Included_CASCADESamplesJni_AIS_0005fInteractiveObject -#define _Included_CASCADESamplesJni_AIS_0005fInteractiveObject -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: AIS_InteractiveObject_Color_1 - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_AIS_1InteractiveObject_1Color_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: AIS_InteractiveObject_Color_2 - * Signature: (LCASCADESamplesJni/Quantity_Color;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_AIS_1InteractiveObject_1Color_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: AIS_InteractiveObject_SetColor_1 - * Signature: (LCASCADESamplesJni/Quantity_Color;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_AIS_1InteractiveObject_1SetColor_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: AIS_InteractiveObject_SetColor_2 - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_AIS_1InteractiveObject_1SetColor_12 - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: AIS_InteractiveObject_SetMaterial_1 - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_AIS_1InteractiveObject_1SetMaterial_11 - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: AIS_InteractiveObject_SetMaterial_2 - * Signature: (LCASCADESamplesJni/Graphic3d_MaterialAspect;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_AIS_1InteractiveObject_1SetMaterial_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: AIS_InteractiveObject_State_1 - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_AIS_1InteractiveObject_1State_11 - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: AIS_InteractiveObject_State_2 - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_AIS_1InteractiveObject_1State_12 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: AcceptDisplayMode - * Signature: (I)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_AcceptDisplayMode - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: AcceptShapeDecomposition - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_AcceptShapeDecomposition - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: AddUser - * Signature: (LCASCADESamplesJni/Standard_Transient;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_AddUser - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: Attributes - * Signature: ()LCASCADESamplesJni/AIS_Drawer; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_Attributes - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: ClearOwner - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_ClearOwner - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: ClearUsers - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_ClearUsers - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: CurrentFacingModel - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_CurrentFacingModel - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: DefaultDisplayMode - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_DefaultDisplayMode - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: DegenerateModel - * Signature: (Ljcas/Standard_Real;)S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_DegenerateModel - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: DisplayMode - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_DisplayMode - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: GetContext - * Signature: ()LCASCADESamplesJni/AIS_InteractiveContext; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_GetContext - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: GetOwner - * Signature: ()LCASCADESamplesJni/Standard_Transient; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_GetOwner - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: HasColor - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_HasColor - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: HasDisplayMode - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_HasDisplayMode - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: HasHilightMode - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_HasHilightMode - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: HasInteractiveContext - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_HasInteractiveContext - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: HasMaterial - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_HasMaterial - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: HasOwner - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_HasOwner - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: HasPolygonOffsets - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_HasPolygonOffsets - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: HasPresentation - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_HasPresentation - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: HasSelectionMode - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_HasSelectionMode - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: HasSelectionPriority - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_HasSelectionPriority - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: HasTransformation - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_HasTransformation - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: HasUsers - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_HasUsers - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: HasWidth - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_HasWidth - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: HilightMode - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_HilightMode - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: IsInfinite - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_IsInfinite - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: IsTransparent - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_IsTransparent - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: Material - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_Material - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: PolygonOffsets - * Signature: (Ljcas/Standard_Integer;Ljcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_PolygonOffsets - (JNIEnv *, jobject, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: Presentation - * Signature: ()LCASCADESamplesJni/Prs3d_Presentation; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_Presentation - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: Redisplay - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_Redisplay - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: SelectionMode - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SelectionMode - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: SelectionPriority - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SelectionPriority - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: SetAspect - * Signature: (LCASCADESamplesJni/Prs3d_BasicAspect;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SetAspect - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: SetAttributes - * Signature: (LCASCADESamplesJni/AIS_Drawer;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SetAttributes - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: SetContext - * Signature: (LCASCADESamplesJni/AIS_InteractiveContext;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SetContext - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: SetCurrentFacingModel - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SetCurrentFacingModel - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: SetDegenerateModel - * Signature: (SD)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SetDegenerateModel - (JNIEnv *, jobject, jshort, jdouble); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: SetDisplayMode - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SetDisplayMode - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: SetHilightMode - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SetHilightMode - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: SetInfiniteState - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SetInfiniteState - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: SetOwner - * Signature: (LCASCADESamplesJni/Standard_Transient;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SetOwner - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: SetPolygonOffsets - * Signature: (IDD)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SetPolygonOffsets - (JNIEnv *, jobject, jint, jdouble, jdouble); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: SetSelectionMode - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SetSelectionMode - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: SetSelectionPriority - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SetSelectionPriority - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: SetTransformation - * Signature: (LCASCADESamplesJni/Geom_Transformation;ZZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SetTransformation - (JNIEnv *, jobject, jobject, jboolean, jboolean); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: SetTransparency - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SetTransparency - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: SetWidth - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_SetWidth - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: Signature - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_Signature - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: Transformation - * Signature: ()LCASCADESamplesJni/Geom_Transformation; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_Transformation - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: Transparency - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_Transparency - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: Type - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_Type - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: UnsetAttributes - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_UnsetAttributes - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: UnsetColor - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_UnsetColor - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: UnsetDisplayMode - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_UnsetDisplayMode - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: UnsetHilightMode - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_UnsetHilightMode - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: UnsetMaterial - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_UnsetMaterial - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: UnsetSelectionMode - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_UnsetSelectionMode - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: UnsetSelectionPriority - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_UnsetSelectionPriority - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: UnsetTransformation - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_UnsetTransformation - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: UnsetTransparency - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_UnsetTransparency - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: UnsetWidth - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_UnsetWidth - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: Users - * Signature: ()LCASCADESamplesJni/TColStd_ListOfTransient; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_Users - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fInteractiveObject - * Method: Width - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_AIS_1InteractiveObject_Width - (JNIEnv *, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_AIS_KindOfInteractive.h b/samples/java/inc/CASCADESamplesJni_AIS_KindOfInteractive.h deleted file mode 100755 index a1783dcaa0..0000000000 --- a/samples/java/inc/CASCADESamplesJni_AIS_KindOfInteractive.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_AIS_0005fKindOfInteractive */ - -#ifndef _Included_CASCADESamplesJni_AIS_0005fKindOfInteractive -#define _Included_CASCADESamplesJni_AIS_0005fKindOfInteractive -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_AIS_0005fKindOfInteractive_AIS_KOI_None -#define CASCADESamplesJni_AIS_0005fKindOfInteractive_AIS_KOI_None 0L -#undef CASCADESamplesJni_AIS_0005fKindOfInteractive_AIS_KOI_Datum -#define CASCADESamplesJni_AIS_0005fKindOfInteractive_AIS_KOI_Datum 1L -#undef CASCADESamplesJni_AIS_0005fKindOfInteractive_AIS_KOI_Shape -#define CASCADESamplesJni_AIS_0005fKindOfInteractive_AIS_KOI_Shape 2L -#undef CASCADESamplesJni_AIS_0005fKindOfInteractive_AIS_KOI_Object -#define CASCADESamplesJni_AIS_0005fKindOfInteractive_AIS_KOI_Object 3L -#undef CASCADESamplesJni_AIS_0005fKindOfInteractive_AIS_KOI_Relation -#define CASCADESamplesJni_AIS_0005fKindOfInteractive_AIS_KOI_Relation 4L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_AIS_ListOfInteractive.h b/samples/java/inc/CASCADESamplesJni_AIS_ListOfInteractive.h deleted file mode 100755 index 0384055dc5..0000000000 --- a/samples/java/inc/CASCADESamplesJni_AIS_ListOfInteractive.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_AIS_0005fListOfInteractive */ - -#ifndef _Included_CASCADESamplesJni_AIS_0005fListOfInteractive -#define _Included_CASCADESamplesJni_AIS_0005fListOfInteractive -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_AIS_0005fListOfInteractive - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1ListOfInteractive_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_AIS_Shape.h b/samples/java/inc/CASCADESamplesJni_AIS_Shape.h deleted file mode 100755 index f68fde5848..0000000000 --- a/samples/java/inc/CASCADESamplesJni_AIS_Shape.h +++ /dev/null @@ -1,326 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_AIS_0005fShape */ - -#ifndef _Included_CASCADESamplesJni_AIS_0005fShape -#define _Included_CASCADESamplesJni_AIS_0005fShape -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: AIS_Shape_Color_1 - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1Shape_AIS_1Shape_1Color_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: AIS_Shape_Color_2 - * Signature: (LCASCADESamplesJni/Quantity_Color;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_AIS_1Shape_1Color_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: AIS_Shape_Create_0 - * Signature: (LCASCADESamplesJni/TopoDS_Shape;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_AIS_1Shape_1Create_10 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: AIS_Shape_SetColor_1 - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_AIS_1Shape_1SetColor_11 - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: AIS_Shape_SetColor_2 - * Signature: (LCASCADESamplesJni/Quantity_Color;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_AIS_1Shape_1SetColor_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: AIS_Shape_SetMaterial_1 - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_AIS_1Shape_1SetMaterial_11 - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: AIS_Shape_SetMaterial_2 - * Signature: (LCASCADESamplesJni/Graphic3d_MaterialAspect;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_AIS_1Shape_1SetMaterial_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: AIS_Shape_SetOwnDeviationAngle_1 - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1Shape_AIS_1Shape_1SetOwnDeviationAngle_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: AIS_Shape_SetOwnDeviationAngle_2 - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_AIS_1Shape_1SetOwnDeviationAngle_12 - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: AIS_Shape_SetOwnDeviationCoefficient_1 - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1Shape_AIS_1Shape_1SetOwnDeviationCoefficient_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: AIS_Shape_SetOwnDeviationCoefficient_2 - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_AIS_1Shape_1SetOwnDeviationCoefficient_12 - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: AIS_Shape_SetOwnHLRDeviationAngle_1 - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1Shape_AIS_1Shape_1SetOwnHLRDeviationAngle_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: AIS_Shape_SetOwnHLRDeviationAngle_2 - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_AIS_1Shape_1SetOwnHLRDeviationAngle_12 - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: AIS_Shape_SetOwnHLRDeviationCoefficient_1 - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1Shape_AIS_1Shape_1SetOwnHLRDeviationCoefficient_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: AIS_Shape_SetOwnHLRDeviationCoefficient_2 - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_AIS_1Shape_1SetOwnHLRDeviationCoefficient_12 - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: AcceptShapeDecomposition - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1Shape_AcceptShapeDecomposition - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: BoundingBox - * Signature: ()LCASCADESamplesJni/Bnd_Box; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1Shape_BoundingBox - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: GetDeflection - * Signature: (LCASCADESamplesJni/TopoDS_Shape;LCASCADESamplesJni/Prs3d_Drawer;)D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_AIS_1Shape_GetDeflection - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: Material - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1Shape_Material - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: OwnDeviationAngle - * Signature: (Ljcas/Standard_Real;Ljcas/Standard_Real;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1Shape_OwnDeviationAngle - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: OwnDeviationCoefficient - * Signature: (Ljcas/Standard_Real;Ljcas/Standard_Real;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1Shape_OwnDeviationCoefficient - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: OwnHLRDeviationAngle - * Signature: (Ljcas/Standard_Real;Ljcas/Standard_Real;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1Shape_OwnHLRDeviationAngle - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: OwnHLRDeviationCoefficient - * Signature: (Ljcas/Standard_Real;Ljcas/Standard_Real;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_AIS_1Shape_OwnHLRDeviationCoefficient - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: SelectionMode - * Signature: (S)I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1Shape_SelectionMode - (JNIEnv *, jclass, jshort); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: SelectionType - * Signature: (I)S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1Shape_SelectionType - (JNIEnv *, jclass, jint); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: Set - * Signature: (LCASCADESamplesJni/TopoDS_Shape;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_Set - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: SetAngleAndDeviation - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_SetAngleAndDeviation - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: SetHLRAngleAndDeviation - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_SetHLRAngleAndDeviation - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: SetTransparency - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_SetTransparency - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: SetWidth - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_SetWidth - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: Shape - * Signature: ()LCASCADESamplesJni/TopoDS_Shape; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_AIS_1Shape_Shape - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: Signature - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_AIS_1Shape_Signature - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: Transparency - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_AIS_1Shape_Transparency - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: Type - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_AIS_1Shape_Type - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: UnsetColor - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_UnsetColor - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: UnsetMaterial - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_UnsetMaterial - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: UnsetTransparency - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_UnsetTransparency - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: UnsetWidth - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_AIS_1Shape_UnsetWidth - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_AIS_0005fShape - * Method: UserAngle - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_AIS_1Shape_UserAngle - (JNIEnv *, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_AIS_StatusOfDetection.h b/samples/java/inc/CASCADESamplesJni_AIS_StatusOfDetection.h deleted file mode 100755 index 0e09fa1d6c..0000000000 --- a/samples/java/inc/CASCADESamplesJni_AIS_StatusOfDetection.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_AIS_0005fStatusOfDetection */ - -#ifndef _Included_CASCADESamplesJni_AIS_0005fStatusOfDetection -#define _Included_CASCADESamplesJni_AIS_0005fStatusOfDetection -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_AIS_0005fStatusOfDetection_AIS_SOD_Error -#define CASCADESamplesJni_AIS_0005fStatusOfDetection_AIS_SOD_Error 0L -#undef CASCADESamplesJni_AIS_0005fStatusOfDetection_AIS_SOD_Nothing -#define CASCADESamplesJni_AIS_0005fStatusOfDetection_AIS_SOD_Nothing 1L -#undef CASCADESamplesJni_AIS_0005fStatusOfDetection_AIS_SOD_AllBad -#define CASCADESamplesJni_AIS_0005fStatusOfDetection_AIS_SOD_AllBad 2L -#undef CASCADESamplesJni_AIS_0005fStatusOfDetection_AIS_SOD_Selected -#define CASCADESamplesJni_AIS_0005fStatusOfDetection_AIS_SOD_Selected 3L -#undef CASCADESamplesJni_AIS_0005fStatusOfDetection_AIS_SOD_OnlyOneDetected -#define CASCADESamplesJni_AIS_0005fStatusOfDetection_AIS_SOD_OnlyOneDetected 4L -#undef CASCADESamplesJni_AIS_0005fStatusOfDetection_AIS_SOD_OnlyOneGood -#define CASCADESamplesJni_AIS_0005fStatusOfDetection_AIS_SOD_OnlyOneGood 5L -#undef CASCADESamplesJni_AIS_0005fStatusOfDetection_AIS_SOD_SeveralGood -#define CASCADESamplesJni_AIS_0005fStatusOfDetection_AIS_SOD_SeveralGood 6L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_AIS_StatusOfPick.h b/samples/java/inc/CASCADESamplesJni_AIS_StatusOfPick.h deleted file mode 100755 index 8a816d6fc7..0000000000 --- a/samples/java/inc/CASCADESamplesJni_AIS_StatusOfPick.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_AIS_0005fStatusOfPick */ - -#ifndef _Included_CASCADESamplesJni_AIS_0005fStatusOfPick -#define _Included_CASCADESamplesJni_AIS_0005fStatusOfPick -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_AIS_0005fStatusOfPick_AIS_SOP_Error -#define CASCADESamplesJni_AIS_0005fStatusOfPick_AIS_SOP_Error 0L -#undef CASCADESamplesJni_AIS_0005fStatusOfPick_AIS_SOP_NothingSelected -#define CASCADESamplesJni_AIS_0005fStatusOfPick_AIS_SOP_NothingSelected 1L -#undef CASCADESamplesJni_AIS_0005fStatusOfPick_AIS_SOP_Removed -#define CASCADESamplesJni_AIS_0005fStatusOfPick_AIS_SOP_Removed 2L -#undef CASCADESamplesJni_AIS_0005fStatusOfPick_AIS_SOP_OneSelected -#define CASCADESamplesJni_AIS_0005fStatusOfPick_AIS_SOP_OneSelected 3L -#undef CASCADESamplesJni_AIS_0005fStatusOfPick_AIS_SOP_SeveralSelected -#define CASCADESamplesJni_AIS_0005fStatusOfPick_AIS_SOP_SeveralSelected 4L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_AIS_TypeOfIso.h b/samples/java/inc/CASCADESamplesJni_AIS_TypeOfIso.h deleted file mode 100755 index b194f44eb5..0000000000 --- a/samples/java/inc/CASCADESamplesJni_AIS_TypeOfIso.h +++ /dev/null @@ -1,19 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_AIS_0005fTypeOfIso */ - -#ifndef _Included_CASCADESamplesJni_AIS_0005fTypeOfIso -#define _Included_CASCADESamplesJni_AIS_0005fTypeOfIso -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_AIS_0005fTypeOfIso_AIS_TOI_IsoU -#define CASCADESamplesJni_AIS_0005fTypeOfIso_AIS_TOI_IsoU 0L -#undef CASCADESamplesJni_AIS_0005fTypeOfIso_AIS_TOI_IsoV -#define CASCADESamplesJni_AIS_0005fTypeOfIso_AIS_TOI_IsoV 1L -#undef CASCADESamplesJni_AIS_0005fTypeOfIso_AIS_TOI_Both -#define CASCADESamplesJni_AIS_0005fTypeOfIso_AIS_TOI_Both 2L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_AspectMarker.h b/samples/java/inc/CASCADESamplesJni_Aspect_AspectMarker.h deleted file mode 100755 index 4ef2e4fadb..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_AspectMarker.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fAspectMarker */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fAspectMarker -#define _Included_CASCADESamplesJni_Aspect_0005fAspectMarker -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_Background.h b/samples/java/inc/CASCADESamplesJni_Aspect_Background.h deleted file mode 100755 index e28ebbba3e..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_Background.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fBackground */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fBackground -#define _Included_CASCADESamplesJni_Aspect_0005fBackground -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_Aspect_0005fBackground - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1Background_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_ColorMap.h b/samples/java/inc/CASCADESamplesJni_Aspect_ColorMap.h deleted file mode 100755 index f7ef233f86..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_ColorMap.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fColorMap */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fColorMap -#define _Included_CASCADESamplesJni_Aspect_0005fColorMap -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_ColorMapEntry.h b/samples/java/inc/CASCADESamplesJni_Aspect_ColorMapEntry.h deleted file mode 100755 index 40deade5fe..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_ColorMapEntry.h +++ /dev/null @@ -1,118 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fColorMapEntry */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fColorMapEntry -#define _Included_CASCADESamplesJni_Aspect_0005fColorMapEntry -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_Aspect_0005fColorMapEntry - * Method: Aspect_ColorMapEntry_Create_1 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1ColorMapEntry_Aspect_1ColorMapEntry_1Create_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fColorMapEntry - * Method: Aspect_ColorMapEntry_Create_2 - * Signature: (ILCASCADESamplesJni/Quantity_Color;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1ColorMapEntry_Aspect_1ColorMapEntry_1Create_12 - (JNIEnv *, jobject, jint, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fColorMapEntry - * Method: Aspect_ColorMapEntry_Create_3 - * Signature: (LCASCADESamplesJni/Aspect_ColorMapEntry;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1ColorMapEntry_Aspect_1ColorMapEntry_1Create_13 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fColorMapEntry - * Method: Aspect_ColorMapEntry_SetValue_1 - * Signature: (ILCASCADESamplesJni/Quantity_Color;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1ColorMapEntry_Aspect_1ColorMapEntry_1SetValue_11 - (JNIEnv *, jobject, jint, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fColorMapEntry - * Method: Aspect_ColorMapEntry_SetValue_2 - * Signature: (LCASCADESamplesJni/Aspect_ColorMapEntry;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1ColorMapEntry_Aspect_1ColorMapEntry_1SetValue_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fColorMapEntry - * Method: Color - * Signature: ()LCASCADESamplesJni/Quantity_Color; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1ColorMapEntry_Color - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fColorMapEntry - * Method: Dump - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1ColorMapEntry_Dump - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fColorMapEntry - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1ColorMapEntry_FinalizeValue - (JNIEnv *, jclass, jlong); - -/* - * Class: CASCADESamplesJni_Aspect_0005fColorMapEntry - * Method: Free - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1ColorMapEntry_Free - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fColorMapEntry - * Method: Index - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_Aspect_1ColorMapEntry_Index - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fColorMapEntry - * Method: IsAllocated - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_Aspect_1ColorMapEntry_IsAllocated - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fColorMapEntry - * Method: SetColor - * Signature: (LCASCADESamplesJni/Quantity_Color;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1ColorMapEntry_SetColor - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fColorMapEntry - * Method: SetIndex - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1ColorMapEntry_SetIndex - (JNIEnv *, jobject, jint); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_ColorScale.h b/samples/java/inc/CASCADESamplesJni_Aspect_ColorScale.h deleted file mode 100755 index 1d0d020e1b..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_ColorScale.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fColorScale */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fColorScale -#define _Included_CASCADESamplesJni_Aspect_0005fColorScale -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_Driver.h b/samples/java/inc/CASCADESamplesJni_Aspect_Driver.h deleted file mode 100755 index b1cc21c8f9..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_Driver.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fDriver */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fDriver -#define _Included_CASCADESamplesJni_Aspect_0005fDriver -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_FillMethod.h b/samples/java/inc/CASCADESamplesJni_Aspect_FillMethod.h deleted file mode 100755 index c5d94d9355..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_FillMethod.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fFillMethod */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fFillMethod -#define _Included_CASCADESamplesJni_Aspect_0005fFillMethod -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_Aspect_0005fFillMethod_Aspect_FM_NONE -#define CASCADESamplesJni_Aspect_0005fFillMethod_Aspect_FM_NONE 0L -#undef CASCADESamplesJni_Aspect_0005fFillMethod_Aspect_FM_CENTERED -#define CASCADESamplesJni_Aspect_0005fFillMethod_Aspect_FM_CENTERED 1L -#undef CASCADESamplesJni_Aspect_0005fFillMethod_Aspect_FM_TILED -#define CASCADESamplesJni_Aspect_0005fFillMethod_Aspect_FM_TILED 2L -#undef CASCADESamplesJni_Aspect_0005fFillMethod_Aspect_FM_STRETCH -#define CASCADESamplesJni_Aspect_0005fFillMethod_Aspect_FM_STRETCH 3L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_FontMap.h b/samples/java/inc/CASCADESamplesJni_Aspect_FontMap.h deleted file mode 100755 index 7c7739b30b..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_FontMap.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fFontMap */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fFontMap -#define _Included_CASCADESamplesJni_Aspect_0005fFontMap -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_FontMapEntry.h b/samples/java/inc/CASCADESamplesJni_Aspect_FontMapEntry.h deleted file mode 100755 index 86293eea2c..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_FontMapEntry.h +++ /dev/null @@ -1,118 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fFontMapEntry */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fFontMapEntry -#define _Included_CASCADESamplesJni_Aspect_0005fFontMapEntry -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_Aspect_0005fFontMapEntry - * Method: Aspect_FontMapEntry_Create_1 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontMapEntry_Aspect_1FontMapEntry_1Create_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontMapEntry - * Method: Aspect_FontMapEntry_Create_2 - * Signature: (ILCASCADESamplesJni/Aspect_FontStyle;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontMapEntry_Aspect_1FontMapEntry_1Create_12 - (JNIEnv *, jobject, jint, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontMapEntry - * Method: Aspect_FontMapEntry_Create_3 - * Signature: (LCASCADESamplesJni/Aspect_FontMapEntry;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontMapEntry_Aspect_1FontMapEntry_1Create_13 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontMapEntry - * Method: Aspect_FontMapEntry_SetValue_1 - * Signature: (ILCASCADESamplesJni/Aspect_FontStyle;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontMapEntry_Aspect_1FontMapEntry_1SetValue_11 - (JNIEnv *, jobject, jint, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontMapEntry - * Method: Aspect_FontMapEntry_SetValue_2 - * Signature: (LCASCADESamplesJni/Aspect_FontMapEntry;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontMapEntry_Aspect_1FontMapEntry_1SetValue_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontMapEntry - * Method: Dump - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontMapEntry_Dump - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontMapEntry - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontMapEntry_FinalizeValue - (JNIEnv *, jclass, jlong); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontMapEntry - * Method: Free - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontMapEntry_Free - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontMapEntry - * Method: Index - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_Aspect_1FontMapEntry_Index - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontMapEntry - * Method: IsAllocated - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_Aspect_1FontMapEntry_IsAllocated - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontMapEntry - * Method: SetIndex - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontMapEntry_SetIndex - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontMapEntry - * Method: SetType - * Signature: (LCASCADESamplesJni/Aspect_FontStyle;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontMapEntry_SetType - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontMapEntry - * Method: Type - * Signature: ()LCASCADESamplesJni/Aspect_FontStyle; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontMapEntry_Type - (JNIEnv *, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_FontStyle.h b/samples/java/inc/CASCADESamplesJni_Aspect_FontStyle.h deleted file mode 100755 index 47fba41f5e..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_FontStyle.h +++ /dev/null @@ -1,318 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fFontStyle */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fFontStyle -#define _Included_CASCADESamplesJni_Aspect_0005fFontStyle -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: AliasName - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_AliasName - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: Aspect_FontStyle_Create_1 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Aspect_1FontStyle_1Create_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: Aspect_FontStyle_Create_2 - * Signature: (IDDZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Aspect_1FontStyle_1Create_12 - (JNIEnv *, jobject, jint, jdouble, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: Aspect_FontStyle_Create_3 - * Signature: (Ljcas/Standard_CString;DDZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Aspect_1FontStyle_1Create_13 - (JNIEnv *, jobject, jobject, jdouble, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: Aspect_FontStyle_Create_4 - * Signature: (Ljcas/Standard_CString;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Aspect_1FontStyle_1Create_14 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: Aspect_FontStyle_SetValues_1 - * Signature: (IDDZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Aspect_1FontStyle_1SetValues_11 - (JNIEnv *, jobject, jint, jdouble, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: Aspect_FontStyle_SetValues_2 - * Signature: (Ljcas/Standard_CString;DDZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Aspect_1FontStyle_1SetValues_12 - (JNIEnv *, jobject, jobject, jdouble, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: Aspect_FontStyle_SetValues_3 - * Signature: (Ljcas/Standard_CString;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Aspect_1FontStyle_1SetValues_13 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: Assign - * Signature: (LCASCADESamplesJni/Aspect_FontStyle;)LCASCADESamplesJni/Aspect_FontStyle; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Assign - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: CapsHeight - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_CapsHeight - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: Dump - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Dump - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: Encoding - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Encoding - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: Family - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Family - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_FinalizeValue - (JNIEnv *, jclass, jlong); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: Foundry - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Foundry - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: FullName - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_FullName - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: IsEqual - * Signature: (LCASCADESamplesJni/Aspect_FontStyle;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_IsEqual - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: IsNotEqual - * Signature: (LCASCADESamplesJni/Aspect_FontStyle;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_IsNotEqual - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: Length - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Length - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: Registry - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Registry - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: SAverageWidth - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_SAverageWidth - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: SPixelSize - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_SPixelSize - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: SPointSize - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_SPointSize - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: SResolutionX - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_SResolutionX - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: SResolutionY - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_SResolutionY - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: SSlant - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_SSlant - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: SSpacing - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_SSpacing - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: SStyle - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_SStyle - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: SWidth - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_SWidth - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: SetEncoding - * Signature: (Ljcas/Standard_CString;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_SetEncoding - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: SetFamily - * Signature: (Ljcas/Standard_CString;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_SetFamily - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: SetRegistry - * Signature: (Ljcas/Standard_CString;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_SetRegistry - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: SetWeight - * Signature: (Ljcas/Standard_CString;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_SetWeight - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: Size - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Size - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: Slant - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Slant - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: Style - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Style - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: Value - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Value - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fFontStyle - * Method: Weight - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1FontStyle_Weight - (JNIEnv *, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_FormatOfSheetPaper.h b/samples/java/inc/CASCADESamplesJni_Aspect_FormatOfSheetPaper.h deleted file mode 100755 index 004d833d15..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_FormatOfSheetPaper.h +++ /dev/null @@ -1,55 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper -#define _Included_CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_A0 -#define CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_A0 0L -#undef CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_A1 -#define CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_A1 1L -#undef CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_A2 -#define CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_A2 2L -#undef CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_A3 -#define CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_A3 3L -#undef CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_A4 -#define CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_A4 4L -#undef CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_A5 -#define CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_A5 5L -#undef CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_K_LONG -#define CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_K_LONG 6L -#undef CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_K_SHORT -#define CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_K_SHORT 7L -#undef CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_J_LONG -#define CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_J_LONG 8L -#undef CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_J_SHORT -#define CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_J_SHORT 9L -#undef CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_H_LONG -#define CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_H_LONG 10L -#undef CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_H_SHORT -#define CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_H_SHORT 11L -#undef CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_G_LONG -#define CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_G_LONG 12L -#undef CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_G_SHORT -#define CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_G_SHORT 13L -#undef CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_F -#define CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_F 14L -#undef CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_E -#define CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_E 15L -#undef CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_D -#define CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_D 16L -#undef CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_C -#define CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_C 17L -#undef CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_B -#define CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_B 18L -#undef CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_A -#define CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_A 19L -#undef CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_UNKNOWN -#define CASCADESamplesJni_Aspect_0005fFormatOfSheetPaper_Aspect_FOSP_UNKNOWN 20L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_GenericColorMap.h b/samples/java/inc/CASCADESamplesJni_Aspect_GenericColorMap.h deleted file mode 100755 index bdb086a7c7..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_GenericColorMap.h +++ /dev/null @@ -1,78 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fGenericColorMap */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fGenericColorMap -#define _Included_CASCADESamplesJni_Aspect_0005fGenericColorMap -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_Aspect_0005fGenericColorMap - * Method: Aspect_GenericColorMap_AddEntry_1 - * Signature: (LCASCADESamplesJni/Aspect_ColorMapEntry;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1GenericColorMap_Aspect_1GenericColorMap_1AddEntry_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fGenericColorMap - * Method: Aspect_GenericColorMap_AddEntry_2 - * Signature: (LCASCADESamplesJni/Quantity_Color;)I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_Aspect_1GenericColorMap_Aspect_1GenericColorMap_1AddEntry_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fGenericColorMap - * Method: Aspect_GenericColorMap_Create_0 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1GenericColorMap_Aspect_1GenericColorMap_1Create_10 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fGenericColorMap - * Method: FindColorMapIndex - * Signature: (I)I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_Aspect_1GenericColorMap_FindColorMapIndex - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_Aspect_0005fGenericColorMap - * Method: FindEntry - * Signature: (I)LCASCADESamplesJni/Aspect_ColorMapEntry; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1GenericColorMap_FindEntry - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_Aspect_0005fGenericColorMap - * Method: NearestColorMapIndex - * Signature: (LCASCADESamplesJni/Quantity_Color;)I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_Aspect_1GenericColorMap_NearestColorMapIndex - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fGenericColorMap - * Method: NearestEntry - * Signature: (LCASCADESamplesJni/Quantity_Color;)LCASCADESamplesJni/Aspect_ColorMapEntry; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1GenericColorMap_NearestEntry - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fGenericColorMap - * Method: RemoveEntry - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1GenericColorMap_RemoveEntry - (JNIEnv *, jobject, jint); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_GraphicDevice.h b/samples/java/inc/CASCADESamplesJni_Aspect_GraphicDevice.h deleted file mode 100755 index 6d404d5631..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_GraphicDevice.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fGraphicDevice */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fGraphicDevice -#define _Included_CASCADESamplesJni_Aspect_0005fGraphicDevice -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_Grid.h b/samples/java/inc/CASCADESamplesJni_Aspect_Grid.h deleted file mode 100755 index 8a8ac308e2..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_Grid.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fGrid */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fGrid -#define _Included_CASCADESamplesJni_Aspect_0005fGrid -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_GridDrawMode.h b/samples/java/inc/CASCADESamplesJni_Aspect_GridDrawMode.h deleted file mode 100755 index 80daa3b52e..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_GridDrawMode.h +++ /dev/null @@ -1,19 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fGridDrawMode */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fGridDrawMode -#define _Included_CASCADESamplesJni_Aspect_0005fGridDrawMode -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_Aspect_0005fGridDrawMode_Aspect_GDM_Lines -#define CASCADESamplesJni_Aspect_0005fGridDrawMode_Aspect_GDM_Lines 0L -#undef CASCADESamplesJni_Aspect_0005fGridDrawMode_Aspect_GDM_Points -#define CASCADESamplesJni_Aspect_0005fGridDrawMode_Aspect_GDM_Points 1L -#undef CASCADESamplesJni_Aspect_0005fGridDrawMode_Aspect_GDM_None -#define CASCADESamplesJni_Aspect_0005fGridDrawMode_Aspect_GDM_None 2L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_GridType.h b/samples/java/inc/CASCADESamplesJni_Aspect_GridType.h deleted file mode 100755 index 899f9c8f88..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_GridType.h +++ /dev/null @@ -1,17 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fGridType */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fGridType -#define _Included_CASCADESamplesJni_Aspect_0005fGridType -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_Aspect_0005fGridType_Aspect_GT_Rectangular -#define CASCADESamplesJni_Aspect_0005fGridType_Aspect_GT_Rectangular 0L -#undef CASCADESamplesJni_Aspect_0005fGridType_Aspect_GT_Circular -#define CASCADESamplesJni_Aspect_0005fGridType_Aspect_GT_Circular 1L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_LineStyle.h b/samples/java/inc/CASCADESamplesJni_Aspect_LineStyle.h deleted file mode 100755 index 0a83438b8b..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_LineStyle.h +++ /dev/null @@ -1,110 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fLineStyle */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fLineStyle -#define _Included_CASCADESamplesJni_Aspect_0005fLineStyle -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_Aspect_0005fLineStyle - * Method: Aspect_LineStyle_Create_1 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1LineStyle_Aspect_1LineStyle_1Create_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fLineStyle - * Method: Aspect_LineStyle_Create_2 - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1LineStyle_Aspect_1LineStyle_1Create_12 - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_Aspect_0005fLineStyle - * Method: Aspect_LineStyle_Create_3 - * Signature: (LCASCADESamplesJni/TColQuantity_Array1OfLength;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1LineStyle_Aspect_1LineStyle_1Create_13 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fLineStyle - * Method: Aspect_LineStyle_SetValues_1 - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1LineStyle_Aspect_1LineStyle_1SetValues_11 - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_Aspect_0005fLineStyle - * Method: Aspect_LineStyle_SetValues_2 - * Signature: (LCASCADESamplesJni/TColQuantity_Array1OfLength;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1LineStyle_Aspect_1LineStyle_1SetValues_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fLineStyle - * Method: Assign - * Signature: (LCASCADESamplesJni/Aspect_LineStyle;)LCASCADESamplesJni/Aspect_LineStyle; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1LineStyle_Assign - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fLineStyle - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1LineStyle_FinalizeValue - (JNIEnv *, jclass, jlong); - -/* - * Class: CASCADESamplesJni_Aspect_0005fLineStyle - * Method: IsEqual - * Signature: (LCASCADESamplesJni/Aspect_LineStyle;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_Aspect_1LineStyle_IsEqual - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fLineStyle - * Method: IsNotEqual - * Signature: (LCASCADESamplesJni/Aspect_LineStyle;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_Aspect_1LineStyle_IsNotEqual - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fLineStyle - * Method: Length - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_Aspect_1LineStyle_Length - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fLineStyle - * Method: Style - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_Aspect_1LineStyle_Style - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fLineStyle - * Method: Values - * Signature: ()LCASCADESamplesJni/TColQuantity_Array1OfLength; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1LineStyle_Values - (JNIEnv *, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_MarkMap.h b/samples/java/inc/CASCADESamplesJni_Aspect_MarkMap.h deleted file mode 100755 index 3a1f80604c..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_MarkMap.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fMarkMap */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fMarkMap -#define _Included_CASCADESamplesJni_Aspect_0005fMarkMap -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_MarkMapEntry.h b/samples/java/inc/CASCADESamplesJni_Aspect_MarkMapEntry.h deleted file mode 100755 index 311d2b94ff..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_MarkMapEntry.h +++ /dev/null @@ -1,118 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fMarkMapEntry */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fMarkMapEntry -#define _Included_CASCADESamplesJni_Aspect_0005fMarkMapEntry -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_Aspect_0005fMarkMapEntry - * Method: Aspect_MarkMapEntry_Create_1 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1MarkMapEntry_Aspect_1MarkMapEntry_1Create_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fMarkMapEntry - * Method: Aspect_MarkMapEntry_Create_2 - * Signature: (ILCASCADESamplesJni/Aspect_MarkerStyle;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1MarkMapEntry_Aspect_1MarkMapEntry_1Create_12 - (JNIEnv *, jobject, jint, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fMarkMapEntry - * Method: Aspect_MarkMapEntry_Create_3 - * Signature: (LCASCADESamplesJni/Aspect_MarkMapEntry;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1MarkMapEntry_Aspect_1MarkMapEntry_1Create_13 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fMarkMapEntry - * Method: Aspect_MarkMapEntry_SetValue_1 - * Signature: (ILCASCADESamplesJni/Aspect_MarkerStyle;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1MarkMapEntry_Aspect_1MarkMapEntry_1SetValue_11 - (JNIEnv *, jobject, jint, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fMarkMapEntry - * Method: Aspect_MarkMapEntry_SetValue_2 - * Signature: (LCASCADESamplesJni/Aspect_MarkMapEntry;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1MarkMapEntry_Aspect_1MarkMapEntry_1SetValue_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fMarkMapEntry - * Method: Dump - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1MarkMapEntry_Dump - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fMarkMapEntry - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1MarkMapEntry_FinalizeValue - (JNIEnv *, jclass, jlong); - -/* - * Class: CASCADESamplesJni_Aspect_0005fMarkMapEntry - * Method: Free - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1MarkMapEntry_Free - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fMarkMapEntry - * Method: Index - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_Aspect_1MarkMapEntry_Index - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fMarkMapEntry - * Method: IsAllocated - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_Aspect_1MarkMapEntry_IsAllocated - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fMarkMapEntry - * Method: SetIndex - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1MarkMapEntry_SetIndex - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_Aspect_0005fMarkMapEntry - * Method: SetStyle - * Signature: (LCASCADESamplesJni/Aspect_MarkerStyle;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1MarkMapEntry_SetStyle - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fMarkMapEntry - * Method: Style - * Signature: ()LCASCADESamplesJni/Aspect_MarkerStyle; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1MarkMapEntry_Style - (JNIEnv *, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_MarkerStyle.h b/samples/java/inc/CASCADESamplesJni_Aspect_MarkerStyle.h deleted file mode 100755 index f9b440a70d..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_MarkerStyle.h +++ /dev/null @@ -1,126 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fMarkerStyle */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fMarkerStyle -#define _Included_CASCADESamplesJni_Aspect_0005fMarkerStyle -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_Aspect_0005fMarkerStyle - * Method: Aspect_MarkerStyle_Create_1 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1MarkerStyle_Aspect_1MarkerStyle_1Create_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fMarkerStyle - * Method: Aspect_MarkerStyle_Create_2 - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1MarkerStyle_Aspect_1MarkerStyle_1Create_12 - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_Aspect_0005fMarkerStyle - * Method: Aspect_MarkerStyle_Create_3 - * Signature: (LCASCADESamplesJni/TColStd_Array1OfReal;LCASCADESamplesJni/TColStd_Array1OfReal;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1MarkerStyle_Aspect_1MarkerStyle_1Create_13 - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fMarkerStyle - * Method: Aspect_MarkerStyle_Create_4 - * Signature: (LCASCADESamplesJni/TColStd_Array1OfReal;LCASCADESamplesJni/TColStd_Array1OfReal;LCASCADESamplesJni/TColStd_Array1OfBoolean;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1MarkerStyle_Aspect_1MarkerStyle_1Create_14 - (JNIEnv *, jobject, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fMarkerStyle - * Method: Assign - * Signature: (LCASCADESamplesJni/Aspect_MarkerStyle;)LCASCADESamplesJni/Aspect_MarkerStyle; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1MarkerStyle_Assign - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fMarkerStyle - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1MarkerStyle_FinalizeValue - (JNIEnv *, jclass, jlong); - -/* - * Class: CASCADESamplesJni_Aspect_0005fMarkerStyle - * Method: IsEqual - * Signature: (LCASCADESamplesJni/Aspect_MarkerStyle;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_Aspect_1MarkerStyle_IsEqual - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fMarkerStyle - * Method: IsNotEqual - * Signature: (LCASCADESamplesJni/Aspect_MarkerStyle;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_Aspect_1MarkerStyle_IsNotEqual - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fMarkerStyle - * Method: Length - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_Aspect_1MarkerStyle_Length - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fMarkerStyle - * Method: SValues - * Signature: ()LCASCADESamplesJni/TColStd_Array1OfBoolean; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1MarkerStyle_SValues - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fMarkerStyle - * Method: Type - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_Aspect_1MarkerStyle_Type - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fMarkerStyle - * Method: Values - * Signature: (ILjcas/Standard_Real;Ljcas/Standard_Real;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_Aspect_1MarkerStyle_Values - (JNIEnv *, jobject, jint, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fMarkerStyle - * Method: XValues - * Signature: ()LCASCADESamplesJni/TShort_Array1OfShortReal; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1MarkerStyle_XValues - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fMarkerStyle - * Method: YValues - * Signature: ()LCASCADESamplesJni/TShort_Array1OfShortReal; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1MarkerStyle_YValues - (JNIEnv *, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_PixMap.h b/samples/java/inc/CASCADESamplesJni_Aspect_PixMap.h deleted file mode 100755 index 7de436e866..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_PixMap.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fPixMap */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fPixMap -#define _Included_CASCADESamplesJni_Aspect_0005fPixMap -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_TypeMap.h b/samples/java/inc/CASCADESamplesJni_Aspect_TypeMap.h deleted file mode 100755 index bc0e0ec771..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_TypeMap.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fTypeMap */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fTypeMap -#define _Included_CASCADESamplesJni_Aspect_0005fTypeMap -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_TypeMapEntry.h b/samples/java/inc/CASCADESamplesJni_Aspect_TypeMapEntry.h deleted file mode 100755 index 7451ecb1a5..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_TypeMapEntry.h +++ /dev/null @@ -1,118 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fTypeMapEntry */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fTypeMapEntry -#define _Included_CASCADESamplesJni_Aspect_0005fTypeMapEntry -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_Aspect_0005fTypeMapEntry - * Method: Aspect_TypeMapEntry_Create_1 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1TypeMapEntry_Aspect_1TypeMapEntry_1Create_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fTypeMapEntry - * Method: Aspect_TypeMapEntry_Create_2 - * Signature: (ILCASCADESamplesJni/Aspect_LineStyle;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1TypeMapEntry_Aspect_1TypeMapEntry_1Create_12 - (JNIEnv *, jobject, jint, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fTypeMapEntry - * Method: Aspect_TypeMapEntry_Create_3 - * Signature: (LCASCADESamplesJni/Aspect_TypeMapEntry;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1TypeMapEntry_Aspect_1TypeMapEntry_1Create_13 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fTypeMapEntry - * Method: Aspect_TypeMapEntry_SetValue_1 - * Signature: (ILCASCADESamplesJni/Aspect_LineStyle;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1TypeMapEntry_Aspect_1TypeMapEntry_1SetValue_11 - (JNIEnv *, jobject, jint, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fTypeMapEntry - * Method: Aspect_TypeMapEntry_SetValue_2 - * Signature: (LCASCADESamplesJni/Aspect_TypeMapEntry;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1TypeMapEntry_Aspect_1TypeMapEntry_1SetValue_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fTypeMapEntry - * Method: Dump - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1TypeMapEntry_Dump - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fTypeMapEntry - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1TypeMapEntry_FinalizeValue - (JNIEnv *, jclass, jlong); - -/* - * Class: CASCADESamplesJni_Aspect_0005fTypeMapEntry - * Method: Free - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1TypeMapEntry_Free - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fTypeMapEntry - * Method: Index - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_Aspect_1TypeMapEntry_Index - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fTypeMapEntry - * Method: IsAllocated - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_Aspect_1TypeMapEntry_IsAllocated - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fTypeMapEntry - * Method: SetIndex - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1TypeMapEntry_SetIndex - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_Aspect_0005fTypeMapEntry - * Method: SetType - * Signature: (LCASCADESamplesJni/Aspect_LineStyle;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1TypeMapEntry_SetType - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fTypeMapEntry - * Method: Type - * Signature: ()LCASCADESamplesJni/Aspect_LineStyle; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Aspect_1TypeMapEntry_Type - (JNIEnv *, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfColorMap.h b/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfColorMap.h deleted file mode 100755 index 61cd9d8221..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfColorMap.h +++ /dev/null @@ -1,19 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fTypeOfColorMap */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fTypeOfColorMap -#define _Included_CASCADESamplesJni_Aspect_0005fTypeOfColorMap -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_Aspect_0005fTypeOfColorMap_Aspect_TOC_Generic -#define CASCADESamplesJni_Aspect_0005fTypeOfColorMap_Aspect_TOC_Generic 0L -#undef CASCADESamplesJni_Aspect_0005fTypeOfColorMap_Aspect_TOC_ColorCube -#define CASCADESamplesJni_Aspect_0005fTypeOfColorMap_Aspect_TOC_ColorCube 1L -#undef CASCADESamplesJni_Aspect_0005fTypeOfColorMap_Aspect_TOC_ColorRamp -#define CASCADESamplesJni_Aspect_0005fTypeOfColorMap_Aspect_TOC_ColorRamp 2L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfColorSpace.h b/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfColorSpace.h deleted file mode 100755 index 3c1b783de5..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfColorSpace.h +++ /dev/null @@ -1,19 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fTypeOfColorSpace */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fTypeOfColorSpace -#define _Included_CASCADESamplesJni_Aspect_0005fTypeOfColorSpace -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_Aspect_0005fTypeOfColorSpace_Aspect_TOCS_BlackAndWhite -#define CASCADESamplesJni_Aspect_0005fTypeOfColorSpace_Aspect_TOCS_BlackAndWhite 0L -#undef CASCADESamplesJni_Aspect_0005fTypeOfColorSpace_Aspect_TOCS_GreyScale -#define CASCADESamplesJni_Aspect_0005fTypeOfColorSpace_Aspect_TOCS_GreyScale 1L -#undef CASCADESamplesJni_Aspect_0005fTypeOfColorSpace_Aspect_TOCS_RGB -#define CASCADESamplesJni_Aspect_0005fTypeOfColorSpace_Aspect_TOCS_RGB 2L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfDegenerateModel.h b/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfDegenerateModel.h deleted file mode 100755 index a4a316a68f..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfDegenerateModel.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fTypeOfDegenerateModel */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fTypeOfDegenerateModel -#define _Included_CASCADESamplesJni_Aspect_0005fTypeOfDegenerateModel -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_Aspect_0005fTypeOfDegenerateModel_Aspect_TDM_NONE -#define CASCADESamplesJni_Aspect_0005fTypeOfDegenerateModel_Aspect_TDM_NONE 0L -#undef CASCADESamplesJni_Aspect_0005fTypeOfDegenerateModel_Aspect_TDM_TINY -#define CASCADESamplesJni_Aspect_0005fTypeOfDegenerateModel_Aspect_TDM_TINY 1L -#undef CASCADESamplesJni_Aspect_0005fTypeOfDegenerateModel_Aspect_TDM_WIREFRAME -#define CASCADESamplesJni_Aspect_0005fTypeOfDegenerateModel_Aspect_TDM_WIREFRAME 2L -#undef CASCADESamplesJni_Aspect_0005fTypeOfDegenerateModel_Aspect_TDM_MARKER -#define CASCADESamplesJni_Aspect_0005fTypeOfDegenerateModel_Aspect_TDM_MARKER 3L -#undef CASCADESamplesJni_Aspect_0005fTypeOfDegenerateModel_Aspect_TDM_BBOX -#define CASCADESamplesJni_Aspect_0005fTypeOfDegenerateModel_Aspect_TDM_BBOX 4L -#undef CASCADESamplesJni_Aspect_0005fTypeOfDegenerateModel_Aspect_TDM_AUTO -#define CASCADESamplesJni_Aspect_0005fTypeOfDegenerateModel_Aspect_TDM_AUTO 5L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfDrawMode.h b/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfDrawMode.h deleted file mode 100755 index 440b31aed1..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfDrawMode.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fTypeOfDrawMode */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fTypeOfDrawMode -#define _Included_CASCADESamplesJni_Aspect_0005fTypeOfDrawMode -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_Aspect_0005fTypeOfDrawMode_Aspect_TODM_REPLACE -#define CASCADESamplesJni_Aspect_0005fTypeOfDrawMode_Aspect_TODM_REPLACE 0L -#undef CASCADESamplesJni_Aspect_0005fTypeOfDrawMode_Aspect_TODM_ERASE -#define CASCADESamplesJni_Aspect_0005fTypeOfDrawMode_Aspect_TODM_ERASE 1L -#undef CASCADESamplesJni_Aspect_0005fTypeOfDrawMode_Aspect_TODM_XOR -#define CASCADESamplesJni_Aspect_0005fTypeOfDrawMode_Aspect_TODM_XOR 2L -#undef CASCADESamplesJni_Aspect_0005fTypeOfDrawMode_Aspect_TODM_XORLIGHT -#define CASCADESamplesJni_Aspect_0005fTypeOfDrawMode_Aspect_TODM_XORLIGHT 3L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfFacingModel.h b/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfFacingModel.h deleted file mode 100755 index 382a0d64c3..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfFacingModel.h +++ /dev/null @@ -1,19 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fTypeOfFacingModel */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fTypeOfFacingModel -#define _Included_CASCADESamplesJni_Aspect_0005fTypeOfFacingModel -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_Aspect_0005fTypeOfFacingModel_Aspect_TOFM_BOTH_SIDE -#define CASCADESamplesJni_Aspect_0005fTypeOfFacingModel_Aspect_TOFM_BOTH_SIDE 0L -#undef CASCADESamplesJni_Aspect_0005fTypeOfFacingModel_Aspect_TOFM_BACK_SIDE -#define CASCADESamplesJni_Aspect_0005fTypeOfFacingModel_Aspect_TOFM_BACK_SIDE 1L -#undef CASCADESamplesJni_Aspect_0005fTypeOfFacingModel_Aspect_TOFM_FRONT_SIDE -#define CASCADESamplesJni_Aspect_0005fTypeOfFacingModel_Aspect_TOFM_FRONT_SIDE 2L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfFont.h b/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfFont.h deleted file mode 100755 index 365c64ca09..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfFont.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fTypeOfFont */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fTypeOfFont -#define _Included_CASCADESamplesJni_Aspect_0005fTypeOfFont -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_Aspect_0005fTypeOfFont_Aspect_TOF_DEFAULT -#define CASCADESamplesJni_Aspect_0005fTypeOfFont_Aspect_TOF_DEFAULT 0L -#undef CASCADESamplesJni_Aspect_0005fTypeOfFont_Aspect_TOF_COURIER -#define CASCADESamplesJni_Aspect_0005fTypeOfFont_Aspect_TOF_COURIER 1L -#undef CASCADESamplesJni_Aspect_0005fTypeOfFont_Aspect_TOF_HELVETICA -#define CASCADESamplesJni_Aspect_0005fTypeOfFont_Aspect_TOF_HELVETICA 2L -#undef CASCADESamplesJni_Aspect_0005fTypeOfFont_Aspect_TOF_TIMES -#define CASCADESamplesJni_Aspect_0005fTypeOfFont_Aspect_TOF_TIMES 3L -#undef CASCADESamplesJni_Aspect_0005fTypeOfFont_Aspect_TOF_USERDEFINED -#define CASCADESamplesJni_Aspect_0005fTypeOfFont_Aspect_TOF_USERDEFINED 4L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfLine.h b/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfLine.h deleted file mode 100755 index 5e06f71f63..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfLine.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fTypeOfLine */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fTypeOfLine -#define _Included_CASCADESamplesJni_Aspect_0005fTypeOfLine -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_Aspect_0005fTypeOfLine_Aspect_TOL_SOLID -#define CASCADESamplesJni_Aspect_0005fTypeOfLine_Aspect_TOL_SOLID 0L -#undef CASCADESamplesJni_Aspect_0005fTypeOfLine_Aspect_TOL_DASH -#define CASCADESamplesJni_Aspect_0005fTypeOfLine_Aspect_TOL_DASH 1L -#undef CASCADESamplesJni_Aspect_0005fTypeOfLine_Aspect_TOL_DOT -#define CASCADESamplesJni_Aspect_0005fTypeOfLine_Aspect_TOL_DOT 2L -#undef CASCADESamplesJni_Aspect_0005fTypeOfLine_Aspect_TOL_DOTDASH -#define CASCADESamplesJni_Aspect_0005fTypeOfLine_Aspect_TOL_DOTDASH 3L -#undef CASCADESamplesJni_Aspect_0005fTypeOfLine_Aspect_TOL_USERDEFINED -#define CASCADESamplesJni_Aspect_0005fTypeOfLine_Aspect_TOL_USERDEFINED 4L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfMarker.h b/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfMarker.h deleted file mode 100755 index 3ed9d8dc2c..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfMarker.h +++ /dev/null @@ -1,41 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fTypeOfMarker */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fTypeOfMarker -#define _Included_CASCADESamplesJni_Aspect_0005fTypeOfMarker -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_Aspect_0005fTypeOfMarker_Aspect_TOM_POINT -#define CASCADESamplesJni_Aspect_0005fTypeOfMarker_Aspect_TOM_POINT 0L -#undef CASCADESamplesJni_Aspect_0005fTypeOfMarker_Aspect_TOM_PLUS -#define CASCADESamplesJni_Aspect_0005fTypeOfMarker_Aspect_TOM_PLUS 1L -#undef CASCADESamplesJni_Aspect_0005fTypeOfMarker_Aspect_TOM_STAR -#define CASCADESamplesJni_Aspect_0005fTypeOfMarker_Aspect_TOM_STAR 2L -#undef CASCADESamplesJni_Aspect_0005fTypeOfMarker_Aspect_TOM_O -#define CASCADESamplesJni_Aspect_0005fTypeOfMarker_Aspect_TOM_O 3L -#undef CASCADESamplesJni_Aspect_0005fTypeOfMarker_Aspect_TOM_X -#define CASCADESamplesJni_Aspect_0005fTypeOfMarker_Aspect_TOM_X 4L -#undef CASCADESamplesJni_Aspect_0005fTypeOfMarker_Aspect_TOM_O_POINT -#define CASCADESamplesJni_Aspect_0005fTypeOfMarker_Aspect_TOM_O_POINT 5L -#undef CASCADESamplesJni_Aspect_0005fTypeOfMarker_Aspect_TOM_O_PLUS -#define CASCADESamplesJni_Aspect_0005fTypeOfMarker_Aspect_TOM_O_PLUS 6L -#undef CASCADESamplesJni_Aspect_0005fTypeOfMarker_Aspect_TOM_O_STAR -#define CASCADESamplesJni_Aspect_0005fTypeOfMarker_Aspect_TOM_O_STAR 7L -#undef CASCADESamplesJni_Aspect_0005fTypeOfMarker_Aspect_TOM_O_X -#define CASCADESamplesJni_Aspect_0005fTypeOfMarker_Aspect_TOM_O_X 8L -#undef CASCADESamplesJni_Aspect_0005fTypeOfMarker_Aspect_TOM_BALL -#define CASCADESamplesJni_Aspect_0005fTypeOfMarker_Aspect_TOM_BALL 9L -#undef CASCADESamplesJni_Aspect_0005fTypeOfMarker_Aspect_TOM_RING1 -#define CASCADESamplesJni_Aspect_0005fTypeOfMarker_Aspect_TOM_RING1 10L -#undef CASCADESamplesJni_Aspect_0005fTypeOfMarker_Aspect_TOM_RING2 -#define CASCADESamplesJni_Aspect_0005fTypeOfMarker_Aspect_TOM_RING2 11L -#undef CASCADESamplesJni_Aspect_0005fTypeOfMarker_Aspect_TOM_RING3 -#define CASCADESamplesJni_Aspect_0005fTypeOfMarker_Aspect_TOM_RING3 12L -#undef CASCADESamplesJni_Aspect_0005fTypeOfMarker_Aspect_TOM_USERDEFINED -#define CASCADESamplesJni_Aspect_0005fTypeOfMarker_Aspect_TOM_USERDEFINED 13L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfResize.h b/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfResize.h deleted file mode 100755 index 2837afdeb6..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfResize.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fTypeOfResize */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fTypeOfResize -#define _Included_CASCADESamplesJni_Aspect_0005fTypeOfResize -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_Aspect_0005fTypeOfResize_Aspect_TOR_UNKNOWN -#define CASCADESamplesJni_Aspect_0005fTypeOfResize_Aspect_TOR_UNKNOWN 0L -#undef CASCADESamplesJni_Aspect_0005fTypeOfResize_Aspect_TOR_NO_BORDER -#define CASCADESamplesJni_Aspect_0005fTypeOfResize_Aspect_TOR_NO_BORDER 1L -#undef CASCADESamplesJni_Aspect_0005fTypeOfResize_Aspect_TOR_TOP_BORDER -#define CASCADESamplesJni_Aspect_0005fTypeOfResize_Aspect_TOR_TOP_BORDER 2L -#undef CASCADESamplesJni_Aspect_0005fTypeOfResize_Aspect_TOR_RIGHT_BORDER -#define CASCADESamplesJni_Aspect_0005fTypeOfResize_Aspect_TOR_RIGHT_BORDER 3L -#undef CASCADESamplesJni_Aspect_0005fTypeOfResize_Aspect_TOR_BOTTOM_BORDER -#define CASCADESamplesJni_Aspect_0005fTypeOfResize_Aspect_TOR_BOTTOM_BORDER 4L -#undef CASCADESamplesJni_Aspect_0005fTypeOfResize_Aspect_TOR_LEFT_BORDER -#define CASCADESamplesJni_Aspect_0005fTypeOfResize_Aspect_TOR_LEFT_BORDER 5L -#undef CASCADESamplesJni_Aspect_0005fTypeOfResize_Aspect_TOR_TOP_AND_RIGHT_BORDER -#define CASCADESamplesJni_Aspect_0005fTypeOfResize_Aspect_TOR_TOP_AND_RIGHT_BORDER 6L -#undef CASCADESamplesJni_Aspect_0005fTypeOfResize_Aspect_TOR_RIGHT_AND_BOTTOM_BORDER -#define CASCADESamplesJni_Aspect_0005fTypeOfResize_Aspect_TOR_RIGHT_AND_BOTTOM_BORDER 7L -#undef CASCADESamplesJni_Aspect_0005fTypeOfResize_Aspect_TOR_BOTTOM_AND_LEFT_BORDER -#define CASCADESamplesJni_Aspect_0005fTypeOfResize_Aspect_TOR_BOTTOM_AND_LEFT_BORDER 8L -#undef CASCADESamplesJni_Aspect_0005fTypeOfResize_Aspect_TOR_LEFT_AND_TOP_BORDER -#define CASCADESamplesJni_Aspect_0005fTypeOfResize_Aspect_TOR_LEFT_AND_TOP_BORDER 9L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfText.h b/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfText.h deleted file mode 100755 index 1fa9c10dfe..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfText.h +++ /dev/null @@ -1,17 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fTypeOfText */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fTypeOfText -#define _Included_CASCADESamplesJni_Aspect_0005fTypeOfText -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_Aspect_0005fTypeOfText_Aspect_TOT_SOLID -#define CASCADESamplesJni_Aspect_0005fTypeOfText_Aspect_TOT_SOLID 0L -#undef CASCADESamplesJni_Aspect_0005fTypeOfText_Aspect_TOT_OUTLINE -#define CASCADESamplesJni_Aspect_0005fTypeOfText_Aspect_TOT_OUTLINE 1L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfTriedronEcho.h b/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfTriedronEcho.h deleted file mode 100755 index 7d2fe8d061..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfTriedronEcho.h +++ /dev/null @@ -1,49 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho -#define _Included_CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_NONE -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_NONE 0L -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_ORIGIN -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_ORIGIN 1L -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_AXIS_X -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_AXIS_X 2L -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_AXIS_Y -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_AXIS_Y 3L -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_AXIS_Z -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_AXIS_Z 4L -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_TEXT_X -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_TEXT_X 5L -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_TEXT_Y -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_TEXT_Y 6L -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_TEXT_Z -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_TEXT_Z 7L -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_01 -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_01 8L -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_02 -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_02 9L -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_03 -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_03 10L -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_04 -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_04 11L -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_05 -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_05 12L -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_06 -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_06 13L -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_07 -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_07 14L -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_08 -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_08 15L -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_09 -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_09 16L -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_10 -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_10 17L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfTriedronPosition.h b/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfTriedronPosition.h deleted file mode 100755 index 9dd455774b..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_TypeOfTriedronPosition.h +++ /dev/null @@ -1,43 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition -#define _Included_CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_CENTER -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_CENTER 0L -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_LEFT_LOWER -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_LEFT_LOWER 1L -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_LEFT_UPPER -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_LEFT_UPPER 2L -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_RIGHT_LOWER -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_RIGHT_LOWER 3L -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_RIGHT_UPPER -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_RIGHT_UPPER 4L -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_01 -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_01 5L -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_02 -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_02 6L -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_03 -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_03 7L -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_04 -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_04 8L -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_05 -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_05 9L -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_06 -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_06 10L -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_07 -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_07 11L -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_08 -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_08 12L -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_09 -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_09 13L -#undef CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_10 -#define CASCADESamplesJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_10 14L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_WidthMap.h b/samples/java/inc/CASCADESamplesJni_Aspect_WidthMap.h deleted file mode 100755 index 21d74d1494..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_WidthMap.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fWidthMap */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fWidthMap -#define _Included_CASCADESamplesJni_Aspect_0005fWidthMap -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_WidthMapEntry.h b/samples/java/inc/CASCADESamplesJni_Aspect_WidthMapEntry.h deleted file mode 100755 index 68a7fe6419..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_WidthMapEntry.h +++ /dev/null @@ -1,150 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fWidthMapEntry */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fWidthMapEntry -#define _Included_CASCADESamplesJni_Aspect_0005fWidthMapEntry -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_Aspect_0005fWidthMapEntry - * Method: Aspect_WidthMapEntry_Create_1 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_Aspect_1WidthMapEntry_1Create_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fWidthMapEntry - * Method: Aspect_WidthMapEntry_Create_2 - * Signature: (II)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_Aspect_1WidthMapEntry_1Create_12 - (JNIEnv *, jobject, jint, jint); - -/* - * Class: CASCADESamplesJni_Aspect_0005fWidthMapEntry - * Method: Aspect_WidthMapEntry_Create_3 - * Signature: (ID)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_Aspect_1WidthMapEntry_1Create_13 - (JNIEnv *, jobject, jint, jdouble); - -/* - * Class: CASCADESamplesJni_Aspect_0005fWidthMapEntry - * Method: Aspect_WidthMapEntry_Create_4 - * Signature: (LCASCADESamplesJni/Aspect_WidthMapEntry;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_Aspect_1WidthMapEntry_1Create_14 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fWidthMapEntry - * Method: Aspect_WidthMapEntry_SetValue_1 - * Signature: (II)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_Aspect_1WidthMapEntry_1SetValue_11 - (JNIEnv *, jobject, jint, jint); - -/* - * Class: CASCADESamplesJni_Aspect_0005fWidthMapEntry - * Method: Aspect_WidthMapEntry_SetValue_2 - * Signature: (ID)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_Aspect_1WidthMapEntry_1SetValue_12 - (JNIEnv *, jobject, jint, jdouble); - -/* - * Class: CASCADESamplesJni_Aspect_0005fWidthMapEntry - * Method: Aspect_WidthMapEntry_SetValue_3 - * Signature: (LCASCADESamplesJni/Aspect_WidthMapEntry;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_Aspect_1WidthMapEntry_1SetValue_13 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fWidthMapEntry - * Method: Dump - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_Dump - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fWidthMapEntry - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_FinalizeValue - (JNIEnv *, jclass, jlong); - -/* - * Class: CASCADESamplesJni_Aspect_0005fWidthMapEntry - * Method: Free - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_Free - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fWidthMapEntry - * Method: Index - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_Index - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fWidthMapEntry - * Method: IsAllocated - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_IsAllocated - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fWidthMapEntry - * Method: SetIndex - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_SetIndex - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_Aspect_0005fWidthMapEntry - * Method: SetType - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_SetType - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_Aspect_0005fWidthMapEntry - * Method: SetWidth - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_SetWidth - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_Aspect_0005fWidthMapEntry - * Method: Type - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_Type - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Aspect_0005fWidthMapEntry - * Method: Width - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_Aspect_1WidthMapEntry_Width - (JNIEnv *, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_WidthOfLine.h b/samples/java/inc/CASCADESamplesJni_Aspect_WidthOfLine.h deleted file mode 100755 index cd486b2499..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_WidthOfLine.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fWidthOfLine */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fWidthOfLine -#define _Included_CASCADESamplesJni_Aspect_0005fWidthOfLine -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_Aspect_0005fWidthOfLine_Aspect_WOL_THIN -#define CASCADESamplesJni_Aspect_0005fWidthOfLine_Aspect_WOL_THIN 0L -#undef CASCADESamplesJni_Aspect_0005fWidthOfLine_Aspect_WOL_MEDIUM -#define CASCADESamplesJni_Aspect_0005fWidthOfLine_Aspect_WOL_MEDIUM 1L -#undef CASCADESamplesJni_Aspect_0005fWidthOfLine_Aspect_WOL_THICK -#define CASCADESamplesJni_Aspect_0005fWidthOfLine_Aspect_WOL_THICK 2L -#undef CASCADESamplesJni_Aspect_0005fWidthOfLine_Aspect_WOL_VERYTHICK -#define CASCADESamplesJni_Aspect_0005fWidthOfLine_Aspect_WOL_VERYTHICK 3L -#undef CASCADESamplesJni_Aspect_0005fWidthOfLine_Aspect_WOL_USERDEFINED -#define CASCADESamplesJni_Aspect_0005fWidthOfLine_Aspect_WOL_USERDEFINED 4L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_Window.h b/samples/java/inc/CASCADESamplesJni_Aspect_Window.h deleted file mode 100755 index 46fa9ec2cc..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_Window.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fWindow */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fWindow -#define _Included_CASCADESamplesJni_Aspect_0005fWindow -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Aspect_WindowDriver.h b/samples/java/inc/CASCADESamplesJni_Aspect_WindowDriver.h deleted file mode 100755 index af2c27ebf1..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Aspect_WindowDriver.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Aspect_0005fWindowDriver */ - -#ifndef _Included_CASCADESamplesJni_Aspect_0005fWindowDriver -#define _Included_CASCADESamplesJni_Aspect_0005fWindowDriver -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Bnd_Box.h b/samples/java/inc/CASCADESamplesJni_Bnd_Box.h deleted file mode 100755 index d5aea6f5c7..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Bnd_Box.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Bnd_0005fBox */ - -#ifndef _Included_CASCADESamplesJni_Bnd_0005fBox -#define _Included_CASCADESamplesJni_Bnd_0005fBox -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_Bnd_0005fBox - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Bnd_1Box_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Geom_Transformation.h b/samples/java/inc/CASCADESamplesJni_Geom_Transformation.h deleted file mode 100755 index b954abd5c9..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Geom_Transformation.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Geom_0005fTransformation */ - -#ifndef _Included_CASCADESamplesJni_Geom_0005fTransformation -#define _Included_CASCADESamplesJni_Geom_0005fTransformation -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Graphic2d_DisplayList.h b/samples/java/inc/CASCADESamplesJni_Graphic2d_DisplayList.h deleted file mode 100755 index c8fe78d956..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Graphic2d_DisplayList.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Graphic2d_0005fDisplayList */ - -#ifndef _Included_CASCADESamplesJni_Graphic2d_0005fDisplayList -#define _Included_CASCADESamplesJni_Graphic2d_0005fDisplayList -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Graphic2d_GraphicObject.h b/samples/java/inc/CASCADESamplesJni_Graphic2d_GraphicObject.h deleted file mode 100755 index b50ab705cd..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Graphic2d_GraphicObject.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Graphic2d_0005fGraphicObject */ - -#ifndef _Included_CASCADESamplesJni_Graphic2d_0005fGraphicObject -#define _Included_CASCADESamplesJni_Graphic2d_0005fGraphicObject -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Graphic2d_PickMode.h b/samples/java/inc/CASCADESamplesJni_Graphic2d_PickMode.h deleted file mode 100755 index 3f412c4ba1..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Graphic2d_PickMode.h +++ /dev/null @@ -1,19 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Graphic2d_0005fPickMode */ - -#ifndef _Included_CASCADESamplesJni_Graphic2d_0005fPickMode -#define _Included_CASCADESamplesJni_Graphic2d_0005fPickMode -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_Graphic2d_0005fPickMode_Graphic2d_PM_INCLUDE -#define CASCADESamplesJni_Graphic2d_0005fPickMode_Graphic2d_PM_INCLUDE 0L -#undef CASCADESamplesJni_Graphic2d_0005fPickMode_Graphic2d_PM_EXCLUDE -#define CASCADESamplesJni_Graphic2d_0005fPickMode_Graphic2d_PM_EXCLUDE 1L -#undef CASCADESamplesJni_Graphic2d_0005fPickMode_Graphic2d_PM_INTERSECT -#define CASCADESamplesJni_Graphic2d_0005fPickMode_Graphic2d_PM_INTERSECT 2L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Graphic2d_View.h b/samples/java/inc/CASCADESamplesJni_Graphic2d_View.h deleted file mode 100755 index 467a130645..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Graphic2d_View.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Graphic2d_0005fView */ - -#ifndef _Included_CASCADESamplesJni_Graphic2d_0005fView -#define _Included_CASCADESamplesJni_Graphic2d_0005fView -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Graphic3d_AspectMarker3d.h b/samples/java/inc/CASCADESamplesJni_Graphic3d_AspectMarker3d.h deleted file mode 100755 index 2f0ba0bc09..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Graphic3d_AspectMarker3d.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Graphic3d_0005fAspectMarker3d */ - -#ifndef _Included_CASCADESamplesJni_Graphic3d_0005fAspectMarker3d -#define _Included_CASCADESamplesJni_Graphic3d_0005fAspectMarker3d -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Graphic3d_DataStructureManager.h b/samples/java/inc/CASCADESamplesJni_Graphic3d_DataStructureManager.h deleted file mode 100755 index efb9853bf4..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Graphic3d_DataStructureManager.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Graphic3d_0005fDataStructureManager */ - -#ifndef _Included_CASCADESamplesJni_Graphic3d_0005fDataStructureManager -#define _Included_CASCADESamplesJni_Graphic3d_0005fDataStructureManager -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Graphic3d_MaterialAspect.h b/samples/java/inc/CASCADESamplesJni_Graphic3d_MaterialAspect.h deleted file mode 100755 index a1519884ad..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Graphic3d_MaterialAspect.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Graphic3d_0005fMaterialAspect */ - -#ifndef _Included_CASCADESamplesJni_Graphic3d_0005fMaterialAspect -#define _Included_CASCADESamplesJni_Graphic3d_0005fMaterialAspect -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_Graphic3d_0005fMaterialAspect - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Graphic3d_1MaterialAspect_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Graphic3d_NameOfMaterial.h b/samples/java/inc/CASCADESamplesJni_Graphic3d_NameOfMaterial.h deleted file mode 100755 index a0f6a79a50..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Graphic3d_NameOfMaterial.h +++ /dev/null @@ -1,55 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Graphic3d_0005fNameOfMaterial */ - -#ifndef _Included_CASCADESamplesJni_Graphic3d_0005fNameOfMaterial -#define _Included_CASCADESamplesJni_Graphic3d_0005fNameOfMaterial -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_BRASS -#define CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_BRASS 0L -#undef CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_BRONZE -#define CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_BRONZE 1L -#undef CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_COPPER -#define CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_COPPER 2L -#undef CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_GOLD -#define CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_GOLD 3L -#undef CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_PEWTER -#define CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_PEWTER 4L -#undef CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_PLASTER -#define CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_PLASTER 5L -#undef CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_PLASTIC -#define CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_PLASTIC 6L -#undef CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_SILVER -#define CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_SILVER 7L -#undef CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_STEEL -#define CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_STEEL 8L -#undef CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_STONE -#define CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_STONE 9L -#undef CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_SHINY_PLASTIC -#define CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_SHINY_PLASTIC 10L -#undef CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_SATIN -#define CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_SATIN 11L -#undef CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_METALIZED -#define CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_METALIZED 12L -#undef CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_NEON_GNC -#define CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_NEON_GNC 13L -#undef CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_CHROME -#define CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_CHROME 14L -#undef CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_ALUMINIUM -#define CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_ALUMINIUM 15L -#undef CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_OBSIDIAN -#define CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_OBSIDIAN 16L -#undef CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_NEON_PHC -#define CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_NEON_PHC 17L -#undef CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_JADE -#define CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_JADE 18L -#undef CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_DEFAULT -#define CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_DEFAULT 19L -#undef CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_UserDefined -#define CASCADESamplesJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_UserDefined 20L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Graphic3d_Plotter.h b/samples/java/inc/CASCADESamplesJni_Graphic3d_Plotter.h deleted file mode 100755 index 42bede4468..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Graphic3d_Plotter.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Graphic3d_0005fPlotter */ - -#ifndef _Included_CASCADESamplesJni_Graphic3d_0005fPlotter -#define _Included_CASCADESamplesJni_Graphic3d_0005fPlotter -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Graphic3d_Structure.h b/samples/java/inc/CASCADESamplesJni_Graphic3d_Structure.h deleted file mode 100755 index 98367d6dd9..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Graphic3d_Structure.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Graphic3d_0005fStructure */ - -#ifndef _Included_CASCADESamplesJni_Graphic3d_0005fStructure -#define _Included_CASCADESamplesJni_Graphic3d_0005fStructure -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Graphic3d_StructureManager.h b/samples/java/inc/CASCADESamplesJni_Graphic3d_StructureManager.h deleted file mode 100755 index d86b82862f..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Graphic3d_StructureManager.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Graphic3d_0005fStructureManager */ - -#ifndef _Included_CASCADESamplesJni_Graphic3d_0005fStructureManager -#define _Included_CASCADESamplesJni_Graphic3d_0005fStructureManager -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Graphic3d_TextureEnv.h b/samples/java/inc/CASCADESamplesJni_Graphic3d_TextureEnv.h deleted file mode 100755 index 18ae3d1671..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Graphic3d_TextureEnv.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Graphic3d_0005fTextureEnv */ - -#ifndef _Included_CASCADESamplesJni_Graphic3d_0005fTextureEnv -#define _Included_CASCADESamplesJni_Graphic3d_0005fTextureEnv -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Graphic3d_TextureRoot.h b/samples/java/inc/CASCADESamplesJni_Graphic3d_TextureRoot.h deleted file mode 100755 index 1ea4ac37a6..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Graphic3d_TextureRoot.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Graphic3d_0005fTextureRoot */ - -#ifndef _Included_CASCADESamplesJni_Graphic3d_0005fTextureRoot -#define _Included_CASCADESamplesJni_Graphic3d_0005fTextureRoot -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Graphic3d_Vector.h b/samples/java/inc/CASCADESamplesJni_Graphic3d_Vector.h deleted file mode 100755 index 5da7f10a06..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Graphic3d_Vector.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Graphic3d_0005fVector */ - -#ifndef _Included_CASCADESamplesJni_Graphic3d_0005fVector -#define _Included_CASCADESamplesJni_Graphic3d_0005fVector -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_Graphic3d_0005fVector - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Graphic3d_1Vector_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Graphic3d_Vertex.h b/samples/java/inc/CASCADESamplesJni_Graphic3d_Vertex.h deleted file mode 100755 index 38ced5a2ad..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Graphic3d_Vertex.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Graphic3d_0005fVertex */ - -#ifndef _Included_CASCADESamplesJni_Graphic3d_0005fVertex -#define _Included_CASCADESamplesJni_Graphic3d_0005fVertex -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_Graphic3d_0005fVertex - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Graphic3d_1Vertex_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_ISession2D_InteractiveContext.h b/samples/java/inc/CASCADESamplesJni_ISession2D_InteractiveContext.h deleted file mode 100755 index 7f5beaae12..0000000000 --- a/samples/java/inc/CASCADESamplesJni_ISession2D_InteractiveContext.h +++ /dev/null @@ -1,174 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_ISession2D_0005fInteractiveContext */ - -#ifndef _Included_CASCADESamplesJni_ISession2D_0005fInteractiveContext -#define _Included_CASCADESamplesJni_ISession2D_0005fInteractiveContext -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_ISession2D_0005fInteractiveContext - * Method: Clear - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_Clear - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_ISession2D_0005fInteractiveContext - * Method: ClearAreas - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_ClearAreas - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_ISession2D_0005fInteractiveContext - * Method: DisplayAll - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_DisplayAll - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_ISession2D_0005fInteractiveContext - * Method: DisplayAreas - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_DisplayAreas - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_ISession2D_0005fInteractiveContext - * Method: Erase - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_Erase - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_ISession2D_0005fInteractiveContext - * Method: EraseAll - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_EraseAll - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_ISession2D_0005fInteractiveContext - * Method: Highlight - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_Highlight - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_ISession2D_0005fInteractiveContext - * Method: ISession2D_InteractiveContext_Create_1 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_ISession2D_1InteractiveContext_1Create_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_ISession2D_0005fInteractiveContext - * Method: ISession2D_InteractiveContext_Create_2 - * Signature: (LCASCADESamplesJni/V2d_Viewer;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_ISession2D_1InteractiveContext_1Create_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_ISession2D_0005fInteractiveContext - * Method: ISession2D_InteractiveContext_Display_1 - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_ISession2D_1InteractiveContext_1Display_11 - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_ISession2D_0005fInteractiveContext - * Method: ISession2D_InteractiveContext_Display_2 - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;IIZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_ISession2D_1InteractiveContext_1Display_12 - (JNIEnv *, jobject, jobject, jint, jint, jboolean); - -/* - * Class: CASCADESamplesJni_ISession2D_0005fInteractiveContext - * Method: ISession2D_InteractiveContext_Move_1 - * Signature: (IILCASCADESamplesJni/V2d_View;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_ISession2D_1InteractiveContext_1Move_11 - (JNIEnv *, jobject, jint, jint, jobject); - -/* - * Class: CASCADESamplesJni_ISession2D_0005fInteractiveContext - * Method: ISession2D_InteractiveContext_Move_2 - * Signature: (IIIILCASCADESamplesJni/V2d_View;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_ISession2D_1InteractiveContext_1Move_12 - (JNIEnv *, jobject, jint, jint, jint, jint, jobject); - -/* - * Class: CASCADESamplesJni_ISession2D_0005fInteractiveContext - * Method: Initialize - * Signature: (LCASCADESamplesJni/V2d_Viewer;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_Initialize - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_ISession2D_0005fInteractiveContext - * Method: IsDisplayed - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;I)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_IsDisplayed - (JNIEnv *, jobject, jobject, jint); - -/* - * Class: CASCADESamplesJni_ISession2D_0005fInteractiveContext - * Method: IsHilighted - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_IsHilighted - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_ISession2D_0005fInteractiveContext - * Method: Pick - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_Pick - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_ISession2D_0005fInteractiveContext - * Method: Redisplay - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;ZZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_Redisplay - (JNIEnv *, jobject, jobject, jboolean, jboolean); - -/* - * Class: CASCADESamplesJni_ISession2D_0005fInteractiveContext - * Method: Remove - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_Remove - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_ISession2D_0005fInteractiveContext - * Method: Unhighlight - * Signature: (LCASCADESamplesJni/AIS_InteractiveObject;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_ISession2D_1InteractiveContext_Unhighlight - (JNIEnv *, jobject, jobject, jboolean); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_MMgt_TShared.h b/samples/java/inc/CASCADESamplesJni_MMgt_TShared.h deleted file mode 100755 index db6cbef282..0000000000 --- a/samples/java/inc/CASCADESamplesJni_MMgt_TShared.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_MMgt_0005fTShared */ - -#ifndef _Included_CASCADESamplesJni_MMgt_0005fTShared -#define _Included_CASCADESamplesJni_MMgt_0005fTShared -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_PlotMgt_PlotterDriver.h b/samples/java/inc/CASCADESamplesJni_PlotMgt_PlotterDriver.h deleted file mode 100755 index 1d70a1dd99..0000000000 --- a/samples/java/inc/CASCADESamplesJni_PlotMgt_PlotterDriver.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_PlotMgt_0005fPlotterDriver */ - -#ifndef _Included_CASCADESamplesJni_PlotMgt_0005fPlotterDriver -#define _Included_CASCADESamplesJni_PlotMgt_0005fPlotterDriver -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Prs3d_BasicAspect.h b/samples/java/inc/CASCADESamplesJni_Prs3d_BasicAspect.h deleted file mode 100755 index 7798c09bf8..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Prs3d_BasicAspect.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Prs3d_0005fBasicAspect */ - -#ifndef _Included_CASCADESamplesJni_Prs3d_0005fBasicAspect -#define _Included_CASCADESamplesJni_Prs3d_0005fBasicAspect -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Prs3d_Drawer.h b/samples/java/inc/CASCADESamplesJni_Prs3d_Drawer.h deleted file mode 100755 index ca82d36367..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Prs3d_Drawer.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Prs3d_0005fDrawer */ - -#ifndef _Included_CASCADESamplesJni_Prs3d_0005fDrawer -#define _Included_CASCADESamplesJni_Prs3d_0005fDrawer -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Prs3d_LineAspect.h b/samples/java/inc/CASCADESamplesJni_Prs3d_LineAspect.h deleted file mode 100755 index 0b28d10d59..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Prs3d_LineAspect.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Prs3d_0005fLineAspect */ - -#ifndef _Included_CASCADESamplesJni_Prs3d_0005fLineAspect -#define _Included_CASCADESamplesJni_Prs3d_0005fLineAspect -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Prs3d_Presentation.h b/samples/java/inc/CASCADESamplesJni_Prs3d_Presentation.h deleted file mode 100755 index a8b66b75cf..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Prs3d_Presentation.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Prs3d_0005fPresentation */ - -#ifndef _Included_CASCADESamplesJni_Prs3d_0005fPresentation -#define _Included_CASCADESamplesJni_Prs3d_0005fPresentation -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Prs3d_Projector.h b/samples/java/inc/CASCADESamplesJni_Prs3d_Projector.h deleted file mode 100755 index 527084c4d8..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Prs3d_Projector.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Prs3d_0005fProjector */ - -#ifndef _Included_CASCADESamplesJni_Prs3d_0005fProjector -#define _Included_CASCADESamplesJni_Prs3d_0005fProjector -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_PrsMgr_PresentableObject.h b/samples/java/inc/CASCADESamplesJni_PrsMgr_PresentableObject.h deleted file mode 100755 index 787d2040f0..0000000000 --- a/samples/java/inc/CASCADESamplesJni_PrsMgr_PresentableObject.h +++ /dev/null @@ -1,110 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_PrsMgr_0005fPresentableObject */ - -#ifndef _Included_CASCADESamplesJni_PrsMgr_0005fPresentableObject -#define _Included_CASCADESamplesJni_PrsMgr_0005fPresentableObject -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_PrsMgr_0005fPresentableObject - * Method: GetTransformPersistencePoint - * Signature: ()LCASCADESamplesJni/gp_Pnt; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_PrsMgr_1PresentableObject_GetTransformPersistencePoint - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_PrsMgr_0005fPresentableObject - * Method: HasLocation - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_PrsMgr_1PresentableObject_HasLocation - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_PrsMgr_0005fPresentableObject - * Method: Location - * Signature: ()LCASCADESamplesJni/TopLoc_Location; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_PrsMgr_1PresentableObject_Location - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_PrsMgr_0005fPresentableObject - * Method: PrsMgr_PresentableObject_SetToUpdate_1 - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_PrsMgr_1PresentableObject_PrsMgr_1PresentableObject_1SetToUpdate_11 - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_PrsMgr_0005fPresentableObject - * Method: PrsMgr_PresentableObject_SetToUpdate_2 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_PrsMgr_1PresentableObject_PrsMgr_1PresentableObject_1SetToUpdate_12 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_PrsMgr_0005fPresentableObject - * Method: PrsMgr_PresentableObject_UpdateLocation_1 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_PrsMgr_1PresentableObject_PrsMgr_1PresentableObject_1UpdateLocation_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_PrsMgr_0005fPresentableObject - * Method: PrsMgr_PresentableObject_UpdateLocation_2 - * Signature: (LCASCADESamplesJni/Prs3d_Presentation;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_PrsMgr_1PresentableObject_PrsMgr_1PresentableObject_1UpdateLocation_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_PrsMgr_0005fPresentableObject - * Method: ResetLocation - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_PrsMgr_1PresentableObject_ResetLocation - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_PrsMgr_0005fPresentableObject - * Method: SetLocation - * Signature: (LCASCADESamplesJni/TopLoc_Location;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_PrsMgr_1PresentableObject_SetLocation - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_PrsMgr_0005fPresentableObject - * Method: SetTypeOfPresentation - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_PrsMgr_1PresentableObject_SetTypeOfPresentation - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_PrsMgr_0005fPresentableObject - * Method: ToBeUpdated - * Signature: (LCASCADESamplesJni/TColStd_ListOfInteger;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_PrsMgr_1PresentableObject_ToBeUpdated - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_PrsMgr_0005fPresentableObject - * Method: TypeOfPresentation3d - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_PrsMgr_1PresentableObject_TypeOfPresentation3d - (JNIEnv *, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_PrsMgr_Presentation.h b/samples/java/inc/CASCADESamplesJni_PrsMgr_Presentation.h deleted file mode 100755 index 431897290b..0000000000 --- a/samples/java/inc/CASCADESamplesJni_PrsMgr_Presentation.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_PrsMgr_0005fPresentation */ - -#ifndef _Included_CASCADESamplesJni_PrsMgr_0005fPresentation -#define _Included_CASCADESamplesJni_PrsMgr_0005fPresentation -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_PrsMgr_PresentationManager.h b/samples/java/inc/CASCADESamplesJni_PrsMgr_PresentationManager.h deleted file mode 100755 index c584f0a9e4..0000000000 --- a/samples/java/inc/CASCADESamplesJni_PrsMgr_PresentationManager.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_PrsMgr_0005fPresentationManager */ - -#ifndef _Included_CASCADESamplesJni_PrsMgr_0005fPresentationManager -#define _Included_CASCADESamplesJni_PrsMgr_0005fPresentationManager -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_PrsMgr_PresentationManager2d.h b/samples/java/inc/CASCADESamplesJni_PrsMgr_PresentationManager2d.h deleted file mode 100755 index 2f3a516fc0..0000000000 --- a/samples/java/inc/CASCADESamplesJni_PrsMgr_PresentationManager2d.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_PrsMgr_0005fPresentationManager2d */ - -#ifndef _Included_CASCADESamplesJni_PrsMgr_0005fPresentationManager2d -#define _Included_CASCADESamplesJni_PrsMgr_0005fPresentationManager2d -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_PrsMgr_PresentationManager3d.h b/samples/java/inc/CASCADESamplesJni_PrsMgr_PresentationManager3d.h deleted file mode 100755 index 39a032f3f9..0000000000 --- a/samples/java/inc/CASCADESamplesJni_PrsMgr_PresentationManager3d.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_PrsMgr_0005fPresentationManager3d */ - -#ifndef _Included_CASCADESamplesJni_PrsMgr_0005fPresentationManager3d -#define _Included_CASCADESamplesJni_PrsMgr_0005fPresentationManager3d -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_PrsMgr_Presentations.h b/samples/java/inc/CASCADESamplesJni_PrsMgr_Presentations.h deleted file mode 100755 index 612e7e0015..0000000000 --- a/samples/java/inc/CASCADESamplesJni_PrsMgr_Presentations.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_PrsMgr_0005fPresentations */ - -#ifndef _Included_CASCADESamplesJni_PrsMgr_0005fPresentations -#define _Included_CASCADESamplesJni_PrsMgr_0005fPresentations -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_PrsMgr_0005fPresentations - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_PrsMgr_1Presentations_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_PrsMgr_TypeOfPresentation3d.h b/samples/java/inc/CASCADESamplesJni_PrsMgr_TypeOfPresentation3d.h deleted file mode 100755 index b56d00d674..0000000000 --- a/samples/java/inc/CASCADESamplesJni_PrsMgr_TypeOfPresentation3d.h +++ /dev/null @@ -1,17 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_PrsMgr_0005fTypeOfPresentation3d */ - -#ifndef _Included_CASCADESamplesJni_PrsMgr_0005fTypeOfPresentation3d -#define _Included_CASCADESamplesJni_PrsMgr_0005fTypeOfPresentation3d -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_PrsMgr_0005fTypeOfPresentation3d_PrsMgr_TOP_AllView -#define CASCADESamplesJni_PrsMgr_0005fTypeOfPresentation3d_PrsMgr_TOP_AllView 0L -#undef CASCADESamplesJni_PrsMgr_0005fTypeOfPresentation3d_PrsMgr_TOP_ProjectorDependant -#define CASCADESamplesJni_PrsMgr_0005fTypeOfPresentation3d_PrsMgr_TOP_ProjectorDependant 1L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Quantity_Color.h b/samples/java/inc/CASCADESamplesJni_Quantity_Color.h deleted file mode 100755 index c1781298ac..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Quantity_Color.h +++ /dev/null @@ -1,246 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Quantity_0005fColor */ - -#ifndef _Included_CASCADESamplesJni_Quantity_0005fColor -#define _Included_CASCADESamplesJni_Quantity_0005fColor -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_Quantity_0005fColor - * Method: Assign - * Signature: (LCASCADESamplesJni/Quantity_Color;)LCASCADESamplesJni/Quantity_Color; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Quantity_1Color_Assign - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Quantity_0005fColor - * Method: Blue - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_Quantity_1Color_Blue - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Quantity_0005fColor - * Method: ChangeContrast - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Quantity_1Color_ChangeContrast - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_Quantity_0005fColor - * Method: ChangeIntensity - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Quantity_1Color_ChangeIntensity - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_Quantity_0005fColor - * Method: Delta - * Signature: (LCASCADESamplesJni/Quantity_Color;Ljcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Quantity_1Color_Delta - (JNIEnv *, jobject, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Quantity_0005fColor - * Method: Distance - * Signature: (LCASCADESamplesJni/Quantity_Color;)D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_Quantity_1Color_Distance - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Quantity_0005fColor - * Method: Epsilon - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_Quantity_1Color_Epsilon - (JNIEnv *, jclass); - -/* - * Class: CASCADESamplesJni_Quantity_0005fColor - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Quantity_1Color_FinalizeValue - (JNIEnv *, jclass, jlong); - -/* - * Class: CASCADESamplesJni_Quantity_0005fColor - * Method: Green - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_Quantity_1Color_Green - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Quantity_0005fColor - * Method: HlsRgb - * Signature: (DDDLjcas/Standard_Real;Ljcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Quantity_1Color_HlsRgb - (JNIEnv *, jclass, jdouble, jdouble, jdouble, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Quantity_0005fColor - * Method: Hue - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_Quantity_1Color_Hue - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Quantity_0005fColor - * Method: IsDifferent - * Signature: (LCASCADESamplesJni/Quantity_Color;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_Quantity_1Color_IsDifferent - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Quantity_0005fColor - * Method: IsEqual - * Signature: (LCASCADESamplesJni/Quantity_Color;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_Quantity_1Color_IsEqual - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Quantity_0005fColor - * Method: Light - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_Quantity_1Color_Light - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Quantity_0005fColor - * Method: Quantity_Color_Create_1 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Quantity_1Color_Quantity_1Color_1Create_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Quantity_0005fColor - * Method: Quantity_Color_Create_2 - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Quantity_1Color_Quantity_1Color_1Create_12 - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_Quantity_0005fColor - * Method: Quantity_Color_Create_3 - * Signature: (DDDS)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Quantity_1Color_Quantity_1Color_1Create_13 - (JNIEnv *, jobject, jdouble, jdouble, jdouble, jshort); - -/* - * Class: CASCADESamplesJni_Quantity_0005fColor - * Method: Quantity_Color_Name_1 - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_Quantity_1Color_Quantity_1Color_1Name_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Quantity_0005fColor - * Method: Quantity_Color_Name_2 - * Signature: (DDD)S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_Quantity_1Color_Quantity_1Color_1Name_12 - (JNIEnv *, jclass, jdouble, jdouble, jdouble); - -/* - * Class: CASCADESamplesJni_Quantity_0005fColor - * Method: Quantity_Color_SetValues_1 - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Quantity_1Color_Quantity_1Color_1SetValues_11 - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_Quantity_0005fColor - * Method: Quantity_Color_SetValues_2 - * Signature: (DDDS)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Quantity_1Color_Quantity_1Color_1SetValues_12 - (JNIEnv *, jobject, jdouble, jdouble, jdouble, jshort); - -/* - * Class: CASCADESamplesJni_Quantity_0005fColor - * Method: Red - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_Quantity_1Color_Red - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Quantity_0005fColor - * Method: RgbHls - * Signature: (DDDLjcas/Standard_Real;Ljcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Quantity_1Color_RgbHls - (JNIEnv *, jclass, jdouble, jdouble, jdouble, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Quantity_0005fColor - * Method: Saturation - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_Quantity_1Color_Saturation - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Quantity_0005fColor - * Method: SetEpsilon - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Quantity_1Color_SetEpsilon - (JNIEnv *, jclass, jdouble); - -/* - * Class: CASCADESamplesJni_Quantity_0005fColor - * Method: SquareDistance - * Signature: (LCASCADESamplesJni/Quantity_Color;)D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_Quantity_1Color_SquareDistance - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_Quantity_0005fColor - * Method: StringName - * Signature: (S)Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Quantity_1Color_StringName - (JNIEnv *, jclass, jshort); - -/* - * Class: CASCADESamplesJni_Quantity_0005fColor - * Method: Test - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Quantity_1Color_Test - (JNIEnv *, jclass); - -/* - * Class: CASCADESamplesJni_Quantity_0005fColor - * Method: Values - * Signature: (Ljcas/Standard_Real;Ljcas/Standard_Real;Ljcas/Standard_Real;S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Quantity_1Color_Values - (JNIEnv *, jobject, jobject, jobject, jobject, jshort); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Quantity_NameOfColor.h b/samples/java/inc/CASCADESamplesJni_Quantity_NameOfColor.h deleted file mode 100755 index 779f2be087..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Quantity_NameOfColor.h +++ /dev/null @@ -1,1047 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Quantity_0005fNameOfColor */ - -#ifndef _Included_CASCADESamplesJni_Quantity_0005fNameOfColor -#define _Included_CASCADESamplesJni_Quantity_0005fNameOfColor -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BLACK -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BLACK 0L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MATRABLUE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MATRABLUE 1L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MATRAGRAY -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MATRAGRAY 2L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ALICEBLUE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ALICEBLUE 3L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ANTIQUEWHITE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ANTIQUEWHITE 4L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ANTIQUEWHITE1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ANTIQUEWHITE1 5L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ANTIQUEWHITE2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ANTIQUEWHITE2 6L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ANTIQUEWHITE3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ANTIQUEWHITE3 7L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ANTIQUEWHITE4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ANTIQUEWHITE4 8L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_AQUAMARINE1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_AQUAMARINE1 9L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_AQUAMARINE2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_AQUAMARINE2 10L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_AQUAMARINE4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_AQUAMARINE4 11L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_AZURE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_AZURE 12L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_AZURE2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_AZURE2 13L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_AZURE3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_AZURE3 14L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_AZURE4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_AZURE4 15L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BEIGE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BEIGE 16L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BISQUE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BISQUE 17L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BISQUE2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BISQUE2 18L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BISQUE3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BISQUE3 19L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BISQUE4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BISQUE4 20L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BLANCHEDALMOND -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BLANCHEDALMOND 21L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BLUE1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BLUE1 22L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BLUE2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BLUE2 23L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BLUE3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BLUE3 24L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BLUE4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BLUE4 25L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BLUEVIOLET -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BLUEVIOLET 26L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BROWN -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BROWN 27L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BROWN1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BROWN1 28L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BROWN2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BROWN2 29L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BROWN3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BROWN3 30L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BROWN4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BROWN4 31L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BURLYWOOD -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BURLYWOOD 32L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BURLYWOOD1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BURLYWOOD1 33L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BURLYWOOD2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BURLYWOOD2 34L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BURLYWOOD3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BURLYWOOD3 35L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BURLYWOOD4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BURLYWOOD4 36L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CADETBLUE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CADETBLUE 37L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CADETBLUE1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CADETBLUE1 38L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CADETBLUE2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CADETBLUE2 39L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CADETBLUE3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CADETBLUE3 40L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CADETBLUE4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CADETBLUE4 41L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CHARTREUSE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CHARTREUSE 42L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CHARTREUSE1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CHARTREUSE1 43L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CHARTREUSE2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CHARTREUSE2 44L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CHARTREUSE3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CHARTREUSE3 45L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CHARTREUSE4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CHARTREUSE4 46L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CHOCOLATE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CHOCOLATE 47L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CHOCOLATE1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CHOCOLATE1 48L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CHOCOLATE2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CHOCOLATE2 49L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CHOCOLATE3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CHOCOLATE3 50L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CHOCOLATE4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CHOCOLATE4 51L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CORAL -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CORAL 52L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CORAL1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CORAL1 53L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CORAL2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CORAL2 54L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CORAL3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CORAL3 55L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CORAL4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CORAL4 56L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CORNFLOWERBLUE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CORNFLOWERBLUE 57L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CORNSILK1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CORNSILK1 58L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CORNSILK2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CORNSILK2 59L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CORNSILK3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CORNSILK3 60L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CORNSILK4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CORNSILK4 61L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CYAN1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CYAN1 62L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CYAN2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CYAN2 63L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CYAN3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CYAN3 64L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CYAN4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_CYAN4 65L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGOLDENROD -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGOLDENROD 66L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGOLDENROD1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGOLDENROD1 67L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGOLDENROD2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGOLDENROD2 68L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGOLDENROD3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGOLDENROD3 69L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGOLDENROD4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGOLDENROD4 70L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGREEN -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGREEN 71L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKKHAKI -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKKHAKI 72L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKOLIVEGREEN -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKOLIVEGREEN 73L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKOLIVEGREEN1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKOLIVEGREEN1 74L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKOLIVEGREEN2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKOLIVEGREEN2 75L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKOLIVEGREEN3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKOLIVEGREEN3 76L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKOLIVEGREEN4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKOLIVEGREEN4 77L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORANGE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORANGE 78L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORANGE1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORANGE1 79L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORANGE2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORANGE2 80L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORANGE3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORANGE3 81L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORANGE4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORANGE4 82L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORCHID -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORCHID 83L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORCHID1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORCHID1 84L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORCHID2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORCHID2 85L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORCHID3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORCHID3 86L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORCHID4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORCHID4 87L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSALMON -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSALMON 88L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSEAGREEN -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSEAGREEN 89L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSEAGREEN1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSEAGREEN1 90L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSEAGREEN2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSEAGREEN2 91L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSEAGREEN3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSEAGREEN3 92L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSEAGREEN4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSEAGREEN4 93L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEBLUE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEBLUE 94L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEGRAY1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEGRAY1 95L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEGRAY2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEGRAY2 96L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEGRAY3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEGRAY3 97L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEGRAY4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEGRAY4 98L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEGRAY -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEGRAY 99L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKTURQUOISE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKTURQUOISE 100L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKVIOLET -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKVIOLET 101L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPPINK -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPPINK 102L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPPINK2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPPINK2 103L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPPINK3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPPINK3 104L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPPINK4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPPINK4 105L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPSKYBLUE1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPSKYBLUE1 106L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPSKYBLUE2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPSKYBLUE2 107L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPSKYBLUE3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPSKYBLUE3 108L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPSKYBLUE4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPSKYBLUE4 109L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DODGERBLUE1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DODGERBLUE1 110L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DODGERBLUE2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DODGERBLUE2 111L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DODGERBLUE3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DODGERBLUE3 112L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DODGERBLUE4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_DODGERBLUE4 113L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_FIREBRICK -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_FIREBRICK 114L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_FIREBRICK1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_FIREBRICK1 115L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_FIREBRICK2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_FIREBRICK2 116L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_FIREBRICK3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_FIREBRICK3 117L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_FIREBRICK4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_FIREBRICK4 118L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_FLORALWHITE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_FLORALWHITE 119L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_FORESTGREEN -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_FORESTGREEN 120L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GAINSBORO -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GAINSBORO 121L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GHOSTWHITE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GHOSTWHITE 122L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLD -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLD 123L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLD1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLD1 124L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLD2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLD2 125L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLD3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLD3 126L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLD4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLD4 127L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLDENROD -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLDENROD 128L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLDENROD1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLDENROD1 129L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLDENROD2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLDENROD2 130L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLDENROD3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLDENROD3 131L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLDENROD4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLDENROD4 132L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY 133L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY0 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY0 134L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY1 135L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY10 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY10 136L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY11 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY11 137L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY12 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY12 138L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY13 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY13 139L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY14 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY14 140L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY15 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY15 141L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY16 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY16 142L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY17 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY17 143L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY18 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY18 144L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY19 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY19 145L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY2 146L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY20 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY20 147L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY21 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY21 148L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY22 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY22 149L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY23 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY23 150L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY24 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY24 151L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY25 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY25 152L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY26 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY26 153L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY27 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY27 154L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY28 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY28 155L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY29 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY29 156L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY3 157L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY30 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY30 158L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY31 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY31 159L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY32 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY32 160L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY33 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY33 161L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY34 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY34 162L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY35 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY35 163L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY36 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY36 164L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY37 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY37 165L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY38 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY38 166L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY39 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY39 167L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY4 168L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY40 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY40 169L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY41 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY41 170L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY42 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY42 171L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY43 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY43 172L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY44 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY44 173L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY45 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY45 174L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY46 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY46 175L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY47 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY47 176L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY48 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY48 177L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY49 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY49 178L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY5 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY5 179L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY50 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY50 180L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY51 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY51 181L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY52 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY52 182L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY53 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY53 183L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY54 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY54 184L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY55 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY55 185L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY56 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY56 186L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY57 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY57 187L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY58 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY58 188L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY59 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY59 189L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY6 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY6 190L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY60 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY60 191L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY61 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY61 192L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY62 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY62 193L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY63 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY63 194L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY64 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY64 195L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY65 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY65 196L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY66 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY66 197L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY67 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY67 198L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY68 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY68 199L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY69 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY69 200L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY7 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY7 201L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY70 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY70 202L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY71 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY71 203L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY72 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY72 204L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY73 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY73 205L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY74 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY74 206L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY75 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY75 207L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY76 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY76 208L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY77 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY77 209L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY78 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY78 210L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY79 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY79 211L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY8 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY8 212L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY80 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY80 213L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY81 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY81 214L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY82 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY82 215L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY83 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY83 216L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY85 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY85 217L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY86 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY86 218L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY87 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY87 219L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY88 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY88 220L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY89 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY89 221L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY9 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY9 222L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY90 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY90 223L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY91 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY91 224L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY92 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY92 225L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY93 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY93 226L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY94 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY94 227L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY95 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY95 228L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GREEN -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GREEN 229L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GREEN1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GREEN1 230L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GREEN2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GREEN2 231L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GREEN3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GREEN3 232L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GREEN4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GREEN4 233L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GREENYELLOW -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GREENYELLOW 234L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY97 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY97 235L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY98 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY98 236L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY99 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY99 237L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_HONEYDEW -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_HONEYDEW 238L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_HONEYDEW2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_HONEYDEW2 239L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_HONEYDEW3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_HONEYDEW3 240L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_HONEYDEW4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_HONEYDEW4 241L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_HOTPINK -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_HOTPINK 242L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_HOTPINK1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_HOTPINK1 243L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_HOTPINK2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_HOTPINK2 244L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_HOTPINK3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_HOTPINK3 245L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_HOTPINK4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_HOTPINK4 246L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_INDIANRED -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_INDIANRED 247L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_INDIANRED1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_INDIANRED1 248L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_INDIANRED2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_INDIANRED2 249L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_INDIANRED3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_INDIANRED3 250L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_INDIANRED4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_INDIANRED4 251L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_IVORY -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_IVORY 252L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_IVORY2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_IVORY2 253L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_IVORY3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_IVORY3 254L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_IVORY4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_IVORY4 255L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_KHAKI -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_KHAKI 256L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_KHAKI1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_KHAKI1 257L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_KHAKI2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_KHAKI2 258L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_KHAKI3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_KHAKI3 259L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_KHAKI4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_KHAKI4 260L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LAVENDER -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LAVENDER 261L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LAVENDERBLUSH1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LAVENDERBLUSH1 262L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LAVENDERBLUSH2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LAVENDERBLUSH2 263L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LAVENDERBLUSH3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LAVENDERBLUSH3 264L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LAVENDERBLUSH4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LAVENDERBLUSH4 265L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LAWNGREEN -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LAWNGREEN 266L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LEMONCHIFFON1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LEMONCHIFFON1 267L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LEMONCHIFFON2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LEMONCHIFFON2 268L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LEMONCHIFFON3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LEMONCHIFFON3 269L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LEMONCHIFFON4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LEMONCHIFFON4 270L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTBLUE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTBLUE 271L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTBLUE1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTBLUE1 272L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTBLUE2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTBLUE2 273L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTBLUE3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTBLUE3 274L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTBLUE4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTBLUE4 275L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTCORAL -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTCORAL 276L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTCYAN1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTCYAN1 277L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTCYAN2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTCYAN2 278L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTCYAN3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTCYAN3 279L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTCYAN4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTCYAN4 280L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENROD -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENROD 281L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENROD1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENROD1 282L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENROD2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENROD2 283L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENROD3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENROD3 284L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENROD4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENROD4 285L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENRODYELLOW -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENRODYELLOW 286L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGRAY -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGRAY 287L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTPINK -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTPINK 288L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTPINK1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTPINK1 289L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTPINK2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTPINK2 290L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTPINK3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTPINK3 291L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTPINK4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTPINK4 292L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSALMON1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSALMON1 293L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSALMON2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSALMON2 294L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSALMON3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSALMON3 295L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSALMON4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSALMON4 296L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSEAGREEN -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSEAGREEN 297L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSKYBLUE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSKYBLUE 298L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSKYBLUE1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSKYBLUE1 299L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSKYBLUE2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSKYBLUE2 300L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSKYBLUE3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSKYBLUE3 301L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSKYBLUE4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSKYBLUE4 302L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSLATEBLUE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSLATEBLUE 303L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSLATEGRAY -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSLATEGRAY 304L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSTEELBLUE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSTEELBLUE 305L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSTEELBLUE1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSTEELBLUE1 306L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSTEELBLUE2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSTEELBLUE2 307L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSTEELBLUE3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSTEELBLUE3 308L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSTEELBLUE4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSTEELBLUE4 309L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTYELLOW -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTYELLOW 310L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTYELLOW2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTYELLOW2 311L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTYELLOW3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTYELLOW3 312L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTYELLOW4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTYELLOW4 313L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIMEGREEN -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LIMEGREEN 314L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LINEN -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_LINEN 315L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MAGENTA1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MAGENTA1 316L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MAGENTA2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MAGENTA2 317L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MAGENTA3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MAGENTA3 318L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MAGENTA4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MAGENTA4 319L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MAROON -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MAROON 320L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MAROON1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MAROON1 321L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MAROON2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MAROON2 322L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MAROON3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MAROON3 323L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MAROON4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MAROON4 324L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMAQUAMARINE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMAQUAMARINE 325L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMORCHID -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMORCHID 326L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMORCHID1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMORCHID1 327L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMORCHID2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMORCHID2 328L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMORCHID3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMORCHID3 329L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMORCHID4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMORCHID4 330L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMPURPLE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMPURPLE 331L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMPURPLE1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMPURPLE1 332L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMPURPLE2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMPURPLE2 333L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMPURPLE3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMPURPLE3 334L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMPURPLE4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMPURPLE4 335L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMSEAGREEN -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMSEAGREEN 336L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMSLATEBLUE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMSLATEBLUE 337L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMSPRINGGREEN -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMSPRINGGREEN 338L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMTURQUOISE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMTURQUOISE 339L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMVIOLETRED -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMVIOLETRED 340L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MIDNIGHTBLUE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MIDNIGHTBLUE 341L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MINTCREAM -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MINTCREAM 342L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MISTYROSE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MISTYROSE 343L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MISTYROSE2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MISTYROSE2 344L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MISTYROSE3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MISTYROSE3 345L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MISTYROSE4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MISTYROSE4 346L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MOCCASIN -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_MOCCASIN 347L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_NAVAJOWHITE1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_NAVAJOWHITE1 348L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_NAVAJOWHITE2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_NAVAJOWHITE2 349L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_NAVAJOWHITE3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_NAVAJOWHITE3 350L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_NAVAJOWHITE4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_NAVAJOWHITE4 351L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_NAVYBLUE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_NAVYBLUE 352L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_OLDLACE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_OLDLACE 353L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_OLIVEDRAB -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_OLIVEDRAB 354L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_OLIVEDRAB1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_OLIVEDRAB1 355L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_OLIVEDRAB2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_OLIVEDRAB2 356L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_OLIVEDRAB3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_OLIVEDRAB3 357L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_OLIVEDRAB4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_OLIVEDRAB4 358L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGE 359L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGE1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGE1 360L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGE2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGE2 361L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGE3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGE3 362L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGE4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGE4 363L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGERED -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGERED 364L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGERED1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGERED1 365L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGERED2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGERED2 366L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGERED3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGERED3 367L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGERED4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGERED4 368L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ORCHID -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ORCHID 369L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ORCHID1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ORCHID1 370L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ORCHID2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ORCHID2 371L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ORCHID3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ORCHID3 372L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ORCHID4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ORCHID4 373L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGOLDENROD -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGOLDENROD 374L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGREEN -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGREEN 375L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGREEN1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGREEN1 376L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGREEN2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGREEN2 377L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGREEN3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGREEN3 378L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGREEN4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGREEN4 379L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PALETURQUOISE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PALETURQUOISE 380L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PALETURQUOISE1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PALETURQUOISE1 381L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PALETURQUOISE2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PALETURQUOISE2 382L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PALETURQUOISE3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PALETURQUOISE3 383L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PALETURQUOISE4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PALETURQUOISE4 384L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEVIOLETRED -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEVIOLETRED 385L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEVIOLETRED1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEVIOLETRED1 386L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEVIOLETRED2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEVIOLETRED2 387L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEVIOLETRED3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEVIOLETRED3 388L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEVIOLETRED4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEVIOLETRED4 389L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PAPAYAWHIP -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PAPAYAWHIP 390L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PEACHPUFF -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PEACHPUFF 391L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PEACHPUFF2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PEACHPUFF2 392L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PEACHPUFF3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PEACHPUFF3 393L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PEACHPUFF4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PEACHPUFF4 394L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PERU -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PERU 395L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PINK -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PINK 396L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PINK1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PINK1 397L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PINK2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PINK2 398L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PINK3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PINK3 399L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PINK4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PINK4 400L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PLUM -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PLUM 401L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PLUM1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PLUM1 402L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PLUM2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PLUM2 403L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PLUM3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PLUM3 404L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PLUM4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PLUM4 405L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_POWDERBLUE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_POWDERBLUE 406L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PURPLE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PURPLE 407L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PURPLE1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PURPLE1 408L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PURPLE2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PURPLE2 409L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PURPLE3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PURPLE3 410L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PURPLE4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_PURPLE4 411L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_RED -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_RED 412L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_RED1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_RED1 413L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_RED2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_RED2 414L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_RED3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_RED3 415L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_RED4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_RED4 416L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ROSYBROWN -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ROSYBROWN 417L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ROSYBROWN1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ROSYBROWN1 418L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ROSYBROWN2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ROSYBROWN2 419L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ROSYBROWN3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ROSYBROWN3 420L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ROSYBROWN4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ROSYBROWN4 421L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ROYALBLUE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ROYALBLUE 422L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ROYALBLUE1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ROYALBLUE1 423L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ROYALBLUE2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ROYALBLUE2 424L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ROYALBLUE3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ROYALBLUE3 425L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ROYALBLUE4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_ROYALBLUE4 426L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SADDLEBROWN -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SADDLEBROWN 427L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SALMON -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SALMON 428L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SALMON1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SALMON1 429L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SALMON2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SALMON2 430L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SALMON3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SALMON3 431L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SALMON4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SALMON4 432L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SANDYBROWN -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SANDYBROWN 433L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SEAGREEN -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SEAGREEN 434L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SEAGREEN1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SEAGREEN1 435L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SEAGREEN2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SEAGREEN2 436L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SEAGREEN3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SEAGREEN3 437L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SEAGREEN4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SEAGREEN4 438L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SEASHELL -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SEASHELL 439L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SEASHELL2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SEASHELL2 440L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SEASHELL3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SEASHELL3 441L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SEASHELL4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SEASHELL4 442L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BEET -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_BEET 443L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_TEAL -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_TEAL 444L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SIENNA -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SIENNA 445L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SIENNA1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SIENNA1 446L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SIENNA2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SIENNA2 447L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SIENNA3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SIENNA3 448L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SIENNA4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SIENNA4 449L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SKYBLUE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SKYBLUE 450L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SKYBLUE1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SKYBLUE1 451L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SKYBLUE2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SKYBLUE2 452L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SKYBLUE3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SKYBLUE3 453L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SKYBLUE4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SKYBLUE4 454L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEBLUE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEBLUE 455L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEBLUE1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEBLUE1 456L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEBLUE2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEBLUE2 457L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEBLUE3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEBLUE3 458L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEBLUE4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEBLUE4 459L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEGRAY1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEGRAY1 460L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEGRAY2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEGRAY2 461L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEGRAY3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEGRAY3 462L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEGRAY4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEGRAY4 463L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEGRAY -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEGRAY 464L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SNOW -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SNOW 465L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SNOW2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SNOW2 466L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SNOW3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SNOW3 467L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SNOW4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SNOW4 468L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SPRINGGREEN -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SPRINGGREEN 469L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SPRINGGREEN2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SPRINGGREEN2 470L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SPRINGGREEN3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SPRINGGREEN3 471L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SPRINGGREEN4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_SPRINGGREEN4 472L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_STEELBLUE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_STEELBLUE 473L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_STEELBLUE1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_STEELBLUE1 474L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_STEELBLUE2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_STEELBLUE2 475L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_STEELBLUE3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_STEELBLUE3 476L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_STEELBLUE4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_STEELBLUE4 477L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_TAN -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_TAN 478L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_TAN1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_TAN1 479L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_TAN2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_TAN2 480L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_TAN3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_TAN3 481L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_TAN4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_TAN4 482L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_THISTLE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_THISTLE 483L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_THISTLE1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_THISTLE1 484L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_THISTLE2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_THISTLE2 485L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_THISTLE3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_THISTLE3 486L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_THISTLE4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_THISTLE4 487L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_TOMATO -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_TOMATO 488L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_TOMATO1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_TOMATO1 489L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_TOMATO2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_TOMATO2 490L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_TOMATO3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_TOMATO3 491L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_TOMATO4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_TOMATO4 492L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_TURQUOISE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_TURQUOISE 493L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_TURQUOISE1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_TURQUOISE1 494L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_TURQUOISE2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_TURQUOISE2 495L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_TURQUOISE3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_TURQUOISE3 496L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_TURQUOISE4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_TURQUOISE4 497L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLET -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLET 498L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLETRED -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLETRED 499L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLETRED1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLETRED1 500L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLETRED2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLETRED2 501L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLETRED3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLETRED3 502L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLETRED4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLETRED4 503L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_WHEAT -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_WHEAT 504L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_WHEAT1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_WHEAT1 505L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_WHEAT2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_WHEAT2 506L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_WHEAT3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_WHEAT3 507L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_WHEAT4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_WHEAT4 508L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_WHITESMOKE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_WHITESMOKE 509L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOW -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOW 510L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOW1 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOW1 511L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOW2 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOW2 512L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOW3 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOW3 513L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOW4 -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOW4 514L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOWGREEN -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOWGREEN 515L -#undef CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_WHITE -#define CASCADESamplesJni_Quantity_0005fNameOfColor_Quantity_NOC_WHITE 516L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Quantity_TypeOfColor.h b/samples/java/inc/CASCADESamplesJni_Quantity_TypeOfColor.h deleted file mode 100755 index 570e1206db..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Quantity_TypeOfColor.h +++ /dev/null @@ -1,17 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Quantity_0005fTypeOfColor */ - -#ifndef _Included_CASCADESamplesJni_Quantity_0005fTypeOfColor -#define _Included_CASCADESamplesJni_Quantity_0005fTypeOfColor -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_Quantity_0005fTypeOfColor_Quantity_TOC_RGB -#define CASCADESamplesJni_Quantity_0005fTypeOfColor_Quantity_TOC_RGB 0L -#undef CASCADESamplesJni_Quantity_0005fTypeOfColor_Quantity_TOC_HLS -#define CASCADESamplesJni_Quantity_0005fTypeOfColor_Quantity_TOC_HLS 1L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Select2D_Projector.h b/samples/java/inc/CASCADESamplesJni_Select2D_Projector.h deleted file mode 100755 index e60db1d6c8..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Select2D_Projector.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Select2D_0005fProjector */ - -#ifndef _Included_CASCADESamplesJni_Select2D_0005fProjector -#define _Included_CASCADESamplesJni_Select2D_0005fProjector -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_SelectBasics_EntityOwner.h b/samples/java/inc/CASCADESamplesJni_SelectBasics_EntityOwner.h deleted file mode 100755 index d0e22ac8b5..0000000000 --- a/samples/java/inc/CASCADESamplesJni_SelectBasics_EntityOwner.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_SelectBasics_0005fEntityOwner */ - -#ifndef _Included_CASCADESamplesJni_SelectBasics_0005fEntityOwner -#define _Included_CASCADESamplesJni_SelectBasics_0005fEntityOwner -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_SelectMgr_EntityOwner.h b/samples/java/inc/CASCADESamplesJni_SelectMgr_EntityOwner.h deleted file mode 100755 index 80776fbe1c..0000000000 --- a/samples/java/inc/CASCADESamplesJni_SelectMgr_EntityOwner.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_SelectMgr_0005fEntityOwner */ - -#ifndef _Included_CASCADESamplesJni_SelectMgr_0005fEntityOwner -#define _Included_CASCADESamplesJni_SelectMgr_0005fEntityOwner -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_SelectMgr_Filter.h b/samples/java/inc/CASCADESamplesJni_SelectMgr_Filter.h deleted file mode 100755 index 189bd87eb1..0000000000 --- a/samples/java/inc/CASCADESamplesJni_SelectMgr_Filter.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_SelectMgr_0005fFilter */ - -#ifndef _Included_CASCADESamplesJni_SelectMgr_0005fFilter -#define _Included_CASCADESamplesJni_SelectMgr_0005fFilter -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_SelectMgr_ListOfFilter.h b/samples/java/inc/CASCADESamplesJni_SelectMgr_ListOfFilter.h deleted file mode 100755 index 1bc7112926..0000000000 --- a/samples/java/inc/CASCADESamplesJni_SelectMgr_ListOfFilter.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_SelectMgr_0005fListOfFilter */ - -#ifndef _Included_CASCADESamplesJni_SelectMgr_0005fListOfFilter -#define _Included_CASCADESamplesJni_SelectMgr_0005fListOfFilter -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_SelectMgr_0005fListOfFilter - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_SelectMgr_1ListOfFilter_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_SelectMgr_SelectableObject.h b/samples/java/inc/CASCADESamplesJni_SelectMgr_SelectableObject.h deleted file mode 100755 index 62ba8c03db..0000000000 --- a/samples/java/inc/CASCADESamplesJni_SelectMgr_SelectableObject.h +++ /dev/null @@ -1,182 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_SelectMgr_0005fSelectableObject */ - -#ifndef _Included_CASCADESamplesJni_SelectMgr_0005fSelectableObject -#define _Included_CASCADESamplesJni_SelectMgr_0005fSelectableObject -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_SelectMgr_0005fSelectableObject - * Method: AddSelection - * Signature: (LCASCADESamplesJni/SelectMgr_Selection;I)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_AddSelection - (JNIEnv *, jobject, jobject, jint); - -/* - * Class: CASCADESamplesJni_SelectMgr_0005fSelectableObject - * Method: ClearSelected - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_ClearSelected - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_SelectMgr_0005fSelectableObject - * Method: ClearSelections - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_ClearSelections - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_SelectMgr_0005fSelectableObject - * Method: CurrentSelection - * Signature: ()LCASCADESamplesJni/SelectMgr_Selection; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_CurrentSelection - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_SelectMgr_0005fSelectableObject - * Method: GetHilightPresentation - * Signature: (LCASCADESamplesJni/PrsMgr_PresentationManager3d;)LCASCADESamplesJni/Prs3d_Presentation; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_GetHilightPresentation - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_SelectMgr_0005fSelectableObject - * Method: GetSelectPresentation - * Signature: (LCASCADESamplesJni/PrsMgr_PresentationManager3d;)LCASCADESamplesJni/Prs3d_Presentation; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_GetSelectPresentation - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_SelectMgr_0005fSelectableObject - * Method: HasSelection - * Signature: (I)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_HasSelection - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_SelectMgr_0005fSelectableObject - * Method: HilightOwnerWithColor - * Signature: (LCASCADESamplesJni/PrsMgr_PresentationManager3d;SLCASCADESamplesJni/SelectMgr_EntityOwner;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_HilightOwnerWithColor - (JNIEnv *, jobject, jobject, jshort, jobject); - -/* - * Class: CASCADESamplesJni_SelectMgr_0005fSelectableObject - * Method: HilightSelected - * Signature: (LCASCADESamplesJni/PrsMgr_PresentationManager3d;LCASCADESamplesJni/SelectMgr_SequenceOfOwner;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_HilightSelected - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_SelectMgr_0005fSelectableObject - * Method: Init - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_Init - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_SelectMgr_0005fSelectableObject - * Method: IsAutoHilight - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_IsAutoHilight - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_SelectMgr_0005fSelectableObject - * Method: More - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_More - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_SelectMgr_0005fSelectableObject - * Method: NbPossibleSelection - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_NbPossibleSelection - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_SelectMgr_0005fSelectableObject - * Method: Next - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_Next - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_SelectMgr_0005fSelectableObject - * Method: ResetLocation - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_ResetLocation - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_SelectMgr_0005fSelectableObject - * Method: SelectMgr_SelectableObject_UpdateLocation_1 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_SelectMgr_1SelectableObject_1UpdateLocation_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_SelectMgr_0005fSelectableObject - * Method: SelectMgr_SelectableObject_UpdateLocation_2 - * Signature: (LCASCADESamplesJni/Prs3d_Presentation;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_SelectMgr_1SelectableObject_1UpdateLocation_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_SelectMgr_0005fSelectableObject - * Method: SelectMgr_SelectableObject_UpdateSelection_1 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_SelectMgr_1SelectableObject_1UpdateSelection_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_SelectMgr_0005fSelectableObject - * Method: SelectMgr_SelectableObject_UpdateSelection_2 - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_SelectMgr_1SelectableObject_1UpdateSelection_12 - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_SelectMgr_0005fSelectableObject - * Method: Selection - * Signature: (I)LCASCADESamplesJni/SelectMgr_Selection; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_Selection - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_SelectMgr_0005fSelectableObject - * Method: SetAutoHilight - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_SelectMgr_1SelectableObject_SetAutoHilight - (JNIEnv *, jobject, jboolean); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_SelectMgr_Selection.h b/samples/java/inc/CASCADESamplesJni_SelectMgr_Selection.h deleted file mode 100755 index bff9b72b89..0000000000 --- a/samples/java/inc/CASCADESamplesJni_SelectMgr_Selection.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_SelectMgr_0005fSelection */ - -#ifndef _Included_CASCADESamplesJni_SelectMgr_0005fSelection -#define _Included_CASCADESamplesJni_SelectMgr_0005fSelection -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_SelectMgr_SelectionManager.h b/samples/java/inc/CASCADESamplesJni_SelectMgr_SelectionManager.h deleted file mode 100755 index 624c7c5804..0000000000 --- a/samples/java/inc/CASCADESamplesJni_SelectMgr_SelectionManager.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_SelectMgr_0005fSelectionManager */ - -#ifndef _Included_CASCADESamplesJni_SelectMgr_0005fSelectionManager -#define _Included_CASCADESamplesJni_SelectMgr_0005fSelectionManager -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_SelectMgr_SequenceOfOwner.h b/samples/java/inc/CASCADESamplesJni_SelectMgr_SequenceOfOwner.h deleted file mode 100755 index 9acb3367ee..0000000000 --- a/samples/java/inc/CASCADESamplesJni_SelectMgr_SequenceOfOwner.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_SelectMgr_0005fSequenceOfOwner */ - -#ifndef _Included_CASCADESamplesJni_SelectMgr_0005fSequenceOfOwner -#define _Included_CASCADESamplesJni_SelectMgr_0005fSequenceOfOwner -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_SelectMgr_0005fSequenceOfOwner - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_SelectMgr_1SequenceOfOwner_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_SelectMgr_ViewerSelector.h b/samples/java/inc/CASCADESamplesJni_SelectMgr_ViewerSelector.h deleted file mode 100755 index fa5e71fc22..0000000000 --- a/samples/java/inc/CASCADESamplesJni_SelectMgr_ViewerSelector.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_SelectMgr_0005fViewerSelector */ - -#ifndef _Included_CASCADESamplesJni_SelectMgr_0005fViewerSelector -#define _Included_CASCADESamplesJni_SelectMgr_0005fViewerSelector -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Standard_Storable.h b/samples/java/inc/CASCADESamplesJni_Standard_Storable.h deleted file mode 100755 index d28f5975b3..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Standard_Storable.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Standard_0005fStorable */ - -#ifndef _Included_CASCADESamplesJni_Standard_0005fStorable -#define _Included_CASCADESamplesJni_Standard_0005fStorable -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Standard_Transient.h b/samples/java/inc/CASCADESamplesJni_Standard_Transient.h deleted file mode 100755 index d3455e374f..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Standard_Transient.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Standard_0005fTransient */ - -#ifndef _Included_CASCADESamplesJni_Standard_0005fTransient -#define _Included_CASCADESamplesJni_Standard_0005fTransient -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Standard_Type.h b/samples/java/inc/CASCADESamplesJni_Standard_Type.h deleted file mode 100755 index b0ad85b462..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Standard_Type.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Standard_0005fType */ - -#ifndef _Included_CASCADESamplesJni_Standard_0005fType -#define _Included_CASCADESamplesJni_Standard_0005fType -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_StdSelect_ViewerSelector3d.h b/samples/java/inc/CASCADESamplesJni_StdSelect_ViewerSelector3d.h deleted file mode 100755 index e34588e593..0000000000 --- a/samples/java/inc/CASCADESamplesJni_StdSelect_ViewerSelector3d.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_StdSelect_0005fViewerSelector3d */ - -#ifndef _Included_CASCADESamplesJni_StdSelect_0005fViewerSelector3d -#define _Included_CASCADESamplesJni_StdSelect_0005fViewerSelector3d -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_TColQuantity_Array1OfLength.h b/samples/java/inc/CASCADESamplesJni_TColQuantity_Array1OfLength.h deleted file mode 100755 index 4b0b41343b..0000000000 --- a/samples/java/inc/CASCADESamplesJni_TColQuantity_Array1OfLength.h +++ /dev/null @@ -1,118 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_TColQuantity_0005fArray1OfLength */ - -#ifndef _Included_CASCADESamplesJni_TColQuantity_0005fArray1OfLength -#define _Included_CASCADESamplesJni_TColQuantity_0005fArray1OfLength -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_TColQuantity_0005fArray1OfLength - * Method: Assign - * Signature: (LCASCADESamplesJni/TColQuantity_Array1OfLength;)LCASCADESamplesJni/TColQuantity_Array1OfLength; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TColQuantity_1Array1OfLength_Assign - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TColQuantity_0005fArray1OfLength - * Method: ChangeValue - * Signature: (I)D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_TColQuantity_1Array1OfLength_ChangeValue - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_TColQuantity_0005fArray1OfLength - * Method: Destroy - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColQuantity_1Array1OfLength_Destroy - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TColQuantity_0005fArray1OfLength - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColQuantity_1Array1OfLength_FinalizeValue - (JNIEnv *, jclass, jlong); - -/* - * Class: CASCADESamplesJni_TColQuantity_0005fArray1OfLength - * Method: Init - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColQuantity_1Array1OfLength_Init - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_TColQuantity_0005fArray1OfLength - * Method: IsAllocated - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TColQuantity_1Array1OfLength_IsAllocated - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TColQuantity_0005fArray1OfLength - * Method: Length - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TColQuantity_1Array1OfLength_Length - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TColQuantity_0005fArray1OfLength - * Method: Lower - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TColQuantity_1Array1OfLength_Lower - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TColQuantity_0005fArray1OfLength - * Method: SetValue - * Signature: (ID)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColQuantity_1Array1OfLength_SetValue - (JNIEnv *, jobject, jint, jdouble); - -/* - * Class: CASCADESamplesJni_TColQuantity_0005fArray1OfLength - * Method: TColQuantity_Array1OfLength_Create_1 - * Signature: (II)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColQuantity_1Array1OfLength_TColQuantity_1Array1OfLength_1Create_11 - (JNIEnv *, jobject, jint, jint); - -/* - * Class: CASCADESamplesJni_TColQuantity_0005fArray1OfLength - * Method: TColQuantity_Array1OfLength_Create_2 - * Signature: (DII)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColQuantity_1Array1OfLength_TColQuantity_1Array1OfLength_1Create_12 - (JNIEnv *, jobject, jdouble, jint, jint); - -/* - * Class: CASCADESamplesJni_TColQuantity_0005fArray1OfLength - * Method: Upper - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TColQuantity_1Array1OfLength_Upper - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TColQuantity_0005fArray1OfLength - * Method: Value - * Signature: (I)D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_TColQuantity_1Array1OfLength_Value - (JNIEnv *, jobject, jint); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_TColQuantity_HArray1OfLength.h b/samples/java/inc/CASCADESamplesJni_TColQuantity_HArray1OfLength.h deleted file mode 100755 index 97573b4ba9..0000000000 --- a/samples/java/inc/CASCADESamplesJni_TColQuantity_HArray1OfLength.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_TColQuantity_0005fHArray1OfLength */ - -#ifndef _Included_CASCADESamplesJni_TColQuantity_0005fHArray1OfLength -#define _Included_CASCADESamplesJni_TColQuantity_0005fHArray1OfLength -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_TColStd_Array1OfBoolean.h b/samples/java/inc/CASCADESamplesJni_TColStd_Array1OfBoolean.h deleted file mode 100755 index 91c78ae479..0000000000 --- a/samples/java/inc/CASCADESamplesJni_TColStd_Array1OfBoolean.h +++ /dev/null @@ -1,118 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_TColStd_0005fArray1OfBoolean */ - -#ifndef _Included_CASCADESamplesJni_TColStd_0005fArray1OfBoolean -#define _Included_CASCADESamplesJni_TColStd_0005fArray1OfBoolean -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_TColStd_0005fArray1OfBoolean - * Method: Assign - * Signature: (LCASCADESamplesJni/TColStd_Array1OfBoolean;)LCASCADESamplesJni/TColStd_Array1OfBoolean; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TColStd_1Array1OfBoolean_Assign - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TColStd_0005fArray1OfBoolean - * Method: ChangeValue - * Signature: (I)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TColStd_1Array1OfBoolean_ChangeValue - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_TColStd_0005fArray1OfBoolean - * Method: Destroy - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColStd_1Array1OfBoolean_Destroy - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TColStd_0005fArray1OfBoolean - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColStd_1Array1OfBoolean_FinalizeValue - (JNIEnv *, jclass, jlong); - -/* - * Class: CASCADESamplesJni_TColStd_0005fArray1OfBoolean - * Method: Init - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColStd_1Array1OfBoolean_Init - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_TColStd_0005fArray1OfBoolean - * Method: IsAllocated - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TColStd_1Array1OfBoolean_IsAllocated - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TColStd_0005fArray1OfBoolean - * Method: Length - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TColStd_1Array1OfBoolean_Length - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TColStd_0005fArray1OfBoolean - * Method: Lower - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TColStd_1Array1OfBoolean_Lower - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TColStd_0005fArray1OfBoolean - * Method: SetValue - * Signature: (IZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColStd_1Array1OfBoolean_SetValue - (JNIEnv *, jobject, jint, jboolean); - -/* - * Class: CASCADESamplesJni_TColStd_0005fArray1OfBoolean - * Method: TColStd_Array1OfBoolean_Create_1 - * Signature: (II)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColStd_1Array1OfBoolean_TColStd_1Array1OfBoolean_1Create_11 - (JNIEnv *, jobject, jint, jint); - -/* - * Class: CASCADESamplesJni_TColStd_0005fArray1OfBoolean - * Method: TColStd_Array1OfBoolean_Create_2 - * Signature: (ZII)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColStd_1Array1OfBoolean_TColStd_1Array1OfBoolean_1Create_12 - (JNIEnv *, jobject, jboolean, jint, jint); - -/* - * Class: CASCADESamplesJni_TColStd_0005fArray1OfBoolean - * Method: Upper - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TColStd_1Array1OfBoolean_Upper - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TColStd_0005fArray1OfBoolean - * Method: Value - * Signature: (I)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TColStd_1Array1OfBoolean_Value - (JNIEnv *, jobject, jint); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_TColStd_Array1OfReal.h b/samples/java/inc/CASCADESamplesJni_TColStd_Array1OfReal.h deleted file mode 100755 index 59c957dbc8..0000000000 --- a/samples/java/inc/CASCADESamplesJni_TColStd_Array1OfReal.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_TColStd_0005fArray1OfReal */ - -#ifndef _Included_CASCADESamplesJni_TColStd_0005fArray1OfReal -#define _Included_CASCADESamplesJni_TColStd_0005fArray1OfReal -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_TColStd_0005fArray1OfReal - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColStd_1Array1OfReal_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_TColStd_Array2OfReal.h b/samples/java/inc/CASCADESamplesJni_TColStd_Array2OfReal.h deleted file mode 100755 index 815452169f..0000000000 --- a/samples/java/inc/CASCADESamplesJni_TColStd_Array2OfReal.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_TColStd_0005fArray2OfReal */ - -#ifndef _Included_CASCADESamplesJni_TColStd_0005fArray2OfReal -#define _Included_CASCADESamplesJni_TColStd_0005fArray2OfReal -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_TColStd_0005fArray2OfReal - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColStd_1Array2OfReal_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_TColStd_ListOfInteger.h b/samples/java/inc/CASCADESamplesJni_TColStd_ListOfInteger.h deleted file mode 100755 index 38bfeac0a1..0000000000 --- a/samples/java/inc/CASCADESamplesJni_TColStd_ListOfInteger.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_TColStd_0005fListOfInteger */ - -#ifndef _Included_CASCADESamplesJni_TColStd_0005fListOfInteger -#define _Included_CASCADESamplesJni_TColStd_0005fListOfInteger -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_TColStd_0005fListOfInteger - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColStd_1ListOfInteger_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_TColStd_ListOfTransient.h b/samples/java/inc/CASCADESamplesJni_TColStd_ListOfTransient.h deleted file mode 100755 index c1784183d6..0000000000 --- a/samples/java/inc/CASCADESamplesJni_TColStd_ListOfTransient.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_TColStd_0005fListOfTransient */ - -#ifndef _Included_CASCADESamplesJni_TColStd_0005fListOfTransient -#define _Included_CASCADESamplesJni_TColStd_0005fListOfTransient -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_TColStd_0005fListOfTransient - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColStd_1ListOfTransient_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_TColStd_MapOfTransient.h b/samples/java/inc/CASCADESamplesJni_TColStd_MapOfTransient.h deleted file mode 100755 index 12425c3001..0000000000 --- a/samples/java/inc/CASCADESamplesJni_TColStd_MapOfTransient.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_TColStd_0005fMapOfTransient */ - -#ifndef _Included_CASCADESamplesJni_TColStd_0005fMapOfTransient -#define _Included_CASCADESamplesJni_TColStd_0005fMapOfTransient -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_TColStd_0005fMapOfTransient - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColStd_1MapOfTransient_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_TColgp_Array1OfPnt2d.h b/samples/java/inc/CASCADESamplesJni_TColgp_Array1OfPnt2d.h deleted file mode 100755 index ad5a812c67..0000000000 --- a/samples/java/inc/CASCADESamplesJni_TColgp_Array1OfPnt2d.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_TColgp_0005fArray1OfPnt2d */ - -#ifndef _Included_CASCADESamplesJni_TColgp_0005fArray1OfPnt2d -#define _Included_CASCADESamplesJni_TColgp_0005fArray1OfPnt2d -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_TColgp_0005fArray1OfPnt2d - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TColgp_1Array1OfPnt2d_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_TCollection_AsciiString.h b/samples/java/inc/CASCADESamplesJni_TCollection_AsciiString.h deleted file mode 100755 index 3b6a3f4f86..0000000000 --- a/samples/java/inc/CASCADESamplesJni_TCollection_AsciiString.h +++ /dev/null @@ -1,678 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_TCollection_0005fAsciiString */ - -#ifndef _Included_CASCADESamplesJni_TCollection_0005fAsciiString -#define _Included_CASCADESamplesJni_TCollection_0005fAsciiString -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: Capitalize - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_Capitalize - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: Center - * Signature: (ILjcas/Standard_Character;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_Center - (JNIEnv *, jobject, jint, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: ChangeAll - * Signature: (Ljcas/Standard_Character;Ljcas/Standard_Character;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_ChangeAll - (JNIEnv *, jobject, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: Clear - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_Clear - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: Destroy - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_Destroy - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_FinalizeValue - (JNIEnv *, jclass, jlong); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: FirstLocationInSet - * Signature: (LCASCADESamplesJni/TCollection_AsciiString;II)I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_FirstLocationInSet - (JNIEnv *, jobject, jobject, jint, jint); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: FirstLocationNotInSet - * Signature: (LCASCADESamplesJni/TCollection_AsciiString;II)I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_FirstLocationNotInSet - (JNIEnv *, jobject, jobject, jint, jint); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: HASHCODE - * Signature: (LCASCADESamplesJni/TCollection_AsciiString;I)I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_HASHCODE - (JNIEnv *, jclass, jobject, jint); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: HashCode - * Signature: (LCASCADESamplesJni/TCollection_AsciiString;I)I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_HashCode - (JNIEnv *, jclass, jobject, jint); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: ISSIMILAR - * Signature: (LCASCADESamplesJni/TCollection_AsciiString;LCASCADESamplesJni/TCollection_AsciiString;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_ISSIMILAR - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: InsertAfter - * Signature: (ILCASCADESamplesJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_InsertAfter - (JNIEnv *, jobject, jint, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: InsertBefore - * Signature: (ILCASCADESamplesJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_InsertBefore - (JNIEnv *, jobject, jint, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: IntegerValue - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_IntegerValue - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: IsAscii - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_IsAscii - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: IsEmpty - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_IsEmpty - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: IsIntegerValue - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_IsIntegerValue - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: IsRealValue - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_IsRealValue - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: LeftAdjust - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_LeftAdjust - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: LeftJustify - * Signature: (ILjcas/Standard_Character;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_LeftJustify - (JNIEnv *, jobject, jint, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: Length - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_Length - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: LowerCase - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_LowerCase - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: Prepend - * Signature: (LCASCADESamplesJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_Prepend - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: RealValue - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_RealValue - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: Remove - * Signature: (II)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_Remove - (JNIEnv *, jobject, jint, jint); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: RightAdjust - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_RightAdjust - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: RightJustify - * Signature: (ILjcas/Standard_Character;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_RightJustify - (JNIEnv *, jobject, jint, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_AssignCat_1 - * Signature: (Ljcas/Standard_Character;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1AssignCat_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_AssignCat_2 - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1AssignCat_12 - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_AssignCat_3 - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1AssignCat_13 - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_AssignCat_4 - * Signature: (Ljcas/Standard_CString;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1AssignCat_14 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_AssignCat_5 - * Signature: (LCASCADESamplesJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1AssignCat_15 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_Cat_1 - * Signature: (Ljcas/Standard_Character;)LCASCADESamplesJni/TCollection_AsciiString; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Cat_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_Cat_2 - * Signature: (I)LCASCADESamplesJni/TCollection_AsciiString; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Cat_12 - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_Cat_3 - * Signature: (D)LCASCADESamplesJni/TCollection_AsciiString; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Cat_13 - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_Cat_4 - * Signature: (Ljcas/Standard_CString;)LCASCADESamplesJni/TCollection_AsciiString; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Cat_14 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_Cat_5 - * Signature: (LCASCADESamplesJni/TCollection_AsciiString;)LCASCADESamplesJni/TCollection_AsciiString; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Cat_15 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_Copy_1 - * Signature: (Ljcas/Standard_CString;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Copy_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_Copy_2 - * Signature: (LCASCADESamplesJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Copy_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_Create_1 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Create_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_Create_10 - * Signature: (LCASCADESamplesJni/TCollection_AsciiString;Ljcas/Standard_CString;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Create_110 - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_Create_11 - * Signature: (LCASCADESamplesJni/TCollection_AsciiString;LCASCADESamplesJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Create_111 - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_Create_12 - * Signature: (LCASCADESamplesJni/TCollection_ExtendedString;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Create_112 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_Create_2 - * Signature: (Ljcas/Standard_CString;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Create_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_Create_3 - * Signature: (Ljcas/Standard_CString;I)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Create_13 - (JNIEnv *, jobject, jobject, jint); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_Create_4 - * Signature: (Ljcas/Standard_Character;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Create_14 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_Create_5 - * Signature: (ILjcas/Standard_Character;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Create_15 - (JNIEnv *, jobject, jint, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_Create_6 - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Create_16 - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_Create_7 - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Create_17 - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_Create_8 - * Signature: (LCASCADESamplesJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Create_18 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_Create_9 - * Signature: (LCASCADESamplesJni/TCollection_AsciiString;Ljcas/Standard_Character;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Create_19 - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_Insert_1 - * Signature: (ILjcas/Standard_Character;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Insert_11 - (JNIEnv *, jobject, jint, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_Insert_2 - * Signature: (ILjcas/Standard_CString;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Insert_12 - (JNIEnv *, jobject, jint, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_Insert_3 - * Signature: (ILCASCADESamplesJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Insert_13 - (JNIEnv *, jobject, jint, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_IsDifferent_1 - * Signature: (Ljcas/Standard_CString;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1IsDifferent_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_IsDifferent_2 - * Signature: (LCASCADESamplesJni/TCollection_AsciiString;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1IsDifferent_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_IsEqual_1 - * Signature: (Ljcas/Standard_CString;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1IsEqual_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_IsEqual_2 - * Signature: (LCASCADESamplesJni/TCollection_AsciiString;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1IsEqual_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_IsEqual_3 - * Signature: (LCASCADESamplesJni/TCollection_AsciiString;LCASCADESamplesJni/TCollection_AsciiString;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1IsEqual_13 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_IsEqual_4 - * Signature: (LCASCADESamplesJni/TCollection_AsciiString;Ljcas/Standard_CString;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1IsEqual_14 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_IsGreater_1 - * Signature: (Ljcas/Standard_CString;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1IsGreater_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_IsGreater_2 - * Signature: (LCASCADESamplesJni/TCollection_AsciiString;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1IsGreater_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_IsLess_1 - * Signature: (Ljcas/Standard_CString;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1IsLess_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_IsLess_2 - * Signature: (LCASCADESamplesJni/TCollection_AsciiString;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1IsLess_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_Location_1 - * Signature: (LCASCADESamplesJni/TCollection_AsciiString;II)I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Location_11 - (JNIEnv *, jobject, jobject, jint, jint); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_Location_2 - * Signature: (ILjcas/Standard_Character;II)I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Location_12 - (JNIEnv *, jobject, jint, jobject, jint, jint); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_RemoveAll_1 - * Signature: (Ljcas/Standard_Character;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1RemoveAll_11 - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_RemoveAll_2 - * Signature: (Ljcas/Standard_Character;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1RemoveAll_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_SearchFromEnd_1 - * Signature: (Ljcas/Standard_CString;)I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1SearchFromEnd_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_SearchFromEnd_2 - * Signature: (LCASCADESamplesJni/TCollection_AsciiString;)I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1SearchFromEnd_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_Search_1 - * Signature: (Ljcas/Standard_CString;)I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Search_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_Search_2 - * Signature: (LCASCADESamplesJni/TCollection_AsciiString;)I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Search_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_SetValue_1 - * Signature: (ILjcas/Standard_Character;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1SetValue_11 - (JNIEnv *, jobject, jint, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_SetValue_2 - * Signature: (ILjcas/Standard_CString;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1SetValue_12 - (JNIEnv *, jobject, jint, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_SetValue_3 - * Signature: (ILCASCADESamplesJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1SetValue_13 - (JNIEnv *, jobject, jint, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_Split_2 - * Signature: (I)LCASCADESamplesJni/TCollection_AsciiString; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Split_12 - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_SubString_2 - * Signature: (II)LCASCADESamplesJni/TCollection_AsciiString; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1SubString_12 - (JNIEnv *, jobject, jint, jint); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: TCollection_AsciiString_Token_2 - * Signature: (Ljcas/Standard_CString;I)LCASCADESamplesJni/TCollection_AsciiString; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_TCollection_1AsciiString_1Token_12 - (JNIEnv *, jobject, jobject, jint); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: ToCString - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_ToCString - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: Trunc - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_Trunc - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: UpperCase - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_UpperCase - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: UsefullLength - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_UsefullLength - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TCollection_0005fAsciiString - * Method: Value - * Signature: (I)Ljcas/Standard_Character; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TCollection_1AsciiString_Value - (JNIEnv *, jobject, jint); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_TCollection_BaseSequence.h b/samples/java/inc/CASCADESamplesJni_TCollection_BaseSequence.h deleted file mode 100755 index af522c4439..0000000000 --- a/samples/java/inc/CASCADESamplesJni_TCollection_BaseSequence.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_TCollection_0005fBaseSequence */ - -#ifndef _Included_CASCADESamplesJni_TCollection_0005fBaseSequence -#define _Included_CASCADESamplesJni_TCollection_0005fBaseSequence -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_TCollection_0005fBaseSequence - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1BaseSequence_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_TCollection_BasicMap.h b/samples/java/inc/CASCADESamplesJni_TCollection_BasicMap.h deleted file mode 100755 index 00160078ae..0000000000 --- a/samples/java/inc/CASCADESamplesJni_TCollection_BasicMap.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_TCollection_0005fBasicMap */ - -#ifndef _Included_CASCADESamplesJni_TCollection_0005fBasicMap -#define _Included_CASCADESamplesJni_TCollection_0005fBasicMap -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_TCollection_0005fBasicMap - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1BasicMap_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_TCollection_ExtendedString.h b/samples/java/inc/CASCADESamplesJni_TCollection_ExtendedString.h deleted file mode 100755 index 8f44199713..0000000000 --- a/samples/java/inc/CASCADESamplesJni_TCollection_ExtendedString.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_TCollection_0005fExtendedString */ - -#ifndef _Included_CASCADESamplesJni_TCollection_0005fExtendedString -#define _Included_CASCADESamplesJni_TCollection_0005fExtendedString -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_TCollection_0005fExtendedString - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TCollection_1ExtendedString_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_TShort_Array1OfShortReal.h b/samples/java/inc/CASCADESamplesJni_TShort_Array1OfShortReal.h deleted file mode 100755 index 28629834ff..0000000000 --- a/samples/java/inc/CASCADESamplesJni_TShort_Array1OfShortReal.h +++ /dev/null @@ -1,118 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_TShort_0005fArray1OfShortReal */ - -#ifndef _Included_CASCADESamplesJni_TShort_0005fArray1OfShortReal -#define _Included_CASCADESamplesJni_TShort_0005fArray1OfShortReal -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_TShort_0005fArray1OfShortReal - * Method: Assign - * Signature: (LCASCADESamplesJni/TShort_Array1OfShortReal;)LCASCADESamplesJni/TShort_Array1OfShortReal; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TShort_1Array1OfShortReal_Assign - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TShort_0005fArray1OfShortReal - * Method: ChangeValue - * Signature: (I)F - */ -JNIEXPORT jfloat JNICALL Java_CASCADESamplesJni_TShort_1Array1OfShortReal_ChangeValue - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_TShort_0005fArray1OfShortReal - * Method: Destroy - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TShort_1Array1OfShortReal_Destroy - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TShort_0005fArray1OfShortReal - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TShort_1Array1OfShortReal_FinalizeValue - (JNIEnv *, jclass, jlong); - -/* - * Class: CASCADESamplesJni_TShort_0005fArray1OfShortReal - * Method: Init - * Signature: (F)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TShort_1Array1OfShortReal_Init - (JNIEnv *, jobject, jfloat); - -/* - * Class: CASCADESamplesJni_TShort_0005fArray1OfShortReal - * Method: IsAllocated - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TShort_1Array1OfShortReal_IsAllocated - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TShort_0005fArray1OfShortReal - * Method: Length - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TShort_1Array1OfShortReal_Length - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TShort_0005fArray1OfShortReal - * Method: Lower - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TShort_1Array1OfShortReal_Lower - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TShort_0005fArray1OfShortReal - * Method: SetValue - * Signature: (IF)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TShort_1Array1OfShortReal_SetValue - (JNIEnv *, jobject, jint, jfloat); - -/* - * Class: CASCADESamplesJni_TShort_0005fArray1OfShortReal - * Method: TShort_Array1OfShortReal_Create_1 - * Signature: (II)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TShort_1Array1OfShortReal_TShort_1Array1OfShortReal_1Create_11 - (JNIEnv *, jobject, jint, jint); - -/* - * Class: CASCADESamplesJni_TShort_0005fArray1OfShortReal - * Method: TShort_Array1OfShortReal_Create_2 - * Signature: (FII)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TShort_1Array1OfShortReal_TShort_1Array1OfShortReal_1Create_12 - (JNIEnv *, jobject, jfloat, jint, jint); - -/* - * Class: CASCADESamplesJni_TShort_0005fArray1OfShortReal - * Method: Upper - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TShort_1Array1OfShortReal_Upper - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TShort_0005fArray1OfShortReal - * Method: Value - * Signature: (I)F - */ -JNIEXPORT jfloat JNICALL Java_CASCADESamplesJni_TShort_1Array1OfShortReal_Value - (JNIEnv *, jobject, jint); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_TopAbs_Orientation.h b/samples/java/inc/CASCADESamplesJni_TopAbs_Orientation.h deleted file mode 100755 index adf5bcf2ba..0000000000 --- a/samples/java/inc/CASCADESamplesJni_TopAbs_Orientation.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_TopAbs_0005fOrientation */ - -#ifndef _Included_CASCADESamplesJni_TopAbs_0005fOrientation -#define _Included_CASCADESamplesJni_TopAbs_0005fOrientation -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_TopAbs_0005fOrientation_TopAbs_FORWARD -#define CASCADESamplesJni_TopAbs_0005fOrientation_TopAbs_FORWARD 0L -#undef CASCADESamplesJni_TopAbs_0005fOrientation_TopAbs_REVERSED -#define CASCADESamplesJni_TopAbs_0005fOrientation_TopAbs_REVERSED 1L -#undef CASCADESamplesJni_TopAbs_0005fOrientation_TopAbs_INTERNAL -#define CASCADESamplesJni_TopAbs_0005fOrientation_TopAbs_INTERNAL 2L -#undef CASCADESamplesJni_TopAbs_0005fOrientation_TopAbs_EXTERNAL -#define CASCADESamplesJni_TopAbs_0005fOrientation_TopAbs_EXTERNAL 3L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_TopAbs_ShapeEnum.h b/samples/java/inc/CASCADESamplesJni_TopAbs_ShapeEnum.h deleted file mode 100755 index 2387e8af1f..0000000000 --- a/samples/java/inc/CASCADESamplesJni_TopAbs_ShapeEnum.h +++ /dev/null @@ -1,31 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_TopAbs_0005fShapeEnum */ - -#ifndef _Included_CASCADESamplesJni_TopAbs_0005fShapeEnum -#define _Included_CASCADESamplesJni_TopAbs_0005fShapeEnum -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_TopAbs_0005fShapeEnum_TopAbs_COMPOUND -#define CASCADESamplesJni_TopAbs_0005fShapeEnum_TopAbs_COMPOUND 0L -#undef CASCADESamplesJni_TopAbs_0005fShapeEnum_TopAbs_COMPSOLID -#define CASCADESamplesJni_TopAbs_0005fShapeEnum_TopAbs_COMPSOLID 1L -#undef CASCADESamplesJni_TopAbs_0005fShapeEnum_TopAbs_SOLID -#define CASCADESamplesJni_TopAbs_0005fShapeEnum_TopAbs_SOLID 2L -#undef CASCADESamplesJni_TopAbs_0005fShapeEnum_TopAbs_SHELL -#define CASCADESamplesJni_TopAbs_0005fShapeEnum_TopAbs_SHELL 3L -#undef CASCADESamplesJni_TopAbs_0005fShapeEnum_TopAbs_FACE -#define CASCADESamplesJni_TopAbs_0005fShapeEnum_TopAbs_FACE 4L -#undef CASCADESamplesJni_TopAbs_0005fShapeEnum_TopAbs_WIRE -#define CASCADESamplesJni_TopAbs_0005fShapeEnum_TopAbs_WIRE 5L -#undef CASCADESamplesJni_TopAbs_0005fShapeEnum_TopAbs_EDGE -#define CASCADESamplesJni_TopAbs_0005fShapeEnum_TopAbs_EDGE 6L -#undef CASCADESamplesJni_TopAbs_0005fShapeEnum_TopAbs_VERTEX -#define CASCADESamplesJni_TopAbs_0005fShapeEnum_TopAbs_VERTEX 7L -#undef CASCADESamplesJni_TopAbs_0005fShapeEnum_TopAbs_SHAPE -#define CASCADESamplesJni_TopAbs_0005fShapeEnum_TopAbs_SHAPE 8L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_TopLoc_Location.h b/samples/java/inc/CASCADESamplesJni_TopLoc_Location.h deleted file mode 100755 index 9a8b3a6932..0000000000 --- a/samples/java/inc/CASCADESamplesJni_TopLoc_Location.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_TopLoc_0005fLocation */ - -#ifndef _Included_CASCADESamplesJni_TopLoc_0005fLocation -#define _Included_CASCADESamplesJni_TopLoc_0005fLocation -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_TopLoc_0005fLocation - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopLoc_1Location_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_TopoDS_Shape.h b/samples/java/inc/CASCADESamplesJni_TopoDS_Shape.h deleted file mode 100755 index f95132f55a..0000000000 --- a/samples/java/inc/CASCADESamplesJni_TopoDS_Shape.h +++ /dev/null @@ -1,350 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_TopoDS_0005fShape */ - -#ifndef _Included_CASCADESamplesJni_TopoDS_0005fShape -#define _Included_CASCADESamplesJni_TopoDS_0005fShape -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: Complement - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_Complement - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: Complemented - * Signature: ()LCASCADESamplesJni/TopoDS_Shape; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_Complemented - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: Compose - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_Compose - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: Composed - * Signature: (S)LCASCADESamplesJni/TopoDS_Shape; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_Composed - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: EmptyCopied - * Signature: ()LCASCADESamplesJni/TopoDS_Shape; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_EmptyCopied - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: EmptyCopy - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_EmptyCopy - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_FinalizeValue - (JNIEnv *, jclass, jlong); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: HashCode - * Signature: (I)I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_HashCode - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: IsEqual - * Signature: (LCASCADESamplesJni/TopoDS_Shape;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_IsEqual - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: IsNotEqual - * Signature: (LCASCADESamplesJni/TopoDS_Shape;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_IsNotEqual - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: IsNull - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_IsNull - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: IsPartner - * Signature: (LCASCADESamplesJni/TopoDS_Shape;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_IsPartner - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: IsSame - * Signature: (LCASCADESamplesJni/TopoDS_Shape;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_IsSame - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: Located - * Signature: (LCASCADESamplesJni/TopLoc_Location;)LCASCADESamplesJni/TopoDS_Shape; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_Located - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: Move - * Signature: (LCASCADESamplesJni/TopLoc_Location;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_Move - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: Moved - * Signature: (LCASCADESamplesJni/TopLoc_Location;)LCASCADESamplesJni/TopoDS_Shape; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_Moved - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: Nullify - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_Nullify - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: Oriented - * Signature: (S)LCASCADESamplesJni/TopoDS_Shape; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_Oriented - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: Reverse - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_Reverse - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: Reversed - * Signature: ()LCASCADESamplesJni/TopoDS_Shape; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_Reversed - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: ShapeType - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_ShapeType - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: TopoDS_Shape_Checked_1 - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Checked_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: TopoDS_Shape_Checked_2 - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Checked_12 - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: TopoDS_Shape_Closed_1 - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Closed_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: TopoDS_Shape_Closed_2 - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Closed_12 - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: TopoDS_Shape_Convex_1 - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Convex_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: TopoDS_Shape_Convex_2 - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Convex_12 - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: TopoDS_Shape_Create_0 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Create_10 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: TopoDS_Shape_Free_1 - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Free_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: TopoDS_Shape_Free_2 - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Free_12 - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: TopoDS_Shape_Infinite_1 - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Infinite_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: TopoDS_Shape_Infinite_2 - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Infinite_12 - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: TopoDS_Shape_Location_1 - * Signature: ()LCASCADESamplesJni/TopLoc_Location; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Location_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: TopoDS_Shape_Location_2 - * Signature: (LCASCADESamplesJni/TopLoc_Location;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Location_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: TopoDS_Shape_Modified_1 - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Modified_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: TopoDS_Shape_Modified_2 - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Modified_12 - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: TopoDS_Shape_Orientable_1 - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Orientable_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: TopoDS_Shape_Orientable_2 - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Orientable_12 - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: TopoDS_Shape_Orientation_1 - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Orientation_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: TopoDS_Shape_Orientation_2 - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1Orientation_12 - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: TopoDS_Shape_TShape_1 - * Signature: ()LCASCADESamplesJni/TopoDS_TShape; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1TShape_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_TopoDS_0005fShape - * Method: TopoDS_Shape_TShape_2 - * Signature: (LCASCADESamplesJni/TopoDS_TShape;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_TopoDS_1Shape_TopoDS_1Shape_1TShape_12 - (JNIEnv *, jobject, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_TopoDS_TShape.h b/samples/java/inc/CASCADESamplesJni_TopoDS_TShape.h deleted file mode 100755 index f2394a01d5..0000000000 --- a/samples/java/inc/CASCADESamplesJni_TopoDS_TShape.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_TopoDS_0005fTShape */ - -#ifndef _Included_CASCADESamplesJni_TopoDS_0005fTShape -#define _Included_CASCADESamplesJni_TopoDS_0005fTShape -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_V2d_TypeOfWindowResizingEffect.h b/samples/java/inc/CASCADESamplesJni_V2d_TypeOfWindowResizingEffect.h deleted file mode 100755 index 7a3b5f89b6..0000000000 --- a/samples/java/inc/CASCADESamplesJni_V2d_TypeOfWindowResizingEffect.h +++ /dev/null @@ -1,17 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_V2d_0005fTypeOfWindowResizingEffect */ - -#ifndef _Included_CASCADESamplesJni_V2d_0005fTypeOfWindowResizingEffect -#define _Included_CASCADESamplesJni_V2d_0005fTypeOfWindowResizingEffect -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_V2d_0005fTypeOfWindowResizingEffect_V2d_TOWRE_ENLARGE_SPACE -#define CASCADESamplesJni_V2d_0005fTypeOfWindowResizingEffect_V2d_TOWRE_ENLARGE_SPACE 0L -#undef CASCADESamplesJni_V2d_0005fTypeOfWindowResizingEffect_V2d_TOWRE_ENLARGE_OBJECTS -#define CASCADESamplesJni_V2d_0005fTypeOfWindowResizingEffect_V2d_TOWRE_ENLARGE_OBJECTS 1L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_V2d_View.h b/samples/java/inc/CASCADESamplesJni_V2d_View.h deleted file mode 100755 index 971d9838cb..0000000000 --- a/samples/java/inc/CASCADESamplesJni_V2d_View.h +++ /dev/null @@ -1,494 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_V2d_0005fView */ - -#ifndef _Included_CASCADESamplesJni_V2d_0005fView -#define _Included_CASCADESamplesJni_V2d_0005fView -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: Center - * Signature: (Ljcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_Center - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: DefaultHighlightColor - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_V2d_1View_DefaultHighlightColor - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: Deflection - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_V2d_1View_Deflection - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: DisableStorePrevious - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_DisableStorePrevious - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: Driver - * Signature: ()LCASCADESamplesJni/Aspect_WindowDriver; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V2d_1View_Driver - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: EnableStorePrevious - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_EnableStorePrevious - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: Erase - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_Erase - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: EraseHit - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_EraseHit - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: Fitall - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_Fitall - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: HasBeenMoved - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_HasBeenMoved - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: Hit - * Signature: (IILjcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_Hit - (JNIEnv *, jobject, jint, jint, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: Magnify - * Signature: (LCASCADESamplesJni/V2d_View;IIII)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_Magnify - (JNIEnv *, jobject, jobject, jint, jint, jint, jint); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: MustBeResized - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_MustBeResized - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: Pan - * Signature: (II)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_Pan - (JNIEnv *, jobject, jint, jint); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: PickByCircle - * Signature: (III)LCASCADESamplesJni/Graphic2d_DisplayList; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V2d_1View_PickByCircle - (JNIEnv *, jobject, jint, jint, jint); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: Place - * Signature: (IID)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_Place - (JNIEnv *, jobject, jint, jint, jdouble); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: PlotScreen - * Signature: (LCASCADESamplesJni/PlotMgt_PlotterDriver;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_PlotScreen - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: PostScriptOutput - * Signature: (Ljcas/Standard_CString;DDDDDS)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_PostScriptOutput - (JNIEnv *, jobject, jobject, jdouble, jdouble, jdouble, jdouble, jdouble, jshort); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: Previous - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_Previous - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: Reset - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_Reset - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: Restore - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_Restore - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: RestoreArea - * Signature: (IIII)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_RestoreArea - (JNIEnv *, jobject, jint, jint, jint, jint); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: ScreenCopy - * Signature: (LCASCADESamplesJni/PlotMgt_PlotterDriver;ZD)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_ScreenCopy - (JNIEnv *, jobject, jobject, jboolean, jdouble); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: ScreenPlace - * Signature: (DDD)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_ScreenPlace - (JNIEnv *, jobject, jdouble, jdouble, jdouble); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: ScreenPostScriptOutput - * Signature: (Ljcas/Standard_CString;DDS)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_ScreenPostScriptOutput - (JNIEnv *, jobject, jobject, jdouble, jdouble, jshort); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: Scroll - * Signature: (Ljcas/Standard_Integer;Ljcas/Standard_Integer;Ljcas/Standard_Integer;Ljcas/Standard_Integer;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_Scroll - (JNIEnv *, jobject, jobject, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: SetDefaultHighlightColor - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_SetDefaultHighlightColor - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: SetDefaultPosition - * Signature: (DDD)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_SetDefaultPosition - (JNIEnv *, jobject, jdouble, jdouble, jdouble); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: SetDeflection - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_SetDeflection - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: SetFitallRatio - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_SetFitallRatio - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: ShowHit - * Signature: (II)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_ShowHit - (JNIEnv *, jobject, jint, jint); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: Size - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_V2d_1View_Size - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: Translate - * Signature: (DD)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_Translate - (JNIEnv *, jobject, jdouble, jdouble); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: Update - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_Update - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: UpdateNew - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_UpdateNew - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: V2d_View_Color_1 - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Color_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: V2d_View_Color_2 - * Signature: (LCASCADESamplesJni/Quantity_Color;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Color_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: V2d_View_Convert_1 - * Signature: (I)D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Convert_11 - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: V2d_View_Convert_2 - * Signature: (IILjcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Convert_12 - (JNIEnv *, jobject, jint, jint, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: V2d_View_Convert_3 - * Signature: (DDLjcas/Standard_Integer;Ljcas/Standard_Integer;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Convert_13 - (JNIEnv *, jobject, jdouble, jdouble, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: V2d_View_Convert_4 - * Signature: (D)D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Convert_14 - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: V2d_View_Create_0 - * Signature: (LCASCADESamplesJni/Aspect_WindowDriver;LCASCADESamplesJni/V2d_Viewer;DDD)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Create_10 - (JNIEnv *, jobject, jobject, jobject, jdouble, jdouble, jdouble); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: V2d_View_Dump_1 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Dump_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: V2d_View_Dump_2 - * Signature: (Ljcas/Standard_CString;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Dump_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: V2d_View_Fit_1 - * Signature: (DDDDZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Fit_11 - (JNIEnv *, jobject, jdouble, jdouble, jdouble, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: V2d_View_Fit_2 - * Signature: (IIII)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Fit_12 - (JNIEnv *, jobject, jint, jint, jint, jint); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: V2d_View_Pick_1 - * Signature: (III)LCASCADESamplesJni/Graphic2d_DisplayList; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Pick_11 - (JNIEnv *, jobject, jint, jint, jint); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: V2d_View_Pick_2 - * Signature: (IIIIS)LCASCADESamplesJni/Graphic2d_DisplayList; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Pick_12 - (JNIEnv *, jobject, jint, jint, jint, jint, jshort); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: V2d_View_Plot_1 - * Signature: (LCASCADESamplesJni/PlotMgt_PlotterDriver;DDD)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Plot_11 - (JNIEnv *, jobject, jobject, jdouble, jdouble, jdouble); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: V2d_View_Plot_2 - * Signature: (LCASCADESamplesJni/PlotMgt_PlotterDriver;D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Plot_12 - (JNIEnv *, jobject, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: V2d_View_SetBackground_1 - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1SetBackground_11 - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: V2d_View_SetBackground_2 - * Signature: (LCASCADESamplesJni/Quantity_Color;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1SetBackground_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: V2d_View_SetBackground_3 - * Signature: (Ljcas/Standard_CString;S)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1SetBackground_13 - (JNIEnv *, jobject, jobject, jshort); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: V2d_View_Zoom_1 - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Zoom_11 - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: V2d_View_Zoom_2 - * Signature: (IIIID)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Zoom_12 - (JNIEnv *, jobject, jint, jint, jint, jint, jdouble); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: V2d_View_Zoom_3 - * Signature: (IID)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Zoom_13 - (JNIEnv *, jobject, jint, jint, jdouble); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: V2d_View_Zoom_4 - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_V2d_1View_V2d_1View_1Zoom_14 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: View - * Signature: ()LCASCADESamplesJni/Graphic2d_View; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V2d_1View_View - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: Viewer - * Signature: ()LCASCADESamplesJni/V2d_Viewer; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V2d_1View_Viewer - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fView - * Method: WindowFit - * Signature: (IIII)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1View_WindowFit - (JNIEnv *, jobject, jint, jint, jint, jint); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_V2d_Viewer.h b/samples/java/inc/CASCADESamplesJni_V2d_Viewer.h deleted file mode 100755 index ab4cb20806..0000000000 --- a/samples/java/inc/CASCADESamplesJni_V2d_Viewer.h +++ /dev/null @@ -1,286 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_V2d_0005fViewer */ - -#ifndef _Included_CASCADESamplesJni_V2d_0005fViewer -#define _Included_CASCADESamplesJni_V2d_0005fViewer -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: ActivateGrid - * Signature: (SS)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_ActivateGrid - (JNIEnv *, jobject, jshort, jshort); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: ActiveView - * Signature: ()LCASCADESamplesJni/V2d_View; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V2d_1Viewer_ActiveView - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: AddView - * Signature: (LCASCADESamplesJni/V2d_View;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_AddView - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: CircularGridValues - * Signature: (Ljcas/Standard_Real;Ljcas/Standard_Real;Ljcas/Standard_Real;Ljcas/Standard_Integer;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_CircularGridValues - (JNIEnv *, jobject, jobject, jobject, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: ColorMap - * Signature: ()LCASCADESamplesJni/Aspect_ColorMap; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V2d_1Viewer_ColorMap - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: DeactivateGrid - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_DeactivateGrid - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: FontMap - * Signature: ()LCASCADESamplesJni/Aspect_FontMap; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V2d_1Viewer_FontMap - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: GridType - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_V2d_1Viewer_GridType - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: Hit - * Signature: (DDLjcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_Hit - (JNIEnv *, jobject, jdouble, jdouble, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: InitActiveViews - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_InitActiveViews - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: InitializeColor - * Signature: (S)I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_V2d_1Viewer_InitializeColor - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: IsActive - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V2d_1Viewer_IsActive - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: IsEmpty - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V2d_1Viewer_IsEmpty - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: MarkMap - * Signature: ()LCASCADESamplesJni/Aspect_MarkMap; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V2d_1Viewer_MarkMap - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: MoreActiveViews - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V2d_1Viewer_MoreActiveViews - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: NextActiveViews - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_NextActiveViews - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: RectangularGridValues - * Signature: (Ljcas/Standard_Real;Ljcas/Standard_Real;Ljcas/Standard_Real;Ljcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_RectangularGridValues - (JNIEnv *, jobject, jobject, jobject, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: RemoveView - * Signature: (LCASCADESamplesJni/V2d_View;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_RemoveView - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: SetCircularGridValues - * Signature: (DDDID)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_SetCircularGridValues - (JNIEnv *, jobject, jdouble, jdouble, jdouble, jint, jdouble); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: SetColorMap - * Signature: (LCASCADESamplesJni/Aspect_ColorMap;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_SetColorMap - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: SetFontMap - * Signature: (LCASCADESamplesJni/Aspect_FontMap;Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_SetFontMap - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: SetGridColor - * Signature: (LCASCADESamplesJni/Quantity_Color;LCASCADESamplesJni/Quantity_Color;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_SetGridColor - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: SetMarkMap - * Signature: (LCASCADESamplesJni/Aspect_MarkMap;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_SetMarkMap - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: SetRectangularGridValues - * Signature: (DDDDD)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_SetRectangularGridValues - (JNIEnv *, jobject, jdouble, jdouble, jdouble, jdouble, jdouble); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: SetTypeMap - * Signature: (LCASCADESamplesJni/Aspect_TypeMap;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_SetTypeMap - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: SetWidthMap - * Signature: (LCASCADESamplesJni/Aspect_WidthMap;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_SetWidthMap - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: TypeMap - * Signature: ()LCASCADESamplesJni/Aspect_TypeMap; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V2d_1Viewer_TypeMap - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: Update - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_Update - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: UpdateNew - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_UpdateNew - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: UseMFT - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V2d_1Viewer_UseMFT - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: V2d_Viewer_Create_1 - * Signature: (LCASCADESamplesJni/Aspect_GraphicDevice;Ljava/lang/String;Ljcas/Standard_CString;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_V2d_1Viewer_1Create_11 - (JNIEnv *, jobject, jobject, jstring, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: V2d_Viewer_Create_2 - * Signature: (LCASCADESamplesJni/Aspect_GraphicDevice;LCASCADESamplesJni/Graphic2d_View;Ljava/lang/String;Ljcas/Standard_CString;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V2d_1Viewer_V2d_1Viewer_1Create_12 - (JNIEnv *, jobject, jobject, jobject, jstring, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: View - * Signature: ()LCASCADESamplesJni/Graphic2d_View; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V2d_1Viewer_View - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V2d_0005fViewer - * Method: WidthMap - * Signature: ()LCASCADESamplesJni/Aspect_WidthMap; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V2d_1Viewer_WidthMap - (JNIEnv *, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_V3d_Light.h b/samples/java/inc/CASCADESamplesJni_V3d_Light.h deleted file mode 100755 index ff95975dd0..0000000000 --- a/samples/java/inc/CASCADESamplesJni_V3d_Light.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_V3d_0005fLight */ - -#ifndef _Included_CASCADESamplesJni_V3d_0005fLight -#define _Included_CASCADESamplesJni_V3d_0005fLight -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_V3d_OrthographicView.h b/samples/java/inc/CASCADESamplesJni_V3d_OrthographicView.h deleted file mode 100755 index ca6bb92dbe..0000000000 --- a/samples/java/inc/CASCADESamplesJni_V3d_OrthographicView.h +++ /dev/null @@ -1,46 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_V3d_0005fOrthographicView */ - -#ifndef _Included_CASCADESamplesJni_V3d_0005fOrthographicView -#define _Included_CASCADESamplesJni_V3d_0005fOrthographicView -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_V3d_0005fOrthographicView - * Method: Copy - * Signature: ()LCASCADESamplesJni/V3d_OrthographicView; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1OrthographicView_Copy - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fOrthographicView - * Method: V3d_OrthographicView_Create_1 - * Signature: (LCASCADESamplesJni/V3d_Viewer;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1OrthographicView_V3d_1OrthographicView_1Create_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fOrthographicView - * Method: V3d_OrthographicView_Create_2 - * Signature: (LCASCADESamplesJni/V3d_Viewer;LCASCADESamplesJni/V3d_PerspectiveView;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1OrthographicView_V3d_1OrthographicView_1Create_12 - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fOrthographicView - * Method: V3d_OrthographicView_Create_3 - * Signature: (LCASCADESamplesJni/V3d_Viewer;LCASCADESamplesJni/V3d_OrthographicView;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1OrthographicView_V3d_1OrthographicView_1Create_13 - (JNIEnv *, jobject, jobject, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_V3d_PerspectiveView.h b/samples/java/inc/CASCADESamplesJni_V3d_PerspectiveView.h deleted file mode 100755 index 65476d5a58..0000000000 --- a/samples/java/inc/CASCADESamplesJni_V3d_PerspectiveView.h +++ /dev/null @@ -1,62 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_V3d_0005fPerspectiveView */ - -#ifndef _Included_CASCADESamplesJni_V3d_0005fPerspectiveView -#define _Included_CASCADESamplesJni_V3d_0005fPerspectiveView -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_V3d_0005fPerspectiveView - * Method: Angle - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_V3d_1PerspectiveView_Angle - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fPerspectiveView - * Method: Copy - * Signature: ()LCASCADESamplesJni/V3d_PerspectiveView; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1PerspectiveView_Copy - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fPerspectiveView - * Method: SetAngle - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1PerspectiveView_SetAngle - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fPerspectiveView - * Method: V3d_PerspectiveView_Create_1 - * Signature: (LCASCADESamplesJni/V3d_Viewer;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1PerspectiveView_V3d_1PerspectiveView_1Create_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fPerspectiveView - * Method: V3d_PerspectiveView_Create_2 - * Signature: (LCASCADESamplesJni/V3d_Viewer;LCASCADESamplesJni/V3d_OrthographicView;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1PerspectiveView_V3d_1PerspectiveView_1Create_12 - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fPerspectiveView - * Method: V3d_PerspectiveView_Create_3 - * Signature: (LCASCADESamplesJni/V3d_Viewer;LCASCADESamplesJni/V3d_PerspectiveView;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1PerspectiveView_V3d_1PerspectiveView_1Create_13 - (JNIEnv *, jobject, jobject, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_V3d_Plane.h b/samples/java/inc/CASCADESamplesJni_V3d_Plane.h deleted file mode 100755 index ce22953b27..0000000000 --- a/samples/java/inc/CASCADESamplesJni_V3d_Plane.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_V3d_0005fPlane */ - -#ifndef _Included_CASCADESamplesJni_V3d_0005fPlane -#define _Included_CASCADESamplesJni_V3d_0005fPlane -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_V3d_TypeOfAxe.h b/samples/java/inc/CASCADESamplesJni_V3d_TypeOfAxe.h deleted file mode 100755 index 427ad71331..0000000000 --- a/samples/java/inc/CASCADESamplesJni_V3d_TypeOfAxe.h +++ /dev/null @@ -1,19 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_V3d_0005fTypeOfAxe */ - -#ifndef _Included_CASCADESamplesJni_V3d_0005fTypeOfAxe -#define _Included_CASCADESamplesJni_V3d_0005fTypeOfAxe -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_V3d_0005fTypeOfAxe_V3d_X -#define CASCADESamplesJni_V3d_0005fTypeOfAxe_V3d_X 0L -#undef CASCADESamplesJni_V3d_0005fTypeOfAxe_V3d_Y -#define CASCADESamplesJni_V3d_0005fTypeOfAxe_V3d_Y 1L -#undef CASCADESamplesJni_V3d_0005fTypeOfAxe_V3d_Z -#define CASCADESamplesJni_V3d_0005fTypeOfAxe_V3d_Z 2L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_V3d_TypeOfBackfacingModel.h b/samples/java/inc/CASCADESamplesJni_V3d_TypeOfBackfacingModel.h deleted file mode 100755 index c6b1060f90..0000000000 --- a/samples/java/inc/CASCADESamplesJni_V3d_TypeOfBackfacingModel.h +++ /dev/null @@ -1,19 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_V3d_0005fTypeOfBackfacingModel */ - -#ifndef _Included_CASCADESamplesJni_V3d_0005fTypeOfBackfacingModel -#define _Included_CASCADESamplesJni_V3d_0005fTypeOfBackfacingModel -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_V3d_0005fTypeOfBackfacingModel_V3d_TOBM_AUTOMATIC -#define CASCADESamplesJni_V3d_0005fTypeOfBackfacingModel_V3d_TOBM_AUTOMATIC 0L -#undef CASCADESamplesJni_V3d_0005fTypeOfBackfacingModel_V3d_TOBM_ALWAYS_DISPLAYED -#define CASCADESamplesJni_V3d_0005fTypeOfBackfacingModel_V3d_TOBM_ALWAYS_DISPLAYED 1L -#undef CASCADESamplesJni_V3d_0005fTypeOfBackfacingModel_V3d_TOBM_NEVER_DISPLAYED -#define CASCADESamplesJni_V3d_0005fTypeOfBackfacingModel_V3d_TOBM_NEVER_DISPLAYED 2L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_V3d_TypeOfOrientation.h b/samples/java/inc/CASCADESamplesJni_V3d_TypeOfOrientation.h deleted file mode 100755 index 86179238ad..0000000000 --- a/samples/java/inc/CASCADESamplesJni_V3d_TypeOfOrientation.h +++ /dev/null @@ -1,65 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_V3d_0005fTypeOfOrientation */ - -#ifndef _Included_CASCADESamplesJni_V3d_0005fTypeOfOrientation -#define _Included_CASCADESamplesJni_V3d_0005fTypeOfOrientation -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_Xpos -#define CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_Xpos 0L -#undef CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_Ypos -#define CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_Ypos 1L -#undef CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_Zpos -#define CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_Zpos 2L -#undef CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_Xneg -#define CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_Xneg 3L -#undef CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_Yneg -#define CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_Yneg 4L -#undef CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_Zneg -#define CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_Zneg 5L -#undef CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_XposYpos -#define CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_XposYpos 6L -#undef CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_XposZpos -#define CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_XposZpos 7L -#undef CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_YposZpos -#define CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_YposZpos 8L -#undef CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_XnegYneg -#define CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_XnegYneg 9L -#undef CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_XnegYpos -#define CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_XnegYpos 10L -#undef CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_XnegZneg -#define CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_XnegZneg 11L -#undef CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_XnegZpos -#define CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_XnegZpos 12L -#undef CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_YnegZneg -#define CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_YnegZneg 13L -#undef CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_YnegZpos -#define CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_YnegZpos 14L -#undef CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_XposYneg -#define CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_XposYneg 15L -#undef CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_XposZneg -#define CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_XposZneg 16L -#undef CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_YposZneg -#define CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_YposZneg 17L -#undef CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_XposYposZpos -#define CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_XposYposZpos 18L -#undef CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_XposYnegZpos -#define CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_XposYnegZpos 19L -#undef CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_XposYposZneg -#define CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_XposYposZneg 20L -#undef CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_XnegYposZpos -#define CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_XnegYposZpos 21L -#undef CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_XposYnegZneg -#define CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_XposYnegZneg 22L -#undef CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_XnegYposZneg -#define CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_XnegYposZneg 23L -#undef CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_XnegYnegZpos -#define CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_XnegYnegZpos 24L -#undef CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_XnegYnegZneg -#define CASCADESamplesJni_V3d_0005fTypeOfOrientation_V3d_XnegYnegZneg 25L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_V3d_TypeOfProjectionModel.h b/samples/java/inc/CASCADESamplesJni_V3d_TypeOfProjectionModel.h deleted file mode 100755 index 06df6ef384..0000000000 --- a/samples/java/inc/CASCADESamplesJni_V3d_TypeOfProjectionModel.h +++ /dev/null @@ -1,17 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_V3d_0005fTypeOfProjectionModel */ - -#ifndef _Included_CASCADESamplesJni_V3d_0005fTypeOfProjectionModel -#define _Included_CASCADESamplesJni_V3d_0005fTypeOfProjectionModel -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_V3d_0005fTypeOfProjectionModel_V3d_TPM_SCREEN -#define CASCADESamplesJni_V3d_0005fTypeOfProjectionModel_V3d_TPM_SCREEN 0L -#undef CASCADESamplesJni_V3d_0005fTypeOfProjectionModel_V3d_TPM_WALKTHROUGH -#define CASCADESamplesJni_V3d_0005fTypeOfProjectionModel_V3d_TPM_WALKTHROUGH 1L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_V3d_TypeOfShadingModel.h b/samples/java/inc/CASCADESamplesJni_V3d_TypeOfShadingModel.h deleted file mode 100755 index 71338b19ee..0000000000 --- a/samples/java/inc/CASCADESamplesJni_V3d_TypeOfShadingModel.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_V3d_0005fTypeOfShadingModel */ - -#ifndef _Included_CASCADESamplesJni_V3d_0005fTypeOfShadingModel -#define _Included_CASCADESamplesJni_V3d_0005fTypeOfShadingModel -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_V3d_0005fTypeOfShadingModel_V3d_COLOR -#define CASCADESamplesJni_V3d_0005fTypeOfShadingModel_V3d_COLOR 0L -#undef CASCADESamplesJni_V3d_0005fTypeOfShadingModel_V3d_MULTICOLOR -#define CASCADESamplesJni_V3d_0005fTypeOfShadingModel_V3d_MULTICOLOR 1L -#undef CASCADESamplesJni_V3d_0005fTypeOfShadingModel_V3d_FLAT -#define CASCADESamplesJni_V3d_0005fTypeOfShadingModel_V3d_FLAT 2L -#undef CASCADESamplesJni_V3d_0005fTypeOfShadingModel_V3d_GOURAUD -#define CASCADESamplesJni_V3d_0005fTypeOfShadingModel_V3d_GOURAUD 3L -#undef CASCADESamplesJni_V3d_0005fTypeOfShadingModel_V3d_HIDDEN -#define CASCADESamplesJni_V3d_0005fTypeOfShadingModel_V3d_HIDDEN 4L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_V3d_TypeOfSurfaceDetail.h b/samples/java/inc/CASCADESamplesJni_V3d_TypeOfSurfaceDetail.h deleted file mode 100755 index 5c0be4a303..0000000000 --- a/samples/java/inc/CASCADESamplesJni_V3d_TypeOfSurfaceDetail.h +++ /dev/null @@ -1,19 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_V3d_0005fTypeOfSurfaceDetail */ - -#ifndef _Included_CASCADESamplesJni_V3d_0005fTypeOfSurfaceDetail -#define _Included_CASCADESamplesJni_V3d_0005fTypeOfSurfaceDetail -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_V3d_0005fTypeOfSurfaceDetail_V3d_TEX_NONE -#define CASCADESamplesJni_V3d_0005fTypeOfSurfaceDetail_V3d_TEX_NONE 0L -#undef CASCADESamplesJni_V3d_0005fTypeOfSurfaceDetail_V3d_TEX_ENVIRONMENT -#define CASCADESamplesJni_V3d_0005fTypeOfSurfaceDetail_V3d_TEX_ENVIRONMENT 1L -#undef CASCADESamplesJni_V3d_0005fTypeOfSurfaceDetail_V3d_TEX_ALL -#define CASCADESamplesJni_V3d_0005fTypeOfSurfaceDetail_V3d_TEX_ALL 2L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_V3d_TypeOfUpdate.h b/samples/java/inc/CASCADESamplesJni_V3d_TypeOfUpdate.h deleted file mode 100755 index faea74d5dc..0000000000 --- a/samples/java/inc/CASCADESamplesJni_V3d_TypeOfUpdate.h +++ /dev/null @@ -1,17 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_V3d_0005fTypeOfUpdate */ - -#ifndef _Included_CASCADESamplesJni_V3d_0005fTypeOfUpdate -#define _Included_CASCADESamplesJni_V3d_0005fTypeOfUpdate -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_V3d_0005fTypeOfUpdate_V3d_ASAP -#define CASCADESamplesJni_V3d_0005fTypeOfUpdate_V3d_ASAP 0L -#undef CASCADESamplesJni_V3d_0005fTypeOfUpdate_V3d_WAIT -#define CASCADESamplesJni_V3d_0005fTypeOfUpdate_V3d_WAIT 1L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_V3d_TypeOfView.h b/samples/java/inc/CASCADESamplesJni_V3d_TypeOfView.h deleted file mode 100755 index 63c5491451..0000000000 --- a/samples/java/inc/CASCADESamplesJni_V3d_TypeOfView.h +++ /dev/null @@ -1,17 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_V3d_0005fTypeOfView */ - -#ifndef _Included_CASCADESamplesJni_V3d_0005fTypeOfView -#define _Included_CASCADESamplesJni_V3d_0005fTypeOfView -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_V3d_0005fTypeOfView_V3d_ORTHOGRAPHIC -#define CASCADESamplesJni_V3d_0005fTypeOfView_V3d_ORTHOGRAPHIC 0L -#undef CASCADESamplesJni_V3d_0005fTypeOfView_V3d_PERSPECTIVE -#define CASCADESamplesJni_V3d_0005fTypeOfView_V3d_PERSPECTIVE 1L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_V3d_TypeOfVisualization.h b/samples/java/inc/CASCADESamplesJni_V3d_TypeOfVisualization.h deleted file mode 100755 index 1a6d78641a..0000000000 --- a/samples/java/inc/CASCADESamplesJni_V3d_TypeOfVisualization.h +++ /dev/null @@ -1,17 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_V3d_0005fTypeOfVisualization */ - -#ifndef _Included_CASCADESamplesJni_V3d_0005fTypeOfVisualization -#define _Included_CASCADESamplesJni_V3d_0005fTypeOfVisualization -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_V3d_0005fTypeOfVisualization_V3d_WIREFRAME -#define CASCADESamplesJni_V3d_0005fTypeOfVisualization_V3d_WIREFRAME 0L -#undef CASCADESamplesJni_V3d_0005fTypeOfVisualization_V3d_ZBUFFER -#define CASCADESamplesJni_V3d_0005fTypeOfVisualization_V3d_ZBUFFER 1L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_V3d_TypeOfZclipping.h b/samples/java/inc/CASCADESamplesJni_V3d_TypeOfZclipping.h deleted file mode 100755 index f15cd15911..0000000000 --- a/samples/java/inc/CASCADESamplesJni_V3d_TypeOfZclipping.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_V3d_0005fTypeOfZclipping */ - -#ifndef _Included_CASCADESamplesJni_V3d_0005fTypeOfZclipping -#define _Included_CASCADESamplesJni_V3d_0005fTypeOfZclipping -#ifdef __cplusplus -extern "C" { -#endif -#undef CASCADESamplesJni_V3d_0005fTypeOfZclipping_V3d_OFF -#define CASCADESamplesJni_V3d_0005fTypeOfZclipping_V3d_OFF 0L -#undef CASCADESamplesJni_V3d_0005fTypeOfZclipping_V3d_BACK -#define CASCADESamplesJni_V3d_0005fTypeOfZclipping_V3d_BACK 1L -#undef CASCADESamplesJni_V3d_0005fTypeOfZclipping_V3d_FRONT -#define CASCADESamplesJni_V3d_0005fTypeOfZclipping_V3d_FRONT 2L -#undef CASCADESamplesJni_V3d_0005fTypeOfZclipping_V3d_SLICE -#define CASCADESamplesJni_V3d_0005fTypeOfZclipping_V3d_SLICE 3L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_V3d_View.h b/samples/java/inc/CASCADESamplesJni_V3d_View.h deleted file mode 100755 index c3243a737b..0000000000 --- a/samples/java/inc/CASCADESamplesJni_V3d_View.h +++ /dev/null @@ -1,1422 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_V3d_0005fView */ - -#ifndef _Included_CASCADESamplesJni_V3d_0005fView -#define _Included_CASCADESamplesJni_V3d_0005fView -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: ActiveLight - * Signature: ()LCASCADESamplesJni/V3d_Light; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1View_ActiveLight - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: ActivePlane - * Signature: ()LCASCADESamplesJni/V3d_Plane; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1View_ActivePlane - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: AnimationMode - * Signature: (Ljcas/Standard_Boolean;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_AnimationMode - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: AnimationModeIsOn - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_AnimationModeIsOn - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: Antialiasing - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_Antialiasing - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: At - * Signature: (Ljcas/Standard_Real;Ljcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_At - (JNIEnv *, jobject, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: BackFacingModel - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_V3d_1View_BackFacingModel - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: Center - * Signature: (Ljcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_Center - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: ColorScale - * Signature: ()LCASCADESamplesJni/Aspect_ColorScale; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1View_ColorScale - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: ColorScaleDisplay - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_ColorScaleDisplay - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: ColorScaleErase - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_ColorScaleErase - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: ColorScaleIsDisplayed - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_ColorScaleIsDisplayed - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: ComputedMode - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_ComputedMode - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: DegenerateModeIsOn - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_DegenerateModeIsOn - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: Depth - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_V3d_1View_Depth - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: DoMapping - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_DoMapping - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: EnableDepthTest - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_EnableDepthTest - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: EnableGLLight - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_EnableGLLight - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: Eye - * Signature: (Ljcas/Standard_Real;Ljcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_Eye - (JNIEnv *, jobject, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: FocalReferencePoint - * Signature: (Ljcas/Standard_Real;Ljcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_FocalReferencePoint - (JNIEnv *, jobject, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: Focale - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_V3d_1View_Focale - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: IfMoreLights - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_IfMoreLights - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: IfMorePlanes - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_IfMorePlanes - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: IfWindow - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_IfWindow - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: InitActiveLights - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_InitActiveLights - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: InitActivePlanes - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_InitActivePlanes - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: IsActiveLight - * Signature: (LCASCADESamplesJni/V3d_Light;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_IsActiveLight - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: IsActivePlane - * Signature: (LCASCADESamplesJni/V3d_Plane;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_IsActivePlane - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: IsDepthTestEnabled - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_IsDepthTestEnabled - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: IsEmpty - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_IsEmpty - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: IsGLLightEnabled - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_IsGLLightEnabled - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: MoreActiveLights - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_MoreActiveLights - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: MoreActivePlanes - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_MoreActivePlanes - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: MustBeResized - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_MustBeResized - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: NextActiveLights - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_NextActiveLights - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: NextActivePlanes - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_NextActivePlanes - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: Pan - * Signature: (IID)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_Pan - (JNIEnv *, jobject, jint, jint, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: Panning - * Signature: (DDDZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_Panning - (JNIEnv *, jobject, jdouble, jdouble, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: Place - * Signature: (IID)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_Place - (JNIEnv *, jobject, jint, jint, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: Plot - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_Plot - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: Proj - * Signature: (Ljcas/Standard_Real;Ljcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_Proj - (JNIEnv *, jobject, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: ProjModel - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_V3d_1View_ProjModel - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: ProjReferenceAxe - * Signature: (IILjcas/Standard_Real;Ljcas/Standard_Real;Ljcas/Standard_Real;Ljcas/Standard_Real;Ljcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_ProjReferenceAxe - (JNIEnv *, jobject, jint, jint, jobject, jobject, jobject, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: Project - * Signature: (DDDLjcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_Project - (JNIEnv *, jobject, jdouble, jdouble, jdouble, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: Remove - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_Remove - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: Reset - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_Reset - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: ResetViewMapping - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_ResetViewMapping - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: ResetViewOrientation - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_ResetViewOrientation - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: Rotation - * Signature: (II)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_Rotation - (JNIEnv *, jobject, jint, jint); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: Scale - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_V3d_1View_Scale - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: ScreenCopy - * Signature: (LCASCADESamplesJni/PlotMgt_PlotterDriver;ZD)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_ScreenCopy - (JNIEnv *, jobject, jobject, jboolean, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetAnimationMode - * Signature: (ZZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetAnimationMode - (JNIEnv *, jobject, jboolean, jboolean); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetAnimationModeOff - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetAnimationModeOff - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetAnimationModeOn - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetAnimationModeOn - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetAntialiasingOff - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetAntialiasingOff - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetAntialiasingOn - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetAntialiasingOn - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetAt - * Signature: (DDD)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetAt - (JNIEnv *, jobject, jdouble, jdouble, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetAxialScale - * Signature: (DDD)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetAxialScale - (JNIEnv *, jobject, jdouble, jdouble, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetAxis - * Signature: (DDDDDD)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetAxis - (JNIEnv *, jobject, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetBackFacingModel - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetBackFacingModel - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetBackgroundImage - * Signature: (Ljcas/Standard_CString;SZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetBackgroundImage - (JNIEnv *, jobject, jobject, jshort, jboolean); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetBgImageStyle - * Signature: (SZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetBgImageStyle - (JNIEnv *, jobject, jshort, jboolean); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetComputedMode - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetComputedMode - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetDegenerateModeOff - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetDegenerateModeOff - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetDegenerateModeOn - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetDegenerateModeOn - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetDepth - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetDepth - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetEye - * Signature: (DDD)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetEye - (JNIEnv *, jobject, jdouble, jdouble, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetFocale - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetFocale - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetFront - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetFront - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetGrid - * Signature: (LCASCADESamplesJni/gp_Ax3;LCASCADESamplesJni/Aspect_Grid;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetGrid - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetGridActivity - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetGridActivity - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetGridGraphicValues - * Signature: (LCASCADESamplesJni/Aspect_Grid;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetGridGraphicValues - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetMagnify - * Signature: (LCASCADESamplesJni/Aspect_Window;LCASCADESamplesJni/V3d_View;IIII)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetMagnify - (JNIEnv *, jobject, jobject, jobject, jint, jint, jint, jint); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetPlotter - * Signature: (LCASCADESamplesJni/Graphic3d_Plotter;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetPlotter - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetProjModel - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetProjModel - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetScale - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetScale - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetShadingModel - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetShadingModel - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetSize - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetSize - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetSurfaceDetail - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetSurfaceDetail - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetTextureEnv - * Signature: (LCASCADESamplesJni/Graphic3d_TextureEnv;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetTextureEnv - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetTransparency - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetTransparency - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetTwist - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetTwist - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetViewMappingDefault - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetViewMappingDefault - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetViewOrientationDefault - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetViewOrientationDefault - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetVisualization - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetVisualization - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetZClippingDepth - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetZClippingDepth - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetZClippingType - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetZClippingType - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetZClippingWidth - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetZClippingWidth - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetZCueingDepth - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetZCueingDepth - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetZCueingOff - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetZCueingOff - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetZCueingOn - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetZCueingOn - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetZCueingWidth - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetZCueingWidth - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetZSize - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetZSize - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SetZoom - * Signature: (DZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_SetZoom - (JNIEnv *, jobject, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: ShadingModel - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_V3d_1View_ShadingModel - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: Size - * Signature: (Ljcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_Size - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: StartRotation - * Signature: (IID)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_StartRotation - (JNIEnv *, jobject, jint, jint, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: SurfaceDetail - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_V3d_1View_SurfaceDetail - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: TextureEnv - * Signature: ()LCASCADESamplesJni/Graphic3d_TextureEnv; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1View_TextureEnv - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: ToPixMap - * Signature: (III)LCASCADESamplesJni/Aspect_PixMap; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1View_ToPixMap - (JNIEnv *, jobject, jint, jint, jint); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: TransientManagerBeginAddDraw - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_TransientManagerBeginAddDraw - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: TransientManagerBeginDraw - * Signature: (ZZ)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_TransientManagerBeginDraw - (JNIEnv *, jobject, jboolean, jboolean); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: TransientManagerClearDraw - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_TransientManagerClearDraw - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: Transparency - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_Transparency - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: TriedronDisplay - * Signature: (SSDS)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_TriedronDisplay - (JNIEnv *, jobject, jshort, jshort, jdouble, jshort); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: TriedronEcho - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_TriedronEcho - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: TriedronErase - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_TriedronErase - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: Tumble - * Signature: (IZ)D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_V3d_1View_Tumble - (JNIEnv *, jobject, jint, jboolean); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: Twist - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_V3d_1View_Twist - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: Type - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_V3d_1View_Type - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: Up - * Signature: (Ljcas/Standard_Real;Ljcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_Up - (JNIEnv *, jobject, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: Update - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_Update - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: UpdateLights - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_UpdateLights - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_AxialScale_1 - * Signature: (Ljcas/Standard_Real;Ljcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1AxialScale_11 - (JNIEnv *, jobject, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_AxialScale_2 - * Signature: (IIS)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1AxialScale_12 - (JNIEnv *, jobject, jint, jint, jshort); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_BackgroundColor_1 - * Signature: (SLjcas/Standard_Real;Ljcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1BackgroundColor_11 - (JNIEnv *, jobject, jshort, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_BackgroundColor_2 - * Signature: ()LCASCADESamplesJni/Quantity_Color; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1BackgroundColor_12 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_ConvertToGrid_1 - * Signature: (IILjcas/Standard_Real;Ljcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1ConvertToGrid_11 - (JNIEnv *, jobject, jint, jint, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_ConvertToGrid_2 - * Signature: (DDDLjcas/Standard_Real;Ljcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1ConvertToGrid_12 - (JNIEnv *, jobject, jdouble, jdouble, jdouble, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_Convert_1 - * Signature: (I)D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Convert_11 - (JNIEnv *, jobject, jint); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_Convert_2 - * Signature: (IILjcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Convert_12 - (JNIEnv *, jobject, jint, jint, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_Convert_3 - * Signature: (D)I - */ -JNIEXPORT jint JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Convert_13 - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_Convert_4 - * Signature: (DDLjcas/Standard_Integer;Ljcas/Standard_Integer;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Convert_14 - (JNIEnv *, jobject, jdouble, jdouble, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_Convert_5 - * Signature: (IILjcas/Standard_Real;Ljcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Convert_15 - (JNIEnv *, jobject, jint, jint, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_Convert_6 - * Signature: (DDDLjcas/Standard_Integer;Ljcas/Standard_Integer;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Convert_16 - (JNIEnv *, jobject, jdouble, jdouble, jdouble, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_Dump_1 - * Signature: (Ljcas/Standard_CString;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Dump_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_Dump_2 - * Signature: (Ljcas/Standard_CString;S)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Dump_12 - (JNIEnv *, jobject, jobject, jshort); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_FitAll_1 - * Signature: (DZZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1FitAll_11 - (JNIEnv *, jobject, jdouble, jboolean, jboolean); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_FitAll_2 - * Signature: (DDDD)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1FitAll_12 - (JNIEnv *, jobject, jdouble, jdouble, jdouble, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_Move_1 - * Signature: (DDDZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Move_11 - (JNIEnv *, jobject, jdouble, jdouble, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_Move_2 - * Signature: (SDZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Move_12 - (JNIEnv *, jobject, jshort, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_Move_3 - * Signature: (DZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Move_13 - (JNIEnv *, jobject, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_Redraw_1 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Redraw_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_Redraw_2 - * Signature: (IIII)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Redraw_12 - (JNIEnv *, jobject, jint, jint, jint, jint); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_Rotate_1 - * Signature: (DDDZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Rotate_11 - (JNIEnv *, jobject, jdouble, jdouble, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_Rotate_2 - * Signature: (DDDDDDZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Rotate_12 - (JNIEnv *, jobject, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_Rotate_3 - * Signature: (SDDDDZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Rotate_13 - (JNIEnv *, jobject, jshort, jdouble, jdouble, jdouble, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_Rotate_4 - * Signature: (SDZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Rotate_14 - (JNIEnv *, jobject, jshort, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_Rotate_5 - * Signature: (DZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Rotate_15 - (JNIEnv *, jobject, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_SetBackgroundColor_1 - * Signature: (SDDD)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetBackgroundColor_11 - (JNIEnv *, jobject, jshort, jdouble, jdouble, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_SetBackgroundColor_2 - * Signature: (LCASCADESamplesJni/Quantity_Color;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetBackgroundColor_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_SetBackgroundColor_3 - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetBackgroundColor_13 - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_SetCenter_1 - * Signature: (DD)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetCenter_11 - (JNIEnv *, jobject, jdouble, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_SetCenter_2 - * Signature: (II)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetCenter_12 - (JNIEnv *, jobject, jint, jint); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_SetLightOff_1 - * Signature: (LCASCADESamplesJni/V3d_Light;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetLightOff_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_SetLightOff_2 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetLightOff_12 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_SetLightOn_1 - * Signature: (LCASCADESamplesJni/V3d_Light;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetLightOn_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_SetLightOn_2 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetLightOn_12 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_SetPlaneOff_1 - * Signature: (LCASCADESamplesJni/V3d_Plane;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetPlaneOff_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_SetPlaneOff_2 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetPlaneOff_12 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_SetPlaneOn_1 - * Signature: (LCASCADESamplesJni/V3d_Plane;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetPlaneOn_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_SetPlaneOn_2 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetPlaneOn_12 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_SetProj_1 - * Signature: (DDD)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetProj_11 - (JNIEnv *, jobject, jdouble, jdouble, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_SetProj_2 - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetProj_12 - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_SetUp_1 - * Signature: (DDD)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetUp_11 - (JNIEnv *, jobject, jdouble, jdouble, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_SetUp_2 - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetUp_12 - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_SetWindow_1 - * Signature: (LCASCADESamplesJni/Aspect_Window;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1SetWindow_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_Translate_1 - * Signature: (DDDZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Translate_11 - (JNIEnv *, jobject, jdouble, jdouble, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_Translate_2 - * Signature: (SDZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Translate_12 - (JNIEnv *, jobject, jshort, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_Translate_3 - * Signature: (DZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Translate_13 - (JNIEnv *, jobject, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_Turn_1 - * Signature: (DDDZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Turn_11 - (JNIEnv *, jobject, jdouble, jdouble, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_Turn_2 - * Signature: (SDZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Turn_12 - (JNIEnv *, jobject, jshort, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_Turn_3 - * Signature: (DZ)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Turn_13 - (JNIEnv *, jobject, jdouble, jboolean); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_Zoom_1 - * Signature: (IIII)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Zoom_11 - (JNIEnv *, jobject, jint, jint, jint, jint); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: V3d_View_Zoom_2 - * Signature: (II)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_V3d_1View_1Zoom_12 - (JNIEnv *, jobject, jint, jint); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: View - * Signature: ()LCASCADESamplesJni/Visual3d_View; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1View_View - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: Viewer - * Signature: ()LCASCADESamplesJni/V3d_Viewer; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1View_Viewer - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: Visualization - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_V3d_1View_Visualization - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: Window - * Signature: ()LCASCADESamplesJni/Aspect_Window; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1View_Window - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: WindowFit - * Signature: (IIII)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_WindowFit - (JNIEnv *, jobject, jint, jint, jint, jint); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: WindowFitAll - * Signature: (IIII)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_WindowFitAll - (JNIEnv *, jobject, jint, jint, jint, jint); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: ZBufferTriedronSetup - * Signature: (SSSDDI)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_ZBufferTriedronSetup - (JNIEnv *, jobject, jshort, jshort, jshort, jdouble, jdouble, jint); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: ZClipping - * Signature: (Ljcas/Standard_Real;Ljcas/Standard_Real;)S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_V3d_1View_ZClipping - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: ZCueing - * Signature: (Ljcas/Standard_Real;Ljcas/Standard_Real;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1View_ZCueing - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: ZFitAll - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1View_ZFitAll - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fView - * Method: ZSize - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_V3d_1View_ZSize - (JNIEnv *, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_V3d_Viewer.h b/samples/java/inc/CASCADESamplesJni_V3d_Viewer.h deleted file mode 100755 index 34663c275d..0000000000 --- a/samples/java/inc/CASCADESamplesJni_V3d_Viewer.h +++ /dev/null @@ -1,750 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_V3d_0005fViewer */ - -#ifndef _Included_CASCADESamplesJni_V3d_0005fViewer -#define _Included_CASCADESamplesJni_V3d_0005fViewer -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: ActivateGrid - * Signature: (SS)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_ActivateGrid - (JNIEnv *, jobject, jshort, jshort); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: ActiveLight - * Signature: ()LCASCADESamplesJni/V3d_Light; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1Viewer_ActiveLight - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: ActiveView - * Signature: ()LCASCADESamplesJni/V3d_View; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1Viewer_ActiveView - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: CircularGridGraphicValues - * Signature: (Ljcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_CircularGridGraphicValues - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: CircularGridValues - * Signature: (Ljcas/Standard_Real;Ljcas/Standard_Real;Ljcas/Standard_Real;Ljcas/Standard_Integer;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_CircularGridValues - (JNIEnv *, jobject, jobject, jobject, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: ClearCurrentSelectedLight - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_ClearCurrentSelectedLight - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: ComputedMode - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1Viewer_ComputedMode - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: CreateView - * Signature: ()LCASCADESamplesJni/V3d_View; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1Viewer_CreateView - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: CurrentSelectedLight - * Signature: ()LCASCADESamplesJni/V3d_Light; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1Viewer_CurrentSelectedLight - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: DeactivateGrid - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_DeactivateGrid - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: DefaultAngle - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_V3d_1Viewer_DefaultAngle - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: DefaultComputedMode - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1Viewer_DefaultComputedMode - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: DefaultOrthographicView - * Signature: ()LCASCADESamplesJni/V3d_OrthographicView; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1Viewer_DefaultOrthographicView - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: DefaultPerspectiveView - * Signature: ()LCASCADESamplesJni/V3d_PerspectiveView; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1Viewer_DefaultPerspectiveView - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: DefaultShadingModel - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_V3d_1Viewer_DefaultShadingModel - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: DefaultSurfaceDetail - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_V3d_1Viewer_DefaultSurfaceDetail - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: DefaultViewProj - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_V3d_1Viewer_DefaultViewProj - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: DefaultViewSize - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_CASCADESamplesJni_V3d_1Viewer_DefaultViewSize - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: DefaultVisualization - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_V3d_1Viewer_DefaultVisualization - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: DefinedLight - * Signature: ()LCASCADESamplesJni/V3d_Light; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1Viewer_DefinedLight - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: DefinedPlane - * Signature: ()LCASCADESamplesJni/V3d_Plane; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1Viewer_DefinedPlane - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: DefinedView - * Signature: ()LCASCADESamplesJni/V3d_View; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1Viewer_DefinedView - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: DelLight - * Signature: (LCASCADESamplesJni/V3d_Light;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_DelLight - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: DisplayPrivilegedPlane - * Signature: (ZD)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_DisplayPrivilegedPlane - (JNIEnv *, jobject, jboolean, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: Erase - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_Erase - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: Grid - * Signature: ()LCASCADESamplesJni/Aspect_Grid; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1Viewer_Grid - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: GridDrawMode - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_V3d_1Viewer_GridDrawMode - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: GridEcho - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1Viewer_GridEcho - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: GridType - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_V3d_1Viewer_GridType - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: IfMoreViews - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1Viewer_IfMoreViews - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: Init - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_Init - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: InitActiveLights - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_InitActiveLights - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: InitActiveViews - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_InitActiveViews - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: InitDefinedLights - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_InitDefinedLights - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: InitDefinedPlanes - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_InitDefinedPlanes - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: InitDefinedViews - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_InitDefinedViews - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: IsGlobalLight - * Signature: (LCASCADESamplesJni/V3d_Light;)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1Viewer_IsGlobalLight - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: LastActiveView - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1Viewer_LastActiveView - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: MoreActiveLights - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1Viewer_MoreActiveLights - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: MoreActiveViews - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1Viewer_MoreActiveViews - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: MoreDefinedLights - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1Viewer_MoreDefinedLights - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: MoreDefinedPlanes - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1Viewer_MoreDefinedPlanes - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: MoreDefinedViews - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1Viewer_MoreDefinedViews - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: NextActiveLights - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_NextActiveLights - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: NextActiveViews - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_NextActiveViews - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: NextDefinedLights - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_NextDefinedLights - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: NextDefinedPlanes - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_NextDefinedPlanes - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: NextDefinedViews - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_NextDefinedViews - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: PrivilegedPlane - * Signature: ()LCASCADESamplesJni/gp_Ax3; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1Viewer_PrivilegedPlane - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: RectangularGridGraphicValues - * Signature: (Ljcas/Standard_Real;Ljcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_RectangularGridGraphicValues - (JNIEnv *, jobject, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: RectangularGridValues - * Signature: (Ljcas/Standard_Real;Ljcas/Standard_Real;Ljcas/Standard_Real;Ljcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_RectangularGridValues - (JNIEnv *, jobject, jobject, jobject, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: Redraw - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_Redraw - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: Remove - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_Remove - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: SetCircularGridGraphicValues - * Signature: (DD)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_SetCircularGridGraphicValues - (JNIEnv *, jobject, jdouble, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: SetCircularGridValues - * Signature: (DDDID)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_SetCircularGridValues - (JNIEnv *, jobject, jdouble, jdouble, jdouble, jint, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: SetCurrentSelectedLight - * Signature: (LCASCADESamplesJni/V3d_Light;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_SetCurrentSelectedLight - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: SetDefaultAngle - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_SetDefaultAngle - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: SetDefaultLights - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_SetDefaultLights - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: SetDefaultShadingModel - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_SetDefaultShadingModel - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: SetDefaultSurfaceDetail - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_SetDefaultSurfaceDetail - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: SetDefaultTypeOfView - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_SetDefaultTypeOfView - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: SetDefaultViewProj - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_SetDefaultViewProj - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: SetDefaultViewSize - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_SetDefaultViewSize - (JNIEnv *, jobject, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: SetDefaultVisualization - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_SetDefaultVisualization - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: SetPrivilegedPlane - * Signature: (LCASCADESamplesJni/gp_Ax3;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_SetPrivilegedPlane - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: SetRectangularGridGraphicValues - * Signature: (DDD)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_SetRectangularGridGraphicValues - (JNIEnv *, jobject, jdouble, jdouble, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: SetRectangularGridValues - * Signature: (DDDDD)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_SetRectangularGridValues - (JNIEnv *, jobject, jdouble, jdouble, jdouble, jdouble, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: SetUpdateMode - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_SetUpdateMode - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: SetZBufferManagment - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_SetZBufferManagment - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: UnHighlight - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_UnHighlight - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: Update - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_Update - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: UpdateLights - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_UpdateLights - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: UpdateMode - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_CASCADESamplesJni_V3d_1Viewer_UpdateMode - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: V3d_Viewer_Create_0 - * Signature: (LCASCADESamplesJni/Aspect_GraphicDevice;Ljava/lang/String;Ljcas/Standard_CString;DSSSSSZZS)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1Create_10 - (JNIEnv *, jobject, jobject, jstring, jobject, jdouble, jshort, jshort, jshort, jshort, jshort, jboolean, jboolean, jshort); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: V3d_Viewer_DefaultBackgroundColor_1 - * Signature: (SLjcas/Standard_Real;Ljcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1DefaultBackgroundColor_11 - (JNIEnv *, jobject, jshort, jobject, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: V3d_Viewer_DefaultBackgroundColor_2 - * Signature: ()LCASCADESamplesJni/Quantity_Color; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1DefaultBackgroundColor_12 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: V3d_Viewer_IsActive_1 - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1IsActive_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: V3d_Viewer_SetDefaultBackgroundColor_1 - * Signature: (SDDD)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1SetDefaultBackgroundColor_11 - (JNIEnv *, jobject, jshort, jdouble, jdouble, jdouble); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: V3d_Viewer_SetDefaultBackgroundColor_2 - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1SetDefaultBackgroundColor_12 - (JNIEnv *, jobject, jshort); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: V3d_Viewer_SetDefaultBackgroundColor_3 - * Signature: (LCASCADESamplesJni/Quantity_Color;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1SetDefaultBackgroundColor_13 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: V3d_Viewer_SetGridEcho_1 - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1SetGridEcho_11 - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: V3d_Viewer_SetGridEcho_2 - * Signature: (LCASCADESamplesJni/Graphic3d_AspectMarker3d;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1SetGridEcho_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: V3d_Viewer_SetLightOff_1 - * Signature: (LCASCADESamplesJni/V3d_Light;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1SetLightOff_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: V3d_Viewer_SetLightOff_2 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1SetLightOff_12 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: V3d_Viewer_SetLightOn_1 - * Signature: (LCASCADESamplesJni/V3d_Light;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1SetLightOn_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: V3d_Viewer_SetLightOn_2 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1SetLightOn_12 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: V3d_Viewer_SetViewOff_1 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1SetViewOff_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: V3d_Viewer_SetViewOff_2 - * Signature: (LCASCADESamplesJni/V3d_View;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1SetViewOff_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: V3d_Viewer_SetViewOn_1 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1SetViewOn_11 - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: V3d_Viewer_SetViewOn_2 - * Signature: (LCASCADESamplesJni/V3d_View;)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_V3d_1Viewer_V3d_1Viewer_1SetViewOn_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: Viewer - * Signature: ()LCASCADESamplesJni/Visual3d_ViewManager; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_V3d_1Viewer_Viewer - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_V3d_0005fViewer - * Method: ZBufferManagment - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_V3d_1Viewer_ZBufferManagment - (JNIEnv *, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Viewer_View.h b/samples/java/inc/CASCADESamplesJni_Viewer_View.h deleted file mode 100755 index bfe5acec99..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Viewer_View.h +++ /dev/null @@ -1,46 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Viewer_0005fView */ - -#ifndef _Included_CASCADESamplesJni_Viewer_0005fView -#define _Included_CASCADESamplesJni_Viewer_0005fView -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_Viewer_0005fView - * Method: Place - * Signature: (IID)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Viewer_1View_Place - (JNIEnv *, jobject, jint, jint, jdouble); - -/* - * Class: CASCADESamplesJni_Viewer_0005fView - * Method: SetImmediateUpdate - * Signature: (Z)Z - */ -JNIEXPORT jboolean JNICALL Java_CASCADESamplesJni_Viewer_1View_SetImmediateUpdate - (JNIEnv *, jobject, jboolean); - -/* - * Class: CASCADESamplesJni_Viewer_0005fView - * Method: Update - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Viewer_1View_Update - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Viewer_0005fView - * Method: WindowFit - * Signature: (IIII)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Viewer_1View_WindowFit - (JNIEnv *, jobject, jint, jint, jint, jint); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Viewer_Viewer.h b/samples/java/inc/CASCADESamplesJni_Viewer_Viewer.h deleted file mode 100755 index a02e4aa126..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Viewer_Viewer.h +++ /dev/null @@ -1,46 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Viewer_0005fViewer */ - -#ifndef _Included_CASCADESamplesJni_Viewer_0005fViewer -#define _Included_CASCADESamplesJni_Viewer_0005fViewer -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_Viewer_0005fViewer - * Method: Device - * Signature: ()LCASCADESamplesJni/Aspect_GraphicDevice; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Viewer_1Viewer_Device - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Viewer_0005fViewer - * Method: Domain - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_CASCADESamplesJni_Viewer_1Viewer_Domain - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Viewer_0005fViewer - * Method: NextName - * Signature: ()Ljava/lang/String; - */ -JNIEXPORT jstring JNICALL Java_CASCADESamplesJni_Viewer_1Viewer_NextName - (JNIEnv *, jobject); - -/* - * Class: CASCADESamplesJni_Viewer_0005fViewer - * Method: Update - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_Viewer_1Viewer_Update - (JNIEnv *, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Visual3d_View.h b/samples/java/inc/CASCADESamplesJni_Visual3d_View.h deleted file mode 100755 index 3526e71b2b..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Visual3d_View.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Visual3d_0005fView */ - -#ifndef _Included_CASCADESamplesJni_Visual3d_0005fView -#define _Included_CASCADESamplesJni_Visual3d_0005fView -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_Visual3d_ViewManager.h b/samples/java/inc/CASCADESamplesJni_Visual3d_ViewManager.h deleted file mode 100755 index ede5492f4a..0000000000 --- a/samples/java/inc/CASCADESamplesJni_Visual3d_ViewManager.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_Visual3d_0005fViewManager */ - -#ifndef _Included_CASCADESamplesJni_Visual3d_0005fViewManager -#define _Included_CASCADESamplesJni_Visual3d_0005fViewManager -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_gp_Ax3.h b/samples/java/inc/CASCADESamplesJni_gp_Ax3.h deleted file mode 100755 index 366fdce431..0000000000 --- a/samples/java/inc/CASCADESamplesJni_gp_Ax3.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_gp_0005fAx3 */ - -#ifndef _Included_CASCADESamplesJni_gp_0005fAx3 -#define _Included_CASCADESamplesJni_gp_0005fAx3 -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_gp_0005fAx3 - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_gp_1Ax3_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADESamplesJni_gp_Pnt.h b/samples/java/inc/CASCADESamplesJni_gp_Pnt.h deleted file mode 100755 index f515f2e226..0000000000 --- a/samples/java/inc/CASCADESamplesJni_gp_Pnt.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADESamplesJni_gp_0005fPnt */ - -#ifndef _Included_CASCADESamplesJni_gp_0005fPnt -#define _Included_CASCADESamplesJni_gp_0005fPnt -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: CASCADESamplesJni_gp_0005fPnt - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_CASCADESamplesJni_gp_1Pnt_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADEView2d.hxx b/samples/java/inc/CASCADEView2d.hxx deleted file mode 100755 index a65e196dde..0000000000 --- a/samples/java/inc/CASCADEView2d.hxx +++ /dev/null @@ -1,77 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADEView2d */ - -#ifndef _Included_CASCADEView2d -#define _Included_CASCADEView2d -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: LOCK */ -/* Inaccessible static: dbg */ -/* Inaccessible static: isInc */ -/* Inaccessible static: incRate */ -#undef CASCADEView2d_TOP_ALIGNMENT -#define CASCADEView2d_TOP_ALIGNMENT 0.0f -#undef CASCADEView2d_CENTER_ALIGNMENT -#define CASCADEView2d_CENTER_ALIGNMENT 0.5f -#undef CASCADEView2d_BOTTOM_ALIGNMENT -#define CASCADEView2d_BOTTOM_ALIGNMENT 1.0f -#undef CASCADEView2d_LEFT_ALIGNMENT -#define CASCADEView2d_LEFT_ALIGNMENT 0.0f -#undef CASCADEView2d_RIGHT_ALIGNMENT -#define CASCADEView2d_RIGHT_ALIGNMENT 1.0f -#undef CASCADEView2d_serialVersionUID -#define CASCADEView2d_serialVersionUID -7644114512714619750LL -/* Inaccessible static: metrics */ -/* Inaccessible static: class_00024java_00024awt_00024Component */ -/* Inaccessible static: class_00024java_00024awt_00024event_00024ComponentListener */ -/* Inaccessible static: class_00024java_00024awt_00024event_00024FocusListener */ -/* Inaccessible static: class_00024java_00024awt_00024event_00024HierarchyListener */ -/* Inaccessible static: class_00024java_00024awt_00024event_00024HierarchyBoundsListener */ -/* Inaccessible static: class_00024java_00024awt_00024event_00024KeyListener */ -/* Inaccessible static: class_00024java_00024awt_00024event_00024MouseListener */ -/* Inaccessible static: class_00024java_00024awt_00024event_00024MouseMotionListener */ -/* Inaccessible static: class_00024java_00024awt_00024event_00024InputMethodListener */ -/* Inaccessible static: nameCounter */ -#undef CASCADEView2d_serialVersionUID -#define CASCADEView2d_serialVersionUID -2284879212465893870LL -/* Inaccessible static: resGui */ -/* Inaccessible static: AppRes */ -#undef CASCADEView2d_NOTHING -#define CASCADEView2d_NOTHING 0L -#undef CASCADEView2d_WINDOWFIT -#define CASCADEView2d_WINDOWFIT 1L -#undef CASCADEView2d_ZOOMVIEW -#define CASCADEView2d_ZOOMVIEW 2L -#undef CASCADEView2d_PANVIEW -#define CASCADEView2d_PANVIEW 3L -#undef CASCADEView2d_MAGNIFY -#define CASCADEView2d_MAGNIFY 4L -#undef CASCADEView2d_PANGLOBAL -#define CASCADEView2d_PANGLOBAL 5L -#undef CASCADEView2d_ROTATE -#define CASCADEView2d_ROTATE 6L -/* Inaccessible static: defCursor */ -/* Inaccessible static: handCursor */ -#undef CASCADEView2d_OS_UNKNOWN -#define CASCADEView2d_OS_UNKNOWN 0L -#undef CASCADEView2d_OS_WINDOWS -#define CASCADEView2d_OS_WINDOWS 1L -#undef CASCADEView2d_OS_X11 -#define CASCADEView2d_OS_X11 2L -/* Inaccessible static: osType */ -/* Inaccessible static: theGraphicsConfiguration */ - -/* - * Class: CASCADEView2d - * Method: paint - * Signature: (Ljava/awt/Graphics;)V - */ -JNIEXPORT void JNICALL Java_CASCADEView2d_paint - (JNIEnv *, jobject, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/CASCADEView3d.hxx b/samples/java/inc/CASCADEView3d.hxx deleted file mode 100755 index d03e13bf67..0000000000 --- a/samples/java/inc/CASCADEView3d.hxx +++ /dev/null @@ -1,77 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class CASCADEView3d */ - -#ifndef _Included_CASCADEView3d -#define _Included_CASCADEView3d -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: LOCK */ -/* Inaccessible static: dbg */ -/* Inaccessible static: isInc */ -/* Inaccessible static: incRate */ -#undef CASCADEView3d_TOP_ALIGNMENT -#define CASCADEView3d_TOP_ALIGNMENT 0.0f -#undef CASCADEView3d_CENTER_ALIGNMENT -#define CASCADEView3d_CENTER_ALIGNMENT 0.5f -#undef CASCADEView3d_BOTTOM_ALIGNMENT -#define CASCADEView3d_BOTTOM_ALIGNMENT 1.0f -#undef CASCADEView3d_LEFT_ALIGNMENT -#define CASCADEView3d_LEFT_ALIGNMENT 0.0f -#undef CASCADEView3d_RIGHT_ALIGNMENT -#define CASCADEView3d_RIGHT_ALIGNMENT 1.0f -#undef CASCADEView3d_serialVersionUID -#define CASCADEView3d_serialVersionUID -7644114512714619750LL -/* Inaccessible static: metrics */ -/* Inaccessible static: class_00024java_00024awt_00024Component */ -/* Inaccessible static: class_00024java_00024awt_00024event_00024ComponentListener */ -/* Inaccessible static: class_00024java_00024awt_00024event_00024FocusListener */ -/* Inaccessible static: class_00024java_00024awt_00024event_00024HierarchyListener */ -/* Inaccessible static: class_00024java_00024awt_00024event_00024HierarchyBoundsListener */ -/* Inaccessible static: class_00024java_00024awt_00024event_00024KeyListener */ -/* Inaccessible static: class_00024java_00024awt_00024event_00024MouseListener */ -/* Inaccessible static: class_00024java_00024awt_00024event_00024MouseMotionListener */ -/* Inaccessible static: class_00024java_00024awt_00024event_00024InputMethodListener */ -/* Inaccessible static: nameCounter */ -#undef CASCADEView3d_serialVersionUID -#define CASCADEView3d_serialVersionUID -2284879212465893870LL -/* Inaccessible static: resGui */ -/* Inaccessible static: AppRes */ -#undef CASCADEView3d_NOTHING -#define CASCADEView3d_NOTHING 0L -#undef CASCADEView3d_WINDOWFIT -#define CASCADEView3d_WINDOWFIT 1L -#undef CASCADEView3d_ZOOMVIEW -#define CASCADEView3d_ZOOMVIEW 2L -#undef CASCADEView3d_PANVIEW -#define CASCADEView3d_PANVIEW 3L -#undef CASCADEView3d_MAGNIFY -#define CASCADEView3d_MAGNIFY 4L -#undef CASCADEView3d_PANGLOBAL -#define CASCADEView3d_PANGLOBAL 5L -#undef CASCADEView3d_ROTATE -#define CASCADEView3d_ROTATE 6L -/* Inaccessible static: defCursor */ -/* Inaccessible static: handCursor */ -#undef CASCADEView3d_OS_UNKNOWN -#define CASCADEView3d_OS_UNKNOWN 0L -#undef CASCADEView3d_OS_WINDOWS -#define CASCADEView3d_OS_WINDOWS 1L -#undef CASCADEView3d_OS_X11 -#define CASCADEView3d_OS_X11 2L -/* Inaccessible static: osType */ -/* Inaccessible static: theGraphicsConfiguration */ - -/* - * Class: CASCADEView3d - * Method: paint - * Signature: (Ljava/awt/Graphics;)V - */ -JNIEXPORT void JNICALL Java_CASCADEView3d_paint - (JNIEnv *, jobject, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/Handle_ISession2D_Curve.hxx b/samples/java/inc/Handle_ISession2D_Curve.hxx deleted file mode 100755 index cbc3831c2a..0000000000 --- a/samples/java/inc/Handle_ISession2D_Curve.hxx +++ /dev/null @@ -1,85 +0,0 @@ -// File generated by CPPExt (Transient) -// -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#ifndef _Handle_ISession2D_Curve_HeaderFile -#define _Handle_ISession2D_Curve_HeaderFile - -#ifndef _Standard_Macro_HeaderFile -#include -#endif -#ifndef _Standard_HeaderFile -#include -#endif - -#ifndef _Handle_AIS_InteractiveObject_HeaderFile -#include -#endif - -class Standard_Transient; -class Handle_Standard_Type; -class Handle(AIS_InteractiveObject); -class ISession2D_Curve; -Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(ISession2D_Curve); - -class Handle(ISession2D_Curve) : public Handle(AIS_InteractiveObject) { - public: - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - Handle(ISession2D_Curve)():Handle(AIS_InteractiveObject)() {} - Handle(ISession2D_Curve)(const Handle(ISession2D_Curve)& aHandle) : Handle(AIS_InteractiveObject)(aHandle) - { - } - - Handle(ISession2D_Curve)(const ISession2D_Curve* anItem) : Handle(AIS_InteractiveObject)((AIS_InteractiveObject *)anItem) - { - } - - Handle(ISession2D_Curve)& operator=(const Handle(ISession2D_Curve)& aHandle) - { - Assign(aHandle.Access()); - return *this; - } - - Handle(ISession2D_Curve)& operator=(const ISession2D_Curve* anItem) - { - Assign((Standard_Transient *)anItem); - return *this; - } - - ISession2D_Curve* operator->() - { - return (ISession2D_Curve *)ControlAccess(); - } - - ISession2D_Curve* operator->() const - { - return (ISession2D_Curve *)ControlAccess(); - } - - Standard_EXPORT ~Handle(ISession2D_Curve)(); - - Standard_EXPORT static const Handle(ISession2D_Curve) DownCast(const Handle(Standard_Transient)& AnObject); -}; -#endif diff --git a/samples/java/inc/Handle_ISession2D_InteractiveContext.hxx b/samples/java/inc/Handle_ISession2D_InteractiveContext.hxx deleted file mode 100755 index b30b2b00f3..0000000000 --- a/samples/java/inc/Handle_ISession2D_InteractiveContext.hxx +++ /dev/null @@ -1,85 +0,0 @@ -// File generated by CPPExt (Transient) -// -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#ifndef _Handle_ISession2D_InteractiveContext_HeaderFile -#define _Handle_ISession2D_InteractiveContext_HeaderFile - -#ifndef _Standard_Macro_HeaderFile -#include -#endif -#ifndef _Standard_HeaderFile -#include -#endif - -#ifndef _Handle_MMgt_TShared_HeaderFile -#include -#endif - -class Standard_Transient; -class Handle_Standard_Type; -class Handle(MMgt_TShared); -class ISession2D_InteractiveContext; -Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(ISession2D_InteractiveContext); - -class Handle(ISession2D_InteractiveContext) : public Handle(MMgt_TShared) { - public: - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - Handle(ISession2D_InteractiveContext)():Handle(MMgt_TShared)() {} - Handle(ISession2D_InteractiveContext)(const Handle(ISession2D_InteractiveContext)& aHandle) : Handle(MMgt_TShared)(aHandle) - { - } - - Handle(ISession2D_InteractiveContext)(const ISession2D_InteractiveContext* anItem) : Handle(MMgt_TShared)((MMgt_TShared *)anItem) - { - } - - Handle(ISession2D_InteractiveContext)& operator=(const Handle(ISession2D_InteractiveContext)& aHandle) - { - Assign(aHandle.Access()); - return *this; - } - - Handle(ISession2D_InteractiveContext)& operator=(const ISession2D_InteractiveContext* anItem) - { - Assign((Standard_Transient *)anItem); - return *this; - } - - ISession2D_InteractiveContext* operator->() - { - return (ISession2D_InteractiveContext *)ControlAccess(); - } - - ISession2D_InteractiveContext* operator->() const - { - return (ISession2D_InteractiveContext *)ControlAccess(); - } - - Standard_EXPORT ~Handle(ISession2D_InteractiveContext)(); - - Standard_EXPORT static const Handle(ISession2D_InteractiveContext) DownCast(const Handle(Standard_Transient)& AnObject); -}; -#endif diff --git a/samples/java/inc/Handle_ISession2D_ObjectOwner.hxx b/samples/java/inc/Handle_ISession2D_ObjectOwner.hxx deleted file mode 100755 index 3ba09fb56c..0000000000 --- a/samples/java/inc/Handle_ISession2D_ObjectOwner.hxx +++ /dev/null @@ -1,85 +0,0 @@ -// File generated by CPPExt (Transient) -// -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#ifndef _Handle_ISession2D_ObjectOwner_HeaderFile -#define _Handle_ISession2D_ObjectOwner_HeaderFile - -#ifndef _Standard_Macro_HeaderFile -#include -#endif -#ifndef _Standard_HeaderFile -#include -#endif - -#ifndef _Handle_SelectMgr_EntityOwner_HeaderFile -#include -#endif - -class Standard_Transient; -class Handle_Standard_Type; -class Handle(SelectMgr_EntityOwner); -class ISession2D_ObjectOwner; -Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(ISession2D_ObjectOwner); - -class Handle(ISession2D_ObjectOwner) : public Handle(SelectMgr_EntityOwner) { - public: - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - Handle(ISession2D_ObjectOwner)():Handle(SelectMgr_EntityOwner)() {} - Handle(ISession2D_ObjectOwner)(const Handle(ISession2D_ObjectOwner)& aHandle) : Handle(SelectMgr_EntityOwner)(aHandle) - { - } - - Handle(ISession2D_ObjectOwner)(const ISession2D_ObjectOwner* anItem) : Handle(SelectMgr_EntityOwner)((SelectMgr_EntityOwner *)anItem) - { - } - - Handle(ISession2D_ObjectOwner)& operator=(const Handle(ISession2D_ObjectOwner)& aHandle) - { - Assign(aHandle.Access()); - return *this; - } - - Handle(ISession2D_ObjectOwner)& operator=(const ISession2D_ObjectOwner* anItem) - { - Assign((Standard_Transient *)anItem); - return *this; - } - - ISession2D_ObjectOwner* operator->() - { - return (ISession2D_ObjectOwner *)ControlAccess(); - } - - ISession2D_ObjectOwner* operator->() const - { - return (ISession2D_ObjectOwner *)ControlAccess(); - } - - Standard_EXPORT ~Handle(ISession2D_ObjectOwner)(); - - Standard_EXPORT static const Handle(ISession2D_ObjectOwner) DownCast(const Handle(Standard_Transient)& AnObject); -}; -#endif diff --git a/samples/java/inc/Handle_ISession2D_SensitiveCurve.hxx b/samples/java/inc/Handle_ISession2D_SensitiveCurve.hxx deleted file mode 100755 index 7c39c4b9b7..0000000000 --- a/samples/java/inc/Handle_ISession2D_SensitiveCurve.hxx +++ /dev/null @@ -1,85 +0,0 @@ -// File generated by CPPExt (Transient) -// -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#ifndef _Handle_ISession2D_SensitiveCurve_HeaderFile -#define _Handle_ISession2D_SensitiveCurve_HeaderFile - -#ifndef _Standard_Macro_HeaderFile -#include -#endif -#ifndef _Standard_HeaderFile -#include -#endif - -#ifndef _Handle_Select2D_SensitiveEntity_HeaderFile -#include -#endif - -class Standard_Transient; -class Handle_Standard_Type; -class Handle(Select2D_SensitiveEntity); -class ISession2D_SensitiveCurve; -Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(ISession2D_SensitiveCurve); - -class Handle(ISession2D_SensitiveCurve) : public Handle(Select2D_SensitiveEntity) { - public: - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - Handle(ISession2D_SensitiveCurve)():Handle(Select2D_SensitiveEntity)() {} - Handle(ISession2D_SensitiveCurve)(const Handle(ISession2D_SensitiveCurve)& aHandle) : Handle(Select2D_SensitiveEntity)(aHandle) - { - } - - Handle(ISession2D_SensitiveCurve)(const ISession2D_SensitiveCurve* anItem) : Handle(Select2D_SensitiveEntity)((Select2D_SensitiveEntity *)anItem) - { - } - - Handle(ISession2D_SensitiveCurve)& operator=(const Handle(ISession2D_SensitiveCurve)& aHandle) - { - Assign(aHandle.Access()); - return *this; - } - - Handle(ISession2D_SensitiveCurve)& operator=(const ISession2D_SensitiveCurve* anItem) - { - Assign((Standard_Transient *)anItem); - return *this; - } - - ISession2D_SensitiveCurve* operator->() - { - return (ISession2D_SensitiveCurve *)ControlAccess(); - } - - ISession2D_SensitiveCurve* operator->() const - { - return (ISession2D_SensitiveCurve *)ControlAccess(); - } - - Standard_EXPORT ~Handle(ISession2D_SensitiveCurve)(); - - Standard_EXPORT static const Handle(ISession2D_SensitiveCurve) DownCast(const Handle(Standard_Transient)& AnObject); -}; -#endif diff --git a/samples/java/inc/Handle_ISession2D_Shape.hxx b/samples/java/inc/Handle_ISession2D_Shape.hxx deleted file mode 100755 index a4da327117..0000000000 --- a/samples/java/inc/Handle_ISession2D_Shape.hxx +++ /dev/null @@ -1,85 +0,0 @@ -// File generated by CPPExt (Transient) -// -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#ifndef _Handle_ISession2D_Shape_HeaderFile -#define _Handle_ISession2D_Shape_HeaderFile - -#ifndef _Standard_Macro_HeaderFile -#include -#endif -#ifndef _Standard_HeaderFile -#include -#endif - -#ifndef _Handle_AIS_InteractiveObject_HeaderFile -#include -#endif - -class Standard_Transient; -class Handle_Standard_Type; -class Handle(AIS_InteractiveObject); -class ISession2D_Shape; -Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(ISession2D_Shape); - -class Handle(ISession2D_Shape) : public Handle(AIS_InteractiveObject) { - public: - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - Handle(ISession2D_Shape)():Handle(AIS_InteractiveObject)() {} - Handle(ISession2D_Shape)(const Handle(ISession2D_Shape)& aHandle) : Handle(AIS_InteractiveObject)(aHandle) - { - } - - Handle(ISession2D_Shape)(const ISession2D_Shape* anItem) : Handle(AIS_InteractiveObject)((AIS_InteractiveObject *)anItem) - { - } - - Handle(ISession2D_Shape)& operator=(const Handle(ISession2D_Shape)& aHandle) - { - Assign(aHandle.Access()); - return *this; - } - - Handle(ISession2D_Shape)& operator=(const ISession2D_Shape* anItem) - { - Assign((Standard_Transient *)anItem); - return *this; - } - - ISession2D_Shape* operator->() - { - return (ISession2D_Shape *)ControlAccess(); - } - - ISession2D_Shape* operator->() const - { - return (ISession2D_Shape *)ControlAccess(); - } - - Standard_EXPORT ~Handle(ISession2D_Shape)(); - - Standard_EXPORT static const Handle(ISession2D_Shape) DownCast(const Handle(Standard_Transient)& AnObject); -}; -#endif diff --git a/samples/java/inc/Handle_ISession_Curve.hxx b/samples/java/inc/Handle_ISession_Curve.hxx deleted file mode 100755 index fbf0cc4f51..0000000000 --- a/samples/java/inc/Handle_ISession_Curve.hxx +++ /dev/null @@ -1,85 +0,0 @@ -// File generated by CPPExt (Transient) -// -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#ifndef _Handle_ISession_Curve_HeaderFile -#define _Handle_ISession_Curve_HeaderFile - -#ifndef _Standard_Macro_HeaderFile -#include -#endif -#ifndef _Standard_HeaderFile -#include -#endif - -#ifndef _Handle_AIS_InteractiveObject_HeaderFile -#include -#endif - -class Standard_Transient; -class Handle_Standard_Type; -class Handle(AIS_InteractiveObject); -class ISession_Curve; -Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(ISession_Curve); - -class Handle(ISession_Curve) : public Handle(AIS_InteractiveObject) { - public: - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - Handle(ISession_Curve)():Handle(AIS_InteractiveObject)() {} - Handle(ISession_Curve)(const Handle(ISession_Curve)& aHandle) : Handle(AIS_InteractiveObject)(aHandle) - { - } - - Handle(ISession_Curve)(const ISession_Curve* anItem) : Handle(AIS_InteractiveObject)((AIS_InteractiveObject *)anItem) - { - } - - Handle(ISession_Curve)& operator=(const Handle(ISession_Curve)& aHandle) - { - Assign(aHandle.Access()); - return *this; - } - - Handle(ISession_Curve)& operator=(const ISession_Curve* anItem) - { - Assign((Standard_Transient *)anItem); - return *this; - } - - ISession_Curve* operator->() - { - return (ISession_Curve *)ControlAccess(); - } - - ISession_Curve* operator->() const - { - return (ISession_Curve *)ControlAccess(); - } - - Standard_EXPORT ~Handle(ISession_Curve)(); - - Standard_EXPORT static const Handle(ISession_Curve) DownCast(const Handle(Standard_Transient)& AnObject); -}; -#endif diff --git a/samples/java/inc/Handle_ISession_Direction.hxx b/samples/java/inc/Handle_ISession_Direction.hxx deleted file mode 100755 index 6596aa8531..0000000000 --- a/samples/java/inc/Handle_ISession_Direction.hxx +++ /dev/null @@ -1,85 +0,0 @@ -// File generated by CPPExt (Transient) -// -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#ifndef _Handle_ISession_Direction_HeaderFile -#define _Handle_ISession_Direction_HeaderFile - -#ifndef _Standard_Macro_HeaderFile -#include -#endif -#ifndef _Standard_HeaderFile -#include -#endif - -#ifndef _Handle_AIS_InteractiveObject_HeaderFile -#include -#endif - -class Standard_Transient; -class Handle_Standard_Type; -class Handle(AIS_InteractiveObject); -class ISession_Direction; -Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(ISession_Direction); - -class Handle(ISession_Direction) : public Handle(AIS_InteractiveObject) { - public: - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - Handle(ISession_Direction)():Handle(AIS_InteractiveObject)() {} - Handle(ISession_Direction)(const Handle(ISession_Direction)& aHandle) : Handle(AIS_InteractiveObject)(aHandle) - { - } - - Handle(ISession_Direction)(const ISession_Direction* anItem) : Handle(AIS_InteractiveObject)((AIS_InteractiveObject *)anItem) - { - } - - Handle(ISession_Direction)& operator=(const Handle(ISession_Direction)& aHandle) - { - Assign(aHandle.Access()); - return *this; - } - - Handle(ISession_Direction)& operator=(const ISession_Direction* anItem) - { - Assign((Standard_Transient *)anItem); - return *this; - } - - ISession_Direction* operator->() - { - return (ISession_Direction *)ControlAccess(); - } - - ISession_Direction* operator->() const - { - return (ISession_Direction *)ControlAccess(); - } - - Standard_EXPORT ~Handle(ISession_Direction)(); - - Standard_EXPORT static const Handle(ISession_Direction) DownCast(const Handle(Standard_Transient)& AnObject); -}; -#endif diff --git a/samples/java/inc/Handle_ISession_Point.hxx b/samples/java/inc/Handle_ISession_Point.hxx deleted file mode 100755 index 6f04af5dcf..0000000000 --- a/samples/java/inc/Handle_ISession_Point.hxx +++ /dev/null @@ -1,85 +0,0 @@ -// File generated by CPPExt (Transient) -// -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#ifndef _Handle_ISession_Point_HeaderFile -#define _Handle_ISession_Point_HeaderFile - -#ifndef _Standard_Macro_HeaderFile -#include -#endif -#ifndef _Standard_HeaderFile -#include -#endif - -#ifndef _Handle_AIS_InteractiveObject_HeaderFile -#include -#endif - -class Standard_Transient; -class Handle_Standard_Type; -class Handle(AIS_InteractiveObject); -class ISession_Point; -Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(ISession_Point); - -class Handle(ISession_Point) : public Handle(AIS_InteractiveObject) { - public: - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - Handle(ISession_Point)():Handle(AIS_InteractiveObject)() {} - Handle(ISession_Point)(const Handle(ISession_Point)& aHandle) : Handle(AIS_InteractiveObject)(aHandle) - { - } - - Handle(ISession_Point)(const ISession_Point* anItem) : Handle(AIS_InteractiveObject)((AIS_InteractiveObject *)anItem) - { - } - - Handle(ISession_Point)& operator=(const Handle(ISession_Point)& aHandle) - { - Assign(aHandle.Access()); - return *this; - } - - Handle(ISession_Point)& operator=(const ISession_Point* anItem) - { - Assign((Standard_Transient *)anItem); - return *this; - } - - ISession_Point* operator->() - { - return (ISession_Point *)ControlAccess(); - } - - ISession_Point* operator->() const - { - return (ISession_Point *)ControlAccess(); - } - - Standard_EXPORT ~Handle(ISession_Point)(); - - Standard_EXPORT static const Handle(ISession_Point) DownCast(const Handle(Standard_Transient)& AnObject); -}; -#endif diff --git a/samples/java/inc/Handle_ISession_Surface.hxx b/samples/java/inc/Handle_ISession_Surface.hxx deleted file mode 100755 index 25e6c1d8cb..0000000000 --- a/samples/java/inc/Handle_ISession_Surface.hxx +++ /dev/null @@ -1,85 +0,0 @@ -// File generated by CPPExt (Transient) -// -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#ifndef _Handle_ISession_Surface_HeaderFile -#define _Handle_ISession_Surface_HeaderFile - -#ifndef _Standard_Macro_HeaderFile -#include -#endif -#ifndef _Standard_HeaderFile -#include -#endif - -#ifndef _Handle_AIS_InteractiveObject_HeaderFile -#include -#endif - -class Standard_Transient; -class Handle_Standard_Type; -class Handle(AIS_InteractiveObject); -class ISession_Surface; -Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(ISession_Surface); - -class Handle(ISession_Surface) : public Handle(AIS_InteractiveObject) { - public: - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - Handle(ISession_Surface)():Handle(AIS_InteractiveObject)() {} - Handle(ISession_Surface)(const Handle(ISession_Surface)& aHandle) : Handle(AIS_InteractiveObject)(aHandle) - { - } - - Handle(ISession_Surface)(const ISession_Surface* anItem) : Handle(AIS_InteractiveObject)((AIS_InteractiveObject *)anItem) - { - } - - Handle(ISession_Surface)& operator=(const Handle(ISession_Surface)& aHandle) - { - Assign(aHandle.Access()); - return *this; - } - - Handle(ISession_Surface)& operator=(const ISession_Surface* anItem) - { - Assign((Standard_Transient *)anItem); - return *this; - } - - ISession_Surface* operator->() - { - return (ISession_Surface *)ControlAccess(); - } - - ISession_Surface* operator->() const - { - return (ISession_Surface *)ControlAccess(); - } - - Standard_EXPORT ~Handle(ISession_Surface)(); - - Standard_EXPORT static const Handle(ISession_Surface) DownCast(const Handle(Standard_Transient)& AnObject); -}; -#endif diff --git a/samples/java/inc/Handle_ISession_Text.hxx b/samples/java/inc/Handle_ISession_Text.hxx deleted file mode 100755 index a0f3f0c765..0000000000 --- a/samples/java/inc/Handle_ISession_Text.hxx +++ /dev/null @@ -1,85 +0,0 @@ -// File generated by CPPExt (Transient) -// -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#ifndef _Handle_ISession_Text_HeaderFile -#define _Handle_ISession_Text_HeaderFile - -#ifndef _Standard_Macro_HeaderFile -#include -#endif -#ifndef _Standard_HeaderFile -#include -#endif - -#ifndef _Handle_AIS_InteractiveObject_HeaderFile -#include -#endif - -class Standard_Transient; -class Handle_Standard_Type; -class Handle(AIS_InteractiveObject); -class ISession_Text; -Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(ISession_Text); - -class Handle(ISession_Text) : public Handle(AIS_InteractiveObject) { - public: - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - Handle(ISession_Text)():Handle(AIS_InteractiveObject)() {} - Handle(ISession_Text)(const Handle(ISession_Text)& aHandle) : Handle(AIS_InteractiveObject)(aHandle) - { - } - - Handle(ISession_Text)(const ISession_Text* anItem) : Handle(AIS_InteractiveObject)((AIS_InteractiveObject *)anItem) - { - } - - Handle(ISession_Text)& operator=(const Handle(ISession_Text)& aHandle) - { - Assign(aHandle.Access()); - return *this; - } - - Handle(ISession_Text)& operator=(const ISession_Text* anItem) - { - Assign((Standard_Transient *)anItem); - return *this; - } - - ISession_Text* operator->() - { - return (ISession_Text *)ControlAccess(); - } - - ISession_Text* operator->() const - { - return (ISession_Text *)ControlAccess(); - } - - Standard_EXPORT ~Handle(ISession_Text)(); - - Standard_EXPORT static const Handle(ISession_Text) DownCast(const Handle(Standard_Transient)& AnObject); -}; -#endif diff --git a/samples/java/inc/Handle_User_Cylinder.hxx b/samples/java/inc/Handle_User_Cylinder.hxx deleted file mode 100755 index 69083c050a..0000000000 --- a/samples/java/inc/Handle_User_Cylinder.hxx +++ /dev/null @@ -1,85 +0,0 @@ -// File generated by CPPExt (Transient) -// -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#ifndef _Handle_User_Cylinder_HeaderFile -#define _Handle_User_Cylinder_HeaderFile - -#ifndef _Standard_Macro_HeaderFile -#include -#endif -#ifndef _Standard_HeaderFile -#include -#endif - -#ifndef _Handle_AIS_InteractiveObject_HeaderFile -#include -#endif - -class Standard_Transient; -class Handle_Standard_Type; -class Handle(AIS_InteractiveObject); -class User_Cylinder; -Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(User_Cylinder); - -class Handle(User_Cylinder) : public Handle(AIS_InteractiveObject) { - public: - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - Handle(User_Cylinder)():Handle(AIS_InteractiveObject)() {} - Handle(User_Cylinder)(const Handle(User_Cylinder)& aHandle) : Handle(AIS_InteractiveObject)(aHandle) - { - } - - Handle(User_Cylinder)(const User_Cylinder* anItem) : Handle(AIS_InteractiveObject)((AIS_InteractiveObject *)anItem) - { - } - - Handle(User_Cylinder)& operator=(const Handle(User_Cylinder)& aHandle) - { - Assign(aHandle.Access()); - return *this; - } - - Handle(User_Cylinder)& operator=(const User_Cylinder* anItem) - { - Assign((Standard_Transient *)anItem); - return *this; - } - - User_Cylinder* operator->() - { - return (User_Cylinder *)ControlAccess(); - } - - User_Cylinder* operator->() const - { - return (User_Cylinder *)ControlAccess(); - } - - Standard_EXPORT ~Handle(User_Cylinder)(); - - Standard_EXPORT static const Handle(User_Cylinder) DownCast(const Handle(Standard_Transient)& AnObject); -}; -#endif diff --git a/samples/java/inc/ISession2D_Curve.hxx b/samples/java/inc/ISession2D_Curve.hxx deleted file mode 100755 index 08d3a1da6b..0000000000 --- a/samples/java/inc/ISession2D_Curve.hxx +++ /dev/null @@ -1,147 +0,0 @@ -// File generated by CPPExt (Transient) -// -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// -#ifndef _ISession2D_Curve_HeaderFile -#define _ISession2D_Curve_HeaderFile - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Handle_ISession2D_Curve_HeaderFile -#include -#endif - -#ifndef _Handle_Geom2d_Curve_HeaderFile -#include -#endif -#ifndef _Aspect_TypeOfLine_HeaderFile -#include -#endif -#ifndef _Aspect_WidthOfLine_HeaderFile -#include -#endif -#ifndef _Standard_Integer_HeaderFile -#include -#endif -#ifndef _Standard_Boolean_HeaderFile -#include -#endif -#ifndef _Standard_Real_HeaderFile -#include -#endif -#ifndef _AIS_InteractiveObject_HeaderFile -#include -#endif -#ifndef _Handle_PrsMgr_PresentationManager2d_HeaderFile -#include -#endif -#ifndef _Handle_Graphic2d_GraphicObject_HeaderFile -#include -#endif -#ifndef _Handle_SelectMgr_Selection_HeaderFile -#include -#endif -class Geom2d_Curve; -class PrsMgr_PresentationManager2d; -class Graphic2d_GraphicObject; -class SelectMgr_Selection; - - -class ISession2D_Curve : public AIS_InteractiveObject { - -public: - - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - // Methods PUBLIC - // -Standard_EXPORT ISession2D_Curve(const Handle(Geom2d_Curve)& aGeom2dCurve,const Aspect_TypeOfLine aTypeOfLine = Aspect_TOL_SOLID,const Aspect_WidthOfLine aWidthOfLine = Aspect_WOL_MEDIUM,const Standard_Integer aColorIndex = 4); -Standard_EXPORT virtual Standard_Integer NbPossibleSelection() ; -Standard_EXPORT Aspect_TypeOfLine GetTypeOfLine() ; -Standard_EXPORT void SetTypeOfLine(const Aspect_TypeOfLine aNewTypeOfLine) ; -Standard_EXPORT Aspect_WidthOfLine GetWidthOfLine() ; -Standard_EXPORT void SetWidthOfLine(const Aspect_WidthOfLine aNewWidthOfLine) ; -Standard_EXPORT Standard_Integer GetColorIndex() ; -Standard_EXPORT void SetColorIndex(const Standard_Integer aNewColorIndex) ; -Standard_EXPORT Standard_Boolean GetDisplayPole() ; -Standard_EXPORT void SetDisplayPole(const Standard_Boolean aNewDisplayPole) ; -Standard_EXPORT Standard_Boolean GetDisplayCurbure() ; -Standard_EXPORT void SetDisplayCurbure(const Standard_Boolean aNewDisplayCurbure) ; -Standard_EXPORT Standard_Real GetDiscretisation() ; -Standard_EXPORT void SetDiscretisation(const Standard_Real aNewDiscretisation) ; -Standard_EXPORT virtual void Compute(const Handle(PrsMgr_PresentationManager2d)& aPresentationManager,const Handle(Graphic2d_GraphicObject)& aGrObj,const Standard_Integer aMode = 0) ; -Standard_EXPORT virtual void ComputeSelection(const Handle(SelectMgr_Selection)& aSelection,const Standard_Integer aMode) ; -Standard_EXPORT ~ISession2D_Curve(); - - - - - // Type management - // - Standard_EXPORT friend Handle_Standard_Type& ISession2D_Curve_Type_(); - Standard_EXPORT const Handle(Standard_Type)& DynamicType() const; - Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const; - -protected: - - // Methods PROTECTED - // - - - // Fields PROTECTED - // - - -private: - - // Methods PRIVATE - // - - - // Fields PRIVATE - // -Handle_Geom2d_Curve myGeom2dCurve; -Aspect_TypeOfLine myTypeOfLine; -Aspect_WidthOfLine myWidthOfLine; -Standard_Integer myColorIndex; -Standard_Boolean myDisplayPole; -Standard_Boolean myDisplayCurbure; -Standard_Real myDiscretisation; -Standard_Real myradiusmax; -Standard_Real myradiusratio; - - -}; - - -#include - - - -// other Inline functions and methods (like "C++: function call" methods) -// - - -#endif diff --git a/samples/java/inc/ISession2D_Curve.lxx b/samples/java/inc/ISession2D_Curve.lxx deleted file mode 100755 index 6f0cd1a72f..0000000000 --- a/samples/java/inc/ISession2D_Curve.lxx +++ /dev/null @@ -1,78 +0,0 @@ -inline Standard_Integer ISession2D_Curve::NbPossibleSelection() -{ - return 1; -} - - -inline Aspect_TypeOfLine ISession2D_Curve::GetTypeOfLine() -{ - return myTypeOfLine; -} - - -inline void ISession2D_Curve::SetTypeOfLine(const Aspect_TypeOfLine aNewTypeOfLine) -{ - myTypeOfLine = aNewTypeOfLine; -} - - -inline Aspect_WidthOfLine ISession2D_Curve::GetWidthOfLine() -{ - return myWidthOfLine; -} - - -inline void ISession2D_Curve::SetWidthOfLine(const Aspect_WidthOfLine aNewWidthOfLine) -{ - myWidthOfLine = aNewWidthOfLine; -} - - -inline Standard_Integer ISession2D_Curve::GetColorIndex() -{ - return myColorIndex; -} - - -inline void ISession2D_Curve::SetColorIndex(const Standard_Integer aNewColorIndex) -{ - myColorIndex = aNewColorIndex; -} - - -inline Standard_Boolean ISession2D_Curve::GetDisplayPole() -{ - return myDisplayPole; -} - - -inline void ISession2D_Curve::SetDisplayPole(const Standard_Boolean aNewDisplayPole) -{ - myDisplayPole = aNewDisplayPole; -} - - -inline Standard_Boolean ISession2D_Curve::GetDisplayCurbure() -{ - return myDisplayCurbure; -} - - -inline void ISession2D_Curve::SetDisplayCurbure(const Standard_Boolean aNewDisplayCurbure) -{ - myDisplayCurbure = aNewDisplayCurbure; -} - - -inline Standard_Real ISession2D_Curve::GetDiscretisation() -{ - return myDiscretisation; -} - - -inline void ISession2D_Curve::SetDiscretisation(const Standard_Real aNewDiscretisation) -{ - myDiscretisation = aNewDiscretisation; -} - - diff --git a/samples/java/inc/ISession2D_InteractiveContext.hxx b/samples/java/inc/ISession2D_InteractiveContext.hxx deleted file mode 100755 index 4b7be8e494..0000000000 --- a/samples/java/inc/ISession2D_InteractiveContext.hxx +++ /dev/null @@ -1,160 +0,0 @@ -// File generated by CPPExt (Transient) -// -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// -#ifndef _ISession2D_InteractiveContext_HeaderFile -#define _ISession2D_InteractiveContext_HeaderFile - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Handle_ISession2D_InteractiveContext_HeaderFile -#include -#endif - -#ifndef _Handle_V2d_Viewer_HeaderFile -#include -#endif -#ifndef _Handle_PrsMgr_PresentationManager2d_HeaderFile -#include -#endif -#ifndef _TColStd_MapOfTransient_HeaderFile -#include -#endif -#ifndef _Standard_Integer_HeaderFile -#include -#endif -#ifndef _Handle_SelectMgr_SelectionManager_HeaderFile -#include -#endif -#ifndef _Handle_StdSelect_ViewerSelector2d_HeaderFile -#include -#endif -#ifndef _Standard_Boolean_HeaderFile -#include -#endif -#ifndef _MMgt_TShared_HeaderFile -#include -#endif -#ifndef _Handle_AIS_InteractiveObject_HeaderFile -#include -#endif -#ifndef _Handle_V2d_View_HeaderFile -#include -#endif -#ifndef _Handle_Select2D_Projector_HeaderFile -#include -#endif -class V2d_Viewer; -class PrsMgr_PresentationManager2d; -class SelectMgr_SelectionManager; -class StdSelect_ViewerSelector2d; -class AIS_InteractiveObject; -class V2d_View; -class Select2D_Projector; -class TColStd_MapOfTransient; - - -class ISession2D_InteractiveContext : public MMgt_TShared { - -public: - - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - // Methods PUBLIC - // -Standard_EXPORT ISession2D_InteractiveContext(); -Standard_EXPORT ISession2D_InteractiveContext(const Handle(V2d_Viewer)& aViewer); -Standard_EXPORT virtual void Initialize(const Handle(V2d_Viewer)& aViewer) ; -Standard_EXPORT virtual void Display(const Handle(AIS_InteractiveObject)& anObject,const Standard_Boolean Redraw = Standard_True) ; -Standard_EXPORT void Display(const Handle(AIS_InteractiveObject)& anObject,const Standard_Integer aDisplayMode,const Standard_Integer aSelectionMode,const Standard_Boolean Redraw) ; -Standard_EXPORT virtual void Erase(const Handle(AIS_InteractiveObject)& anObject,const Standard_Boolean Redraw = Standard_True) ; -Standard_EXPORT virtual void DisplayAll(const Standard_Boolean Redraw = Standard_True) ; -Standard_EXPORT virtual void EraseAll(const Standard_Boolean Redraw = Standard_True) ; -Standard_EXPORT virtual Standard_Boolean IsDisplayed(const Handle(AIS_InteractiveObject)& anObject,const Standard_Integer aMode = -1) ; -Standard_EXPORT virtual void Redisplay(const Handle(AIS_InteractiveObject)& anObject,const Standard_Boolean Redraw = Standard_True,const Standard_Boolean allmodes = Standard_True) ; -Standard_EXPORT virtual void Clear(const Handle(AIS_InteractiveObject)& anObject,const Standard_Boolean Redraw = Standard_True) ; -Standard_EXPORT virtual void Remove(const Handle(AIS_InteractiveObject)& anObject,const Standard_Boolean Redraw = Standard_True) ; -Standard_EXPORT virtual void Highlight(const Handle(AIS_InteractiveObject)& anObject,const Standard_Boolean Redraw = Standard_True) ; -Standard_EXPORT virtual void Unhighlight(const Handle(AIS_InteractiveObject)& anObject,const Standard_Boolean Redraw = Standard_True) ; -Standard_EXPORT virtual Standard_Boolean IsHilighted(const Handle(AIS_InteractiveObject)& anObject) ; -Standard_EXPORT virtual void Move(const Standard_Integer x1,const Standard_Integer y1,const Handle(V2d_View)& aView) ; -Standard_EXPORT virtual void Move(const Standard_Integer x1,const Standard_Integer y1,const Standard_Integer x2,const Standard_Integer y2,const Handle(V2d_View)& aView) ; -Standard_EXPORT virtual void Pick(const Standard_Boolean MultiSelection = Standard_False) ; -Standard_EXPORT void DisplayAreas() ; -Standard_EXPORT void ClearAreas() ; -Standard_EXPORT ~ISession2D_InteractiveContext(); - - - - - // Type management - // - Standard_EXPORT friend Handle_Standard_Type& ISession2D_InteractiveContext_Type_(); - Standard_EXPORT const Handle(Standard_Type)& DynamicType() const; - Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const; - -protected: - - // Methods PROTECTED - // - - - // Fields PROTECTED - // - - -private: - - // Methods PRIVATE - // -Standard_EXPORT Standard_Boolean NewProjector(const Handle(V2d_View)& aView,Handle(Select2D_Projector)& NewProjector) ; -Standard_EXPORT void ManageDetected(TColStd_MapOfTransient& aNewMapOfDetectedOwner) ; -Standard_EXPORT void GetDefModes(const Handle(AIS_InteractiveObject)& anObject,Standard_Integer& DispMode,Standard_Integer& HiMode,Standard_Integer& SelMode) const; - - - // Fields PRIVATE - // -Handle_V2d_Viewer myViewer; -Handle_PrsMgr_PresentationManager2d myPrsmgr; -TColStd_MapOfTransient myObjects; -Standard_Integer myHilightColorIndex; -Handle_SelectMgr_SelectionManager mySelectionManager; -Handle_StdSelect_ViewerSelector2d mySelector; -TColStd_MapOfTransient myMapOfDetectedOwner; -TColStd_MapOfTransient myMapOfSelectedOwner; -Standard_Boolean IsAreasDisplayed; - - -}; - - - - - -// other Inline functions and methods (like "C++: function call" methods) -// - - -#endif diff --git a/samples/java/inc/ISession2D_ObjectOwner.hxx b/samples/java/inc/ISession2D_ObjectOwner.hxx deleted file mode 100755 index 9f99d24b8d..0000000000 --- a/samples/java/inc/ISession2D_ObjectOwner.hxx +++ /dev/null @@ -1,118 +0,0 @@ -// File generated by CPPExt (Transient) -// -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// -#ifndef _ISession2D_ObjectOwner_HeaderFile -#define _ISession2D_ObjectOwner_HeaderFile - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Handle_ISession2D_ObjectOwner_HeaderFile -#include -#endif - -#ifndef _Handle_Graphic2d_GraphicObject_HeaderFile -#include -#endif -#ifndef _TCollection_AsciiString_HeaderFile -#include -#endif -#ifndef _SelectMgr_EntityOwner_HeaderFile -#include -#endif -#ifndef _Standard_Integer_HeaderFile -#include -#endif -#ifndef _Handle_SelectMgr_SelectableObject_HeaderFile -#include -#endif -#ifndef _Handle_PrsMgr_PresentationManager_HeaderFile -#include -#endif -class Graphic2d_GraphicObject; -class SelectMgr_SelectableObject; -class PrsMgr_PresentationManager; -class TCollection_AsciiString; - - -class ISession2D_ObjectOwner : public SelectMgr_EntityOwner { - -public: - - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - // Methods PUBLIC - // -Standard_EXPORT ISession2D_ObjectOwner(const Standard_Integer aPriority = 0); -Standard_EXPORT ISession2D_ObjectOwner(const Handle(SelectMgr_SelectableObject)& aSO,const Standard_Integer aPriority = 0); -Standard_EXPORT virtual void Hilight(const Handle(PrsMgr_PresentationManager)& aPM,const Standard_Integer aMode = 0) ; -Standard_EXPORT virtual void Unhilight(const Handle(PrsMgr_PresentationManager)& aPM,const Standard_Integer aMode = 0) ; -Standard_EXPORT void SetDumpMessage(const TCollection_AsciiString& aNewDumpMessage) ; -Standard_EXPORT TCollection_AsciiString DumpMessage() const; -Standard_EXPORT ~ISession2D_ObjectOwner(); - - - - - // Type management - // - Standard_EXPORT friend Handle_Standard_Type& ISession2D_ObjectOwner_Type_(); - Standard_EXPORT const Handle(Standard_Type)& DynamicType() const; - Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const; - -protected: - - // Methods PROTECTED - // - - - // Fields PROTECTED - // - - -private: - - // Methods PRIVATE - // - - - // Fields PRIVATE - // -Handle_Graphic2d_GraphicObject myGo; -TCollection_AsciiString myDumpMessage; - - -}; - - -#include - - - -// other Inline functions and methods (like "C++: function call" methods) -// - - -#endif diff --git a/samples/java/inc/ISession2D_ObjectOwner.lxx b/samples/java/inc/ISession2D_ObjectOwner.lxx deleted file mode 100755 index 7bad357262..0000000000 --- a/samples/java/inc/ISession2D_ObjectOwner.lxx +++ /dev/null @@ -1,12 +0,0 @@ -inline void ISession2D_ObjectOwner::SetDumpMessage(const TCollection_AsciiString& aNewDumpMessage) -{ - myDumpMessage = aNewDumpMessage; -} - - -inline TCollection_AsciiString ISession2D_ObjectOwner::DumpMessage() const -{ - return myDumpMessage; -} - - diff --git a/samples/java/inc/ISession2D_SensitiveCurve.hxx b/samples/java/inc/ISession2D_SensitiveCurve.hxx deleted file mode 100755 index 3413036af1..0000000000 --- a/samples/java/inc/ISession2D_SensitiveCurve.hxx +++ /dev/null @@ -1,127 +0,0 @@ -// File generated by CPPExt (Transient) -// -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// -#ifndef _ISession2D_SensitiveCurve_HeaderFile -#define _ISession2D_SensitiveCurve_HeaderFile - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Handle_ISession2D_SensitiveCurve_HeaderFile -#include -#endif - -#ifndef _Standard_Real_HeaderFile -#include -#endif -#ifndef _Standard_Integer_HeaderFile -#include -#endif -#ifndef _Handle_Geom2d_Curve_HeaderFile -#include -#endif -#ifndef _Handle_TColgp_HArray1OfPnt2d_HeaderFile -#include -#endif -#ifndef _Select2D_SensitiveEntity_HeaderFile -#include -#endif -#ifndef _Handle_SelectBasics_EntityOwner_HeaderFile -#include -#endif -#ifndef _Standard_Boolean_HeaderFile -#include -#endif -class Geom2d_Curve; -class TColgp_HArray1OfPnt2d; -class SelectBasics_EntityOwner; -class SelectBasics_ListOfBox2d; - - -class ISession2D_SensitiveCurve : public Select2D_SensitiveEntity { - -public: - - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - // Methods PUBLIC - // -Standard_EXPORT ISession2D_SensitiveCurve(const Handle(SelectBasics_EntityOwner)& OwnerId,const Handle(Geom2d_Curve)& C,const Standard_Real CDeflect,const Standard_Integer MaxRect = 3); -Standard_EXPORT void SetMaxBoxes(const Standard_Integer MaxRect) ; -Standard_EXPORT virtual Standard_Integer MaxBoxes() ; -Standard_EXPORT void SetCurve(const Handle(Geom2d_Curve)& aCurve) ; -Standard_EXPORT Handle_Geom2d_Curve GetCurve() ; -Standard_EXPORT void Compute() ; -Standard_EXPORT virtual void Areas(SelectBasics_ListOfBox2d& aSeq) ; -Standard_EXPORT virtual Standard_Boolean Matches(const Standard_Real XMin,const Standard_Real YMin,const Standard_Real XMax,const Standard_Real YMax,const Standard_Real aTol) ; -Standard_EXPORT virtual Standard_Boolean Matches(const Standard_Real X,const Standard_Real Y,const Standard_Real aTol,Standard_Real& DMin) ; -Standard_EXPORT Handle_TColgp_HArray1OfPnt2d SensitivePolygon() ; -Standard_EXPORT ~ISession2D_SensitiveCurve(); - - - - - // Type management - // - Standard_EXPORT friend Handle_Standard_Type& ISession2D_SensitiveCurve_Type_(); - Standard_EXPORT const Handle(Standard_Type)& DynamicType() const; - Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const; - -protected: - - // Methods PROTECTED - // - - - // Fields PROTECTED - // - - -private: - - // Methods PRIVATE - // - - - // Fields PRIVATE - // -Standard_Real myCDeflect; -Standard_Integer myMaxRect; -Handle_Geom2d_Curve myCurve; -Handle_TColgp_HArray1OfPnt2d myPolyP2d; - - -}; - - -#include - - - -// other Inline functions and methods (like "C++: function call" methods) -// - - -#endif diff --git a/samples/java/inc/ISession2D_SensitiveCurve.lxx b/samples/java/inc/ISession2D_SensitiveCurve.lxx deleted file mode 100755 index 06c04e8bfe..0000000000 --- a/samples/java/inc/ISession2D_SensitiveCurve.lxx +++ /dev/null @@ -1,24 +0,0 @@ -inline void ISession2D_SensitiveCurve::SetMaxBoxes(const Standard_Integer MaxRect) -{ - myMaxRect = MaxRect; -} - - -inline Standard_Integer ISession2D_SensitiveCurve::MaxBoxes() -{ - return myMaxRect; -} - - -inline void ISession2D_SensitiveCurve::SetCurve(const Handle(Geom2d_Curve)& aCurve) -{ - myCurve = aCurve; -} - - -inline Handle(Geom2d_Curve) ISession2D_SensitiveCurve::GetCurve() -{ - return myCurve; -} - - diff --git a/samples/java/inc/ISession2D_Shape.hxx b/samples/java/inc/ISession2D_Shape.hxx deleted file mode 100755 index 7bdac1ad2f..0000000000 --- a/samples/java/inc/ISession2D_Shape.hxx +++ /dev/null @@ -1,166 +0,0 @@ -// File generated by CPPExt (Transient) -// -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// -#ifndef _ISession2D_Shape_HeaderFile -#define _ISession2D_Shape_HeaderFile - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Handle_ISession2D_Shape_HeaderFile -#include -#endif - -#ifndef _Standard_Integer_HeaderFile -#include -#endif -#ifndef _TopTools_ListOfShape_HeaderFile -#include -#endif -#ifndef _HLRAlgo_Projector_HeaderFile -#include -#endif -#ifndef _Handle_HLRBRep_Algo_HeaderFile -#include -#endif -#ifndef _Handle_HLRBRep_PolyAlgo_HeaderFile -#include -#endif -#ifndef _AIS_InteractiveObject_HeaderFile -#include -#endif -#ifndef _Standard_Boolean_HeaderFile -#include -#endif -#ifndef _Handle_PrsMgr_PresentationManager3d_HeaderFile -#include -#endif -#ifndef _Handle_Prs3d_Presentation_HeaderFile -#include -#endif -#ifndef _Handle_Prs3d_Projector_HeaderFile -#include -#endif -#ifndef _Handle_PrsMgr_PresentationManager2d_HeaderFile -#include -#endif -#ifndef _Handle_Graphic2d_GraphicObject_HeaderFile -#include -#endif -#ifndef _Handle_Graphic2d_SetOfSegments_HeaderFile -#include -#endif -#ifndef _Handle_GGraphic2d_SetOfCurves_HeaderFile -#include -#endif -#ifndef _Handle_SelectMgr_Selection_HeaderFile -#include -#endif -class HLRBRep_Algo; -class HLRBRep_PolyAlgo; -class TopoDS_Shape; -class HLRAlgo_Projector; -class PrsMgr_PresentationManager3d; -class Prs3d_Presentation; -class Prs3d_Projector; -class PrsMgr_PresentationManager2d; -class Graphic2d_GraphicObject; -class Graphic2d_SetOfSegments; -class GGraphic2d_SetOfCurves; -class SelectMgr_Selection; - - -class ISession2D_Shape : public AIS_InteractiveObject { - -public: - - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - // Methods PUBLIC - // -Standard_EXPORT ISession2D_Shape(); -Standard_EXPORT void Add(const TopoDS_Shape& aShape) ; -Standard_EXPORT HLRAlgo_Projector Projector() ; -Standard_EXPORT void SetProjector(HLRAlgo_Projector& aProjector) ; -Standard_EXPORT Standard_Integer NbIsos() ; -Standard_EXPORT void SetNbIsos(const Standard_Integer aNbIsos) ; -Standard_EXPORT virtual Standard_Boolean AcceptShapeDecomposition() ; -Standard_EXPORT Standard_Boolean AcceptSelectionMode(const Standard_Integer aMode) ; -Standard_EXPORT void BuildAlgo() ; -Standard_EXPORT void BuildPolyAlgo() ; -Standard_EXPORT virtual void Compute(const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,const Handle(Prs3d_Presentation)& aPresentation,const Standard_Integer aMode = 0) ; -Standard_EXPORT virtual void Compute(const Handle(Prs3d_Projector)& aProjector,const Handle(Prs3d_Presentation)& aPresentation) ; -Standard_EXPORT virtual void Compute(const Handle(PrsMgr_PresentationManager2d)& aPresentationManager,const Handle(Graphic2d_GraphicObject)& aGrObj,const Standard_Integer aMode = 0) ; -Standard_EXPORT void DrawCompound(const TopoDS_Shape& aCompound,const Handle(Graphic2d_SetOfSegments)& aSetOfSegments) ; -Standard_EXPORT void DrawCompound(const TopoDS_Shape& aCompound,const Handle(GGraphic2d_SetOfCurves)& aSetOfCurves) ; -Standard_EXPORT virtual void ComputeSelection(const Handle(SelectMgr_Selection)& aSelection,const Standard_Integer aMode) ; -Standard_EXPORT ~ISession2D_Shape(); - - - - - // Type management - // - Standard_EXPORT friend Handle_Standard_Type& ISession2D_Shape_Type_(); - Standard_EXPORT const Handle(Standard_Type)& DynamicType() const; - Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const; - -protected: - - // Methods PROTECTED - // - - - // Fields PROTECTED - // - - -private: - - // Methods PRIVATE - // - - - // Fields PRIVATE - // -Standard_Integer myNbIsos; -TopTools_ListOfShape myListOfShape; -HLRAlgo_Projector myProjector; -Handle_HLRBRep_Algo myAlgo; -Handle_HLRBRep_PolyAlgo myPolyAlgo; - - -}; - - -#include - - - -// other Inline functions and methods (like "C++: function call" methods) -// - - -#endif diff --git a/samples/java/inc/ISession2D_Shape.lxx b/samples/java/inc/ISession2D_Shape.lxx deleted file mode 100755 index 6ba765fc07..0000000000 --- a/samples/java/inc/ISession2D_Shape.lxx +++ /dev/null @@ -1,24 +0,0 @@ -inline HLRAlgo_Projector ISession2D_Shape::Projector() -{ - return myProjector; -} - - -inline Standard_Integer ISession2D_Shape::NbIsos() -{ - return myNbIsos; -} - - -inline Standard_Boolean ISession2D_Shape::AcceptShapeDecomposition() -{ - return Standard_True; -} - - -inline Standard_Boolean ISession2D_Shape::AcceptSelectionMode(const Standard_Integer ) -{ - return Standard_True; -} - - diff --git a/samples/java/inc/ISession_Curve.hxx b/samples/java/inc/ISession_Curve.hxx deleted file mode 100755 index 99d533f08f..0000000000 --- a/samples/java/inc/ISession_Curve.hxx +++ /dev/null @@ -1,118 +0,0 @@ -// File generated by CPPExt (Transient) -// -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// -#ifndef _ISession_Curve_HeaderFile -#define _ISession_Curve_HeaderFile - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Handle_ISession_Curve_HeaderFile -#include -#endif - -#ifndef _Handle_Geom_Curve_HeaderFile -#include -#endif -#ifndef _AIS_InteractiveObject_HeaderFile -#include -#endif -#ifndef _Handle_PrsMgr_PresentationManager3d_HeaderFile -#include -#endif -#ifndef _Handle_Prs3d_Presentation_HeaderFile -#include -#endif -#ifndef _Standard_Integer_HeaderFile -#include -#endif -#ifndef _Handle_Prs3d_Projector_HeaderFile -#include -#endif -#ifndef _Handle_SelectMgr_Selection_HeaderFile -#include -#endif -class Geom_Curve; -class PrsMgr_PresentationManager3d; -class Prs3d_Presentation; -class Prs3d_Projector; -class SelectMgr_Selection; - - -class ISession_Curve : public AIS_InteractiveObject { - -public: - - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - // Methods PUBLIC - // -Standard_EXPORT ISession_Curve(const Handle(Geom_Curve)& aCurve); -Standard_EXPORT ~ISession_Curve(); - - - - - // Type management - // - Standard_EXPORT friend Handle_Standard_Type& ISession_Curve_Type_(); - Standard_EXPORT const Handle(Standard_Type)& DynamicType() const; - Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const; - -protected: - - // Methods PROTECTED - // - - - // Fields PROTECTED - // - - -private: - - // Methods PRIVATE - // -Standard_EXPORT virtual void Compute(const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,const Handle(Prs3d_Presentation)& aPresentation,const Standard_Integer aMode = 0) ; -Standard_EXPORT virtual void Compute(const Handle(Prs3d_Projector)& aProjector,const Handle(Prs3d_Presentation)& aPresentation) ; -Standard_EXPORT virtual void ComputeSelection(const Handle(SelectMgr_Selection)& aSelection,const Standard_Integer aMode) ; - - - // Fields PRIVATE - // -Handle_Geom_Curve myCurve; - - -}; - - - - - -// other Inline functions and methods (like "C++: function call" methods) -// - - -#endif diff --git a/samples/java/inc/ISession_Direction.hxx b/samples/java/inc/ISession_Direction.hxx deleted file mode 100755 index ef9a023c00..0000000000 --- a/samples/java/inc/ISession_Direction.hxx +++ /dev/null @@ -1,154 +0,0 @@ -// File generated by CPPExt (Transient) -// -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// -#ifndef _ISession_Direction_HeaderFile -#define _ISession_Direction_HeaderFile - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Handle_ISession_Direction_HeaderFile -#include -#endif - -#ifndef _TCollection_ExtendedString_HeaderFile -#include -#endif -#ifndef _gp_Pnt_HeaderFile -#include -#endif -#ifndef _gp_Dir_HeaderFile -#include -#endif -#ifndef _Standard_Real_HeaderFile -#include -#endif -#ifndef _Quantity_Length_HeaderFile -#include -#endif -#ifndef _AIS_InteractiveObject_HeaderFile -#include -#endif -#ifndef _Handle_PrsMgr_PresentationManager3d_HeaderFile -#include -#endif -#ifndef _Handle_Prs3d_Presentation_HeaderFile -#include -#endif -#ifndef _Standard_Integer_HeaderFile -#include -#endif -#ifndef _Handle_Prs3d_Projector_HeaderFile -#include -#endif -#ifndef _Handle_PrsMgr_PresentationManager2d_HeaderFile -#include -#endif -#ifndef _Handle_Graphic2d_GraphicObject_HeaderFile -#include -#endif -#ifndef _Handle_SelectMgr_Selection_HeaderFile -#include -#endif -class gp_Pnt; -class gp_Dir; -class gp_Vec; -class gp_Pnt2d; -class gp_Dir2d; -class gp_Vec2d; -class TCollection_ExtendedString; -class PrsMgr_PresentationManager3d; -class Prs3d_Presentation; -class Prs3d_Projector; -class PrsMgr_PresentationManager2d; -class Graphic2d_GraphicObject; -class SelectMgr_Selection; - - -class ISession_Direction : public AIS_InteractiveObject { - -public: - - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - // Methods PUBLIC - // -Standard_EXPORT ISession_Direction(); -Standard_EXPORT ISession_Direction(const gp_Pnt& aPnt,const gp_Dir& aDir,const Standard_Real aLength = 1,const Standard_Real anArrowLength = 1); -Standard_EXPORT ISession_Direction(const gp_Pnt& aPnt,const gp_Vec& aVec,const Standard_Real aLength = 1); -Standard_EXPORT ISession_Direction(const gp_Pnt2d& aPnt2d,const gp_Dir2d& aDir2d,const Standard_Real aLength = 1); -Standard_EXPORT ISession_Direction(const gp_Pnt2d& aPnt2d,const gp_Vec2d& aVec2d); -Standard_EXPORT void SetText(const TCollection_ExtendedString& aText) ; -Standard_EXPORT ~ISession_Direction(); - - - - - // Type management - // - Standard_EXPORT friend Handle_Standard_Type& ISession_Direction_Type_(); - Standard_EXPORT const Handle(Standard_Type)& DynamicType() const; - Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const; - -protected: - - // Methods PROTECTED - // - - - // Fields PROTECTED - // - - -private: - - // Methods PRIVATE - // -Standard_EXPORT virtual void Compute(const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,const Handle(Prs3d_Presentation)& aPresentation,const Standard_Integer aMode = 0) ; -Standard_EXPORT virtual void Compute(const Handle(Prs3d_Projector)& aProjector,const Handle(Prs3d_Presentation)& aPresentation) ; -Standard_EXPORT virtual void Compute(const Handle(PrsMgr_PresentationManager2d)& aPresentationManager,const Handle(Graphic2d_GraphicObject)& aGrObj,const Standard_Integer aMode = 0) ; -Standard_EXPORT virtual void ComputeSelection(const Handle(SelectMgr_Selection)& aSelection,const Standard_Integer aMode) ; - - - // Fields PRIVATE - // -TCollection_ExtendedString myText; -gp_Pnt myPnt; -gp_Dir myDir; -Standard_Real myLength; -Quantity_Length myArrowLength; - - -}; - - - - - -// other Inline functions and methods (like "C++: function call" methods) -// - - -#endif diff --git a/samples/java/inc/ISession_Point.hxx b/samples/java/inc/ISession_Point.hxx deleted file mode 100755 index 4b7f87c71e..0000000000 --- a/samples/java/inc/ISession_Point.hxx +++ /dev/null @@ -1,134 +0,0 @@ -// File generated by CPPExt (Transient) -// -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// -#ifndef _ISession_Point_HeaderFile -#define _ISession_Point_HeaderFile - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Handle_ISession_Point_HeaderFile -#include -#endif - -#ifndef _gp_Pnt_HeaderFile -#include -#endif -#ifndef _AIS_InteractiveObject_HeaderFile -#include -#endif -#ifndef _Standard_Real_HeaderFile -#include -#endif -#ifndef _Handle_PrsMgr_PresentationManager3d_HeaderFile -#include -#endif -#ifndef _Handle_Prs3d_Presentation_HeaderFile -#include -#endif -#ifndef _Standard_Integer_HeaderFile -#include -#endif -#ifndef _Handle_Prs3d_Projector_HeaderFile -#include -#endif -#ifndef _Handle_PrsMgr_PresentationManager2d_HeaderFile -#include -#endif -#ifndef _Handle_Graphic2d_GraphicObject_HeaderFile -#include -#endif -#ifndef _Handle_SelectMgr_Selection_HeaderFile -#include -#endif -class gp_Pnt2d; -class gp_Pnt; -class PrsMgr_PresentationManager3d; -class Prs3d_Presentation; -class Prs3d_Projector; -class PrsMgr_PresentationManager2d; -class Graphic2d_GraphicObject; -class SelectMgr_Selection; - - -class ISession_Point : public AIS_InteractiveObject { - -public: - - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - // Methods PUBLIC - // -Standard_EXPORT ISession_Point(); -Standard_EXPORT ISession_Point(const Standard_Real X,const Standard_Real Y,const Standard_Real Z); -Standard_EXPORT ISession_Point(const gp_Pnt2d& aPoint,const Standard_Real Elevation = 0); -Standard_EXPORT ISession_Point(const gp_Pnt& aPoint); -Standard_EXPORT ~ISession_Point(); - - - - - // Type management - // - Standard_EXPORT friend Handle_Standard_Type& ISession_Point_Type_(); - Standard_EXPORT const Handle(Standard_Type)& DynamicType() const; - Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const; - -protected: - - // Methods PROTECTED - // - - - // Fields PROTECTED - // - - -private: - - // Methods PRIVATE - // -Standard_EXPORT virtual void Compute(const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,const Handle(Prs3d_Presentation)& aPresentation,const Standard_Integer aMode) ; -Standard_EXPORT virtual void Compute(const Handle(Prs3d_Projector)& aProjector,const Handle(Prs3d_Presentation)& aPresentation) ; -Standard_EXPORT virtual void Compute(const Handle(PrsMgr_PresentationManager2d)& aPresentationManager,const Handle(Graphic2d_GraphicObject)& aGrObj,const Standard_Integer aMode = 0) ; -Standard_EXPORT virtual void ComputeSelection(const Handle(SelectMgr_Selection)& aSelection,const Standard_Integer unMode) ; - - - // Fields PRIVATE - // -gp_Pnt myPoint; - - -}; - - - - - -// other Inline functions and methods (like "C++: function call" methods) -// - - -#endif diff --git a/samples/java/inc/ISession_Surface.hxx b/samples/java/inc/ISession_Surface.hxx deleted file mode 100755 index 6b3417e8f5..0000000000 --- a/samples/java/inc/ISession_Surface.hxx +++ /dev/null @@ -1,119 +0,0 @@ -// File generated by CPPExt (Transient) -// -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// -#ifndef _ISession_Surface_HeaderFile -#define _ISession_Surface_HeaderFile - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Handle_ISession_Surface_HeaderFile -#include -#endif - -#ifndef _Handle_Geom_Surface_HeaderFile -#include -#endif -#ifndef _AIS_InteractiveObject_HeaderFile -#include -#endif -#ifndef _Handle_PrsMgr_PresentationManager3d_HeaderFile -#include -#endif -#ifndef _Handle_Prs3d_Presentation_HeaderFile -#include -#endif -#ifndef _Standard_Integer_HeaderFile -#include -#endif -#ifndef _Handle_Prs3d_Projector_HeaderFile -#include -#endif -#ifndef _Handle_SelectMgr_Selection_HeaderFile -#include -#endif -class Geom_Surface; -class PrsMgr_PresentationManager3d; -class Prs3d_Presentation; -class Prs3d_Projector; -class SelectMgr_Selection; - - -class ISession_Surface : public AIS_InteractiveObject { - -public: - - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - // Methods PUBLIC - // -Standard_EXPORT ISession_Surface(); -Standard_EXPORT ISession_Surface(const Handle(Geom_Surface)& aSurface); -Standard_EXPORT ~ISession_Surface(); - - - - - // Type management - // - Standard_EXPORT friend Handle_Standard_Type& ISession_Surface_Type_(); - Standard_EXPORT const Handle(Standard_Type)& DynamicType() const; - Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const; - -protected: - - // Methods PROTECTED - // - - - // Fields PROTECTED - // - - -private: - - // Methods PRIVATE - // -Standard_EXPORT virtual void Compute(const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,const Handle(Prs3d_Presentation)& aPresentation,const Standard_Integer aMode = 0) ; -Standard_EXPORT virtual void Compute(const Handle(Prs3d_Projector)& aProjector,const Handle(Prs3d_Presentation)& aPresentation) ; -Standard_EXPORT virtual void ComputeSelection(const Handle(SelectMgr_Selection)& aSelection,const Standard_Integer aMode) ; - - - // Fields PRIVATE - // -Handle_Geom_Surface mySurface; - - -}; - - - - - -// other Inline functions and methods (like "C++: function call" methods) -// - - -#endif diff --git a/samples/java/inc/ISession_Text.hxx b/samples/java/inc/ISession_Text.hxx deleted file mode 100755 index 02e46363e5..0000000000 --- a/samples/java/inc/ISession_Text.hxx +++ /dev/null @@ -1,171 +0,0 @@ -// File generated by CPPExt (Transient) -// -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// -#ifndef _ISession_Text_HeaderFile -#define _ISession_Text_HeaderFile - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Handle_ISession_Text_HeaderFile -#include -#endif - -#ifndef _TCollection_AsciiString_HeaderFile -#include -#endif -#ifndef _Standard_Real_HeaderFile -#include -#endif -#ifndef _Aspect_TypeOfText_HeaderFile -#include -#endif -#ifndef _Standard_Integer_HeaderFile -#include -#endif -#ifndef _Quantity_Factor_HeaderFile -#include -#endif -#ifndef _AIS_InteractiveObject_HeaderFile -#include -#endif -#ifndef _Quantity_PlaneAngle_HeaderFile -#include -#endif -#ifndef _Handle_PrsMgr_PresentationManager3d_HeaderFile -#include -#endif -#ifndef _Handle_Prs3d_Presentation_HeaderFile -#include -#endif -#ifndef _Handle_Prs3d_Projector_HeaderFile -#include -#endif -#ifndef _Handle_PrsMgr_PresentationManager2d_HeaderFile -#include -#endif -#ifndef _Handle_Graphic2d_GraphicObject_HeaderFile -#include -#endif -#ifndef _Handle_SelectMgr_Selection_HeaderFile -#include -#endif -class TCollection_AsciiString; -class gp_Pnt; -class PrsMgr_PresentationManager3d; -class Prs3d_Presentation; -class Prs3d_Projector; -class PrsMgr_PresentationManager2d; -class Graphic2d_GraphicObject; -class SelectMgr_Selection; - - -class ISession_Text : public AIS_InteractiveObject { - -public: - - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - // Methods PUBLIC - // -Standard_EXPORT ISession_Text(); -Standard_EXPORT ISession_Text(const TCollection_AsciiString& aText,const Standard_Real anX = 0,const Standard_Real anY = 0,const Standard_Real aZ = 0,const Aspect_TypeOfText aType = Aspect_TOT_SOLID,const Quantity_PlaneAngle anAngle = 0.0,const Standard_Real aSlant = 0.0,const Standard_Integer aColorIndex = 1,const Standard_Integer aFontIndex = 1,const Quantity_Factor aScale = 0.1); -Standard_EXPORT ISession_Text(const TCollection_AsciiString& aText,const gp_Pnt& aPoint,const Aspect_TypeOfText aType = Aspect_TOT_SOLID,const Quantity_PlaneAngle anAngle = 0.0,const Standard_Real aSlant = 0.0,const Standard_Integer aColorIndex = 1,const Standard_Integer aFontIndex = 1,const Quantity_Factor aScale = 0.1); -Standard_EXPORT virtual Standard_Integer NbPossibleSelection() ; -Standard_EXPORT TCollection_AsciiString GetText() ; -Standard_EXPORT void SetText(const TCollection_AsciiString& aText) ; -Standard_EXPORT void GetCoord(Standard_Real& X,Standard_Real& Y,Standard_Real& Z) ; -Standard_EXPORT void SetCoord(const Standard_Real X,const Standard_Real Y,const Standard_Real Z) ; -Standard_EXPORT Aspect_TypeOfText GetTypeOfText() ; -Standard_EXPORT void SetTypeOfText(const Aspect_TypeOfText aNewTypeOfText) ; -Standard_EXPORT Standard_Real GetAngle() ; -Standard_EXPORT void SetAngle(const Standard_Real aNewAngle) ; -Standard_EXPORT Standard_Real GetSlant() ; -Standard_EXPORT void SetSlant(const Standard_Real aNewSlant) ; -Standard_EXPORT Standard_Integer GetColorIndex() ; -Standard_EXPORT void SetColorIndex(const Standard_Integer aNewColorIndex) ; -Standard_EXPORT Standard_Integer GetFontIndex() ; -Standard_EXPORT void SetFontIndex(const Standard_Integer aNewFontIndex) ; -Standard_EXPORT Quantity_Factor GetScale() ; -Standard_EXPORT void SetScale(const Quantity_Factor aNewScale) ; -Standard_EXPORT ~ISession_Text(); - - - - - // Type management - // - Standard_EXPORT friend Handle_Standard_Type& ISession_Text_Type_(); - Standard_EXPORT const Handle(Standard_Type)& DynamicType() const; - Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const; - -protected: - - // Methods PROTECTED - // - - - // Fields PROTECTED - // - - -private: - - // Methods PRIVATE - // -Standard_EXPORT virtual void Compute(const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,const Handle(Prs3d_Presentation)& aPresentation,const Standard_Integer aMode) ; -Standard_EXPORT virtual void Compute(const Handle(Prs3d_Projector)& aProjector,const Handle(Prs3d_Presentation)& aPresentation) ; -Standard_EXPORT virtual void Compute(const Handle(PrsMgr_PresentationManager2d)& aPresentationManager,const Handle(Graphic2d_GraphicObject)& aGrObj,const Standard_Integer unMode = 0) ; -Standard_EXPORT virtual void ComputeSelection(const Handle(SelectMgr_Selection)& aSelection,const Standard_Integer unMode) ; - - - // Fields PRIVATE - // -TCollection_AsciiString MyText; -Standard_Real MyX; -Standard_Real MyY; -Standard_Real MyZ; -Aspect_TypeOfText MyTypeOfText; -Standard_Real MyAngle; -Standard_Real MySlant; -Standard_Integer MyColorIndex; -Standard_Integer MyFontIndex; -Quantity_Factor MyScale; -Standard_Real MyWidth; -Standard_Real MyHeight; - - -}; - - -#include - - - -// other Inline functions and methods (like "C++: function call" methods) -// - - -#endif diff --git a/samples/java/inc/ISession_Text.lxx b/samples/java/inc/ISession_Text.lxx deleted file mode 100755 index 223fb331aa..0000000000 --- a/samples/java/inc/ISession_Text.lxx +++ /dev/null @@ -1,106 +0,0 @@ -inline Standard_Integer ISession_Text::NbPossibleSelection() -{ - return 1; -} - - -inline TCollection_AsciiString ISession_Text::GetText() -{ - return MyText; -} - - -inline void ISession_Text::SetText(const TCollection_AsciiString& aText) -{ - MyText = aText; -} - - -inline void ISession_Text::GetCoord(Standard_Real& X,Standard_Real& Y,Standard_Real& Z) -{ - X = MyX; - Y = MyY; - Z = MyZ; -} - - -inline void ISession_Text::SetCoord(const Standard_Real X,const Standard_Real Y,const Standard_Real Z) -{ - MyX = X; - MyY = Y; - MyZ = Z; -} - - -inline Aspect_TypeOfText ISession_Text::GetTypeOfText() -{ - return MyTypeOfText; -} - - -inline void ISession_Text::SetTypeOfText(const Aspect_TypeOfText aNewTypeOfText) -{ - MyTypeOfText = aNewTypeOfText; -} - - -inline Standard_Real ISession_Text::GetAngle() -{ - return MyAngle; -} - - -inline void ISession_Text::SetAngle(const Standard_Real aNewAngle) -{ - MyAngle = aNewAngle; -} - - -inline Standard_Real ISession_Text::GetSlant() -{ - return MySlant; -} - - -inline void ISession_Text::SetSlant(const Standard_Real aNewSlant) -{ - MySlant = aNewSlant; -} - - -inline Standard_Integer ISession_Text::GetColorIndex() -{ - return MyColorIndex; -} - - -inline void ISession_Text::SetColorIndex(const Standard_Integer aNewColorIndex) -{ - MyColorIndex = aNewColorIndex; -} - - -inline Standard_Integer ISession_Text::GetFontIndex() -{ - return MyFontIndex; -} - - -inline void ISession_Text::SetFontIndex(const Standard_Integer aNewFontIndex) -{ - MyFontIndex = aNewFontIndex; -} - - -inline Quantity_Factor ISession_Text::GetScale() -{ - return MyScale; -} - - -inline void ISession_Text::SetScale(const Quantity_Factor aNewScale) -{ - MyScale = aNewScale; -} - - diff --git a/samples/java/inc/SampleAISBasicJni_AIS_InteractiveContext.h b/samples/java/inc/SampleAISBasicJni_AIS_InteractiveContext.h deleted file mode 100755 index a4e42b161c..0000000000 --- a/samples/java/inc/SampleAISBasicJni_AIS_InteractiveContext.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISBasicJni_AIS_0005fInteractiveContext */ - -#ifndef _Included_SampleAISBasicJni_AIS_0005fInteractiveContext -#define _Included_SampleAISBasicJni_AIS_0005fInteractiveContext -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISBasicJni_MMgt_TShared.h b/samples/java/inc/SampleAISBasicJni_MMgt_TShared.h deleted file mode 100755 index 1c60dfaa73..0000000000 --- a/samples/java/inc/SampleAISBasicJni_MMgt_TShared.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISBasicJni_MMgt_0005fTShared */ - -#ifndef _Included_SampleAISBasicJni_MMgt_0005fTShared -#define _Included_SampleAISBasicJni_MMgt_0005fTShared -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISBasicJni_SampleAISBasicPackage.h b/samples/java/inc/SampleAISBasicJni_SampleAISBasicPackage.h deleted file mode 100755 index 88cb22da7b..0000000000 --- a/samples/java/inc/SampleAISBasicJni_SampleAISBasicPackage.h +++ /dev/null @@ -1,69 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISBasicJni_SampleAISBasicPackage */ - -#ifndef _Included_SampleAISBasicJni_SampleAISBasicPackage -#define _Included_SampleAISBasicJni_SampleAISBasicPackage -#ifdef __cplusplus -extern "C" { -#endif -/* - * Class: SampleAISBasicJni_SampleAISBasicPackage - * Method: CreateViewer - * Signature: (Ljava/lang/String;)LSampleAISBasicJni/V3d_Viewer; - */ -JNIEXPORT jobject JNICALL Java_SampleAISBasicJni_SampleAISBasicPackage_CreateViewer - (JNIEnv *, jclass, jstring); - -/* - * Class: SampleAISBasicJni_SampleAISBasicPackage - * Method: DisplayCircle - * Signature: (LSampleAISBasicJni/AIS_InteractiveContext;LSampleAISBasicJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleAISBasicJni_SampleAISBasicPackage_DisplayCircle - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleAISBasicJni_SampleAISBasicPackage - * Method: DisplayCylinder - * Signature: (LSampleAISBasicJni/AIS_InteractiveContext;LSampleAISBasicJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleAISBasicJni_SampleAISBasicPackage_DisplayCylinder - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleAISBasicJni_SampleAISBasicPackage - * Method: DisplayLine - * Signature: (LSampleAISBasicJni/AIS_InteractiveContext;LSampleAISBasicJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleAISBasicJni_SampleAISBasicPackage_DisplayLine - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleAISBasicJni_SampleAISBasicPackage - * Method: DisplaySphere - * Signature: (LSampleAISBasicJni/AIS_InteractiveContext;LSampleAISBasicJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleAISBasicJni_SampleAISBasicPackage_DisplaySphere - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleAISBasicJni_SampleAISBasicPackage - * Method: DisplayTrihedron - * Signature: (LSampleAISBasicJni/AIS_InteractiveContext;)V - */ -JNIEXPORT void JNICALL Java_SampleAISBasicJni_SampleAISBasicPackage_DisplayTrihedron - (JNIEnv *, jclass, jobject); - -/* - * Class: SampleAISBasicJni_SampleAISBasicPackage - * Method: SetWindow - * Signature: (LSampleAISBasicJni/V3d_View;II)V - */ -JNIEXPORT void JNICALL Java_SampleAISBasicJni_SampleAISBasicPackage_SetWindow - (JNIEnv *, jclass, jobject, jint, jint); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISBasicJni_Standard_Transient.h b/samples/java/inc/SampleAISBasicJni_Standard_Transient.h deleted file mode 100755 index 5c2721e458..0000000000 --- a/samples/java/inc/SampleAISBasicJni_Standard_Transient.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISBasicJni_Standard_0005fTransient */ - -#ifndef _Included_SampleAISBasicJni_Standard_0005fTransient -#define _Included_SampleAISBasicJni_Standard_0005fTransient -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISBasicJni_TCollection_AsciiString.h b/samples/java/inc/SampleAISBasicJni_TCollection_AsciiString.h deleted file mode 100755 index a92483ab27..0000000000 --- a/samples/java/inc/SampleAISBasicJni_TCollection_AsciiString.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISBasicJni_TCollection_0005fAsciiString */ - -#ifndef _Included_SampleAISBasicJni_TCollection_0005fAsciiString -#define _Included_SampleAISBasicJni_TCollection_0005fAsciiString -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleAISBasicJni_TCollection_0005fAsciiString - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleAISBasicJni_TCollection_1AsciiString_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISBasicJni_UnitsAPI.h b/samples/java/inc/SampleAISBasicJni_UnitsAPI.h deleted file mode 100755 index bf9a83e750..0000000000 --- a/samples/java/inc/SampleAISBasicJni_UnitsAPI.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISBasicJni_UnitsAPI */ - -#ifndef _Included_SampleAISBasicJni_UnitsAPI -#define _Included_SampleAISBasicJni_UnitsAPI -#ifdef __cplusplus -extern "C" { -#endif -/* - * Class: SampleAISBasicJni_UnitsAPI - * Method: SetLocalSystem - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_SampleAISBasicJni_UnitsAPI_SetLocalSystem - (JNIEnv *, jclass, jshort); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISBasicJni_UnitsAPI_SystemUnits.h b/samples/java/inc/SampleAISBasicJni_UnitsAPI_SystemUnits.h deleted file mode 100755 index 2de4556659..0000000000 --- a/samples/java/inc/SampleAISBasicJni_UnitsAPI_SystemUnits.h +++ /dev/null @@ -1,19 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISBasicJni_UnitsAPI_0005fSystemUnits */ - -#ifndef _Included_SampleAISBasicJni_UnitsAPI_0005fSystemUnits -#define _Included_SampleAISBasicJni_UnitsAPI_0005fSystemUnits -#ifdef __cplusplus -extern "C" { -#endif -#undef SampleAISBasicJni_UnitsAPI_0005fSystemUnits_UnitsAPI_DEFAULT -#define SampleAISBasicJni_UnitsAPI_0005fSystemUnits_UnitsAPI_DEFAULT 0L -#undef SampleAISBasicJni_UnitsAPI_0005fSystemUnits_UnitsAPI_SI -#define SampleAISBasicJni_UnitsAPI_0005fSystemUnits_UnitsAPI_SI 1L -#undef SampleAISBasicJni_UnitsAPI_0005fSystemUnits_UnitsAPI_MDTV -#define SampleAISBasicJni_UnitsAPI_0005fSystemUnits_UnitsAPI_MDTV 2L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISBasicJni_V3d_View.h b/samples/java/inc/SampleAISBasicJni_V3d_View.h deleted file mode 100755 index 7d941f04d0..0000000000 --- a/samples/java/inc/SampleAISBasicJni_V3d_View.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISBasicJni_V3d_0005fView */ - -#ifndef _Included_SampleAISBasicJni_V3d_0005fView -#define _Included_SampleAISBasicJni_V3d_0005fView -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISBasicJni_V3d_Viewer.h b/samples/java/inc/SampleAISBasicJni_V3d_Viewer.h deleted file mode 100755 index bc616de305..0000000000 --- a/samples/java/inc/SampleAISBasicJni_V3d_Viewer.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISBasicJni_V3d_0005fViewer */ - -#ifndef _Included_SampleAISBasicJni_V3d_0005fViewer -#define _Included_SampleAISBasicJni_V3d_0005fViewer -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISBasicJni_Viewer_View.h b/samples/java/inc/SampleAISBasicJni_Viewer_View.h deleted file mode 100755 index ec0f83332e..0000000000 --- a/samples/java/inc/SampleAISBasicJni_Viewer_View.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISBasicJni_Viewer_0005fView */ - -#ifndef _Included_SampleAISBasicJni_Viewer_0005fView -#define _Included_SampleAISBasicJni_Viewer_0005fView -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISBasicJni_Viewer_Viewer.h b/samples/java/inc/SampleAISBasicJni_Viewer_Viewer.h deleted file mode 100755 index ed01b135dc..0000000000 --- a/samples/java/inc/SampleAISBasicJni_Viewer_Viewer.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISBasicJni_Viewer_0005fViewer */ - -#ifndef _Included_SampleAISBasicJni_Viewer_0005fViewer -#define _Included_SampleAISBasicJni_Viewer_0005fViewer -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISBasicPackage.hxx b/samples/java/inc/SampleAISBasicPackage.hxx deleted file mode 100755 index 694e9d148c..0000000000 --- a/samples/java/inc/SampleAISBasicPackage.hxx +++ /dev/null @@ -1,106 +0,0 @@ -// File generated by CPPExt (Value) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#ifndef _SampleAISBasicPackage_HeaderFile -#define _SampleAISBasicPackage_HeaderFile - -#ifndef _Handle_V3d_Viewer_HeaderFile -#include -#endif -#ifndef _Standard_ExtString_HeaderFile -#include -#endif -#ifndef _Handle_V3d_View_HeaderFile -#include -#endif -#ifndef _Standard_Integer_HeaderFile -#include -#endif -#ifndef _Handle_AIS_InteractiveContext_HeaderFile -#include -#endif -class V3d_Viewer; -class V3d_View; -class AIS_InteractiveContext; -class TCollection_AsciiString; - - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Standard_Macro_HeaderFile -#include -#endif - -class SampleAISBasicPackage { - -public: - - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - // Methods PUBLIC - // -Standard_EXPORT static Handle_V3d_Viewer CreateViewer(const Standard_ExtString aName) ; -Standard_EXPORT static void SetWindow(const Handle(V3d_View)& aView,const Standard_Integer hiwin,const Standard_Integer lowin) ; -Standard_EXPORT static void DisplayTrihedron(const Handle(AIS_InteractiveContext)& aContext) ; -Standard_EXPORT static void DisplayCircle(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void DisplayLine(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void DisplaySphere(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void DisplayCylinder(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; - - - - - -protected: - - // Methods PROTECTED - // - - - // Fields PROTECTED - // - - -private: - - // Methods PRIVATE - // - - - // Fields PRIVATE - // - - -}; - - - - - -// other Inline functions and methods (like "C++: function call" methods) -// - - -#endif diff --git a/samples/java/inc/SampleAISDisplayModeJni_AIS_DisplayMode.h b/samples/java/inc/SampleAISDisplayModeJni_AIS_DisplayMode.h deleted file mode 100755 index 36cec3c0dd..0000000000 --- a/samples/java/inc/SampleAISDisplayModeJni_AIS_DisplayMode.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISDisplayModeJni_AIS_0005fDisplayMode */ - -#ifndef _Included_SampleAISDisplayModeJni_AIS_0005fDisplayMode -#define _Included_SampleAISDisplayModeJni_AIS_0005fDisplayMode -#ifdef __cplusplus -extern "C" { -#endif -#undef SampleAISDisplayModeJni_AIS_0005fDisplayMode_AIS_WireFrame -#define SampleAISDisplayModeJni_AIS_0005fDisplayMode_AIS_WireFrame 0L -#undef SampleAISDisplayModeJni_AIS_0005fDisplayMode_AIS_Shaded -#define SampleAISDisplayModeJni_AIS_0005fDisplayMode_AIS_Shaded 1L -#undef SampleAISDisplayModeJni_AIS_0005fDisplayMode_AIS_QuickHLR -#define SampleAISDisplayModeJni_AIS_0005fDisplayMode_AIS_QuickHLR 2L -#undef SampleAISDisplayModeJni_AIS_0005fDisplayMode_AIS_ExactHLR -#define SampleAISDisplayModeJni_AIS_0005fDisplayMode_AIS_ExactHLR 3L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISDisplayModeJni_AIS_InteractiveContext.h b/samples/java/inc/SampleAISDisplayModeJni_AIS_InteractiveContext.h deleted file mode 100755 index fa4b98d43c..0000000000 --- a/samples/java/inc/SampleAISDisplayModeJni_AIS_InteractiveContext.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISDisplayModeJni_AIS_0005fInteractiveContext */ - -#ifndef _Included_SampleAISDisplayModeJni_AIS_0005fInteractiveContext -#define _Included_SampleAISDisplayModeJni_AIS_0005fInteractiveContext -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISDisplayModeJni_Graphic3d_NameOfMaterial.h b/samples/java/inc/SampleAISDisplayModeJni_Graphic3d_NameOfMaterial.h deleted file mode 100755 index cd7f0b2c69..0000000000 --- a/samples/java/inc/SampleAISDisplayModeJni_Graphic3d_NameOfMaterial.h +++ /dev/null @@ -1,55 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial */ - -#ifndef _Included_SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial -#define _Included_SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial -#ifdef __cplusplus -extern "C" { -#endif -#undef SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_BRASS -#define SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_BRASS 0L -#undef SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_BRONZE -#define SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_BRONZE 1L -#undef SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_COPPER -#define SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_COPPER 2L -#undef SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_GOLD -#define SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_GOLD 3L -#undef SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_PEWTER -#define SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_PEWTER 4L -#undef SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_PLASTER -#define SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_PLASTER 5L -#undef SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_PLASTIC -#define SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_PLASTIC 6L -#undef SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_SILVER -#define SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_SILVER 7L -#undef SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_STEEL -#define SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_STEEL 8L -#undef SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_STONE -#define SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_STONE 9L -#undef SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_SHINY_PLASTIC -#define SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_SHINY_PLASTIC 10L -#undef SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_SATIN -#define SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_SATIN 11L -#undef SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_METALIZED -#define SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_METALIZED 12L -#undef SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_NEON_GNC -#define SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_NEON_GNC 13L -#undef SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_CHROME -#define SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_CHROME 14L -#undef SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_ALUMINIUM -#define SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_ALUMINIUM 15L -#undef SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_OBSIDIAN -#define SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_OBSIDIAN 16L -#undef SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_NEON_PHC -#define SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_NEON_PHC 17L -#undef SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_JADE -#define SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_JADE 18L -#undef SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_DEFAULT -#define SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_DEFAULT 19L -#undef SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_UserDefined -#define SampleAISDisplayModeJni_Graphic3d_0005fNameOfMaterial_Graphic3d_NOM_UserDefined 20L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISDisplayModeJni_MMgt_TShared.h b/samples/java/inc/SampleAISDisplayModeJni_MMgt_TShared.h deleted file mode 100755 index 023954ab5c..0000000000 --- a/samples/java/inc/SampleAISDisplayModeJni_MMgt_TShared.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISDisplayModeJni_MMgt_0005fTShared */ - -#ifndef _Included_SampleAISDisplayModeJni_MMgt_0005fTShared -#define _Included_SampleAISDisplayModeJni_MMgt_0005fTShared -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISDisplayModeJni_Quantity_Color.h b/samples/java/inc/SampleAISDisplayModeJni_Quantity_Color.h deleted file mode 100755 index 318350d6a0..0000000000 --- a/samples/java/inc/SampleAISDisplayModeJni_Quantity_Color.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISDisplayModeJni_Quantity_0005fColor */ - -#ifndef _Included_SampleAISDisplayModeJni_Quantity_0005fColor -#define _Included_SampleAISDisplayModeJni_Quantity_0005fColor -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleAISDisplayModeJni_Quantity_0005fColor - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_Quantity_1Color_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISDisplayModeJni_SampleAISDisplayModePackage.h b/samples/java/inc/SampleAISDisplayModeJni_SampleAISDisplayModePackage.h deleted file mode 100755 index 77f41186bd..0000000000 --- a/samples/java/inc/SampleAISDisplayModeJni_SampleAISDisplayModePackage.h +++ /dev/null @@ -1,173 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISDisplayModeJni_SampleAISDisplayModePackage */ - -#ifndef _Included_SampleAISDisplayModeJni_SampleAISDisplayModePackage -#define _Included_SampleAISDisplayModeJni_SampleAISDisplayModePackage -#ifdef __cplusplus -extern "C" { -#endif -/* - * Class: SampleAISDisplayModeJni_SampleAISDisplayModePackage - * Method: CreateLight - * Signature: (LSampleAISDisplayModeJni/AIS_InteractiveContext;)V - */ -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_CreateLight - (JNIEnv *, jclass, jobject); - -/* - * Class: SampleAISDisplayModeJni_SampleAISDisplayModePackage - * Method: CreateViewer - * Signature: (Ljava/lang/String;)LSampleAISDisplayModeJni/V3d_Viewer; - */ -JNIEXPORT jobject JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_CreateViewer - (JNIEnv *, jclass, jstring); - -/* - * Class: SampleAISDisplayModeJni_SampleAISDisplayModePackage - * Method: DisplayBox - * Signature: (LSampleAISDisplayModeJni/AIS_InteractiveContext;LSampleAISDisplayModeJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_DisplayBox - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleAISDisplayModeJni_SampleAISDisplayModePackage - * Method: DisplayCylinder - * Signature: (LSampleAISDisplayModeJni/AIS_InteractiveContext;LSampleAISDisplayModeJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_DisplayCylinder - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleAISDisplayModeJni_SampleAISDisplayModePackage - * Method: DisplaySphere - * Signature: (LSampleAISDisplayModeJni/AIS_InteractiveContext;LSampleAISDisplayModeJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_DisplaySphere - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleAISDisplayModeJni_SampleAISDisplayModePackage - * Method: EraseAll - * Signature: (LSampleAISDisplayModeJni/AIS_InteractiveContext;LSampleAISDisplayModeJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_EraseAll - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleAISDisplayModeJni_SampleAISDisplayModePackage - * Method: GetIsosNumber - * Signature: (LSampleAISDisplayModeJni/AIS_InteractiveContext;Ljcas/Standard_Integer;Ljcas/Standard_Integer;)V - */ -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_GetIsosNumber - (JNIEnv *, jclass, jobject, jobject, jobject); - -/* - * Class: SampleAISDisplayModeJni_SampleAISDisplayModePackage - * Method: GetObjectColor - * Signature: (LSampleAISDisplayModeJni/AIS_InteractiveContext;)LSampleAISDisplayModeJni/Quantity_Color; - */ -JNIEXPORT jobject JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_GetObjectColor - (JNIEnv *, jclass, jobject); - -/* - * Class: SampleAISDisplayModeJni_SampleAISDisplayModePackage - * Method: GetObjectTransparency - * Signature: (LSampleAISDisplayModeJni/AIS_InteractiveContext;)D - */ -JNIEXPORT jdouble JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_GetObjectTransparency - (JNIEnv *, jclass, jobject); - -/* - * Class: SampleAISDisplayModeJni_SampleAISDisplayModePackage - * Method: InitContext - * Signature: (LSampleAISDisplayModeJni/AIS_InteractiveContext;)V - */ -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_InitContext - (JNIEnv *, jclass, jobject); - -/* - * Class: SampleAISDisplayModeJni_SampleAISDisplayModePackage - * Method: MoveSecondPointOfLight - * Signature: (LSampleAISDisplayModeJni/AIS_InteractiveContext;LSampleAISDisplayModeJni/V3d_View;II)V - */ -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_MoveSecondPointOfLight - (JNIEnv *, jclass, jobject, jobject, jint, jint); - -/* - * Class: SampleAISDisplayModeJni_SampleAISDisplayModePackage - * Method: SetDisplayMode - * Signature: (LSampleAISDisplayModeJni/AIS_InteractiveContext;SLSampleAISDisplayModeJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_SetDisplayMode - (JNIEnv *, jclass, jobject, jshort, jobject); - -/* - * Class: SampleAISDisplayModeJni_SampleAISDisplayModePackage - * Method: SetFirstPointOfLight - * Signature: (LSampleAISDisplayModeJni/AIS_InteractiveContext;LSampleAISDisplayModeJni/V3d_View;II)V - */ -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_SetFirstPointOfLight - (JNIEnv *, jclass, jobject, jobject, jint, jint); - -/* - * Class: SampleAISDisplayModeJni_SampleAISDisplayModePackage - * Method: SetIsosNumber - * Signature: (LSampleAISDisplayModeJni/AIS_InteractiveContext;IILSampleAISDisplayModeJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_SetIsosNumber - (JNIEnv *, jclass, jobject, jint, jint, jobject); - -/* - * Class: SampleAISDisplayModeJni_SampleAISDisplayModePackage - * Method: SetObjectColor - * Signature: (LSampleAISDisplayModeJni/AIS_InteractiveContext;LSampleAISDisplayModeJni/Quantity_Color;LSampleAISDisplayModeJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_SetObjectColor - (JNIEnv *, jclass, jobject, jobject, jobject); - -/* - * Class: SampleAISDisplayModeJni_SampleAISDisplayModePackage - * Method: SetObjectDisplayMode - * Signature: (LSampleAISDisplayModeJni/AIS_InteractiveContext;SLSampleAISDisplayModeJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_SetObjectDisplayMode - (JNIEnv *, jclass, jobject, jshort, jobject); - -/* - * Class: SampleAISDisplayModeJni_SampleAISDisplayModePackage - * Method: SetObjectMaterial - * Signature: (LSampleAISDisplayModeJni/AIS_InteractiveContext;SLSampleAISDisplayModeJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_SetObjectMaterial - (JNIEnv *, jclass, jobject, jshort, jobject); - -/* - * Class: SampleAISDisplayModeJni_SampleAISDisplayModePackage - * Method: SetObjectTransparency - * Signature: (LSampleAISDisplayModeJni/AIS_InteractiveContext;DLSampleAISDisplayModeJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_SetObjectTransparency - (JNIEnv *, jclass, jobject, jdouble, jobject); - -/* - * Class: SampleAISDisplayModeJni_SampleAISDisplayModePackage - * Method: SetSecondPointOfLight - * Signature: (LSampleAISDisplayModeJni/AIS_InteractiveContext;)V - */ -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_SetSecondPointOfLight - (JNIEnv *, jclass, jobject); - -/* - * Class: SampleAISDisplayModeJni_SampleAISDisplayModePackage - * Method: SetWindow - * Signature: (LSampleAISDisplayModeJni/V3d_View;II)V - */ -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_SampleAISDisplayModePackage_SetWindow - (JNIEnv *, jclass, jobject, jint, jint); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISDisplayModeJni_Standard_Storable.h b/samples/java/inc/SampleAISDisplayModeJni_Standard_Storable.h deleted file mode 100755 index 0546873a73..0000000000 --- a/samples/java/inc/SampleAISDisplayModeJni_Standard_Storable.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISDisplayModeJni_Standard_0005fStorable */ - -#ifndef _Included_SampleAISDisplayModeJni_Standard_0005fStorable -#define _Included_SampleAISDisplayModeJni_Standard_0005fStorable -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISDisplayModeJni_Standard_Transient.h b/samples/java/inc/SampleAISDisplayModeJni_Standard_Transient.h deleted file mode 100755 index 4db4050eab..0000000000 --- a/samples/java/inc/SampleAISDisplayModeJni_Standard_Transient.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISDisplayModeJni_Standard_0005fTransient */ - -#ifndef _Included_SampleAISDisplayModeJni_Standard_0005fTransient -#define _Included_SampleAISDisplayModeJni_Standard_0005fTransient -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISDisplayModeJni_TCollection_AsciiString.h b/samples/java/inc/SampleAISDisplayModeJni_TCollection_AsciiString.h deleted file mode 100755 index f00bc030cd..0000000000 --- a/samples/java/inc/SampleAISDisplayModeJni_TCollection_AsciiString.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISDisplayModeJni_TCollection_0005fAsciiString */ - -#ifndef _Included_SampleAISDisplayModeJni_TCollection_0005fAsciiString -#define _Included_SampleAISDisplayModeJni_TCollection_0005fAsciiString -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleAISDisplayModeJni_TCollection_0005fAsciiString - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleAISDisplayModeJni_TCollection_1AsciiString_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISDisplayModeJni_V3d_View.h b/samples/java/inc/SampleAISDisplayModeJni_V3d_View.h deleted file mode 100755 index 3a3190717a..0000000000 --- a/samples/java/inc/SampleAISDisplayModeJni_V3d_View.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISDisplayModeJni_V3d_0005fView */ - -#ifndef _Included_SampleAISDisplayModeJni_V3d_0005fView -#define _Included_SampleAISDisplayModeJni_V3d_0005fView -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISDisplayModeJni_V3d_Viewer.h b/samples/java/inc/SampleAISDisplayModeJni_V3d_Viewer.h deleted file mode 100755 index 45aea27985..0000000000 --- a/samples/java/inc/SampleAISDisplayModeJni_V3d_Viewer.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISDisplayModeJni_V3d_0005fViewer */ - -#ifndef _Included_SampleAISDisplayModeJni_V3d_0005fViewer -#define _Included_SampleAISDisplayModeJni_V3d_0005fViewer -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISDisplayModeJni_Viewer_View.h b/samples/java/inc/SampleAISDisplayModeJni_Viewer_View.h deleted file mode 100755 index 75bf0c0692..0000000000 --- a/samples/java/inc/SampleAISDisplayModeJni_Viewer_View.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISDisplayModeJni_Viewer_0005fView */ - -#ifndef _Included_SampleAISDisplayModeJni_Viewer_0005fView -#define _Included_SampleAISDisplayModeJni_Viewer_0005fView -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISDisplayModeJni_Viewer_Viewer.h b/samples/java/inc/SampleAISDisplayModeJni_Viewer_Viewer.h deleted file mode 100755 index a6a65c207e..0000000000 --- a/samples/java/inc/SampleAISDisplayModeJni_Viewer_Viewer.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISDisplayModeJni_Viewer_0005fViewer */ - -#ifndef _Included_SampleAISDisplayModeJni_Viewer_0005fViewer -#define _Included_SampleAISDisplayModeJni_Viewer_0005fViewer -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISDisplayModePackage.hxx b/samples/java/inc/SampleAISDisplayModePackage.hxx deleted file mode 100755 index fdffc15f53..0000000000 --- a/samples/java/inc/SampleAISDisplayModePackage.hxx +++ /dev/null @@ -1,129 +0,0 @@ -// File generated by CPPExt (Value) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#ifndef _SampleAISDisplayModePackage_HeaderFile -#define _SampleAISDisplayModePackage_HeaderFile - -#ifndef _Handle_V3d_Viewer_HeaderFile -#include -#endif -#ifndef _Standard_ExtString_HeaderFile -#include -#endif -#ifndef _Handle_V3d_View_HeaderFile -#include -#endif -#ifndef _Standard_Integer_HeaderFile -#include -#endif -#ifndef _Handle_AIS_InteractiveContext_HeaderFile -#include -#endif -#ifndef _AIS_DisplayMode_HeaderFile -#include -#endif -#ifndef _Graphic3d_NameOfMaterial_HeaderFile -#include -#endif -#ifndef _Standard_Real_HeaderFile -#include -#endif -class V3d_Viewer; -class V3d_View; -class AIS_InteractiveContext; -class TCollection_AsciiString; -class Quantity_Color; - - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Standard_Macro_HeaderFile -#include -#endif - -class SampleAISDisplayModePackage { - -public: - - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - // Methods PUBLIC - // -Standard_EXPORT static Handle_V3d_Viewer CreateViewer(const Standard_ExtString aName) ; -Standard_EXPORT static void SetWindow(const Handle(V3d_View)& aView,const Standard_Integer hiwin,const Standard_Integer lowin) ; -Standard_EXPORT static void DisplayBox(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void DisplaySphere(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void DisplayCylinder(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void EraseAll(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void InitContext(const Handle(AIS_InteractiveContext)& aContext) ; -Standard_EXPORT static void GetIsosNumber(const Handle(AIS_InteractiveContext)& aContext,Standard_Integer& u,Standard_Integer& v) ; -Standard_EXPORT static void SetIsosNumber(const Handle(AIS_InteractiveContext)& aContext,const Standard_Integer u,const Standard_Integer v,TCollection_AsciiString& Message) ; -Standard_EXPORT static void SetDisplayMode(const Handle(AIS_InteractiveContext)& aContext,const AIS_DisplayMode aMode,TCollection_AsciiString& Message) ; -Standard_EXPORT static void SetObjectDisplayMode(const Handle(AIS_InteractiveContext)& aContext,const AIS_DisplayMode aMode,TCollection_AsciiString& Message) ; -Standard_EXPORT static void SetObjectMaterial(const Handle(AIS_InteractiveContext)& aContext,const Graphic3d_NameOfMaterial aName,TCollection_AsciiString& Message) ; -Standard_EXPORT static Quantity_Color GetObjectColor(const Handle(AIS_InteractiveContext)& aContext) ; -Standard_EXPORT static void SetObjectColor(const Handle(AIS_InteractiveContext)& aContext,const Quantity_Color& aColor,TCollection_AsciiString& Message) ; -Standard_EXPORT static Standard_Real GetObjectTransparency(const Handle(AIS_InteractiveContext)& aContext) ; -Standard_EXPORT static void SetObjectTransparency(const Handle(AIS_InteractiveContext)& aContext,const Standard_Real aValue,TCollection_AsciiString& Message) ; -Standard_EXPORT static void CreateLight(const Handle(AIS_InteractiveContext)& aContext) ; -Standard_EXPORT static void SetFirstPointOfLight(const Handle(AIS_InteractiveContext)& aContext,const Handle(V3d_View)& aView,const Standard_Integer X,const Standard_Integer Y) ; -Standard_EXPORT static void MoveSecondPointOfLight(const Handle(AIS_InteractiveContext)& aContext,const Handle(V3d_View)& aView,const Standard_Integer X,const Standard_Integer Y) ; -Standard_EXPORT static void SetSecondPointOfLight(const Handle(AIS_InteractiveContext)& aContext) ; - - - - - -protected: - - // Methods PROTECTED - // - - - // Fields PROTECTED - // - - -private: - - // Methods PRIVATE - // - - - // Fields PRIVATE - // - - -}; - - - - - -// other Inline functions and methods (like "C++: function call" methods) -// - - -#endif diff --git a/samples/java/inc/SampleAISSelectJni_AIS_InteractiveContext.h b/samples/java/inc/SampleAISSelectJni_AIS_InteractiveContext.h deleted file mode 100755 index 609d6c6048..0000000000 --- a/samples/java/inc/SampleAISSelectJni_AIS_InteractiveContext.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISSelectJni_AIS_0005fInteractiveContext */ - -#ifndef _Included_SampleAISSelectJni_AIS_0005fInteractiveContext -#define _Included_SampleAISSelectJni_AIS_0005fInteractiveContext -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISSelectJni_MMgt_TShared.h b/samples/java/inc/SampleAISSelectJni_MMgt_TShared.h deleted file mode 100755 index 23506100d8..0000000000 --- a/samples/java/inc/SampleAISSelectJni_MMgt_TShared.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISSelectJni_MMgt_0005fTShared */ - -#ifndef _Included_SampleAISSelectJni_MMgt_0005fTShared -#define _Included_SampleAISSelectJni_MMgt_0005fTShared -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISSelectJni_Quantity_Color.h b/samples/java/inc/SampleAISSelectJni_Quantity_Color.h deleted file mode 100755 index 6800b56e95..0000000000 --- a/samples/java/inc/SampleAISSelectJni_Quantity_Color.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISSelectJni_Quantity_0005fColor */ - -#ifndef _Included_SampleAISSelectJni_Quantity_0005fColor -#define _Included_SampleAISSelectJni_Quantity_0005fColor -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleAISSelectJni_Quantity_0005fColor - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleAISSelectJni_Quantity_1Color_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISSelectJni_SampleAISSelectPackage.h b/samples/java/inc/SampleAISSelectJni_SampleAISSelectPackage.h deleted file mode 100755 index d747eb7305..0000000000 --- a/samples/java/inc/SampleAISSelectJni_SampleAISSelectPackage.h +++ /dev/null @@ -1,125 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISSelectJni_SampleAISSelectPackage */ - -#ifndef _Included_SampleAISSelectJni_SampleAISSelectPackage -#define _Included_SampleAISSelectJni_SampleAISSelectPackage -#ifdef __cplusplus -extern "C" { -#endif -/* - * Class: SampleAISSelectJni_SampleAISSelectPackage - * Method: CreateViewer - * Signature: (Ljava/lang/String;)LSampleAISSelectJni/V3d_Viewer; - */ -JNIEXPORT jobject JNICALL Java_SampleAISSelectJni_SampleAISSelectPackage_CreateViewer - (JNIEnv *, jclass, jstring); - -/* - * Class: SampleAISSelectJni_SampleAISSelectPackage - * Method: DisplayBox - * Signature: (LSampleAISSelectJni/AIS_InteractiveContext;LSampleAISSelectJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleAISSelectJni_SampleAISSelectPackage_DisplayBox - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleAISSelectJni_SampleAISSelectPackage - * Method: DisplayCylinder - * Signature: (LSampleAISSelectJni/AIS_InteractiveContext;LSampleAISSelectJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleAISSelectJni_SampleAISSelectPackage_DisplayCylinder - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleAISSelectJni_SampleAISSelectPackage - * Method: EndSelectFace - * Signature: (LSampleAISSelectJni/AIS_InteractiveContext;)V - */ -JNIEXPORT void JNICALL Java_SampleAISSelectJni_SampleAISSelectPackage_EndSelectFace - (JNIEnv *, jclass, jobject); - -/* - * Class: SampleAISSelectJni_SampleAISSelectPackage - * Method: GetFaceColor - * Signature: (LSampleAISSelectJni/AIS_InteractiveContext;)LSampleAISSelectJni/Quantity_Color; - */ -JNIEXPORT jobject JNICALL Java_SampleAISSelectJni_SampleAISSelectPackage_GetFaceColor - (JNIEnv *, jclass, jobject); - -/* - * Class: SampleAISSelectJni_SampleAISSelectPackage - * Method: IsCylinderSelected - * Signature: (LSampleAISSelectJni/AIS_InteractiveContext;)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleAISSelectJni_SampleAISSelectPackage_IsCylinderSelected - (JNIEnv *, jclass, jobject); - -/* - * Class: SampleAISSelectJni_SampleAISSelectPackage - * Method: MakeFillet - * Signature: (LSampleAISSelectJni/AIS_InteractiveContext;DLSampleAISSelectJni/TCollection_AsciiString;)I - */ -JNIEXPORT jint JNICALL Java_SampleAISSelectJni_SampleAISSelectPackage_MakeFillet - (JNIEnv *, jclass, jobject, jdouble, jobject); - -/* - * Class: SampleAISSelectJni_SampleAISSelectPackage - * Method: SelectEdges - * Signature: (LSampleAISSelectJni/AIS_InteractiveContext;LSampleAISSelectJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleAISSelectJni_SampleAISSelectPackage_SelectEdges - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleAISSelectJni_SampleAISSelectPackage - * Method: SelectFaces - * Signature: (LSampleAISSelectJni/AIS_InteractiveContext;LSampleAISSelectJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleAISSelectJni_SampleAISSelectPackage_SelectFaces - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleAISSelectJni_SampleAISSelectPackage - * Method: SelectNeutral - * Signature: (LSampleAISSelectJni/AIS_InteractiveContext;LSampleAISSelectJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleAISSelectJni_SampleAISSelectPackage_SelectNeutral - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleAISSelectJni_SampleAISSelectPackage - * Method: SelectVertices - * Signature: (LSampleAISSelectJni/AIS_InteractiveContext;LSampleAISSelectJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleAISSelectJni_SampleAISSelectPackage_SelectVertices - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleAISSelectJni_SampleAISSelectPackage - * Method: SetFaceColor - * Signature: (LSampleAISSelectJni/AIS_InteractiveContext;LSampleAISSelectJni/Quantity_Color;LSampleAISSelectJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleAISSelectJni_SampleAISSelectPackage_SetFaceColor - (JNIEnv *, jclass, jobject, jobject, jobject); - -/* - * Class: SampleAISSelectJni_SampleAISSelectPackage - * Method: SetWindow - * Signature: (LSampleAISSelectJni/V3d_View;II)V - */ -JNIEXPORT void JNICALL Java_SampleAISSelectJni_SampleAISSelectPackage_SetWindow - (JNIEnv *, jclass, jobject, jint, jint); - -/* - * Class: SampleAISSelectJni_SampleAISSelectPackage - * Method: StartSelectFace - * Signature: (LSampleAISSelectJni/AIS_InteractiveContext;)V - */ -JNIEXPORT void JNICALL Java_SampleAISSelectJni_SampleAISSelectPackage_StartSelectFace - (JNIEnv *, jclass, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISSelectJni_Standard_Storable.h b/samples/java/inc/SampleAISSelectJni_Standard_Storable.h deleted file mode 100755 index 10dfbf3275..0000000000 --- a/samples/java/inc/SampleAISSelectJni_Standard_Storable.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISSelectJni_Standard_0005fStorable */ - -#ifndef _Included_SampleAISSelectJni_Standard_0005fStorable -#define _Included_SampleAISSelectJni_Standard_0005fStorable -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISSelectJni_Standard_Transient.h b/samples/java/inc/SampleAISSelectJni_Standard_Transient.h deleted file mode 100755 index a2e1754a61..0000000000 --- a/samples/java/inc/SampleAISSelectJni_Standard_Transient.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISSelectJni_Standard_0005fTransient */ - -#ifndef _Included_SampleAISSelectJni_Standard_0005fTransient -#define _Included_SampleAISSelectJni_Standard_0005fTransient -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISSelectJni_TCollection_AsciiString.h b/samples/java/inc/SampleAISSelectJni_TCollection_AsciiString.h deleted file mode 100755 index b05239952e..0000000000 --- a/samples/java/inc/SampleAISSelectJni_TCollection_AsciiString.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISSelectJni_TCollection_0005fAsciiString */ - -#ifndef _Included_SampleAISSelectJni_TCollection_0005fAsciiString -#define _Included_SampleAISSelectJni_TCollection_0005fAsciiString -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleAISSelectJni_TCollection_0005fAsciiString - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleAISSelectJni_TCollection_1AsciiString_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISSelectJni_V3d_View.h b/samples/java/inc/SampleAISSelectJni_V3d_View.h deleted file mode 100755 index 18dc070c65..0000000000 --- a/samples/java/inc/SampleAISSelectJni_V3d_View.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISSelectJni_V3d_0005fView */ - -#ifndef _Included_SampleAISSelectJni_V3d_0005fView -#define _Included_SampleAISSelectJni_V3d_0005fView -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISSelectJni_V3d_Viewer.h b/samples/java/inc/SampleAISSelectJni_V3d_Viewer.h deleted file mode 100755 index 086c34c66d..0000000000 --- a/samples/java/inc/SampleAISSelectJni_V3d_Viewer.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISSelectJni_V3d_0005fViewer */ - -#ifndef _Included_SampleAISSelectJni_V3d_0005fViewer -#define _Included_SampleAISSelectJni_V3d_0005fViewer -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISSelectJni_Viewer_View.h b/samples/java/inc/SampleAISSelectJni_Viewer_View.h deleted file mode 100755 index a9c26c2a05..0000000000 --- a/samples/java/inc/SampleAISSelectJni_Viewer_View.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISSelectJni_Viewer_0005fView */ - -#ifndef _Included_SampleAISSelectJni_Viewer_0005fView -#define _Included_SampleAISSelectJni_Viewer_0005fView -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISSelectJni_Viewer_Viewer.h b/samples/java/inc/SampleAISSelectJni_Viewer_Viewer.h deleted file mode 100755 index 6c4b6ac035..0000000000 --- a/samples/java/inc/SampleAISSelectJni_Viewer_Viewer.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleAISSelectJni_Viewer_0005fViewer */ - -#ifndef _Included_SampleAISSelectJni_Viewer_0005fViewer -#define _Included_SampleAISSelectJni_Viewer_0005fViewer -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleAISSelectPackage.hxx b/samples/java/inc/SampleAISSelectPackage.hxx deleted file mode 100755 index f758b3985f..0000000000 --- a/samples/java/inc/SampleAISSelectPackage.hxx +++ /dev/null @@ -1,120 +0,0 @@ -// File generated by CPPExt (Value) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#ifndef _SampleAISSelectPackage_HeaderFile -#define _SampleAISSelectPackage_HeaderFile - -#ifndef _Handle_V3d_Viewer_HeaderFile -#include -#endif -#ifndef _Standard_ExtString_HeaderFile -#include -#endif -#ifndef _Handle_V3d_View_HeaderFile -#include -#endif -#ifndef _Standard_Integer_HeaderFile -#include -#endif -#ifndef _Handle_AIS_InteractiveContext_HeaderFile -#include -#endif -#ifndef _Standard_Real_HeaderFile -#include -#endif -#ifndef _Standard_Boolean_HeaderFile -#include -#endif -class V3d_Viewer; -class V3d_View; -class AIS_InteractiveContext; -class TCollection_AsciiString; -class Quantity_Color; - - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Standard_Macro_HeaderFile -#include -#endif - -class SampleAISSelectPackage { - -public: - - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - // Methods PUBLIC - // -Standard_EXPORT static Handle_V3d_Viewer CreateViewer(const Standard_ExtString aName) ; -Standard_EXPORT static void SetWindow(const Handle(V3d_View)& aView,const Standard_Integer hiwin,const Standard_Integer lowin) ; -Standard_EXPORT static void DisplayBox(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void DisplayCylinder(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void SelectVertices(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void SelectEdges(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void SelectFaces(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void SelectNeutral(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static Standard_Integer MakeFillet(const Handle(AIS_InteractiveContext)& aContext,const Standard_Real aValue,TCollection_AsciiString& Message) ; -Standard_EXPORT static Standard_Boolean IsCylinderSelected(const Handle(AIS_InteractiveContext)& aContext) ; -Standard_EXPORT static void StartSelectFace(const Handle(AIS_InteractiveContext)& aContext) ; -Standard_EXPORT static Quantity_Color GetFaceColor(const Handle(AIS_InteractiveContext)& aContext) ; -Standard_EXPORT static void SetFaceColor(const Handle(AIS_InteractiveContext)& aContext,const Quantity_Color& aColor,TCollection_AsciiString& Message) ; -Standard_EXPORT static void EndSelectFace(const Handle(AIS_InteractiveContext)& aContext) ; - - - - - -protected: - - // Methods PROTECTED - // - - - // Fields PROTECTED - // - - -private: - - // Methods PRIVATE - // - - - // Fields PRIVATE - // - - -}; - - - - - -// other Inline functions and methods (like "C++: function call" methods) -// - - -#endif diff --git a/samples/java/inc/SampleDisplayAnimationJni_AIS_InteractiveContext.h b/samples/java/inc/SampleDisplayAnimationJni_AIS_InteractiveContext.h deleted file mode 100755 index 8539b70981..0000000000 --- a/samples/java/inc/SampleDisplayAnimationJni_AIS_InteractiveContext.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleDisplayAnimationJni_AIS_0005fInteractiveContext */ - -#ifndef _Included_SampleDisplayAnimationJni_AIS_0005fInteractiveContext -#define _Included_SampleDisplayAnimationJni_AIS_0005fInteractiveContext -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleDisplayAnimationJni_MMgt_TShared.h b/samples/java/inc/SampleDisplayAnimationJni_MMgt_TShared.h deleted file mode 100755 index 0c49f11d59..0000000000 --- a/samples/java/inc/SampleDisplayAnimationJni_MMgt_TShared.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleDisplayAnimationJni_MMgt_0005fTShared */ - -#ifndef _Included_SampleDisplayAnimationJni_MMgt_0005fTShared -#define _Included_SampleDisplayAnimationJni_MMgt_0005fTShared -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleDisplayAnimationJni_SampleDisplayAnimationPackage.h b/samples/java/inc/SampleDisplayAnimationJni_SampleDisplayAnimationPackage.h deleted file mode 100755 index 51807dea7e..0000000000 --- a/samples/java/inc/SampleDisplayAnimationJni_SampleDisplayAnimationPackage.h +++ /dev/null @@ -1,85 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleDisplayAnimationJni_SampleDisplayAnimationPackage */ - -#ifndef _Included_SampleDisplayAnimationJni_SampleDisplayAnimationPackage -#define _Included_SampleDisplayAnimationJni_SampleDisplayAnimationPackage -#ifdef __cplusplus -extern "C" { -#endif -/* - * Class: SampleDisplayAnimationJni_SampleDisplayAnimationPackage - * Method: ChangePosition - * Signature: (LSampleDisplayAnimationJni/AIS_InteractiveContext;)V - */ -JNIEXPORT void JNICALL Java_SampleDisplayAnimationJni_SampleDisplayAnimationPackage_ChangePosition - (JNIEnv *, jclass, jobject); - -/* - * Class: SampleDisplayAnimationJni_SampleDisplayAnimationPackage - * Method: CreateViewer - * Signature: (Ljava/lang/String;)LSampleDisplayAnimationJni/V3d_Viewer; - */ -JNIEXPORT jobject JNICALL Java_SampleDisplayAnimationJni_SampleDisplayAnimationPackage_CreateViewer - (JNIEnv *, jclass, jstring); - -/* - * Class: SampleDisplayAnimationJni_SampleDisplayAnimationPackage - * Method: GetAngleIncrement - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_SampleDisplayAnimationJni_SampleDisplayAnimationPackage_GetAngleIncrement - (JNIEnv *, jclass); - -/* - * Class: SampleDisplayAnimationJni_SampleDisplayAnimationPackage - * Method: GetDeviationCoefficient - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_SampleDisplayAnimationJni_SampleDisplayAnimationPackage_GetDeviationCoefficient - (JNIEnv *, jclass); - -/* - * Class: SampleDisplayAnimationJni_SampleDisplayAnimationPackage - * Method: LoadData - * Signature: (LSampleDisplayAnimationJni/AIS_InteractiveContext;Ljcas/Standard_CString;)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleDisplayAnimationJni_SampleDisplayAnimationPackage_LoadData - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleDisplayAnimationJni_SampleDisplayAnimationPackage - * Method: SaveImage - * Signature: (Ljcas/Standard_CString;Ljcas/Standard_CString;LSampleDisplayAnimationJni/V3d_View;)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleDisplayAnimationJni_SampleDisplayAnimationPackage_SaveImage - (JNIEnv *, jclass, jobject, jobject, jobject); - -/* - * Class: SampleDisplayAnimationJni_SampleDisplayAnimationPackage - * Method: SetAngleIncrement - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_SampleDisplayAnimationJni_SampleDisplayAnimationPackage_SetAngleIncrement - (JNIEnv *, jclass, jint); - -/* - * Class: SampleDisplayAnimationJni_SampleDisplayAnimationPackage - * Method: SetDeviationCoefficient - * Signature: (LSampleDisplayAnimationJni/AIS_InteractiveContext;D)V - */ -JNIEXPORT void JNICALL Java_SampleDisplayAnimationJni_SampleDisplayAnimationPackage_SetDeviationCoefficient - (JNIEnv *, jclass, jobject, jdouble); - -/* - * Class: SampleDisplayAnimationJni_SampleDisplayAnimationPackage - * Method: SetWindow - * Signature: (LSampleDisplayAnimationJni/V3d_View;II)V - */ -JNIEXPORT void JNICALL Java_SampleDisplayAnimationJni_SampleDisplayAnimationPackage_SetWindow - (JNIEnv *, jclass, jobject, jint, jint); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleDisplayAnimationJni_Standard_Transient.h b/samples/java/inc/SampleDisplayAnimationJni_Standard_Transient.h deleted file mode 100755 index 417cbf7567..0000000000 --- a/samples/java/inc/SampleDisplayAnimationJni_Standard_Transient.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleDisplayAnimationJni_Standard_0005fTransient */ - -#ifndef _Included_SampleDisplayAnimationJni_Standard_0005fTransient -#define _Included_SampleDisplayAnimationJni_Standard_0005fTransient -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleDisplayAnimationJni_V3d_View.h b/samples/java/inc/SampleDisplayAnimationJni_V3d_View.h deleted file mode 100755 index 5a7dbaf956..0000000000 --- a/samples/java/inc/SampleDisplayAnimationJni_V3d_View.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleDisplayAnimationJni_V3d_0005fView */ - -#ifndef _Included_SampleDisplayAnimationJni_V3d_0005fView -#define _Included_SampleDisplayAnimationJni_V3d_0005fView -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleDisplayAnimationJni_V3d_Viewer.h b/samples/java/inc/SampleDisplayAnimationJni_V3d_Viewer.h deleted file mode 100755 index b8231ac3c4..0000000000 --- a/samples/java/inc/SampleDisplayAnimationJni_V3d_Viewer.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleDisplayAnimationJni_V3d_0005fViewer */ - -#ifndef _Included_SampleDisplayAnimationJni_V3d_0005fViewer -#define _Included_SampleDisplayAnimationJni_V3d_0005fViewer -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleDisplayAnimationJni_Viewer_View.h b/samples/java/inc/SampleDisplayAnimationJni_Viewer_View.h deleted file mode 100755 index f44d4dcf76..0000000000 --- a/samples/java/inc/SampleDisplayAnimationJni_Viewer_View.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleDisplayAnimationJni_Viewer_0005fView */ - -#ifndef _Included_SampleDisplayAnimationJni_Viewer_0005fView -#define _Included_SampleDisplayAnimationJni_Viewer_0005fView -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleDisplayAnimationJni_Viewer_Viewer.h b/samples/java/inc/SampleDisplayAnimationJni_Viewer_Viewer.h deleted file mode 100755 index 5920c2bf73..0000000000 --- a/samples/java/inc/SampleDisplayAnimationJni_Viewer_Viewer.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleDisplayAnimationJni_Viewer_0005fViewer */ - -#ifndef _Included_SampleDisplayAnimationJni_Viewer_0005fViewer -#define _Included_SampleDisplayAnimationJni_Viewer_0005fViewer -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleDisplayAnimationPackage.hxx b/samples/java/inc/SampleDisplayAnimationPackage.hxx deleted file mode 100755 index f9deaba232..0000000000 --- a/samples/java/inc/SampleDisplayAnimationPackage.hxx +++ /dev/null @@ -1,116 +0,0 @@ -// File generated by CPPExt (Value) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#ifndef _SampleDisplayAnimationPackage_HeaderFile -#define _SampleDisplayAnimationPackage_HeaderFile - -#ifndef _Handle_V3d_Viewer_HeaderFile -#include -#endif -#ifndef _Standard_ExtString_HeaderFile -#include -#endif -#ifndef _Handle_V3d_View_HeaderFile -#include -#endif -#ifndef _Standard_Integer_HeaderFile -#include -#endif -#ifndef _Standard_Boolean_HeaderFile -#include -#endif -#ifndef _Handle_AIS_InteractiveContext_HeaderFile -#include -#endif -#ifndef _Standard_CString_HeaderFile -#include -#endif -#ifndef _Standard_Real_HeaderFile -#include -#endif -class V3d_Viewer; -class V3d_View; -class AIS_InteractiveContext; - - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Standard_Macro_HeaderFile -#include -#endif - -class SampleDisplayAnimationPackage { - -public: - - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - // Methods PUBLIC - // -Standard_EXPORT static Handle_V3d_Viewer CreateViewer(const Standard_ExtString aName) ; -Standard_EXPORT static void SetWindow(const Handle(V3d_View)& aView,const Standard_Integer hiwin,const Standard_Integer lowin) ; -Standard_EXPORT static Standard_Boolean LoadData(const Handle(AIS_InteractiveContext)& aContext,const Standard_CString aPath) ; -Standard_EXPORT static void ChangePosition(const Handle(AIS_InteractiveContext)& aContext) ; -Standard_EXPORT static Standard_Real GetDeviationCoefficient() ; -Standard_EXPORT static void SetDeviationCoefficient(const Handle(AIS_InteractiveContext)& aContext,const Standard_Real aValue) ; -Standard_EXPORT static Standard_Integer GetAngleIncrement() ; -Standard_EXPORT static void SetAngleIncrement(const Standard_Integer aValue) ; -Standard_EXPORT static Standard_Boolean SaveImage(const Standard_CString aFileName,const Standard_CString aFormat,const Handle(V3d_View)& aView) ; - - - - - -protected: - - // Methods PROTECTED - // - - - // Fields PROTECTED - // - - -private: - - // Methods PRIVATE - // - - - // Fields PRIVATE - // - - -}; - - - - - -// other Inline functions and methods (like "C++: function call" methods) -// - - -#endif diff --git a/samples/java/inc/SampleGeometryJni_AIS_InteractiveContext.h b/samples/java/inc/SampleGeometryJni_AIS_InteractiveContext.h deleted file mode 100755 index 0a3b86f381..0000000000 --- a/samples/java/inc/SampleGeometryJni_AIS_InteractiveContext.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleGeometryJni_AIS_0005fInteractiveContext */ - -#ifndef _Included_SampleGeometryJni_AIS_0005fInteractiveContext -#define _Included_SampleGeometryJni_AIS_0005fInteractiveContext -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleGeometryJni_ISession2D_InteractiveContext.h b/samples/java/inc/SampleGeometryJni_ISession2D_InteractiveContext.h deleted file mode 100755 index e01273ce8c..0000000000 --- a/samples/java/inc/SampleGeometryJni_ISession2D_InteractiveContext.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleGeometryJni_ISession2D_0005fInteractiveContext */ - -#ifndef _Included_SampleGeometryJni_ISession2D_0005fInteractiveContext -#define _Included_SampleGeometryJni_ISession2D_0005fInteractiveContext -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleGeometryJni_MMgt_TShared.h b/samples/java/inc/SampleGeometryJni_MMgt_TShared.h deleted file mode 100755 index 799018cc55..0000000000 --- a/samples/java/inc/SampleGeometryJni_MMgt_TShared.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleGeometryJni_MMgt_0005fTShared */ - -#ifndef _Included_SampleGeometryJni_MMgt_0005fTShared -#define _Included_SampleGeometryJni_MMgt_0005fTShared -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleGeometryJni_SampleGeometryPackage.h b/samples/java/inc/SampleGeometryJni_SampleGeometryPackage.h deleted file mode 100755 index 4627c761b6..0000000000 --- a/samples/java/inc/SampleGeometryJni_SampleGeometryPackage.h +++ /dev/null @@ -1,453 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleGeometryJni_SampleGeometryPackage */ - -#ifndef _Included_SampleGeometryJni_SampleGeometryPackage -#define _Included_SampleGeometryJni_SampleGeometryPackage -#ifdef __cplusplus -extern "C" { -#endif -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: CreateView2d - * Signature: (LSampleGeometryJni/V2d_Viewer;II)LSampleGeometryJni/V2d_View; - */ -JNIEXPORT jobject JNICALL Java_SampleGeometryJni_SampleGeometryPackage_CreateView2d - (JNIEnv *, jclass, jobject, jint, jint); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: CreateViewer2d - * Signature: (Ljava/lang/String;)LSampleGeometryJni/V2d_Viewer; - */ -JNIEXPORT jobject JNICALL Java_SampleGeometryJni_SampleGeometryPackage_CreateViewer2d - (JNIEnv *, jclass, jstring); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: CreateViewer3d - * Signature: (Ljava/lang/String;)LSampleGeometryJni/V3d_Viewer; - */ -JNIEXPORT jobject JNICALL Java_SampleGeometryJni_SampleGeometryPackage_CreateViewer3d - (JNIEnv *, jclass, jstring); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: SaveImage - * Signature: (Ljcas/Standard_CString;Ljcas/Standard_CString;LSampleGeometryJni/V3d_View;)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleGeometryJni_SampleGeometryPackage_SaveImage - (JNIEnv *, jclass, jobject, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: SetWindow3d - * Signature: (LSampleGeometryJni/V3d_View;II)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_SetWindow3d - (JNIEnv *, jclass, jobject, jint, jint); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest1 - * Signature: (LSampleGeometryJni/AIS_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest1 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest10 - * Signature: (LSampleGeometryJni/ISession2D_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest10 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest11 - * Signature: (LSampleGeometryJni/AIS_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest11 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest12 - * Signature: (LSampleGeometryJni/AIS_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest12 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest13 - * Signature: (LSampleGeometryJni/AIS_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest13 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest14 - * Signature: (LSampleGeometryJni/AIS_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest14 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest15 - * Signature: (LSampleGeometryJni/AIS_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest15 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest16 - * Signature: (LSampleGeometryJni/AIS_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest16 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest17 - * Signature: (LSampleGeometryJni/AIS_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest17 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest18 - * Signature: (LSampleGeometryJni/ISession2D_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest18 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest19 - * Signature: (LSampleGeometryJni/AIS_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest19 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest2 - * Signature: (LSampleGeometryJni/AIS_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest2 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest20 - * Signature: (LSampleGeometryJni/ISession2D_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest20 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest21 - * Signature: (LSampleGeometryJni/ISession2D_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest21 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest22 - * Signature: (LSampleGeometryJni/ISession2D_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest22 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest23 - * Signature: (LSampleGeometryJni/ISession2D_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest23 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest24 - * Signature: (LSampleGeometryJni/AIS_InteractiveContext;LSampleGeometryJni/ISession2D_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest24 - (JNIEnv *, jclass, jobject, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest25 - * Signature: (LSampleGeometryJni/ISession2D_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest25 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest26 - * Signature: (LSampleGeometryJni/ISession2D_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest26 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest27 - * Signature: (LSampleGeometryJni/ISession2D_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest27 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest28 - * Signature: (LSampleGeometryJni/ISession2D_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest28 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest29 - * Signature: (LSampleGeometryJni/ISession2D_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest29 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest3 - * Signature: (LSampleGeometryJni/AIS_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest3 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest30 - * Signature: (LSampleGeometryJni/ISession2D_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest30 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest31 - * Signature: (LSampleGeometryJni/ISession2D_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest31 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest32 - * Signature: (LSampleGeometryJni/ISession2D_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest32 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest33 - * Signature: (LSampleGeometryJni/AIS_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest33 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest34 - * Signature: (LSampleGeometryJni/AIS_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest34 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest35 - * Signature: (LSampleGeometryJni/AIS_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest35 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest36 - * Signature: (LSampleGeometryJni/AIS_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest36 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest37 - * Signature: (LSampleGeometryJni/AIS_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest37 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest38 - * Signature: (LSampleGeometryJni/AIS_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest38 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest39 - * Signature: (LSampleGeometryJni/AIS_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest39 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest4 - * Signature: (LSampleGeometryJni/AIS_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest4 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest40 - * Signature: (LSampleGeometryJni/AIS_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest40 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest41 - * Signature: (LSampleGeometryJni/AIS_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest41 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest42 - * Signature: (LSampleGeometryJni/AIS_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest42 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest43 - * Signature: (LSampleGeometryJni/AIS_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest43 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest44 - * Signature: (LSampleGeometryJni/AIS_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest44 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest45 - * Signature: (LSampleGeometryJni/AIS_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest45 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest46 - * Signature: (LSampleGeometryJni/AIS_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest46 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest47 - * Signature: (LSampleGeometryJni/AIS_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest47 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest48 - * Signature: (LSampleGeometryJni/ISession2D_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest48 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest49 - * Signature: (LSampleGeometryJni/AIS_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest49 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest5 - * Signature: (LSampleGeometryJni/AIS_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest5 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest50 - * Signature: (LSampleGeometryJni/AIS_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest50 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest6 - * Signature: (LSampleGeometryJni/AIS_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest6 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest7 - * Signature: (LSampleGeometryJni/ISession2D_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest7 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest8 - * Signature: (LSampleGeometryJni/ISession2D_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest8 - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleGeometryJni_SampleGeometryPackage - * Method: gpTest9 - * Signature: (LSampleGeometryJni/ISession2D_InteractiveContext;LSampleGeometryJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_SampleGeometryPackage_gpTest9 - (JNIEnv *, jclass, jobject, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleGeometryJni_Standard_Transient.h b/samples/java/inc/SampleGeometryJni_Standard_Transient.h deleted file mode 100755 index b2cb01d41c..0000000000 --- a/samples/java/inc/SampleGeometryJni_Standard_Transient.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleGeometryJni_Standard_0005fTransient */ - -#ifndef _Included_SampleGeometryJni_Standard_0005fTransient -#define _Included_SampleGeometryJni_Standard_0005fTransient -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleGeometryJni_TCollection_AsciiString.h b/samples/java/inc/SampleGeometryJni_TCollection_AsciiString.h deleted file mode 100755 index d3b55e8452..0000000000 --- a/samples/java/inc/SampleGeometryJni_TCollection_AsciiString.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleGeometryJni_TCollection_0005fAsciiString */ - -#ifndef _Included_SampleGeometryJni_TCollection_0005fAsciiString -#define _Included_SampleGeometryJni_TCollection_0005fAsciiString -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleGeometryJni_TCollection_0005fAsciiString - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleGeometryJni_TCollection_1AsciiString_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleGeometryJni_V2d_View.h b/samples/java/inc/SampleGeometryJni_V2d_View.h deleted file mode 100755 index b309d6ce34..0000000000 --- a/samples/java/inc/SampleGeometryJni_V2d_View.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleGeometryJni_V2d_0005fView */ - -#ifndef _Included_SampleGeometryJni_V2d_0005fView -#define _Included_SampleGeometryJni_V2d_0005fView -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleGeometryJni_V2d_Viewer.h b/samples/java/inc/SampleGeometryJni_V2d_Viewer.h deleted file mode 100755 index 0d5a0a0629..0000000000 --- a/samples/java/inc/SampleGeometryJni_V2d_Viewer.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleGeometryJni_V2d_0005fViewer */ - -#ifndef _Included_SampleGeometryJni_V2d_0005fViewer -#define _Included_SampleGeometryJni_V2d_0005fViewer -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleGeometryJni_V3d_View.h b/samples/java/inc/SampleGeometryJni_V3d_View.h deleted file mode 100755 index a72eafadc0..0000000000 --- a/samples/java/inc/SampleGeometryJni_V3d_View.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleGeometryJni_V3d_0005fView */ - -#ifndef _Included_SampleGeometryJni_V3d_0005fView -#define _Included_SampleGeometryJni_V3d_0005fView -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleGeometryJni_V3d_Viewer.h b/samples/java/inc/SampleGeometryJni_V3d_Viewer.h deleted file mode 100755 index b120dc9eb9..0000000000 --- a/samples/java/inc/SampleGeometryJni_V3d_Viewer.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleGeometryJni_V3d_0005fViewer */ - -#ifndef _Included_SampleGeometryJni_V3d_0005fViewer -#define _Included_SampleGeometryJni_V3d_0005fViewer -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleGeometryJni_Viewer_View.h b/samples/java/inc/SampleGeometryJni_Viewer_View.h deleted file mode 100755 index 870f150b52..0000000000 --- a/samples/java/inc/SampleGeometryJni_Viewer_View.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleGeometryJni_Viewer_0005fView */ - -#ifndef _Included_SampleGeometryJni_Viewer_0005fView -#define _Included_SampleGeometryJni_Viewer_0005fView -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleGeometryJni_Viewer_Viewer.h b/samples/java/inc/SampleGeometryJni_Viewer_Viewer.h deleted file mode 100755 index 3a53a1436f..0000000000 --- a/samples/java/inc/SampleGeometryJni_Viewer_Viewer.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleGeometryJni_Viewer_0005fViewer */ - -#ifndef _Included_SampleGeometryJni_Viewer_0005fViewer -#define _Included_SampleGeometryJni_Viewer_0005fViewer -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleGeometryPackage.hxx b/samples/java/inc/SampleGeometryPackage.hxx deleted file mode 100755 index 2d6ae4238e..0000000000 --- a/samples/java/inc/SampleGeometryPackage.hxx +++ /dev/null @@ -1,172 +0,0 @@ -// File generated by CPPExt (Value) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#ifndef _SampleGeometryPackage_HeaderFile -#define _SampleGeometryPackage_HeaderFile - -#ifndef _Handle_V3d_Viewer_HeaderFile -#include -#endif -#ifndef _Standard_ExtString_HeaderFile -#include -#endif -#ifndef _Handle_V3d_View_HeaderFile -#include -#endif -#ifndef _Standard_Integer_HeaderFile -#include -#endif -#ifndef _Handle_V2d_Viewer_HeaderFile -#include -#endif -#ifndef _Handle_V2d_View_HeaderFile -#include -#endif -#ifndef _Handle_AIS_InteractiveContext_HeaderFile -#include -#endif -#ifndef _Handle_ISession2D_InteractiveContext_HeaderFile -#include -#endif -#ifndef _Standard_Boolean_HeaderFile -#include -#endif -#ifndef _Standard_CString_HeaderFile -#include -#endif -class V3d_Viewer; -class V3d_View; -class V2d_Viewer; -class V2d_View; -class AIS_InteractiveContext; -class TCollection_AsciiString; -class ISession2D_InteractiveContext; - - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Standard_Macro_HeaderFile -#include -#endif - -class SampleGeometryPackage { - -public: - - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - // Methods PUBLIC - // -Standard_EXPORT static Handle_V3d_Viewer CreateViewer3d(const Standard_ExtString aName) ; -Standard_EXPORT static void SetWindow3d(const Handle(V3d_View)& aView,const Standard_Integer hiwin,const Standard_Integer lowin) ; -Standard_EXPORT static Handle_V2d_Viewer CreateViewer2d(const Standard_ExtString aName) ; -Standard_EXPORT static Handle_V2d_View CreateView2d(const Handle(V2d_Viewer)& aViewer,const Standard_Integer hiwin,const Standard_Integer lowin) ; -Standard_EXPORT static void gpTest1(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest2(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest3(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest4(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest5(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest6(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest7(const Handle(ISession2D_InteractiveContext)& aContext2D,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest8(const Handle(ISession2D_InteractiveContext)& aContext2D,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest9(const Handle(ISession2D_InteractiveContext)& aContext2D,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest10(const Handle(ISession2D_InteractiveContext)& aContext2D,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest11(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest12(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest13(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest14(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest15(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest16(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest17(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest18(const Handle(ISession2D_InteractiveContext)& aContext2D,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest19(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest20(const Handle(ISession2D_InteractiveContext)& aContext2D,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest21(const Handle(ISession2D_InteractiveContext)& aContext2D,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest22(const Handle(ISession2D_InteractiveContext)& aContext2D,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest23(const Handle(ISession2D_InteractiveContext)& aContext2D,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest24(const Handle(AIS_InteractiveContext)& aContext,const Handle(ISession2D_InteractiveContext)& aContext2D,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest25(const Handle(ISession2D_InteractiveContext)& aContext2D,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest26(const Handle(ISession2D_InteractiveContext)& aContext2D,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest27(const Handle(ISession2D_InteractiveContext)& aContext2D,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest28(const Handle(ISession2D_InteractiveContext)& aContext2D,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest29(const Handle(ISession2D_InteractiveContext)& aContext2D,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest30(const Handle(ISession2D_InteractiveContext)& aContext2D,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest31(const Handle(ISession2D_InteractiveContext)& aContext2D,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest32(const Handle(ISession2D_InteractiveContext)& aContext2D,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest33(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest34(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest35(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest36(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest37(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest38(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest39(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest40(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest41(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest42(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest43(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest44(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest45(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest46(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest47(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest48(const Handle(ISession2D_InteractiveContext)& aContext2D,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest49(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void gpTest50(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static Standard_Boolean SaveImage(const Standard_CString aFileName,const Standard_CString aFormat,const Handle(V3d_View)& aView) ; - - - - - -protected: - - // Methods PROTECTED - // - - - // Fields PROTECTED - // - - -private: - - // Methods PRIVATE - // - - - // Fields PRIVATE - // - - -}; - - - - - -// other Inline functions and methods (like "C++: function call" methods) -// - - -#endif diff --git a/samples/java/inc/SampleHLRJni_AIS_InteractiveContext.h b/samples/java/inc/SampleHLRJni_AIS_InteractiveContext.h deleted file mode 100755 index caf89fa9df..0000000000 --- a/samples/java/inc/SampleHLRJni_AIS_InteractiveContext.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_AIS_0005fInteractiveContext */ - -#ifndef _Included_SampleHLRJni_AIS_0005fInteractiveContext -#define _Included_SampleHLRJni_AIS_0005fInteractiveContext -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Aspect_Background.h b/samples/java/inc/SampleHLRJni_Aspect_Background.h deleted file mode 100755 index 524d5fe766..0000000000 --- a/samples/java/inc/SampleHLRJni_Aspect_Background.h +++ /dev/null @@ -1,54 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Aspect_0005fBackground */ - -#ifndef _Included_SampleHLRJni_Aspect_0005fBackground -#define _Included_SampleHLRJni_Aspect_0005fBackground -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleHLRJni_Aspect_0005fBackground - * Method: Aspect_Background_Create_1 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Background_Aspect_1Background_1Create_11 - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fBackground - * Method: Aspect_Background_Create_2 - * Signature: (LSampleHLRJni/Quantity_Color;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Background_Aspect_1Background_1Create_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fBackground - * Method: Color - * Signature: ()LSampleHLRJni/Quantity_Color; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1Background_Color - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fBackground - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Background_FinalizeValue - (JNIEnv *, jclass, jlong); - -/* - * Class: SampleHLRJni_Aspect_0005fBackground - * Method: SetColor - * Signature: (LSampleHLRJni/Quantity_Color;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Background_SetColor - (JNIEnv *, jobject, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Aspect_ColorCubeColorMap.h b/samples/java/inc/SampleHLRJni_Aspect_ColorCubeColorMap.h deleted file mode 100755 index e54872ef51..0000000000 --- a/samples/java/inc/SampleHLRJni_Aspect_ColorCubeColorMap.h +++ /dev/null @@ -1,70 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Aspect_0005fColorCubeColorMap */ - -#ifndef _Included_SampleHLRJni_Aspect_0005fColorCubeColorMap -#define _Included_SampleHLRJni_Aspect_0005fColorCubeColorMap -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleHLRJni_Aspect_0005fColorCubeColorMap - * Method: AddEntry - * Signature: (LSampleHLRJni/Quantity_Color;)I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1ColorCubeColorMap_AddEntry - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fColorCubeColorMap - * Method: Aspect_ColorCubeColorMap_Create_0 - * Signature: (IIIIIII)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1ColorCubeColorMap_Aspect_1ColorCubeColorMap_1Create_10 - (JNIEnv *, jobject, jint, jint, jint, jint, jint, jint, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fColorCubeColorMap - * Method: ColorCubeDefinition - * Signature: (Ljcas/Standard_Integer;Ljcas/Standard_Integer;Ljcas/Standard_Integer;Ljcas/Standard_Integer;Ljcas/Standard_Integer;Ljcas/Standard_Integer;Ljcas/Standard_Integer;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1ColorCubeColorMap_ColorCubeDefinition - (JNIEnv *, jobject, jobject, jobject, jobject, jobject, jobject, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fColorCubeColorMap - * Method: FindColorMapIndex - * Signature: (I)I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1ColorCubeColorMap_FindColorMapIndex - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fColorCubeColorMap - * Method: FindEntry - * Signature: (I)LSampleHLRJni/Aspect_ColorMapEntry; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1ColorCubeColorMap_FindEntry - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fColorCubeColorMap - * Method: NearestColorMapIndex - * Signature: (LSampleHLRJni/Quantity_Color;)I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1ColorCubeColorMap_NearestColorMapIndex - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fColorCubeColorMap - * Method: NearestEntry - * Signature: (LSampleHLRJni/Quantity_Color;)LSampleHLRJni/Aspect_ColorMapEntry; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1ColorCubeColorMap_NearestEntry - (JNIEnv *, jobject, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Aspect_ColorMap.h b/samples/java/inc/SampleHLRJni_Aspect_ColorMap.h deleted file mode 100755 index 4bf2d48dc0..0000000000 --- a/samples/java/inc/SampleHLRJni_Aspect_ColorMap.h +++ /dev/null @@ -1,94 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Aspect_0005fColorMap */ - -#ifndef _Included_SampleHLRJni_Aspect_0005fColorMap -#define _Included_SampleHLRJni_Aspect_0005fColorMap -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleHLRJni_Aspect_0005fColorMap - * Method: AddEntry - * Signature: (LSampleHLRJni/Quantity_Color;)I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1ColorMap_AddEntry - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fColorMap - * Method: Dump - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1ColorMap_Dump - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fColorMap - * Method: Entry - * Signature: (I)LSampleHLRJni/Aspect_ColorMapEntry; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1ColorMap_Entry - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fColorMap - * Method: FindColorMapIndex - * Signature: (I)I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1ColorMap_FindColorMapIndex - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fColorMap - * Method: FindEntry - * Signature: (I)LSampleHLRJni/Aspect_ColorMapEntry; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1ColorMap_FindEntry - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fColorMap - * Method: Index - * Signature: (I)I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1ColorMap_Index - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fColorMap - * Method: NearestColorMapIndex - * Signature: (LSampleHLRJni/Quantity_Color;)I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1ColorMap_NearestColorMapIndex - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fColorMap - * Method: NearestEntry - * Signature: (LSampleHLRJni/Quantity_Color;)LSampleHLRJni/Aspect_ColorMapEntry; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1ColorMap_NearestEntry - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fColorMap - * Method: Size - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1ColorMap_Size - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fColorMap - * Method: Type - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_SampleHLRJni_Aspect_1ColorMap_Type - (JNIEnv *, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Aspect_ColorMapEntry.h b/samples/java/inc/SampleHLRJni_Aspect_ColorMapEntry.h deleted file mode 100755 index c4a4948fa3..0000000000 --- a/samples/java/inc/SampleHLRJni_Aspect_ColorMapEntry.h +++ /dev/null @@ -1,118 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Aspect_0005fColorMapEntry */ - -#ifndef _Included_SampleHLRJni_Aspect_0005fColorMapEntry -#define _Included_SampleHLRJni_Aspect_0005fColorMapEntry -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleHLRJni_Aspect_0005fColorMapEntry - * Method: Aspect_ColorMapEntry_Create_1 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1ColorMapEntry_Aspect_1ColorMapEntry_1Create_11 - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fColorMapEntry - * Method: Aspect_ColorMapEntry_Create_2 - * Signature: (ILSampleHLRJni/Quantity_Color;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1ColorMapEntry_Aspect_1ColorMapEntry_1Create_12 - (JNIEnv *, jobject, jint, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fColorMapEntry - * Method: Aspect_ColorMapEntry_Create_3 - * Signature: (LSampleHLRJni/Aspect_ColorMapEntry;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1ColorMapEntry_Aspect_1ColorMapEntry_1Create_13 - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fColorMapEntry - * Method: Aspect_ColorMapEntry_SetValue_1 - * Signature: (ILSampleHLRJni/Quantity_Color;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1ColorMapEntry_Aspect_1ColorMapEntry_1SetValue_11 - (JNIEnv *, jobject, jint, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fColorMapEntry - * Method: Aspect_ColorMapEntry_SetValue_2 - * Signature: (LSampleHLRJni/Aspect_ColorMapEntry;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1ColorMapEntry_Aspect_1ColorMapEntry_1SetValue_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fColorMapEntry - * Method: Color - * Signature: ()LSampleHLRJni/Quantity_Color; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1ColorMapEntry_Color - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fColorMapEntry - * Method: Dump - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1ColorMapEntry_Dump - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fColorMapEntry - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1ColorMapEntry_FinalizeValue - (JNIEnv *, jclass, jlong); - -/* - * Class: SampleHLRJni_Aspect_0005fColorMapEntry - * Method: Free - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1ColorMapEntry_Free - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fColorMapEntry - * Method: Index - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1ColorMapEntry_Index - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fColorMapEntry - * Method: IsAllocated - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1ColorMapEntry_IsAllocated - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fColorMapEntry - * Method: SetColor - * Signature: (LSampleHLRJni/Quantity_Color;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1ColorMapEntry_SetColor - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fColorMapEntry - * Method: SetIndex - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1ColorMapEntry_SetIndex - (JNIEnv *, jobject, jint); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Aspect_ColorRampColorMap.h b/samples/java/inc/SampleHLRJni_Aspect_ColorRampColorMap.h deleted file mode 100755 index acd6ac382c..0000000000 --- a/samples/java/inc/SampleHLRJni_Aspect_ColorRampColorMap.h +++ /dev/null @@ -1,78 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Aspect_0005fColorRampColorMap */ - -#ifndef _Included_SampleHLRJni_Aspect_0005fColorRampColorMap -#define _Included_SampleHLRJni_Aspect_0005fColorRampColorMap -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleHLRJni_Aspect_0005fColorRampColorMap - * Method: AddEntry - * Signature: (LSampleHLRJni/Quantity_Color;)I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1ColorRampColorMap_AddEntry - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fColorRampColorMap - * Method: Aspect_ColorRampColorMap_Create_1 - * Signature: (IILSampleHLRJni/Quantity_Color;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1ColorRampColorMap_Aspect_1ColorRampColorMap_1Create_11 - (JNIEnv *, jobject, jint, jint, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fColorRampColorMap - * Method: Aspect_ColorRampColorMap_Create_2 - * Signature: (IIS)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1ColorRampColorMap_Aspect_1ColorRampColorMap_1Create_12 - (JNIEnv *, jobject, jint, jint, jshort); - -/* - * Class: SampleHLRJni_Aspect_0005fColorRampColorMap - * Method: ColorRampDefinition - * Signature: (Ljcas/Standard_Integer;Ljcas/Standard_Integer;LSampleHLRJni/Quantity_Color;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1ColorRampColorMap_ColorRampDefinition - (JNIEnv *, jobject, jobject, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fColorRampColorMap - * Method: FindColorMapIndex - * Signature: (I)I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1ColorRampColorMap_FindColorMapIndex - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fColorRampColorMap - * Method: FindEntry - * Signature: (I)LSampleHLRJni/Aspect_ColorMapEntry; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1ColorRampColorMap_FindEntry - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fColorRampColorMap - * Method: NearestColorMapIndex - * Signature: (LSampleHLRJni/Quantity_Color;)I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1ColorRampColorMap_NearestColorMapIndex - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fColorRampColorMap - * Method: NearestEntry - * Signature: (LSampleHLRJni/Quantity_Color;)LSampleHLRJni/Aspect_ColorMapEntry; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1ColorRampColorMap_NearestEntry - (JNIEnv *, jobject, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Aspect_Driver.h b/samples/java/inc/SampleHLRJni_Aspect_Driver.h deleted file mode 100755 index 7e6b259601..0000000000 --- a/samples/java/inc/SampleHLRJni_Aspect_Driver.h +++ /dev/null @@ -1,374 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Aspect_0005fDriver */ - -#ifndef _Included_SampleHLRJni_Aspect_0005fDriver -#define _Included_SampleHLRJni_Aspect_0005fDriver -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: Aspect_Driver_Convert_1 - * Signature: (I)D - */ -JNIEXPORT jdouble JNICALL Java_SampleHLRJni_Aspect_1Driver_Aspect_1Driver_1Convert_11 - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: Aspect_Driver_Convert_2 - * Signature: (D)I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1Driver_Aspect_1Driver_1Convert_12 - (JNIEnv *, jobject, jdouble); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: Aspect_Driver_Convert_3 - * Signature: (IILjcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_Aspect_1Driver_1Convert_13 - (JNIEnv *, jobject, jint, jint, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: Aspect_Driver_Convert_4 - * Signature: (DDLjcas/Standard_Integer;Ljcas/Standard_Integer;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_Aspect_1Driver_1Convert_14 - (JNIEnv *, jobject, jdouble, jdouble, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: Aspect_Driver_SetTextAttrib_1 - * Signature: (II)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_Aspect_1Driver_1SetTextAttrib_11 - (JNIEnv *, jobject, jint, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: Aspect_Driver_SetTextAttrib_2 - * Signature: (IIDDDZ)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_Aspect_1Driver_1SetTextAttrib_12 - (JNIEnv *, jobject, jint, jint, jdouble, jdouble, jdouble, jboolean); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: BeginArcs - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_BeginArcs - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: BeginMarkers - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_BeginMarkers - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: BeginPoints - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_BeginPoints - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: BeginPolyArcs - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_BeginPolyArcs - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: BeginPolygon - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_BeginPolygon - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: BeginPolyline - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_BeginPolyline - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: BeginSegments - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_BeginSegments - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: ClearImage - * Signature: (LSampleHLRJni/Standard_Transient;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_ClearImage - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: ClearImageFile - * Signature: (Ljcas/Standard_CString;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_ClearImageFile - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: ClosePrimitive - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_ClosePrimitive - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: ColorMap - * Signature: ()LSampleHLRJni/Aspect_ColorMap; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1Driver_ColorMap - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: DrawArc - * Signature: (FFFFFF)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1Driver_DrawArc - (JNIEnv *, jobject, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: DrawImage - * Signature: (LSampleHLRJni/Standard_Transient;FF)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_DrawImage - (JNIEnv *, jobject, jobject, jfloat, jfloat); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: DrawImageFile - * Signature: (Ljcas/Standard_CString;FFD)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_DrawImageFile - (JNIEnv *, jobject, jobject, jfloat, jfloat, jdouble); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: DrawMarker - * Signature: (IFFFFF)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_DrawMarker - (JNIEnv *, jobject, jint, jfloat, jfloat, jfloat, jfloat, jfloat); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: DrawPoint - * Signature: (FF)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_DrawPoint - (JNIEnv *, jobject, jfloat, jfloat); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: DrawPolyArc - * Signature: (FFFFFF)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1Driver_DrawPolyArc - (JNIEnv *, jobject, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: DrawPolyText - * Signature: (LSampleHLRJni/TCollection_ExtendedString;FFDFS)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_DrawPolyText - (JNIEnv *, jobject, jobject, jfloat, jfloat, jdouble, jfloat, jshort); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: DrawPolygon - * Signature: (LSampleHLRJni/TShort_Array1OfShortReal;LSampleHLRJni/TShort_Array1OfShortReal;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_DrawPolygon - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: DrawPolyline - * Signature: (LSampleHLRJni/TShort_Array1OfShortReal;LSampleHLRJni/TShort_Array1OfShortReal;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_DrawPolyline - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: DrawSegment - * Signature: (FFFF)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_DrawSegment - (JNIEnv *, jobject, jfloat, jfloat, jfloat, jfloat); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: DrawText - * Signature: (LSampleHLRJni/TCollection_ExtendedString;FFFS)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_DrawText - (JNIEnv *, jobject, jobject, jfloat, jfloat, jfloat, jshort); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: EndDraw - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_EndDraw - (JNIEnv *, jobject, jboolean); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: FontMap - * Signature: ()LSampleHLRJni/Aspect_FontMap; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1Driver_FontMap - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: IsKnownImage - * Signature: (LSampleHLRJni/Standard_Transient;)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1Driver_IsKnownImage - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: MarkMap - * Signature: ()LSampleHLRJni/Aspect_MarkMap; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1Driver_MarkMap - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: SetColorMap - * Signature: (LSampleHLRJni/Aspect_ColorMap;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_SetColorMap - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: SetFontMap - * Signature: (LSampleHLRJni/Aspect_FontMap;Z)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_SetFontMap - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: SetLineAttrib - * Signature: (III)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_SetLineAttrib - (JNIEnv *, jobject, jint, jint, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: SetMarkMap - * Signature: (LSampleHLRJni/Aspect_MarkMap;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_SetMarkMap - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: SetMarkerAttrib - * Signature: (IIZ)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_SetMarkerAttrib - (JNIEnv *, jobject, jint, jint, jboolean); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: SetPolyAttrib - * Signature: (IIZ)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_SetPolyAttrib - (JNIEnv *, jobject, jint, jint, jboolean); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: SetTypeMap - * Signature: (LSampleHLRJni/Aspect_TypeMap;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_SetTypeMap - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: SetWidthMap - * Signature: (LSampleHLRJni/Aspect_WidthMap;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_SetWidthMap - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: SizeOfImageFile - * Signature: (Ljcas/Standard_CString;Ljcas/Standard_Integer;Ljcas/Standard_Integer;)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1Driver_SizeOfImageFile - (JNIEnv *, jobject, jobject, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: TypeMap - * Signature: ()LSampleHLRJni/Aspect_TypeMap; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1Driver_TypeMap - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: UseMFT - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1Driver_UseMFT - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: WidthMap - * Signature: ()LSampleHLRJni/Aspect_WidthMap; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1Driver_WidthMap - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fDriver - * Method: WorkSpace - * Signature: (Ljcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Driver_WorkSpace - (JNIEnv *, jobject, jobject, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Aspect_FillMethod.h b/samples/java/inc/SampleHLRJni_Aspect_FillMethod.h deleted file mode 100755 index 90672282f2..0000000000 --- a/samples/java/inc/SampleHLRJni_Aspect_FillMethod.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Aspect_0005fFillMethod */ - -#ifndef _Included_SampleHLRJni_Aspect_0005fFillMethod -#define _Included_SampleHLRJni_Aspect_0005fFillMethod -#ifdef __cplusplus -extern "C" { -#endif -#undef SampleHLRJni_Aspect_0005fFillMethod_Aspect_FM_NONE -#define SampleHLRJni_Aspect_0005fFillMethod_Aspect_FM_NONE 0L -#undef SampleHLRJni_Aspect_0005fFillMethod_Aspect_FM_CENTERED -#define SampleHLRJni_Aspect_0005fFillMethod_Aspect_FM_CENTERED 1L -#undef SampleHLRJni_Aspect_0005fFillMethod_Aspect_FM_TILED -#define SampleHLRJni_Aspect_0005fFillMethod_Aspect_FM_TILED 2L -#undef SampleHLRJni_Aspect_0005fFillMethod_Aspect_FM_STRETCH -#define SampleHLRJni_Aspect_0005fFillMethod_Aspect_FM_STRETCH 3L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Aspect_FontMap.h b/samples/java/inc/SampleHLRJni_Aspect_FontMap.h deleted file mode 100755 index e93e919fa8..0000000000 --- a/samples/java/inc/SampleHLRJni_Aspect_FontMap.h +++ /dev/null @@ -1,70 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Aspect_0005fFontMap */ - -#ifndef _Included_SampleHLRJni_Aspect_0005fFontMap -#define _Included_SampleHLRJni_Aspect_0005fFontMap -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleHLRJni_Aspect_0005fFontMap - * Method: Aspect_FontMap_AddEntry_1 - * Signature: (LSampleHLRJni/Aspect_FontMapEntry;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontMap_Aspect_1FontMap_1AddEntry_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontMap - * Method: Aspect_FontMap_AddEntry_2 - * Signature: (LSampleHLRJni/Aspect_FontStyle;)I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1FontMap_Aspect_1FontMap_1AddEntry_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontMap - * Method: Aspect_FontMap_Create_0 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontMap_Aspect_1FontMap_1Create_10 - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontMap - * Method: Dump - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontMap_Dump - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontMap - * Method: Entry - * Signature: (I)LSampleHLRJni/Aspect_FontMapEntry; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontMap_Entry - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fFontMap - * Method: Index - * Signature: (I)I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1FontMap_Index - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fFontMap - * Method: Size - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1FontMap_Size - (JNIEnv *, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Aspect_FontMapEntry.h b/samples/java/inc/SampleHLRJni_Aspect_FontMapEntry.h deleted file mode 100755 index f810b99290..0000000000 --- a/samples/java/inc/SampleHLRJni_Aspect_FontMapEntry.h +++ /dev/null @@ -1,118 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Aspect_0005fFontMapEntry */ - -#ifndef _Included_SampleHLRJni_Aspect_0005fFontMapEntry -#define _Included_SampleHLRJni_Aspect_0005fFontMapEntry -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleHLRJni_Aspect_0005fFontMapEntry - * Method: Aspect_FontMapEntry_Create_1 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontMapEntry_Aspect_1FontMapEntry_1Create_11 - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontMapEntry - * Method: Aspect_FontMapEntry_Create_2 - * Signature: (ILSampleHLRJni/Aspect_FontStyle;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontMapEntry_Aspect_1FontMapEntry_1Create_12 - (JNIEnv *, jobject, jint, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontMapEntry - * Method: Aspect_FontMapEntry_Create_3 - * Signature: (LSampleHLRJni/Aspect_FontMapEntry;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontMapEntry_Aspect_1FontMapEntry_1Create_13 - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontMapEntry - * Method: Aspect_FontMapEntry_SetValue_1 - * Signature: (ILSampleHLRJni/Aspect_FontStyle;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontMapEntry_Aspect_1FontMapEntry_1SetValue_11 - (JNIEnv *, jobject, jint, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontMapEntry - * Method: Aspect_FontMapEntry_SetValue_2 - * Signature: (LSampleHLRJni/Aspect_FontMapEntry;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontMapEntry_Aspect_1FontMapEntry_1SetValue_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontMapEntry - * Method: Dump - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontMapEntry_Dump - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontMapEntry - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontMapEntry_FinalizeValue - (JNIEnv *, jclass, jlong); - -/* - * Class: SampleHLRJni_Aspect_0005fFontMapEntry - * Method: Free - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontMapEntry_Free - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontMapEntry - * Method: Index - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1FontMapEntry_Index - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontMapEntry - * Method: IsAllocated - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1FontMapEntry_IsAllocated - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontMapEntry - * Method: SetIndex - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontMapEntry_SetIndex - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fFontMapEntry - * Method: SetType - * Signature: (LSampleHLRJni/Aspect_FontStyle;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontMapEntry_SetType - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontMapEntry - * Method: Type - * Signature: ()LSampleHLRJni/Aspect_FontStyle; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontMapEntry_Type - (JNIEnv *, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Aspect_FontStyle.h b/samples/java/inc/SampleHLRJni_Aspect_FontStyle.h deleted file mode 100755 index c916b0a5f1..0000000000 --- a/samples/java/inc/SampleHLRJni_Aspect_FontStyle.h +++ /dev/null @@ -1,318 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Aspect_0005fFontStyle */ - -#ifndef _Included_SampleHLRJni_Aspect_0005fFontStyle -#define _Included_SampleHLRJni_Aspect_0005fFontStyle -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: AliasName - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_AliasName - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: Aspect_FontStyle_Create_1 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Aspect_1FontStyle_1Create_11 - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: Aspect_FontStyle_Create_2 - * Signature: (SDDZ)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Aspect_1FontStyle_1Create_12 - (JNIEnv *, jobject, jshort, jdouble, jdouble, jboolean); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: Aspect_FontStyle_Create_3 - * Signature: (Ljcas/Standard_CString;DDZ)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Aspect_1FontStyle_1Create_13 - (JNIEnv *, jobject, jobject, jdouble, jdouble, jboolean); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: Aspect_FontStyle_Create_4 - * Signature: (Ljcas/Standard_CString;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Aspect_1FontStyle_1Create_14 - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: Aspect_FontStyle_SetValues_1 - * Signature: (SDDZ)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Aspect_1FontStyle_1SetValues_11 - (JNIEnv *, jobject, jshort, jdouble, jdouble, jboolean); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: Aspect_FontStyle_SetValues_2 - * Signature: (Ljcas/Standard_CString;DDZ)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Aspect_1FontStyle_1SetValues_12 - (JNIEnv *, jobject, jobject, jdouble, jdouble, jboolean); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: Aspect_FontStyle_SetValues_3 - * Signature: (Ljcas/Standard_CString;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Aspect_1FontStyle_1SetValues_13 - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: Assign - * Signature: (LSampleHLRJni/Aspect_FontStyle;)LSampleHLRJni/Aspect_FontStyle; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Assign - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: CapsHeight - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1FontStyle_CapsHeight - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: Dump - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Dump - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: Encoding - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Encoding - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: Family - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Family - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontStyle_FinalizeValue - (JNIEnv *, jclass, jlong); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: Foundry - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Foundry - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: FullName - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_FullName - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: IsEqual - * Signature: (LSampleHLRJni/Aspect_FontStyle;)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1FontStyle_IsEqual - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: IsNotEqual - * Signature: (LSampleHLRJni/Aspect_FontStyle;)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1FontStyle_IsNotEqual - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: Length - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Length - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: Registry - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Registry - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: SAverageWidth - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_SAverageWidth - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: SPixelSize - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_SPixelSize - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: SPointSize - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_SPointSize - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: SResolutionX - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_SResolutionX - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: SResolutionY - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_SResolutionY - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: SSlant - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_SSlant - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: SSpacing - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_SSpacing - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: SStyle - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_SStyle - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: SWidth - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_SWidth - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: SetEncoding - * Signature: (Ljcas/Standard_CString;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontStyle_SetEncoding - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: SetFamily - * Signature: (Ljcas/Standard_CString;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontStyle_SetFamily - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: SetRegistry - * Signature: (Ljcas/Standard_CString;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontStyle_SetRegistry - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: SetWeight - * Signature: (Ljcas/Standard_CString;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1FontStyle_SetWeight - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: Size - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Size - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: Slant - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Slant - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: Style - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Style - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: Value - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Value - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fFontStyle - * Method: Weight - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1FontStyle_Weight - (JNIEnv *, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Aspect_GenericColorMap.h b/samples/java/inc/SampleHLRJni_Aspect_GenericColorMap.h deleted file mode 100755 index d6f54a5151..0000000000 --- a/samples/java/inc/SampleHLRJni_Aspect_GenericColorMap.h +++ /dev/null @@ -1,78 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Aspect_0005fGenericColorMap */ - -#ifndef _Included_SampleHLRJni_Aspect_0005fGenericColorMap -#define _Included_SampleHLRJni_Aspect_0005fGenericColorMap -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleHLRJni_Aspect_0005fGenericColorMap - * Method: Aspect_GenericColorMap_AddEntry_1 - * Signature: (LSampleHLRJni/Aspect_ColorMapEntry;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1GenericColorMap_Aspect_1GenericColorMap_1AddEntry_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fGenericColorMap - * Method: Aspect_GenericColorMap_AddEntry_2 - * Signature: (LSampleHLRJni/Quantity_Color;)I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1GenericColorMap_Aspect_1GenericColorMap_1AddEntry_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fGenericColorMap - * Method: Aspect_GenericColorMap_Create_0 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1GenericColorMap_Aspect_1GenericColorMap_1Create_10 - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fGenericColorMap - * Method: FindColorMapIndex - * Signature: (I)I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1GenericColorMap_FindColorMapIndex - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fGenericColorMap - * Method: FindEntry - * Signature: (I)LSampleHLRJni/Aspect_ColorMapEntry; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1GenericColorMap_FindEntry - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fGenericColorMap - * Method: NearestColorMapIndex - * Signature: (LSampleHLRJni/Quantity_Color;)I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1GenericColorMap_NearestColorMapIndex - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fGenericColorMap - * Method: NearestEntry - * Signature: (LSampleHLRJni/Quantity_Color;)LSampleHLRJni/Aspect_ColorMapEntry; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1GenericColorMap_NearestEntry - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fGenericColorMap - * Method: RemoveEntry - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1GenericColorMap_RemoveEntry - (JNIEnv *, jobject, jint); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Aspect_GraphicDevice.h b/samples/java/inc/SampleHLRJni_Aspect_GraphicDevice.h deleted file mode 100755 index 37e6d1635f..0000000000 --- a/samples/java/inc/SampleHLRJni_Aspect_GraphicDevice.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Aspect_0005fGraphicDevice */ - -#ifndef _Included_SampleHLRJni_Aspect_0005fGraphicDevice -#define _Included_SampleHLRJni_Aspect_0005fGraphicDevice -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Aspect_LineStyle.h b/samples/java/inc/SampleHLRJni_Aspect_LineStyle.h deleted file mode 100755 index 6f514783a7..0000000000 --- a/samples/java/inc/SampleHLRJni_Aspect_LineStyle.h +++ /dev/null @@ -1,110 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Aspect_0005fLineStyle */ - -#ifndef _Included_SampleHLRJni_Aspect_0005fLineStyle -#define _Included_SampleHLRJni_Aspect_0005fLineStyle -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleHLRJni_Aspect_0005fLineStyle - * Method: Aspect_LineStyle_Create_1 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1LineStyle_Aspect_1LineStyle_1Create_11 - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fLineStyle - * Method: Aspect_LineStyle_Create_2 - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1LineStyle_Aspect_1LineStyle_1Create_12 - (JNIEnv *, jobject, jshort); - -/* - * Class: SampleHLRJni_Aspect_0005fLineStyle - * Method: Aspect_LineStyle_Create_3 - * Signature: (LSampleHLRJni/TColQuantity_Array1OfLength;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1LineStyle_Aspect_1LineStyle_1Create_13 - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fLineStyle - * Method: Aspect_LineStyle_SetValues_1 - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1LineStyle_Aspect_1LineStyle_1SetValues_11 - (JNIEnv *, jobject, jshort); - -/* - * Class: SampleHLRJni_Aspect_0005fLineStyle - * Method: Aspect_LineStyle_SetValues_2 - * Signature: (LSampleHLRJni/TColQuantity_Array1OfLength;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1LineStyle_Aspect_1LineStyle_1SetValues_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fLineStyle - * Method: Assign - * Signature: (LSampleHLRJni/Aspect_LineStyle;)LSampleHLRJni/Aspect_LineStyle; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1LineStyle_Assign - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fLineStyle - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1LineStyle_FinalizeValue - (JNIEnv *, jclass, jlong); - -/* - * Class: SampleHLRJni_Aspect_0005fLineStyle - * Method: IsEqual - * Signature: (LSampleHLRJni/Aspect_LineStyle;)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1LineStyle_IsEqual - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fLineStyle - * Method: IsNotEqual - * Signature: (LSampleHLRJni/Aspect_LineStyle;)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1LineStyle_IsNotEqual - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fLineStyle - * Method: Length - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1LineStyle_Length - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fLineStyle - * Method: Style - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_SampleHLRJni_Aspect_1LineStyle_Style - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fLineStyle - * Method: Values - * Signature: ()LSampleHLRJni/TColQuantity_Array1OfLength; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1LineStyle_Values - (JNIEnv *, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Aspect_MarkMap.h b/samples/java/inc/SampleHLRJni_Aspect_MarkMap.h deleted file mode 100755 index 9d0a15ad60..0000000000 --- a/samples/java/inc/SampleHLRJni_Aspect_MarkMap.h +++ /dev/null @@ -1,70 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Aspect_0005fMarkMap */ - -#ifndef _Included_SampleHLRJni_Aspect_0005fMarkMap -#define _Included_SampleHLRJni_Aspect_0005fMarkMap -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleHLRJni_Aspect_0005fMarkMap - * Method: Aspect_MarkMap_AddEntry_1 - * Signature: (LSampleHLRJni/Aspect_MarkMapEntry;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkMap_Aspect_1MarkMap_1AddEntry_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fMarkMap - * Method: Aspect_MarkMap_AddEntry_2 - * Signature: (LSampleHLRJni/Aspect_MarkerStyle;)I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1MarkMap_Aspect_1MarkMap_1AddEntry_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fMarkMap - * Method: Aspect_MarkMap_Create_0 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkMap_Aspect_1MarkMap_1Create_10 - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fMarkMap - * Method: Dump - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkMap_Dump - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fMarkMap - * Method: Entry - * Signature: (I)LSampleHLRJni/Aspect_MarkMapEntry; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1MarkMap_Entry - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fMarkMap - * Method: Index - * Signature: (I)I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1MarkMap_Index - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fMarkMap - * Method: Size - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1MarkMap_Size - (JNIEnv *, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Aspect_MarkMapEntry.h b/samples/java/inc/SampleHLRJni_Aspect_MarkMapEntry.h deleted file mode 100755 index d6406dc934..0000000000 --- a/samples/java/inc/SampleHLRJni_Aspect_MarkMapEntry.h +++ /dev/null @@ -1,118 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Aspect_0005fMarkMapEntry */ - -#ifndef _Included_SampleHLRJni_Aspect_0005fMarkMapEntry -#define _Included_SampleHLRJni_Aspect_0005fMarkMapEntry -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleHLRJni_Aspect_0005fMarkMapEntry - * Method: Aspect_MarkMapEntry_Create_1 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkMapEntry_Aspect_1MarkMapEntry_1Create_11 - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fMarkMapEntry - * Method: Aspect_MarkMapEntry_Create_2 - * Signature: (ILSampleHLRJni/Aspect_MarkerStyle;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkMapEntry_Aspect_1MarkMapEntry_1Create_12 - (JNIEnv *, jobject, jint, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fMarkMapEntry - * Method: Aspect_MarkMapEntry_Create_3 - * Signature: (LSampleHLRJni/Aspect_MarkMapEntry;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkMapEntry_Aspect_1MarkMapEntry_1Create_13 - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fMarkMapEntry - * Method: Aspect_MarkMapEntry_SetValue_1 - * Signature: (ILSampleHLRJni/Aspect_MarkerStyle;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkMapEntry_Aspect_1MarkMapEntry_1SetValue_11 - (JNIEnv *, jobject, jint, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fMarkMapEntry - * Method: Aspect_MarkMapEntry_SetValue_2 - * Signature: (LSampleHLRJni/Aspect_MarkMapEntry;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkMapEntry_Aspect_1MarkMapEntry_1SetValue_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fMarkMapEntry - * Method: Dump - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkMapEntry_Dump - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fMarkMapEntry - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkMapEntry_FinalizeValue - (JNIEnv *, jclass, jlong); - -/* - * Class: SampleHLRJni_Aspect_0005fMarkMapEntry - * Method: Free - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkMapEntry_Free - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fMarkMapEntry - * Method: Index - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1MarkMapEntry_Index - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fMarkMapEntry - * Method: IsAllocated - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1MarkMapEntry_IsAllocated - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fMarkMapEntry - * Method: SetIndex - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkMapEntry_SetIndex - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fMarkMapEntry - * Method: SetStyle - * Signature: (LSampleHLRJni/Aspect_MarkerStyle;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkMapEntry_SetStyle - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fMarkMapEntry - * Method: Style - * Signature: ()LSampleHLRJni/Aspect_MarkerStyle; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1MarkMapEntry_Style - (JNIEnv *, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Aspect_MarkerStyle.h b/samples/java/inc/SampleHLRJni_Aspect_MarkerStyle.h deleted file mode 100755 index 64b14c7a97..0000000000 --- a/samples/java/inc/SampleHLRJni_Aspect_MarkerStyle.h +++ /dev/null @@ -1,126 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Aspect_0005fMarkerStyle */ - -#ifndef _Included_SampleHLRJni_Aspect_0005fMarkerStyle -#define _Included_SampleHLRJni_Aspect_0005fMarkerStyle -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleHLRJni_Aspect_0005fMarkerStyle - * Method: Aspect_MarkerStyle_Create_1 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkerStyle_Aspect_1MarkerStyle_1Create_11 - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fMarkerStyle - * Method: Aspect_MarkerStyle_Create_2 - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkerStyle_Aspect_1MarkerStyle_1Create_12 - (JNIEnv *, jobject, jshort); - -/* - * Class: SampleHLRJni_Aspect_0005fMarkerStyle - * Method: Aspect_MarkerStyle_Create_3 - * Signature: (LSampleHLRJni/TColStd_Array1OfReal;LSampleHLRJni/TColStd_Array1OfReal;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkerStyle_Aspect_1MarkerStyle_1Create_13 - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fMarkerStyle - * Method: Aspect_MarkerStyle_Create_4 - * Signature: (LSampleHLRJni/TColStd_Array1OfReal;LSampleHLRJni/TColStd_Array1OfReal;LSampleHLRJni/TColStd_Array1OfBoolean;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkerStyle_Aspect_1MarkerStyle_1Create_14 - (JNIEnv *, jobject, jobject, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fMarkerStyle - * Method: Assign - * Signature: (LSampleHLRJni/Aspect_MarkerStyle;)LSampleHLRJni/Aspect_MarkerStyle; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1MarkerStyle_Assign - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fMarkerStyle - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1MarkerStyle_FinalizeValue - (JNIEnv *, jclass, jlong); - -/* - * Class: SampleHLRJni_Aspect_0005fMarkerStyle - * Method: IsEqual - * Signature: (LSampleHLRJni/Aspect_MarkerStyle;)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1MarkerStyle_IsEqual - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fMarkerStyle - * Method: IsNotEqual - * Signature: (LSampleHLRJni/Aspect_MarkerStyle;)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1MarkerStyle_IsNotEqual - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fMarkerStyle - * Method: Length - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1MarkerStyle_Length - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fMarkerStyle - * Method: SValues - * Signature: ()LSampleHLRJni/TColStd_Array1OfBoolean; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1MarkerStyle_SValues - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fMarkerStyle - * Method: Type - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_SampleHLRJni_Aspect_1MarkerStyle_Type - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fMarkerStyle - * Method: Values - * Signature: (ILjcas/Standard_Real;Ljcas/Standard_Real;)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1MarkerStyle_Values - (JNIEnv *, jobject, jint, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fMarkerStyle - * Method: XValues - * Signature: ()LSampleHLRJni/TShort_Array1OfShortReal; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1MarkerStyle_XValues - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fMarkerStyle - * Method: YValues - * Signature: ()LSampleHLRJni/TShort_Array1OfShortReal; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1MarkerStyle_YValues - (JNIEnv *, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Aspect_TypeMap.h b/samples/java/inc/SampleHLRJni_Aspect_TypeMap.h deleted file mode 100755 index ee72ba0b09..0000000000 --- a/samples/java/inc/SampleHLRJni_Aspect_TypeMap.h +++ /dev/null @@ -1,70 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Aspect_0005fTypeMap */ - -#ifndef _Included_SampleHLRJni_Aspect_0005fTypeMap -#define _Included_SampleHLRJni_Aspect_0005fTypeMap -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleHLRJni_Aspect_0005fTypeMap - * Method: Aspect_TypeMap_AddEntry_1 - * Signature: (LSampleHLRJni/Aspect_TypeMapEntry;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1TypeMap_Aspect_1TypeMap_1AddEntry_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fTypeMap - * Method: Aspect_TypeMap_AddEntry_2 - * Signature: (LSampleHLRJni/Aspect_LineStyle;)I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1TypeMap_Aspect_1TypeMap_1AddEntry_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fTypeMap - * Method: Aspect_TypeMap_Create_0 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1TypeMap_Aspect_1TypeMap_1Create_10 - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fTypeMap - * Method: Dump - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1TypeMap_Dump - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fTypeMap - * Method: Entry - * Signature: (I)LSampleHLRJni/Aspect_TypeMapEntry; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1TypeMap_Entry - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fTypeMap - * Method: Index - * Signature: (I)I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1TypeMap_Index - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fTypeMap - * Method: Size - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1TypeMap_Size - (JNIEnv *, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Aspect_TypeMapEntry.h b/samples/java/inc/SampleHLRJni_Aspect_TypeMapEntry.h deleted file mode 100755 index 8dd1e4276c..0000000000 --- a/samples/java/inc/SampleHLRJni_Aspect_TypeMapEntry.h +++ /dev/null @@ -1,118 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Aspect_0005fTypeMapEntry */ - -#ifndef _Included_SampleHLRJni_Aspect_0005fTypeMapEntry -#define _Included_SampleHLRJni_Aspect_0005fTypeMapEntry -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleHLRJni_Aspect_0005fTypeMapEntry - * Method: Aspect_TypeMapEntry_Create_1 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1TypeMapEntry_Aspect_1TypeMapEntry_1Create_11 - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fTypeMapEntry - * Method: Aspect_TypeMapEntry_Create_2 - * Signature: (ILSampleHLRJni/Aspect_LineStyle;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1TypeMapEntry_Aspect_1TypeMapEntry_1Create_12 - (JNIEnv *, jobject, jint, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fTypeMapEntry - * Method: Aspect_TypeMapEntry_Create_3 - * Signature: (LSampleHLRJni/Aspect_TypeMapEntry;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1TypeMapEntry_Aspect_1TypeMapEntry_1Create_13 - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fTypeMapEntry - * Method: Aspect_TypeMapEntry_SetValue_1 - * Signature: (ILSampleHLRJni/Aspect_LineStyle;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1TypeMapEntry_Aspect_1TypeMapEntry_1SetValue_11 - (JNIEnv *, jobject, jint, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fTypeMapEntry - * Method: Aspect_TypeMapEntry_SetValue_2 - * Signature: (LSampleHLRJni/Aspect_TypeMapEntry;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1TypeMapEntry_Aspect_1TypeMapEntry_1SetValue_12 - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fTypeMapEntry - * Method: Dump - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1TypeMapEntry_Dump - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fTypeMapEntry - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1TypeMapEntry_FinalizeValue - (JNIEnv *, jclass, jlong); - -/* - * Class: SampleHLRJni_Aspect_0005fTypeMapEntry - * Method: Free - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1TypeMapEntry_Free - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fTypeMapEntry - * Method: Index - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1TypeMapEntry_Index - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fTypeMapEntry - * Method: IsAllocated - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1TypeMapEntry_IsAllocated - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fTypeMapEntry - * Method: SetIndex - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1TypeMapEntry_SetIndex - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fTypeMapEntry - * Method: SetType - * Signature: (LSampleHLRJni/Aspect_LineStyle;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1TypeMapEntry_SetType - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fTypeMapEntry - * Method: Type - * Signature: ()LSampleHLRJni/Aspect_LineStyle; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1TypeMapEntry_Type - (JNIEnv *, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Aspect_TypeOfColorMap.h b/samples/java/inc/SampleHLRJni_Aspect_TypeOfColorMap.h deleted file mode 100755 index b14cf81233..0000000000 --- a/samples/java/inc/SampleHLRJni_Aspect_TypeOfColorMap.h +++ /dev/null @@ -1,19 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Aspect_0005fTypeOfColorMap */ - -#ifndef _Included_SampleHLRJni_Aspect_0005fTypeOfColorMap -#define _Included_SampleHLRJni_Aspect_0005fTypeOfColorMap -#ifdef __cplusplus -extern "C" { -#endif -#undef SampleHLRJni_Aspect_0005fTypeOfColorMap_Aspect_TOC_Generic -#define SampleHLRJni_Aspect_0005fTypeOfColorMap_Aspect_TOC_Generic 0L -#undef SampleHLRJni_Aspect_0005fTypeOfColorMap_Aspect_TOC_ColorCube -#define SampleHLRJni_Aspect_0005fTypeOfColorMap_Aspect_TOC_ColorCube 1L -#undef SampleHLRJni_Aspect_0005fTypeOfColorMap_Aspect_TOC_ColorRamp -#define SampleHLRJni_Aspect_0005fTypeOfColorMap_Aspect_TOC_ColorRamp 2L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Aspect_TypeOfDrawMode.h b/samples/java/inc/SampleHLRJni_Aspect_TypeOfDrawMode.h deleted file mode 100755 index ddf8cce48e..0000000000 --- a/samples/java/inc/SampleHLRJni_Aspect_TypeOfDrawMode.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Aspect_0005fTypeOfDrawMode */ - -#ifndef _Included_SampleHLRJni_Aspect_0005fTypeOfDrawMode -#define _Included_SampleHLRJni_Aspect_0005fTypeOfDrawMode -#ifdef __cplusplus -extern "C" { -#endif -#undef SampleHLRJni_Aspect_0005fTypeOfDrawMode_Aspect_TODM_REPLACE -#define SampleHLRJni_Aspect_0005fTypeOfDrawMode_Aspect_TODM_REPLACE 0L -#undef SampleHLRJni_Aspect_0005fTypeOfDrawMode_Aspect_TODM_ERASE -#define SampleHLRJni_Aspect_0005fTypeOfDrawMode_Aspect_TODM_ERASE 1L -#undef SampleHLRJni_Aspect_0005fTypeOfDrawMode_Aspect_TODM_XOR -#define SampleHLRJni_Aspect_0005fTypeOfDrawMode_Aspect_TODM_XOR 2L -#undef SampleHLRJni_Aspect_0005fTypeOfDrawMode_Aspect_TODM_XORLIGHT -#define SampleHLRJni_Aspect_0005fTypeOfDrawMode_Aspect_TODM_XORLIGHT 3L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Aspect_TypeOfFont.h b/samples/java/inc/SampleHLRJni_Aspect_TypeOfFont.h deleted file mode 100755 index 609c45fce1..0000000000 --- a/samples/java/inc/SampleHLRJni_Aspect_TypeOfFont.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Aspect_0005fTypeOfFont */ - -#ifndef _Included_SampleHLRJni_Aspect_0005fTypeOfFont -#define _Included_SampleHLRJni_Aspect_0005fTypeOfFont -#ifdef __cplusplus -extern "C" { -#endif -#undef SampleHLRJni_Aspect_0005fTypeOfFont_Aspect_TOF_DEFAULT -#define SampleHLRJni_Aspect_0005fTypeOfFont_Aspect_TOF_DEFAULT 0L -#undef SampleHLRJni_Aspect_0005fTypeOfFont_Aspect_TOF_COURIER -#define SampleHLRJni_Aspect_0005fTypeOfFont_Aspect_TOF_COURIER 1L -#undef SampleHLRJni_Aspect_0005fTypeOfFont_Aspect_TOF_HELVETICA -#define SampleHLRJni_Aspect_0005fTypeOfFont_Aspect_TOF_HELVETICA 2L -#undef SampleHLRJni_Aspect_0005fTypeOfFont_Aspect_TOF_TIMES -#define SampleHLRJni_Aspect_0005fTypeOfFont_Aspect_TOF_TIMES 3L -#undef SampleHLRJni_Aspect_0005fTypeOfFont_Aspect_TOF_USERDEFINED -#define SampleHLRJni_Aspect_0005fTypeOfFont_Aspect_TOF_USERDEFINED 4L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Aspect_TypeOfLine.h b/samples/java/inc/SampleHLRJni_Aspect_TypeOfLine.h deleted file mode 100755 index 87e9528304..0000000000 --- a/samples/java/inc/SampleHLRJni_Aspect_TypeOfLine.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Aspect_0005fTypeOfLine */ - -#ifndef _Included_SampleHLRJni_Aspect_0005fTypeOfLine -#define _Included_SampleHLRJni_Aspect_0005fTypeOfLine -#ifdef __cplusplus -extern "C" { -#endif -#undef SampleHLRJni_Aspect_0005fTypeOfLine_Aspect_TOL_SOLID -#define SampleHLRJni_Aspect_0005fTypeOfLine_Aspect_TOL_SOLID 0L -#undef SampleHLRJni_Aspect_0005fTypeOfLine_Aspect_TOL_DASH -#define SampleHLRJni_Aspect_0005fTypeOfLine_Aspect_TOL_DASH 1L -#undef SampleHLRJni_Aspect_0005fTypeOfLine_Aspect_TOL_DOT -#define SampleHLRJni_Aspect_0005fTypeOfLine_Aspect_TOL_DOT 2L -#undef SampleHLRJni_Aspect_0005fTypeOfLine_Aspect_TOL_DOTDASH -#define SampleHLRJni_Aspect_0005fTypeOfLine_Aspect_TOL_DOTDASH 3L -#undef SampleHLRJni_Aspect_0005fTypeOfLine_Aspect_TOL_USERDEFINED -#define SampleHLRJni_Aspect_0005fTypeOfLine_Aspect_TOL_USERDEFINED 4L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Aspect_TypeOfMarker.h b/samples/java/inc/SampleHLRJni_Aspect_TypeOfMarker.h deleted file mode 100755 index 9c24748b2b..0000000000 --- a/samples/java/inc/SampleHLRJni_Aspect_TypeOfMarker.h +++ /dev/null @@ -1,41 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Aspect_0005fTypeOfMarker */ - -#ifndef _Included_SampleHLRJni_Aspect_0005fTypeOfMarker -#define _Included_SampleHLRJni_Aspect_0005fTypeOfMarker -#ifdef __cplusplus -extern "C" { -#endif -#undef SampleHLRJni_Aspect_0005fTypeOfMarker_Aspect_TOM_POINT -#define SampleHLRJni_Aspect_0005fTypeOfMarker_Aspect_TOM_POINT 0L -#undef SampleHLRJni_Aspect_0005fTypeOfMarker_Aspect_TOM_PLUS -#define SampleHLRJni_Aspect_0005fTypeOfMarker_Aspect_TOM_PLUS 1L -#undef SampleHLRJni_Aspect_0005fTypeOfMarker_Aspect_TOM_STAR -#define SampleHLRJni_Aspect_0005fTypeOfMarker_Aspect_TOM_STAR 2L -#undef SampleHLRJni_Aspect_0005fTypeOfMarker_Aspect_TOM_O -#define SampleHLRJni_Aspect_0005fTypeOfMarker_Aspect_TOM_O 3L -#undef SampleHLRJni_Aspect_0005fTypeOfMarker_Aspect_TOM_X -#define SampleHLRJni_Aspect_0005fTypeOfMarker_Aspect_TOM_X 4L -#undef SampleHLRJni_Aspect_0005fTypeOfMarker_Aspect_TOM_O_POINT -#define SampleHLRJni_Aspect_0005fTypeOfMarker_Aspect_TOM_O_POINT 5L -#undef SampleHLRJni_Aspect_0005fTypeOfMarker_Aspect_TOM_O_PLUS -#define SampleHLRJni_Aspect_0005fTypeOfMarker_Aspect_TOM_O_PLUS 6L -#undef SampleHLRJni_Aspect_0005fTypeOfMarker_Aspect_TOM_O_STAR -#define SampleHLRJni_Aspect_0005fTypeOfMarker_Aspect_TOM_O_STAR 7L -#undef SampleHLRJni_Aspect_0005fTypeOfMarker_Aspect_TOM_O_X -#define SampleHLRJni_Aspect_0005fTypeOfMarker_Aspect_TOM_O_X 8L -#undef SampleHLRJni_Aspect_0005fTypeOfMarker_Aspect_TOM_BALL -#define SampleHLRJni_Aspect_0005fTypeOfMarker_Aspect_TOM_BALL 9L -#undef SampleHLRJni_Aspect_0005fTypeOfMarker_Aspect_TOM_RING1 -#define SampleHLRJni_Aspect_0005fTypeOfMarker_Aspect_TOM_RING1 10L -#undef SampleHLRJni_Aspect_0005fTypeOfMarker_Aspect_TOM_RING2 -#define SampleHLRJni_Aspect_0005fTypeOfMarker_Aspect_TOM_RING2 11L -#undef SampleHLRJni_Aspect_0005fTypeOfMarker_Aspect_TOM_RING3 -#define SampleHLRJni_Aspect_0005fTypeOfMarker_Aspect_TOM_RING3 12L -#undef SampleHLRJni_Aspect_0005fTypeOfMarker_Aspect_TOM_USERDEFINED -#define SampleHLRJni_Aspect_0005fTypeOfMarker_Aspect_TOM_USERDEFINED 13L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Aspect_TypeOfResize.h b/samples/java/inc/SampleHLRJni_Aspect_TypeOfResize.h deleted file mode 100755 index 8c0af5313e..0000000000 --- a/samples/java/inc/SampleHLRJni_Aspect_TypeOfResize.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Aspect_0005fTypeOfResize */ - -#ifndef _Included_SampleHLRJni_Aspect_0005fTypeOfResize -#define _Included_SampleHLRJni_Aspect_0005fTypeOfResize -#ifdef __cplusplus -extern "C" { -#endif -#undef SampleHLRJni_Aspect_0005fTypeOfResize_Aspect_TOR_UNKNOWN -#define SampleHLRJni_Aspect_0005fTypeOfResize_Aspect_TOR_UNKNOWN 0L -#undef SampleHLRJni_Aspect_0005fTypeOfResize_Aspect_TOR_NO_BORDER -#define SampleHLRJni_Aspect_0005fTypeOfResize_Aspect_TOR_NO_BORDER 1L -#undef SampleHLRJni_Aspect_0005fTypeOfResize_Aspect_TOR_TOP_BORDER -#define SampleHLRJni_Aspect_0005fTypeOfResize_Aspect_TOR_TOP_BORDER 2L -#undef SampleHLRJni_Aspect_0005fTypeOfResize_Aspect_TOR_RIGHT_BORDER -#define SampleHLRJni_Aspect_0005fTypeOfResize_Aspect_TOR_RIGHT_BORDER 3L -#undef SampleHLRJni_Aspect_0005fTypeOfResize_Aspect_TOR_BOTTOM_BORDER -#define SampleHLRJni_Aspect_0005fTypeOfResize_Aspect_TOR_BOTTOM_BORDER 4L -#undef SampleHLRJni_Aspect_0005fTypeOfResize_Aspect_TOR_LEFT_BORDER -#define SampleHLRJni_Aspect_0005fTypeOfResize_Aspect_TOR_LEFT_BORDER 5L -#undef SampleHLRJni_Aspect_0005fTypeOfResize_Aspect_TOR_TOP_AND_RIGHT_BORDER -#define SampleHLRJni_Aspect_0005fTypeOfResize_Aspect_TOR_TOP_AND_RIGHT_BORDER 6L -#undef SampleHLRJni_Aspect_0005fTypeOfResize_Aspect_TOR_RIGHT_AND_BOTTOM_BORDER -#define SampleHLRJni_Aspect_0005fTypeOfResize_Aspect_TOR_RIGHT_AND_BOTTOM_BORDER 7L -#undef SampleHLRJni_Aspect_0005fTypeOfResize_Aspect_TOR_BOTTOM_AND_LEFT_BORDER -#define SampleHLRJni_Aspect_0005fTypeOfResize_Aspect_TOR_BOTTOM_AND_LEFT_BORDER 8L -#undef SampleHLRJni_Aspect_0005fTypeOfResize_Aspect_TOR_LEFT_AND_TOP_BORDER -#define SampleHLRJni_Aspect_0005fTypeOfResize_Aspect_TOR_LEFT_AND_TOP_BORDER 9L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Aspect_TypeOfText.h b/samples/java/inc/SampleHLRJni_Aspect_TypeOfText.h deleted file mode 100755 index ca82e07ce9..0000000000 --- a/samples/java/inc/SampleHLRJni_Aspect_TypeOfText.h +++ /dev/null @@ -1,17 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Aspect_0005fTypeOfText */ - -#ifndef _Included_SampleHLRJni_Aspect_0005fTypeOfText -#define _Included_SampleHLRJni_Aspect_0005fTypeOfText -#ifdef __cplusplus -extern "C" { -#endif -#undef SampleHLRJni_Aspect_0005fTypeOfText_Aspect_TOT_SOLID -#define SampleHLRJni_Aspect_0005fTypeOfText_Aspect_TOT_SOLID 0L -#undef SampleHLRJni_Aspect_0005fTypeOfText_Aspect_TOT_OUTLINE -#define SampleHLRJni_Aspect_0005fTypeOfText_Aspect_TOT_OUTLINE 1L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Aspect_WidthMap.h b/samples/java/inc/SampleHLRJni_Aspect_WidthMap.h deleted file mode 100755 index 0a8f1326a9..0000000000 --- a/samples/java/inc/SampleHLRJni_Aspect_WidthMap.h +++ /dev/null @@ -1,78 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Aspect_0005fWidthMap */ - -#ifndef _Included_SampleHLRJni_Aspect_0005fWidthMap -#define _Included_SampleHLRJni_Aspect_0005fWidthMap -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleHLRJni_Aspect_0005fWidthMap - * Method: Aspect_WidthMap_AddEntry_1 - * Signature: (LSampleHLRJni/Aspect_WidthMapEntry;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WidthMap_Aspect_1WidthMap_1AddEntry_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWidthMap - * Method: Aspect_WidthMap_AddEntry_2 - * Signature: (S)I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1WidthMap_Aspect_1WidthMap_1AddEntry_12 - (JNIEnv *, jobject, jshort); - -/* - * Class: SampleHLRJni_Aspect_0005fWidthMap - * Method: Aspect_WidthMap_AddEntry_3 - * Signature: (D)I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1WidthMap_Aspect_1WidthMap_1AddEntry_13 - (JNIEnv *, jobject, jdouble); - -/* - * Class: SampleHLRJni_Aspect_0005fWidthMap - * Method: Aspect_WidthMap_Create_0 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WidthMap_Aspect_1WidthMap_1Create_10 - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWidthMap - * Method: Dump - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WidthMap_Dump - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWidthMap - * Method: Entry - * Signature: (I)LSampleHLRJni/Aspect_WidthMapEntry; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1WidthMap_Entry - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fWidthMap - * Method: Index - * Signature: (I)I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1WidthMap_Index - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fWidthMap - * Method: Size - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1WidthMap_Size - (JNIEnv *, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Aspect_WidthMapEntry.h b/samples/java/inc/SampleHLRJni_Aspect_WidthMapEntry.h deleted file mode 100755 index 32f8c0bcc4..0000000000 --- a/samples/java/inc/SampleHLRJni_Aspect_WidthMapEntry.h +++ /dev/null @@ -1,150 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Aspect_0005fWidthMapEntry */ - -#ifndef _Included_SampleHLRJni_Aspect_0005fWidthMapEntry -#define _Included_SampleHLRJni_Aspect_0005fWidthMapEntry -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleHLRJni_Aspect_0005fWidthMapEntry - * Method: Aspect_WidthMapEntry_Create_1 - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_Aspect_1WidthMapEntry_1Create_11 - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWidthMapEntry - * Method: Aspect_WidthMapEntry_Create_2 - * Signature: (IS)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_Aspect_1WidthMapEntry_1Create_12 - (JNIEnv *, jobject, jint, jshort); - -/* - * Class: SampleHLRJni_Aspect_0005fWidthMapEntry - * Method: Aspect_WidthMapEntry_Create_3 - * Signature: (ID)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_Aspect_1WidthMapEntry_1Create_13 - (JNIEnv *, jobject, jint, jdouble); - -/* - * Class: SampleHLRJni_Aspect_0005fWidthMapEntry - * Method: Aspect_WidthMapEntry_Create_4 - * Signature: (LSampleHLRJni/Aspect_WidthMapEntry;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_Aspect_1WidthMapEntry_1Create_14 - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWidthMapEntry - * Method: Aspect_WidthMapEntry_SetValue_1 - * Signature: (IS)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_Aspect_1WidthMapEntry_1SetValue_11 - (JNIEnv *, jobject, jint, jshort); - -/* - * Class: SampleHLRJni_Aspect_0005fWidthMapEntry - * Method: Aspect_WidthMapEntry_SetValue_2 - * Signature: (ID)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_Aspect_1WidthMapEntry_1SetValue_12 - (JNIEnv *, jobject, jint, jdouble); - -/* - * Class: SampleHLRJni_Aspect_0005fWidthMapEntry - * Method: Aspect_WidthMapEntry_SetValue_3 - * Signature: (LSampleHLRJni/Aspect_WidthMapEntry;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_Aspect_1WidthMapEntry_1SetValue_13 - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWidthMapEntry - * Method: Dump - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_Dump - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWidthMapEntry - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_FinalizeValue - (JNIEnv *, jclass, jlong); - -/* - * Class: SampleHLRJni_Aspect_0005fWidthMapEntry - * Method: Free - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_Free - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWidthMapEntry - * Method: Index - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_Index - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWidthMapEntry - * Method: IsAllocated - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_IsAllocated - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWidthMapEntry - * Method: SetIndex - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_SetIndex - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fWidthMapEntry - * Method: SetType - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_SetType - (JNIEnv *, jobject, jshort); - -/* - * Class: SampleHLRJni_Aspect_0005fWidthMapEntry - * Method: SetWidth - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_SetWidth - (JNIEnv *, jobject, jdouble); - -/* - * Class: SampleHLRJni_Aspect_0005fWidthMapEntry - * Method: Type - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_Type - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWidthMapEntry - * Method: Width - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_SampleHLRJni_Aspect_1WidthMapEntry_Width - (JNIEnv *, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Aspect_WidthOfLine.h b/samples/java/inc/SampleHLRJni_Aspect_WidthOfLine.h deleted file mode 100755 index 8fbec1f70c..0000000000 --- a/samples/java/inc/SampleHLRJni_Aspect_WidthOfLine.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Aspect_0005fWidthOfLine */ - -#ifndef _Included_SampleHLRJni_Aspect_0005fWidthOfLine -#define _Included_SampleHLRJni_Aspect_0005fWidthOfLine -#ifdef __cplusplus -extern "C" { -#endif -#undef SampleHLRJni_Aspect_0005fWidthOfLine_Aspect_WOL_THIN -#define SampleHLRJni_Aspect_0005fWidthOfLine_Aspect_WOL_THIN 0L -#undef SampleHLRJni_Aspect_0005fWidthOfLine_Aspect_WOL_MEDIUM -#define SampleHLRJni_Aspect_0005fWidthOfLine_Aspect_WOL_MEDIUM 1L -#undef SampleHLRJni_Aspect_0005fWidthOfLine_Aspect_WOL_THICK -#define SampleHLRJni_Aspect_0005fWidthOfLine_Aspect_WOL_THICK 2L -#undef SampleHLRJni_Aspect_0005fWidthOfLine_Aspect_WOL_VERYTHICK -#define SampleHLRJni_Aspect_0005fWidthOfLine_Aspect_WOL_VERYTHICK 3L -#undef SampleHLRJni_Aspect_0005fWidthOfLine_Aspect_WOL_USERDEFINED -#define SampleHLRJni_Aspect_0005fWidthOfLine_Aspect_WOL_USERDEFINED 4L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Aspect_Window.h b/samples/java/inc/SampleHLRJni_Aspect_Window.h deleted file mode 100755 index 4e7d2bd898..0000000000 --- a/samples/java/inc/SampleHLRJni_Aspect_Window.h +++ /dev/null @@ -1,302 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Aspect_0005fWindow */ - -#ifndef _Included_SampleHLRJni_Aspect_0005fWindow -#define _Included_SampleHLRJni_Aspect_0005fWindow -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: Aspect_Window_Convert_1 - * Signature: (I)D - */ -JNIEXPORT jdouble JNICALL Java_SampleHLRJni_Aspect_1Window_Aspect_1Window_1Convert_11 - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: Aspect_Window_Convert_2 - * Signature: (D)I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1Window_Aspect_1Window_1Convert_12 - (JNIEnv *, jobject, jdouble); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: Aspect_Window_Convert_3 - * Signature: (IILjcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_Aspect_1Window_1Convert_13 - (JNIEnv *, jobject, jint, jint, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: Aspect_Window_Convert_4 - * Signature: (DDLjcas/Standard_Integer;Ljcas/Standard_Integer;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_Aspect_1Window_1Convert_14 - (JNIEnv *, jobject, jdouble, jdouble, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: Aspect_Window_Position_1 - * Signature: (Ljcas/Standard_Real;Ljcas/Standard_Real;Ljcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_Aspect_1Window_1Position_11 - (JNIEnv *, jobject, jobject, jobject, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: Aspect_Window_Position_2 - * Signature: (Ljcas/Standard_Integer;Ljcas/Standard_Integer;Ljcas/Standard_Integer;Ljcas/Standard_Integer;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_Aspect_1Window_1Position_12 - (JNIEnv *, jobject, jobject, jobject, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: Aspect_Window_SetBackground_1 - * Signature: (LSampleHLRJni/Aspect_Background;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_Aspect_1Window_1SetBackground_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: Aspect_Window_SetBackground_2 - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_Aspect_1Window_1SetBackground_12 - (JNIEnv *, jobject, jshort); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: Aspect_Window_SetBackground_3 - * Signature: (LSampleHLRJni/Quantity_Color;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_Aspect_1Window_1SetBackground_13 - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: Aspect_Window_SetBackground_4 - * Signature: (Ljcas/Standard_CString;S)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1Window_Aspect_1Window_1SetBackground_14 - (JNIEnv *, jobject, jobject, jshort); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: Aspect_Window_Size_1 - * Signature: (Ljcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_Aspect_1Window_1Size_11 - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: Aspect_Window_Size_2 - * Signature: (Ljcas/Standard_Integer;Ljcas/Standard_Integer;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_Aspect_1Window_1Size_12 - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: Background - * Signature: ()LSampleHLRJni/Aspect_Background; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1Window_Background - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: BackgroundFillMethod - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_SampleHLRJni_Aspect_1Window_BackgroundFillMethod - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: BackgroundImage - * Signature: ()Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1Window_BackgroundImage - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: BackingStore - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1Window_BackingStore - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: Clear - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_Clear - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: ClearArea - * Signature: (IIII)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_ClearArea - (JNIEnv *, jobject, jint, jint, jint, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: Destroy - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_Destroy - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: DoMapping - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1Window_DoMapping - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: DoResize - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_SampleHLRJni_Aspect_1Window_DoResize - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: DoubleBuffer - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1Window_DoubleBuffer - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: Dump - * Signature: (Ljcas/Standard_CString;D)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1Window_Dump - (JNIEnv *, jobject, jobject, jdouble); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: DumpArea - * Signature: (Ljcas/Standard_CString;IIIID)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1Window_DumpArea - (JNIEnv *, jobject, jobject, jint, jint, jint, jint, jdouble); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: Flush - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_Flush - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: GraphicDevice - * Signature: ()LSampleHLRJni/Aspect_GraphicDevice; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1Window_GraphicDevice - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: IsMapped - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1Window_IsMapped - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: Load - * Signature: (Ljcas/Standard_CString;)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1Window_Load - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: LoadArea - * Signature: (Ljcas/Standard_CString;IIII)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1Window_LoadArea - (JNIEnv *, jobject, jobject, jint, jint, jint, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: MMSize - * Signature: (Ljcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_MMSize - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: Map - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_Map - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: Ratio - * Signature: ()D - */ -JNIEXPORT jdouble JNICALL Java_SampleHLRJni_Aspect_1Window_Ratio - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: Restore - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_Restore - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: RestoreArea - * Signature: (IIII)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_RestoreArea - (JNIEnv *, jobject, jint, jint, jint, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: SetDoubleBuffer - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_SetDoubleBuffer - (JNIEnv *, jobject, jboolean); - -/* - * Class: SampleHLRJni_Aspect_0005fWindow - * Method: Unmap - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1Window_Unmap - (JNIEnv *, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Aspect_WindowDriver.h b/samples/java/inc/SampleHLRJni_Aspect_WindowDriver.h deleted file mode 100755 index a45152c5e1..0000000000 --- a/samples/java/inc/SampleHLRJni_Aspect_WindowDriver.h +++ /dev/null @@ -1,262 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Aspect_0005fWindowDriver */ - -#ifndef _Included_SampleHLRJni_Aspect_0005fWindowDriver -#define _Included_SampleHLRJni_Aspect_0005fWindowDriver -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleHLRJni_Aspect_0005fWindowDriver - * Method: AngleOfBuffer - * Signature: (ILjcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_AngleOfBuffer - (JNIEnv *, jobject, jint, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindowDriver - * Method: Aspect_WindowDriver_TextSize_1 - * Signature: (LSampleHLRJni/TCollection_ExtendedString;Ljcas/Standard_ShortReal;Ljcas/Standard_ShortReal;I)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_Aspect_1WindowDriver_1TextSize_11 - (JNIEnv *, jobject, jobject, jobject, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fWindowDriver - * Method: Aspect_WindowDriver_TextSize_2 - * Signature: (LSampleHLRJni/TCollection_ExtendedString;Ljcas/Standard_ShortReal;Ljcas/Standard_ShortReal;Ljcas/Standard_ShortReal;Ljcas/Standard_ShortReal;I)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_Aspect_1WindowDriver_1TextSize_12 - (JNIEnv *, jobject, jobject, jobject, jobject, jobject, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fWindowDriver - * Method: BeginDraw - * Signature: (ZI)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_BeginDraw - (JNIEnv *, jobject, jboolean, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fWindowDriver - * Method: BufferIsDrawn - * Signature: (I)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_BufferIsDrawn - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fWindowDriver - * Method: BufferIsEmpty - * Signature: (I)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_BufferIsEmpty - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fWindowDriver - * Method: BufferIsOpen - * Signature: (I)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_BufferIsOpen - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fWindowDriver - * Method: ClearBuffer - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_ClearBuffer - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fWindowDriver - * Method: CloseBuffer - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_CloseBuffer - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fWindowDriver - * Method: ColorBoundIndexs - * Signature: (Ljcas/Standard_Integer;Ljcas/Standard_Integer;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_ColorBoundIndexs - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindowDriver - * Method: DrawBuffer - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_DrawBuffer - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fWindowDriver - * Method: EraseBuffer - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_EraseBuffer - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fWindowDriver - * Method: FontBoundIndexs - * Signature: (Ljcas/Standard_Integer;Ljcas/Standard_Integer;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_FontBoundIndexs - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindowDriver - * Method: FontSize - * Signature: (Ljcas/Standard_Real;Ljcas/Standard_ShortReal;Ljcas/Standard_ShortReal;I)Ljcas/Standard_CString; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_FontSize - (JNIEnv *, jobject, jobject, jobject, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fWindowDriver - * Method: LocalColorIndex - * Signature: (I)I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_LocalColorIndex - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fWindowDriver - * Method: LocalFontIndex - * Signature: (I)I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_LocalFontIndex - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fWindowDriver - * Method: LocalMarkIndex - * Signature: (I)I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_LocalMarkIndex - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fWindowDriver - * Method: LocalTypeIndex - * Signature: (I)I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_LocalTypeIndex - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fWindowDriver - * Method: LocalWidthIndex - * Signature: (I)I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_LocalWidthIndex - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_Aspect_0005fWindowDriver - * Method: MarkBoundIndexs - * Signature: (Ljcas/Standard_Integer;Ljcas/Standard_Integer;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_MarkBoundIndexs - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindowDriver - * Method: MoveBuffer - * Signature: (IFF)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_MoveBuffer - (JNIEnv *, jobject, jint, jfloat, jfloat); - -/* - * Class: SampleHLRJni_Aspect_0005fWindowDriver - * Method: OpenBuffer - * Signature: (IFFIIIS)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_OpenBuffer - (JNIEnv *, jobject, jint, jfloat, jfloat, jint, jint, jint, jshort); - -/* - * Class: SampleHLRJni_Aspect_0005fWindowDriver - * Method: PositionOfBuffer - * Signature: (ILjcas/Standard_ShortReal;Ljcas/Standard_ShortReal;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_PositionOfBuffer - (JNIEnv *, jobject, jint, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindowDriver - * Method: ResizeSpace - * Signature: ()S - */ -JNIEXPORT jshort JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_ResizeSpace - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindowDriver - * Method: RotateBuffer - * Signature: (ID)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_RotateBuffer - (JNIEnv *, jobject, jint, jdouble); - -/* - * Class: SampleHLRJni_Aspect_0005fWindowDriver - * Method: ScaleBuffer - * Signature: (IDD)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_ScaleBuffer - (JNIEnv *, jobject, jint, jdouble, jdouble); - -/* - * Class: SampleHLRJni_Aspect_0005fWindowDriver - * Method: ScaleOfBuffer - * Signature: (ILjcas/Standard_Real;Ljcas/Standard_Real;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_ScaleOfBuffer - (JNIEnv *, jobject, jint, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindowDriver - * Method: SetDrawMode - * Signature: (S)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_SetDrawMode - (JNIEnv *, jobject, jshort); - -/* - * Class: SampleHLRJni_Aspect_0005fWindowDriver - * Method: TypeBoundIndexs - * Signature: (Ljcas/Standard_Integer;Ljcas/Standard_Integer;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_TypeBoundIndexs - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindowDriver - * Method: WidthBoundIndexs - * Signature: (Ljcas/Standard_Integer;Ljcas/Standard_Integer;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_WidthBoundIndexs - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: SampleHLRJni_Aspect_0005fWindowDriver - * Method: Window - * Signature: ()LSampleHLRJni/Aspect_Window; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_Aspect_1WindowDriver_Window - (JNIEnv *, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_ISession2D_InteractiveContext.h b/samples/java/inc/SampleHLRJni_ISession2D_InteractiveContext.h deleted file mode 100755 index 90631157fd..0000000000 --- a/samples/java/inc/SampleHLRJni_ISession2D_InteractiveContext.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_ISession2D_0005fInteractiveContext */ - -#ifndef _Included_SampleHLRJni_ISession2D_0005fInteractiveContext -#define _Included_SampleHLRJni_ISession2D_0005fInteractiveContext -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_MMgt_TShared.h b/samples/java/inc/SampleHLRJni_MMgt_TShared.h deleted file mode 100755 index 706c84d7fd..0000000000 --- a/samples/java/inc/SampleHLRJni_MMgt_TShared.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_MMgt_0005fTShared */ - -#ifndef _Included_SampleHLRJni_MMgt_0005fTShared -#define _Included_SampleHLRJni_MMgt_0005fTShared -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Quantity_Color.h b/samples/java/inc/SampleHLRJni_Quantity_Color.h deleted file mode 100755 index 41024ce877..0000000000 --- a/samples/java/inc/SampleHLRJni_Quantity_Color.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Quantity_0005fColor */ - -#ifndef _Included_SampleHLRJni_Quantity_0005fColor -#define _Included_SampleHLRJni_Quantity_0005fColor -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleHLRJni_Quantity_0005fColor - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_Quantity_1Color_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Quantity_NameOfColor.h b/samples/java/inc/SampleHLRJni_Quantity_NameOfColor.h deleted file mode 100755 index 44e8d995ed..0000000000 --- a/samples/java/inc/SampleHLRJni_Quantity_NameOfColor.h +++ /dev/null @@ -1,1047 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Quantity_0005fNameOfColor */ - -#ifndef _Included_SampleHLRJni_Quantity_0005fNameOfColor -#define _Included_SampleHLRJni_Quantity_0005fNameOfColor -#ifdef __cplusplus -extern "C" { -#endif -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BLACK -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BLACK 0L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MATRABLUE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MATRABLUE 1L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MATRAGRAY -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MATRAGRAY 2L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ALICEBLUE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ALICEBLUE 3L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ANTIQUEWHITE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ANTIQUEWHITE 4L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ANTIQUEWHITE1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ANTIQUEWHITE1 5L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ANTIQUEWHITE2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ANTIQUEWHITE2 6L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ANTIQUEWHITE3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ANTIQUEWHITE3 7L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ANTIQUEWHITE4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ANTIQUEWHITE4 8L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_AQUAMARINE1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_AQUAMARINE1 9L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_AQUAMARINE2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_AQUAMARINE2 10L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_AQUAMARINE4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_AQUAMARINE4 11L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_AZURE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_AZURE 12L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_AZURE2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_AZURE2 13L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_AZURE3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_AZURE3 14L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_AZURE4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_AZURE4 15L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BEIGE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BEIGE 16L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BISQUE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BISQUE 17L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BISQUE2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BISQUE2 18L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BISQUE3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BISQUE3 19L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BISQUE4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BISQUE4 20L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BLANCHEDALMOND -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BLANCHEDALMOND 21L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BLUE1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BLUE1 22L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BLUE2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BLUE2 23L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BLUE3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BLUE3 24L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BLUE4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BLUE4 25L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BLUEVIOLET -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BLUEVIOLET 26L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BROWN -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BROWN 27L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BROWN1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BROWN1 28L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BROWN2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BROWN2 29L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BROWN3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BROWN3 30L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BROWN4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BROWN4 31L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BURLYWOOD -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BURLYWOOD 32L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BURLYWOOD1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BURLYWOOD1 33L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BURLYWOOD2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BURLYWOOD2 34L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BURLYWOOD3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BURLYWOOD3 35L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BURLYWOOD4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BURLYWOOD4 36L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CADETBLUE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CADETBLUE 37L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CADETBLUE1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CADETBLUE1 38L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CADETBLUE2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CADETBLUE2 39L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CADETBLUE3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CADETBLUE3 40L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CADETBLUE4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CADETBLUE4 41L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CHARTREUSE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CHARTREUSE 42L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CHARTREUSE1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CHARTREUSE1 43L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CHARTREUSE2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CHARTREUSE2 44L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CHARTREUSE3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CHARTREUSE3 45L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CHARTREUSE4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CHARTREUSE4 46L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CHOCOLATE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CHOCOLATE 47L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CHOCOLATE1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CHOCOLATE1 48L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CHOCOLATE2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CHOCOLATE2 49L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CHOCOLATE3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CHOCOLATE3 50L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CHOCOLATE4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CHOCOLATE4 51L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CORAL -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CORAL 52L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CORAL1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CORAL1 53L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CORAL2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CORAL2 54L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CORAL3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CORAL3 55L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CORAL4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CORAL4 56L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CORNFLOWERBLUE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CORNFLOWERBLUE 57L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CORNSILK1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CORNSILK1 58L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CORNSILK2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CORNSILK2 59L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CORNSILK3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CORNSILK3 60L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CORNSILK4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CORNSILK4 61L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CYAN1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CYAN1 62L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CYAN2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CYAN2 63L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CYAN3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CYAN3 64L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CYAN4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_CYAN4 65L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGOLDENROD -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGOLDENROD 66L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGOLDENROD1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGOLDENROD1 67L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGOLDENROD2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGOLDENROD2 68L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGOLDENROD3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGOLDENROD3 69L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGOLDENROD4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGOLDENROD4 70L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGREEN -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGREEN 71L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKKHAKI -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKKHAKI 72L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKOLIVEGREEN -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKOLIVEGREEN 73L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKOLIVEGREEN1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKOLIVEGREEN1 74L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKOLIVEGREEN2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKOLIVEGREEN2 75L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKOLIVEGREEN3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKOLIVEGREEN3 76L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKOLIVEGREEN4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKOLIVEGREEN4 77L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORANGE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORANGE 78L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORANGE1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORANGE1 79L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORANGE2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORANGE2 80L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORANGE3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORANGE3 81L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORANGE4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORANGE4 82L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORCHID -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORCHID 83L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORCHID1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORCHID1 84L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORCHID2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORCHID2 85L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORCHID3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORCHID3 86L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORCHID4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORCHID4 87L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSALMON -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSALMON 88L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSEAGREEN -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSEAGREEN 89L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSEAGREEN1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSEAGREEN1 90L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSEAGREEN2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSEAGREEN2 91L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSEAGREEN3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSEAGREEN3 92L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSEAGREEN4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSEAGREEN4 93L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEBLUE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEBLUE 94L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEGRAY1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEGRAY1 95L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEGRAY2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEGRAY2 96L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEGRAY3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEGRAY3 97L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEGRAY4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEGRAY4 98L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEGRAY -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEGRAY 99L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKTURQUOISE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKTURQUOISE 100L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKVIOLET -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKVIOLET 101L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPPINK -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPPINK 102L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPPINK2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPPINK2 103L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPPINK3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPPINK3 104L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPPINK4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPPINK4 105L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPSKYBLUE1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPSKYBLUE1 106L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPSKYBLUE2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPSKYBLUE2 107L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPSKYBLUE3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPSKYBLUE3 108L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPSKYBLUE4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPSKYBLUE4 109L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DODGERBLUE1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DODGERBLUE1 110L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DODGERBLUE2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DODGERBLUE2 111L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DODGERBLUE3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DODGERBLUE3 112L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DODGERBLUE4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_DODGERBLUE4 113L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_FIREBRICK -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_FIREBRICK 114L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_FIREBRICK1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_FIREBRICK1 115L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_FIREBRICK2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_FIREBRICK2 116L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_FIREBRICK3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_FIREBRICK3 117L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_FIREBRICK4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_FIREBRICK4 118L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_FLORALWHITE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_FLORALWHITE 119L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_FORESTGREEN -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_FORESTGREEN 120L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GAINSBORO -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GAINSBORO 121L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GHOSTWHITE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GHOSTWHITE 122L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLD -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLD 123L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLD1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLD1 124L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLD2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLD2 125L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLD3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLD3 126L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLD4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLD4 127L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLDENROD -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLDENROD 128L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLDENROD1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLDENROD1 129L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLDENROD2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLDENROD2 130L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLDENROD3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLDENROD3 131L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLDENROD4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLDENROD4 132L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY 133L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY0 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY0 134L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY1 135L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY10 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY10 136L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY11 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY11 137L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY12 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY12 138L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY13 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY13 139L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY14 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY14 140L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY15 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY15 141L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY16 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY16 142L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY17 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY17 143L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY18 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY18 144L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY19 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY19 145L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY2 146L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY20 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY20 147L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY21 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY21 148L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY22 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY22 149L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY23 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY23 150L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY24 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY24 151L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY25 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY25 152L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY26 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY26 153L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY27 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY27 154L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY28 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY28 155L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY29 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY29 156L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY3 157L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY30 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY30 158L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY31 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY31 159L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY32 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY32 160L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY33 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY33 161L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY34 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY34 162L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY35 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY35 163L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY36 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY36 164L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY37 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY37 165L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY38 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY38 166L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY39 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY39 167L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY4 168L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY40 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY40 169L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY41 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY41 170L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY42 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY42 171L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY43 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY43 172L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY44 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY44 173L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY45 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY45 174L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY46 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY46 175L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY47 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY47 176L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY48 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY48 177L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY49 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY49 178L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY5 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY5 179L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY50 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY50 180L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY51 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY51 181L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY52 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY52 182L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY53 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY53 183L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY54 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY54 184L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY55 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY55 185L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY56 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY56 186L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY57 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY57 187L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY58 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY58 188L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY59 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY59 189L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY6 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY6 190L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY60 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY60 191L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY61 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY61 192L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY62 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY62 193L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY63 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY63 194L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY64 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY64 195L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY65 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY65 196L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY66 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY66 197L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY67 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY67 198L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY68 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY68 199L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY69 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY69 200L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY7 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY7 201L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY70 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY70 202L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY71 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY71 203L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY72 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY72 204L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY73 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY73 205L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY74 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY74 206L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY75 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY75 207L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY76 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY76 208L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY77 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY77 209L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY78 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY78 210L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY79 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY79 211L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY8 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY8 212L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY80 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY80 213L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY81 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY81 214L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY82 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY82 215L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY83 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY83 216L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY85 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY85 217L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY86 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY86 218L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY87 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY87 219L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY88 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY88 220L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY89 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY89 221L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY9 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY9 222L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY90 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY90 223L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY91 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY91 224L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY92 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY92 225L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY93 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY93 226L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY94 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY94 227L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY95 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY95 228L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GREEN -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GREEN 229L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GREEN1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GREEN1 230L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GREEN2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GREEN2 231L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GREEN3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GREEN3 232L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GREEN4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GREEN4 233L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GREENYELLOW -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GREENYELLOW 234L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY97 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY97 235L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY98 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY98 236L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY99 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY99 237L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_HONEYDEW -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_HONEYDEW 238L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_HONEYDEW2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_HONEYDEW2 239L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_HONEYDEW3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_HONEYDEW3 240L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_HONEYDEW4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_HONEYDEW4 241L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_HOTPINK -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_HOTPINK 242L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_HOTPINK1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_HOTPINK1 243L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_HOTPINK2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_HOTPINK2 244L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_HOTPINK3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_HOTPINK3 245L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_HOTPINK4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_HOTPINK4 246L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_INDIANRED -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_INDIANRED 247L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_INDIANRED1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_INDIANRED1 248L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_INDIANRED2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_INDIANRED2 249L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_INDIANRED3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_INDIANRED3 250L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_INDIANRED4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_INDIANRED4 251L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_IVORY -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_IVORY 252L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_IVORY2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_IVORY2 253L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_IVORY3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_IVORY3 254L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_IVORY4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_IVORY4 255L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_KHAKI -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_KHAKI 256L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_KHAKI1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_KHAKI1 257L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_KHAKI2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_KHAKI2 258L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_KHAKI3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_KHAKI3 259L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_KHAKI4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_KHAKI4 260L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LAVENDER -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LAVENDER 261L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LAVENDERBLUSH1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LAVENDERBLUSH1 262L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LAVENDERBLUSH2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LAVENDERBLUSH2 263L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LAVENDERBLUSH3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LAVENDERBLUSH3 264L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LAVENDERBLUSH4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LAVENDERBLUSH4 265L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LAWNGREEN -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LAWNGREEN 266L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LEMONCHIFFON1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LEMONCHIFFON1 267L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LEMONCHIFFON2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LEMONCHIFFON2 268L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LEMONCHIFFON3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LEMONCHIFFON3 269L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LEMONCHIFFON4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LEMONCHIFFON4 270L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTBLUE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTBLUE 271L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTBLUE1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTBLUE1 272L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTBLUE2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTBLUE2 273L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTBLUE3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTBLUE3 274L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTBLUE4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTBLUE4 275L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTCORAL -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTCORAL 276L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTCYAN1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTCYAN1 277L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTCYAN2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTCYAN2 278L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTCYAN3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTCYAN3 279L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTCYAN4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTCYAN4 280L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENROD -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENROD 281L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENROD1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENROD1 282L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENROD2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENROD2 283L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENROD3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENROD3 284L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENROD4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENROD4 285L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENRODYELLOW -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENRODYELLOW 286L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGRAY -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGRAY 287L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTPINK -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTPINK 288L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTPINK1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTPINK1 289L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTPINK2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTPINK2 290L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTPINK3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTPINK3 291L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTPINK4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTPINK4 292L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSALMON1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSALMON1 293L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSALMON2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSALMON2 294L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSALMON3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSALMON3 295L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSALMON4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSALMON4 296L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSEAGREEN -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSEAGREEN 297L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSKYBLUE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSKYBLUE 298L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSKYBLUE1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSKYBLUE1 299L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSKYBLUE2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSKYBLUE2 300L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSKYBLUE3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSKYBLUE3 301L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSKYBLUE4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSKYBLUE4 302L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSLATEBLUE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSLATEBLUE 303L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSLATEGRAY -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSLATEGRAY 304L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSTEELBLUE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSTEELBLUE 305L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSTEELBLUE1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSTEELBLUE1 306L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSTEELBLUE2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSTEELBLUE2 307L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSTEELBLUE3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSTEELBLUE3 308L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSTEELBLUE4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSTEELBLUE4 309L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTYELLOW -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTYELLOW 310L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTYELLOW2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTYELLOW2 311L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTYELLOW3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTYELLOW3 312L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTYELLOW4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTYELLOW4 313L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIMEGREEN -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LIMEGREEN 314L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LINEN -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_LINEN 315L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MAGENTA1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MAGENTA1 316L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MAGENTA2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MAGENTA2 317L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MAGENTA3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MAGENTA3 318L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MAGENTA4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MAGENTA4 319L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MAROON -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MAROON 320L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MAROON1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MAROON1 321L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MAROON2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MAROON2 322L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MAROON3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MAROON3 323L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MAROON4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MAROON4 324L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMAQUAMARINE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMAQUAMARINE 325L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMORCHID -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMORCHID 326L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMORCHID1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMORCHID1 327L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMORCHID2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMORCHID2 328L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMORCHID3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMORCHID3 329L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMORCHID4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMORCHID4 330L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMPURPLE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMPURPLE 331L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMPURPLE1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMPURPLE1 332L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMPURPLE2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMPURPLE2 333L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMPURPLE3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMPURPLE3 334L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMPURPLE4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMPURPLE4 335L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMSEAGREEN -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMSEAGREEN 336L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMSLATEBLUE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMSLATEBLUE 337L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMSPRINGGREEN -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMSPRINGGREEN 338L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMTURQUOISE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMTURQUOISE 339L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMVIOLETRED -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMVIOLETRED 340L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MIDNIGHTBLUE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MIDNIGHTBLUE 341L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MINTCREAM -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MINTCREAM 342L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MISTYROSE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MISTYROSE 343L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MISTYROSE2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MISTYROSE2 344L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MISTYROSE3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MISTYROSE3 345L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MISTYROSE4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MISTYROSE4 346L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MOCCASIN -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_MOCCASIN 347L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_NAVAJOWHITE1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_NAVAJOWHITE1 348L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_NAVAJOWHITE2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_NAVAJOWHITE2 349L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_NAVAJOWHITE3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_NAVAJOWHITE3 350L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_NAVAJOWHITE4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_NAVAJOWHITE4 351L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_NAVYBLUE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_NAVYBLUE 352L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_OLDLACE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_OLDLACE 353L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_OLIVEDRAB -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_OLIVEDRAB 354L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_OLIVEDRAB1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_OLIVEDRAB1 355L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_OLIVEDRAB2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_OLIVEDRAB2 356L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_OLIVEDRAB3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_OLIVEDRAB3 357L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_OLIVEDRAB4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_OLIVEDRAB4 358L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGE 359L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGE1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGE1 360L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGE2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGE2 361L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGE3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGE3 362L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGE4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGE4 363L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGERED -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGERED 364L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGERED1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGERED1 365L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGERED2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGERED2 366L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGERED3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGERED3 367L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGERED4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGERED4 368L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ORCHID -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ORCHID 369L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ORCHID1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ORCHID1 370L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ORCHID2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ORCHID2 371L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ORCHID3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ORCHID3 372L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ORCHID4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ORCHID4 373L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGOLDENROD -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGOLDENROD 374L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGREEN -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGREEN 375L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGREEN1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGREEN1 376L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGREEN2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGREEN2 377L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGREEN3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGREEN3 378L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGREEN4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGREEN4 379L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PALETURQUOISE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PALETURQUOISE 380L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PALETURQUOISE1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PALETURQUOISE1 381L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PALETURQUOISE2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PALETURQUOISE2 382L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PALETURQUOISE3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PALETURQUOISE3 383L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PALETURQUOISE4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PALETURQUOISE4 384L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEVIOLETRED -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEVIOLETRED 385L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEVIOLETRED1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEVIOLETRED1 386L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEVIOLETRED2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEVIOLETRED2 387L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEVIOLETRED3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEVIOLETRED3 388L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEVIOLETRED4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEVIOLETRED4 389L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PAPAYAWHIP -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PAPAYAWHIP 390L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PEACHPUFF -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PEACHPUFF 391L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PEACHPUFF2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PEACHPUFF2 392L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PEACHPUFF3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PEACHPUFF3 393L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PEACHPUFF4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PEACHPUFF4 394L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PERU -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PERU 395L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PINK -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PINK 396L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PINK1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PINK1 397L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PINK2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PINK2 398L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PINK3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PINK3 399L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PINK4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PINK4 400L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PLUM -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PLUM 401L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PLUM1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PLUM1 402L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PLUM2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PLUM2 403L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PLUM3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PLUM3 404L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PLUM4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PLUM4 405L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_POWDERBLUE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_POWDERBLUE 406L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PURPLE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PURPLE 407L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PURPLE1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PURPLE1 408L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PURPLE2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PURPLE2 409L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PURPLE3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PURPLE3 410L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PURPLE4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_PURPLE4 411L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_RED -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_RED 412L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_RED1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_RED1 413L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_RED2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_RED2 414L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_RED3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_RED3 415L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_RED4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_RED4 416L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ROSYBROWN -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ROSYBROWN 417L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ROSYBROWN1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ROSYBROWN1 418L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ROSYBROWN2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ROSYBROWN2 419L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ROSYBROWN3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ROSYBROWN3 420L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ROSYBROWN4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ROSYBROWN4 421L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ROYALBLUE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ROYALBLUE 422L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ROYALBLUE1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ROYALBLUE1 423L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ROYALBLUE2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ROYALBLUE2 424L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ROYALBLUE3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ROYALBLUE3 425L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ROYALBLUE4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_ROYALBLUE4 426L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SADDLEBROWN -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SADDLEBROWN 427L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SALMON -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SALMON 428L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SALMON1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SALMON1 429L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SALMON2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SALMON2 430L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SALMON3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SALMON3 431L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SALMON4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SALMON4 432L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SANDYBROWN -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SANDYBROWN 433L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SEAGREEN -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SEAGREEN 434L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SEAGREEN1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SEAGREEN1 435L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SEAGREEN2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SEAGREEN2 436L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SEAGREEN3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SEAGREEN3 437L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SEAGREEN4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SEAGREEN4 438L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SEASHELL -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SEASHELL 439L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SEASHELL2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SEASHELL2 440L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SEASHELL3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SEASHELL3 441L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SEASHELL4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SEASHELL4 442L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BEET -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_BEET 443L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_TEAL -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_TEAL 444L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SIENNA -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SIENNA 445L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SIENNA1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SIENNA1 446L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SIENNA2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SIENNA2 447L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SIENNA3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SIENNA3 448L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SIENNA4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SIENNA4 449L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SKYBLUE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SKYBLUE 450L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SKYBLUE1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SKYBLUE1 451L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SKYBLUE2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SKYBLUE2 452L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SKYBLUE3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SKYBLUE3 453L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SKYBLUE4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SKYBLUE4 454L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEBLUE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEBLUE 455L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEBLUE1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEBLUE1 456L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEBLUE2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEBLUE2 457L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEBLUE3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEBLUE3 458L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEBLUE4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEBLUE4 459L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEGRAY1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEGRAY1 460L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEGRAY2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEGRAY2 461L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEGRAY3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEGRAY3 462L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEGRAY4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEGRAY4 463L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEGRAY -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEGRAY 464L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SNOW -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SNOW 465L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SNOW2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SNOW2 466L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SNOW3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SNOW3 467L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SNOW4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SNOW4 468L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SPRINGGREEN -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SPRINGGREEN 469L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SPRINGGREEN2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SPRINGGREEN2 470L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SPRINGGREEN3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SPRINGGREEN3 471L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SPRINGGREEN4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_SPRINGGREEN4 472L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_STEELBLUE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_STEELBLUE 473L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_STEELBLUE1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_STEELBLUE1 474L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_STEELBLUE2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_STEELBLUE2 475L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_STEELBLUE3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_STEELBLUE3 476L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_STEELBLUE4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_STEELBLUE4 477L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_TAN -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_TAN 478L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_TAN1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_TAN1 479L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_TAN2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_TAN2 480L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_TAN3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_TAN3 481L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_TAN4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_TAN4 482L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_THISTLE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_THISTLE 483L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_THISTLE1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_THISTLE1 484L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_THISTLE2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_THISTLE2 485L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_THISTLE3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_THISTLE3 486L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_THISTLE4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_THISTLE4 487L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_TOMATO -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_TOMATO 488L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_TOMATO1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_TOMATO1 489L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_TOMATO2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_TOMATO2 490L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_TOMATO3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_TOMATO3 491L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_TOMATO4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_TOMATO4 492L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_TURQUOISE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_TURQUOISE 493L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_TURQUOISE1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_TURQUOISE1 494L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_TURQUOISE2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_TURQUOISE2 495L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_TURQUOISE3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_TURQUOISE3 496L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_TURQUOISE4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_TURQUOISE4 497L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLET -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLET 498L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLETRED -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLETRED 499L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLETRED1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLETRED1 500L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLETRED2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLETRED2 501L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLETRED3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLETRED3 502L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLETRED4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLETRED4 503L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_WHEAT -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_WHEAT 504L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_WHEAT1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_WHEAT1 505L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_WHEAT2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_WHEAT2 506L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_WHEAT3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_WHEAT3 507L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_WHEAT4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_WHEAT4 508L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_WHITESMOKE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_WHITESMOKE 509L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOW -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOW 510L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOW1 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOW1 511L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOW2 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOW2 512L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOW3 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOW3 513L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOW4 -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOW4 514L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOWGREEN -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOWGREEN 515L -#undef SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_WHITE -#define SampleHLRJni_Quantity_0005fNameOfColor_Quantity_NOC_WHITE 516L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_SampleHLRPackage.h b/samples/java/inc/SampleHLRJni_SampleHLRPackage.h deleted file mode 100755 index f973267d70..0000000000 --- a/samples/java/inc/SampleHLRJni_SampleHLRPackage.h +++ /dev/null @@ -1,125 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_SampleHLRPackage */ - -#ifndef _Included_SampleHLRJni_SampleHLRPackage -#define _Included_SampleHLRJni_SampleHLRPackage -#ifdef __cplusplus -extern "C" { -#endif -/* - * Class: SampleHLRJni_SampleHLRPackage - * Method: Apply - * Signature: (LSampleHLRJni/ISession2D_InteractiveContext;I)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_SampleHLRPackage_Apply - (JNIEnv *, jclass, jobject, jint); - -/* - * Class: SampleHLRJni_SampleHLRPackage - * Method: CreateView2d - * Signature: (LSampleHLRJni/V2d_Viewer;II)LSampleHLRJni/V2d_View; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_SampleHLRPackage_CreateView2d - (JNIEnv *, jclass, jobject, jint, jint); - -/* - * Class: SampleHLRJni_SampleHLRPackage - * Method: CreateViewer2d - * Signature: (Ljava/lang/String;)LSampleHLRJni/V2d_Viewer; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_SampleHLRPackage_CreateViewer2d - (JNIEnv *, jclass, jstring); - -/* - * Class: SampleHLRJni_SampleHLRPackage - * Method: CreateViewer3d - * Signature: (Ljava/lang/String;)LSampleHLRJni/V3d_Viewer; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_SampleHLRPackage_CreateViewer3d - (JNIEnv *, jclass, jstring); - -/* - * Class: SampleHLRJni_SampleHLRPackage - * Method: DisplayTrihedron - * Signature: (LSampleHLRJni/AIS_InteractiveContext;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_SampleHLRPackage_DisplayTrihedron - (JNIEnv *, jclass, jobject); - -/* - * Class: SampleHLRJni_SampleHLRPackage - * Method: GetShapes - * Signature: (LSampleHLRJni/AIS_InteractiveContext;LSampleHLRJni/AIS_InteractiveContext;)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_SampleHLRPackage_GetShapes - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleHLRJni_SampleHLRPackage - * Method: InitMaps - * Signature: (LSampleHLRJni/V2d_Viewer;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_SampleHLRPackage_InitMaps - (JNIEnv *, jclass, jobject); - -/* - * Class: SampleHLRJni_SampleHLRPackage - * Method: ReadBRep - * Signature: (Ljcas/Standard_CString;LSampleHLRJni/AIS_InteractiveContext;)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_SampleHLRPackage_ReadBRep - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleHLRJni_SampleHLRPackage - * Method: SampleHLRPackage_SaveImage_1 - * Signature: (Ljcas/Standard_CString;Ljcas/Standard_CString;LSampleHLRJni/V3d_View;)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_SampleHLRPackage_SampleHLRPackage_1SaveImage_11 - (JNIEnv *, jclass, jobject, jobject, jobject); - -/* - * Class: SampleHLRJni_SampleHLRPackage - * Method: SampleHLRPackage_SaveImage_2 - * Signature: (Ljcas/Standard_CString;Ljcas/Standard_CString;LSampleHLRJni/V2d_View;)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_SampleHLRPackage_SampleHLRPackage_1SaveImage_12 - (JNIEnv *, jclass, jobject, jobject, jobject); - -/* - * Class: SampleHLRJni_SampleHLRPackage - * Method: SaveBRep - * Signature: (Ljcas/Standard_CString;LSampleHLRJni/AIS_InteractiveContext;)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_SampleHLRPackage_SaveBRep - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleHLRJni_SampleHLRPackage - * Method: SetNbIsos - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_SampleHLRPackage_SetNbIsos - (JNIEnv *, jclass, jint); - -/* - * Class: SampleHLRJni_SampleHLRPackage - * Method: SetWindow3d - * Signature: (LSampleHLRJni/V3d_View;II)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_SampleHLRPackage_SetWindow3d - (JNIEnv *, jclass, jobject, jint, jint); - -/* - * Class: SampleHLRJni_SampleHLRPackage - * Method: UpdateProjector - * Signature: (LSampleHLRJni/V3d_View;)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_SampleHLRPackage_UpdateProjector - (JNIEnv *, jclass, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Standard_Storable.h b/samples/java/inc/SampleHLRJni_Standard_Storable.h deleted file mode 100755 index 5bcd73344c..0000000000 --- a/samples/java/inc/SampleHLRJni_Standard_Storable.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Standard_0005fStorable */ - -#ifndef _Included_SampleHLRJni_Standard_0005fStorable -#define _Included_SampleHLRJni_Standard_0005fStorable -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Standard_Transient.h b/samples/java/inc/SampleHLRJni_Standard_Transient.h deleted file mode 100755 index 5df042c5bc..0000000000 --- a/samples/java/inc/SampleHLRJni_Standard_Transient.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Standard_0005fTransient */ - -#ifndef _Included_SampleHLRJni_Standard_0005fTransient -#define _Included_SampleHLRJni_Standard_0005fTransient -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Standard_Type.h b/samples/java/inc/SampleHLRJni_Standard_Type.h deleted file mode 100755 index 57765c3aef..0000000000 --- a/samples/java/inc/SampleHLRJni_Standard_Type.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Standard_0005fType */ - -#ifndef _Included_SampleHLRJni_Standard_0005fType -#define _Included_SampleHLRJni_Standard_0005fType -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_TColQuantity_Array1OfLength.h b/samples/java/inc/SampleHLRJni_TColQuantity_Array1OfLength.h deleted file mode 100755 index 0af7cf7deb..0000000000 --- a/samples/java/inc/SampleHLRJni_TColQuantity_Array1OfLength.h +++ /dev/null @@ -1,118 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_TColQuantity_0005fArray1OfLength */ - -#ifndef _Included_SampleHLRJni_TColQuantity_0005fArray1OfLength -#define _Included_SampleHLRJni_TColQuantity_0005fArray1OfLength -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleHLRJni_TColQuantity_0005fArray1OfLength - * Method: Assign - * Signature: (LSampleHLRJni/TColQuantity_Array1OfLength;)LSampleHLRJni/TColQuantity_Array1OfLength; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_TColQuantity_1Array1OfLength_Assign - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_TColQuantity_0005fArray1OfLength - * Method: ChangeValue - * Signature: (I)D - */ -JNIEXPORT jdouble JNICALL Java_SampleHLRJni_TColQuantity_1Array1OfLength_ChangeValue - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_TColQuantity_0005fArray1OfLength - * Method: Destroy - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_TColQuantity_1Array1OfLength_Destroy - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_TColQuantity_0005fArray1OfLength - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_TColQuantity_1Array1OfLength_FinalizeValue - (JNIEnv *, jclass, jlong); - -/* - * Class: SampleHLRJni_TColQuantity_0005fArray1OfLength - * Method: Init - * Signature: (D)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_TColQuantity_1Array1OfLength_Init - (JNIEnv *, jobject, jdouble); - -/* - * Class: SampleHLRJni_TColQuantity_0005fArray1OfLength - * Method: IsAllocated - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_TColQuantity_1Array1OfLength_IsAllocated - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_TColQuantity_0005fArray1OfLength - * Method: Length - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_TColQuantity_1Array1OfLength_Length - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_TColQuantity_0005fArray1OfLength - * Method: Lower - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_TColQuantity_1Array1OfLength_Lower - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_TColQuantity_0005fArray1OfLength - * Method: SetValue - * Signature: (ID)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_TColQuantity_1Array1OfLength_SetValue - (JNIEnv *, jobject, jint, jdouble); - -/* - * Class: SampleHLRJni_TColQuantity_0005fArray1OfLength - * Method: TColQuantity_Array1OfLength_Create_1 - * Signature: (II)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_TColQuantity_1Array1OfLength_TColQuantity_1Array1OfLength_1Create_11 - (JNIEnv *, jobject, jint, jint); - -/* - * Class: SampleHLRJni_TColQuantity_0005fArray1OfLength - * Method: TColQuantity_Array1OfLength_Create_2 - * Signature: (DII)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_TColQuantity_1Array1OfLength_TColQuantity_1Array1OfLength_1Create_12 - (JNIEnv *, jobject, jdouble, jint, jint); - -/* - * Class: SampleHLRJni_TColQuantity_0005fArray1OfLength - * Method: Upper - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_TColQuantity_1Array1OfLength_Upper - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_TColQuantity_0005fArray1OfLength - * Method: Value - * Signature: (I)D - */ -JNIEXPORT jdouble JNICALL Java_SampleHLRJni_TColQuantity_1Array1OfLength_Value - (JNIEnv *, jobject, jint); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_TColQuantity_HArray1OfLength.h b/samples/java/inc/SampleHLRJni_TColQuantity_HArray1OfLength.h deleted file mode 100755 index c98aee25f6..0000000000 --- a/samples/java/inc/SampleHLRJni_TColQuantity_HArray1OfLength.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_TColQuantity_0005fHArray1OfLength */ - -#ifndef _Included_SampleHLRJni_TColQuantity_0005fHArray1OfLength -#define _Included_SampleHLRJni_TColQuantity_0005fHArray1OfLength -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_TColStd_Array1OfBoolean.h b/samples/java/inc/SampleHLRJni_TColStd_Array1OfBoolean.h deleted file mode 100755 index 2033a21302..0000000000 --- a/samples/java/inc/SampleHLRJni_TColStd_Array1OfBoolean.h +++ /dev/null @@ -1,118 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_TColStd_0005fArray1OfBoolean */ - -#ifndef _Included_SampleHLRJni_TColStd_0005fArray1OfBoolean -#define _Included_SampleHLRJni_TColStd_0005fArray1OfBoolean -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleHLRJni_TColStd_0005fArray1OfBoolean - * Method: Assign - * Signature: (LSampleHLRJni/TColStd_Array1OfBoolean;)LSampleHLRJni/TColStd_Array1OfBoolean; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_TColStd_1Array1OfBoolean_Assign - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_TColStd_0005fArray1OfBoolean - * Method: ChangeValue - * Signature: (I)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_TColStd_1Array1OfBoolean_ChangeValue - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_TColStd_0005fArray1OfBoolean - * Method: Destroy - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_TColStd_1Array1OfBoolean_Destroy - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_TColStd_0005fArray1OfBoolean - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_TColStd_1Array1OfBoolean_FinalizeValue - (JNIEnv *, jclass, jlong); - -/* - * Class: SampleHLRJni_TColStd_0005fArray1OfBoolean - * Method: Init - * Signature: (Z)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_TColStd_1Array1OfBoolean_Init - (JNIEnv *, jobject, jboolean); - -/* - * Class: SampleHLRJni_TColStd_0005fArray1OfBoolean - * Method: IsAllocated - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_TColStd_1Array1OfBoolean_IsAllocated - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_TColStd_0005fArray1OfBoolean - * Method: Length - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_TColStd_1Array1OfBoolean_Length - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_TColStd_0005fArray1OfBoolean - * Method: Lower - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_TColStd_1Array1OfBoolean_Lower - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_TColStd_0005fArray1OfBoolean - * Method: SetValue - * Signature: (IZ)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_TColStd_1Array1OfBoolean_SetValue - (JNIEnv *, jobject, jint, jboolean); - -/* - * Class: SampleHLRJni_TColStd_0005fArray1OfBoolean - * Method: TColStd_Array1OfBoolean_Create_1 - * Signature: (II)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_TColStd_1Array1OfBoolean_TColStd_1Array1OfBoolean_1Create_11 - (JNIEnv *, jobject, jint, jint); - -/* - * Class: SampleHLRJni_TColStd_0005fArray1OfBoolean - * Method: TColStd_Array1OfBoolean_Create_2 - * Signature: (ZII)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_TColStd_1Array1OfBoolean_TColStd_1Array1OfBoolean_1Create_12 - (JNIEnv *, jobject, jboolean, jint, jint); - -/* - * Class: SampleHLRJni_TColStd_0005fArray1OfBoolean - * Method: Upper - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_TColStd_1Array1OfBoolean_Upper - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_TColStd_0005fArray1OfBoolean - * Method: Value - * Signature: (I)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_TColStd_1Array1OfBoolean_Value - (JNIEnv *, jobject, jint); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_TColStd_Array1OfReal.h b/samples/java/inc/SampleHLRJni_TColStd_Array1OfReal.h deleted file mode 100755 index 9db6d32170..0000000000 --- a/samples/java/inc/SampleHLRJni_TColStd_Array1OfReal.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_TColStd_0005fArray1OfReal */ - -#ifndef _Included_SampleHLRJni_TColStd_0005fArray1OfReal -#define _Included_SampleHLRJni_TColStd_0005fArray1OfReal -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleHLRJni_TColStd_0005fArray1OfReal - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_TColStd_1Array1OfReal_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_TCollection_AsciiString.h b/samples/java/inc/SampleHLRJni_TCollection_AsciiString.h deleted file mode 100755 index 5f2c32d36d..0000000000 --- a/samples/java/inc/SampleHLRJni_TCollection_AsciiString.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_TCollection_0005fAsciiString */ - -#ifndef _Included_SampleHLRJni_TCollection_0005fAsciiString -#define _Included_SampleHLRJni_TCollection_0005fAsciiString -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleHLRJni_TCollection_0005fAsciiString - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_TCollection_1AsciiString_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_TCollection_ExtendedString.h b/samples/java/inc/SampleHLRJni_TCollection_ExtendedString.h deleted file mode 100755 index b97865b765..0000000000 --- a/samples/java/inc/SampleHLRJni_TCollection_ExtendedString.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_TCollection_0005fExtendedString */ - -#ifndef _Included_SampleHLRJni_TCollection_0005fExtendedString -#define _Included_SampleHLRJni_TCollection_0005fExtendedString -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleHLRJni_TCollection_0005fExtendedString - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_TCollection_1ExtendedString_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_TShort_Array1OfShortReal.h b/samples/java/inc/SampleHLRJni_TShort_Array1OfShortReal.h deleted file mode 100755 index b741d5d90b..0000000000 --- a/samples/java/inc/SampleHLRJni_TShort_Array1OfShortReal.h +++ /dev/null @@ -1,118 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_TShort_0005fArray1OfShortReal */ - -#ifndef _Included_SampleHLRJni_TShort_0005fArray1OfShortReal -#define _Included_SampleHLRJni_TShort_0005fArray1OfShortReal -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleHLRJni_TShort_0005fArray1OfShortReal - * Method: Assign - * Signature: (LSampleHLRJni/TShort_Array1OfShortReal;)LSampleHLRJni/TShort_Array1OfShortReal; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_TShort_1Array1OfShortReal_Assign - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleHLRJni_TShort_0005fArray1OfShortReal - * Method: ChangeValue - * Signature: (I)F - */ -JNIEXPORT jfloat JNICALL Java_SampleHLRJni_TShort_1Array1OfShortReal_ChangeValue - (JNIEnv *, jobject, jint); - -/* - * Class: SampleHLRJni_TShort_0005fArray1OfShortReal - * Method: Destroy - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_TShort_1Array1OfShortReal_Destroy - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_TShort_0005fArray1OfShortReal - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_TShort_1Array1OfShortReal_FinalizeValue - (JNIEnv *, jclass, jlong); - -/* - * Class: SampleHLRJni_TShort_0005fArray1OfShortReal - * Method: Init - * Signature: (F)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_TShort_1Array1OfShortReal_Init - (JNIEnv *, jobject, jfloat); - -/* - * Class: SampleHLRJni_TShort_0005fArray1OfShortReal - * Method: IsAllocated - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_SampleHLRJni_TShort_1Array1OfShortReal_IsAllocated - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_TShort_0005fArray1OfShortReal - * Method: Length - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_TShort_1Array1OfShortReal_Length - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_TShort_0005fArray1OfShortReal - * Method: Lower - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_TShort_1Array1OfShortReal_Lower - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_TShort_0005fArray1OfShortReal - * Method: SetValue - * Signature: (IF)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_TShort_1Array1OfShortReal_SetValue - (JNIEnv *, jobject, jint, jfloat); - -/* - * Class: SampleHLRJni_TShort_0005fArray1OfShortReal - * Method: TShort_Array1OfShortReal_Create_1 - * Signature: (II)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_TShort_1Array1OfShortReal_TShort_1Array1OfShortReal_1Create_11 - (JNIEnv *, jobject, jint, jint); - -/* - * Class: SampleHLRJni_TShort_0005fArray1OfShortReal - * Method: TShort_Array1OfShortReal_Create_2 - * Signature: (FII)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_TShort_1Array1OfShortReal_TShort_1Array1OfShortReal_1Create_12 - (JNIEnv *, jobject, jfloat, jint, jint); - -/* - * Class: SampleHLRJni_TShort_0005fArray1OfShortReal - * Method: Upper - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_SampleHLRJni_TShort_1Array1OfShortReal_Upper - (JNIEnv *, jobject); - -/* - * Class: SampleHLRJni_TShort_0005fArray1OfShortReal - * Method: Value - * Signature: (I)F - */ -JNIEXPORT jfloat JNICALL Java_SampleHLRJni_TShort_1Array1OfShortReal_Value - (JNIEnv *, jobject, jint); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_V2d_DefaultMap.h b/samples/java/inc/SampleHLRJni_V2d_DefaultMap.h deleted file mode 100755 index 38d54eeb44..0000000000 --- a/samples/java/inc/SampleHLRJni_V2d_DefaultMap.h +++ /dev/null @@ -1,62 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_V2d_0005fDefaultMap */ - -#ifndef _Included_SampleHLRJni_V2d_0005fDefaultMap -#define _Included_SampleHLRJni_V2d_0005fDefaultMap -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleHLRJni_V2d_0005fDefaultMap - * Method: ColorMap - * Signature: ()LSampleHLRJni/Aspect_GenericColorMap; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_V2d_1DefaultMap_ColorMap - (JNIEnv *, jclass); - -/* - * Class: SampleHLRJni_V2d_0005fDefaultMap - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleHLRJni_V2d_1DefaultMap_FinalizeValue - (JNIEnv *, jclass, jlong); - -/* - * Class: SampleHLRJni_V2d_0005fDefaultMap - * Method: FontMap - * Signature: ()LSampleHLRJni/Aspect_FontMap; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_V2d_1DefaultMap_FontMap - (JNIEnv *, jclass); - -/* - * Class: SampleHLRJni_V2d_0005fDefaultMap - * Method: MarkMap - * Signature: ()LSampleHLRJni/Aspect_MarkMap; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_V2d_1DefaultMap_MarkMap - (JNIEnv *, jclass); - -/* - * Class: SampleHLRJni_V2d_0005fDefaultMap - * Method: TypeMap - * Signature: ()LSampleHLRJni/Aspect_TypeMap; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_V2d_1DefaultMap_TypeMap - (JNIEnv *, jclass); - -/* - * Class: SampleHLRJni_V2d_0005fDefaultMap - * Method: WidthMap - * Signature: ()LSampleHLRJni/Aspect_WidthMap; - */ -JNIEXPORT jobject JNICALL Java_SampleHLRJni_V2d_1DefaultMap_WidthMap - (JNIEnv *, jclass); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_V2d_View.h b/samples/java/inc/SampleHLRJni_V2d_View.h deleted file mode 100755 index b81a0c00e2..0000000000 --- a/samples/java/inc/SampleHLRJni_V2d_View.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_V2d_0005fView */ - -#ifndef _Included_SampleHLRJni_V2d_0005fView -#define _Included_SampleHLRJni_V2d_0005fView -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_V2d_Viewer.h b/samples/java/inc/SampleHLRJni_V2d_Viewer.h deleted file mode 100755 index f7c100cf5e..0000000000 --- a/samples/java/inc/SampleHLRJni_V2d_Viewer.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_V2d_0005fViewer */ - -#ifndef _Included_SampleHLRJni_V2d_0005fViewer -#define _Included_SampleHLRJni_V2d_0005fViewer -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_V3d_View.h b/samples/java/inc/SampleHLRJni_V3d_View.h deleted file mode 100755 index 7c0f471c2f..0000000000 --- a/samples/java/inc/SampleHLRJni_V3d_View.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_V3d_0005fView */ - -#ifndef _Included_SampleHLRJni_V3d_0005fView -#define _Included_SampleHLRJni_V3d_0005fView -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_V3d_Viewer.h b/samples/java/inc/SampleHLRJni_V3d_Viewer.h deleted file mode 100755 index 3f337b226a..0000000000 --- a/samples/java/inc/SampleHLRJni_V3d_Viewer.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_V3d_0005fViewer */ - -#ifndef _Included_SampleHLRJni_V3d_0005fViewer -#define _Included_SampleHLRJni_V3d_0005fViewer -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Viewer_View.h b/samples/java/inc/SampleHLRJni_Viewer_View.h deleted file mode 100755 index cb22cc108f..0000000000 --- a/samples/java/inc/SampleHLRJni_Viewer_View.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Viewer_0005fView */ - -#ifndef _Included_SampleHLRJni_Viewer_0005fView -#define _Included_SampleHLRJni_Viewer_0005fView -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRJni_Viewer_Viewer.h b/samples/java/inc/SampleHLRJni_Viewer_Viewer.h deleted file mode 100755 index ac9d20689f..0000000000 --- a/samples/java/inc/SampleHLRJni_Viewer_Viewer.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleHLRJni_Viewer_0005fViewer */ - -#ifndef _Included_SampleHLRJni_Viewer_0005fViewer -#define _Included_SampleHLRJni_Viewer_0005fViewer -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleHLRPackage.hxx b/samples/java/inc/SampleHLRPackage.hxx deleted file mode 100755 index 7ea79d8a6b..0000000000 --- a/samples/java/inc/SampleHLRPackage.hxx +++ /dev/null @@ -1,130 +0,0 @@ -// File generated by CPPExt (Value) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#ifndef _SampleHLRPackage_HeaderFile -#define _SampleHLRPackage_HeaderFile - -#ifndef _Handle_V3d_Viewer_HeaderFile -#include -#endif -#ifndef _Standard_ExtString_HeaderFile -#include -#endif -#ifndef _Handle_V3d_View_HeaderFile -#include -#endif -#ifndef _Standard_Integer_HeaderFile -#include -#endif -#ifndef _Handle_V2d_Viewer_HeaderFile -#include -#endif -#ifndef _Handle_V2d_View_HeaderFile -#include -#endif -#ifndef _Handle_AIS_InteractiveContext_HeaderFile -#include -#endif -#ifndef _Standard_Boolean_HeaderFile -#include -#endif -#ifndef _Handle_ISession2D_InteractiveContext_HeaderFile -#include -#endif -#ifndef _Standard_CString_HeaderFile -#include -#endif -class V3d_Viewer; -class V3d_View; -class V2d_Viewer; -class V2d_View; -class AIS_InteractiveContext; -class ISession2D_InteractiveContext; - - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Standard_Macro_HeaderFile -#include -#endif - -class SampleHLRPackage { - -public: - - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - // Methods PUBLIC - // -Standard_EXPORT static Handle_V3d_Viewer CreateViewer3d(const Standard_ExtString aName) ; -Standard_EXPORT static void SetWindow3d(const Handle(V3d_View)& aView,const Standard_Integer hiwin,const Standard_Integer lowin) ; -Standard_EXPORT static Handle_V2d_Viewer CreateViewer2d(const Standard_ExtString aName) ; -Standard_EXPORT static Handle_V2d_View CreateView2d(const Handle(V2d_Viewer)& aViewer,const Standard_Integer hiwin,const Standard_Integer lowin) ; -Standard_EXPORT static void InitMaps(const Handle(V2d_Viewer)& aViewer) ; -Standard_EXPORT static void DisplayTrihedron(const Handle(AIS_InteractiveContext)& aContext) ; -Standard_EXPORT static Standard_Boolean GetShapes(const Handle(AIS_InteractiveContext)& aSrcContext,const Handle(AIS_InteractiveContext)& aDestContext) ; -Standard_EXPORT static void Apply(const Handle(ISession2D_InteractiveContext)& aContext2d,const Standard_Integer aDisplayMode) ; -Standard_EXPORT static void UpdateProjector(const Handle(V3d_View)& aView) ; -Standard_EXPORT static void SetNbIsos(const Standard_Integer aNbIsos) ; -Standard_EXPORT static Standard_Boolean ReadBRep(const Standard_CString aFileName,const Handle(AIS_InteractiveContext)& aContext) ; -Standard_EXPORT static Standard_Boolean SaveBRep(const Standard_CString aFileName,const Handle(AIS_InteractiveContext)& aContext) ; -Standard_EXPORT static Standard_Boolean SaveImage(const Standard_CString aFileName,const Standard_CString aFormat,const Handle(V3d_View)& aView) ; -Standard_EXPORT static Standard_Boolean SaveImage(const Standard_CString aFileName,const Standard_CString aFormat,const Handle(V2d_View)& aView) ; - - - - - -protected: - - // Methods PROTECTED - // - - - // Fields PROTECTED - // - - -private: - - // Methods PRIVATE - // - - - // Fields PRIVATE - // - - -}; - - - - - -// other Inline functions and methods (like "C++: function call" methods) -// - - -#endif diff --git a/samples/java/inc/SampleImportExportJni_AIS_InteractiveContext.h b/samples/java/inc/SampleImportExportJni_AIS_InteractiveContext.h deleted file mode 100755 index 4a8e37daaa..0000000000 --- a/samples/java/inc/SampleImportExportJni_AIS_InteractiveContext.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleImportExportJni_AIS_0005fInteractiveContext */ - -#ifndef _Included_SampleImportExportJni_AIS_0005fInteractiveContext -#define _Included_SampleImportExportJni_AIS_0005fInteractiveContext -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleImportExportJni_IFSelect_ReturnStatus.h b/samples/java/inc/SampleImportExportJni_IFSelect_ReturnStatus.h deleted file mode 100755 index 96d4867e57..0000000000 --- a/samples/java/inc/SampleImportExportJni_IFSelect_ReturnStatus.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleImportExportJni_IFSelect_0005fReturnStatus */ - -#ifndef _Included_SampleImportExportJni_IFSelect_0005fReturnStatus -#define _Included_SampleImportExportJni_IFSelect_0005fReturnStatus -#ifdef __cplusplus -extern "C" { -#endif -#undef SampleImportExportJni_IFSelect_0005fReturnStatus_IFSelect_RetVoid -#define SampleImportExportJni_IFSelect_0005fReturnStatus_IFSelect_RetVoid 0L -#undef SampleImportExportJni_IFSelect_0005fReturnStatus_IFSelect_RetDone -#define SampleImportExportJni_IFSelect_0005fReturnStatus_IFSelect_RetDone 1L -#undef SampleImportExportJni_IFSelect_0005fReturnStatus_IFSelect_RetError -#define SampleImportExportJni_IFSelect_0005fReturnStatus_IFSelect_RetError 2L -#undef SampleImportExportJni_IFSelect_0005fReturnStatus_IFSelect_RetFail -#define SampleImportExportJni_IFSelect_0005fReturnStatus_IFSelect_RetFail 3L -#undef SampleImportExportJni_IFSelect_0005fReturnStatus_IFSelect_RetStop -#define SampleImportExportJni_IFSelect_0005fReturnStatus_IFSelect_RetStop 4L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleImportExportJni_MMgt_TShared.h b/samples/java/inc/SampleImportExportJni_MMgt_TShared.h deleted file mode 100755 index 38842e0313..0000000000 --- a/samples/java/inc/SampleImportExportJni_MMgt_TShared.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleImportExportJni_MMgt_0005fTShared */ - -#ifndef _Included_SampleImportExportJni_MMgt_0005fTShared -#define _Included_SampleImportExportJni_MMgt_0005fTShared -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleImportExportJni_MgtBRepAbs_TriangleMode.h b/samples/java/inc/SampleImportExportJni_MgtBRepAbs_TriangleMode.h deleted file mode 100755 index cef0531224..0000000000 --- a/samples/java/inc/SampleImportExportJni_MgtBRepAbs_TriangleMode.h +++ /dev/null @@ -1,17 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleImportExportJni_MgtBRep_0005fTriangleMode */ - -#ifndef _Included_SampleImportExportJni_MgtBRep_0005fTriangleMode -#define _Included_SampleImportExportJni_MgtBRep_0005fTriangleMode -#ifdef __cplusplus -extern "C" { -#endif -#undef SampleImportExportJni_MgtBRep_0005fTriangleMode_MgtBRep_WithTriangle -#define SampleImportExportJni_MgtBRep_0005fTriangleMode_MgtBRep_WithTriangle 0L -#undef SampleImportExportJni_MgtBRep_0005fTriangleMode_MgtBRep_WithoutTriangle -#define SampleImportExportJni_MgtBRep_0005fTriangleMode_MgtBRep_WithoutTriangle 1L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleImportExportJni_MgtBRep_TriangleMode.h b/samples/java/inc/SampleImportExportJni_MgtBRep_TriangleMode.h deleted file mode 100755 index cef0531224..0000000000 --- a/samples/java/inc/SampleImportExportJni_MgtBRep_TriangleMode.h +++ /dev/null @@ -1,17 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleImportExportJni_MgtBRep_0005fTriangleMode */ - -#ifndef _Included_SampleImportExportJni_MgtBRep_0005fTriangleMode -#define _Included_SampleImportExportJni_MgtBRep_0005fTriangleMode -#ifdef __cplusplus -extern "C" { -#endif -#undef SampleImportExportJni_MgtBRep_0005fTriangleMode_MgtBRep_WithTriangle -#define SampleImportExportJni_MgtBRep_0005fTriangleMode_MgtBRep_WithTriangle 0L -#undef SampleImportExportJni_MgtBRep_0005fTriangleMode_MgtBRep_WithoutTriangle -#define SampleImportExportJni_MgtBRep_0005fTriangleMode_MgtBRep_WithoutTriangle 1L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleImportExportJni_STEPControl_StepModelType.h b/samples/java/inc/SampleImportExportJni_STEPControl_StepModelType.h deleted file mode 100755 index 198edbf51b..0000000000 --- a/samples/java/inc/SampleImportExportJni_STEPControl_StepModelType.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleImportExportJni_STEPControl_0005fStepModelType */ - -#ifndef _Included_SampleImportExportJni_STEPControl_0005fStepModelType -#define _Included_SampleImportExportJni_STEPControl_0005fStepModelType -#ifdef __cplusplus -extern "C" { -#endif -#undef SampleImportExportJni_STEPControl_0005fStepModelType_STEPControl_AsIs -#define SampleImportExportJni_STEPControl_0005fStepModelType_STEPControl_AsIs 0L -#undef SampleImportExportJni_STEPControl_0005fStepModelType_STEPControl_ManifoldSolidBrep -#define SampleImportExportJni_STEPControl_0005fStepModelType_STEPControl_ManifoldSolidBrep 1L -#undef SampleImportExportJni_STEPControl_0005fStepModelType_STEPControl_BrepWithVoids -#define SampleImportExportJni_STEPControl_0005fStepModelType_STEPControl_BrepWithVoids 2L -#undef SampleImportExportJni_STEPControl_0005fStepModelType_STEPControl_FacetedBrep -#define SampleImportExportJni_STEPControl_0005fStepModelType_STEPControl_FacetedBrep 3L -#undef SampleImportExportJni_STEPControl_0005fStepModelType_STEPControl_FacetedBrepAndBrepWithVoids -#define SampleImportExportJni_STEPControl_0005fStepModelType_STEPControl_FacetedBrepAndBrepWithVoids 4L -#undef SampleImportExportJni_STEPControl_0005fStepModelType_STEPControl_ShellBasedSurfaceModel -#define SampleImportExportJni_STEPControl_0005fStepModelType_STEPControl_ShellBasedSurfaceModel 5L -#undef SampleImportExportJni_STEPControl_0005fStepModelType_STEPControl_GeometricCurveSet -#define SampleImportExportJni_STEPControl_0005fStepModelType_STEPControl_GeometricCurveSet 6L -#undef SampleImportExportJni_STEPControl_0005fStepModelType_STEPControl_Hybrid -#define SampleImportExportJni_STEPControl_0005fStepModelType_STEPControl_Hybrid 7L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleImportExportJni_SampleImportExportPackage.h b/samples/java/inc/SampleImportExportJni_SampleImportExportPackage.h deleted file mode 100755 index aa8c99696c..0000000000 --- a/samples/java/inc/SampleImportExportJni_SampleImportExportPackage.h +++ /dev/null @@ -1,101 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleImportExportJni_SampleImportExportPackage */ - -#ifndef _Included_SampleImportExportJni_SampleImportExportPackage -#define _Included_SampleImportExportJni_SampleImportExportPackage -#ifdef __cplusplus -extern "C" { -#endif -/* - * Class: SampleImportExportJni_SampleImportExportPackage - * Method: CreateViewer3d - * Signature: (Ljava/lang/String;)LSampleImportExportJni/V3d_Viewer; - */ -JNIEXPORT jobject JNICALL Java_SampleImportExportJni_SampleImportExportPackage_CreateViewer3d - (JNIEnv *, jclass, jstring); - -/* - * Class: SampleImportExportJni_SampleImportExportPackage - * Method: ReadBREP - * Signature: (Ljcas/Standard_CString;LSampleImportExportJni/AIS_InteractiveContext;)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleImportExportJni_SampleImportExportPackage_ReadBREP - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleImportExportJni_SampleImportExportPackage - * Method: ReadCSFDB - * Signature: (Ljcas/Standard_CString;LSampleImportExportJni/AIS_InteractiveContext;LSampleImportExportJni/TCollection_AsciiString;)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleImportExportJni_SampleImportExportPackage_ReadCSFDB - (JNIEnv *, jclass, jobject, jobject, jobject); - -/* - * Class: SampleImportExportJni_SampleImportExportPackage - * Method: ReadIGES - * Signature: (Ljcas/Standard_CString;LSampleImportExportJni/AIS_InteractiveContext;)I - */ -JNIEXPORT jint JNICALL Java_SampleImportExportJni_SampleImportExportPackage_ReadIGES - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleImportExportJni_SampleImportExportPackage - * Method: ReadSTEP - * Signature: (Ljcas/Standard_CString;LSampleImportExportJni/AIS_InteractiveContext;)S - */ -JNIEXPORT jshort JNICALL Java_SampleImportExportJni_SampleImportExportPackage_ReadSTEP - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleImportExportJni_SampleImportExportPackage - * Method: SaveBREP - * Signature: (Ljcas/Standard_CString;LSampleImportExportJni/AIS_InteractiveContext;)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleImportExportJni_SampleImportExportPackage_SaveBREP - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleImportExportJni_SampleImportExportPackage - * Method: SaveCSFDB - * Signature: (Ljcas/Standard_CString;LSampleImportExportJni/AIS_InteractiveContext;LSampleImportExportJni/TCollection_AsciiString;S)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleImportExportJni_SampleImportExportPackage_SaveCSFDB - (JNIEnv *, jclass, jobject, jobject, jobject, jshort); - -/* - * Class: SampleImportExportJni_SampleImportExportPackage - * Method: SaveIGES - * Signature: (Ljcas/Standard_CString;LSampleImportExportJni/AIS_InteractiveContext;)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleImportExportJni_SampleImportExportPackage_SaveIGES - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleImportExportJni_SampleImportExportPackage - * Method: SaveImage - * Signature: (Ljcas/Standard_CString;Ljcas/Standard_CString;LSampleImportExportJni/V3d_View;)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleImportExportJni_SampleImportExportPackage_SaveImage - (JNIEnv *, jclass, jobject, jobject, jobject); - -/* - * Class: SampleImportExportJni_SampleImportExportPackage - * Method: SaveSTEP - * Signature: (Ljcas/Standard_CString;LSampleImportExportJni/AIS_InteractiveContext;S)S - */ -JNIEXPORT jshort JNICALL Java_SampleImportExportJni_SampleImportExportPackage_SaveSTEP - (JNIEnv *, jclass, jobject, jobject, jshort); - -/* - * Class: SampleImportExportJni_SampleImportExportPackage - * Method: SetWindow3d - * Signature: (LSampleImportExportJni/V3d_View;II)V - */ -JNIEXPORT void JNICALL Java_SampleImportExportJni_SampleImportExportPackage_SetWindow3d - (JNIEnv *, jclass, jobject, jint, jint); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleImportExportJni_Standard_Transient.h b/samples/java/inc/SampleImportExportJni_Standard_Transient.h deleted file mode 100755 index 843676a9d9..0000000000 --- a/samples/java/inc/SampleImportExportJni_Standard_Transient.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleImportExportJni_Standard_0005fTransient */ - -#ifndef _Included_SampleImportExportJni_Standard_0005fTransient -#define _Included_SampleImportExportJni_Standard_0005fTransient -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleImportExportJni_TCollection_AsciiString.h b/samples/java/inc/SampleImportExportJni_TCollection_AsciiString.h deleted file mode 100755 index e08e61e2e5..0000000000 --- a/samples/java/inc/SampleImportExportJni_TCollection_AsciiString.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleImportExportJni_TCollection_0005fAsciiString */ - -#ifndef _Included_SampleImportExportJni_TCollection_0005fAsciiString -#define _Included_SampleImportExportJni_TCollection_0005fAsciiString -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleImportExportJni_TCollection_0005fAsciiString - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleImportExportJni_TCollection_1AsciiString_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleImportExportJni_V3d_View.h b/samples/java/inc/SampleImportExportJni_V3d_View.h deleted file mode 100755 index 3f24bff2d9..0000000000 --- a/samples/java/inc/SampleImportExportJni_V3d_View.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleImportExportJni_V3d_0005fView */ - -#ifndef _Included_SampleImportExportJni_V3d_0005fView -#define _Included_SampleImportExportJni_V3d_0005fView -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleImportExportJni_V3d_Viewer.h b/samples/java/inc/SampleImportExportJni_V3d_Viewer.h deleted file mode 100755 index b35b4ca195..0000000000 --- a/samples/java/inc/SampleImportExportJni_V3d_Viewer.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleImportExportJni_V3d_0005fViewer */ - -#ifndef _Included_SampleImportExportJni_V3d_0005fViewer -#define _Included_SampleImportExportJni_V3d_0005fViewer -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleImportExportJni_Viewer_View.h b/samples/java/inc/SampleImportExportJni_Viewer_View.h deleted file mode 100755 index db1bde8d7e..0000000000 --- a/samples/java/inc/SampleImportExportJni_Viewer_View.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleImportExportJni_Viewer_0005fView */ - -#ifndef _Included_SampleImportExportJni_Viewer_0005fView -#define _Included_SampleImportExportJni_Viewer_0005fView -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleImportExportJni_Viewer_Viewer.h b/samples/java/inc/SampleImportExportJni_Viewer_Viewer.h deleted file mode 100755 index e9275ef918..0000000000 --- a/samples/java/inc/SampleImportExportJni_Viewer_Viewer.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleImportExportJni_Viewer_0005fViewer */ - -#ifndef _Included_SampleImportExportJni_Viewer_0005fViewer -#define _Included_SampleImportExportJni_Viewer_0005fViewer -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleImportExportPackage.hxx b/samples/java/inc/SampleImportExportPackage.hxx deleted file mode 100755 index 9e434f9529..0000000000 --- a/samples/java/inc/SampleImportExportPackage.hxx +++ /dev/null @@ -1,125 +0,0 @@ -// File generated by CPPExt (Value) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#ifndef _SampleImportExportPackage_HeaderFile -#define _SampleImportExportPackage_HeaderFile - -#ifndef _Handle_V3d_Viewer_HeaderFile -#include -#endif -#ifndef _Standard_ExtString_HeaderFile -#include -#endif -#ifndef _Handle_V3d_View_HeaderFile -#include -#endif -#ifndef _Standard_Integer_HeaderFile -#include -#endif -#ifndef _Standard_Boolean_HeaderFile -#include -#endif -#ifndef _Standard_CString_HeaderFile -#include -#endif -#ifndef _Handle_AIS_InteractiveContext_HeaderFile -#include -#endif -#ifndef _MgtBRep_TriangleMode_HeaderFile -#include -#endif -#ifndef _IFSelect_ReturnStatus_HeaderFile -#include -#endif -#ifndef _STEPControl_StepModelType_HeaderFile -#include -#endif -class V3d_Viewer; -class V3d_View; -class AIS_InteractiveContext; -class TCollection_AsciiString; - - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Standard_Macro_HeaderFile -#include -#endif - -class SampleImportExportPackage { - -public: - - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - // Methods PUBLIC - // -Standard_EXPORT static Handle_V3d_Viewer CreateViewer3d(const Standard_ExtString aName) ; -Standard_EXPORT static void SetWindow3d(const Handle(V3d_View)& aView,const Standard_Integer hiwin,const Standard_Integer lowin) ; -Standard_EXPORT static Standard_Boolean ReadBREP(const Standard_CString aFileName,const Handle(AIS_InteractiveContext)& aContext) ; -Standard_EXPORT static Standard_Boolean SaveBREP(const Standard_CString aFileName,const Handle(AIS_InteractiveContext)& aContext) ; -Standard_EXPORT static Standard_Boolean ReadCSFDB(const Standard_CString aFileName,const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& ReturnMessage) ; -Standard_EXPORT static Standard_Boolean SaveCSFDB(const Standard_CString aFileName,const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& ReturnMessage,const MgtBRep_TriangleMode aTriangleMode = MgtBRep_WithTriangle) ; -Standard_EXPORT static IFSelect_ReturnStatus ReadSTEP(const Standard_CString aFileName,const Handle(AIS_InteractiveContext)& aContext) ; -Standard_EXPORT static IFSelect_ReturnStatus SaveSTEP(const Standard_CString aFileName,const Handle(AIS_InteractiveContext)& aContext,const STEPControl_StepModelType aValue = STEPControl_AsIs) ; -Standard_EXPORT static Standard_Integer ReadIGES(const Standard_CString aFileName,const Handle(AIS_InteractiveContext)& aContext) ; -Standard_EXPORT static Standard_Boolean SaveIGES(const Standard_CString aFileName,const Handle(AIS_InteractiveContext)& aContext) ; -Standard_EXPORT static Standard_Boolean SaveImage(const Standard_CString aFileName,const Standard_CString aFormat,const Handle(V3d_View)& aView) ; - - - - - -protected: - - // Methods PROTECTED - // - - - // Fields PROTECTED - // - - -private: - - // Methods PRIVATE - // - - - // Fields PRIVATE - // - - -}; - - - - - -// other Inline functions and methods (like "C++: function call" methods) -// - - -#endif diff --git a/samples/java/inc/SampleViewer3DJni_AIS_InteractiveContext.h b/samples/java/inc/SampleViewer3DJni_AIS_InteractiveContext.h deleted file mode 100755 index 13c44668f3..0000000000 --- a/samples/java/inc/SampleViewer3DJni_AIS_InteractiveContext.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_AIS_0005fInteractiveContext */ - -#ifndef _Included_SampleViewer3DJni_AIS_0005fInteractiveContext -#define _Included_SampleViewer3DJni_AIS_0005fInteractiveContext -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_AlienImage_AlienImage.h b/samples/java/inc/SampleViewer3DJni_AlienImage_AlienImage.h deleted file mode 100755 index a191f54f54..0000000000 --- a/samples/java/inc/SampleViewer3DJni_AlienImage_AlienImage.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_AlienImage_0005fAlienImage */ - -#ifndef _Included_SampleViewer3DJni_AlienImage_0005fAlienImage -#define _Included_SampleViewer3DJni_AlienImage_0005fAlienImage -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Aspect_Array1OfEdge.h b/samples/java/inc/SampleViewer3DJni_Aspect_Array1OfEdge.h deleted file mode 100755 index e7092e90fe..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Aspect_Array1OfEdge.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Aspect_0005fArray1OfEdge */ - -#ifndef _Included_SampleViewer3DJni_Aspect_0005fArray1OfEdge -#define _Included_SampleViewer3DJni_Aspect_0005fArray1OfEdge -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleViewer3DJni_Aspect_0005fArray1OfEdge - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Aspect_1Array1OfEdge_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Aspect_FillMethod.h b/samples/java/inc/SampleViewer3DJni_Aspect_FillMethod.h deleted file mode 100755 index ed34c52ac9..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Aspect_FillMethod.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Aspect_0005fFillMethod */ - -#ifndef _Included_SampleViewer3DJni_Aspect_0005fFillMethod -#define _Included_SampleViewer3DJni_Aspect_0005fFillMethod -#ifdef __cplusplus -extern "C" { -#endif -#undef SampleViewer3DJni_Aspect_0005fFillMethod_Aspect_FM_NONE -#define SampleViewer3DJni_Aspect_0005fFillMethod_Aspect_FM_NONE 0L -#undef SampleViewer3DJni_Aspect_0005fFillMethod_Aspect_FM_CENTERED -#define SampleViewer3DJni_Aspect_0005fFillMethod_Aspect_FM_CENTERED 1L -#undef SampleViewer3DJni_Aspect_0005fFillMethod_Aspect_FM_TILED -#define SampleViewer3DJni_Aspect_0005fFillMethod_Aspect_FM_TILED 2L -#undef SampleViewer3DJni_Aspect_0005fFillMethod_Aspect_FM_STRETCH -#define SampleViewer3DJni_Aspect_0005fFillMethod_Aspect_FM_STRETCH 3L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Aspect_GraphicDriver.h b/samples/java/inc/SampleViewer3DJni_Aspect_GraphicDriver.h deleted file mode 100755 index b4acaec158..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Aspect_GraphicDriver.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Aspect_0005fGraphicDriver */ - -#ifndef _Included_SampleViewer3DJni_Aspect_0005fGraphicDriver -#define _Included_SampleViewer3DJni_Aspect_0005fGraphicDriver -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Aspect_TypeOfTriedronEcho.h b/samples/java/inc/SampleViewer3DJni_Aspect_TypeOfTriedronEcho.h deleted file mode 100755 index 335789ad13..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Aspect_TypeOfTriedronEcho.h +++ /dev/null @@ -1,49 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho */ - -#ifndef _Included_SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho -#define _Included_SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho -#ifdef __cplusplus -extern "C" { -#endif -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_NONE -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_NONE 0L -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_ORIGIN -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_ORIGIN 1L -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_AXIS_X -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_AXIS_X 2L -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_AXIS_Y -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_AXIS_Y 3L -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_AXIS_Z -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_AXIS_Z 4L -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_TEXT_X -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_TEXT_X 5L -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_TEXT_Y -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_TEXT_Y 6L -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_TEXT_Z -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_TEXT_Z 7L -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_01 -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_01 8L -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_02 -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_02 9L -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_03 -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_03 10L -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_04 -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_04 11L -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_05 -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_05 12L -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_06 -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_06 13L -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_07 -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_07 14L -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_08 -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_08 15L -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_09 -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_09 16L -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_10 -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronEcho_Aspect_TOTE_10 17L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Aspect_TypeOfTriedronPosition.h b/samples/java/inc/SampleViewer3DJni_Aspect_TypeOfTriedronPosition.h deleted file mode 100755 index d75086929f..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Aspect_TypeOfTriedronPosition.h +++ /dev/null @@ -1,43 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition */ - -#ifndef _Included_SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition -#define _Included_SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition -#ifdef __cplusplus -extern "C" { -#endif -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_CENTER -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_CENTER 0L -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_LEFT_LOWER -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_LEFT_LOWER 1L -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_LEFT_UPPER -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_LEFT_UPPER 2L -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_RIGHT_LOWER -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_RIGHT_LOWER 3L -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_RIGHT_UPPER -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_RIGHT_UPPER 4L -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_01 -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_01 5L -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_02 -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_02 6L -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_03 -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_03 7L -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_04 -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_04 8L -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_05 -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_05 9L -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_06 -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_06 10L -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_07 -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_07 11L -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_08 -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_08 12L -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_09 -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_09 13L -#undef SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_10 -#define SampleViewer3DJni_Aspect_0005fTypeOfTriedronPosition_Aspect_TOTP_10 14L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Graphic3d_Array1OfVertex.h b/samples/java/inc/SampleViewer3DJni_Graphic3d_Array1OfVertex.h deleted file mode 100755 index 7414a37d77..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Graphic3d_Array1OfVertex.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Graphic3d_0005fArray1OfVertex */ - -#ifndef _Included_SampleViewer3DJni_Graphic3d_0005fArray1OfVertex -#define _Included_SampleViewer3DJni_Graphic3d_0005fArray1OfVertex -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleViewer3DJni_Graphic3d_0005fArray1OfVertex - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1Array1OfVertex_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Graphic3d_Array1OfVertexC.h b/samples/java/inc/SampleViewer3DJni_Graphic3d_Array1OfVertexC.h deleted file mode 100755 index a4d9531696..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Graphic3d_Array1OfVertexC.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Graphic3d_0005fArray1OfVertexC */ - -#ifndef _Included_SampleViewer3DJni_Graphic3d_0005fArray1OfVertexC -#define _Included_SampleViewer3DJni_Graphic3d_0005fArray1OfVertexC -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleViewer3DJni_Graphic3d_0005fArray1OfVertexC - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1Array1OfVertexC_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Graphic3d_Array1OfVertexN.h b/samples/java/inc/SampleViewer3DJni_Graphic3d_Array1OfVertexN.h deleted file mode 100755 index 18f10ecd5f..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Graphic3d_Array1OfVertexN.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Graphic3d_0005fArray1OfVertexN */ - -#ifndef _Included_SampleViewer3DJni_Graphic3d_0005fArray1OfVertexN -#define _Included_SampleViewer3DJni_Graphic3d_0005fArray1OfVertexN -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleViewer3DJni_Graphic3d_0005fArray1OfVertexN - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1Array1OfVertexN_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Graphic3d_Array1OfVertexNC.h b/samples/java/inc/SampleViewer3DJni_Graphic3d_Array1OfVertexNC.h deleted file mode 100755 index 95aba0763d..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Graphic3d_Array1OfVertexNC.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Graphic3d_0005fArray1OfVertexNC */ - -#ifndef _Included_SampleViewer3DJni_Graphic3d_0005fArray1OfVertexNC -#define _Included_SampleViewer3DJni_Graphic3d_0005fArray1OfVertexNC -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleViewer3DJni_Graphic3d_0005fArray1OfVertexNC - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1Array1OfVertexNC_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Graphic3d_Array1OfVertexNT.h b/samples/java/inc/SampleViewer3DJni_Graphic3d_Array1OfVertexNT.h deleted file mode 100755 index 43c82acfd6..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Graphic3d_Array1OfVertexNT.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Graphic3d_0005fArray1OfVertexNT */ - -#ifndef _Included_SampleViewer3DJni_Graphic3d_0005fArray1OfVertexNT -#define _Included_SampleViewer3DJni_Graphic3d_0005fArray1OfVertexNT -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleViewer3DJni_Graphic3d_0005fArray1OfVertexNT - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1Array1OfVertexNT_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Graphic3d_Array2OfVertex.h b/samples/java/inc/SampleViewer3DJni_Graphic3d_Array2OfVertex.h deleted file mode 100755 index e78987d110..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Graphic3d_Array2OfVertex.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Graphic3d_0005fArray2OfVertex */ - -#ifndef _Included_SampleViewer3DJni_Graphic3d_0005fArray2OfVertex -#define _Included_SampleViewer3DJni_Graphic3d_0005fArray2OfVertex -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleViewer3DJni_Graphic3d_0005fArray2OfVertex - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1Array2OfVertex_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Graphic3d_Array2OfVertexN.h b/samples/java/inc/SampleViewer3DJni_Graphic3d_Array2OfVertexN.h deleted file mode 100755 index 9ef84dc24b..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Graphic3d_Array2OfVertexN.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Graphic3d_0005fArray2OfVertexN */ - -#ifndef _Included_SampleViewer3DJni_Graphic3d_0005fArray2OfVertexN -#define _Included_SampleViewer3DJni_Graphic3d_0005fArray2OfVertexN -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleViewer3DJni_Graphic3d_0005fArray2OfVertexN - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1Array2OfVertexN_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Graphic3d_Array2OfVertexNT.h b/samples/java/inc/SampleViewer3DJni_Graphic3d_Array2OfVertexNT.h deleted file mode 100755 index e8978b870b..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Graphic3d_Array2OfVertexNT.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Graphic3d_0005fArray2OfVertexNT */ - -#ifndef _Included_SampleViewer3DJni_Graphic3d_0005fArray2OfVertexNT -#define _Included_SampleViewer3DJni_Graphic3d_0005fArray2OfVertexNT -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleViewer3DJni_Graphic3d_0005fArray2OfVertexNT - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1Array2OfVertexNT_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Graphic3d_ExportFormat.h b/samples/java/inc/SampleViewer3DJni_Graphic3d_ExportFormat.h deleted file mode 100755 index 2947697370..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Graphic3d_ExportFormat.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Graphic3d_0005fExportFormat */ - -#ifndef _Included_SampleViewer3DJni_Graphic3d_0005fExportFormat -#define _Included_SampleViewer3DJni_Graphic3d_0005fExportFormat -#ifdef __cplusplus -extern "C" { -#endif -#undef SampleViewer3DJni_Graphic3d_0005fExportFormat_Graphic3d_EF_PostScript -#define SampleViewer3DJni_Graphic3d_0005fExportFormat_Graphic3d_EF_PostScript 0L -#undef SampleViewer3DJni_Graphic3d_0005fExportFormat_Graphic3d_EF_EnhPostScript -#define SampleViewer3DJni_Graphic3d_0005fExportFormat_Graphic3d_EF_EnhPostScript 1L -#undef SampleViewer3DJni_Graphic3d_0005fExportFormat_Graphic3d_EF_EnhMetaFile -#define SampleViewer3DJni_Graphic3d_0005fExportFormat_Graphic3d_EF_EnhMetaFile 2L -#undef SampleViewer3DJni_Graphic3d_0005fExportFormat_Graphic3d_EF_PDF -#define SampleViewer3DJni_Graphic3d_0005fExportFormat_Graphic3d_EF_PDF 3L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Graphic3d_GraphicDriver.h b/samples/java/inc/SampleViewer3DJni_Graphic3d_GraphicDriver.h deleted file mode 100755 index e668985818..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Graphic3d_GraphicDriver.h +++ /dev/null @@ -1,374 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Graphic3d_0005fGraphicDriver */ - -#ifndef _Included_SampleViewer3DJni_Graphic3d_0005fGraphicDriver -#define _Included_SampleViewer3DJni_Graphic3d_0005fGraphicDriver -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: BeginPolygon2d - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_BeginPolygon2d - (JNIEnv *, jobject); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: BeginPolyline - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_BeginPolyline - (JNIEnv *, jobject); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: BeginPolyline2d - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_BeginPolyline2d - (JNIEnv *, jobject); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: CreateTexture - * Signature: (SLSampleViewer3DJni/AlienImage_AlienImage;Ljcas/Standard_CString;LSampleViewer3DJni/TColStd_HArray1OfReal;)I - */ -JNIEXPORT jint JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_CreateTexture - (JNIEnv *, jobject, jshort, jobject, jobject, jobject); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: DestroyTexture - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_DestroyTexture - (JNIEnv *, jobject, jint); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: Edge - * Signature: (FF)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_Edge - (JNIEnv *, jobject, jfloat, jfloat); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: End - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_End - (JNIEnv *, jobject); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: EndAddMode - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_EndAddMode - (JNIEnv *, jobject); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: EndImmediatMode - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_EndImmediatMode - (JNIEnv *, jobject, jint); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: EndLayer - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_EndLayer - (JNIEnv *, jobject); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: EndPolygon2d - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_EndPolygon2d - (JNIEnv *, jobject); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: EndPolyline - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_EndPolyline - (JNIEnv *, jobject); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: EndPolyline2d - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_EndPolyline2d - (JNIEnv *, jobject); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: Graphic3d_GraphicDriver_Begin_1 - * Signature: (Ljcas/Standard_CString;)Z - */ -JNIEXPORT jboolean JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_Graphic3d_1GraphicDriver_1Begin_11 - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: Graphic3d_GraphicDriver_Create_0 - * Signature: (Ljcas/Standard_CString;)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_Graphic3d_1GraphicDriver_1Create_10 - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: Graphic3d_GraphicDriver_Draw_1 - * Signature: (FFF)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_Graphic3d_1GraphicDriver_1Draw_11 - (JNIEnv *, jobject, jfloat, jfloat, jfloat); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: Graphic3d_GraphicDriver_Draw_2 - * Signature: (FF)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_Graphic3d_1GraphicDriver_1Draw_12 - (JNIEnv *, jobject, jfloat, jfloat); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: Graphic3d_GraphicDriver_Move_1 - * Signature: (FFF)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_Graphic3d_1GraphicDriver_1Move_11 - (JNIEnv *, jobject, jfloat, jfloat, jfloat); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: Graphic3d_GraphicDriver_Move_2 - * Signature: (FF)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_Graphic3d_1GraphicDriver_1Move_12 - (JNIEnv *, jobject, jfloat, jfloat); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: Graphic3d_GraphicDriver_Text_5 - * Signature: (Ljcas/Standard_CString;FFF)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_Graphic3d_1GraphicDriver_1Text_15 - (JNIEnv *, jobject, jobject, jfloat, jfloat, jfloat); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: InitPick - * Signature: ()V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_InitPick - (JNIEnv *, jobject); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: InquireLightLimit - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_InquireLightLimit - (JNIEnv *, jobject); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: InquirePlaneLimit - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_InquirePlaneLimit - (JNIEnv *, jobject); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: InquireTextureAvailable - * Signature: ()Z - */ -JNIEXPORT jboolean JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_InquireTextureAvailable - (JNIEnv *, jobject); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: InquireViewLimit - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_InquireViewLimit - (JNIEnv *, jobject); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: PrintBoolean - * Signature: (Ljcas/Standard_CString;Z)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_PrintBoolean - (JNIEnv *, jobject, jobject, jboolean); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: PrintFunction - * Signature: (Ljcas/Standard_CString;)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_PrintFunction - (JNIEnv *, jobject, jobject); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: PrintIResult - * Signature: (Ljcas/Standard_CString;I)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_PrintIResult - (JNIEnv *, jobject, jobject, jint); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: PrintInteger - * Signature: (Ljcas/Standard_CString;I)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_PrintInteger - (JNIEnv *, jobject, jobject, jint); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: PrintMatrix - * Signature: (Ljcas/Standard_CString;LSampleViewer3DJni/TColStd_Array2OfReal;)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_PrintMatrix - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: PrintShortReal - * Signature: (Ljcas/Standard_CString;F)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_PrintShortReal - (JNIEnv *, jobject, jobject, jfloat); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: PrintString - * Signature: (Ljcas/Standard_CString;Ljcas/Standard_CString;)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_PrintString - (JNIEnv *, jobject, jobject, jobject); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: Rectangle - * Signature: (FFFF)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_Rectangle - (JNIEnv *, jobject, jfloat, jfloat, jfloat, jfloat); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: SetColor - * Signature: (FFF)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_SetColor - (JNIEnv *, jobject, jfloat, jfloat, jfloat); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: SetLineAttributes - * Signature: (IF)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_SetLineAttributes - (JNIEnv *, jobject, jint, jfloat); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: SetLineColor - * Signature: (FFF)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_SetLineColor - (JNIEnv *, jobject, jfloat, jfloat, jfloat); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: SetLineType - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_SetLineType - (JNIEnv *, jobject, jint); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: SetLineWidth - * Signature: (F)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_SetLineWidth - (JNIEnv *, jobject, jfloat); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: SetMinMax - * Signature: (FFFFFF)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_SetMinMax - (JNIEnv *, jobject, jfloat, jfloat, jfloat, jfloat, jfloat, jfloat); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: SetTextAttributes - * Signature: (IIFFF)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_SetTextAttributes - (JNIEnv *, jobject, jchar*, jint, jfloat, jfloat, jfloat); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: SetTrace - * Signature: (I)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_SetTrace - (JNIEnv *, jobject, jint); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: TextSize - * Signature: (Ljcas/Standard_CString;FLjcas/Standard_ShortReal;Ljcas/Standard_ShortReal;Ljcas/Standard_ShortReal;)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_TextSize - (JNIEnv *, jobject, jobject, jfloat, jobject, jobject, jobject); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: Trace - * Signature: ()I - */ -JNIEXPORT jint JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_Trace - (JNIEnv *, jobject); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: Transform - * Signature: (LSampleViewer3DJni/TColStd_Array2OfReal;S)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_Transform - (JNIEnv *, jobject, jobject, jshort); - -/* - * Class: SampleViewer3DJni_Graphic3d_0005fGraphicDriver - * Method: ZBufferTriedronSetup - * Signature: (SSSDDI)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1GraphicDriver_ZBufferTriedronSetup - (JNIEnv *, jobject, jshort, jshort, jshort, jdouble, jdouble, jint); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Graphic3d_HArray1OfBytes.h b/samples/java/inc/SampleViewer3DJni_Graphic3d_HArray1OfBytes.h deleted file mode 100755 index 8463756b3b..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Graphic3d_HArray1OfBytes.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Graphic3d_0005fHArray1OfBytes */ - -#ifndef _Included_SampleViewer3DJni_Graphic3d_0005fHArray1OfBytes -#define _Included_SampleViewer3DJni_Graphic3d_0005fHArray1OfBytes -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Graphic3d_HorizontalTextAlignment.h b/samples/java/inc/SampleViewer3DJni_Graphic3d_HorizontalTextAlignment.h deleted file mode 100755 index e7798fc62c..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Graphic3d_HorizontalTextAlignment.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Graphic3d_0005fHorizontalTextAlignment */ - -#ifndef _Included_SampleViewer3DJni_Graphic3d_0005fHorizontalTextAlignment -#define _Included_SampleViewer3DJni_Graphic3d_0005fHorizontalTextAlignment -#ifdef __cplusplus -extern "C" { -#endif -#undef SampleViewer3DJni_Graphic3d_0005fHorizontalTextAlignment_Graphic3d_HTA_NORMAL -#define SampleViewer3DJni_Graphic3d_0005fHorizontalTextAlignment_Graphic3d_HTA_NORMAL 0L -#undef SampleViewer3DJni_Graphic3d_0005fHorizontalTextAlignment_Graphic3d_HTA_LEFT -#define SampleViewer3DJni_Graphic3d_0005fHorizontalTextAlignment_Graphic3d_HTA_LEFT 1L -#undef SampleViewer3DJni_Graphic3d_0005fHorizontalTextAlignment_Graphic3d_HTA_CENTER -#define SampleViewer3DJni_Graphic3d_0005fHorizontalTextAlignment_Graphic3d_HTA_CENTER 2L -#undef SampleViewer3DJni_Graphic3d_0005fHorizontalTextAlignment_Graphic3d_HTA_RIGHT -#define SampleViewer3DJni_Graphic3d_0005fHorizontalTextAlignment_Graphic3d_HTA_RIGHT 3L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Graphic3d_SortType.h b/samples/java/inc/SampleViewer3DJni_Graphic3d_SortType.h deleted file mode 100755 index dfc101cca7..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Graphic3d_SortType.h +++ /dev/null @@ -1,17 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Graphic3d_0005fSortType */ - -#ifndef _Included_SampleViewer3DJni_Graphic3d_0005fSortType -#define _Included_SampleViewer3DJni_Graphic3d_0005fSortType -#ifdef __cplusplus -extern "C" { -#endif -#undef SampleViewer3DJni_Graphic3d_0005fSortType_Graphic3d_ST_Simple -#define SampleViewer3DJni_Graphic3d_0005fSortType_Graphic3d_ST_Simple 0L -#undef SampleViewer3DJni_Graphic3d_0005fSortType_Graphic3d_ST_BSP_Tree -#define SampleViewer3DJni_Graphic3d_0005fSortType_Graphic3d_ST_BSP_Tree 1L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Graphic3d_TextPath.h b/samples/java/inc/SampleViewer3DJni_Graphic3d_TextPath.h deleted file mode 100755 index 22d24e3820..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Graphic3d_TextPath.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Graphic3d_0005fTextPath */ - -#ifndef _Included_SampleViewer3DJni_Graphic3d_0005fTextPath -#define _Included_SampleViewer3DJni_Graphic3d_0005fTextPath -#ifdef __cplusplus -extern "C" { -#endif -#undef SampleViewer3DJni_Graphic3d_0005fTextPath_Graphic3d_TP_UP -#define SampleViewer3DJni_Graphic3d_0005fTextPath_Graphic3d_TP_UP 0L -#undef SampleViewer3DJni_Graphic3d_0005fTextPath_Graphic3d_TP_DOWN -#define SampleViewer3DJni_Graphic3d_0005fTextPath_Graphic3d_TP_DOWN 1L -#undef SampleViewer3DJni_Graphic3d_0005fTextPath_Graphic3d_TP_LEFT -#define SampleViewer3DJni_Graphic3d_0005fTextPath_Graphic3d_TP_LEFT 2L -#undef SampleViewer3DJni_Graphic3d_0005fTextPath_Graphic3d_TP_RIGHT -#define SampleViewer3DJni_Graphic3d_0005fTextPath_Graphic3d_TP_RIGHT 3L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Graphic3d_TypeOfComposition.h b/samples/java/inc/SampleViewer3DJni_Graphic3d_TypeOfComposition.h deleted file mode 100755 index 86b58729e4..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Graphic3d_TypeOfComposition.h +++ /dev/null @@ -1,17 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Graphic3d_0005fTypeOfComposition */ - -#ifndef _Included_SampleViewer3DJni_Graphic3d_0005fTypeOfComposition -#define _Included_SampleViewer3DJni_Graphic3d_0005fTypeOfComposition -#ifdef __cplusplus -extern "C" { -#endif -#undef SampleViewer3DJni_Graphic3d_0005fTypeOfComposition_Graphic3d_TOC_REPLACE -#define SampleViewer3DJni_Graphic3d_0005fTypeOfComposition_Graphic3d_TOC_REPLACE 0L -#undef SampleViewer3DJni_Graphic3d_0005fTypeOfComposition_Graphic3d_TOC_POSTCONCATENATE -#define SampleViewer3DJni_Graphic3d_0005fTypeOfComposition_Graphic3d_TOC_POSTCONCATENATE 1L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Graphic3d_TypeOfPolygon.h b/samples/java/inc/SampleViewer3DJni_Graphic3d_TypeOfPolygon.h deleted file mode 100755 index 018d99a7b9..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Graphic3d_TypeOfPolygon.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Graphic3d_0005fTypeOfPolygon */ - -#ifndef _Included_SampleViewer3DJni_Graphic3d_0005fTypeOfPolygon -#define _Included_SampleViewer3DJni_Graphic3d_0005fTypeOfPolygon -#ifdef __cplusplus -extern "C" { -#endif -#undef SampleViewer3DJni_Graphic3d_0005fTypeOfPolygon_Graphic3d_TOP_UNKNOWN -#define SampleViewer3DJni_Graphic3d_0005fTypeOfPolygon_Graphic3d_TOP_UNKNOWN 0L -#undef SampleViewer3DJni_Graphic3d_0005fTypeOfPolygon_Graphic3d_TOP_COMPLEX -#define SampleViewer3DJni_Graphic3d_0005fTypeOfPolygon_Graphic3d_TOP_COMPLEX 1L -#undef SampleViewer3DJni_Graphic3d_0005fTypeOfPolygon_Graphic3d_TOP_CONCAVE -#define SampleViewer3DJni_Graphic3d_0005fTypeOfPolygon_Graphic3d_TOP_CONCAVE 2L -#undef SampleViewer3DJni_Graphic3d_0005fTypeOfPolygon_Graphic3d_TOP_CONVEX -#define SampleViewer3DJni_Graphic3d_0005fTypeOfPolygon_Graphic3d_TOP_CONVEX 3L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Graphic3d_TypeOfPrimitive.h b/samples/java/inc/SampleViewer3DJni_Graphic3d_TypeOfPrimitive.h deleted file mode 100755 index 2cae493475..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Graphic3d_TypeOfPrimitive.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Graphic3d_0005fTypeOfPrimitive */ - -#ifndef _Included_SampleViewer3DJni_Graphic3d_0005fTypeOfPrimitive -#define _Included_SampleViewer3DJni_Graphic3d_0005fTypeOfPrimitive -#ifdef __cplusplus -extern "C" { -#endif -#undef SampleViewer3DJni_Graphic3d_0005fTypeOfPrimitive_Graphic3d_TOP_UNDEFINED -#define SampleViewer3DJni_Graphic3d_0005fTypeOfPrimitive_Graphic3d_TOP_UNDEFINED 0L -#undef SampleViewer3DJni_Graphic3d_0005fTypeOfPrimitive_Graphic3d_TOP_POLYLINE -#define SampleViewer3DJni_Graphic3d_0005fTypeOfPrimitive_Graphic3d_TOP_POLYLINE 1L -#undef SampleViewer3DJni_Graphic3d_0005fTypeOfPrimitive_Graphic3d_TOP_POLYGON -#define SampleViewer3DJni_Graphic3d_0005fTypeOfPrimitive_Graphic3d_TOP_POLYGON 2L -#undef SampleViewer3DJni_Graphic3d_0005fTypeOfPrimitive_Graphic3d_TOP_TRIANGLEMESH -#define SampleViewer3DJni_Graphic3d_0005fTypeOfPrimitive_Graphic3d_TOP_TRIANGLEMESH 3L -#undef SampleViewer3DJni_Graphic3d_0005fTypeOfPrimitive_Graphic3d_TOP_QUADRANGLEMESH -#define SampleViewer3DJni_Graphic3d_0005fTypeOfPrimitive_Graphic3d_TOP_QUADRANGLEMESH 4L -#undef SampleViewer3DJni_Graphic3d_0005fTypeOfPrimitive_Graphic3d_TOP_TEXT -#define SampleViewer3DJni_Graphic3d_0005fTypeOfPrimitive_Graphic3d_TOP_TEXT 5L -#undef SampleViewer3DJni_Graphic3d_0005fTypeOfPrimitive_Graphic3d_TOP_MARKER -#define SampleViewer3DJni_Graphic3d_0005fTypeOfPrimitive_Graphic3d_TOP_MARKER 6L -#undef SampleViewer3DJni_Graphic3d_0005fTypeOfPrimitive_Graphic3d_TOP_PARRAY -#define SampleViewer3DJni_Graphic3d_0005fTypeOfPrimitive_Graphic3d_TOP_PARRAY 7L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Graphic3d_TypeOfTexture.h b/samples/java/inc/SampleViewer3DJni_Graphic3d_TypeOfTexture.h deleted file mode 100755 index b6adbc2995..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Graphic3d_TypeOfTexture.h +++ /dev/null @@ -1,19 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Graphic3d_0005fTypeOfTexture */ - -#ifndef _Included_SampleViewer3DJni_Graphic3d_0005fTypeOfTexture -#define _Included_SampleViewer3DJni_Graphic3d_0005fTypeOfTexture -#ifdef __cplusplus -extern "C" { -#endif -#undef SampleViewer3DJni_Graphic3d_0005fTypeOfTexture_Graphic3d_TOT_1D -#define SampleViewer3DJni_Graphic3d_0005fTypeOfTexture_Graphic3d_TOT_1D 0L -#undef SampleViewer3DJni_Graphic3d_0005fTypeOfTexture_Graphic3d_TOT_2D -#define SampleViewer3DJni_Graphic3d_0005fTypeOfTexture_Graphic3d_TOT_2D 1L -#undef SampleViewer3DJni_Graphic3d_0005fTypeOfTexture_Graphic3d_TOT_2D_MIPMAP -#define SampleViewer3DJni_Graphic3d_0005fTypeOfTexture_Graphic3d_TOT_2D_MIPMAP 2L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Graphic3d_Vector.h b/samples/java/inc/SampleViewer3DJni_Graphic3d_Vector.h deleted file mode 100755 index b0dba0cf5b..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Graphic3d_Vector.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Graphic3d_0005fVector */ - -#ifndef _Included_SampleViewer3DJni_Graphic3d_0005fVector -#define _Included_SampleViewer3DJni_Graphic3d_0005fVector -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleViewer3DJni_Graphic3d_0005fVector - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1Vector_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Graphic3d_Vertex.h b/samples/java/inc/SampleViewer3DJni_Graphic3d_Vertex.h deleted file mode 100755 index a2cfdfdc6b..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Graphic3d_Vertex.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Graphic3d_0005fVertex */ - -#ifndef _Included_SampleViewer3DJni_Graphic3d_0005fVertex -#define _Included_SampleViewer3DJni_Graphic3d_0005fVertex -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleViewer3DJni_Graphic3d_0005fVertex - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1Vertex_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Graphic3d_VertexN.h b/samples/java/inc/SampleViewer3DJni_Graphic3d_VertexN.h deleted file mode 100755 index 2b7c820ef7..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Graphic3d_VertexN.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Graphic3d_0005fVertexN */ - -#ifndef _Included_SampleViewer3DJni_Graphic3d_0005fVertexN -#define _Included_SampleViewer3DJni_Graphic3d_0005fVertexN -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleViewer3DJni_Graphic3d_0005fVertexN - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1VertexN_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Graphic3d_VertexNC.h b/samples/java/inc/SampleViewer3DJni_Graphic3d_VertexNC.h deleted file mode 100755 index 4302b6a993..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Graphic3d_VertexNC.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Graphic3d_0005fVertexNC */ - -#ifndef _Included_SampleViewer3DJni_Graphic3d_0005fVertexNC -#define _Included_SampleViewer3DJni_Graphic3d_0005fVertexNC -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleViewer3DJni_Graphic3d_0005fVertexNC - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_Graphic3d_1VertexNC_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Graphic3d_VerticalTextAlignment.h b/samples/java/inc/SampleViewer3DJni_Graphic3d_VerticalTextAlignment.h deleted file mode 100755 index d3fc115ed3..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Graphic3d_VerticalTextAlignment.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Graphic3d_0005fVerticalTextAlignment */ - -#ifndef _Included_SampleViewer3DJni_Graphic3d_0005fVerticalTextAlignment -#define _Included_SampleViewer3DJni_Graphic3d_0005fVerticalTextAlignment -#ifdef __cplusplus -extern "C" { -#endif -#undef SampleViewer3DJni_Graphic3d_0005fVerticalTextAlignment_Graphic3d_VTA_NORMAL -#define SampleViewer3DJni_Graphic3d_0005fVerticalTextAlignment_Graphic3d_VTA_NORMAL 0L -#undef SampleViewer3DJni_Graphic3d_0005fVerticalTextAlignment_Graphic3d_VTA_TOP -#define SampleViewer3DJni_Graphic3d_0005fVerticalTextAlignment_Graphic3d_VTA_TOP 1L -#undef SampleViewer3DJni_Graphic3d_0005fVerticalTextAlignment_Graphic3d_VTA_CAP -#define SampleViewer3DJni_Graphic3d_0005fVerticalTextAlignment_Graphic3d_VTA_CAP 2L -#undef SampleViewer3DJni_Graphic3d_0005fVerticalTextAlignment_Graphic3d_VTA_HALF -#define SampleViewer3DJni_Graphic3d_0005fVerticalTextAlignment_Graphic3d_VTA_HALF 3L -#undef SampleViewer3DJni_Graphic3d_0005fVerticalTextAlignment_Graphic3d_VTA_BASE -#define SampleViewer3DJni_Graphic3d_0005fVerticalTextAlignment_Graphic3d_VTA_BASE 4L -#undef SampleViewer3DJni_Graphic3d_0005fVerticalTextAlignment_Graphic3d_VTA_BOTTOM -#define SampleViewer3DJni_Graphic3d_0005fVerticalTextAlignment_Graphic3d_VTA_BOTTOM 5L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_MMgt_TShared.h b/samples/java/inc/SampleViewer3DJni_MMgt_TShared.h deleted file mode 100755 index 83fd56633d..0000000000 --- a/samples/java/inc/SampleViewer3DJni_MMgt_TShared.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_MMgt_0005fTShared */ - -#ifndef _Included_SampleViewer3DJni_MMgt_0005fTShared -#define _Included_SampleViewer3DJni_MMgt_0005fTShared -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Quantity_NameOfColor.h b/samples/java/inc/SampleViewer3DJni_Quantity_NameOfColor.h deleted file mode 100755 index 8801c3afb1..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Quantity_NameOfColor.h +++ /dev/null @@ -1,1047 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Quantity_0005fNameOfColor */ - -#ifndef _Included_SampleViewer3DJni_Quantity_0005fNameOfColor -#define _Included_SampleViewer3DJni_Quantity_0005fNameOfColor -#ifdef __cplusplus -extern "C" { -#endif -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BLACK -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BLACK 0L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MATRABLUE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MATRABLUE 1L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MATRAGRAY -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MATRAGRAY 2L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ALICEBLUE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ALICEBLUE 3L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ANTIQUEWHITE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ANTIQUEWHITE 4L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ANTIQUEWHITE1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ANTIQUEWHITE1 5L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ANTIQUEWHITE2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ANTIQUEWHITE2 6L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ANTIQUEWHITE3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ANTIQUEWHITE3 7L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ANTIQUEWHITE4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ANTIQUEWHITE4 8L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_AQUAMARINE1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_AQUAMARINE1 9L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_AQUAMARINE2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_AQUAMARINE2 10L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_AQUAMARINE4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_AQUAMARINE4 11L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_AZURE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_AZURE 12L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_AZURE2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_AZURE2 13L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_AZURE3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_AZURE3 14L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_AZURE4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_AZURE4 15L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BEIGE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BEIGE 16L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BISQUE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BISQUE 17L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BISQUE2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BISQUE2 18L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BISQUE3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BISQUE3 19L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BISQUE4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BISQUE4 20L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BLANCHEDALMOND -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BLANCHEDALMOND 21L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BLUE1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BLUE1 22L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BLUE2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BLUE2 23L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BLUE3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BLUE3 24L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BLUE4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BLUE4 25L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BLUEVIOLET -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BLUEVIOLET 26L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BROWN -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BROWN 27L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BROWN1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BROWN1 28L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BROWN2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BROWN2 29L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BROWN3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BROWN3 30L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BROWN4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BROWN4 31L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BURLYWOOD -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BURLYWOOD 32L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BURLYWOOD1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BURLYWOOD1 33L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BURLYWOOD2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BURLYWOOD2 34L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BURLYWOOD3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BURLYWOOD3 35L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BURLYWOOD4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BURLYWOOD4 36L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CADETBLUE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CADETBLUE 37L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CADETBLUE1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CADETBLUE1 38L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CADETBLUE2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CADETBLUE2 39L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CADETBLUE3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CADETBLUE3 40L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CADETBLUE4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CADETBLUE4 41L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CHARTREUSE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CHARTREUSE 42L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CHARTREUSE1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CHARTREUSE1 43L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CHARTREUSE2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CHARTREUSE2 44L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CHARTREUSE3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CHARTREUSE3 45L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CHARTREUSE4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CHARTREUSE4 46L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CHOCOLATE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CHOCOLATE 47L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CHOCOLATE1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CHOCOLATE1 48L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CHOCOLATE2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CHOCOLATE2 49L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CHOCOLATE3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CHOCOLATE3 50L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CHOCOLATE4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CHOCOLATE4 51L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CORAL -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CORAL 52L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CORAL1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CORAL1 53L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CORAL2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CORAL2 54L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CORAL3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CORAL3 55L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CORAL4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CORAL4 56L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CORNFLOWERBLUE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CORNFLOWERBLUE 57L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CORNSILK1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CORNSILK1 58L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CORNSILK2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CORNSILK2 59L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CORNSILK3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CORNSILK3 60L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CORNSILK4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CORNSILK4 61L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CYAN1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CYAN1 62L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CYAN2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CYAN2 63L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CYAN3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CYAN3 64L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CYAN4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_CYAN4 65L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGOLDENROD -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGOLDENROD 66L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGOLDENROD1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGOLDENROD1 67L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGOLDENROD2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGOLDENROD2 68L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGOLDENROD3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGOLDENROD3 69L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGOLDENROD4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGOLDENROD4 70L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGREEN -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKGREEN 71L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKKHAKI -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKKHAKI 72L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKOLIVEGREEN -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKOLIVEGREEN 73L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKOLIVEGREEN1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKOLIVEGREEN1 74L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKOLIVEGREEN2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKOLIVEGREEN2 75L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKOLIVEGREEN3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKOLIVEGREEN3 76L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKOLIVEGREEN4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKOLIVEGREEN4 77L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORANGE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORANGE 78L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORANGE1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORANGE1 79L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORANGE2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORANGE2 80L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORANGE3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORANGE3 81L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORANGE4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORANGE4 82L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORCHID -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORCHID 83L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORCHID1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORCHID1 84L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORCHID2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORCHID2 85L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORCHID3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORCHID3 86L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORCHID4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKORCHID4 87L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSALMON -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSALMON 88L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSEAGREEN -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSEAGREEN 89L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSEAGREEN1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSEAGREEN1 90L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSEAGREEN2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSEAGREEN2 91L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSEAGREEN3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSEAGREEN3 92L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSEAGREEN4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSEAGREEN4 93L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEBLUE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEBLUE 94L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEGRAY1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEGRAY1 95L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEGRAY2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEGRAY2 96L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEGRAY3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEGRAY3 97L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEGRAY4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEGRAY4 98L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEGRAY -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKSLATEGRAY 99L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKTURQUOISE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKTURQUOISE 100L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKVIOLET -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DARKVIOLET 101L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPPINK -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPPINK 102L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPPINK2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPPINK2 103L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPPINK3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPPINK3 104L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPPINK4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPPINK4 105L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPSKYBLUE1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPSKYBLUE1 106L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPSKYBLUE2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPSKYBLUE2 107L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPSKYBLUE3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPSKYBLUE3 108L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPSKYBLUE4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DEEPSKYBLUE4 109L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DODGERBLUE1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DODGERBLUE1 110L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DODGERBLUE2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DODGERBLUE2 111L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DODGERBLUE3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DODGERBLUE3 112L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DODGERBLUE4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_DODGERBLUE4 113L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_FIREBRICK -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_FIREBRICK 114L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_FIREBRICK1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_FIREBRICK1 115L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_FIREBRICK2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_FIREBRICK2 116L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_FIREBRICK3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_FIREBRICK3 117L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_FIREBRICK4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_FIREBRICK4 118L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_FLORALWHITE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_FLORALWHITE 119L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_FORESTGREEN -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_FORESTGREEN 120L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GAINSBORO -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GAINSBORO 121L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GHOSTWHITE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GHOSTWHITE 122L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLD -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLD 123L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLD1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLD1 124L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLD2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLD2 125L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLD3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLD3 126L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLD4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLD4 127L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLDENROD -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLDENROD 128L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLDENROD1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLDENROD1 129L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLDENROD2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLDENROD2 130L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLDENROD3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLDENROD3 131L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLDENROD4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GOLDENROD4 132L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY 133L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY0 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY0 134L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY1 135L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY10 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY10 136L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY11 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY11 137L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY12 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY12 138L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY13 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY13 139L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY14 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY14 140L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY15 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY15 141L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY16 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY16 142L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY17 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY17 143L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY18 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY18 144L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY19 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY19 145L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY2 146L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY20 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY20 147L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY21 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY21 148L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY22 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY22 149L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY23 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY23 150L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY24 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY24 151L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY25 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY25 152L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY26 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY26 153L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY27 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY27 154L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY28 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY28 155L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY29 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY29 156L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY3 157L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY30 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY30 158L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY31 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY31 159L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY32 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY32 160L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY33 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY33 161L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY34 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY34 162L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY35 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY35 163L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY36 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY36 164L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY37 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY37 165L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY38 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY38 166L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY39 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY39 167L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY4 168L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY40 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY40 169L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY41 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY41 170L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY42 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY42 171L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY43 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY43 172L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY44 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY44 173L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY45 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY45 174L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY46 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY46 175L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY47 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY47 176L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY48 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY48 177L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY49 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY49 178L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY5 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY5 179L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY50 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY50 180L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY51 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY51 181L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY52 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY52 182L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY53 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY53 183L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY54 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY54 184L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY55 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY55 185L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY56 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY56 186L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY57 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY57 187L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY58 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY58 188L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY59 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY59 189L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY6 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY6 190L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY60 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY60 191L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY61 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY61 192L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY62 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY62 193L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY63 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY63 194L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY64 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY64 195L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY65 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY65 196L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY66 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY66 197L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY67 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY67 198L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY68 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY68 199L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY69 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY69 200L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY7 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY7 201L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY70 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY70 202L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY71 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY71 203L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY72 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY72 204L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY73 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY73 205L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY74 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY74 206L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY75 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY75 207L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY76 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY76 208L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY77 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY77 209L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY78 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY78 210L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY79 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY79 211L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY8 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY8 212L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY80 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY80 213L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY81 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY81 214L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY82 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY82 215L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY83 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY83 216L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY85 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY85 217L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY86 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY86 218L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY87 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY87 219L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY88 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY88 220L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY89 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY89 221L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY9 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY9 222L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY90 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY90 223L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY91 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY91 224L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY92 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY92 225L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY93 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY93 226L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY94 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY94 227L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY95 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY95 228L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GREEN -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GREEN 229L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GREEN1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GREEN1 230L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GREEN2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GREEN2 231L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GREEN3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GREEN3 232L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GREEN4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GREEN4 233L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GREENYELLOW -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GREENYELLOW 234L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY97 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY97 235L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY98 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY98 236L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY99 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_GRAY99 237L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_HONEYDEW -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_HONEYDEW 238L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_HONEYDEW2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_HONEYDEW2 239L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_HONEYDEW3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_HONEYDEW3 240L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_HONEYDEW4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_HONEYDEW4 241L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_HOTPINK -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_HOTPINK 242L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_HOTPINK1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_HOTPINK1 243L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_HOTPINK2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_HOTPINK2 244L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_HOTPINK3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_HOTPINK3 245L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_HOTPINK4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_HOTPINK4 246L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_INDIANRED -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_INDIANRED 247L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_INDIANRED1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_INDIANRED1 248L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_INDIANRED2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_INDIANRED2 249L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_INDIANRED3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_INDIANRED3 250L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_INDIANRED4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_INDIANRED4 251L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_IVORY -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_IVORY 252L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_IVORY2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_IVORY2 253L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_IVORY3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_IVORY3 254L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_IVORY4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_IVORY4 255L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_KHAKI -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_KHAKI 256L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_KHAKI1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_KHAKI1 257L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_KHAKI2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_KHAKI2 258L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_KHAKI3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_KHAKI3 259L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_KHAKI4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_KHAKI4 260L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LAVENDER -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LAVENDER 261L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LAVENDERBLUSH1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LAVENDERBLUSH1 262L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LAVENDERBLUSH2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LAVENDERBLUSH2 263L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LAVENDERBLUSH3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LAVENDERBLUSH3 264L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LAVENDERBLUSH4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LAVENDERBLUSH4 265L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LAWNGREEN -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LAWNGREEN 266L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LEMONCHIFFON1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LEMONCHIFFON1 267L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LEMONCHIFFON2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LEMONCHIFFON2 268L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LEMONCHIFFON3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LEMONCHIFFON3 269L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LEMONCHIFFON4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LEMONCHIFFON4 270L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTBLUE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTBLUE 271L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTBLUE1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTBLUE1 272L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTBLUE2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTBLUE2 273L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTBLUE3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTBLUE3 274L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTBLUE4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTBLUE4 275L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTCORAL -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTCORAL 276L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTCYAN1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTCYAN1 277L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTCYAN2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTCYAN2 278L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTCYAN3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTCYAN3 279L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTCYAN4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTCYAN4 280L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENROD -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENROD 281L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENROD1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENROD1 282L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENROD2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENROD2 283L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENROD3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENROD3 284L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENROD4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENROD4 285L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENRODYELLOW -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGOLDENRODYELLOW 286L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGRAY -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTGRAY 287L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTPINK -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTPINK 288L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTPINK1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTPINK1 289L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTPINK2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTPINK2 290L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTPINK3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTPINK3 291L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTPINK4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTPINK4 292L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSALMON1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSALMON1 293L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSALMON2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSALMON2 294L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSALMON3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSALMON3 295L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSALMON4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSALMON4 296L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSEAGREEN -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSEAGREEN 297L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSKYBLUE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSKYBLUE 298L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSKYBLUE1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSKYBLUE1 299L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSKYBLUE2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSKYBLUE2 300L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSKYBLUE3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSKYBLUE3 301L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSKYBLUE4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSKYBLUE4 302L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSLATEBLUE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSLATEBLUE 303L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSLATEGRAY -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSLATEGRAY 304L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSTEELBLUE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSTEELBLUE 305L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSTEELBLUE1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSTEELBLUE1 306L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSTEELBLUE2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSTEELBLUE2 307L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSTEELBLUE3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSTEELBLUE3 308L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSTEELBLUE4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTSTEELBLUE4 309L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTYELLOW -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTYELLOW 310L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTYELLOW2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTYELLOW2 311L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTYELLOW3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTYELLOW3 312L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTYELLOW4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIGHTYELLOW4 313L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIMEGREEN -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LIMEGREEN 314L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LINEN -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_LINEN 315L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MAGENTA1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MAGENTA1 316L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MAGENTA2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MAGENTA2 317L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MAGENTA3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MAGENTA3 318L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MAGENTA4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MAGENTA4 319L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MAROON -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MAROON 320L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MAROON1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MAROON1 321L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MAROON2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MAROON2 322L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MAROON3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MAROON3 323L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MAROON4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MAROON4 324L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMAQUAMARINE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMAQUAMARINE 325L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMORCHID -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMORCHID 326L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMORCHID1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMORCHID1 327L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMORCHID2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMORCHID2 328L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMORCHID3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMORCHID3 329L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMORCHID4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMORCHID4 330L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMPURPLE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMPURPLE 331L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMPURPLE1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMPURPLE1 332L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMPURPLE2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMPURPLE2 333L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMPURPLE3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMPURPLE3 334L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMPURPLE4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMPURPLE4 335L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMSEAGREEN -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMSEAGREEN 336L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMSLATEBLUE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMSLATEBLUE 337L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMSPRINGGREEN -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMSPRINGGREEN 338L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMTURQUOISE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMTURQUOISE 339L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMVIOLETRED -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MEDIUMVIOLETRED 340L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MIDNIGHTBLUE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MIDNIGHTBLUE 341L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MINTCREAM -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MINTCREAM 342L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MISTYROSE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MISTYROSE 343L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MISTYROSE2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MISTYROSE2 344L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MISTYROSE3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MISTYROSE3 345L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MISTYROSE4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MISTYROSE4 346L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MOCCASIN -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_MOCCASIN 347L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_NAVAJOWHITE1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_NAVAJOWHITE1 348L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_NAVAJOWHITE2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_NAVAJOWHITE2 349L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_NAVAJOWHITE3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_NAVAJOWHITE3 350L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_NAVAJOWHITE4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_NAVAJOWHITE4 351L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_NAVYBLUE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_NAVYBLUE 352L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_OLDLACE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_OLDLACE 353L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_OLIVEDRAB -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_OLIVEDRAB 354L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_OLIVEDRAB1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_OLIVEDRAB1 355L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_OLIVEDRAB2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_OLIVEDRAB2 356L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_OLIVEDRAB3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_OLIVEDRAB3 357L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_OLIVEDRAB4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_OLIVEDRAB4 358L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGE 359L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGE1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGE1 360L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGE2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGE2 361L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGE3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGE3 362L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGE4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGE4 363L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGERED -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGERED 364L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGERED1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGERED1 365L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGERED2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGERED2 366L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGERED3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGERED3 367L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGERED4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ORANGERED4 368L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ORCHID -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ORCHID 369L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ORCHID1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ORCHID1 370L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ORCHID2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ORCHID2 371L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ORCHID3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ORCHID3 372L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ORCHID4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ORCHID4 373L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGOLDENROD -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGOLDENROD 374L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGREEN -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGREEN 375L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGREEN1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGREEN1 376L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGREEN2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGREEN2 377L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGREEN3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGREEN3 378L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGREEN4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEGREEN4 379L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PALETURQUOISE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PALETURQUOISE 380L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PALETURQUOISE1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PALETURQUOISE1 381L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PALETURQUOISE2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PALETURQUOISE2 382L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PALETURQUOISE3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PALETURQUOISE3 383L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PALETURQUOISE4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PALETURQUOISE4 384L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEVIOLETRED -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEVIOLETRED 385L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEVIOLETRED1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEVIOLETRED1 386L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEVIOLETRED2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEVIOLETRED2 387L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEVIOLETRED3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEVIOLETRED3 388L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEVIOLETRED4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PALEVIOLETRED4 389L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PAPAYAWHIP -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PAPAYAWHIP 390L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PEACHPUFF -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PEACHPUFF 391L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PEACHPUFF2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PEACHPUFF2 392L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PEACHPUFF3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PEACHPUFF3 393L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PEACHPUFF4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PEACHPUFF4 394L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PERU -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PERU 395L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PINK -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PINK 396L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PINK1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PINK1 397L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PINK2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PINK2 398L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PINK3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PINK3 399L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PINK4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PINK4 400L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PLUM -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PLUM 401L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PLUM1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PLUM1 402L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PLUM2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PLUM2 403L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PLUM3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PLUM3 404L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PLUM4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PLUM4 405L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_POWDERBLUE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_POWDERBLUE 406L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PURPLE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PURPLE 407L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PURPLE1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PURPLE1 408L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PURPLE2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PURPLE2 409L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PURPLE3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PURPLE3 410L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PURPLE4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_PURPLE4 411L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_RED -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_RED 412L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_RED1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_RED1 413L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_RED2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_RED2 414L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_RED3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_RED3 415L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_RED4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_RED4 416L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ROSYBROWN -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ROSYBROWN 417L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ROSYBROWN1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ROSYBROWN1 418L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ROSYBROWN2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ROSYBROWN2 419L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ROSYBROWN3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ROSYBROWN3 420L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ROSYBROWN4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ROSYBROWN4 421L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ROYALBLUE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ROYALBLUE 422L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ROYALBLUE1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ROYALBLUE1 423L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ROYALBLUE2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ROYALBLUE2 424L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ROYALBLUE3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ROYALBLUE3 425L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ROYALBLUE4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_ROYALBLUE4 426L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SADDLEBROWN -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SADDLEBROWN 427L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SALMON -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SALMON 428L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SALMON1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SALMON1 429L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SALMON2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SALMON2 430L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SALMON3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SALMON3 431L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SALMON4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SALMON4 432L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SANDYBROWN -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SANDYBROWN 433L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SEAGREEN -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SEAGREEN 434L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SEAGREEN1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SEAGREEN1 435L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SEAGREEN2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SEAGREEN2 436L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SEAGREEN3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SEAGREEN3 437L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SEAGREEN4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SEAGREEN4 438L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SEASHELL -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SEASHELL 439L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SEASHELL2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SEASHELL2 440L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SEASHELL3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SEASHELL3 441L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SEASHELL4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SEASHELL4 442L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BEET -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_BEET 443L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_TEAL -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_TEAL 444L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SIENNA -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SIENNA 445L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SIENNA1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SIENNA1 446L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SIENNA2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SIENNA2 447L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SIENNA3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SIENNA3 448L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SIENNA4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SIENNA4 449L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SKYBLUE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SKYBLUE 450L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SKYBLUE1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SKYBLUE1 451L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SKYBLUE2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SKYBLUE2 452L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SKYBLUE3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SKYBLUE3 453L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SKYBLUE4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SKYBLUE4 454L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEBLUE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEBLUE 455L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEBLUE1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEBLUE1 456L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEBLUE2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEBLUE2 457L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEBLUE3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEBLUE3 458L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEBLUE4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEBLUE4 459L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEGRAY1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEGRAY1 460L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEGRAY2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEGRAY2 461L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEGRAY3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEGRAY3 462L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEGRAY4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEGRAY4 463L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEGRAY -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SLATEGRAY 464L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SNOW -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SNOW 465L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SNOW2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SNOW2 466L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SNOW3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SNOW3 467L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SNOW4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SNOW4 468L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SPRINGGREEN -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SPRINGGREEN 469L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SPRINGGREEN2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SPRINGGREEN2 470L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SPRINGGREEN3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SPRINGGREEN3 471L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SPRINGGREEN4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_SPRINGGREEN4 472L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_STEELBLUE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_STEELBLUE 473L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_STEELBLUE1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_STEELBLUE1 474L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_STEELBLUE2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_STEELBLUE2 475L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_STEELBLUE3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_STEELBLUE3 476L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_STEELBLUE4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_STEELBLUE4 477L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_TAN -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_TAN 478L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_TAN1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_TAN1 479L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_TAN2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_TAN2 480L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_TAN3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_TAN3 481L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_TAN4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_TAN4 482L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_THISTLE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_THISTLE 483L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_THISTLE1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_THISTLE1 484L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_THISTLE2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_THISTLE2 485L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_THISTLE3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_THISTLE3 486L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_THISTLE4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_THISTLE4 487L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_TOMATO -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_TOMATO 488L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_TOMATO1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_TOMATO1 489L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_TOMATO2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_TOMATO2 490L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_TOMATO3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_TOMATO3 491L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_TOMATO4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_TOMATO4 492L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_TURQUOISE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_TURQUOISE 493L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_TURQUOISE1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_TURQUOISE1 494L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_TURQUOISE2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_TURQUOISE2 495L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_TURQUOISE3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_TURQUOISE3 496L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_TURQUOISE4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_TURQUOISE4 497L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLET -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLET 498L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLETRED -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLETRED 499L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLETRED1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLETRED1 500L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLETRED2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLETRED2 501L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLETRED3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLETRED3 502L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLETRED4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_VIOLETRED4 503L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_WHEAT -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_WHEAT 504L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_WHEAT1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_WHEAT1 505L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_WHEAT2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_WHEAT2 506L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_WHEAT3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_WHEAT3 507L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_WHEAT4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_WHEAT4 508L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_WHITESMOKE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_WHITESMOKE 509L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOW -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOW 510L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOW1 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOW1 511L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOW2 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOW2 512L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOW3 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOW3 513L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOW4 -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOW4 514L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOWGREEN -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_YELLOWGREEN 515L -#undef SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_WHITE -#define SampleViewer3DJni_Quantity_0005fNameOfColor_Quantity_NOC_WHITE 516L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_SampleViewer3DPackage.h b/samples/java/inc/SampleViewer3DJni_SampleViewer3DPackage.h deleted file mode 100755 index 1a2a9fc54b..0000000000 --- a/samples/java/inc/SampleViewer3DJni_SampleViewer3DPackage.h +++ /dev/null @@ -1,293 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_SampleViewer3DPackage */ - -#ifndef _Included_SampleViewer3DJni_SampleViewer3DPackage -#define _Included_SampleViewer3DJni_SampleViewer3DPackage -#ifdef __cplusplus -extern "C" { -#endif -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: ChangeAntialiasing - * Signature: (LSampleViewer3DJni/V3d_View;LSampleViewer3DJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_ChangeAntialiasing - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: ChangeModelClippingOnOff - * Signature: (LSampleViewer3DJni/AIS_InteractiveContext;LSampleViewer3DJni/V3d_View;ZLSampleViewer3DJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_ChangeModelClippingOnOff - (JNIEnv *, jclass, jobject, jobject, jboolean, jobject); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: ChangeModelClippingZ - * Signature: (LSampleViewer3DJni/AIS_InteractiveContext;LSampleViewer3DJni/V3d_View;DZLSampleViewer3DJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_ChangeModelClippingZ - (JNIEnv *, jclass, jobject, jobject, jdouble, jboolean, jobject); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: ChangeShadingModel - * Signature: (LSampleViewer3DJni/V3d_View;S)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_ChangeShadingModel - (JNIEnv *, jclass, jobject, jshort); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: ChangeZClippingDepth - * Signature: (LSampleViewer3DJni/V3d_View;DLSampleViewer3DJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_ChangeZClippingDepth - (JNIEnv *, jclass, jobject, jdouble, jobject); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: ChangeZClippingType - * Signature: (LSampleViewer3DJni/V3d_View;SLSampleViewer3DJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_ChangeZClippingType - (JNIEnv *, jclass, jobject, jshort, jobject); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: ChangeZClippingWidth - * Signature: (LSampleViewer3DJni/V3d_View;DLSampleViewer3DJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_ChangeZClippingWidth - (JNIEnv *, jclass, jobject, jdouble, jobject); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: ChangeZCueingDepth - * Signature: (LSampleViewer3DJni/V3d_View;DLSampleViewer3DJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_ChangeZCueingDepth - (JNIEnv *, jclass, jobject, jdouble, jobject); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: ChangeZCueingOnOff - * Signature: (LSampleViewer3DJni/V3d_View;ZLSampleViewer3DJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_ChangeZCueingOnOff - (JNIEnv *, jclass, jobject, jboolean, jobject); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: ChangeZCueingWidth - * Signature: (LSampleViewer3DJni/V3d_View;DLSampleViewer3DJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_ChangeZCueingWidth - (JNIEnv *, jclass, jobject, jdouble, jobject); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: ClearClippingPlane - * Signature: (LSampleViewer3DJni/AIS_InteractiveContext;LSampleViewer3DJni/V3d_View;Z)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_ClearClippingPlane - (JNIEnv *, jclass, jobject, jobject, jboolean); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: ClearLights - * Signature: (LSampleViewer3DJni/V3d_View;LSampleViewer3DJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_ClearLights - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: CreateAmbientLight - * Signature: (LSampleViewer3DJni/AIS_InteractiveContext;LSampleViewer3DJni/V3d_View;LSampleViewer3DJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_CreateAmbientLight - (JNIEnv *, jclass, jobject, jobject, jobject); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: CreateClippingPlane - * Signature: (LSampleViewer3DJni/V3d_Viewer;)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_CreateClippingPlane - (JNIEnv *, jclass, jobject); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: CreateDirectionalLight - * Signature: (LSampleViewer3DJni/AIS_InteractiveContext;LSampleViewer3DJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_CreateDirectionalLight - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: CreateGraphicDriver - * Signature: ()LSampleViewer3DJni/Graphic3d_GraphicDriver; - */ -JNIEXPORT jobject JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_CreateGraphicDriver - (JNIEnv *, jclass); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: CreatePositionalLight - * Signature: (LSampleViewer3DJni/AIS_InteractiveContext;LSampleViewer3DJni/V3d_View;LSampleViewer3DJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_CreatePositionalLight - (JNIEnv *, jclass, jobject, jobject, jobject); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: CreateSpotLight - * Signature: (LSampleViewer3DJni/AIS_InteractiveContext;LSampleViewer3DJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_CreateSpotLight - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: CreateViewer - * Signature: (Ljava/lang/String;)LSampleViewer3DJni/V3d_Viewer; - */ -JNIEXPORT jobject JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_CreateViewer - (JNIEnv *, jclass, jstring); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: DirectDirectionalLight - * Signature: (LSampleViewer3DJni/AIS_InteractiveContext;)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_DirectDirectionalLight - (JNIEnv *, jclass, jobject); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: DirectPositionalLight - * Signature: (LSampleViewer3DJni/AIS_InteractiveContext;LSampleViewer3DJni/V3d_View;IILSampleViewer3DJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_DirectPositionalLight - (JNIEnv *, jclass, jobject, jobject, jint, jint, jobject); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: DirectSpotLight - * Signature: (LSampleViewer3DJni/V3d_View;IILSampleViewer3DJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_DirectSpotLight - (JNIEnv *, jclass, jobject, jint, jint, jobject); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: DirectingDirectionalLight - * Signature: (LSampleViewer3DJni/AIS_InteractiveContext;LSampleViewer3DJni/V3d_View;II)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_DirectingDirectionalLight - (JNIEnv *, jclass, jobject, jobject, jint, jint); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: DirectingPositionalLight - * Signature: (LSampleViewer3DJni/V3d_View;II)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_DirectingPositionalLight - (JNIEnv *, jclass, jobject, jint, jint); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: DirectingSpotLight - * Signature: (LSampleViewer3DJni/AIS_InteractiveContext;LSampleViewer3DJni/V3d_View;II)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_DirectingSpotLight - (JNIEnv *, jclass, jobject, jobject, jint, jint); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: DisplayBox - * Signature: (LSampleViewer3DJni/AIS_InteractiveContext;)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_DisplayBox - (JNIEnv *, jclass, jobject); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: DisplayClippingPlane - * Signature: (LSampleViewer3DJni/AIS_InteractiveContext;LSampleViewer3DJni/V3d_View;Ljcas/Standard_Real;Ljcas/Standard_Boolean;)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_DisplayClippingPlane - (JNIEnv *, jclass, jobject, jobject, jobject, jobject); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: DisplayCylinder - * Signature: (LSampleViewer3DJni/AIS_InteractiveContext;)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_DisplayCylinder - (JNIEnv *, jclass, jobject); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: DisplaySphere - * Signature: (LSampleViewer3DJni/AIS_InteractiveContext;)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_DisplaySphere - (JNIEnv *, jclass, jobject); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: EraseAll - * Signature: (LSampleViewer3DJni/AIS_InteractiveContext;)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_EraseAll - (JNIEnv *, jclass, jobject); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: ExpandSpotLight - * Signature: (LSampleViewer3DJni/AIS_InteractiveContext;)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_ExpandSpotLight - (JNIEnv *, jclass, jobject); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: ExpandingSpotLight - * Signature: (LSampleViewer3DJni/AIS_InteractiveContext;LSampleViewer3DJni/V3d_View;II)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_ExpandingSpotLight - (JNIEnv *, jclass, jobject, jobject, jint, jint); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: SetDirectionalLight - * Signature: (LSampleViewer3DJni/AIS_InteractiveContext;LSampleViewer3DJni/V3d_View;IILSampleViewer3DJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_SetDirectionalLight - (JNIEnv *, jclass, jobject, jobject, jint, jint, jobject); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: SetSpotLight - * Signature: (LSampleViewer3DJni/AIS_InteractiveContext;LSampleViewer3DJni/V3d_View;IILSampleViewer3DJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_SetSpotLight - (JNIEnv *, jclass, jobject, jobject, jint, jint, jobject); - -/* - * Class: SampleViewer3DJni_SampleViewer3DPackage - * Method: SetWindow - * Signature: (LSampleViewer3DJni/V3d_View;II)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_SampleViewer3DPackage_SetWindow - (JNIEnv *, jclass, jobject, jint, jint); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Standard_Transient.h b/samples/java/inc/SampleViewer3DJni_Standard_Transient.h deleted file mode 100755 index 9fe9c11e06..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Standard_Transient.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Standard_0005fTransient */ - -#ifndef _Included_SampleViewer3DJni_Standard_0005fTransient -#define _Included_SampleViewer3DJni_Standard_0005fTransient -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Standard_Type.h b/samples/java/inc/SampleViewer3DJni_Standard_Type.h deleted file mode 100755 index 705b9031d1..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Standard_Type.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Standard_0005fType */ - -#ifndef _Included_SampleViewer3DJni_Standard_0005fType -#define _Included_SampleViewer3DJni_Standard_0005fType -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_TColStd_Array1OfInteger.h b/samples/java/inc/SampleViewer3DJni_TColStd_Array1OfInteger.h deleted file mode 100755 index 84d4064e5b..0000000000 --- a/samples/java/inc/SampleViewer3DJni_TColStd_Array1OfInteger.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_TColStd_0005fArray1OfInteger */ - -#ifndef _Included_SampleViewer3DJni_TColStd_0005fArray1OfInteger -#define _Included_SampleViewer3DJni_TColStd_0005fArray1OfInteger -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleViewer3DJni_TColStd_0005fArray1OfInteger - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_TColStd_1Array1OfInteger_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_TColStd_Array1OfReal.h b/samples/java/inc/SampleViewer3DJni_TColStd_Array1OfReal.h deleted file mode 100755 index e98d0aba94..0000000000 --- a/samples/java/inc/SampleViewer3DJni_TColStd_Array1OfReal.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_TColStd_0005fArray1OfReal */ - -#ifndef _Included_SampleViewer3DJni_TColStd_0005fArray1OfReal -#define _Included_SampleViewer3DJni_TColStd_0005fArray1OfReal -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleViewer3DJni_TColStd_0005fArray1OfReal - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_TColStd_1Array1OfReal_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_TColStd_Array2OfReal.h b/samples/java/inc/SampleViewer3DJni_TColStd_Array2OfReal.h deleted file mode 100755 index a78eb3606a..0000000000 --- a/samples/java/inc/SampleViewer3DJni_TColStd_Array2OfReal.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_TColStd_0005fArray2OfReal */ - -#ifndef _Included_SampleViewer3DJni_TColStd_0005fArray2OfReal -#define _Included_SampleViewer3DJni_TColStd_0005fArray2OfReal -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleViewer3DJni_TColStd_0005fArray2OfReal - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_TColStd_1Array2OfReal_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_TColStd_HArray1OfReal.h b/samples/java/inc/SampleViewer3DJni_TColStd_HArray1OfReal.h deleted file mode 100755 index 9475ad27e1..0000000000 --- a/samples/java/inc/SampleViewer3DJni_TColStd_HArray1OfReal.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_TColStd_0005fHArray1OfReal */ - -#ifndef _Included_SampleViewer3DJni_TColStd_0005fHArray1OfReal -#define _Included_SampleViewer3DJni_TColStd_0005fHArray1OfReal -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_TCollection_AsciiString.h b/samples/java/inc/SampleViewer3DJni_TCollection_AsciiString.h deleted file mode 100755 index fdf9283e83..0000000000 --- a/samples/java/inc/SampleViewer3DJni_TCollection_AsciiString.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_TCollection_0005fAsciiString */ - -#ifndef _Included_SampleViewer3DJni_TCollection_0005fAsciiString -#define _Included_SampleViewer3DJni_TCollection_0005fAsciiString -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleViewer3DJni_TCollection_0005fAsciiString - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_TCollection_1AsciiString_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_TCollection_ExtendedString.h b/samples/java/inc/SampleViewer3DJni_TCollection_ExtendedString.h deleted file mode 100755 index b12e16a1b7..0000000000 --- a/samples/java/inc/SampleViewer3DJni_TCollection_ExtendedString.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_TCollection_0005fExtendedString */ - -#ifndef _Included_SampleViewer3DJni_TCollection_0005fExtendedString -#define _Included_SampleViewer3DJni_TCollection_0005fExtendedString -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SampleViewer3DJni_TCollection_0005fExtendedString - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SampleViewer3DJni_TCollection_1ExtendedString_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_V3d_TypeOfShadingModel.h b/samples/java/inc/SampleViewer3DJni_V3d_TypeOfShadingModel.h deleted file mode 100755 index f01c9da864..0000000000 --- a/samples/java/inc/SampleViewer3DJni_V3d_TypeOfShadingModel.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_V3d_0005fTypeOfShadingModel */ - -#ifndef _Included_SampleViewer3DJni_V3d_0005fTypeOfShadingModel -#define _Included_SampleViewer3DJni_V3d_0005fTypeOfShadingModel -#ifdef __cplusplus -extern "C" { -#endif -#undef SampleViewer3DJni_V3d_0005fTypeOfShadingModel_V3d_COLOR -#define SampleViewer3DJni_V3d_0005fTypeOfShadingModel_V3d_COLOR 0L -#undef SampleViewer3DJni_V3d_0005fTypeOfShadingModel_V3d_MULTICOLOR -#define SampleViewer3DJni_V3d_0005fTypeOfShadingModel_V3d_MULTICOLOR 1L -#undef SampleViewer3DJni_V3d_0005fTypeOfShadingModel_V3d_FLAT -#define SampleViewer3DJni_V3d_0005fTypeOfShadingModel_V3d_FLAT 2L -#undef SampleViewer3DJni_V3d_0005fTypeOfShadingModel_V3d_GOURAUD -#define SampleViewer3DJni_V3d_0005fTypeOfShadingModel_V3d_GOURAUD 3L -#undef SampleViewer3DJni_V3d_0005fTypeOfShadingModel_V3d_HIDDEN -#define SampleViewer3DJni_V3d_0005fTypeOfShadingModel_V3d_HIDDEN 4L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_V3d_TypeOfZclipping.h b/samples/java/inc/SampleViewer3DJni_V3d_TypeOfZclipping.h deleted file mode 100755 index cfc2dd97ac..0000000000 --- a/samples/java/inc/SampleViewer3DJni_V3d_TypeOfZclipping.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_V3d_0005fTypeOfZclipping */ - -#ifndef _Included_SampleViewer3DJni_V3d_0005fTypeOfZclipping -#define _Included_SampleViewer3DJni_V3d_0005fTypeOfZclipping -#ifdef __cplusplus -extern "C" { -#endif -#undef SampleViewer3DJni_V3d_0005fTypeOfZclipping_V3d_OFF -#define SampleViewer3DJni_V3d_0005fTypeOfZclipping_V3d_OFF 0L -#undef SampleViewer3DJni_V3d_0005fTypeOfZclipping_V3d_BACK -#define SampleViewer3DJni_V3d_0005fTypeOfZclipping_V3d_BACK 1L -#undef SampleViewer3DJni_V3d_0005fTypeOfZclipping_V3d_FRONT -#define SampleViewer3DJni_V3d_0005fTypeOfZclipping_V3d_FRONT 2L -#undef SampleViewer3DJni_V3d_0005fTypeOfZclipping_V3d_SLICE -#define SampleViewer3DJni_V3d_0005fTypeOfZclipping_V3d_SLICE 3L -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_V3d_View.h b/samples/java/inc/SampleViewer3DJni_V3d_View.h deleted file mode 100755 index 3e6f2fe44d..0000000000 --- a/samples/java/inc/SampleViewer3DJni_V3d_View.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_V3d_0005fView */ - -#ifndef _Included_SampleViewer3DJni_V3d_0005fView -#define _Included_SampleViewer3DJni_V3d_0005fView -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_V3d_Viewer.h b/samples/java/inc/SampleViewer3DJni_V3d_Viewer.h deleted file mode 100755 index ad37c5cc67..0000000000 --- a/samples/java/inc/SampleViewer3DJni_V3d_Viewer.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_V3d_0005fViewer */ - -#ifndef _Included_SampleViewer3DJni_V3d_0005fViewer -#define _Included_SampleViewer3DJni_V3d_0005fViewer -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Viewer_View.h b/samples/java/inc/SampleViewer3DJni_Viewer_View.h deleted file mode 100755 index e3fcb69912..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Viewer_View.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Viewer_0005fView */ - -#ifndef _Included_SampleViewer3DJni_Viewer_0005fView -#define _Included_SampleViewer3DJni_Viewer_0005fView -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DJni_Viewer_Viewer.h b/samples/java/inc/SampleViewer3DJni_Viewer_Viewer.h deleted file mode 100755 index a8f9a31731..0000000000 --- a/samples/java/inc/SampleViewer3DJni_Viewer_Viewer.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SampleViewer3DJni_Viewer_0005fViewer */ - -#ifndef _Included_SampleViewer3DJni_Viewer_0005fViewer -#define _Included_SampleViewer3DJni_Viewer_0005fViewer -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SampleViewer3DPackage.hxx b/samples/java/inc/SampleViewer3DPackage.hxx deleted file mode 100755 index 160abda578..0000000000 --- a/samples/java/inc/SampleViewer3DPackage.hxx +++ /dev/null @@ -1,153 +0,0 @@ -// File generated by CPPExt (Value) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#ifndef _SampleViewer3DPackage_HeaderFile -#define _SampleViewer3DPackage_HeaderFile - -#ifndef _Handle_V3d_Viewer_HeaderFile -#include -#endif -#ifndef _Standard_ExtString_HeaderFile -#include -#endif -#ifndef _Handle_V3d_View_HeaderFile -#include -#endif -#ifndef _Standard_Integer_HeaderFile -#include -#endif -#ifndef _Handle_Graphic3d_GraphicDriver_HeaderFile -#include -#endif -#ifndef _Handle_AIS_InteractiveContext_HeaderFile -#include -#endif -#ifndef _Quantity_Length_HeaderFile -#include -#endif -#ifndef _V3d_TypeOfZclipping_HeaderFile -#include -#endif -#ifndef _Standard_Boolean_HeaderFile -#include -#endif -#ifndef _V3d_TypeOfShadingModel_HeaderFile -#include -#endif -#ifndef _Standard_Real_HeaderFile -#include -#endif -class V3d_Viewer; -class V3d_View; -class Graphic3d_GraphicDriver; -class AIS_InteractiveContext; -class TCollection_AsciiString; - - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Standard_Macro_HeaderFile -#include -#endif - -class SampleViewer3DPackage { - -public: - - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - // Methods PUBLIC - // -Standard_EXPORT static Handle_V3d_Viewer CreateViewer(const Standard_ExtString aName) ; -Standard_EXPORT static void SetWindow(const Handle(V3d_View)& aView,const Standard_Integer hiwin,const Standard_Integer lowin) ; -Standard_EXPORT static Handle_Graphic3d_GraphicDriver CreateGraphicDriver() ; -Standard_EXPORT static void DisplayBox(const Handle(AIS_InteractiveContext)& aContext) ; -Standard_EXPORT static void DisplayCylinder(const Handle(AIS_InteractiveContext)& aContext) ; -Standard_EXPORT static void DisplaySphere(const Handle(AIS_InteractiveContext)& aContext) ; -Standard_EXPORT static void EraseAll(const Handle(AIS_InteractiveContext)& aContext) ; -Standard_EXPORT static void CreateSpotLight(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void SetSpotLight(const Handle(AIS_InteractiveContext)& aContext,const Handle(V3d_View)& aView,const Standard_Integer X,const Standard_Integer Y,TCollection_AsciiString& Message) ; -Standard_EXPORT static void DirectingSpotLight(const Handle(AIS_InteractiveContext)& aContext,const Handle(V3d_View)& aView,const Standard_Integer X,const Standard_Integer Y) ; -Standard_EXPORT static void DirectSpotLight(const Handle(V3d_View)& aView,const Standard_Integer X,const Standard_Integer Y,TCollection_AsciiString& Message) ; -Standard_EXPORT static void ExpandingSpotLight(const Handle(AIS_InteractiveContext)& aContext,const Handle(V3d_View)& aView,const Standard_Integer X,const Standard_Integer Y) ; -Standard_EXPORT static void ExpandSpotLight(const Handle(AIS_InteractiveContext)& aContext) ; -Standard_EXPORT static void CreatePositionalLight(const Handle(AIS_InteractiveContext)& aContext,const Handle(V3d_View)& aView,TCollection_AsciiString& Message) ; -Standard_EXPORT static void DirectingPositionalLight(const Handle(V3d_View)& aView,const Standard_Integer X,const Standard_Integer Y) ; -Standard_EXPORT static void DirectPositionalLight(const Handle(AIS_InteractiveContext)& aContext,const Handle(V3d_View)& aView,const Standard_Integer X,const Standard_Integer Y,TCollection_AsciiString& Message) ; -Standard_EXPORT static void CreateDirectionalLight(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void SetDirectionalLight(const Handle(AIS_InteractiveContext)& aContext,const Handle(V3d_View)& aView,const Standard_Integer X,const Standard_Integer Y,TCollection_AsciiString& Message) ; -Standard_EXPORT static void DirectingDirectionalLight(const Handle(AIS_InteractiveContext)& aContext,const Handle(V3d_View)& aView,const Standard_Integer X,const Standard_Integer Y) ; -Standard_EXPORT static void DirectDirectionalLight(const Handle(AIS_InteractiveContext)& aContext) ; -Standard_EXPORT static void CreateAmbientLight(const Handle(AIS_InteractiveContext)& aContext,const Handle(V3d_View)& aView,TCollection_AsciiString& Message) ; -Standard_EXPORT static void ClearLights(const Handle(V3d_View)& aView,TCollection_AsciiString& Message) ; -Standard_EXPORT static void ChangeZClippingDepth(const Handle(V3d_View)& aView,const Quantity_Length Depth,TCollection_AsciiString& Message) ; -Standard_EXPORT static void ChangeZClippingWidth(const Handle(V3d_View)& aView,const Quantity_Length Width,TCollection_AsciiString& Message) ; -Standard_EXPORT static void ChangeZClippingType(const Handle(V3d_View)& aView,const V3d_TypeOfZclipping Type,TCollection_AsciiString& Message) ; -Standard_EXPORT static void ChangeZCueingDepth(const Handle(V3d_View)& aView,const Quantity_Length Depth,TCollection_AsciiString& Message) ; -Standard_EXPORT static void ChangeZCueingWidth(const Handle(V3d_View)& aView,const Quantity_Length Width,TCollection_AsciiString& Message) ; -Standard_EXPORT static void ChangeZCueingOnOff(const Handle(V3d_View)& aView,const Standard_Boolean IsOn,TCollection_AsciiString& Message) ; -Standard_EXPORT static void ChangeShadingModel(const Handle(V3d_View)& aView,const V3d_TypeOfShadingModel Model) ; -Standard_EXPORT static void ChangeAntialiasing(const Handle(V3d_View)& aView,TCollection_AsciiString& Message) ; -Standard_EXPORT static void CreateClippingPlane(const Handle(V3d_Viewer)& aViewer) ; -Standard_EXPORT static void DisplayClippingPlane(const Handle(AIS_InteractiveContext)& aContext,const Handle(V3d_View)& aView,Standard_Real& Z,Standard_Boolean& IsOn) ; -Standard_EXPORT static void ChangeModelClippingZ(const Handle(AIS_InteractiveContext)& aContext,const Handle(V3d_View)& aView,const Standard_Real Z,const Standard_Boolean IsOn,TCollection_AsciiString& Message) ; -Standard_EXPORT static void ChangeModelClippingOnOff(const Handle(AIS_InteractiveContext)& aContext,const Handle(V3d_View)& aView,const Standard_Boolean IsOn,TCollection_AsciiString& Message) ; -Standard_EXPORT static void ClearClippingPlane(const Handle(AIS_InteractiveContext)& aContext,const Handle(V3d_View)& aView,const Standard_Boolean IsOn) ; - - - - - -protected: - - // Methods PROTECTED - // - - - // Fields PROTECTED - // - - -private: - - // Methods PRIVATE - // - - - // Fields PRIVATE - // - - -}; - - - - - -// other Inline functions and methods (like "C++: function call" methods) -// - - -#endif diff --git a/samples/java/inc/SamplesTopologyJni_AIS_InteractiveContext.h b/samples/java/inc/SamplesTopologyJni_AIS_InteractiveContext.h deleted file mode 100755 index d48c4a0045..0000000000 --- a/samples/java/inc/SamplesTopologyJni_AIS_InteractiveContext.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SamplesTopologyJni_AIS_0005fInteractiveContext */ - -#ifndef _Included_SamplesTopologyJni_AIS_0005fInteractiveContext -#define _Included_SamplesTopologyJni_AIS_0005fInteractiveContext -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SamplesTopologyJni_MMgt_TShared.h b/samples/java/inc/SamplesTopologyJni_MMgt_TShared.h deleted file mode 100755 index 474132e8ed..0000000000 --- a/samples/java/inc/SamplesTopologyJni_MMgt_TShared.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SamplesTopologyJni_MMgt_0005fTShared */ - -#ifndef _Included_SamplesTopologyJni_MMgt_0005fTShared -#define _Included_SamplesTopologyJni_MMgt_0005fTShared -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SamplesTopologyJni_SamplesTopologyPackage.h b/samples/java/inc/SamplesTopologyJni_SamplesTopologyPackage.h deleted file mode 100755 index 8665d98f6c..0000000000 --- a/samples/java/inc/SamplesTopologyJni_SamplesTopologyPackage.h +++ /dev/null @@ -1,453 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SamplesTopologyJni_SamplesTopologyPackage */ - -#ifndef _Included_SamplesTopologyJni_SamplesTopologyPackage -#define _Included_SamplesTopologyJni_SamplesTopologyPackage -#ifdef __cplusplus -extern "C" { -#endif -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: Blend - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Blend - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: BuildMesh - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_BuildMesh - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: Builder - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Builder - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: Chamfer - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Chamfer - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: ClearMesh - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_ClearMesh - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: Common - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Common - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: Compound - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Compound - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: CreateViewer - * Signature: (Ljava/lang/String;)LSamplesTopologyJni/V3d_Viewer; - */ -JNIEXPORT jobject JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_CreateViewer - (JNIEnv *, jclass, jstring); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: Cut - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Cut - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: Deform - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Deform - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: Displacement - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Displacement - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: DisplayMesh - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_DisplayMesh - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: Edge - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Edge - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: EvolvedBlend - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_EvolvedBlend - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: Explorer - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Explorer - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: Face - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Face - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: Fuse - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Fuse - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: Geometry - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Geometry - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: Glue - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Glue - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: LinearProp - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_LinearProp - (JNIEnv *, jclass, jobject, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: LocalDPrism - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_LocalDPrism - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: LocalPipe - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_LocalPipe - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: LocalPrism - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_LocalPrism - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: LocalRevol - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_LocalRevol - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: MakeBox - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_MakeBox - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: MakeCone - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_MakeCone - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: MakeCylinder - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_MakeCylinder - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: MakeDraft - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_MakeDraft - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: MakeEvolved - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_MakeEvolved - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: MakePipe - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_MakePipe - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: MakePrism - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_MakePrism - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: MakeRevol - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_MakeRevol - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: MakeSphere - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_MakeSphere - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: MakeThru - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_MakeThru - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: MakeTorus - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_MakeTorus - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: MakeWedge - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_MakeWedge - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: Mirror - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Mirror - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: Mirroraxis - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Mirroraxis - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: Offset - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Offset - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: PSection - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_PSection - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: Rib - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Rib - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: Rotate - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Rotate - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: Scale - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Scale - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: Section - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Section - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: SetWindow - * Signature: (LSamplesTopologyJni/V3d_View;II)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_SetWindow - (JNIEnv *, jclass, jobject, jint, jint); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: Sewing - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Sewing - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: Shell - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Shell - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: Split - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Split - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: SurfaceProp - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_SurfaceProp - (JNIEnv *, jclass, jobject, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: Thick - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Thick - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: Translation - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Translation - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: Validity - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Validity - (JNIEnv *, jclass, jobject, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: Vertex - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Vertex - (JNIEnv *, jclass, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: VolumeProp - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_VolumeProp - (JNIEnv *, jclass, jobject, jobject, jobject); - -/* - * Class: SamplesTopologyJni_SamplesTopologyPackage - * Method: Wire - * Signature: (LSamplesTopologyJni/AIS_InteractiveContext;LSamplesTopologyJni/TCollection_AsciiString;)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_SamplesTopologyPackage_Wire - (JNIEnv *, jclass, jobject, jobject); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SamplesTopologyJni_Standard_Transient.h b/samples/java/inc/SamplesTopologyJni_Standard_Transient.h deleted file mode 100755 index 62f3ce1345..0000000000 --- a/samples/java/inc/SamplesTopologyJni_Standard_Transient.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SamplesTopologyJni_Standard_0005fTransient */ - -#ifndef _Included_SamplesTopologyJni_Standard_0005fTransient -#define _Included_SamplesTopologyJni_Standard_0005fTransient -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SamplesTopologyJni_TCollection_AsciiString.h b/samples/java/inc/SamplesTopologyJni_TCollection_AsciiString.h deleted file mode 100755 index feeaddd41c..0000000000 --- a/samples/java/inc/SamplesTopologyJni_TCollection_AsciiString.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SamplesTopologyJni_TCollection_0005fAsciiString */ - -#ifndef _Included_SamplesTopologyJni_TCollection_0005fAsciiString -#define _Included_SamplesTopologyJni_TCollection_0005fAsciiString -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -/* - * Class: SamplesTopologyJni_TCollection_0005fAsciiString - * Method: FinalizeValue - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_SamplesTopologyJni_TCollection_1AsciiString_FinalizeValue - (JNIEnv *, jclass, jlong); - -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SamplesTopologyJni_V3d_View.h b/samples/java/inc/SamplesTopologyJni_V3d_View.h deleted file mode 100755 index 8ee341249a..0000000000 --- a/samples/java/inc/SamplesTopologyJni_V3d_View.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SamplesTopologyJni_V3d_0005fView */ - -#ifndef _Included_SamplesTopologyJni_V3d_0005fView -#define _Included_SamplesTopologyJni_V3d_0005fView -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SamplesTopologyJni_V3d_Viewer.h b/samples/java/inc/SamplesTopologyJni_V3d_Viewer.h deleted file mode 100755 index 936cefbbf9..0000000000 --- a/samples/java/inc/SamplesTopologyJni_V3d_Viewer.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SamplesTopologyJni_V3d_0005fViewer */ - -#ifndef _Included_SamplesTopologyJni_V3d_0005fViewer -#define _Included_SamplesTopologyJni_V3d_0005fViewer -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SamplesTopologyJni_Viewer_View.h b/samples/java/inc/SamplesTopologyJni_Viewer_View.h deleted file mode 100755 index 2de58ba067..0000000000 --- a/samples/java/inc/SamplesTopologyJni_Viewer_View.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SamplesTopologyJni_Viewer_0005fView */ - -#ifndef _Included_SamplesTopologyJni_Viewer_0005fView -#define _Included_SamplesTopologyJni_Viewer_0005fView -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SamplesTopologyJni_Viewer_Viewer.h b/samples/java/inc/SamplesTopologyJni_Viewer_Viewer.h deleted file mode 100755 index 12fb31399d..0000000000 --- a/samples/java/inc/SamplesTopologyJni_Viewer_Viewer.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ -#include -/* Header for class SamplesTopologyJni_Viewer_0005fViewer */ - -#ifndef _Included_SamplesTopologyJni_Viewer_0005fViewer -#define _Included_SamplesTopologyJni_Viewer_0005fViewer -#ifdef __cplusplus -extern "C" { -#endif -/* Inaccessible static: myCasLock */ -#ifdef __cplusplus -} -#endif -#endif diff --git a/samples/java/inc/SamplesTopologyPackage.hxx b/samples/java/inc/SamplesTopologyPackage.hxx deleted file mode 100755 index 8251caac51..0000000000 --- a/samples/java/inc/SamplesTopologyPackage.hxx +++ /dev/null @@ -1,154 +0,0 @@ -// File generated by CPPExt (Value) -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. - -#ifndef _SamplesTopologyPackage_HeaderFile -#define _SamplesTopologyPackage_HeaderFile - -#ifndef _Handle_V3d_Viewer_HeaderFile -#include -#endif -#ifndef _Standard_ExtString_HeaderFile -#include -#endif -#ifndef _Handle_V3d_View_HeaderFile -#include -#endif -#ifndef _Standard_Integer_HeaderFile -#include -#endif -#ifndef _Handle_AIS_InteractiveContext_HeaderFile -#include -#endif -class V3d_Viewer; -class V3d_View; -class AIS_InteractiveContext; -class TCollection_AsciiString; - - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Standard_Macro_HeaderFile -#include -#endif - -class SamplesTopologyPackage { - -public: - - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - // Methods PUBLIC - // -Standard_EXPORT static Handle_V3d_Viewer CreateViewer(const Standard_ExtString aName) ; -Standard_EXPORT static void SetWindow(const Handle(V3d_View)& aView,const Standard_Integer hiwin,const Standard_Integer lowin) ; -Standard_EXPORT static void MakeBox(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void MakeCylinder(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void MakeCone(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void MakeSphere(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void MakeTorus(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void MakeWedge(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void MakePrism(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void MakeRevol(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void MakePipe(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void MakeThru(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void MakeEvolved(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void MakeDraft(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void Cut(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void Fuse(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void Common(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void Section(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void PSection(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void Blend(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void EvolvedBlend(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void Chamfer(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void Vertex(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void Edge(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void Wire(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void Face(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void Shell(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void Compound(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void Sewing(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void Builder(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void Geometry(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void Explorer(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void Validity(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message,TCollection_AsciiString& Result) ; -Standard_EXPORT static void LinearProp(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message,TCollection_AsciiString& Result) ; -Standard_EXPORT static void SurfaceProp(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message,TCollection_AsciiString& Result) ; -Standard_EXPORT static void VolumeProp(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message,TCollection_AsciiString& Result) ; -Standard_EXPORT static void Mirror(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void Mirroraxis(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void Rotate(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void Scale(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void Translation(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void Displacement(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void Deform(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void LocalPrism(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void LocalDPrism(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void LocalRevol(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void LocalPipe(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void Rib(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void Glue(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void Split(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void Thick(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void Offset(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void BuildMesh(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void DisplayMesh(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; -Standard_EXPORT static void ClearMesh(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; - - - - - -protected: - - // Methods PROTECTED - // - - - // Fields PROTECTED - // - - -private: - - // Methods PRIVATE - // - - - // Fields PRIVATE - // - - -}; - - - - - -// other Inline functions and methods (like "C++: function call" methods) -// - - -#endif diff --git a/samples/java/inc/User_Cylinder.hxx b/samples/java/inc/User_Cylinder.hxx deleted file mode 100755 index 4f9b4d26fd..0000000000 --- a/samples/java/inc/User_Cylinder.hxx +++ /dev/null @@ -1,132 +0,0 @@ -// File generated by CPPExt (Transient) -// -// Copyright (C) 1991,1995 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// -#ifndef _User_Cylinder_HeaderFile -#define _User_Cylinder_HeaderFile - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Handle_User_Cylinder_HeaderFile -#include -#endif - -#ifndef _TopoDS_Shape_HeaderFile -#include -#endif -#ifndef _Quantity_NameOfColor_HeaderFile -#include -#endif -#ifndef _AIS_InteractiveObject_HeaderFile -#include -#endif -#ifndef _Standard_Real_HeaderFile -#include -#endif -#ifndef _Standard_Integer_HeaderFile -#include -#endif -#ifndef _Handle_PrsMgr_PresentationManager3d_HeaderFile -#include -#endif -#ifndef _Handle_Prs3d_Presentation_HeaderFile -#include -#endif -#ifndef _Handle_Prs3d_Projector_HeaderFile -#include -#endif -#ifndef _Handle_SelectMgr_Selection_HeaderFile -#include -#endif -#ifndef _Standard_Boolean_HeaderFile -#include -#endif -class PrsMgr_PresentationManager3d; -class Prs3d_Presentation; -class Prs3d_Projector; -class SelectMgr_Selection; - - -class User_Cylinder : public AIS_InteractiveObject { - -public: - - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - // Methods PUBLIC - // -Standard_EXPORT User_Cylinder(const Standard_Real R,const Standard_Real H); -Standard_EXPORT virtual Standard_Integer NbPossibleSelection() ; -Standard_EXPORT void SetCylindricalFaceColor(const Quantity_NameOfColor aColor) ; -Standard_EXPORT void SetPlanarFaceColor(const Quantity_NameOfColor aColor) ; -Standard_EXPORT virtual Standard_Boolean AcceptShapeDecomposition() const; -Standard_EXPORT ~User_Cylinder(); - - - - - // Type management - // - Standard_EXPORT friend Handle_Standard_Type& User_Cylinder_Type_(); - Standard_EXPORT const Handle(Standard_Type)& DynamicType() const; - Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const; - -protected: - - // Methods PROTECTED - // - - - // Fields PROTECTED - // - - -private: - - // Methods PRIVATE - // -Standard_EXPORT virtual void Compute(const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,const Handle(Prs3d_Presentation)& aPresentation,const Standard_Integer aMode = 0) ; -Standard_EXPORT virtual void Compute(const Handle(Prs3d_Projector)& aProjector,const Handle(Prs3d_Presentation)& aPresentation) ; -Standard_EXPORT virtual void ComputeSelection(const Handle(SelectMgr_Selection)& aSelection,const Standard_Integer aMode) ; - - - // Fields PRIVATE - // -TopoDS_Shape myShape; -Quantity_NameOfColor myCylindricalFaceColor; -Quantity_NameOfColor myPlanarFaceColor; - - -}; - - - - - -// other Inline functions and methods (like "C++: function call" methods) -// - - -#endif diff --git a/samples/java/java/AboutPanel.java b/samples/java/java/AboutPanel.java deleted file mode 100755 index 227fb3399c..0000000000 --- a/samples/java/java/AboutPanel.java +++ /dev/null @@ -1,58 +0,0 @@ - -//Title: OpenCASCADE Samples -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface Group (Nizhny Novgorod) -//Company: Matra Datavision -//Description: - - -import java.awt.*; -import javax.swing.*; -import java.util.*; - -public class AboutPanel extends JPanel -{ - static protected ResourceBundle resIcons = - ResourceBundle.getBundle("properties.DesktopIcon"); - - public AboutPanel() - { - try - { - jbInit(); - } - catch (Exception e) - { - e.printStackTrace(); - } - } - - private void jbInit() throws Exception - { - setLayout(new GridBagLayout()); - - ImageIcon imageIcon = new ImageIcon(resIcons.getString("AD_MATRA")); - JLabel imageLabel = new JLabel(imageIcon); - add(imageLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.NONE, - new Insets(10, 10, 5, 10), 0, 0)); - - add(new JLabel("Open CASCADE Technology Samples, Open CASCADE Technology 6.4"), - new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0, - GridBagConstraints.CENTER, GridBagConstraints.NONE, - new Insets(5, 10, 5, 10), 0, 0)); - - add(new JLabel("Copyright (C) 2001-2010, Open CASCADE S.A.S"), - new GridBagConstraints(0, 2, 1, 1, 0.0, 0.0, - GridBagConstraints.CENTER, GridBagConstraints.NONE, - new Insets(5, 10, 10, 10), 0, 0)); - - add(new JLabel("http://www.opencascade.com"), - new GridBagConstraints(0, 3, 1, 1, 0.0, 0.0, - GridBagConstraints.CENTER, GridBagConstraints.NONE, - new Insets(5, 10, 10, 10), 0, 0)); - } - -} - diff --git a/samples/java/java/AttributesPanel.java b/samples/java/java/AttributesPanel.java deleted file mode 100755 index c3fbe0623d..0000000000 --- a/samples/java/java/AttributesPanel.java +++ /dev/null @@ -1,345 +0,0 @@ - -//Title: Viewer3D Sample -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface group -//Company: Matra Datavision -//Description: - - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import util.*; -import CASCADESamplesJni.*; -import SampleAISDisplayModeJni.*; -// import SampleAISDisplayModeJni.SampleAISDisplayModePackage; -import jcas.Standard_Real; - - -public class AttributesPanel extends JPanel - implements ActionListener -{ - SamplePanel myDocument = null; - AIS_InteractiveContext myAISContext = null; - -//=======================================================================// -// Construction -//=======================================================================// - public AttributesPanel(SamplePanel aDoc, AIS_InteractiveContext aContext) - { - myDocument = aDoc; - myAISContext = aContext; - - try - { - jbInit(); - } - catch(Exception ex) - { - ex.printStackTrace(); - } - } - - void jbInit() throws Exception - { - setLayout(new GridLayout(0, 1)); - setBounds(10, 10, 10, 10); - - JButton button; - - button = new JButton("WireFrame"); - button.addActionListener(this); - button.setActionCommand("WireFrame"); - add(button); - - button = new JButton("Shading"); - button.addActionListener(this); - button.setActionCommand("Shading"); - add(button); - - button = new JButton("Color..."); - button.addActionListener(this); - button.setActionCommand("Color"); - add(button); - - button = new JButton("Brass"); - button.addActionListener(this); - button.setActionCommand("Brass"); - add(button); - - button = new JButton("Bronze"); - button.addActionListener(this); - button.setActionCommand("Bronze"); - add(button); - - button = new JButton("Copper"); - button.addActionListener(this); - button.setActionCommand("Copper"); - add(button); - - button = new JButton("Gold"); - button.addActionListener(this); - button.setActionCommand("Gold"); - add(button); - - button = new JButton("Pewter"); - button.addActionListener(this); - button.setActionCommand("Pewter"); - add(button); - - button = new JButton("Plaster"); - button.addActionListener(this); - button.setActionCommand("Plaster"); - add(button); - - button = new JButton("Plastic"); - button.addActionListener(this); - button.setActionCommand("Plastic"); - add(button); - - button = new JButton("Silver"); - button.addActionListener(this); - button.setActionCommand("Silver"); - add(button); - - button = new JButton("Steel"); - button.addActionListener(this); - button.setActionCommand("Steel"); - add(button); - - button = new JButton("Stone"); - button.addActionListener(this); - button.setActionCommand("Stone"); - add(button); - - button = new JButton("Shiny Plastic"); - button.addActionListener(this); - button.setActionCommand("ShinyPlastic"); - add(button); - - button = new JButton("Satin"); - button.addActionListener(this); - button.setActionCommand("Satin"); - add(button); - - button = new JButton("Transparency..."); - button.addActionListener(this); - button.setActionCommand("Transparency"); - add(button); - } - - -//=======================================================================// -// Commands -//=======================================================================// - private void onWireFrame() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISDisplayModePackage.SetObjectDisplayMode(myAISContext, (short)0, message); - - myDocument.traceMessage(message.ToCString().GetValue(), "Wireframe"); - } - -//=======================================================================// - private void onShading() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISDisplayModePackage.SetObjectDisplayMode(myAISContext, (short)1, message); - - myDocument.traceMessage(message.ToCString().GetValue(), "Shading"); - } - -//=======================================================================// - private void onColor() - { - Quantity_Color aColor = SampleAISDisplayModePackage.GetObjectColor(myAISContext); - int red = (int) (aColor.Red()*255); - int green = (int) (aColor.Green()*255); - int blue = (int) (aColor.Blue()*255); - Color theColor = new Color(red, green, blue); - - Color theNewColor = JColorChooser.showDialog(SamplesStarter.getFrame(), - "Choose the color", theColor); - - if (theNewColor != null) - { - Quantity_Color aNewColor = new Quantity_Color(theNewColor.getRed()/255., - theNewColor.getGreen()/255., - theNewColor.getBlue()/255., - Quantity_TypeOfColor.Quantity_TOC_RGB); - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISDisplayModePackage.SetObjectColor(myAISContext, aNewColor, message); - - myDocument.traceMessage(message.ToCString().GetValue(), "Setting Color"); - } - } - -//=======================================================================// - private void onBrass() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISDisplayModePackage.SetObjectMaterial(myAISContext, - Graphic3d_NameOfMaterial.Graphic3d_NOM_BRASS, message); - - myDocument.traceMessage(message.ToCString().GetValue(), "Setting Material"); - } - -//=======================================================================// - private void onBronze() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISDisplayModePackage.SetObjectMaterial(myAISContext, - Graphic3d_NameOfMaterial.Graphic3d_NOM_BRONZE, message); - - myDocument.traceMessage(message.ToCString().GetValue(), "Setting Material"); - } - -//=======================================================================// - private void onCopper() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISDisplayModePackage.SetObjectMaterial(myAISContext, - Graphic3d_NameOfMaterial.Graphic3d_NOM_COPPER, message); - - myDocument.traceMessage(message.ToCString().GetValue(), "Setting Material"); - } - -//=======================================================================// - private void onGold() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISDisplayModePackage.SetObjectMaterial(myAISContext, - Graphic3d_NameOfMaterial.Graphic3d_NOM_GOLD, message); - - myDocument.traceMessage(message.ToCString().GetValue(), "Setting Material"); - } - -//=======================================================================// - private void onPewter() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISDisplayModePackage.SetObjectMaterial(myAISContext, - Graphic3d_NameOfMaterial.Graphic3d_NOM_PEWTER, message); - - myDocument.traceMessage(message.ToCString().GetValue(), "Setting Material"); - } - -//=======================================================================// - private void onPlaster() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISDisplayModePackage.SetObjectMaterial(myAISContext, - Graphic3d_NameOfMaterial.Graphic3d_NOM_PLASTER, message); - - myDocument.traceMessage(message.ToCString().GetValue(), "Setting Material"); - } - -//=======================================================================// - private void onPlastic() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISDisplayModePackage.SetObjectMaterial(myAISContext, - Graphic3d_NameOfMaterial.Graphic3d_NOM_PLASTIC, message); - - myDocument.traceMessage(message.ToCString().GetValue(), "Setting Material"); - } - -//=======================================================================// - private void onSilver() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISDisplayModePackage.SetObjectMaterial(myAISContext, - Graphic3d_NameOfMaterial.Graphic3d_NOM_SILVER, message); - - myDocument.traceMessage(message.ToCString().GetValue(), "Setting Material"); - } - -//=======================================================================// - private void onSteel() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISDisplayModePackage.SetObjectMaterial(myAISContext, - Graphic3d_NameOfMaterial.Graphic3d_NOM_STEEL, message); - - myDocument.traceMessage(message.ToCString().GetValue(), "Setting Material"); - } - -//=======================================================================// - private void onStone() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISDisplayModePackage.SetObjectMaterial(myAISContext, - Graphic3d_NameOfMaterial.Graphic3d_NOM_STONE, message); - - myDocument.traceMessage(message.ToCString().GetValue(), "Setting Material"); - } - -//=======================================================================// - private void onShinyPlastic() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISDisplayModePackage.SetObjectMaterial(myAISContext, - Graphic3d_NameOfMaterial.Graphic3d_NOM_SHINY_PLASTIC, message); - - myDocument.traceMessage(message.ToCString().GetValue(), "Setting Material"); - } - -//=======================================================================// - private void onSatin() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISDisplayModePackage.SetObjectMaterial(myAISContext, - Graphic3d_NameOfMaterial.Graphic3d_NOM_SATIN, message); - - myDocument.traceMessage(message.ToCString().GetValue(), "Setting Material"); - } - -//=======================================================================// - private void onTransparency() - { - double aValue = SampleAISDisplayModePackage.GetObjectTransparency(myAISContext); - - TransparencyDlg aDlg = new TransparencyDlg(SamplesStarter.getFrame(), aValue); - Position.centerWindow(aDlg); - aDlg.show(); - - if (aDlg.isOK()) - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISDisplayModePackage.SetObjectTransparency(myAISContext, aDlg.getValue(), message); - - myDocument.traceMessage(message.ToCString().GetValue(), "Setting Transparency"); - } - } - - -//=======================================================================// -// Action listener interface -//=======================================================================// - public void actionPerformed(ActionEvent event) - { - String nameAction = event.getActionCommand(); - - if (myAISContext.NbCurrents() > 0) - { - if (nameAction.equals("WireFrame")) onWireFrame(); - else if (nameAction.equals("Shading")) onShading(); - else if (nameAction.equals("Color")) onColor(); - else if (nameAction.equals("Brass")) onBrass(); - else if (nameAction.equals("Bronze")) onBronze(); - else if (nameAction.equals("Copper")) onCopper(); - else if (nameAction.equals("Gold")) onGold(); - else if (nameAction.equals("Pewter")) onPewter(); - else if (nameAction.equals("Plaster")) onPlaster(); - else if (nameAction.equals("Plastic")) onPlastic(); - else if (nameAction.equals("Silver")) onSilver(); - else if (nameAction.equals("Steel")) onSteel(); - else if (nameAction.equals("Stone")) onStone(); - else if (nameAction.equals("ShinyPlastic")) onShinyPlastic(); - else if (nameAction.equals("Satin")) onSatin(); - else if (nameAction.equals("Transparency")) onTransparency(); - } - } - -} diff --git a/samples/java/java/CASCADESamplesJni/AIS_ClearMode.java b/samples/java/java/CASCADESamplesJni/AIS_ClearMode.java deleted file mode 100755 index 92181e1b76..0000000000 --- a/samples/java/java/CASCADESamplesJni/AIS_ClearMode.java +++ /dev/null @@ -1,30 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class AIS_ClearMode extends jcas.Standard_Enumeration { - -public final static short AIS_CM_All = 0; -public final static short AIS_CM_Interactive = 1; -public final static short AIS_CM_Filters = 2; -public final static short AIS_CM_StandardModes = 3; -public final static short AIS_CM_TemporaryShapePrs = 4; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/AIS_DisplayMode.java b/samples/java/java/CASCADESamplesJni/AIS_DisplayMode.java deleted file mode 100755 index 6668fdd9bb..0000000000 --- a/samples/java/java/CASCADESamplesJni/AIS_DisplayMode.java +++ /dev/null @@ -1,29 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class AIS_DisplayMode extends jcas.Standard_Enumeration { - -public final static short AIS_WireFrame = 0; -public final static short AIS_Shaded = 1; -public final static short AIS_QuickHLR = 2; -public final static short AIS_ExactHLR = 3; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/AIS_DisplayStatus.java b/samples/java/java/CASCADESamplesJni/AIS_DisplayStatus.java deleted file mode 100755 index ef85fcbd11..0000000000 --- a/samples/java/java/CASCADESamplesJni/AIS_DisplayStatus.java +++ /dev/null @@ -1,30 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class AIS_DisplayStatus extends jcas.Standard_Enumeration { - -public final static short AIS_DS_Displayed = 0; -public final static short AIS_DS_Erased = 1; -public final static short AIS_DS_FullErased = 2; -public final static short AIS_DS_Temporary = 3; -public final static short AIS_DS_None = 4; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/AIS_Drawer.java b/samples/java/java/CASCADESamplesJni/AIS_Drawer.java deleted file mode 100755 index 77e2fb852b..0000000000 --- a/samples/java/java/CASCADESamplesJni/AIS_Drawer.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class AIS_Drawer extends CASCADESamplesJni.Prs3d_Drawer { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public AIS_Drawer() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/AIS_InteractiveContext.java b/samples/java/java/CASCADESamplesJni/AIS_InteractiveContext.java deleted file mode 100755 index db02edf782..0000000000 --- a/samples/java/java/CASCADESamplesJni/AIS_InteractiveContext.java +++ /dev/null @@ -1,588 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; -import CASCADESamplesJni.V3d_Viewer; -import jcas.Standard_Boolean; -import CASCADESamplesJni.AIS_InteractiveObject; -import jcas.Standard_Integer; -import CASCADESamplesJni.Quantity_NameOfColor; -import jcas.Standard_Short; -import CASCADESamplesJni.AIS_KindOfInteractive; -import jcas.Standard_Real; -import CASCADESamplesJni.TopLoc_Location; -import CASCADESamplesJni.Aspect_TypeOfFacingModel; -import CASCADESamplesJni.Quantity_Color; -import CASCADESamplesJni.Graphic3d_NameOfMaterial; -import CASCADESamplesJni.Aspect_TypeOfDegenerateModel; -import CASCADESamplesJni.AIS_Drawer; -import CASCADESamplesJni.AIS_DisplayStatus; -import CASCADESamplesJni.TColStd_ListOfInteger; -import CASCADESamplesJni.TCollection_ExtendedString; -import CASCADESamplesJni.AIS_DisplayMode; -import CASCADESamplesJni.Prs3d_LineAspect; -import CASCADESamplesJni.AIS_TypeOfIso; -import CASCADESamplesJni.Prs3d_BasicAspect; -import CASCADESamplesJni.AIS_StatusOfDetection; -import CASCADESamplesJni.V3d_View; -import CASCADESamplesJni.AIS_StatusOfPick; -import CASCADESamplesJni.TColgp_Array1OfPnt2d; -import CASCADESamplesJni.TopoDS_Shape; -import CASCADESamplesJni.SelectMgr_EntityOwner; -import CASCADESamplesJni.Standard_Transient; -import CASCADESamplesJni.AIS_ClearMode; -import CASCADESamplesJni.Geom_Transformation; -import CASCADESamplesJni.Prs3d_Drawer; -import CASCADESamplesJni.SelectMgr_Filter; -import CASCADESamplesJni.TopAbs_ShapeEnum; -import CASCADESamplesJni.SelectMgr_ListOfFilter; -import CASCADESamplesJni.AIS_ListOfInteractive; -import CASCADESamplesJni.TCollection_AsciiString; -import jcas.Standard_CString; -import CASCADESamplesJni.SelectMgr_SelectionManager; -import CASCADESamplesJni.PrsMgr_PresentationManager3d; -import CASCADESamplesJni.StdSelect_ViewerSelector3d; - - -public class AIS_InteractiveContext extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public AIS_InteractiveContext(V3d_Viewer MainViewer) { - AIS_InteractiveContext_Create_1(MainViewer); -} - -private final native void AIS_InteractiveContext_Create_1(V3d_Viewer MainViewer); - -public AIS_InteractiveContext(V3d_Viewer MainViewer,V3d_Viewer Collector) { - AIS_InteractiveContext_Create_2(MainViewer,Collector); -} - -private final native void AIS_InteractiveContext_Create_2(V3d_Viewer MainViewer,V3d_Viewer Collector); - -native public final boolean IsCollectorClosed(); -native public final void CloseCollector(); -native public final void OpenCollector(); -final public void Display(AIS_InteractiveObject anIobj,boolean updateviewer) { - AIS_InteractiveContext_Display_1(anIobj,updateviewer); -} - -private final native void AIS_InteractiveContext_Display_1(AIS_InteractiveObject anIobj,boolean updateviewer); - -final public void Display(AIS_InteractiveObject anIobj,int amode,int aSelectionMode,boolean updateviewer,boolean allowdecomposition) { - AIS_InteractiveContext_Display_2(anIobj,amode,aSelectionMode,updateviewer,allowdecomposition); -} - -private final native void AIS_InteractiveContext_Display_2(AIS_InteractiveObject anIobj,int amode,int aSelectionMode,boolean updateviewer,boolean allowdecomposition); - -native public final void Load(AIS_InteractiveObject aniobj,int SelectionMode,boolean AllowDecomp); -native public final void Erase(AIS_InteractiveObject aniobj,boolean updateviewer,boolean PutInCollector); -native public final void EraseMode(AIS_InteractiveObject aniobj,int aMode,boolean updateviewer); -native public final void EraseAll(boolean PutInCollector,boolean updateviewer); -native public final void DisplayAll(boolean OnlyFromCollector,boolean updateviewer); -native public final void DisplayFromCollector(AIS_InteractiveObject anIObj,boolean updateviewer); -native public final void EraseSelected(boolean PutInCollector,boolean updateviewer); -native public final void DisplaySelected(boolean updateviewer); -native public final boolean KeepTemporary(AIS_InteractiveObject anIObj,int InWhichLocal); -native public final void Clear(AIS_InteractiveObject aniobj,boolean updateviewer); -native public final void ClearPrs(AIS_InteractiveObject aniobj,int aMode,boolean updateviewer); -native public final void Remove(AIS_InteractiveObject aniobj,boolean updateviewer); -native public final void Hilight(AIS_InteractiveObject aniobj,boolean updateviewer); -native public final void HilightWithColor(AIS_InteractiveObject aniobj,short aCol,boolean updateviewer); -native public final void Unhilight(AIS_InteractiveObject aniobj,boolean updateviewer); -native public final void SetDisplayPriority(AIS_InteractiveObject anIobj,int aPriority); -final public void Redisplay(AIS_InteractiveObject aniobj,boolean updateviewer,boolean allmodes) { - AIS_InteractiveContext_Redisplay_1(aniobj,updateviewer,allmodes); -} - -private final native void AIS_InteractiveContext_Redisplay_1(AIS_InteractiveObject aniobj,boolean updateviewer,boolean allmodes); - -final public void Redisplay(short aTypeOfObject,int Signature,boolean updateviewer) { - AIS_InteractiveContext_Redisplay_2(aTypeOfObject,Signature,updateviewer); -} - -private final native void AIS_InteractiveContext_Redisplay_2(short aTypeOfObject,int Signature,boolean updateviewer); - -native public final void RecomputePrsOnly(AIS_InteractiveObject anIobj,boolean updateviewer,boolean allmodes); -native public final void RecomputeSelectionOnly(AIS_InteractiveObject anIObj); -native public final void Update(AIS_InteractiveObject anIobj,boolean updateviewer); -final public void SetDisplayMode(AIS_InteractiveObject aniobj,int aMode,boolean updateviewer) { - AIS_InteractiveContext_SetDisplayMode_1(aniobj,aMode,updateviewer); -} - -private final native void AIS_InteractiveContext_SetDisplayMode_1(AIS_InteractiveObject aniobj,int aMode,boolean updateviewer); - -native public final void UnsetDisplayMode(AIS_InteractiveObject aniobj,boolean updateviewer); -native public final void SetSelectionMode(AIS_InteractiveObject aniobj,int aMode); -native public final void UnsetSelectionMode(AIS_InteractiveObject aniobj); -final public void SetSensitivity(double aPrecision) { - AIS_InteractiveContext_SetSensitivity_1(aPrecision); -} - -private final native void AIS_InteractiveContext_SetSensitivity_1(double aPrecision); - -final public void SetSensitivity(int aPrecision) { - AIS_InteractiveContext_SetSensitivity_2(aPrecision); -} - -private final native void AIS_InteractiveContext_SetSensitivity_2(int aPrecision); - -native public final void SetLocation(AIS_InteractiveObject aniobj,TopLoc_Location aLocation); -native public final void ResetLocation(AIS_InteractiveObject aniobj); -native public final boolean HasLocation(AIS_InteractiveObject aniobj); -native public final TopLoc_Location Location(AIS_InteractiveObject aniobj); -native public final void SetCurrentFacingModel(AIS_InteractiveObject aniobj,short aModel); -final public void SetColor(AIS_InteractiveObject aniobj,short aColor,boolean updateviewer) { - AIS_InteractiveContext_SetColor_1(aniobj,aColor,updateviewer); -} - -private final native void AIS_InteractiveContext_SetColor_1(AIS_InteractiveObject aniobj,short aColor,boolean updateviewer); - -final public void SetColor(AIS_InteractiveObject aniobj,Quantity_Color aColor,boolean updateviewer) { - AIS_InteractiveContext_SetColor_2(aniobj,aColor,updateviewer); -} - -private final native void AIS_InteractiveContext_SetColor_2(AIS_InteractiveObject aniobj,Quantity_Color aColor,boolean updateviewer); - -native public final void UnsetColor(AIS_InteractiveObject aniobj,boolean updateviewer); -native public void SetWidth(AIS_InteractiveObject aniobj,double aValue,boolean updateviewer); -native public void UnsetWidth(AIS_InteractiveObject aniobj,boolean updateviewer); -native public final void SetMaterial(AIS_InteractiveObject aniobj,short aName,boolean updateviewer); -native public final void UnsetMaterial(AIS_InteractiveObject anObj,boolean updateviewer); -native public final void SetTransparency(AIS_InteractiveObject aniobj,double aValue,boolean updateviewer); -native public final void UnsetTransparency(AIS_InteractiveObject aniobj,boolean updateviewer); -final public void SetDegenerateModel(AIS_InteractiveObject aniobj,short aModel,double aRatio) { - AIS_InteractiveContext_SetDegenerateModel_1(aniobj,aModel,aRatio); -} - -private final native void AIS_InteractiveContext_SetDegenerateModel_1(AIS_InteractiveObject aniobj,short aModel,double aRatio); - -final public void SetDegenerateModel(short aModel,double aSkipRatio) { - AIS_InteractiveContext_SetDegenerateModel_2(aModel,aSkipRatio); -} - -private final native void AIS_InteractiveContext_SetDegenerateModel_2(short aModel,double aSkipRatio); - -native public final void SetLocalAttributes(AIS_InteractiveObject aniobj,AIS_Drawer aDrawer,boolean updateviewer); -native public final void UnsetLocalAttributes(AIS_InteractiveObject anObj,boolean updateviewer); -native public final void SetTrihedronSize(double aSize,boolean updateviewer); -native public final double TrihedronSize(); -final public void SetPlaneSize(double aSizeX,double aSizeY,boolean updateviewer) { - AIS_InteractiveContext_SetPlaneSize_1(aSizeX,aSizeY,updateviewer); -} - -private final native void AIS_InteractiveContext_SetPlaneSize_1(double aSizeX,double aSizeY,boolean updateviewer); - -final public void SetPlaneSize(double aSize,boolean updateviewer) { - AIS_InteractiveContext_SetPlaneSize_2(aSize,updateviewer); -} - -private final native void AIS_InteractiveContext_SetPlaneSize_2(double aSize,boolean updateviewer); - -native public final boolean PlaneSize(Standard_Real XSize,Standard_Real YSize); -native public final short DisplayStatus(AIS_InteractiveObject anIobj); -native public final TColStd_ListOfInteger DisplayedModes(AIS_InteractiveObject aniobj); -final public boolean IsDisplayed(AIS_InteractiveObject anIobj) { - return AIS_InteractiveContext_IsDisplayed_1(anIobj); -} - -private final native boolean AIS_InteractiveContext_IsDisplayed_1(AIS_InteractiveObject anIobj); - -final public boolean IsDisplayed(AIS_InteractiveObject aniobj,int aMode) { - return AIS_InteractiveContext_IsDisplayed_2(aniobj,aMode); -} - -private final native boolean AIS_InteractiveContext_IsDisplayed_2(AIS_InteractiveObject aniobj,int aMode); - -final public boolean IsHilighted(AIS_InteractiveObject aniobj) { - return AIS_InteractiveContext_IsHilighted_1(aniobj); -} - -private final native boolean AIS_InteractiveContext_IsHilighted_1(AIS_InteractiveObject aniobj); - -final public boolean IsHilighted(AIS_InteractiveObject anIobj,Standard_Boolean WithColor,Standard_Short theHiCol) { - return AIS_InteractiveContext_IsHilighted_2(anIobj,WithColor,theHiCol); -} - -private final native boolean AIS_InteractiveContext_IsHilighted_2(AIS_InteractiveObject anIobj,Standard_Boolean WithColor,Standard_Short theHiCol); - -native public final boolean IsInCollector(AIS_InteractiveObject anIObj); -native public final int DisplayPriority(AIS_InteractiveObject anIobj); -native public final boolean HasColor(AIS_InteractiveObject aniobj); -final public short Color(AIS_InteractiveObject aniobj) { - return AIS_InteractiveContext_Color_1(aniobj); -} - -private final native short AIS_InteractiveContext_Color_1(AIS_InteractiveObject aniobj); - -final public void Color(AIS_InteractiveObject aniobj,Quantity_Color acolor) { - AIS_InteractiveContext_Color_2(aniobj,acolor); -} - -private final native void AIS_InteractiveContext_Color_2(AIS_InteractiveObject aniobj,Quantity_Color acolor); - -native public double Width(AIS_InteractiveObject aniobj); -native public final void Status(AIS_InteractiveObject anObj,TCollection_ExtendedString astatus); -native public final void UpdateCurrentViewer(); -native public final void UpdateCollector(); -native public final int DisplayMode(); -native public final short HilightColor(); -final public short SelectionColor() { - return AIS_InteractiveContext_SelectionColor_1(); -} - -private final native short AIS_InteractiveContext_SelectionColor_1(); - -native public final short PreSelectionColor(); -native public final short DefaultColor(); -native public final short SubIntensityColor(); -native public final void SetHilightColor(short aHiCol); -final public void SelectionColor(short aCol) { - AIS_InteractiveContext_SelectionColor_2(aCol); -} - -private final native void AIS_InteractiveContext_SelectionColor_2(short aCol); - -native public final void SetPreselectionColor(short aCol); -native public final void SetSubIntensityColor(short aCol); -final public void SetDisplayMode(short AMode,boolean updateviewer) { - AIS_InteractiveContext_SetDisplayMode_2(AMode,updateviewer); -} - -private final native void AIS_InteractiveContext_SetDisplayMode_2(short AMode,boolean updateviewer); - -final public void SetDeviationCoefficient(AIS_InteractiveObject aniobj,double aCoefficient,boolean updateviewer) { - AIS_InteractiveContext_SetDeviationCoefficient_1(aniobj,aCoefficient,updateviewer); -} - -private final native void AIS_InteractiveContext_SetDeviationCoefficient_1(AIS_InteractiveObject aniobj,double aCoefficient,boolean updateviewer); - -final public void SetDeviationAngle(AIS_InteractiveObject aniobj,double anAngle,boolean updateviewer) { - AIS_InteractiveContext_SetDeviationAngle_1(aniobj,anAngle,updateviewer); -} - -private final native void AIS_InteractiveContext_SetDeviationAngle_1(AIS_InteractiveObject aniobj,double anAngle,boolean updateviewer); - -native public final void SetAngleAndDeviation(AIS_InteractiveObject aniobj,double anAngle,boolean updateviewer); -final public void SetHLRDeviationCoefficient(AIS_InteractiveObject aniobj,double aCoefficient,boolean updateviewer) { - AIS_InteractiveContext_SetHLRDeviationCoefficient_1(aniobj,aCoefficient,updateviewer); -} - -private final native void AIS_InteractiveContext_SetHLRDeviationCoefficient_1(AIS_InteractiveObject aniobj,double aCoefficient,boolean updateviewer); - -native public final void SetHLRDeviationAngle(AIS_InteractiveObject aniobj,double anAngle,boolean updateviewer); -final public void SetHLRAngleAndDeviation(AIS_InteractiveObject aniobj,double anAngle,boolean updateviewer) { - AIS_InteractiveContext_SetHLRAngleAndDeviation_1(aniobj,anAngle,updateviewer); -} - -private final native void AIS_InteractiveContext_SetHLRAngleAndDeviation_1(AIS_InteractiveObject aniobj,double anAngle,boolean updateviewer); - -final public void SetDeviationCoefficient(double aCoefficient) { - AIS_InteractiveContext_SetDeviationCoefficient_2(aCoefficient); -} - -private final native void AIS_InteractiveContext_SetDeviationCoefficient_2(double aCoefficient); - -native public final double DeviationCoefficient(); -final public void SetDeviationAngle(double anAngle) { - AIS_InteractiveContext_SetDeviationAngle_2(anAngle); -} - -private final native void AIS_InteractiveContext_SetDeviationAngle_2(double anAngle); - -native public final double DeviationAngle(); -final public void SetHLRDeviationCoefficient(double aCoefficient) { - AIS_InteractiveContext_SetHLRDeviationCoefficient_2(aCoefficient); -} - -private final native void AIS_InteractiveContext_SetHLRDeviationCoefficient_2(double aCoefficient); - -native public final double HLRDeviationCoefficient(); -native public final void SetHLRAngle(double anAngle); -native public final double HLRAngle(); -final public void SetHLRAngleAndDeviation(double anAngle) { - AIS_InteractiveContext_SetHLRAngleAndDeviation_2(anAngle); -} - -private final native void AIS_InteractiveContext_SetHLRAngleAndDeviation_2(double anAngle); - -native public final Prs3d_LineAspect HiddenLineAspect(); -native public final void SetHiddenLineAspect(Prs3d_LineAspect anAspect); -native public final boolean DrawHiddenLine(); -native public final void EnableDrawHiddenLine(); -native public final void DisableDrawHiddenLine(); -native public final void SetIsoNumber(int NbIsos,short WhichIsos); -native public final int IsoNumber(short WhichIsos); -final public void IsoOnPlane(boolean SwitchOn) { - AIS_InteractiveContext_IsoOnPlane_1(SwitchOn); -} - -private final native void AIS_InteractiveContext_IsoOnPlane_1(boolean SwitchOn); - -final public boolean IsoOnPlane() { - return AIS_InteractiveContext_IsoOnPlane_2(); -} - -private final native boolean AIS_InteractiveContext_IsoOnPlane_2(); - -native public final void SetSelectedAspect(Prs3d_BasicAspect anAspect,boolean globalChange,boolean updateViewer); -native public final short MoveTo(int XPix,int YPix,V3d_View aView); -native public final boolean HasNextDetected(); -native public final int HilightNextDetected(V3d_View aView); -native public final int HilightPreviousDetected(V3d_View aView); -final public short Select(int XPMin,int YPMin,int XPMax,int YPMax,V3d_View aView,boolean updateviewer) { - return AIS_InteractiveContext_Select_1(XPMin,YPMin,XPMax,YPMax,aView,updateviewer); -} - -private final native short AIS_InteractiveContext_Select_1(int XPMin,int YPMin,int XPMax,int YPMax,V3d_View aView,boolean updateviewer); - -final public short Select(TColgp_Array1OfPnt2d Polyline,V3d_View aView,boolean updateviewer) { - return AIS_InteractiveContext_Select_2(Polyline,aView,updateviewer); -} - -private final native short AIS_InteractiveContext_Select_2(TColgp_Array1OfPnt2d Polyline,V3d_View aView,boolean updateviewer); - -final public short Select(boolean updateviewer) { - return AIS_InteractiveContext_Select_3(updateviewer); -} - -private final native short AIS_InteractiveContext_Select_3(boolean updateviewer); - -final public short ShiftSelect(boolean updateviewer) { - return AIS_InteractiveContext_ShiftSelect_1(updateviewer); -} - -private final native short AIS_InteractiveContext_ShiftSelect_1(boolean updateviewer); - -final public short ShiftSelect(int XPMin,int YPMin,int XPMax,int YPMax,V3d_View aView,boolean updateviewer) { - return AIS_InteractiveContext_ShiftSelect_2(XPMin,YPMin,XPMax,YPMax,aView,updateviewer); -} - -private final native short AIS_InteractiveContext_ShiftSelect_2(int XPMin,int YPMin,int XPMax,int YPMax,V3d_View aView,boolean updateviewer); - -native public final void SetCurrentObject(AIS_InteractiveObject aniobj,boolean updateviewer); -native public final void AddOrRemoveCurrentObject(AIS_InteractiveObject aniobj,boolean updateviewer); -native public final void UpdateCurrent(); -native public final boolean WasCurrentTouched(); -native public final void SetOkCurrent(); -native public final boolean IsCurrent(AIS_InteractiveObject aniobj); -native public final void InitCurrent(); -native public final boolean MoreCurrent(); -native public final void NextCurrent(); -native public final AIS_InteractiveObject Current(); -native public final int NbCurrents(); -native public final AIS_InteractiveObject FirstCurrentObject(); -native public final void HilightCurrents(boolean updateviewer); -native public final void UnhilightCurrents(boolean updateviewer); -native public final void ClearCurrents(boolean updateviewer); -native public final void SetSelected(AIS_InteractiveObject aniObj,boolean updateviewer); -native public final void SetSelectedCurrent(); -native public final void UpdateSelected(boolean updateviewer); -final public void AddOrRemoveSelected(AIS_InteractiveObject aniobj,boolean updateviewer) { - AIS_InteractiveContext_AddOrRemoveSelected_1(aniobj,updateviewer); -} - -private final native void AIS_InteractiveContext_AddOrRemoveSelected_1(AIS_InteractiveObject aniobj,boolean updateviewer); - -native public final void HilightSelected(boolean updateviewer); -native public final void UnhilightSelected(boolean updateviewer); -native public final void ClearSelected(boolean updateviewer); -final public void AddOrRemoveSelected(TopoDS_Shape aShape,boolean updateviewer) { - AIS_InteractiveContext_AddOrRemoveSelected_2(aShape,updateviewer); -} - -private final native void AIS_InteractiveContext_AddOrRemoveSelected_2(TopoDS_Shape aShape,boolean updateviewer); - -final public void AddOrRemoveSelected(SelectMgr_EntityOwner anOwner,boolean updateviewer) { - AIS_InteractiveContext_AddOrRemoveSelected_3(anOwner,updateviewer); -} - -private final native void AIS_InteractiveContext_AddOrRemoveSelected_3(SelectMgr_EntityOwner anOwner,boolean updateviewer); - -native public final boolean IsSelected(AIS_InteractiveObject aniobj); -native public final void InitSelected(); -native public final boolean MoreSelected(); -native public final void NextSelected(); -native public final int NbSelected(); -native public final boolean HasSelectedShape(); -native public final TopoDS_Shape SelectedShape(); -native public final SelectMgr_EntityOwner SelectedOwner(); -native public final AIS_InteractiveObject Interactive(); -native public final AIS_InteractiveObject SelectedInteractive(); -native public final boolean HasApplicative(); -native public final Standard_Transient Applicative(); -native public final boolean HasDetected(); -native public final boolean HasDetectedShape(); -native public final TopoDS_Shape DetectedShape(); -native public final AIS_InteractiveObject DetectedInteractive(); -native public final SelectMgr_EntityOwner DetectedOwner(); -native public final void InitDetected(); -native public final boolean MoreDetected(); -native public final void NextDetected(); -native public final TopoDS_Shape DetectedCurrentShape(); -native public final AIS_InteractiveObject DetectedCurrentObject(); -native public final int OpenLocalContext(boolean UseDisplayedObjects,boolean AllowShapeDecomposition,boolean AcceptEraseOfObjects,boolean BothViewers); -native public final void CloseLocalContext(int Index,boolean updateviewer); -native public final int IndexOfCurrentLocal(); -native public final void CloseAllContexts(boolean updateviewer); -native public final void ResetOriginalState(boolean updateviewer); -native public final void ClearLocalContext(short TheMode); -native public final void UseDisplayedObjects(); -native public final void NotUseDisplayedObjects(); -native public final boolean BeginImmediateDraw(); -native public final boolean ImmediateAdd(AIS_InteractiveObject anIObj,int aMode); -native public final boolean ImmediateRemove(AIS_InteractiveObject anIObj,int aMode); -final public boolean EndImmediateDraw(V3d_View aView,boolean DoubleBuf) { - return AIS_InteractiveContext_EndImmediateDraw_1(aView,DoubleBuf); -} - -private final native boolean AIS_InteractiveContext_EndImmediateDraw_1(V3d_View aView,boolean DoubleBuf); - -final public boolean EndImmediateDraw(boolean DoubleBuf) { - return AIS_InteractiveContext_EndImmediateDraw_2(DoubleBuf); -} - -private final native boolean AIS_InteractiveContext_EndImmediateDraw_2(boolean DoubleBuf); - -native public final boolean IsImmediateModeOn(); -native public final void Drag(V3d_View aView,AIS_InteractiveObject anObject,Geom_Transformation aTranformation,boolean postConcatenate,boolean update,boolean zBuffer); -native public final void SetAutomaticHilight(boolean aStatus); -native public final boolean AutomaticHilight(); -native public final void Activate(AIS_InteractiveObject anIobj,int aMode); -final public void Deactivate(AIS_InteractiveObject anIObj) { - AIS_InteractiveContext_Deactivate_1(anIObj); -} - -private final native void AIS_InteractiveContext_Deactivate_1(AIS_InteractiveObject anIObj); - -final public void Deactivate(AIS_InteractiveObject anIobj,int aMode) { - AIS_InteractiveContext_Deactivate_2(anIobj,aMode); -} - -private final native void AIS_InteractiveContext_Deactivate_2(AIS_InteractiveObject anIobj,int aMode); - -native public final void ActivatedModes(AIS_InteractiveObject anIobj,TColStd_ListOfInteger theList); -native public final void SetShapeDecomposition(AIS_InteractiveObject anIobj,boolean aStatus); -native public final void SetTemporaryAttributes(AIS_InteractiveObject anObj,Prs3d_Drawer aDrawer,boolean updateviewer); -final public void SubIntensityOn(AIS_InteractiveObject aniobj,boolean updateviewer) { - AIS_InteractiveContext_SubIntensityOn_1(aniobj,updateviewer); -} - -private final native void AIS_InteractiveContext_SubIntensityOn_1(AIS_InteractiveObject aniobj,boolean updateviewer); - -final public void SubIntensityOff(AIS_InteractiveObject aniobj,boolean updateviewer) { - AIS_InteractiveContext_SubIntensityOff_1(aniobj,updateviewer); -} - -private final native void AIS_InteractiveContext_SubIntensityOff_1(AIS_InteractiveObject aniobj,boolean updateviewer); - -final public void SubIntensityOn(boolean updateviewer) { - AIS_InteractiveContext_SubIntensityOn_2(updateviewer); -} - -private final native void AIS_InteractiveContext_SubIntensityOn_2(boolean updateviewer); - -final public void SubIntensityOff(boolean updateviewer) { - AIS_InteractiveContext_SubIntensityOff_2(updateviewer); -} - -private final native void AIS_InteractiveContext_SubIntensityOff_2(boolean updateviewer); - -native public final void AddFilter(SelectMgr_Filter aFilter); -native public final void RemoveFilter(SelectMgr_Filter aFilter); -native public final void RemoveFilters(); -native public final void ActivateStandardMode(short aStandardActivation); -native public final void DeactivateStandardMode(short aStandardActivation); -native public final TColStd_ListOfInteger ActivatedStandardModes(); -native public final SelectMgr_ListOfFilter Filters(); -native public final Prs3d_Drawer DefaultDrawer(); -native public final V3d_Viewer CurrentViewer(); -final public void DisplayedObjects(AIS_ListOfInteractive aListOfIO,boolean OnlyFromNeutral) { - AIS_InteractiveContext_DisplayedObjects_1(aListOfIO,OnlyFromNeutral); -} - -private final native void AIS_InteractiveContext_DisplayedObjects_1(AIS_ListOfInteractive aListOfIO,boolean OnlyFromNeutral); - -final public void DisplayedObjects(short WhichKind,int WhichSignature,AIS_ListOfInteractive aListOfIO,boolean OnlyFromNeutral) { - AIS_InteractiveContext_DisplayedObjects_2(WhichKind,WhichSignature,aListOfIO,OnlyFromNeutral); -} - -private final native void AIS_InteractiveContext_DisplayedObjects_2(short WhichKind,int WhichSignature,AIS_ListOfInteractive aListOfIO,boolean OnlyFromNeutral); - -native public final V3d_Viewer Collector(); -final public void ObjectsInCollector(AIS_ListOfInteractive aListOfIO) { - AIS_InteractiveContext_ObjectsInCollector_1(aListOfIO); -} - -private final native void AIS_InteractiveContext_ObjectsInCollector_1(AIS_ListOfInteractive aListOfIO); - -final public void ObjectsInCollector(short WhichKind,int WhichSignature,AIS_ListOfInteractive aListOfIO) { - AIS_InteractiveContext_ObjectsInCollector_2(WhichKind,WhichSignature,aListOfIO); -} - -private final native void AIS_InteractiveContext_ObjectsInCollector_2(short WhichKind,int WhichSignature,AIS_ListOfInteractive aListOfIO); - -native public final void ObjectsInside(AIS_ListOfInteractive aListOfIO,short WhichKind,int WhichSignature); -native public final boolean HasOpenedContext(); -native public final TCollection_AsciiString CurrentName(); -native public final TCollection_AsciiString SelectionName(); -native public final Standard_CString DomainOfMainViewer(); -native public final Standard_CString DomainOfCollector(); -native public final SelectMgr_SelectionManager SelectionManager(); -native public final PrsMgr_PresentationManager3d MainPrsMgr(); -native public final PrsMgr_PresentationManager3d CollectorPrsMgr(); -native public final StdSelect_ViewerSelector3d MainSelector(); -native public final StdSelect_ViewerSelector3d CollectorSelector(); -native public final int PurgeDisplay(boolean CollectorToo); -native public final int HighestIndex(); -final public void DisplayActiveAreas(V3d_View aView) { - AIS_InteractiveContext_DisplayActiveAreas_1(aView); -} - -private final native void AIS_InteractiveContext_DisplayActiveAreas_1(V3d_View aView); - -native public final void ClearActiveAreas(V3d_View aView); -final public void DisplayActiveSensitive(V3d_View aView) { - AIS_InteractiveContext_DisplayActiveSensitive_1(aView); -} - -private final native void AIS_InteractiveContext_DisplayActiveSensitive_1(V3d_View aView); - -native public final void ClearActiveSensitive(V3d_View aView); -final public void DisplayActiveSensitive(AIS_InteractiveObject anObject,V3d_View aView) { - AIS_InteractiveContext_DisplayActiveSensitive_2(anObject,aView); -} - -private final native void AIS_InteractiveContext_DisplayActiveSensitive_2(AIS_InteractiveObject anObject,V3d_View aView); - -final public void DisplayActiveAreas(AIS_InteractiveObject anObject,V3d_View aView) { - AIS_InteractiveContext_DisplayActiveAreas_2(anObject,aView); -} - -private final native void AIS_InteractiveContext_DisplayActiveAreas_2(AIS_InteractiveObject anObject,V3d_View aView); - -native public final boolean IsInLocal(AIS_InteractiveObject anObject,Standard_Integer TheIndex); -public AIS_InteractiveContext() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/AIS_InteractiveObject.java b/samples/java/java/CASCADESamplesJni/AIS_InteractiveObject.java deleted file mode 100755 index a0e25d7474..0000000000 --- a/samples/java/java/CASCADESamplesJni/AIS_InteractiveObject.java +++ /dev/null @@ -1,150 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; -import CASCADESamplesJni.AIS_KindOfInteractive; -import jcas.Standard_Integer; -import jcas.Standard_Boolean; -import CASCADESamplesJni.Aspect_TypeOfFacingModel; -import jcas.Standard_Short; -import CASCADESamplesJni.Quantity_Color; -import CASCADESamplesJni.Quantity_NameOfColor; -import jcas.Standard_Real; -import CASCADESamplesJni.AIS_InteractiveContext; -import CASCADESamplesJni.Standard_Transient; -import CASCADESamplesJni.TColStd_ListOfTransient; -import CASCADESamplesJni.Graphic3d_NameOfMaterial; -import CASCADESamplesJni.Graphic3d_MaterialAspect; -import CASCADESamplesJni.AIS_Drawer; -import CASCADESamplesJni.Aspect_TypeOfDegenerateModel; -import CASCADESamplesJni.Geom_Transformation; -import CASCADESamplesJni.Prs3d_Presentation; -import CASCADESamplesJni.Prs3d_BasicAspect; - - -public class AIS_InteractiveObject extends CASCADESamplesJni.SelectMgr_SelectableObject { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -native public short Type(); -native public int Signature(); -native public boolean AcceptShapeDecomposition(); -native public final void SetCurrentFacingModel(short aModel); -native public final short CurrentFacingModel(); - public void SetColor(Quantity_Color aColor) { - AIS_InteractiveObject_SetColor_1(aColor); -} - -private native void AIS_InteractiveObject_SetColor_1(Quantity_Color aColor); - - public void SetColor(short aColor) { - AIS_InteractiveObject_SetColor_2(aColor); -} - -private native void AIS_InteractiveObject_SetColor_2(short aColor); - -native public void UnsetColor(); -native public void SetWidth(double aValue); -native public void UnsetWidth(); -native public boolean AcceptDisplayMode(int aMode); -native public int DefaultDisplayMode(); -native public final void Redisplay(boolean AllModes); -native public final void SetInfiniteState(boolean aFlag); -native public final boolean IsInfinite(); -native public final boolean HasInteractiveContext(); -native public final AIS_InteractiveContext GetContext(); -native public void SetContext(AIS_InteractiveContext aCtx); -native public final boolean HasOwner(); -native public final Standard_Transient GetOwner(); -native public final void SetOwner(Standard_Transient ApplicativeEntity); -native public final void ClearOwner(); -native public final boolean HasUsers(); -native public final TColStd_ListOfTransient Users(); -native public final void AddUser(Standard_Transient aUser); -native public final void ClearUsers(); -native public final boolean HasDisplayMode(); -native public final void SetDisplayMode(int aMode); -native public final void UnsetDisplayMode(); -native public final int DisplayMode(); -native public final boolean HasSelectionMode(); -native public final int SelectionMode(); -native public final void SetSelectionMode(int aMode); -native public final void UnsetSelectionMode(); -native public final int SelectionPriority(); -native public final void SetSelectionPriority(int aPriority); -native public final void UnsetSelectionPriority(); -native public final boolean HasSelectionPriority(); -native public final boolean HasHilightMode(); -native public final int HilightMode(); -native public final void SetHilightMode(int anIndex); -native public final void UnsetHilightMode(); -native public final boolean HasColor(); - public short Color() { - return AIS_InteractiveObject_Color_1(); -} - -private native short AIS_InteractiveObject_Color_1(); - - public void Color(Quantity_Color aColor) { - AIS_InteractiveObject_Color_2(aColor); -} - -private native void AIS_InteractiveObject_Color_2(Quantity_Color aColor); - -native public final boolean HasWidth(); -native public final double Width(); -native public final boolean HasMaterial(); -native public short Material(); - public void SetMaterial(short aName) { - AIS_InteractiveObject_SetMaterial_1(aName); -} - -private native void AIS_InteractiveObject_SetMaterial_1(short aName); - - public void SetMaterial(Graphic3d_MaterialAspect aName) { - AIS_InteractiveObject_SetMaterial_2(aName); -} - -private native void AIS_InteractiveObject_SetMaterial_2(Graphic3d_MaterialAspect aName); - -native public void UnsetMaterial(); -native public void SetTransparency(double aValue); -native public final boolean IsTransparent(); -native public double Transparency(); -native public void UnsetTransparency(); -native public void SetAttributes(AIS_Drawer aDrawer); -native public final AIS_Drawer Attributes(); -native public void UnsetAttributes(); -native public void SetDegenerateModel(short aModel,double aRatio); -native public short DegenerateModel(Standard_Real aRatio); -native public final void SetTransformation(Geom_Transformation aTranformation,boolean postConcatenate,boolean updateSelection); -native public final void UnsetTransformation(); -native public final Geom_Transformation Transformation(); -native public final boolean HasTransformation(); -native public final boolean HasPresentation(); -native public final Prs3d_Presentation Presentation(); -native public final void SetAspect(Prs3d_BasicAspect anAspect,boolean globalChange); -public AIS_InteractiveObject() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/AIS_KindOfInteractive.java b/samples/java/java/CASCADESamplesJni/AIS_KindOfInteractive.java deleted file mode 100755 index 0a2e9dfb31..0000000000 --- a/samples/java/java/CASCADESamplesJni/AIS_KindOfInteractive.java +++ /dev/null @@ -1,30 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class AIS_KindOfInteractive extends jcas.Standard_Enumeration { - -public final static short AIS_KOI_None = 0; -public final static short AIS_KOI_Datum = 1; -public final static short AIS_KOI_Shape = 2; -public final static short AIS_KOI_Object = 3; -public final static short AIS_KOI_Relation = 4; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/AIS_ListOfInteractive.java b/samples/java/java/CASCADESamplesJni/AIS_ListOfInteractive.java deleted file mode 100755 index 75a301ae0c..0000000000 --- a/samples/java/java/CASCADESamplesJni/AIS_ListOfInteractive.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - - -public class AIS_ListOfInteractive extends jcas.Object { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public AIS_ListOfInteractive() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/AIS_Shape.java b/samples/java/java/CASCADESamplesJni/AIS_Shape.java deleted file mode 100755 index 21c78ce68a..0000000000 --- a/samples/java/java/CASCADESamplesJni/AIS_Shape.java +++ /dev/null @@ -1,161 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; -import CASCADESamplesJni.TopoDS_Shape; -import jcas.Standard_Integer; -import CASCADESamplesJni.AIS_KindOfInteractive; -import jcas.Standard_Boolean; -import jcas.Standard_Real; -import CASCADESamplesJni.Quantity_NameOfColor; -import jcas.Standard_Short; -import CASCADESamplesJni.Quantity_Color; -import CASCADESamplesJni.Graphic3d_NameOfMaterial; -import CASCADESamplesJni.Graphic3d_MaterialAspect; -import CASCADESamplesJni.Bnd_Box; -import CASCADESamplesJni.TopAbs_ShapeEnum; -import CASCADESamplesJni.Prs3d_Drawer; - - -public class AIS_Shape extends CASCADESamplesJni.AIS_InteractiveObject { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public AIS_Shape(TopoDS_Shape shap) { - AIS_Shape_Create_0(shap); -} - -private final native void AIS_Shape_Create_0(TopoDS_Shape shap); - -native public int Signature(); -native public short Type(); -native public boolean AcceptShapeDecomposition(); -native public final void Set(TopoDS_Shape ashap); -native public final TopoDS_Shape Shape(); -final public boolean SetOwnDeviationCoefficient() { - return AIS_Shape_SetOwnDeviationCoefficient_1(); -} - -private final native boolean AIS_Shape_SetOwnDeviationCoefficient_1(); - -final public boolean SetOwnHLRDeviationCoefficient() { - return AIS_Shape_SetOwnHLRDeviationCoefficient_1(); -} - -private final native boolean AIS_Shape_SetOwnHLRDeviationCoefficient_1(); - -final public boolean SetOwnDeviationAngle() { - return AIS_Shape_SetOwnDeviationAngle_1(); -} - -private final native boolean AIS_Shape_SetOwnDeviationAngle_1(); - -final public boolean SetOwnHLRDeviationAngle() { - return AIS_Shape_SetOwnHLRDeviationAngle_1(); -} - -private final native boolean AIS_Shape_SetOwnHLRDeviationAngle_1(); - -final public void SetOwnDeviationCoefficient(double aCoefficient) { - AIS_Shape_SetOwnDeviationCoefficient_2(aCoefficient); -} - -private final native void AIS_Shape_SetOwnDeviationCoefficient_2(double aCoefficient); - -final public void SetOwnHLRDeviationCoefficient(double aCoefficient) { - AIS_Shape_SetOwnHLRDeviationCoefficient_2(aCoefficient); -} - -private final native void AIS_Shape_SetOwnHLRDeviationCoefficient_2(double aCoefficient); - -native public final void SetAngleAndDeviation(double anAngle); -native public final double UserAngle(); -final public void SetOwnDeviationAngle(double anAngle) { - AIS_Shape_SetOwnDeviationAngle_2(anAngle); -} - -private final native void AIS_Shape_SetOwnDeviationAngle_2(double anAngle); - -native public final void SetHLRAngleAndDeviation(double anAngle); -final public void SetOwnHLRDeviationAngle(double anAngle) { - AIS_Shape_SetOwnHLRDeviationAngle_2(anAngle); -} - -private final native void AIS_Shape_SetOwnHLRDeviationAngle_2(double anAngle); - -native public final boolean OwnDeviationCoefficient(Standard_Real aCoefficient,Standard_Real aPreviousCoefficient); -native public final boolean OwnHLRDeviationCoefficient(Standard_Real aCoefficient,Standard_Real aPreviousCoefficient); -native public final boolean OwnDeviationAngle(Standard_Real anAngle,Standard_Real aPreviousAngle); -native public final boolean OwnHLRDeviationAngle(Standard_Real anAngle,Standard_Real aPreviousAngle); - public void SetColor(short aColor) { - AIS_Shape_SetColor_1(aColor); -} - -private native void AIS_Shape_SetColor_1(short aColor); - - public void SetColor(Quantity_Color aColor) { - AIS_Shape_SetColor_2(aColor); -} - -private native void AIS_Shape_SetColor_2(Quantity_Color aColor); - -native public void UnsetColor(); -native public void SetWidth(double aValue); -native public void UnsetWidth(); - public void SetMaterial(short aName) { - AIS_Shape_SetMaterial_1(aName); -} - -private native void AIS_Shape_SetMaterial_1(short aName); - - public void SetMaterial(Graphic3d_MaterialAspect aName) { - AIS_Shape_SetMaterial_2(aName); -} - -private native void AIS_Shape_SetMaterial_2(Graphic3d_MaterialAspect aName); - -native public void UnsetMaterial(); -native public void SetTransparency(double aValue); -native public void UnsetTransparency(); -native public Bnd_Box BoundingBox(); - public short Color() { - return AIS_Shape_Color_1(); -} - -private native short AIS_Shape_Color_1(); - - public void Color(Quantity_Color aColor) { - AIS_Shape_Color_2(aColor); -} - -private native void AIS_Shape_Color_2(Quantity_Color aColor); - -native public short Material(); -native public double Transparency(); -native public static short SelectionType(int aDecompositionMode); -native public static int SelectionMode(short aShapeType); -native public static double GetDeflection(TopoDS_Shape aShape,Prs3d_Drawer aDrawer); -public AIS_Shape() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/AIS_StatusOfDetection.java b/samples/java/java/CASCADESamplesJni/AIS_StatusOfDetection.java deleted file mode 100755 index bedc7a5bb5..0000000000 --- a/samples/java/java/CASCADESamplesJni/AIS_StatusOfDetection.java +++ /dev/null @@ -1,32 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class AIS_StatusOfDetection extends jcas.Standard_Enumeration { - -public final static short AIS_SOD_Error = 0; -public final static short AIS_SOD_Nothing = 1; -public final static short AIS_SOD_AllBad = 2; -public final static short AIS_SOD_Selected = 3; -public final static short AIS_SOD_OnlyOneDetected = 4; -public final static short AIS_SOD_OnlyOneGood = 5; -public final static short AIS_SOD_SeveralGood = 6; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/AIS_StatusOfPick.java b/samples/java/java/CASCADESamplesJni/AIS_StatusOfPick.java deleted file mode 100755 index dc5c410597..0000000000 --- a/samples/java/java/CASCADESamplesJni/AIS_StatusOfPick.java +++ /dev/null @@ -1,30 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class AIS_StatusOfPick extends jcas.Standard_Enumeration { - -public final static short AIS_SOP_Error = 0; -public final static short AIS_SOP_NothingSelected = 1; -public final static short AIS_SOP_Removed = 2; -public final static short AIS_SOP_OneSelected = 3; -public final static short AIS_SOP_SeveralSelected = 4; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/AIS_TypeOfIso.java b/samples/java/java/CASCADESamplesJni/AIS_TypeOfIso.java deleted file mode 100755 index 2ee5b96873..0000000000 --- a/samples/java/java/CASCADESamplesJni/AIS_TypeOfIso.java +++ /dev/null @@ -1,28 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class AIS_TypeOfIso extends jcas.Standard_Enumeration { - -public final static short AIS_TOI_IsoU = 0; -public final static short AIS_TOI_IsoV = 1; -public final static short AIS_TOI_Both = 2; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_AspectMarker.java b/samples/java/java/CASCADESamplesJni/Aspect_AspectMarker.java deleted file mode 100755 index 8ba90e3d09..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_AspectMarker.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class Aspect_AspectMarker extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Aspect_AspectMarker() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_Background.java b/samples/java/java/CASCADESamplesJni/Aspect_Background.java deleted file mode 100755 index 70331d4a23..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_Background.java +++ /dev/null @@ -1,53 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import CASCADESamplesJni.Quantity_Color; - - -public class Aspect_Background extends jcas.Object { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Aspect_Background() { - Aspect_Background_Create_1(); -} - -private final native void Aspect_Background_Create_1(); - -public Aspect_Background(Quantity_Color AColor) { - Aspect_Background_Create_2(AColor); -} - -private final native void Aspect_Background_Create_2(Quantity_Color AColor); - -native public final void SetColor(Quantity_Color AColor); -native public final Quantity_Color Color(); - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_ColorMap.java b/samples/java/java/CASCADESamplesJni/Aspect_ColorMap.java deleted file mode 100755 index 843df9e0c0..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_ColorMap.java +++ /dev/null @@ -1,47 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; -import CASCADESamplesJni.Aspect_TypeOfColorMap; -import jcas.Standard_Integer; -import CASCADESamplesJni.Aspect_ColorMapEntry; -import CASCADESamplesJni.Quantity_Color; - - -public class Aspect_ColorMap extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -native public final short Type(); -native public final int Size(); -native public final int Index(int aColormapIndex); -native public final void Dump(); -native public final Aspect_ColorMapEntry Entry(int AColorMapIndex); -native public int FindColorMapIndex(int AColorMapEntryIndex); -native public Aspect_ColorMapEntry FindEntry(int AColorMapEntryIndex); -native public int NearestColorMapIndex(Quantity_Color aColor); -native public Aspect_ColorMapEntry NearestEntry(Quantity_Color aColor); -public Aspect_ColorMap() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_ColorMapEntry.java b/samples/java/java/CASCADESamplesJni/Aspect_ColorMapEntry.java deleted file mode 100755 index d04cedf55d..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_ColorMapEntry.java +++ /dev/null @@ -1,79 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import CASCADESamplesJni.Standard_Storable; -import jcas.Standard_Integer; -import CASCADESamplesJni.Quantity_Color; -import jcas.Standard_Boolean; - - -public class Aspect_ColorMapEntry extends CASCADESamplesJni.Standard_Storable { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Aspect_ColorMapEntry() { - Aspect_ColorMapEntry_Create_1(); -} - -private final native void Aspect_ColorMapEntry_Create_1(); - -public Aspect_ColorMapEntry(int index,Quantity_Color rgb) { - Aspect_ColorMapEntry_Create_2(index,rgb); -} - -private final native void Aspect_ColorMapEntry_Create_2(int index,Quantity_Color rgb); - -public Aspect_ColorMapEntry(Aspect_ColorMapEntry entry) { - Aspect_ColorMapEntry_Create_3(entry); -} - -private final native void Aspect_ColorMapEntry_Create_3(Aspect_ColorMapEntry entry); - -final public void SetValue(int index,Quantity_Color rgb) { - Aspect_ColorMapEntry_SetValue_1(index,rgb); -} - -private final native void Aspect_ColorMapEntry_SetValue_1(int index,Quantity_Color rgb); - -final public void SetValue(Aspect_ColorMapEntry entry) { - Aspect_ColorMapEntry_SetValue_2(entry); -} - -private final native void Aspect_ColorMapEntry_SetValue_2(Aspect_ColorMapEntry entry); - -native public final void SetColor(Quantity_Color rgb); -native public final Quantity_Color Color(); -native public final void SetIndex(int index); -native public final int Index(); -native public final void Free(); -native public final boolean IsAllocated(); -native public final void Dump(); - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_Driver.java b/samples/java/java/CASCADESamplesJni/Aspect_Driver.java deleted file mode 100755 index 9783a0bb69..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_Driver.java +++ /dev/null @@ -1,124 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; -import jcas.Standard_Boolean; -import CASCADESamplesJni.Aspect_ColorMap; -import CASCADESamplesJni.Aspect_TypeMap; -import CASCADESamplesJni.Aspect_WidthMap; -import CASCADESamplesJni.Aspect_FontMap; -import CASCADESamplesJni.Aspect_MarkMap; -import jcas.Standard_Integer; -import jcas.Standard_Real; -import CASCADESamplesJni.Standard_Transient; -import jcas.Standard_CString; -import jcas.Standard_ShortReal; -import CASCADESamplesJni.TShort_Array1OfShortReal; -import CASCADESamplesJni.TCollection_ExtendedString; -import CASCADESamplesJni.Aspect_TypeOfText; -import jcas.Standard_Short; - - -public class Aspect_Driver extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -native public void EndDraw(boolean Synchronize); -native public final void SetColorMap(Aspect_ColorMap aColorMap); -native public final void SetTypeMap(Aspect_TypeMap aTypeMap); -native public final void SetWidthMap(Aspect_WidthMap aWidthMap); -native public final void SetFontMap(Aspect_FontMap aFontMap,boolean useMFT); -native public final void SetMarkMap(Aspect_MarkMap aMarkMap); -native public void SetLineAttrib(int ColorIndex,int TypeIndex,int WidthIndex); - public void SetTextAttrib(int ColorIndex,int FontIndex) { - Aspect_Driver_SetTextAttrib_1(ColorIndex,FontIndex); -} - -private native void Aspect_Driver_SetTextAttrib_1(int ColorIndex,int FontIndex); - - public void SetTextAttrib(int ColorIndex,int FontIndex,double aSlant,double aHScale,double aWScale,boolean isUnderlined) { - Aspect_Driver_SetTextAttrib_2(ColorIndex,FontIndex,aSlant,aHScale,aWScale,isUnderlined); -} - -private native void Aspect_Driver_SetTextAttrib_2(int ColorIndex,int FontIndex,double aSlant,double aHScale,double aWScale,boolean isUnderlined); - -native public void SetPolyAttrib(int ColorIndex,int TileIndex,boolean DrawEdge); -native public void SetMarkerAttrib(int ColorIndex,int WidthIndex,boolean FillMarker); -native public boolean IsKnownImage(Standard_Transient anImage); -native public boolean SizeOfImageFile(Standard_CString anImageFile,Standard_Integer aWidth,Standard_Integer aHeight); -native public void ClearImage(Standard_Transient anImageId); -native public void ClearImageFile(Standard_CString anImageFile); -native public void DrawImage(Standard_Transient anImageId,float aX,float aY); -native public void DrawImageFile(Standard_CString anImageFile,float aX,float aY,double aScale); -native public void DrawPolyline(TShort_Array1OfShortReal aListX,TShort_Array1OfShortReal aListY); -native public void DrawPolygon(TShort_Array1OfShortReal aListX,TShort_Array1OfShortReal aListY); -native public void DrawSegment(float X1,float Y1,float X2,float Y2); -native public void DrawText(TCollection_ExtendedString aText,float Xpos,float Ypos,float anAngle,short aType); -native public void DrawPolyText(TCollection_ExtendedString aText,float Xpos,float Ypos,double aMarge,float anAngle,short aType); -native public void DrawPoint(float X,float Y); -native public void DrawMarker(int aMarker,float Xpos,float Ypos,float Width,float Height,float Angle); -native public boolean DrawArc(float X,float Y,float anXradius,float anYradius,float aStartAngle,float anOpenAngle); -native public boolean DrawPolyArc(float X,float Y,float anXradius,float anYradius,float aStartAngle,float anOpenAngle); -native public void BeginPolyline(int aNumber); -native public void BeginPolygon(int aNumber); -native public void BeginSegments(); -native public void BeginArcs(); -native public void BeginPolyArcs(); -native public void BeginMarkers(); -native public void BeginPoints(); -native public void ClosePrimitive(); -native public final Aspect_ColorMap ColorMap(); -native public final Aspect_TypeMap TypeMap(); -native public final Aspect_WidthMap WidthMap(); -native public final Aspect_FontMap FontMap(); -native public final Aspect_MarkMap MarkMap(); -native public void WorkSpace(Standard_Real Width,Standard_Real Heigth); - public double Convert(int PV) { - return Aspect_Driver_Convert_1(PV); -} - -private native double Aspect_Driver_Convert_1(int PV); - - public int Convert(double DV) { - return Aspect_Driver_Convert_2(DV); -} - -private native int Aspect_Driver_Convert_2(double DV); - - public void Convert(int PX,int PY,Standard_Real DX,Standard_Real DY) { - Aspect_Driver_Convert_3(PX,PY,DX,DY); -} - -private native void Aspect_Driver_Convert_3(int PX,int PY,Standard_Real DX,Standard_Real DY); - - public void Convert(double DX,double DY,Standard_Integer PX,Standard_Integer PY) { - Aspect_Driver_Convert_4(DX,DY,PX,PY); -} - -private native void Aspect_Driver_Convert_4(double DX,double DY,Standard_Integer PX,Standard_Integer PY); - -native public final boolean UseMFT(); -public Aspect_Driver() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_FillMethod.java b/samples/java/java/CASCADESamplesJni/Aspect_FillMethod.java deleted file mode 100755 index 5e5321ad31..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_FillMethod.java +++ /dev/null @@ -1,29 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class Aspect_FillMethod extends jcas.Standard_Enumeration { - -public final static short Aspect_FM_NONE = 0; -public final static short Aspect_FM_CENTERED = 1; -public final static short Aspect_FM_TILED = 2; -public final static short Aspect_FM_STRETCH = 3; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_FontMap.java b/samples/java/java/CASCADESamplesJni/Aspect_FontMap.java deleted file mode 100755 index 416ea95c5d..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_FontMap.java +++ /dev/null @@ -1,56 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; -import CASCADESamplesJni.Aspect_FontMapEntry; -import jcas.Standard_Integer; -import CASCADESamplesJni.Aspect_FontStyle; - - -public class Aspect_FontMap extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Aspect_FontMap() { - Aspect_FontMap_Create_0(); -} - -private final native void Aspect_FontMap_Create_0(); - -final public void AddEntry(Aspect_FontMapEntry AnEntry) { - Aspect_FontMap_AddEntry_1(AnEntry); -} - -private final native void Aspect_FontMap_AddEntry_1(Aspect_FontMapEntry AnEntry); - -final public int AddEntry(Aspect_FontStyle aStyle) { - return Aspect_FontMap_AddEntry_2(aStyle); -} - -private final native int Aspect_FontMap_AddEntry_2(Aspect_FontStyle aStyle); - -native public final int Size(); -native public final int Index(int aFontmapIndex); -native public final void Dump(); -native public final Aspect_FontMapEntry Entry(int AnIndex); - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_FontMapEntry.java b/samples/java/java/CASCADESamplesJni/Aspect_FontMapEntry.java deleted file mode 100755 index 67edccf960..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_FontMapEntry.java +++ /dev/null @@ -1,78 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Standard_Integer; -import CASCADESamplesJni.Aspect_FontStyle; -import jcas.Standard_Boolean; - - -public class Aspect_FontMapEntry extends jcas.Object { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Aspect_FontMapEntry() { - Aspect_FontMapEntry_Create_1(); -} - -private final native void Aspect_FontMapEntry_Create_1(); - -public Aspect_FontMapEntry(int index,Aspect_FontStyle style) { - Aspect_FontMapEntry_Create_2(index,style); -} - -private final native void Aspect_FontMapEntry_Create_2(int index,Aspect_FontStyle style); - -public Aspect_FontMapEntry(Aspect_FontMapEntry entry) { - Aspect_FontMapEntry_Create_3(entry); -} - -private final native void Aspect_FontMapEntry_Create_3(Aspect_FontMapEntry entry); - -final public void SetValue(int index,Aspect_FontStyle style) { - Aspect_FontMapEntry_SetValue_1(index,style); -} - -private final native void Aspect_FontMapEntry_SetValue_1(int index,Aspect_FontStyle style); - -final public void SetValue(Aspect_FontMapEntry entry) { - Aspect_FontMapEntry_SetValue_2(entry); -} - -private final native void Aspect_FontMapEntry_SetValue_2(Aspect_FontMapEntry entry); - -native public final void SetType(Aspect_FontStyle Style); -native public final Aspect_FontStyle Type(); -native public final void SetIndex(int index); -native public final int Index(); -native public final void Free(); -native public final boolean IsAllocated(); -native public final void Dump(); - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_FontStyle.java b/samples/java/java/CASCADESamplesJni/Aspect_FontStyle.java deleted file mode 100755 index 0810add147..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_FontStyle.java +++ /dev/null @@ -1,116 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import CASCADESamplesJni.Aspect_TypeOfFont; -import jcas.Standard_Real; -import jcas.Standard_Boolean; -import jcas.Standard_Short; -import jcas.Standard_CString; -import jcas.Standard_Integer; - - -public class Aspect_FontStyle extends jcas.Object { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Aspect_FontStyle() { - Aspect_FontStyle_Create_1(); -} - -private final native void Aspect_FontStyle_Create_1(); - -public Aspect_FontStyle(short Type,double Size,double Slant,boolean CapsHeight) { - Aspect_FontStyle_Create_2(Type,Size,Slant,CapsHeight); -} - -private final native void Aspect_FontStyle_Create_2(short Type,double Size,double Slant,boolean CapsHeight); - -public Aspect_FontStyle(Standard_CString Style,double Size,double Slant,boolean CapsHeight) { - Aspect_FontStyle_Create_3(Style,Size,Slant,CapsHeight); -} - -private final native void Aspect_FontStyle_Create_3(Standard_CString Style,double Size,double Slant,boolean CapsHeight); - -public Aspect_FontStyle(Standard_CString Style) { - Aspect_FontStyle_Create_4(Style); -} - -private final native void Aspect_FontStyle_Create_4(Standard_CString Style); - -native public final Aspect_FontStyle Assign(Aspect_FontStyle Other); -final public void SetValues(short Type,double Size,double Slant,boolean CapsHeight) { - Aspect_FontStyle_SetValues_1(Type,Size,Slant,CapsHeight); -} - -private final native void Aspect_FontStyle_SetValues_1(short Type,double Size,double Slant,boolean CapsHeight); - -final public void SetValues(Standard_CString Style,double Size,double Slant,boolean CapsHeight) { - Aspect_FontStyle_SetValues_2(Style,Size,Slant,CapsHeight); -} - -private final native void Aspect_FontStyle_SetValues_2(Standard_CString Style,double Size,double Slant,boolean CapsHeight); - -final public void SetValues(Standard_CString Style) { - Aspect_FontStyle_SetValues_3(Style); -} - -private final native void Aspect_FontStyle_SetValues_3(Standard_CString Style); - -native public final void SetFamily(Standard_CString aName); -native public final void SetWeight(Standard_CString aName); -native public final void SetRegistry(Standard_CString aName); -native public final void SetEncoding(Standard_CString aName); -native public final short Style(); -native public final int Length(); -native public final Standard_CString Value(); -native public final double Size(); -native public final double Slant(); -native public final boolean CapsHeight(); -native public final Standard_CString AliasName(); -native public final Standard_CString FullName(); -native public final Standard_CString Foundry(); -native public final Standard_CString Family(); -native public final Standard_CString Weight(); -native public final Standard_CString Registry(); -native public final Standard_CString Encoding(); -native public final Standard_CString SSlant(); -native public final Standard_CString SWidth(); -native public final Standard_CString SStyle(); -native public final Standard_CString SPixelSize(); -native public final Standard_CString SPointSize(); -native public final Standard_CString SResolutionX(); -native public final Standard_CString SResolutionY(); -native public final Standard_CString SSpacing(); -native public final Standard_CString SAverageWidth(); -native public final void Dump(); -native public final boolean IsEqual(Aspect_FontStyle Other); -native public final boolean IsNotEqual(Aspect_FontStyle Other); - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_FormatOfSheetPaper.java b/samples/java/java/CASCADESamplesJni/Aspect_FormatOfSheetPaper.java deleted file mode 100755 index 167d1a87af..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_FormatOfSheetPaper.java +++ /dev/null @@ -1,46 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class Aspect_FormatOfSheetPaper extends jcas.Standard_Enumeration { - -public final static short Aspect_FOSP_A0 = 0; -public final static short Aspect_FOSP_A1 = 1; -public final static short Aspect_FOSP_A2 = 2; -public final static short Aspect_FOSP_A3 = 3; -public final static short Aspect_FOSP_A4 = 4; -public final static short Aspect_FOSP_A5 = 5; -public final static short Aspect_FOSP_K_LONG = 6; -public final static short Aspect_FOSP_K_SHORT = 7; -public final static short Aspect_FOSP_J_LONG = 8; -public final static short Aspect_FOSP_J_SHORT = 9; -public final static short Aspect_FOSP_H_LONG = 10; -public final static short Aspect_FOSP_H_SHORT = 11; -public final static short Aspect_FOSP_G_LONG = 12; -public final static short Aspect_FOSP_G_SHORT = 13; -public final static short Aspect_FOSP_F = 14; -public final static short Aspect_FOSP_E = 15; -public final static short Aspect_FOSP_D = 16; -public final static short Aspect_FOSP_C = 17; -public final static short Aspect_FOSP_B = 18; -public final static short Aspect_FOSP_A = 19; -public final static short Aspect_FOSP_UNKNOWN = 20; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_GenericColorMap.java b/samples/java/java/CASCADESamplesJni/Aspect_GenericColorMap.java deleted file mode 100755 index 502be609a7..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_GenericColorMap.java +++ /dev/null @@ -1,57 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; -import CASCADESamplesJni.Aspect_ColorMapEntry; -import jcas.Standard_Integer; -import CASCADESamplesJni.Quantity_Color; - - -public class Aspect_GenericColorMap extends CASCADESamplesJni.Aspect_ColorMap { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Aspect_GenericColorMap() { - Aspect_GenericColorMap_Create_0(); -} - -private final native void Aspect_GenericColorMap_Create_0(); - -final public void AddEntry(Aspect_ColorMapEntry AnEntry) { - Aspect_GenericColorMap_AddEntry_1(AnEntry); -} - -private final native void Aspect_GenericColorMap_AddEntry_1(Aspect_ColorMapEntry AnEntry); - -final public int AddEntry(Quantity_Color aColor) { - return Aspect_GenericColorMap_AddEntry_2(aColor); -} - -private final native int Aspect_GenericColorMap_AddEntry_2(Quantity_Color aColor); - -native public final void RemoveEntry(int AColorMapEntryIndex); -native public final int FindColorMapIndex(int AColorMapEntryIndex); -native public final Aspect_ColorMapEntry FindEntry(int AColorMapEntryIndex); -native public final int NearestColorMapIndex(Quantity_Color aColor); -native public final Aspect_ColorMapEntry NearestEntry(Quantity_Color aColor); - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_GraphicDevice.java b/samples/java/java/CASCADESamplesJni/Aspect_GraphicDevice.java deleted file mode 100755 index 7176d45c65..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_GraphicDevice.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class Aspect_GraphicDevice extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Aspect_GraphicDevice() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_Grid.java b/samples/java/java/CASCADESamplesJni/Aspect_Grid.java deleted file mode 100755 index 60dd00f427..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_Grid.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class Aspect_Grid extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Aspect_Grid() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_GridDrawMode.java b/samples/java/java/CASCADESamplesJni/Aspect_GridDrawMode.java deleted file mode 100755 index 4418723b81..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_GridDrawMode.java +++ /dev/null @@ -1,28 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class Aspect_GridDrawMode extends jcas.Standard_Enumeration { - -public final static short Aspect_GDM_Lines = 0; -public final static short Aspect_GDM_Points = 1; -public final static short Aspect_GDM_None = 2; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_GridType.java b/samples/java/java/CASCADESamplesJni/Aspect_GridType.java deleted file mode 100755 index 6f94316255..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_GridType.java +++ /dev/null @@ -1,27 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class Aspect_GridType extends jcas.Standard_Enumeration { - -public final static short Aspect_GT_Rectangular = 0; -public final static short Aspect_GT_Circular = 1; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_LineStyle.java b/samples/java/java/CASCADESamplesJni/Aspect_LineStyle.java deleted file mode 100755 index dd8c5e3138..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_LineStyle.java +++ /dev/null @@ -1,79 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import CASCADESamplesJni.Aspect_TypeOfLine; -import jcas.Standard_Short; -import CASCADESamplesJni.TColQuantity_Array1OfLength; -import jcas.Standard_Integer; -import jcas.Standard_Boolean; - - -public class Aspect_LineStyle extends jcas.Object { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Aspect_LineStyle() { - Aspect_LineStyle_Create_1(); -} - -private final native void Aspect_LineStyle_Create_1(); - -public Aspect_LineStyle(short Type) { - Aspect_LineStyle_Create_2(Type); -} - -private final native void Aspect_LineStyle_Create_2(short Type); - -public Aspect_LineStyle(TColQuantity_Array1OfLength Style) { - Aspect_LineStyle_Create_3(Style); -} - -private final native void Aspect_LineStyle_Create_3(TColQuantity_Array1OfLength Style); - -native public final Aspect_LineStyle Assign(Aspect_LineStyle Other); -final public void SetValues(short Type) { - Aspect_LineStyle_SetValues_1(Type); -} - -private final native void Aspect_LineStyle_SetValues_1(short Type); - -final public void SetValues(TColQuantity_Array1OfLength Style) { - Aspect_LineStyle_SetValues_2(Style); -} - -private final native void Aspect_LineStyle_SetValues_2(TColQuantity_Array1OfLength Style); - -native public final short Style(); -native public final int Length(); -native public final TColQuantity_Array1OfLength Values(); -native public final boolean IsEqual(Aspect_LineStyle Other); -native public final boolean IsNotEqual(Aspect_LineStyle Other); - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_MarkMap.java b/samples/java/java/CASCADESamplesJni/Aspect_MarkMap.java deleted file mode 100755 index 8162d223d9..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_MarkMap.java +++ /dev/null @@ -1,56 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; -import CASCADESamplesJni.Aspect_MarkMapEntry; -import jcas.Standard_Integer; -import CASCADESamplesJni.Aspect_MarkerStyle; - - -public class Aspect_MarkMap extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Aspect_MarkMap() { - Aspect_MarkMap_Create_0(); -} - -private final native void Aspect_MarkMap_Create_0(); - -final public void AddEntry(Aspect_MarkMapEntry AnEntry) { - Aspect_MarkMap_AddEntry_1(AnEntry); -} - -private final native void Aspect_MarkMap_AddEntry_1(Aspect_MarkMapEntry AnEntry); - -final public int AddEntry(Aspect_MarkerStyle aStyle) { - return Aspect_MarkMap_AddEntry_2(aStyle); -} - -private final native int Aspect_MarkMap_AddEntry_2(Aspect_MarkerStyle aStyle); - -native public final int Size(); -native public final int Index(int aMarkmapIndex); -native public final void Dump(); -native public final Aspect_MarkMapEntry Entry(int AnIndex); - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_MarkMapEntry.java b/samples/java/java/CASCADESamplesJni/Aspect_MarkMapEntry.java deleted file mode 100755 index bc9a75aed6..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_MarkMapEntry.java +++ /dev/null @@ -1,78 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Standard_Integer; -import CASCADESamplesJni.Aspect_MarkerStyle; -import jcas.Standard_Boolean; - - -public class Aspect_MarkMapEntry extends jcas.Object { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Aspect_MarkMapEntry() { - Aspect_MarkMapEntry_Create_1(); -} - -private final native void Aspect_MarkMapEntry_Create_1(); - -public Aspect_MarkMapEntry(int index,Aspect_MarkerStyle style) { - Aspect_MarkMapEntry_Create_2(index,style); -} - -private final native void Aspect_MarkMapEntry_Create_2(int index,Aspect_MarkerStyle style); - -public Aspect_MarkMapEntry(Aspect_MarkMapEntry entry) { - Aspect_MarkMapEntry_Create_3(entry); -} - -private final native void Aspect_MarkMapEntry_Create_3(Aspect_MarkMapEntry entry); - -final public void SetValue(int index,Aspect_MarkerStyle style) { - Aspect_MarkMapEntry_SetValue_1(index,style); -} - -private final native void Aspect_MarkMapEntry_SetValue_1(int index,Aspect_MarkerStyle style); - -final public void SetValue(Aspect_MarkMapEntry entry) { - Aspect_MarkMapEntry_SetValue_2(entry); -} - -private final native void Aspect_MarkMapEntry_SetValue_2(Aspect_MarkMapEntry entry); - -native public final void SetStyle(Aspect_MarkerStyle Style); -native public final Aspect_MarkerStyle Style(); -native public final void SetIndex(int index); -native public final int Index(); -native public final void Free(); -native public final boolean IsAllocated(); -native public final void Dump(); - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_MarkerStyle.java b/samples/java/java/CASCADESamplesJni/Aspect_MarkerStyle.java deleted file mode 100755 index bb0ff6dfff..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_MarkerStyle.java +++ /dev/null @@ -1,79 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import CASCADESamplesJni.Aspect_TypeOfMarker; -import jcas.Standard_Short; -import CASCADESamplesJni.TColStd_Array1OfReal; -import CASCADESamplesJni.TColStd_Array1OfBoolean; -import jcas.Standard_Integer; -import jcas.Standard_Boolean; -import jcas.Standard_Real; -import CASCADESamplesJni.TShort_Array1OfShortReal; - - -public class Aspect_MarkerStyle extends jcas.Object { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Aspect_MarkerStyle() { - Aspect_MarkerStyle_Create_1(); -} - -private final native void Aspect_MarkerStyle_Create_1(); - -public Aspect_MarkerStyle(short aType) { - Aspect_MarkerStyle_Create_2(aType); -} - -private final native void Aspect_MarkerStyle_Create_2(short aType); - -public Aspect_MarkerStyle(TColStd_Array1OfReal aXpoint,TColStd_Array1OfReal aYpoint) { - Aspect_MarkerStyle_Create_3(aXpoint,aYpoint); -} - -private final native void Aspect_MarkerStyle_Create_3(TColStd_Array1OfReal aXpoint,TColStd_Array1OfReal aYpoint); - -public Aspect_MarkerStyle(TColStd_Array1OfReal aXpoint,TColStd_Array1OfReal aYpoint,TColStd_Array1OfBoolean aSpoint) { - Aspect_MarkerStyle_Create_4(aXpoint,aYpoint,aSpoint); -} - -private final native void Aspect_MarkerStyle_Create_4(TColStd_Array1OfReal aXpoint,TColStd_Array1OfReal aYpoint,TColStd_Array1OfBoolean aSpoint); - -native public final Aspect_MarkerStyle Assign(Aspect_MarkerStyle Other); -native public final short Type(); -native public final int Length(); -native public final boolean Values(int aRank,Standard_Real aX,Standard_Real aY); -native public final TShort_Array1OfShortReal XValues(); -native public final TShort_Array1OfShortReal YValues(); -native public final TColStd_Array1OfBoolean SValues(); -native public final boolean IsEqual(Aspect_MarkerStyle Other); -native public final boolean IsNotEqual(Aspect_MarkerStyle Other); - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_PixMap.java b/samples/java/java/CASCADESamplesJni/Aspect_PixMap.java deleted file mode 100755 index b31c4213bf..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_PixMap.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class Aspect_PixMap extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Aspect_PixMap() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_TypeMap.java b/samples/java/java/CASCADESamplesJni/Aspect_TypeMap.java deleted file mode 100755 index 2d380f23d6..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_TypeMap.java +++ /dev/null @@ -1,56 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; -import CASCADESamplesJni.Aspect_TypeMapEntry; -import jcas.Standard_Integer; -import CASCADESamplesJni.Aspect_LineStyle; - - -public class Aspect_TypeMap extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Aspect_TypeMap() { - Aspect_TypeMap_Create_0(); -} - -private final native void Aspect_TypeMap_Create_0(); - -final public void AddEntry(Aspect_TypeMapEntry AnEntry) { - Aspect_TypeMap_AddEntry_1(AnEntry); -} - -private final native void Aspect_TypeMap_AddEntry_1(Aspect_TypeMapEntry AnEntry); - -final public int AddEntry(Aspect_LineStyle aStyle) { - return Aspect_TypeMap_AddEntry_2(aStyle); -} - -private final native int Aspect_TypeMap_AddEntry_2(Aspect_LineStyle aStyle); - -native public final int Size(); -native public final int Index(int aTypemapIndex); -native public final void Dump(); -native public final Aspect_TypeMapEntry Entry(int AnIndex); - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_TypeMapEntry.java b/samples/java/java/CASCADESamplesJni/Aspect_TypeMapEntry.java deleted file mode 100755 index f800313511..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_TypeMapEntry.java +++ /dev/null @@ -1,78 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Standard_Integer; -import CASCADESamplesJni.Aspect_LineStyle; -import jcas.Standard_Boolean; - - -public class Aspect_TypeMapEntry extends jcas.Object { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Aspect_TypeMapEntry() { - Aspect_TypeMapEntry_Create_1(); -} - -private final native void Aspect_TypeMapEntry_Create_1(); - -public Aspect_TypeMapEntry(int index,Aspect_LineStyle style) { - Aspect_TypeMapEntry_Create_2(index,style); -} - -private final native void Aspect_TypeMapEntry_Create_2(int index,Aspect_LineStyle style); - -public Aspect_TypeMapEntry(Aspect_TypeMapEntry entry) { - Aspect_TypeMapEntry_Create_3(entry); -} - -private final native void Aspect_TypeMapEntry_Create_3(Aspect_TypeMapEntry entry); - -final public void SetValue(int index,Aspect_LineStyle style) { - Aspect_TypeMapEntry_SetValue_1(index,style); -} - -private final native void Aspect_TypeMapEntry_SetValue_1(int index,Aspect_LineStyle style); - -final public void SetValue(Aspect_TypeMapEntry entry) { - Aspect_TypeMapEntry_SetValue_2(entry); -} - -private final native void Aspect_TypeMapEntry_SetValue_2(Aspect_TypeMapEntry entry); - -native public final void SetType(Aspect_LineStyle Style); -native public final Aspect_LineStyle Type(); -native public final void SetIndex(int index); -native public final int Index(); -native public final void Free(); -native public final boolean IsAllocated(); -native public final void Dump(); - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_TypeOfColorMap.java b/samples/java/java/CASCADESamplesJni/Aspect_TypeOfColorMap.java deleted file mode 100755 index 7cc97ea7e8..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_TypeOfColorMap.java +++ /dev/null @@ -1,28 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class Aspect_TypeOfColorMap extends jcas.Standard_Enumeration { - -public final static short Aspect_TOC_Generic = 0; -public final static short Aspect_TOC_ColorCube = 1; -public final static short Aspect_TOC_ColorRamp = 2; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_TypeOfColorSpace.java b/samples/java/java/CASCADESamplesJni/Aspect_TypeOfColorSpace.java deleted file mode 100755 index 3cd98a43e8..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_TypeOfColorSpace.java +++ /dev/null @@ -1,28 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class Aspect_TypeOfColorSpace extends jcas.Standard_Enumeration { - -public final static short Aspect_TOCS_BlackAndWhite = 0; -public final static short Aspect_TOCS_GreyScale = 1; -public final static short Aspect_TOCS_RGB = 2; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_TypeOfDegenerateModel.java b/samples/java/java/CASCADESamplesJni/Aspect_TypeOfDegenerateModel.java deleted file mode 100755 index df3c098324..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_TypeOfDegenerateModel.java +++ /dev/null @@ -1,31 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class Aspect_TypeOfDegenerateModel extends jcas.Standard_Enumeration { - -public final static short Aspect_TDM_NONE = 0; -public final static short Aspect_TDM_TINY = 1; -public final static short Aspect_TDM_WIREFRAME = 2; -public final static short Aspect_TDM_MARKER = 3; -public final static short Aspect_TDM_BBOX = 4; -public final static short Aspect_TDM_AUTO = 5; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_TypeOfDrawMode.java b/samples/java/java/CASCADESamplesJni/Aspect_TypeOfDrawMode.java deleted file mode 100755 index b2161b6ba5..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_TypeOfDrawMode.java +++ /dev/null @@ -1,29 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class Aspect_TypeOfDrawMode extends jcas.Standard_Enumeration { - -public final static short Aspect_TODM_REPLACE = 0; -public final static short Aspect_TODM_ERASE = 1; -public final static short Aspect_TODM_XOR = 2; -public final static short Aspect_TODM_XORLIGHT = 3; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_TypeOfFacingModel.java b/samples/java/java/CASCADESamplesJni/Aspect_TypeOfFacingModel.java deleted file mode 100755 index e49ed5b84a..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_TypeOfFacingModel.java +++ /dev/null @@ -1,28 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class Aspect_TypeOfFacingModel extends jcas.Standard_Enumeration { - -public final static short Aspect_TOFM_BOTH_SIDE = 0; -public final static short Aspect_TOFM_BACK_SIDE = 1; -public final static short Aspect_TOFM_FRONT_SIDE = 2; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_TypeOfFont.java b/samples/java/java/CASCADESamplesJni/Aspect_TypeOfFont.java deleted file mode 100755 index 02437710f6..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_TypeOfFont.java +++ /dev/null @@ -1,30 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class Aspect_TypeOfFont extends jcas.Standard_Enumeration { - -public final static short Aspect_TOF_DEFAULT = 0; -public final static short Aspect_TOF_COURIER = 1; -public final static short Aspect_TOF_HELVETICA = 2; -public final static short Aspect_TOF_TIMES = 3; -public final static short Aspect_TOF_USERDEFINED = 4; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_TypeOfLine.java b/samples/java/java/CASCADESamplesJni/Aspect_TypeOfLine.java deleted file mode 100755 index b50e5a7e43..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_TypeOfLine.java +++ /dev/null @@ -1,30 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class Aspect_TypeOfLine extends jcas.Standard_Enumeration { - -public final static short Aspect_TOL_SOLID = 0; -public final static short Aspect_TOL_DASH = 1; -public final static short Aspect_TOL_DOT = 2; -public final static short Aspect_TOL_DOTDASH = 3; -public final static short Aspect_TOL_USERDEFINED = 4; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_TypeOfMarker.java b/samples/java/java/CASCADESamplesJni/Aspect_TypeOfMarker.java deleted file mode 100755 index 4220d8aaa1..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_TypeOfMarker.java +++ /dev/null @@ -1,39 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class Aspect_TypeOfMarker extends jcas.Standard_Enumeration { - -public final static short Aspect_TOM_POINT = 0; -public final static short Aspect_TOM_PLUS = 1; -public final static short Aspect_TOM_STAR = 2; -public final static short Aspect_TOM_O = 3; -public final static short Aspect_TOM_X = 4; -public final static short Aspect_TOM_O_POINT = 5; -public final static short Aspect_TOM_O_PLUS = 6; -public final static short Aspect_TOM_O_STAR = 7; -public final static short Aspect_TOM_O_X = 8; -public final static short Aspect_TOM_BALL = 9; -public final static short Aspect_TOM_RING1 = 10; -public final static short Aspect_TOM_RING2 = 11; -public final static short Aspect_TOM_RING3 = 12; -public final static short Aspect_TOM_USERDEFINED = 13; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_TypeOfResize.java b/samples/java/java/CASCADESamplesJni/Aspect_TypeOfResize.java deleted file mode 100755 index e26c675a2b..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_TypeOfResize.java +++ /dev/null @@ -1,35 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class Aspect_TypeOfResize extends jcas.Standard_Enumeration { - -public final static short Aspect_TOR_UNKNOWN = 0; -public final static short Aspect_TOR_NO_BORDER = 1; -public final static short Aspect_TOR_TOP_BORDER = 2; -public final static short Aspect_TOR_RIGHT_BORDER = 3; -public final static short Aspect_TOR_BOTTOM_BORDER = 4; -public final static short Aspect_TOR_LEFT_BORDER = 5; -public final static short Aspect_TOR_TOP_AND_RIGHT_BORDER = 6; -public final static short Aspect_TOR_RIGHT_AND_BOTTOM_BORDER = 7; -public final static short Aspect_TOR_BOTTOM_AND_LEFT_BORDER = 8; -public final static short Aspect_TOR_LEFT_AND_TOP_BORDER = 9; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_TypeOfText.java b/samples/java/java/CASCADESamplesJni/Aspect_TypeOfText.java deleted file mode 100755 index aa864fdf0e..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_TypeOfText.java +++ /dev/null @@ -1,27 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class Aspect_TypeOfText extends jcas.Standard_Enumeration { - -public final static short Aspect_TOT_SOLID = 0; -public final static short Aspect_TOT_OUTLINE = 1; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_TypeOfTriedronEcho.java b/samples/java/java/CASCADESamplesJni/Aspect_TypeOfTriedronEcho.java deleted file mode 100755 index 9e86cba14e..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_TypeOfTriedronEcho.java +++ /dev/null @@ -1,43 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class Aspect_TypeOfTriedronEcho extends jcas.Standard_Enumeration { - -public final static short Aspect_TOTE_NONE = 0; -public final static short Aspect_TOTE_ORIGIN = 1; -public final static short Aspect_TOTE_AXIS_X = 2; -public final static short Aspect_TOTE_AXIS_Y = 3; -public final static short Aspect_TOTE_AXIS_Z = 4; -public final static short Aspect_TOTE_TEXT_X = 5; -public final static short Aspect_TOTE_TEXT_Y = 6; -public final static short Aspect_TOTE_TEXT_Z = 7; -public final static short Aspect_TOTE_01 = 8; -public final static short Aspect_TOTE_02 = 9; -public final static short Aspect_TOTE_03 = 10; -public final static short Aspect_TOTE_04 = 11; -public final static short Aspect_TOTE_05 = 12; -public final static short Aspect_TOTE_06 = 13; -public final static short Aspect_TOTE_07 = 14; -public final static short Aspect_TOTE_08 = 15; -public final static short Aspect_TOTE_09 = 16; -public final static short Aspect_TOTE_10 = 17; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_TypeOfTriedronPosition.java b/samples/java/java/CASCADESamplesJni/Aspect_TypeOfTriedronPosition.java deleted file mode 100755 index 695f890a01..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_TypeOfTriedronPosition.java +++ /dev/null @@ -1,40 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class Aspect_TypeOfTriedronPosition extends jcas.Standard_Enumeration { - -public final static short Aspect_TOTP_CENTER = 0; -public final static short Aspect_TOTP_LEFT_LOWER = 1; -public final static short Aspect_TOTP_LEFT_UPPER = 2; -public final static short Aspect_TOTP_RIGHT_LOWER = 3; -public final static short Aspect_TOTP_RIGHT_UPPER = 4; -public final static short Aspect_TOTP_01 = 5; -public final static short Aspect_TOTP_02 = 6; -public final static short Aspect_TOTP_03 = 7; -public final static short Aspect_TOTP_04 = 8; -public final static short Aspect_TOTP_05 = 9; -public final static short Aspect_TOTP_06 = 10; -public final static short Aspect_TOTP_07 = 11; -public final static short Aspect_TOTP_08 = 12; -public final static short Aspect_TOTP_09 = 13; -public final static short Aspect_TOTP_10 = 14; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_WidthMap.java b/samples/java/java/CASCADESamplesJni/Aspect_WidthMap.java deleted file mode 100755 index 7c3cc9b5d1..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_WidthMap.java +++ /dev/null @@ -1,64 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; -import CASCADESamplesJni.Aspect_WidthMapEntry; -import jcas.Standard_Integer; -import CASCADESamplesJni.Aspect_WidthOfLine; -import jcas.Standard_Short; -import jcas.Standard_Real; - - -public class Aspect_WidthMap extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Aspect_WidthMap() { - Aspect_WidthMap_Create_0(); -} - -private final native void Aspect_WidthMap_Create_0(); - -final public void AddEntry(Aspect_WidthMapEntry AnEntry) { - Aspect_WidthMap_AddEntry_1(AnEntry); -} - -private final native void Aspect_WidthMap_AddEntry_1(Aspect_WidthMapEntry AnEntry); - -final public int AddEntry(short aStyle) { - return Aspect_WidthMap_AddEntry_2(aStyle); -} - -private final native int Aspect_WidthMap_AddEntry_2(short aStyle); - -final public int AddEntry(double aStyle) { - return Aspect_WidthMap_AddEntry_3(aStyle); -} - -private final native int Aspect_WidthMap_AddEntry_3(double aStyle); - -native public final int Size(); -native public final int Index(int aWidthmapIndex); -native public final Aspect_WidthMapEntry Entry(int AnIndex); -native public final void Dump(); - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_WidthMapEntry.java b/samples/java/java/CASCADESamplesJni/Aspect_WidthMapEntry.java deleted file mode 100755 index b98bf30162..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_WidthMapEntry.java +++ /dev/null @@ -1,94 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Standard_Integer; -import CASCADESamplesJni.Aspect_WidthOfLine; -import jcas.Standard_Short; -import jcas.Standard_Real; -import jcas.Standard_Boolean; - - -public class Aspect_WidthMapEntry extends jcas.Object { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Aspect_WidthMapEntry() { - Aspect_WidthMapEntry_Create_1(); -} - -private final native void Aspect_WidthMapEntry_Create_1(); - -public Aspect_WidthMapEntry(int index,short style) { - Aspect_WidthMapEntry_Create_2(index,style); -} - -private final native void Aspect_WidthMapEntry_Create_2(int index,short style); - -public Aspect_WidthMapEntry(int index,double width) { - Aspect_WidthMapEntry_Create_3(index,width); -} - -private final native void Aspect_WidthMapEntry_Create_3(int index,double width); - -public Aspect_WidthMapEntry(Aspect_WidthMapEntry entry) { - Aspect_WidthMapEntry_Create_4(entry); -} - -private final native void Aspect_WidthMapEntry_Create_4(Aspect_WidthMapEntry entry); - -final public void SetValue(int index,short style) { - Aspect_WidthMapEntry_SetValue_1(index,style); -} - -private final native void Aspect_WidthMapEntry_SetValue_1(int index,short style); - -final public void SetValue(int index,double width) { - Aspect_WidthMapEntry_SetValue_2(index,width); -} - -private final native void Aspect_WidthMapEntry_SetValue_2(int index,double width); - -final public void SetValue(Aspect_WidthMapEntry entry) { - Aspect_WidthMapEntry_SetValue_3(entry); -} - -private final native void Aspect_WidthMapEntry_SetValue_3(Aspect_WidthMapEntry entry); - -native public final void SetIndex(int index); -native public final void SetType(short Style); -native public final void SetWidth(double Width); -native public final short Type(); -native public final double Width(); -native public final int Index(); -native public final void Free(); -native public final boolean IsAllocated(); -native public final void Dump(); - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_WidthOfLine.java b/samples/java/java/CASCADESamplesJni/Aspect_WidthOfLine.java deleted file mode 100755 index 126ada53b9..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_WidthOfLine.java +++ /dev/null @@ -1,30 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class Aspect_WidthOfLine extends jcas.Standard_Enumeration { - -public final static short Aspect_WOL_THIN = 0; -public final static short Aspect_WOL_MEDIUM = 1; -public final static short Aspect_WOL_THICK = 2; -public final static short Aspect_WOL_VERYTHICK = 3; -public final static short Aspect_WOL_USERDEFINED = 4; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_Window.java b/samples/java/java/CASCADESamplesJni/Aspect_Window.java deleted file mode 100755 index fc598de3a7..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_Window.java +++ /dev/null @@ -1,134 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; -import CASCADESamplesJni.Aspect_Background; -import CASCADESamplesJni.Quantity_NameOfColor; -import jcas.Standard_Short; -import jcas.Standard_Boolean; -import jcas.Standard_CString; -import CASCADESamplesJni.Aspect_FillMethod; -import CASCADESamplesJni.Aspect_TypeOfResize; -import jcas.Standard_Integer; -import jcas.Standard_Real; -import CASCADESamplesJni.Aspect_GraphicDevice; - - -public class Aspect_Window extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - - public void SetBackground(Aspect_Background ABack) { - Aspect_Window_SetBackground_1(ABack); -} - -private native void Aspect_Window_SetBackground_1(Aspect_Background ABack); - - public void SetBackground(short BackColor) { - Aspect_Window_SetBackground_2(BackColor); -} - -private native void Aspect_Window_SetBackground_2(short BackColor); - - public boolean SetBackground(Standard_CString aName,short aMethod) { - return Aspect_Window_SetBackground_3(aName,aMethod); -} - -private native boolean Aspect_Window_SetBackground_3(Standard_CString aName,short aMethod); - -native public void SetDoubleBuffer(boolean DBmode); -native public void Flush(); -native public void Map(); -native public void Unmap(); -native public short DoResize(); -native public boolean DoMapping(); -native public void Destroy(); -native public void Clear(); -native public void ClearArea(int XCenter,int YCenter,int Width,int Height); -native public void Restore(); -native public void RestoreArea(int XCenter,int YCenter,int Width,int Height); -native public boolean Dump(Standard_CString aFilename,double aGammaValue); -native public boolean DumpArea(Standard_CString aFilename,int Xc,int Yc,int Width,int Height,double aGammaValue); -native public boolean Load(Standard_CString aFilename); -native public boolean LoadArea(Standard_CString aFilename,int Xc,int Yc,int Width,int Height); -native public final Aspect_Background Background(); -native public final Standard_CString BackgroundImage(); -native public final short BackgroundFillMethod(); -native public final Aspect_GraphicDevice GraphicDevice(); -native public boolean IsMapped(); -native public double Ratio(); - public void Position(Standard_Real X1,Standard_Real Y1,Standard_Real X2,Standard_Real Y2) { - Aspect_Window_Position_1(X1,Y1,X2,Y2); -} - -private native void Aspect_Window_Position_1(Standard_Real X1,Standard_Real Y1,Standard_Real X2,Standard_Real Y2); - - public void Position(Standard_Integer X1,Standard_Integer Y1,Standard_Integer X2,Standard_Integer Y2) { - Aspect_Window_Position_2(X1,Y1,X2,Y2); -} - -private native void Aspect_Window_Position_2(Standard_Integer X1,Standard_Integer Y1,Standard_Integer X2,Standard_Integer Y2); - - public void Size(Standard_Real Width,Standard_Real Height) { - Aspect_Window_Size_1(Width,Height); -} - -private native void Aspect_Window_Size_1(Standard_Real Width,Standard_Real Height); - - public void Size(Standard_Integer Width,Standard_Integer Height) { - Aspect_Window_Size_2(Width,Height); -} - -private native void Aspect_Window_Size_2(Standard_Integer Width,Standard_Integer Height); - -native public void MMSize(Standard_Real Width,Standard_Real Height); - public double Convert(int PV) { - return Aspect_Window_Convert_1(PV); -} - -private native double Aspect_Window_Convert_1(int PV); - - public int Convert(double DV) { - return Aspect_Window_Convert_2(DV); -} - -private native int Aspect_Window_Convert_2(double DV); - - public void Convert(int PX,int PY,Standard_Real DX,Standard_Real DY) { - Aspect_Window_Convert_3(PX,PY,DX,DY); -} - -private native void Aspect_Window_Convert_3(int PX,int PY,Standard_Real DX,Standard_Real DY); - - public void Convert(double DX,double DY,Standard_Integer PX,Standard_Integer PY) { - Aspect_Window_Convert_4(DX,DY,PX,PY); -} - -private native void Aspect_Window_Convert_4(double DX,double DY,Standard_Integer PX,Standard_Integer PY); - -native public boolean BackingStore(); -native public boolean DoubleBuffer(); -public Aspect_Window() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Aspect_WindowDriver.java b/samples/java/java/CASCADESamplesJni/Aspect_WindowDriver.java deleted file mode 100755 index c16d3e225b..0000000000 --- a/samples/java/java/CASCADESamplesJni/Aspect_WindowDriver.java +++ /dev/null @@ -1,85 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; -import jcas.Standard_Boolean; -import jcas.Standard_Integer; -import CASCADESamplesJni.Aspect_TypeOfResize; -import CASCADESamplesJni.Aspect_Window; -import CASCADESamplesJni.Aspect_TypeOfDrawMode; -import jcas.Standard_Short; -import jcas.Standard_ShortReal; -import jcas.Standard_Real; -import CASCADESamplesJni.TCollection_ExtendedString; -import jcas.Standard_CString; - - -public class Aspect_WindowDriver extends CASCADESamplesJni.Aspect_Driver { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -native public void BeginDraw(boolean DoubleBuffer,int aRetainBuffer); -native public short ResizeSpace(); -native public final Aspect_Window Window(); -native public void SetDrawMode(short aMode); -native public boolean OpenBuffer(int aRetainBuffer,float aPivotX,float aPivotY,int aWidthIndex,int aColorIndex,int aFontIndex,short aDrawMode); -native public void CloseBuffer(int aRetainBuffer); -native public void ClearBuffer(int aRetainBuffer); -native public void DrawBuffer(int aRetainBuffer); -native public void EraseBuffer(int aRetainBuffer); -native public void MoveBuffer(int aRetainBuffer,float aPivotX,float aPivotY); -native public void ScaleBuffer(int aRetainBuffer,double aScaleX,double aScaleY); -native public void RotateBuffer(int aRetainBuffer,double anAngle); -native public boolean BufferIsOpen(int aRetainBuffer); -native public boolean BufferIsEmpty(int aRetainBuffer); -native public boolean BufferIsDrawn(int aRetainBuffer); -native public void AngleOfBuffer(int aRetainBuffer,Standard_Real anAngle); -native public void ScaleOfBuffer(int aRetainBuffer,Standard_Real aScaleX,Standard_Real aScaleY); -native public void PositionOfBuffer(int aRetainBuffer,Standard_ShortReal aPivotX,Standard_ShortReal aPivotY); - public void TextSize(TCollection_ExtendedString aText,Standard_ShortReal aWidth,Standard_ShortReal aHeight,int aFontIndex) { - Aspect_WindowDriver_TextSize_1(aText,aWidth,aHeight,aFontIndex); -} - -private native void Aspect_WindowDriver_TextSize_1(TCollection_ExtendedString aText,Standard_ShortReal aWidth,Standard_ShortReal aHeight,int aFontIndex); - - public void TextSize(TCollection_ExtendedString aText,Standard_ShortReal aWidth,Standard_ShortReal aHeight,Standard_ShortReal anXoffset,Standard_ShortReal anYoffset,int aFontIndex) { - Aspect_WindowDriver_TextSize_2(aText,aWidth,aHeight,anXoffset,anYoffset,aFontIndex); -} - -private native void Aspect_WindowDriver_TextSize_2(TCollection_ExtendedString aText,Standard_ShortReal aWidth,Standard_ShortReal aHeight,Standard_ShortReal anXoffset,Standard_ShortReal anYoffset,int aFontIndex); - -native public Standard_CString FontSize(Standard_Real aSlant,Standard_ShortReal aSize,Standard_ShortReal aBheight,int aFontIndex); -native public void ColorBoundIndexs(Standard_Integer aMinIndex,Standard_Integer aMaxIndex); -native public int LocalColorIndex(int anIndex); -native public void FontBoundIndexs(Standard_Integer aMinIndex,Standard_Integer aMaxIndex); -native public int LocalFontIndex(int anIndex); -native public void TypeBoundIndexs(Standard_Integer aMinIndex,Standard_Integer aMaxIndex); -native public int LocalTypeIndex(int anIndex); -native public void WidthBoundIndexs(Standard_Integer aMinIndex,Standard_Integer aMaxIndex); -native public int LocalWidthIndex(int anIndex); -native public void MarkBoundIndexs(Standard_Integer aMinIndex,Standard_Integer aMaxIndex); -native public int LocalMarkIndex(int anIndex); -public Aspect_WindowDriver() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Bnd_Box.java b/samples/java/java/CASCADESamplesJni/Bnd_Box.java deleted file mode 100755 index 8fe0fe1eb3..0000000000 --- a/samples/java/java/CASCADESamplesJni/Bnd_Box.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - - -public class Bnd_Box extends jcas.Object { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Bnd_Box() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/Geom_Transformation.java b/samples/java/java/CASCADESamplesJni/Geom_Transformation.java deleted file mode 100755 index 9bcfb600ad..0000000000 --- a/samples/java/java/CASCADESamplesJni/Geom_Transformation.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class Geom_Transformation extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Geom_Transformation() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Graphic2d_DisplayList.java b/samples/java/java/CASCADESamplesJni/Graphic2d_DisplayList.java deleted file mode 100755 index ace05573ff..0000000000 --- a/samples/java/java/CASCADESamplesJni/Graphic2d_DisplayList.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class Graphic2d_DisplayList extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Graphic2d_DisplayList() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Graphic2d_GraphicObject.java b/samples/java/java/CASCADESamplesJni/Graphic2d_GraphicObject.java deleted file mode 100755 index 67d7f117dc..0000000000 --- a/samples/java/java/CASCADESamplesJni/Graphic2d_GraphicObject.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class Graphic2d_GraphicObject extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Graphic2d_GraphicObject() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Graphic2d_PickMode.java b/samples/java/java/CASCADESamplesJni/Graphic2d_PickMode.java deleted file mode 100755 index b6c0d07af7..0000000000 --- a/samples/java/java/CASCADESamplesJni/Graphic2d_PickMode.java +++ /dev/null @@ -1,28 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class Graphic2d_PickMode extends jcas.Standard_Enumeration { - -public final static short Graphic2d_PM_INCLUDE = 0; -public final static short Graphic2d_PM_EXCLUDE = 1; -public final static short Graphic2d_PM_INTERSECT = 2; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Graphic2d_View.java b/samples/java/java/CASCADESamplesJni/Graphic2d_View.java deleted file mode 100755 index 0f9e0bd4c7..0000000000 --- a/samples/java/java/CASCADESamplesJni/Graphic2d_View.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class Graphic2d_View extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Graphic2d_View() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Graphic3d_AspectMarker3d.java b/samples/java/java/CASCADESamplesJni/Graphic3d_AspectMarker3d.java deleted file mode 100755 index d41831104e..0000000000 --- a/samples/java/java/CASCADESamplesJni/Graphic3d_AspectMarker3d.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class Graphic3d_AspectMarker3d extends CASCADESamplesJni.Aspect_AspectMarker { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Graphic3d_AspectMarker3d() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Graphic3d_DataStructureManager.java b/samples/java/java/CASCADESamplesJni/Graphic3d_DataStructureManager.java deleted file mode 100755 index 5abc2d488c..0000000000 --- a/samples/java/java/CASCADESamplesJni/Graphic3d_DataStructureManager.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class Graphic3d_DataStructureManager extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Graphic3d_DataStructureManager() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Graphic3d_MaterialAspect.java b/samples/java/java/CASCADESamplesJni/Graphic3d_MaterialAspect.java deleted file mode 100755 index 05258b80a3..0000000000 --- a/samples/java/java/CASCADESamplesJni/Graphic3d_MaterialAspect.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - - -public class Graphic3d_MaterialAspect extends jcas.Object { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Graphic3d_MaterialAspect() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/Graphic3d_NameOfMaterial.java b/samples/java/java/CASCADESamplesJni/Graphic3d_NameOfMaterial.java deleted file mode 100755 index db5799f4dc..0000000000 --- a/samples/java/java/CASCADESamplesJni/Graphic3d_NameOfMaterial.java +++ /dev/null @@ -1,45 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class Graphic3d_NameOfMaterial extends jcas.Standard_Enumeration { - -public final static short Graphic3d_NOM_BRASS = 0; -public final static short Graphic3d_NOM_BRONZE = 1; -public final static short Graphic3d_NOM_COPPER = 2; -public final static short Graphic3d_NOM_GOLD = 3; -public final static short Graphic3d_NOM_PEWTER = 4; -public final static short Graphic3d_NOM_PLASTER = 5; -public final static short Graphic3d_NOM_PLASTIC = 6; -public final static short Graphic3d_NOM_SILVER = 7; -public final static short Graphic3d_NOM_STEEL = 8; -public final static short Graphic3d_NOM_STONE = 9; -public final static short Graphic3d_NOM_SHINY_PLASTIC = 10; -public final static short Graphic3d_NOM_SATIN = 11; -public final static short Graphic3d_NOM_METALIZED = 12; -public final static short Graphic3d_NOM_NEON_GNC = 13; -public final static short Graphic3d_NOM_CHROME = 14; -public final static short Graphic3d_NOM_ALUMINIUM = 15; -public final static short Graphic3d_NOM_OBSIDIAN = 16; -public final static short Graphic3d_NOM_NEON_PHC = 17; -public final static short Graphic3d_NOM_JADE = 18; -public final static short Graphic3d_NOM_DEFAULT = 19; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Graphic3d_Plotter.java b/samples/java/java/CASCADESamplesJni/Graphic3d_Plotter.java deleted file mode 100755 index 9f1f7fa3e1..0000000000 --- a/samples/java/java/CASCADESamplesJni/Graphic3d_Plotter.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class Graphic3d_Plotter extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Graphic3d_Plotter() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Graphic3d_Structure.java b/samples/java/java/CASCADESamplesJni/Graphic3d_Structure.java deleted file mode 100755 index b2c4cf5197..0000000000 --- a/samples/java/java/CASCADESamplesJni/Graphic3d_Structure.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class Graphic3d_Structure extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Graphic3d_Structure() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Graphic3d_StructureManager.java b/samples/java/java/CASCADESamplesJni/Graphic3d_StructureManager.java deleted file mode 100755 index edf71ce22d..0000000000 --- a/samples/java/java/CASCADESamplesJni/Graphic3d_StructureManager.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class Graphic3d_StructureManager extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Graphic3d_StructureManager() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Graphic3d_TextureEnv.java b/samples/java/java/CASCADESamplesJni/Graphic3d_TextureEnv.java deleted file mode 100755 index 51f1638d97..0000000000 --- a/samples/java/java/CASCADESamplesJni/Graphic3d_TextureEnv.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class Graphic3d_TextureEnv extends CASCADESamplesJni.Graphic3d_TextureRoot { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Graphic3d_TextureEnv() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Graphic3d_TextureRoot.java b/samples/java/java/CASCADESamplesJni/Graphic3d_TextureRoot.java deleted file mode 100755 index 72c6118574..0000000000 --- a/samples/java/java/CASCADESamplesJni/Graphic3d_TextureRoot.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class Graphic3d_TextureRoot extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Graphic3d_TextureRoot() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Graphic3d_Vector.java b/samples/java/java/CASCADESamplesJni/Graphic3d_Vector.java deleted file mode 100755 index 8c1508b031..0000000000 --- a/samples/java/java/CASCADESamplesJni/Graphic3d_Vector.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - - -public class Graphic3d_Vector extends jcas.Object { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Graphic3d_Vector() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/Graphic3d_Vertex.java b/samples/java/java/CASCADESamplesJni/Graphic3d_Vertex.java deleted file mode 100755 index 5110f5c581..0000000000 --- a/samples/java/java/CASCADESamplesJni/Graphic3d_Vertex.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - - -public class Graphic3d_Vertex extends jcas.Object { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Graphic3d_Vertex() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/ISession2D_InteractiveContext.java b/samples/java/java/CASCADESamplesJni/ISession2D_InteractiveContext.java deleted file mode 100755 index 49d4ef133c..0000000000 --- a/samples/java/java/CASCADESamplesJni/ISession2D_InteractiveContext.java +++ /dev/null @@ -1,86 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; -import CASCADESamplesJni.V2d_Viewer; -import CASCADESamplesJni.AIS_InteractiveObject; -import jcas.Standard_Boolean; -import jcas.Standard_Integer; -import CASCADESamplesJni.V2d_View; - - -public class ISession2D_InteractiveContext extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public ISession2D_InteractiveContext() { - ISession2D_InteractiveContext_Create_1(); -} - -private final native void ISession2D_InteractiveContext_Create_1(); - -public ISession2D_InteractiveContext(V2d_Viewer aViewer) { - ISession2D_InteractiveContext_Create_2(aViewer); -} - -private final native void ISession2D_InteractiveContext_Create_2(V2d_Viewer aViewer); - -native public void Initialize(V2d_Viewer aViewer); - public void Display(AIS_InteractiveObject anObject,boolean Redraw) { - ISession2D_InteractiveContext_Display_1(anObject,Redraw); -} - -private native void ISession2D_InteractiveContext_Display_1(AIS_InteractiveObject anObject,boolean Redraw); - -final public void Display(AIS_InteractiveObject anObject,int aDisplayMode,int aSelectionMode,boolean Redraw) { - ISession2D_InteractiveContext_Display_2(anObject,aDisplayMode,aSelectionMode,Redraw); -} - -private final native void ISession2D_InteractiveContext_Display_2(AIS_InteractiveObject anObject,int aDisplayMode,int aSelectionMode,boolean Redraw); - -native public void Erase(AIS_InteractiveObject anObject,boolean Redraw); -native public void DisplayAll(boolean Redraw); -native public void EraseAll(boolean Redraw); -native public boolean IsDisplayed(AIS_InteractiveObject anObject,int aMode); -native public void Redisplay(AIS_InteractiveObject anObject,boolean Redraw,boolean allmodes); -native public void Clear(AIS_InteractiveObject anObject,boolean Redraw); -native public void Remove(AIS_InteractiveObject anObject,boolean Redraw); -native public void Highlight(AIS_InteractiveObject anObject,boolean Redraw); -native public void Unhighlight(AIS_InteractiveObject anObject,boolean Redraw); -native public boolean IsHilighted(AIS_InteractiveObject anObject); - public void Move(int x1,int y1,V2d_View aView) { - ISession2D_InteractiveContext_Move_1(x1,y1,aView); -} - -private native void ISession2D_InteractiveContext_Move_1(int x1,int y1,V2d_View aView); - - public void Move(int x1,int y1,int x2,int y2,V2d_View aView) { - ISession2D_InteractiveContext_Move_2(x1,y1,x2,y2,aView); -} - -private native void ISession2D_InteractiveContext_Move_2(int x1,int y1,int x2,int y2,V2d_View aView); - -native public void Pick(boolean MultiSelection); -native public final void DisplayAreas(); -native public final void ClearAreas(); - - - -} diff --git a/samples/java/java/CASCADESamplesJni/MMgt_TShared.java b/samples/java/java/CASCADESamplesJni/MMgt_TShared.java deleted file mode 100755 index cde602804e..0000000000 --- a/samples/java/java/CASCADESamplesJni/MMgt_TShared.java +++ /dev/null @@ -1,28 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; -import CASCADESamplesJni.Standard_Transient; - -public class MMgt_TShared extends CASCADESamplesJni.Standard_Transient { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -} diff --git a/samples/java/java/CASCADESamplesJni/PlotMgt_PlotterDriver.java b/samples/java/java/CASCADESamplesJni/PlotMgt_PlotterDriver.java deleted file mode 100755 index 9c40164190..0000000000 --- a/samples/java/java/CASCADESamplesJni/PlotMgt_PlotterDriver.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class PlotMgt_PlotterDriver extends CASCADESamplesJni.Aspect_Driver { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public PlotMgt_PlotterDriver() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Prs3d_BasicAspect.java b/samples/java/java/CASCADESamplesJni/Prs3d_BasicAspect.java deleted file mode 100755 index 4f2968cbb3..0000000000 --- a/samples/java/java/CASCADESamplesJni/Prs3d_BasicAspect.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class Prs3d_BasicAspect extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Prs3d_BasicAspect() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Prs3d_Drawer.java b/samples/java/java/CASCADESamplesJni/Prs3d_Drawer.java deleted file mode 100755 index deb2257bf7..0000000000 --- a/samples/java/java/CASCADESamplesJni/Prs3d_Drawer.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class Prs3d_Drawer extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Prs3d_Drawer() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Prs3d_LineAspect.java b/samples/java/java/CASCADESamplesJni/Prs3d_LineAspect.java deleted file mode 100755 index fdbe78eb12..0000000000 --- a/samples/java/java/CASCADESamplesJni/Prs3d_LineAspect.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class Prs3d_LineAspect extends CASCADESamplesJni.Prs3d_BasicAspect { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Prs3d_LineAspect() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Prs3d_Presentation.java b/samples/java/java/CASCADESamplesJni/Prs3d_Presentation.java deleted file mode 100755 index 09477890f6..0000000000 --- a/samples/java/java/CASCADESamplesJni/Prs3d_Presentation.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class Prs3d_Presentation extends CASCADESamplesJni.Graphic3d_Structure { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Prs3d_Presentation() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Prs3d_Projector.java b/samples/java/java/CASCADESamplesJni/Prs3d_Projector.java deleted file mode 100755 index e13a209c72..0000000000 --- a/samples/java/java/CASCADESamplesJni/Prs3d_Projector.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class Prs3d_Projector extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Prs3d_Projector() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/PrsMgr_PresentableObject.java b/samples/java/java/CASCADESamplesJni/PrsMgr_PresentableObject.java deleted file mode 100755 index affd1ec2b6..0000000000 --- a/samples/java/java/CASCADESamplesJni/PrsMgr_PresentableObject.java +++ /dev/null @@ -1,72 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; -import CASCADESamplesJni.PrsMgr_TypeOfPresentation3d; -import jcas.Standard_Short; -import jcas.Standard_Integer; -import CASCADESamplesJni.TColStd_ListOfInteger; -import CASCADESamplesJni.TopLoc_Location; -import jcas.Standard_Boolean; -import CASCADESamplesJni.Prs3d_Presentation; - - -public class PrsMgr_PresentableObject extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -native public final short TypeOfPresentation3d(); -native public final void SetTypeOfPresentation(short aType); -final public void SetToUpdate(int aMode) { - PrsMgr_PresentableObject_SetToUpdate_1(aMode); -} - -private final native void PrsMgr_PresentableObject_SetToUpdate_1(int aMode); - -final public void SetToUpdate() { - PrsMgr_PresentableObject_SetToUpdate_2(); -} - -private final native void PrsMgr_PresentableObject_SetToUpdate_2(); - -native public final void ToBeUpdated(TColStd_ListOfInteger ListOfMode); -native public void SetLocation(TopLoc_Location aLoc); -native public final boolean HasLocation(); -native public final TopLoc_Location Location(); -native public void ResetLocation(); - public void UpdateLocation() { - PrsMgr_PresentableObject_UpdateLocation_1(); -} - -private native void PrsMgr_PresentableObject_UpdateLocation_1(); - - public void UpdateLocation(Prs3d_Presentation P) { - PrsMgr_PresentableObject_UpdateLocation_2(P); -} - -private native void PrsMgr_PresentableObject_UpdateLocation_2(Prs3d_Presentation P); - -public PrsMgr_PresentableObject() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/PrsMgr_Presentation.java b/samples/java/java/CASCADESamplesJni/PrsMgr_Presentation.java deleted file mode 100755 index 30b3680f62..0000000000 --- a/samples/java/java/CASCADESamplesJni/PrsMgr_Presentation.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - - -public class PrsMgr_Presentation extends jcas.Object { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public PrsMgr_Presentation() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/PrsMgr_PresentationManager.java b/samples/java/java/CASCADESamplesJni/PrsMgr_PresentationManager.java deleted file mode 100755 index d7a743dc0a..0000000000 --- a/samples/java/java/CASCADESamplesJni/PrsMgr_PresentationManager.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class PrsMgr_PresentationManager extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public PrsMgr_PresentationManager() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/PrsMgr_PresentationManager2d.java b/samples/java/java/CASCADESamplesJni/PrsMgr_PresentationManager2d.java deleted file mode 100755 index 7b840e2968..0000000000 --- a/samples/java/java/CASCADESamplesJni/PrsMgr_PresentationManager2d.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class PrsMgr_PresentationManager2d extends CASCADESamplesJni.PrsMgr_PresentationManager { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public PrsMgr_PresentationManager2d() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/PrsMgr_PresentationManager3d.java b/samples/java/java/CASCADESamplesJni/PrsMgr_PresentationManager3d.java deleted file mode 100755 index 22e492e514..0000000000 --- a/samples/java/java/CASCADESamplesJni/PrsMgr_PresentationManager3d.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class PrsMgr_PresentationManager3d extends CASCADESamplesJni.PrsMgr_PresentationManager { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public PrsMgr_PresentationManager3d() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/PrsMgr_Presentations.java b/samples/java/java/CASCADESamplesJni/PrsMgr_Presentations.java deleted file mode 100755 index 673ac1b716..0000000000 --- a/samples/java/java/CASCADESamplesJni/PrsMgr_Presentations.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - - -public class PrsMgr_Presentations extends CASCADESamplesJni.TCollection_BaseSequence { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public PrsMgr_Presentations() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/PrsMgr_TypeOfPresentation3d.java b/samples/java/java/CASCADESamplesJni/PrsMgr_TypeOfPresentation3d.java deleted file mode 100755 index 58c7afd161..0000000000 --- a/samples/java/java/CASCADESamplesJni/PrsMgr_TypeOfPresentation3d.java +++ /dev/null @@ -1,27 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class PrsMgr_TypeOfPresentation3d extends jcas.Standard_Enumeration { - -public final static short PrsMgr_TOP_AllView = 0; -public final static short PrsMgr_TOP_ProjectorDependant = 1; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Quantity_Color.java b/samples/java/java/CASCADESamplesJni/Quantity_Color.java deleted file mode 100755 index 125be374c7..0000000000 --- a/samples/java/java/CASCADESamplesJni/Quantity_Color.java +++ /dev/null @@ -1,108 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import CASCADESamplesJni.Standard_Storable; -import CASCADESamplesJni.Quantity_NameOfColor; -import jcas.Standard_Short; -import jcas.Standard_Real; -import CASCADESamplesJni.Quantity_TypeOfColor; -import jcas.Standard_Boolean; -import jcas.Standard_CString; - - -public class Quantity_Color extends CASCADESamplesJni.Standard_Storable { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Quantity_Color() { - Quantity_Color_Create_1(); -} - -private final native void Quantity_Color_Create_1(); - -public Quantity_Color(short AName) { - Quantity_Color_Create_2(AName); -} - -private final native void Quantity_Color_Create_2(short AName); - -public Quantity_Color(double R1,double R2,double R3,short AType) { - Quantity_Color_Create_3(R1,R2,R3,AType); -} - -private final native void Quantity_Color_Create_3(double R1,double R2,double R3,short AType); - -native public final Quantity_Color Assign(Quantity_Color Other); -native public final void ChangeContrast(double ADelta); -native public final void ChangeIntensity(double ADelta); -final public void SetValues(short AName) { - Quantity_Color_SetValues_1(AName); -} - -private final native void Quantity_Color_SetValues_1(short AName); - -final public void SetValues(double R1,double R2,double R3,short AType) { - Quantity_Color_SetValues_2(R1,R2,R3,AType); -} - -private final native void Quantity_Color_SetValues_2(double R1,double R2,double R3,short AType); - -native public final void Delta(Quantity_Color AColor,Standard_Real DC,Standard_Real DI); -native public final double Distance(Quantity_Color AColor); -native public final double SquareDistance(Quantity_Color AColor); -native public final double Blue(); -native public final double Green(); -native public final double Hue(); -native public final boolean IsDifferent(Quantity_Color Other); -native public final boolean IsEqual(Quantity_Color Other); -native public final double Light(); -final public short Name() { - return Quantity_Color_Name_1(); -} - -private final native short Quantity_Color_Name_1(); - -native public final double Red(); -native public final double Saturation(); -native public final void Values(Standard_Real R1,Standard_Real R2,Standard_Real R3,short AType); -native public static void SetEpsilon(double AnEpsilon); -native public static double Epsilon(); -static public short Name(double R,double G,double B) { - return Quantity_Color_Name_2(R,G,B); -} - -private static native short Quantity_Color_Name_2(double R,double G,double B); - -native public static Standard_CString StringName(short AColor); -native public static void HlsRgb(double H,double L,double S,Standard_Real R,Standard_Real G,Standard_Real B); -native public static void RgbHls(double R,double G,double B,Standard_Real H,Standard_Real L,Standard_Real S); -native public static void Test(); - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/Quantity_NameOfColor.java b/samples/java/java/CASCADESamplesJni/Quantity_NameOfColor.java deleted file mode 100755 index 1fd959249b..0000000000 --- a/samples/java/java/CASCADESamplesJni/Quantity_NameOfColor.java +++ /dev/null @@ -1,542 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class Quantity_NameOfColor extends jcas.Standard_Enumeration { - -public final static short Quantity_NOC_BLACK = 0; -public final static short Quantity_NOC_MATRABLUE = 1; -public final static short Quantity_NOC_MATRAGRAY = 2; -public final static short Quantity_NOC_ALICEBLUE = 3; -public final static short Quantity_NOC_ANTIQUEWHITE = 4; -public final static short Quantity_NOC_ANTIQUEWHITE1 = 5; -public final static short Quantity_NOC_ANTIQUEWHITE2 = 6; -public final static short Quantity_NOC_ANTIQUEWHITE3 = 7; -public final static short Quantity_NOC_ANTIQUEWHITE4 = 8; -public final static short Quantity_NOC_AQUAMARINE1 = 9; -public final static short Quantity_NOC_AQUAMARINE2 = 10; -public final static short Quantity_NOC_AQUAMARINE4 = 11; -public final static short Quantity_NOC_AZURE = 12; -public final static short Quantity_NOC_AZURE2 = 13; -public final static short Quantity_NOC_AZURE3 = 14; -public final static short Quantity_NOC_AZURE4 = 15; -public final static short Quantity_NOC_BEIGE = 16; -public final static short Quantity_NOC_BISQUE = 17; -public final static short Quantity_NOC_BISQUE2 = 18; -public final static short Quantity_NOC_BISQUE3 = 19; -public final static short Quantity_NOC_BISQUE4 = 20; -public final static short Quantity_NOC_BLANCHEDALMOND = 21; -public final static short Quantity_NOC_BLUE1 = 22; -public final static short Quantity_NOC_BLUE2 = 23; -public final static short Quantity_NOC_BLUE3 = 24; -public final static short Quantity_NOC_BLUE4 = 25; -public final static short Quantity_NOC_BLUEVIOLET = 26; -public final static short Quantity_NOC_BROWN = 27; -public final static short Quantity_NOC_BROWN1 = 28; -public final static short Quantity_NOC_BROWN2 = 29; -public final static short Quantity_NOC_BROWN3 = 30; -public final static short Quantity_NOC_BROWN4 = 31; -public final static short Quantity_NOC_BURLYWOOD = 32; -public final static short Quantity_NOC_BURLYWOOD1 = 33; -public final static short Quantity_NOC_BURLYWOOD2 = 34; -public final static short Quantity_NOC_BURLYWOOD3 = 35; -public final static short Quantity_NOC_BURLYWOOD4 = 36; -public final static short Quantity_NOC_CADETBLUE = 37; -public final static short Quantity_NOC_CADETBLUE1 = 38; -public final static short Quantity_NOC_CADETBLUE2 = 39; -public final static short Quantity_NOC_CADETBLUE3 = 40; -public final static short Quantity_NOC_CADETBLUE4 = 41; -public final static short Quantity_NOC_CHARTREUSE = 42; -public final static short Quantity_NOC_CHARTREUSE1 = 43; -public final static short Quantity_NOC_CHARTREUSE2 = 44; -public final static short Quantity_NOC_CHARTREUSE3 = 45; -public final static short Quantity_NOC_CHARTREUSE4 = 46; -public final static short Quantity_NOC_CHOCOLATE = 47; -public final static short Quantity_NOC_CHOCOLATE1 = 48; -public final static short Quantity_NOC_CHOCOLATE2 = 49; -public final static short Quantity_NOC_CHOCOLATE3 = 50; -public final static short Quantity_NOC_CHOCOLATE4 = 51; -public final static short Quantity_NOC_CORAL = 52; -public final static short Quantity_NOC_CORAL1 = 53; -public final static short Quantity_NOC_CORAL2 = 54; -public final static short Quantity_NOC_CORAL3 = 55; -public final static short Quantity_NOC_CORAL4 = 56; -public final static short Quantity_NOC_CORNFLOWERBLUE = 57; -public final static short Quantity_NOC_CORNSILK1 = 58; -public final static short Quantity_NOC_CORNSILK2 = 59; -public final static short Quantity_NOC_CORNSILK3 = 60; -public final static short Quantity_NOC_CORNSILK4 = 61; -public final static short Quantity_NOC_CYAN1 = 62; -public final static short Quantity_NOC_CYAN2 = 63; -public final static short Quantity_NOC_CYAN3 = 64; -public final static short Quantity_NOC_CYAN4 = 65; -public final static short Quantity_NOC_DARKGOLDENROD = 66; -public final static short Quantity_NOC_DARKGOLDENROD1 = 67; -public final static short Quantity_NOC_DARKGOLDENROD2 = 68; -public final static short Quantity_NOC_DARKGOLDENROD3 = 69; -public final static short Quantity_NOC_DARKGOLDENROD4 = 70; -public final static short Quantity_NOC_DARKGREEN = 71; -public final static short Quantity_NOC_DARKKHAKI = 72; -public final static short Quantity_NOC_DARKOLIVEGREEN = 73; -public final static short Quantity_NOC_DARKOLIVEGREEN1 = 74; -public final static short Quantity_NOC_DARKOLIVEGREEN2 = 75; -public final static short Quantity_NOC_DARKOLIVEGREEN3 = 76; -public final static short Quantity_NOC_DARKOLIVEGREEN4 = 77; -public final static short Quantity_NOC_DARKORANGE = 78; -public final static short Quantity_NOC_DARKORANGE1 = 79; -public final static short Quantity_NOC_DARKORANGE2 = 80; -public final static short Quantity_NOC_DARKORANGE3 = 81; -public final static short Quantity_NOC_DARKORANGE4 = 82; -public final static short Quantity_NOC_DARKORCHID = 83; -public final static short Quantity_NOC_DARKORCHID1 = 84; -public final static short Quantity_NOC_DARKORCHID2 = 85; -public final static short Quantity_NOC_DARKORCHID3 = 86; -public final static short Quantity_NOC_DARKORCHID4 = 87; -public final static short Quantity_NOC_DARKSALMON = 88; -public final static short Quantity_NOC_DARKSEAGREEN = 89; -public final static short Quantity_NOC_DARKSEAGREEN1 = 90; -public final static short Quantity_NOC_DARKSEAGREEN2 = 91; -public final static short Quantity_NOC_DARKSEAGREEN3 = 92; -public final static short Quantity_NOC_DARKSEAGREEN4 = 93; -public final static short Quantity_NOC_DARKSLATEBLUE = 94; -public final static short Quantity_NOC_DARKSLATEGRAY1 = 95; -public final static short Quantity_NOC_DARKSLATEGRAY2 = 96; -public final static short Quantity_NOC_DARKSLATEGRAY3 = 97; -public final static short Quantity_NOC_DARKSLATEGRAY4 = 98; -public final static short Quantity_NOC_DARKSLATEGRAY = 99; -public final static short Quantity_NOC_DARKTURQUOISE = 100; -public final static short Quantity_NOC_DARKVIOLET = 101; -public final static short Quantity_NOC_DEEPPINK = 102; -public final static short Quantity_NOC_DEEPPINK2 = 103; -public final static short Quantity_NOC_DEEPPINK3 = 104; -public final static short Quantity_NOC_DEEPPINK4 = 105; -public final static short Quantity_NOC_DEEPSKYBLUE1 = 106; -public final static short Quantity_NOC_DEEPSKYBLUE2 = 107; -public final static short Quantity_NOC_DEEPSKYBLUE3 = 108; -public final static short Quantity_NOC_DEEPSKYBLUE4 = 109; -public final static short Quantity_NOC_DODGERBLUE1 = 110; -public final static short Quantity_NOC_DODGERBLUE2 = 111; -public final static short Quantity_NOC_DODGERBLUE3 = 112; -public final static short Quantity_NOC_DODGERBLUE4 = 113; -public final static short Quantity_NOC_FIREBRICK = 114; -public final static short Quantity_NOC_FIREBRICK1 = 115; -public final static short Quantity_NOC_FIREBRICK2 = 116; -public final static short Quantity_NOC_FIREBRICK3 = 117; -public final static short Quantity_NOC_FIREBRICK4 = 118; -public final static short Quantity_NOC_FLORALWHITE = 119; -public final static short Quantity_NOC_FORESTGREEN = 120; -public final static short Quantity_NOC_GAINSBORO = 121; -public final static short Quantity_NOC_GHOSTWHITE = 122; -public final static short Quantity_NOC_GOLD = 123; -public final static short Quantity_NOC_GOLD1 = 124; -public final static short Quantity_NOC_GOLD2 = 125; -public final static short Quantity_NOC_GOLD3 = 126; -public final static short Quantity_NOC_GOLD4 = 127; -public final static short Quantity_NOC_GOLDENROD = 128; -public final static short Quantity_NOC_GOLDENROD1 = 129; -public final static short Quantity_NOC_GOLDENROD2 = 130; -public final static short Quantity_NOC_GOLDENROD3 = 131; -public final static short Quantity_NOC_GOLDENROD4 = 132; -public final static short Quantity_NOC_GRAY = 133; -public final static short Quantity_NOC_GRAY0 = 134; -public final static short Quantity_NOC_GRAY1 = 135; -public final static short Quantity_NOC_GRAY10 = 136; -public final static short Quantity_NOC_GRAY11 = 137; -public final static short Quantity_NOC_GRAY12 = 138; -public final static short Quantity_NOC_GRAY13 = 139; -public final static short Quantity_NOC_GRAY14 = 140; -public final static short Quantity_NOC_GRAY15 = 141; -public final static short Quantity_NOC_GRAY16 = 142; -public final static short Quantity_NOC_GRAY17 = 143; -public final static short Quantity_NOC_GRAY18 = 144; -public final static short Quantity_NOC_GRAY19 = 145; -public final static short Quantity_NOC_GRAY2 = 146; -public final static short Quantity_NOC_GRAY20 = 147; -public final static short Quantity_NOC_GRAY21 = 148; -public final static short Quantity_NOC_GRAY22 = 149; -public final static short Quantity_NOC_GRAY23 = 150; -public final static short Quantity_NOC_GRAY24 = 151; -public final static short Quantity_NOC_GRAY25 = 152; -public final static short Quantity_NOC_GRAY26 = 153; -public final static short Quantity_NOC_GRAY27 = 154; -public final static short Quantity_NOC_GRAY28 = 155; -public final static short Quantity_NOC_GRAY29 = 156; -public final static short Quantity_NOC_GRAY3 = 157; -public final static short Quantity_NOC_GRAY30 = 158; -public final static short Quantity_NOC_GRAY31 = 159; -public final static short Quantity_NOC_GRAY32 = 160; -public final static short Quantity_NOC_GRAY33 = 161; -public final static short Quantity_NOC_GRAY34 = 162; -public final static short Quantity_NOC_GRAY35 = 163; -public final static short Quantity_NOC_GRAY36 = 164; -public final static short Quantity_NOC_GRAY37 = 165; -public final static short Quantity_NOC_GRAY38 = 166; -public final static short Quantity_NOC_GRAY39 = 167; -public final static short Quantity_NOC_GRAY4 = 168; -public final static short Quantity_NOC_GRAY40 = 169; -public final static short Quantity_NOC_GRAY41 = 170; -public final static short Quantity_NOC_GRAY42 = 171; -public final static short Quantity_NOC_GRAY43 = 172; -public final static short Quantity_NOC_GRAY44 = 173; -public final static short Quantity_NOC_GRAY45 = 174; -public final static short Quantity_NOC_GRAY46 = 175; -public final static short Quantity_NOC_GRAY47 = 176; -public final static short Quantity_NOC_GRAY48 = 177; -public final static short Quantity_NOC_GRAY49 = 178; -public final static short Quantity_NOC_GRAY5 = 179; -public final static short Quantity_NOC_GRAY50 = 180; -public final static short Quantity_NOC_GRAY51 = 181; -public final static short Quantity_NOC_GRAY52 = 182; -public final static short Quantity_NOC_GRAY53 = 183; -public final static short Quantity_NOC_GRAY54 = 184; -public final static short Quantity_NOC_GRAY55 = 185; -public final static short Quantity_NOC_GRAY56 = 186; -public final static short Quantity_NOC_GRAY57 = 187; -public final static short Quantity_NOC_GRAY58 = 188; -public final static short Quantity_NOC_GRAY59 = 189; -public final static short Quantity_NOC_GRAY6 = 190; -public final static short Quantity_NOC_GRAY60 = 191; -public final static short Quantity_NOC_GRAY61 = 192; -public final static short Quantity_NOC_GRAY62 = 193; -public final static short Quantity_NOC_GRAY63 = 194; -public final static short Quantity_NOC_GRAY64 = 195; -public final static short Quantity_NOC_GRAY65 = 196; -public final static short Quantity_NOC_GRAY66 = 197; -public final static short Quantity_NOC_GRAY67 = 198; -public final static short Quantity_NOC_GRAY68 = 199; -public final static short Quantity_NOC_GRAY69 = 200; -public final static short Quantity_NOC_GRAY7 = 201; -public final static short Quantity_NOC_GRAY70 = 202; -public final static short Quantity_NOC_GRAY71 = 203; -public final static short Quantity_NOC_GRAY72 = 204; -public final static short Quantity_NOC_GRAY73 = 205; -public final static short Quantity_NOC_GRAY74 = 206; -public final static short Quantity_NOC_GRAY75 = 207; -public final static short Quantity_NOC_GRAY76 = 208; -public final static short Quantity_NOC_GRAY77 = 209; -public final static short Quantity_NOC_GRAY78 = 210; -public final static short Quantity_NOC_GRAY79 = 211; -public final static short Quantity_NOC_GRAY8 = 212; -public final static short Quantity_NOC_GRAY80 = 213; -public final static short Quantity_NOC_GRAY81 = 214; -public final static short Quantity_NOC_GRAY82 = 215; -public final static short Quantity_NOC_GRAY83 = 216; -public final static short Quantity_NOC_GRAY85 = 217; -public final static short Quantity_NOC_GRAY86 = 218; -public final static short Quantity_NOC_GRAY87 = 219; -public final static short Quantity_NOC_GRAY88 = 220; -public final static short Quantity_NOC_GRAY89 = 221; -public final static short Quantity_NOC_GRAY9 = 222; -public final static short Quantity_NOC_GRAY90 = 223; -public final static short Quantity_NOC_GRAY91 = 224; -public final static short Quantity_NOC_GRAY92 = 225; -public final static short Quantity_NOC_GRAY93 = 226; -public final static short Quantity_NOC_GRAY94 = 227; -public final static short Quantity_NOC_GRAY95 = 228; -public final static short Quantity_NOC_GREEN = 229; -public final static short Quantity_NOC_GREEN1 = 230; -public final static short Quantity_NOC_GREEN2 = 231; -public final static short Quantity_NOC_GREEN3 = 232; -public final static short Quantity_NOC_GREEN4 = 233; -public final static short Quantity_NOC_GREENYELLOW = 234; -public final static short Quantity_NOC_GRAY97 = 235; -public final static short Quantity_NOC_GRAY98 = 236; -public final static short Quantity_NOC_GRAY99 = 237; -public final static short Quantity_NOC_HONEYDEW = 238; -public final static short Quantity_NOC_HONEYDEW2 = 239; -public final static short Quantity_NOC_HONEYDEW3 = 240; -public final static short Quantity_NOC_HONEYDEW4 = 241; -public final static short Quantity_NOC_HOTPINK = 242; -public final static short Quantity_NOC_HOTPINK1 = 243; -public final static short Quantity_NOC_HOTPINK2 = 244; -public final static short Quantity_NOC_HOTPINK3 = 245; -public final static short Quantity_NOC_HOTPINK4 = 246; -public final static short Quantity_NOC_INDIANRED = 247; -public final static short Quantity_NOC_INDIANRED1 = 248; -public final static short Quantity_NOC_INDIANRED2 = 249; -public final static short Quantity_NOC_INDIANRED3 = 250; -public final static short Quantity_NOC_INDIANRED4 = 251; -public final static short Quantity_NOC_IVORY = 252; -public final static short Quantity_NOC_IVORY2 = 253; -public final static short Quantity_NOC_IVORY3 = 254; -public final static short Quantity_NOC_IVORY4 = 255; -public final static short Quantity_NOC_KHAKI = 256; -public final static short Quantity_NOC_KHAKI1 = 257; -public final static short Quantity_NOC_KHAKI2 = 258; -public final static short Quantity_NOC_KHAKI3 = 259; -public final static short Quantity_NOC_KHAKI4 = 260; -public final static short Quantity_NOC_LAVENDER = 261; -public final static short Quantity_NOC_LAVENDERBLUSH1 = 262; -public final static short Quantity_NOC_LAVENDERBLUSH2 = 263; -public final static short Quantity_NOC_LAVENDERBLUSH3 = 264; -public final static short Quantity_NOC_LAVENDERBLUSH4 = 265; -public final static short Quantity_NOC_LAWNGREEN = 266; -public final static short Quantity_NOC_LEMONCHIFFON1 = 267; -public final static short Quantity_NOC_LEMONCHIFFON2 = 268; -public final static short Quantity_NOC_LEMONCHIFFON3 = 269; -public final static short Quantity_NOC_LEMONCHIFFON4 = 270; -public final static short Quantity_NOC_LIGHTBLUE = 271; -public final static short Quantity_NOC_LIGHTBLUE1 = 272; -public final static short Quantity_NOC_LIGHTBLUE2 = 273; -public final static short Quantity_NOC_LIGHTBLUE3 = 274; -public final static short Quantity_NOC_LIGHTBLUE4 = 275; -public final static short Quantity_NOC_LIGHTCORAL = 276; -public final static short Quantity_NOC_LIGHTCYAN1 = 277; -public final static short Quantity_NOC_LIGHTCYAN2 = 278; -public final static short Quantity_NOC_LIGHTCYAN3 = 279; -public final static short Quantity_NOC_LIGHTCYAN4 = 280; -public final static short Quantity_NOC_LIGHTGOLDENROD = 281; -public final static short Quantity_NOC_LIGHTGOLDENROD1 = 282; -public final static short Quantity_NOC_LIGHTGOLDENROD2 = 283; -public final static short Quantity_NOC_LIGHTGOLDENROD3 = 284; -public final static short Quantity_NOC_LIGHTGOLDENROD4 = 285; -public final static short Quantity_NOC_LIGHTGOLDENRODYELLOW = 286; -public final static short Quantity_NOC_LIGHTGRAY = 287; -public final static short Quantity_NOC_LIGHTPINK = 288; -public final static short Quantity_NOC_LIGHTPINK1 = 289; -public final static short Quantity_NOC_LIGHTPINK2 = 290; -public final static short Quantity_NOC_LIGHTPINK3 = 291; -public final static short Quantity_NOC_LIGHTPINK4 = 292; -public final static short Quantity_NOC_LIGHTSALMON1 = 293; -public final static short Quantity_NOC_LIGHTSALMON2 = 294; -public final static short Quantity_NOC_LIGHTSALMON3 = 295; -public final static short Quantity_NOC_LIGHTSALMON4 = 296; -public final static short Quantity_NOC_LIGHTSEAGREEN = 297; -public final static short Quantity_NOC_LIGHTSKYBLUE = 298; -public final static short Quantity_NOC_LIGHTSKYBLUE1 = 299; -public final static short Quantity_NOC_LIGHTSKYBLUE2 = 300; -public final static short Quantity_NOC_LIGHTSKYBLUE3 = 301; -public final static short Quantity_NOC_LIGHTSKYBLUE4 = 302; -public final static short Quantity_NOC_LIGHTSLATEBLUE = 303; -public final static short Quantity_NOC_LIGHTSLATEGRAY = 304; -public final static short Quantity_NOC_LIGHTSTEELBLUE = 305; -public final static short Quantity_NOC_LIGHTSTEELBLUE1 = 306; -public final static short Quantity_NOC_LIGHTSTEELBLUE2 = 307; -public final static short Quantity_NOC_LIGHTSTEELBLUE3 = 308; -public final static short Quantity_NOC_LIGHTSTEELBLUE4 = 309; -public final static short Quantity_NOC_LIGHTYELLOW = 310; -public final static short Quantity_NOC_LIGHTYELLOW2 = 311; -public final static short Quantity_NOC_LIGHTYELLOW3 = 312; -public final static short Quantity_NOC_LIGHTYELLOW4 = 313; -public final static short Quantity_NOC_LIMEGREEN = 314; -public final static short Quantity_NOC_LINEN = 315; -public final static short Quantity_NOC_MAGENTA1 = 316; -public final static short Quantity_NOC_MAGENTA2 = 317; -public final static short Quantity_NOC_MAGENTA3 = 318; -public final static short Quantity_NOC_MAGENTA4 = 319; -public final static short Quantity_NOC_MAROON = 320; -public final static short Quantity_NOC_MAROON1 = 321; -public final static short Quantity_NOC_MAROON2 = 322; -public final static short Quantity_NOC_MAROON3 = 323; -public final static short Quantity_NOC_MAROON4 = 324; -public final static short Quantity_NOC_MEDIUMAQUAMARINE = 325; -public final static short Quantity_NOC_MEDIUMORCHID = 326; -public final static short Quantity_NOC_MEDIUMORCHID1 = 327; -public final static short Quantity_NOC_MEDIUMORCHID2 = 328; -public final static short Quantity_NOC_MEDIUMORCHID3 = 329; -public final static short Quantity_NOC_MEDIUMORCHID4 = 330; -public final static short Quantity_NOC_MEDIUMPURPLE = 331; -public final static short Quantity_NOC_MEDIUMPURPLE1 = 332; -public final static short Quantity_NOC_MEDIUMPURPLE2 = 333; -public final static short Quantity_NOC_MEDIUMPURPLE3 = 334; -public final static short Quantity_NOC_MEDIUMPURPLE4 = 335; -public final static short Quantity_NOC_MEDIUMSEAGREEN = 336; -public final static short Quantity_NOC_MEDIUMSLATEBLUE = 337; -public final static short Quantity_NOC_MEDIUMSPRINGGREEN = 338; -public final static short Quantity_NOC_MEDIUMTURQUOISE = 339; -public final static short Quantity_NOC_MEDIUMVIOLETRED = 340; -public final static short Quantity_NOC_MIDNIGHTBLUE = 341; -public final static short Quantity_NOC_MINTCREAM = 342; -public final static short Quantity_NOC_MISTYROSE = 343; -public final static short Quantity_NOC_MISTYROSE2 = 344; -public final static short Quantity_NOC_MISTYROSE3 = 345; -public final static short Quantity_NOC_MISTYROSE4 = 346; -public final static short Quantity_NOC_MOCCASIN = 347; -public final static short Quantity_NOC_NAVAJOWHITE1 = 348; -public final static short Quantity_NOC_NAVAJOWHITE2 = 349; -public final static short Quantity_NOC_NAVAJOWHITE3 = 350; -public final static short Quantity_NOC_NAVAJOWHITE4 = 351; -public final static short Quantity_NOC_NAVYBLUE = 352; -public final static short Quantity_NOC_OLDLACE = 353; -public final static short Quantity_NOC_OLIVEDRAB = 354; -public final static short Quantity_NOC_OLIVEDRAB1 = 355; -public final static short Quantity_NOC_OLIVEDRAB2 = 356; -public final static short Quantity_NOC_OLIVEDRAB3 = 357; -public final static short Quantity_NOC_OLIVEDRAB4 = 358; -public final static short Quantity_NOC_ORANGE = 359; -public final static short Quantity_NOC_ORANGE1 = 360; -public final static short Quantity_NOC_ORANGE2 = 361; -public final static short Quantity_NOC_ORANGE3 = 362; -public final static short Quantity_NOC_ORANGE4 = 363; -public final static short Quantity_NOC_ORANGERED = 364; -public final static short Quantity_NOC_ORANGERED1 = 365; -public final static short Quantity_NOC_ORANGERED2 = 366; -public final static short Quantity_NOC_ORANGERED3 = 367; -public final static short Quantity_NOC_ORANGERED4 = 368; -public final static short Quantity_NOC_ORCHID = 369; -public final static short Quantity_NOC_ORCHID1 = 370; -public final static short Quantity_NOC_ORCHID2 = 371; -public final static short Quantity_NOC_ORCHID3 = 372; -public final static short Quantity_NOC_ORCHID4 = 373; -public final static short Quantity_NOC_PALEGOLDENROD = 374; -public final static short Quantity_NOC_PALEGREEN = 375; -public final static short Quantity_NOC_PALEGREEN1 = 376; -public final static short Quantity_NOC_PALEGREEN2 = 377; -public final static short Quantity_NOC_PALEGREEN3 = 378; -public final static short Quantity_NOC_PALEGREEN4 = 379; -public final static short Quantity_NOC_PALETURQUOISE = 380; -public final static short Quantity_NOC_PALETURQUOISE1 = 381; -public final static short Quantity_NOC_PALETURQUOISE2 = 382; -public final static short Quantity_NOC_PALETURQUOISE3 = 383; -public final static short Quantity_NOC_PALETURQUOISE4 = 384; -public final static short Quantity_NOC_PALEVIOLETRED = 385; -public final static short Quantity_NOC_PALEVIOLETRED1 = 386; -public final static short Quantity_NOC_PALEVIOLETRED2 = 387; -public final static short Quantity_NOC_PALEVIOLETRED3 = 388; -public final static short Quantity_NOC_PALEVIOLETRED4 = 389; -public final static short Quantity_NOC_PAPAYAWHIP = 390; -public final static short Quantity_NOC_PEACHPUFF = 391; -public final static short Quantity_NOC_PEACHPUFF2 = 392; -public final static short Quantity_NOC_PEACHPUFF3 = 393; -public final static short Quantity_NOC_PEACHPUFF4 = 394; -public final static short Quantity_NOC_PERU = 395; -public final static short Quantity_NOC_PINK = 396; -public final static short Quantity_NOC_PINK1 = 397; -public final static short Quantity_NOC_PINK2 = 398; -public final static short Quantity_NOC_PINK3 = 399; -public final static short Quantity_NOC_PINK4 = 400; -public final static short Quantity_NOC_PLUM = 401; -public final static short Quantity_NOC_PLUM1 = 402; -public final static short Quantity_NOC_PLUM2 = 403; -public final static short Quantity_NOC_PLUM3 = 404; -public final static short Quantity_NOC_PLUM4 = 405; -public final static short Quantity_NOC_POWDERBLUE = 406; -public final static short Quantity_NOC_PURPLE = 407; -public final static short Quantity_NOC_PURPLE1 = 408; -public final static short Quantity_NOC_PURPLE2 = 409; -public final static short Quantity_NOC_PURPLE3 = 410; -public final static short Quantity_NOC_PURPLE4 = 411; -public final static short Quantity_NOC_RED = 412; -public final static short Quantity_NOC_RED1 = 413; -public final static short Quantity_NOC_RED2 = 414; -public final static short Quantity_NOC_RED3 = 415; -public final static short Quantity_NOC_RED4 = 416; -public final static short Quantity_NOC_ROSYBROWN = 417; -public final static short Quantity_NOC_ROSYBROWN1 = 418; -public final static short Quantity_NOC_ROSYBROWN2 = 419; -public final static short Quantity_NOC_ROSYBROWN3 = 420; -public final static short Quantity_NOC_ROSYBROWN4 = 421; -public final static short Quantity_NOC_ROYALBLUE = 422; -public final static short Quantity_NOC_ROYALBLUE1 = 423; -public final static short Quantity_NOC_ROYALBLUE2 = 424; -public final static short Quantity_NOC_ROYALBLUE3 = 425; -public final static short Quantity_NOC_ROYALBLUE4 = 426; -public final static short Quantity_NOC_SADDLEBROWN = 427; -public final static short Quantity_NOC_SALMON = 428; -public final static short Quantity_NOC_SALMON1 = 429; -public final static short Quantity_NOC_SALMON2 = 430; -public final static short Quantity_NOC_SALMON3 = 431; -public final static short Quantity_NOC_SALMON4 = 432; -public final static short Quantity_NOC_SANDYBROWN = 433; -public final static short Quantity_NOC_SEAGREEN = 434; -public final static short Quantity_NOC_SEAGREEN1 = 435; -public final static short Quantity_NOC_SEAGREEN2 = 436; -public final static short Quantity_NOC_SEAGREEN3 = 437; -public final static short Quantity_NOC_SEAGREEN4 = 438; -public final static short Quantity_NOC_SEASHELL = 439; -public final static short Quantity_NOC_SEASHELL2 = 440; -public final static short Quantity_NOC_SEASHELL3 = 441; -public final static short Quantity_NOC_SEASHELL4 = 442; -public final static short Quantity_NOC_BEET = 443; -public final static short Quantity_NOC_TEAL = 444; -public final static short Quantity_NOC_SIENNA = 445; -public final static short Quantity_NOC_SIENNA1 = 446; -public final static short Quantity_NOC_SIENNA2 = 447; -public final static short Quantity_NOC_SIENNA3 = 448; -public final static short Quantity_NOC_SIENNA4 = 449; -public final static short Quantity_NOC_SKYBLUE = 450; -public final static short Quantity_NOC_SKYBLUE1 = 451; -public final static short Quantity_NOC_SKYBLUE2 = 452; -public final static short Quantity_NOC_SKYBLUE3 = 453; -public final static short Quantity_NOC_SKYBLUE4 = 454; -public final static short Quantity_NOC_SLATEBLUE = 455; -public final static short Quantity_NOC_SLATEBLUE1 = 456; -public final static short Quantity_NOC_SLATEBLUE2 = 457; -public final static short Quantity_NOC_SLATEBLUE3 = 458; -public final static short Quantity_NOC_SLATEBLUE4 = 459; -public final static short Quantity_NOC_SLATEGRAY1 = 460; -public final static short Quantity_NOC_SLATEGRAY2 = 461; -public final static short Quantity_NOC_SLATEGRAY3 = 462; -public final static short Quantity_NOC_SLATEGRAY4 = 463; -public final static short Quantity_NOC_SLATEGRAY = 464; -public final static short Quantity_NOC_SNOW = 465; -public final static short Quantity_NOC_SNOW2 = 466; -public final static short Quantity_NOC_SNOW3 = 467; -public final static short Quantity_NOC_SNOW4 = 468; -public final static short Quantity_NOC_SPRINGGREEN = 469; -public final static short Quantity_NOC_SPRINGGREEN2 = 470; -public final static short Quantity_NOC_SPRINGGREEN3 = 471; -public final static short Quantity_NOC_SPRINGGREEN4 = 472; -public final static short Quantity_NOC_STEELBLUE = 473; -public final static short Quantity_NOC_STEELBLUE1 = 474; -public final static short Quantity_NOC_STEELBLUE2 = 475; -public final static short Quantity_NOC_STEELBLUE3 = 476; -public final static short Quantity_NOC_STEELBLUE4 = 477; -public final static short Quantity_NOC_TAN = 478; -public final static short Quantity_NOC_TAN1 = 479; -public final static short Quantity_NOC_TAN2 = 480; -public final static short Quantity_NOC_TAN3 = 481; -public final static short Quantity_NOC_TAN4 = 482; -public final static short Quantity_NOC_THISTLE = 483; -public final static short Quantity_NOC_THISTLE1 = 484; -public final static short Quantity_NOC_THISTLE2 = 485; -public final static short Quantity_NOC_THISTLE3 = 486; -public final static short Quantity_NOC_THISTLE4 = 487; -public final static short Quantity_NOC_TOMATO = 488; -public final static short Quantity_NOC_TOMATO1 = 489; -public final static short Quantity_NOC_TOMATO2 = 490; -public final static short Quantity_NOC_TOMATO3 = 491; -public final static short Quantity_NOC_TOMATO4 = 492; -public final static short Quantity_NOC_TURQUOISE = 493; -public final static short Quantity_NOC_TURQUOISE1 = 494; -public final static short Quantity_NOC_TURQUOISE2 = 495; -public final static short Quantity_NOC_TURQUOISE3 = 496; -public final static short Quantity_NOC_TURQUOISE4 = 497; -public final static short Quantity_NOC_VIOLET = 498; -public final static short Quantity_NOC_VIOLETRED = 499; -public final static short Quantity_NOC_VIOLETRED1 = 500; -public final static short Quantity_NOC_VIOLETRED2 = 501; -public final static short Quantity_NOC_VIOLETRED3 = 502; -public final static short Quantity_NOC_VIOLETRED4 = 503; -public final static short Quantity_NOC_WHEAT = 504; -public final static short Quantity_NOC_WHEAT1 = 505; -public final static short Quantity_NOC_WHEAT2 = 506; -public final static short Quantity_NOC_WHEAT3 = 507; -public final static short Quantity_NOC_WHEAT4 = 508; -public final static short Quantity_NOC_WHITESMOKE = 509; -public final static short Quantity_NOC_YELLOW = 510; -public final static short Quantity_NOC_YELLOW1 = 511; -public final static short Quantity_NOC_YELLOW2 = 512; -public final static short Quantity_NOC_YELLOW3 = 513; -public final static short Quantity_NOC_YELLOW4 = 514; -public final static short Quantity_NOC_YELLOWGREEN = 515; -public final static short Quantity_NOC_WHITE = 516; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Quantity_TypeOfColor.java b/samples/java/java/CASCADESamplesJni/Quantity_TypeOfColor.java deleted file mode 100755 index a642b31c78..0000000000 --- a/samples/java/java/CASCADESamplesJni/Quantity_TypeOfColor.java +++ /dev/null @@ -1,27 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class Quantity_TypeOfColor extends jcas.Standard_Enumeration { - -public final static short Quantity_TOC_RGB = 0; -public final static short Quantity_TOC_HLS = 1; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Select2D_Projector.java b/samples/java/java/CASCADESamplesJni/Select2D_Projector.java deleted file mode 100755 index b94c8b87bc..0000000000 --- a/samples/java/java/CASCADESamplesJni/Select2D_Projector.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class Select2D_Projector extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Select2D_Projector() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/SelectBasics_EntityOwner.java b/samples/java/java/CASCADESamplesJni/SelectBasics_EntityOwner.java deleted file mode 100755 index d1ac3f5371..0000000000 --- a/samples/java/java/CASCADESamplesJni/SelectBasics_EntityOwner.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class SelectBasics_EntityOwner extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public SelectBasics_EntityOwner() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/SelectMgr_EntityOwner.java b/samples/java/java/CASCADESamplesJni/SelectMgr_EntityOwner.java deleted file mode 100755 index 86645bc97b..0000000000 --- a/samples/java/java/CASCADESamplesJni/SelectMgr_EntityOwner.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class SelectMgr_EntityOwner extends CASCADESamplesJni.SelectBasics_EntityOwner { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public SelectMgr_EntityOwner() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/SelectMgr_Filter.java b/samples/java/java/CASCADESamplesJni/SelectMgr_Filter.java deleted file mode 100755 index 4a81875cb2..0000000000 --- a/samples/java/java/CASCADESamplesJni/SelectMgr_Filter.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class SelectMgr_Filter extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public SelectMgr_Filter() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/SelectMgr_ListOfFilter.java b/samples/java/java/CASCADESamplesJni/SelectMgr_ListOfFilter.java deleted file mode 100755 index 0260a5f7d4..0000000000 --- a/samples/java/java/CASCADESamplesJni/SelectMgr_ListOfFilter.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - - -public class SelectMgr_ListOfFilter extends jcas.Object { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public SelectMgr_ListOfFilter() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/SelectMgr_SelectableObject.java b/samples/java/java/CASCADESamplesJni/SelectMgr_SelectableObject.java deleted file mode 100755 index 184cb80d24..0000000000 --- a/samples/java/java/CASCADESamplesJni/SelectMgr_SelectableObject.java +++ /dev/null @@ -1,72 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; -import jcas.Standard_Integer; -import CASCADESamplesJni.SelectMgr_Selection; -import jcas.Standard_Boolean; -import CASCADESamplesJni.Prs3d_Presentation; - - -public class SelectMgr_SelectableObject extends CASCADESamplesJni.PrsMgr_PresentableObject { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -native public int NbPossibleSelection(); -final public void UpdateSelection() { - SelectMgr_SelectableObject_UpdateSelection_1(); -} - -private final native void SelectMgr_SelectableObject_UpdateSelection_1(); - -final public void UpdateSelection(int aMode) { - SelectMgr_SelectableObject_UpdateSelection_2(aMode); -} - -private final native void SelectMgr_SelectableObject_UpdateSelection_2(int aMode); - -native public final void AddSelection(SelectMgr_Selection aSelection,int aMode); -native public final void ClearSelections(); -native public final SelectMgr_Selection Selection(int aMode); -native public final boolean HasSelection(int aMode); -native public final void Init(); -native public final boolean More(); -native public final void Next(); -native public final SelectMgr_Selection CurrentSelection(); -native public final void ResetLocation(); - public void UpdateLocation() { - SelectMgr_SelectableObject_UpdateLocation_1(); -} - -private native void SelectMgr_SelectableObject_UpdateLocation_1(); - - public void UpdateLocation(Prs3d_Presentation P) { - SelectMgr_SelectableObject_UpdateLocation_2(P); -} - -private native void SelectMgr_SelectableObject_UpdateLocation_2(Prs3d_Presentation P); - -public SelectMgr_SelectableObject() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/SelectMgr_Selection.java b/samples/java/java/CASCADESamplesJni/SelectMgr_Selection.java deleted file mode 100755 index d980dd8b48..0000000000 --- a/samples/java/java/CASCADESamplesJni/SelectMgr_Selection.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class SelectMgr_Selection extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public SelectMgr_Selection() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/SelectMgr_SelectionManager.java b/samples/java/java/CASCADESamplesJni/SelectMgr_SelectionManager.java deleted file mode 100755 index 69d167266f..0000000000 --- a/samples/java/java/CASCADESamplesJni/SelectMgr_SelectionManager.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class SelectMgr_SelectionManager extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public SelectMgr_SelectionManager() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/SelectMgr_ViewerSelector.java b/samples/java/java/CASCADESamplesJni/SelectMgr_ViewerSelector.java deleted file mode 100755 index a3623d4308..0000000000 --- a/samples/java/java/CASCADESamplesJni/SelectMgr_ViewerSelector.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class SelectMgr_ViewerSelector extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public SelectMgr_ViewerSelector() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Standard_Storable.java b/samples/java/java/CASCADESamplesJni/Standard_Storable.java deleted file mode 100755 index 28b2501cd7..0000000000 --- a/samples/java/java/CASCADESamplesJni/Standard_Storable.java +++ /dev/null @@ -1,27 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - -public class Standard_Storable extends jcas.Object { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -} diff --git a/samples/java/java/CASCADESamplesJni/Standard_Transient.java b/samples/java/java/CASCADESamplesJni/Standard_Transient.java deleted file mode 100755 index bd9ce17f3d..0000000000 --- a/samples/java/java/CASCADESamplesJni/Standard_Transient.java +++ /dev/null @@ -1,28 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - -public class Standard_Transient extends jcas.Object { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - - -} diff --git a/samples/java/java/CASCADESamplesJni/Standard_Type.java b/samples/java/java/CASCADESamplesJni/Standard_Type.java deleted file mode 100755 index fae88b3714..0000000000 --- a/samples/java/java/CASCADESamplesJni/Standard_Type.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - - -public class Standard_Type extends jcas.Object { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Standard_Type() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/StdSelect_ViewerSelector3d.java b/samples/java/java/CASCADESamplesJni/StdSelect_ViewerSelector3d.java deleted file mode 100755 index ee673c5c1b..0000000000 --- a/samples/java/java/CASCADESamplesJni/StdSelect_ViewerSelector3d.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class StdSelect_ViewerSelector3d extends CASCADESamplesJni.SelectMgr_ViewerSelector { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public StdSelect_ViewerSelector3d() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/TColQuantity_Array1OfLength.java b/samples/java/java/CASCADESamplesJni/TColQuantity_Array1OfLength.java deleted file mode 100755 index 4c0dfdb784..0000000000 --- a/samples/java/java/CASCADESamplesJni/TColQuantity_Array1OfLength.java +++ /dev/null @@ -1,66 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Standard_Integer; -import jcas.Standard_Real; -import jcas.Standard_Boolean; - - -public class TColQuantity_Array1OfLength extends jcas.Object { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public TColQuantity_Array1OfLength(int Low,int Up) { - TColQuantity_Array1OfLength_Create_1(Low,Up); -} - -private final native void TColQuantity_Array1OfLength_Create_1(int Low,int Up); - -public TColQuantity_Array1OfLength(double Item,int Low,int Up) { - TColQuantity_Array1OfLength_Create_2(Item,Low,Up); -} - -private final native void TColQuantity_Array1OfLength_Create_2(double Item,int Low,int Up); - -native public final void Init(double V); -native public final void Destroy(); -native public final boolean IsAllocated(); -native public final TColQuantity_Array1OfLength Assign(TColQuantity_Array1OfLength Other); -native public final int Length(); -native public final int Lower(); -native public final int Upper(); -native public final void SetValue(int Index,double Value); -native public final double Value(int Index); -native public final double ChangeValue(int Index); -public TColQuantity_Array1OfLength() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/TColQuantity_HArray1OfLength.java b/samples/java/java/CASCADESamplesJni/TColQuantity_HArray1OfLength.java deleted file mode 100755 index 0dbfbee69b..0000000000 --- a/samples/java/java/CASCADESamplesJni/TColQuantity_HArray1OfLength.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class TColQuantity_HArray1OfLength extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public TColQuantity_HArray1OfLength() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/TColStd_Array1OfBoolean.java b/samples/java/java/CASCADESamplesJni/TColStd_Array1OfBoolean.java deleted file mode 100755 index 60969a8142..0000000000 --- a/samples/java/java/CASCADESamplesJni/TColStd_Array1OfBoolean.java +++ /dev/null @@ -1,65 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Standard_Integer; -import jcas.Standard_Boolean; - - -public class TColStd_Array1OfBoolean extends jcas.Object { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public TColStd_Array1OfBoolean(int Low,int Up) { - TColStd_Array1OfBoolean_Create_1(Low,Up); -} - -private final native void TColStd_Array1OfBoolean_Create_1(int Low,int Up); - -public TColStd_Array1OfBoolean(boolean Item,int Low,int Up) { - TColStd_Array1OfBoolean_Create_2(Item,Low,Up); -} - -private final native void TColStd_Array1OfBoolean_Create_2(boolean Item,int Low,int Up); - -native public final void Init(boolean V); -native public final void Destroy(); -native public final boolean IsAllocated(); -native public final TColStd_Array1OfBoolean Assign(TColStd_Array1OfBoolean Other); -native public final int Length(); -native public final int Lower(); -native public final int Upper(); -native public final void SetValue(int Index,boolean Value); -native public final boolean Value(int Index); -native public final boolean ChangeValue(int Index); -public TColStd_Array1OfBoolean() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/TColStd_Array1OfReal.java b/samples/java/java/CASCADESamplesJni/TColStd_Array1OfReal.java deleted file mode 100755 index 211e9b2c35..0000000000 --- a/samples/java/java/CASCADESamplesJni/TColStd_Array1OfReal.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - - -public class TColStd_Array1OfReal extends jcas.Object { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public TColStd_Array1OfReal() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/TColStd_Array2OfReal.java b/samples/java/java/CASCADESamplesJni/TColStd_Array2OfReal.java deleted file mode 100755 index 6d91d4ca7a..0000000000 --- a/samples/java/java/CASCADESamplesJni/TColStd_Array2OfReal.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - - -public class TColStd_Array2OfReal extends jcas.Object { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public TColStd_Array2OfReal() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/TColStd_ListOfInteger.java b/samples/java/java/CASCADESamplesJni/TColStd_ListOfInteger.java deleted file mode 100755 index bf2206fb08..0000000000 --- a/samples/java/java/CASCADESamplesJni/TColStd_ListOfInteger.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - - -public class TColStd_ListOfInteger extends jcas.Object { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public TColStd_ListOfInteger() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/TColStd_ListOfTransient.java b/samples/java/java/CASCADESamplesJni/TColStd_ListOfTransient.java deleted file mode 100755 index db7df16087..0000000000 --- a/samples/java/java/CASCADESamplesJni/TColStd_ListOfTransient.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - - -public class TColStd_ListOfTransient extends jcas.Object { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public TColStd_ListOfTransient() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/TColStd_MapOfTransient.java b/samples/java/java/CASCADESamplesJni/TColStd_MapOfTransient.java deleted file mode 100755 index c2a52860cb..0000000000 --- a/samples/java/java/CASCADESamplesJni/TColStd_MapOfTransient.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - - -public class TColStd_MapOfTransient extends CASCADESamplesJni.TCollection_BasicMap { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public TColStd_MapOfTransient() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/TColgp_Array1OfPnt2d.java b/samples/java/java/CASCADESamplesJni/TColgp_Array1OfPnt2d.java deleted file mode 100755 index 9c3f495acb..0000000000 --- a/samples/java/java/CASCADESamplesJni/TColgp_Array1OfPnt2d.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - - -public class TColgp_Array1OfPnt2d extends jcas.Object { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public TColgp_Array1OfPnt2d() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/TCollection_AsciiString.java b/samples/java/java/CASCADESamplesJni/TCollection_AsciiString.java deleted file mode 100755 index a944ca16e8..0000000000 --- a/samples/java/java/CASCADESamplesJni/TCollection_AsciiString.java +++ /dev/null @@ -1,381 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Standard_CString; -import jcas.Standard_Integer; -import jcas.Standard_Character; -import jcas.Standard_Real; -import CASCADESamplesJni.TCollection_ExtendedString; -import jcas.Standard_Boolean; - - -public class TCollection_AsciiString extends jcas.Object { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public TCollection_AsciiString() { - TCollection_AsciiString_Create_1(); -} - -private final native void TCollection_AsciiString_Create_1(); - -public TCollection_AsciiString(Standard_CString message) { - TCollection_AsciiString_Create_2(message); -} - -private final native void TCollection_AsciiString_Create_2(Standard_CString message); - -public TCollection_AsciiString(Standard_CString message,int aLen) { - TCollection_AsciiString_Create_3(message,aLen); -} - -private final native void TCollection_AsciiString_Create_3(Standard_CString message,int aLen); - -public TCollection_AsciiString(Standard_Character aChar) { - TCollection_AsciiString_Create_4(aChar); -} - -private final native void TCollection_AsciiString_Create_4(Standard_Character aChar); - -public TCollection_AsciiString(int length,Standard_Character filler) { - TCollection_AsciiString_Create_5(length,filler); -} - -private final native void TCollection_AsciiString_Create_5(int length,Standard_Character filler); - -public TCollection_AsciiString(int value) { - TCollection_AsciiString_Create_6(value); -} - -private final native void TCollection_AsciiString_Create_6(int value); - -public TCollection_AsciiString(double value) { - TCollection_AsciiString_Create_7(value); -} - -private final native void TCollection_AsciiString_Create_7(double value); - -public TCollection_AsciiString(TCollection_AsciiString astring) { - TCollection_AsciiString_Create_8(astring); -} - -private final native void TCollection_AsciiString_Create_8(TCollection_AsciiString astring); - -public TCollection_AsciiString(TCollection_AsciiString astring,Standard_Character message) { - TCollection_AsciiString_Create_9(astring,message); -} - -private final native void TCollection_AsciiString_Create_9(TCollection_AsciiString astring,Standard_Character message); - -public TCollection_AsciiString(TCollection_AsciiString astring,Standard_CString message) { - TCollection_AsciiString_Create_10(astring,message); -} - -private final native void TCollection_AsciiString_Create_10(TCollection_AsciiString astring,Standard_CString message); - -public TCollection_AsciiString(TCollection_AsciiString astring,TCollection_AsciiString message) { - TCollection_AsciiString_Create_11(astring,message); -} - -private final native void TCollection_AsciiString_Create_11(TCollection_AsciiString astring,TCollection_AsciiString message); - -public TCollection_AsciiString(TCollection_ExtendedString astring) { - TCollection_AsciiString_Create_12(astring); -} - -private final native void TCollection_AsciiString_Create_12(TCollection_ExtendedString astring); - -final public void AssignCat(Standard_Character other) { - TCollection_AsciiString_AssignCat_1(other); -} - -private final native void TCollection_AsciiString_AssignCat_1(Standard_Character other); - -final public void AssignCat(int other) { - TCollection_AsciiString_AssignCat_2(other); -} - -private final native void TCollection_AsciiString_AssignCat_2(int other); - -final public void AssignCat(double other) { - TCollection_AsciiString_AssignCat_3(other); -} - -private final native void TCollection_AsciiString_AssignCat_3(double other); - -final public void AssignCat(Standard_CString other) { - TCollection_AsciiString_AssignCat_4(other); -} - -private final native void TCollection_AsciiString_AssignCat_4(Standard_CString other); - -final public void AssignCat(TCollection_AsciiString other) { - TCollection_AsciiString_AssignCat_5(other); -} - -private final native void TCollection_AsciiString_AssignCat_5(TCollection_AsciiString other); - -native public final void Capitalize(); -final public TCollection_AsciiString Cat(Standard_Character other) { - return TCollection_AsciiString_Cat_2(other); -} - -private final native TCollection_AsciiString TCollection_AsciiString_Cat_2(Standard_Character other); - -final public TCollection_AsciiString Cat(int other) { - return TCollection_AsciiString_Cat_3(other); -} - -private final native TCollection_AsciiString TCollection_AsciiString_Cat_3(int other); - -final public TCollection_AsciiString Cat(double other) { - return TCollection_AsciiString_Cat_4(other); -} - -private final native TCollection_AsciiString TCollection_AsciiString_Cat_4(double other); - -final public TCollection_AsciiString Cat(Standard_CString other) { - return TCollection_AsciiString_Cat_5(other); -} - -private final native TCollection_AsciiString TCollection_AsciiString_Cat_5(Standard_CString other); - -final public TCollection_AsciiString Cat(TCollection_AsciiString other) { - return TCollection_AsciiString_Cat_7(other); -} - -private final native TCollection_AsciiString TCollection_AsciiString_Cat_7(TCollection_AsciiString other); - -native public final void Center(int Width,Standard_Character Filler); -native public final void ChangeAll(Standard_Character aChar,Standard_Character NewChar,boolean CaseSensitive); -native public final void Clear(); -final public void Copy(Standard_CString fromwhere) { - TCollection_AsciiString_Copy_1(fromwhere); -} - -private final native void TCollection_AsciiString_Copy_1(Standard_CString fromwhere); - -final public void Copy(TCollection_AsciiString fromwhere) { - TCollection_AsciiString_Copy_2(fromwhere); -} - -private final native void TCollection_AsciiString_Copy_2(TCollection_AsciiString fromwhere); - -native public final void Destroy(); -native public final int FirstLocationInSet(TCollection_AsciiString Set,int FromIndex,int ToIndex); -native public final int FirstLocationNotInSet(TCollection_AsciiString Set,int FromIndex,int ToIndex); -final public void Insert(int where,Standard_Character what) { - TCollection_AsciiString_Insert_1(where,what); -} - -private final native void TCollection_AsciiString_Insert_1(int where,Standard_Character what); - -final public void Insert(int where,Standard_CString what) { - TCollection_AsciiString_Insert_2(where,what); -} - -private final native void TCollection_AsciiString_Insert_2(int where,Standard_CString what); - -final public void Insert(int where,TCollection_AsciiString what) { - TCollection_AsciiString_Insert_3(where,what); -} - -private final native void TCollection_AsciiString_Insert_3(int where,TCollection_AsciiString what); - -native public final void InsertAfter(int Index,TCollection_AsciiString other); -native public final void InsertBefore(int Index,TCollection_AsciiString other); -native public final boolean IsEmpty(); -final public boolean IsEqual(Standard_CString other) { - return TCollection_AsciiString_IsEqual_1(other); -} - -private final native boolean TCollection_AsciiString_IsEqual_1(Standard_CString other); - -final public boolean IsEqual(TCollection_AsciiString other) { - return TCollection_AsciiString_IsEqual_2(other); -} - -private final native boolean TCollection_AsciiString_IsEqual_2(TCollection_AsciiString other); - -final public boolean IsDifferent(Standard_CString other) { - return TCollection_AsciiString_IsDifferent_1(other); -} - -private final native boolean TCollection_AsciiString_IsDifferent_1(Standard_CString other); - -final public boolean IsDifferent(TCollection_AsciiString other) { - return TCollection_AsciiString_IsDifferent_2(other); -} - -private final native boolean TCollection_AsciiString_IsDifferent_2(TCollection_AsciiString other); - -final public boolean IsLess(Standard_CString other) { - return TCollection_AsciiString_IsLess_1(other); -} - -private final native boolean TCollection_AsciiString_IsLess_1(Standard_CString other); - -final public boolean IsLess(TCollection_AsciiString other) { - return TCollection_AsciiString_IsLess_2(other); -} - -private final native boolean TCollection_AsciiString_IsLess_2(TCollection_AsciiString other); - -final public boolean IsGreater(Standard_CString other) { - return TCollection_AsciiString_IsGreater_1(other); -} - -private final native boolean TCollection_AsciiString_IsGreater_1(Standard_CString other); - -final public boolean IsGreater(TCollection_AsciiString other) { - return TCollection_AsciiString_IsGreater_2(other); -} - -private final native boolean TCollection_AsciiString_IsGreater_2(TCollection_AsciiString other); - -native public final int IntegerValue(); -native public final boolean IsIntegerValue(); -native public final boolean IsRealValue(); -native public final boolean IsAscii(); -native public final void LeftAdjust(); -native public final void LeftJustify(int Width,Standard_Character Filler); -native public final int Length(); -final public int Location(TCollection_AsciiString other,int FromIndex,int ToIndex) { - return TCollection_AsciiString_Location_1(other,FromIndex,ToIndex); -} - -private final native int TCollection_AsciiString_Location_1(TCollection_AsciiString other,int FromIndex,int ToIndex); - -final public int Location(int N,Standard_Character C,int FromIndex,int ToIndex) { - return TCollection_AsciiString_Location_2(N,C,FromIndex,ToIndex); -} - -private final native int TCollection_AsciiString_Location_2(int N,Standard_Character C,int FromIndex,int ToIndex); - -native public final void LowerCase(); -native public final void Prepend(TCollection_AsciiString other); -native public final double RealValue(); -final public void RemoveAll(Standard_Character C,boolean CaseSensitive) { - TCollection_AsciiString_RemoveAll_1(C,CaseSensitive); -} - -private final native void TCollection_AsciiString_RemoveAll_1(Standard_Character C,boolean CaseSensitive); - -final public void RemoveAll(Standard_Character what) { - TCollection_AsciiString_RemoveAll_2(what); -} - -private final native void TCollection_AsciiString_RemoveAll_2(Standard_Character what); - -native public final void Remove(int where,int ahowmany); -native public final void RightAdjust(); -native public final void RightJustify(int Width,Standard_Character Filler); -final public int Search(Standard_CString what) { - return TCollection_AsciiString_Search_1(what); -} - -private final native int TCollection_AsciiString_Search_1(Standard_CString what); - -final public int Search(TCollection_AsciiString what) { - return TCollection_AsciiString_Search_2(what); -} - -private final native int TCollection_AsciiString_Search_2(TCollection_AsciiString what); - -final public int SearchFromEnd(Standard_CString what) { - return TCollection_AsciiString_SearchFromEnd_1(what); -} - -private final native int TCollection_AsciiString_SearchFromEnd_1(Standard_CString what); - -final public int SearchFromEnd(TCollection_AsciiString what) { - return TCollection_AsciiString_SearchFromEnd_2(what); -} - -private final native int TCollection_AsciiString_SearchFromEnd_2(TCollection_AsciiString what); - -final public void SetValue(int where,Standard_Character what) { - TCollection_AsciiString_SetValue_1(where,what); -} - -private final native void TCollection_AsciiString_SetValue_1(int where,Standard_Character what); - -final public void SetValue(int where,Standard_CString what) { - TCollection_AsciiString_SetValue_2(where,what); -} - -private final native void TCollection_AsciiString_SetValue_2(int where,Standard_CString what); - -final public void SetValue(int where,TCollection_AsciiString what) { - TCollection_AsciiString_SetValue_3(where,what); -} - -private final native void TCollection_AsciiString_SetValue_3(int where,TCollection_AsciiString what); - -final public TCollection_AsciiString Split(int where) { - return TCollection_AsciiString_Split_2(where); -} - -private final native TCollection_AsciiString TCollection_AsciiString_Split_2(int where); - -final public TCollection_AsciiString SubString(int FromIndex,int ToIndex) { - return TCollection_AsciiString_SubString_2(FromIndex,ToIndex); -} - -private final native TCollection_AsciiString TCollection_AsciiString_SubString_2(int FromIndex,int ToIndex); - -native public final Standard_CString ToCString(); -final public TCollection_AsciiString Token(Standard_CString separators,int whichone) { - return TCollection_AsciiString_Token_2(separators,whichone); -} - -private final native TCollection_AsciiString TCollection_AsciiString_Token_2(Standard_CString separators,int whichone); - -native public final void Trunc(int ahowmany); -native public final void UpperCase(); -native public final int UsefullLength(); -native public final Standard_Character Value(int where); -native public static int HashCode(TCollection_AsciiString astring,int Upper); -static public boolean IsEqual(TCollection_AsciiString string1,TCollection_AsciiString string2) { - return TCollection_AsciiString_IsEqual_3(string1,string2); -} - -private static native boolean TCollection_AsciiString_IsEqual_3(TCollection_AsciiString string1,TCollection_AsciiString string2); - -static public boolean IsEqual(TCollection_AsciiString string1,Standard_CString string2) { - return TCollection_AsciiString_IsEqual_4(string1,string2); -} - -private static native boolean TCollection_AsciiString_IsEqual_4(TCollection_AsciiString string1,Standard_CString string2); - -native public static int HASHCODE(TCollection_AsciiString astring,int Upper); -native public static boolean ISSIMILAR(TCollection_AsciiString string1,TCollection_AsciiString string2); - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/TCollection_BaseSequence.java b/samples/java/java/CASCADESamplesJni/TCollection_BaseSequence.java deleted file mode 100755 index 1c4f4e0069..0000000000 --- a/samples/java/java/CASCADESamplesJni/TCollection_BaseSequence.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - - -public class TCollection_BaseSequence extends jcas.Object { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public TCollection_BaseSequence() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/TCollection_BasicMap.java b/samples/java/java/CASCADESamplesJni/TCollection_BasicMap.java deleted file mode 100755 index 2eaec349f9..0000000000 --- a/samples/java/java/CASCADESamplesJni/TCollection_BasicMap.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - - -public class TCollection_BasicMap extends jcas.Object { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public TCollection_BasicMap() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/TCollection_ExtendedString.java b/samples/java/java/CASCADESamplesJni/TCollection_ExtendedString.java deleted file mode 100755 index cf2239a58f..0000000000 --- a/samples/java/java/CASCADESamplesJni/TCollection_ExtendedString.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - - -public class TCollection_ExtendedString extends jcas.Object { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public TCollection_ExtendedString() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/TShort_Array1OfShortReal.java b/samples/java/java/CASCADESamplesJni/TShort_Array1OfShortReal.java deleted file mode 100755 index 1c377baf96..0000000000 --- a/samples/java/java/CASCADESamplesJni/TShort_Array1OfShortReal.java +++ /dev/null @@ -1,66 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Standard_Integer; -import jcas.Standard_ShortReal; -import jcas.Standard_Boolean; - - -public class TShort_Array1OfShortReal extends jcas.Object { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public TShort_Array1OfShortReal(int Low,int Up) { - TShort_Array1OfShortReal_Create_1(Low,Up); -} - -private final native void TShort_Array1OfShortReal_Create_1(int Low,int Up); - -public TShort_Array1OfShortReal(float Item,int Low,int Up) { - TShort_Array1OfShortReal_Create_2(Item,Low,Up); -} - -private final native void TShort_Array1OfShortReal_Create_2(float Item,int Low,int Up); - -native public final void Init(float V); -native public final void Destroy(); -native public final boolean IsAllocated(); -native public final TShort_Array1OfShortReal Assign(TShort_Array1OfShortReal Other); -native public final int Length(); -native public final int Lower(); -native public final int Upper(); -native public final void SetValue(int Index,float Value); -native public final float Value(int Index); -native public final float ChangeValue(int Index); -public TShort_Array1OfShortReal() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/TopAbs_Orientation.java b/samples/java/java/CASCADESamplesJni/TopAbs_Orientation.java deleted file mode 100755 index 8ec84bc89c..0000000000 --- a/samples/java/java/CASCADESamplesJni/TopAbs_Orientation.java +++ /dev/null @@ -1,29 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class TopAbs_Orientation extends jcas.Standard_Enumeration { - -public final static short TopAbs_FORWARD = 0; -public final static short TopAbs_REVERSED = 1; -public final static short TopAbs_INTERNAL = 2; -public final static short TopAbs_EXTERNAL = 3; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/TopAbs_ShapeEnum.java b/samples/java/java/CASCADESamplesJni/TopAbs_ShapeEnum.java deleted file mode 100755 index 27f36763fe..0000000000 --- a/samples/java/java/CASCADESamplesJni/TopAbs_ShapeEnum.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class TopAbs_ShapeEnum extends jcas.Standard_Enumeration { - -public final static short TopAbs_COMPOUND = 0; -public final static short TopAbs_COMPSOLID = 1; -public final static short TopAbs_SOLID = 2; -public final static short TopAbs_SHELL = 3; -public final static short TopAbs_FACE = 4; -public final static short TopAbs_WIRE = 5; -public final static short TopAbs_EDGE = 6; -public final static short TopAbs_VERTEX = 7; -public final static short TopAbs_SHAPE = 8; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/TopLoc_Location.java b/samples/java/java/CASCADESamplesJni/TopLoc_Location.java deleted file mode 100755 index 420bcedf17..0000000000 --- a/samples/java/java/CASCADESamplesJni/TopLoc_Location.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - - -public class TopLoc_Location extends jcas.Object { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public TopLoc_Location() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/TopoDS_Shape.java b/samples/java/java/CASCADESamplesJni/TopoDS_Shape.java deleted file mode 100755 index 7cf66a4146..0000000000 --- a/samples/java/java/CASCADESamplesJni/TopoDS_Shape.java +++ /dev/null @@ -1,191 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Standard_Boolean; -import CASCADESamplesJni.TopLoc_Location; -import CASCADESamplesJni.TopAbs_Orientation; -import jcas.Standard_Short; -import CASCADESamplesJni.TopoDS_TShape; -import CASCADESamplesJni.TopAbs_ShapeEnum; -import jcas.Standard_Integer; - - -public class TopoDS_Shape extends jcas.Object { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public TopoDS_Shape() { - TopoDS_Shape_Create_0(); -} - -private final native void TopoDS_Shape_Create_0(); - -native public final boolean IsNull(); -native public final void Nullify(); -final public TopLoc_Location Location() { - return TopoDS_Shape_Location_1(); -} - -private final native TopLoc_Location TopoDS_Shape_Location_1(); - -final public void Location(TopLoc_Location Loc) { - TopoDS_Shape_Location_2(Loc); -} - -private final native void TopoDS_Shape_Location_2(TopLoc_Location Loc); - -native public final TopoDS_Shape Located(TopLoc_Location Loc); -final public short Orientation() { - return TopoDS_Shape_Orientation_1(); -} - -private final native short TopoDS_Shape_Orientation_1(); - -final public void Orientation(short Orient) { - TopoDS_Shape_Orientation_2(Orient); -} - -private final native void TopoDS_Shape_Orientation_2(short Orient); - -native public final TopoDS_Shape Oriented(short Or); -final public TopoDS_TShape TShape() { - return TopoDS_Shape_TShape_1(); -} - -private final native TopoDS_TShape TopoDS_Shape_TShape_1(); - -native public final short ShapeType(); -final public boolean Free() { - return TopoDS_Shape_Free_1(); -} - -private final native boolean TopoDS_Shape_Free_1(); - -final public void Free(boolean F) { - TopoDS_Shape_Free_2(F); -} - -private final native void TopoDS_Shape_Free_2(boolean F); - -final public boolean Modified() { - return TopoDS_Shape_Modified_1(); -} - -private final native boolean TopoDS_Shape_Modified_1(); - -final public void Modified(boolean M) { - TopoDS_Shape_Modified_2(M); -} - -private final native void TopoDS_Shape_Modified_2(boolean M); - -final public boolean Checked() { - return TopoDS_Shape_Checked_1(); -} - -private final native boolean TopoDS_Shape_Checked_1(); - -final public void Checked(boolean C) { - TopoDS_Shape_Checked_2(C); -} - -private final native void TopoDS_Shape_Checked_2(boolean C); - -final public boolean Orientable() { - return TopoDS_Shape_Orientable_1(); -} - -private final native boolean TopoDS_Shape_Orientable_1(); - -final public void Orientable(boolean C) { - TopoDS_Shape_Orientable_2(C); -} - -private final native void TopoDS_Shape_Orientable_2(boolean C); - -final public boolean Closed() { - return TopoDS_Shape_Closed_1(); -} - -private final native boolean TopoDS_Shape_Closed_1(); - -final public void Closed(boolean C) { - TopoDS_Shape_Closed_2(C); -} - -private final native void TopoDS_Shape_Closed_2(boolean C); - -final public boolean Infinite() { - return TopoDS_Shape_Infinite_1(); -} - -private final native boolean TopoDS_Shape_Infinite_1(); - -final public void Infinite(boolean C) { - TopoDS_Shape_Infinite_2(C); -} - -private final native void TopoDS_Shape_Infinite_2(boolean C); - -final public boolean Convex() { - return TopoDS_Shape_Convex_1(); -} - -private final native boolean TopoDS_Shape_Convex_1(); - -final public void Convex(boolean C) { - TopoDS_Shape_Convex_2(C); -} - -private final native void TopoDS_Shape_Convex_2(boolean C); - -native public final void Move(TopLoc_Location position); -native public final TopoDS_Shape Moved(TopLoc_Location position); -native public final void Reverse(); -native public final TopoDS_Shape Reversed(); -native public final void Complement(); -native public final TopoDS_Shape Complemented(); -native public final void Compose(short Orient); -native public final TopoDS_Shape Composed(short Orient); -native public final boolean IsPartner(TopoDS_Shape other); -native public final boolean IsSame(TopoDS_Shape other); -native public final boolean IsEqual(TopoDS_Shape other); -native public final boolean IsNotEqual(TopoDS_Shape other); -native public final int HashCode(int Upper); -native public final void EmptyCopy(); -native public final TopoDS_Shape EmptyCopied(); -final public void TShape(TopoDS_TShape T) { - TopoDS_Shape_TShape_2(T); -} - -private final native void TopoDS_Shape_TShape_2(TopoDS_TShape T); - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADESamplesJni/TopoDS_TShape.java b/samples/java/java/CASCADESamplesJni/TopoDS_TShape.java deleted file mode 100755 index 2274bf10a3..0000000000 --- a/samples/java/java/CASCADESamplesJni/TopoDS_TShape.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class TopoDS_TShape extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public TopoDS_TShape() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/V2d_TypeOfWindowResizingEffect.java b/samples/java/java/CASCADESamplesJni/V2d_TypeOfWindowResizingEffect.java deleted file mode 100755 index fc86a4f00c..0000000000 --- a/samples/java/java/CASCADESamplesJni/V2d_TypeOfWindowResizingEffect.java +++ /dev/null @@ -1,27 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class V2d_TypeOfWindowResizingEffect extends jcas.Standard_Enumeration { - -public final static short V2d_TOWRE_ENLARGE_SPACE = 0; -public final static short V2d_TOWRE_ENLARGE_OBJECTS = 1; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/V2d_View.java b/samples/java/java/CASCADESamplesJni/V2d_View.java deleted file mode 100755 index ba45e973f9..0000000000 --- a/samples/java/java/CASCADESamplesJni/V2d_View.java +++ /dev/null @@ -1,201 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; -import CASCADESamplesJni.Aspect_WindowDriver; -import CASCADESamplesJni.V2d_Viewer; -import jcas.Standard_Real; -import jcas.Standard_Integer; -import jcas.Standard_Boolean; -import jcas.Standard_CString; -import CASCADESamplesJni.Graphic2d_DisplayList; -import CASCADESamplesJni.Graphic2d_PickMode; -import jcas.Standard_Short; -import CASCADESamplesJni.V2d_TypeOfWindowResizingEffect; -import CASCADESamplesJni.PlotMgt_PlotterDriver; -import CASCADESamplesJni.Aspect_TypeOfColorSpace; -import CASCADESamplesJni.Graphic2d_View; -import CASCADESamplesJni.Quantity_NameOfColor; -import CASCADESamplesJni.Aspect_FillMethod; - - -public class V2d_View extends CASCADESamplesJni.Viewer_View { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public V2d_View(Aspect_WindowDriver aWindowDriver,V2d_Viewer aViewer,double aXCenter,double aYCenter,double aSize) { - V2d_View_Create_0(aWindowDriver,aViewer,aXCenter,aYCenter,aSize); -} - -private final native void V2d_View_Create_0(Aspect_WindowDriver aWindowDriver,V2d_Viewer aViewer,double aXCenter,double aYCenter,double aSize); - -native public final void SetDefaultPosition(double aXCenter,double aYCenter,double aSize); -native public final void Fitall(); -native public final void WindowFit(int aX1,int aY1,int aX2,int aY2); -final public void Fit(double aX1,double aY1,double aX2,double aY2,boolean UseMinimum) { - V2d_View_Fit_1(aX1,aY1,aX2,aY2,UseMinimum); -} - -private final native void V2d_View_Fit_1(double aX1,double aY1,double aX2,double aY2,boolean UseMinimum); - -native public final void SetFitallRatio(double aRatio); -final public void Zoom(double Zoom) { - V2d_View_Zoom_1(Zoom); -} - -private final native void V2d_View_Zoom_1(double Zoom); - -final public void Zoom(int aX1,int aY1,int aX2,int aY2,double aCoefficient) { - V2d_View_Zoom_2(aX1,aY1,aX2,aY2,aCoefficient); -} - -private final native void V2d_View_Zoom_2(int aX1,int aY1,int aX2,int aY2,double aCoefficient); - -final public void Zoom(int aX,int aY,double aCoefficient) { - V2d_View_Zoom_3(aX,aY,aCoefficient); -} - -private final native void V2d_View_Zoom_3(int aX,int aY,double aCoefficient); - -native public final void Magnify(V2d_View anOriginView,int X1,int Y1,int X2,int Y2); -native public final void Translate(double dx,double dy); -native public final void Place(int x,int y,double aZoomFactor); -native public final void ScreenPlace(double x,double y,double aZoomFactor); -native public final void Pan(int dx,int dy); -final public double Convert(int V) { - return V2d_View_Convert_1(V); -} - -private final native double V2d_View_Convert_1(int V); - -final public void Convert(int X,int Y,Standard_Real ViewX,Standard_Real ViewY) { - V2d_View_Convert_2(X,Y,ViewX,ViewY); -} - -private final native void V2d_View_Convert_2(int X,int Y,Standard_Real ViewX,Standard_Real ViewY); - -final public void Convert(double ViewX,double ViewY,Standard_Integer X,Standard_Integer Y) { - V2d_View_Convert_3(ViewX,ViewY,X,Y); -} - -private final native void V2d_View_Convert_3(double ViewX,double ViewY,Standard_Integer X,Standard_Integer Y); - -final public double Convert(double aDriverSize) { - return V2d_View_Convert_4(aDriverSize); -} - -private final native double V2d_View_Convert_4(double aDriverSize); - -native public final void Reset(); -native public final void Previous(); -native public final void DisableStorePrevious(); -native public final void EnableStorePrevious(); -native public final void Update(); -native public final void UpdateNew(); -native public final void RestoreArea(int Xc,int Yc,int Width,int Height); -native public final void Restore(); -final public void Dump() { - V2d_View_Dump_1(); -} - -private final native void V2d_View_Dump_1(); - -final public void Dump(Standard_CString aFileName) { - V2d_View_Dump_2(aFileName); -} - -private final native void V2d_View_Dump_2(Standard_CString aFileName); - -final public Graphic2d_DisplayList Pick(int X,int Y,int aPrecision) { - return V2d_View_Pick_1(X,Y,aPrecision); -} - -private final native Graphic2d_DisplayList V2d_View_Pick_1(int X,int Y,int aPrecision); - -final public Graphic2d_DisplayList Pick(int Xmin,int Ymin,int Xmax,int Ymax,short aPickMode) { - return V2d_View_Pick_2(Xmin,Ymin,Xmax,Ymax,aPickMode); -} - -private final native Graphic2d_DisplayList V2d_View_Pick_2(int Xmin,int Ymin,int Xmax,int Ymax,short aPickMode); - -native public final void Erase(); -native public final void MustBeResized(short anEffect); -native public final void HasBeenMoved(); -final public void Plot(PlotMgt_PlotterDriver aPlotterDriver,double aXCenter,double aYCenter,double aScale) { - V2d_View_Plot_1(aPlotterDriver,aXCenter,aYCenter,aScale); -} - -private final native void V2d_View_Plot_1(PlotMgt_PlotterDriver aPlotterDriver,double aXCenter,double aYCenter,double aScale); - -final public void Plot(PlotMgt_PlotterDriver aPlotterDriver,double aScale) { - V2d_View_Plot_2(aPlotterDriver,aScale); -} - -private final native void V2d_View_Plot_2(PlotMgt_PlotterDriver aPlotterDriver,double aScale); - -native public final void PlotScreen(PlotMgt_PlotterDriver aPlotterDriver); -native public final void ScreenCopy(PlotMgt_PlotterDriver aPlotterDriver,boolean fWhiteBackground,double aScale); -native public final void PostScriptOutput(Standard_CString aFile,double aWidth,double aHeight,double aXCenter,double aYCenter,double aScale,short aTypeOfColorSpace); -native public final void ScreenPostScriptOutput(Standard_CString aFile,double aWidth,double aHeight,short aTypeOfColorSpace); -native public final void Hit(int X,int Y,Standard_Real gx,Standard_Real gy); -native public final void ShowHit(int X,int Y); -native public final void EraseHit(); -native public final void SetDefaultHighlightColor(int aColorIndex); -native public final void SetDeflection(double aDeflection); -native public final double Deflection(); -native public final Graphic2d_View View(); -native public final V2d_Viewer Viewer(); -native public final Aspect_WindowDriver Driver(); -final public double Zoom() { - return V2d_View_Zoom_4(); -} - -private final native double V2d_View_Zoom_4(); - -native public final void Center(Standard_Real aX,Standard_Real aY); -native public final double Size(); -native public final short Color(); -native public final void Scroll(Standard_Integer XCenter,Standard_Integer YCenter,Standard_Integer DX,Standard_Integer DY); -native public final int DefaultHighlightColor(); -final public void Fit(int aX1,int aY1,int aX2,int aY2) { - V2d_View_Fit_2(aX1,aY1,aX2,aY2); -} - -private final native void V2d_View_Fit_2(int aX1,int aY1,int aX2,int aY2); - -final public void SetBackground(short aNameColor) { - V2d_View_SetBackground_1(aNameColor); -} - -private final native void V2d_View_SetBackground_1(short aNameColor); - -final public boolean SetBackground(Standard_CString aNameFile,short aMethod) { - return V2d_View_SetBackground_2(aNameFile,aMethod); -} - -private final native boolean V2d_View_SetBackground_2(Standard_CString aNameFile,short aMethod); - -public V2d_View() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/V2d_Viewer.java b/samples/java/java/CASCADESamplesJni/V2d_Viewer.java deleted file mode 100755 index 760a9c6795..0000000000 --- a/samples/java/java/CASCADESamplesJni/V2d_Viewer.java +++ /dev/null @@ -1,94 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; -import CASCADESamplesJni.Aspect_GraphicDevice; -import jcas.Standard_ExtString; -import jcas.Standard_CString; -import CASCADESamplesJni.Graphic2d_View; -import CASCADESamplesJni.V2d_View; -import CASCADESamplesJni.Aspect_GenericColorMap; -import CASCADESamplesJni.Aspect_TypeMap; -import CASCADESamplesJni.Aspect_WidthMap; -import CASCADESamplesJni.Aspect_FontMap; -import jcas.Standard_Boolean; -import CASCADESamplesJni.Aspect_MarkMap; -import jcas.Standard_Integer; -import CASCADESamplesJni.Quantity_NameOfColor; -import jcas.Standard_Short; -import CASCADESamplesJni.Aspect_GridType; -import jcas.Standard_Real; -import CASCADESamplesJni.Aspect_GridDrawMode; - - -public class V2d_Viewer extends CASCADESamplesJni.Viewer_Viewer { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public V2d_Viewer(Aspect_GraphicDevice aGraphicDevice,String aName,Standard_CString aDomain) { - V2d_Viewer_Create_1(aGraphicDevice,aName,aDomain); -} - -private final native void V2d_Viewer_Create_1(Aspect_GraphicDevice aGraphicDevice,String aName,Standard_CString aDomain); - -public V2d_Viewer(Aspect_GraphicDevice aGraphicDevice,Graphic2d_View aView,String aName,Standard_CString aDomain) { - V2d_Viewer_Create_2(aGraphicDevice,aView,aName,aDomain); -} - -private final native void V2d_Viewer_Create_2(Aspect_GraphicDevice aGraphicDevice,Graphic2d_View aView,String aName,Standard_CString aDomain); - -native public final void AddView(V2d_View aView); -native public final void RemoveView(V2d_View aView); -native public final void Update(); -native public final void UpdateNew(); -native public final void SetColorMap(Aspect_GenericColorMap aColorMap); -native public final void SetTypeMap(Aspect_TypeMap aTypeMap); -native public final void SetWidthMap(Aspect_WidthMap aWidthMap); -native public final void SetFontMap(Aspect_FontMap aFontMap,boolean useMFT); -native public final void SetMarkMap(Aspect_MarkMap aMarkMap); -native public final Aspect_GenericColorMap ColorMap(); -native public final Aspect_TypeMap TypeMap(); -native public final Aspect_WidthMap WidthMap(); -native public final Aspect_FontMap FontMap(); -native public final Aspect_MarkMap MarkMap(); -native public final boolean UseMFT(); -native public final Graphic2d_View View(); -native public final int InitializeColor(short aColor); -native public final void InitActiveViews(); -native public final boolean MoreActiveViews(); -native public final void NextActiveViews(); -native public final V2d_View ActiveView(); -native public final boolean IsEmpty(); -native public final short GridType(); -native public final void Hit(double X,double Y,Standard_Real gx,Standard_Real gy); -native public final void ActivateGrid(short aGridType,short aGridDrawMode); -native public final void DeactivateGrid(); -native public final boolean IsActive(); -native public final void RectangularGridValues(Standard_Real XOrigin,Standard_Real YOrigin,Standard_Real XStep,Standard_Real YStep,Standard_Real RotationAngle); -native public final void SetRectangularGridValues(double XOrigin,double YOrigin,double XStep,double YStep,double RotationAngle); -native public final void CircularGridValues(Standard_Real XOrigin,Standard_Real YOrigin,Standard_Real RadiusStep,Standard_Integer DivisionNumber,Standard_Real RotationAngle); -native public final void SetCircularGridValues(double XOrigin,double YOrigin,double RadiusStep,int DivisionNumber,double RotationAngle); -public V2d_Viewer() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/V3d_Light.java b/samples/java/java/CASCADESamplesJni/V3d_Light.java deleted file mode 100755 index e676342084..0000000000 --- a/samples/java/java/CASCADESamplesJni/V3d_Light.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class V3d_Light extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public V3d_Light() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/V3d_OrthographicView.java b/samples/java/java/CASCADESamplesJni/V3d_OrthographicView.java deleted file mode 100755 index 92680b4be1..0000000000 --- a/samples/java/java/CASCADESamplesJni/V3d_OrthographicView.java +++ /dev/null @@ -1,55 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; -import CASCADESamplesJni.V3d_Viewer; -import CASCADESamplesJni.V3d_PerspectiveView; - - -public class V3d_OrthographicView extends CASCADESamplesJni.V3d_View { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public V3d_OrthographicView(V3d_Viewer VM) { - V3d_OrthographicView_Create_1(VM); -} - -private final native void V3d_OrthographicView_Create_1(V3d_Viewer VM); - -public V3d_OrthographicView(V3d_Viewer VM,V3d_PerspectiveView V) { - V3d_OrthographicView_Create_2(VM,V); -} - -private final native void V3d_OrthographicView_Create_2(V3d_Viewer VM,V3d_PerspectiveView V); - -public V3d_OrthographicView(V3d_Viewer VM,V3d_OrthographicView V) { - V3d_OrthographicView_Create_3(VM,V); -} - -private final native void V3d_OrthographicView_Create_3(V3d_Viewer VM,V3d_OrthographicView V); - -native public final V3d_OrthographicView Copy(); -public V3d_OrthographicView() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/V3d_PerspectiveView.java b/samples/java/java/CASCADESamplesJni/V3d_PerspectiveView.java deleted file mode 100755 index 751988c88a..0000000000 --- a/samples/java/java/CASCADESamplesJni/V3d_PerspectiveView.java +++ /dev/null @@ -1,58 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; -import CASCADESamplesJni.V3d_Viewer; -import CASCADESamplesJni.V3d_OrthographicView; -import jcas.Standard_Real; - - -public class V3d_PerspectiveView extends CASCADESamplesJni.V3d_View { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public V3d_PerspectiveView(V3d_Viewer VM) { - V3d_PerspectiveView_Create_1(VM); -} - -private final native void V3d_PerspectiveView_Create_1(V3d_Viewer VM); - -public V3d_PerspectiveView(V3d_Viewer VM,V3d_OrthographicView V) { - V3d_PerspectiveView_Create_2(VM,V); -} - -private final native void V3d_PerspectiveView_Create_2(V3d_Viewer VM,V3d_OrthographicView V); - -public V3d_PerspectiveView(V3d_Viewer VM,V3d_PerspectiveView V) { - V3d_PerspectiveView_Create_3(VM,V); -} - -private final native void V3d_PerspectiveView_Create_3(V3d_Viewer VM,V3d_PerspectiveView V); - -native public final V3d_PerspectiveView Copy(); -native public final void SetAngle(double Angle); -native public final double Angle(); -public V3d_PerspectiveView() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/V3d_Plane.java b/samples/java/java/CASCADESamplesJni/V3d_Plane.java deleted file mode 100755 index 295123cf80..0000000000 --- a/samples/java/java/CASCADESamplesJni/V3d_Plane.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class V3d_Plane extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public V3d_Plane() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/V3d_TypeOfAxe.java b/samples/java/java/CASCADESamplesJni/V3d_TypeOfAxe.java deleted file mode 100755 index d2aa9fd94a..0000000000 --- a/samples/java/java/CASCADESamplesJni/V3d_TypeOfAxe.java +++ /dev/null @@ -1,28 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class V3d_TypeOfAxe extends jcas.Standard_Enumeration { - -public final static short V3d_X = 0; -public final static short V3d_Y = 1; -public final static short V3d_Z = 2; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/V3d_TypeOfBackfacingModel.java b/samples/java/java/CASCADESamplesJni/V3d_TypeOfBackfacingModel.java deleted file mode 100755 index f4efbbf79a..0000000000 --- a/samples/java/java/CASCADESamplesJni/V3d_TypeOfBackfacingModel.java +++ /dev/null @@ -1,28 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class V3d_TypeOfBackfacingModel extends jcas.Standard_Enumeration { - -public final static short V3d_TOBM_AUTOMATIC = 0; -public final static short V3d_TOBM_ALWAYS_DISPLAYED = 1; -public final static short V3d_TOBM_NEVER_DISPLAYED = 2; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/V3d_TypeOfOrientation.java b/samples/java/java/CASCADESamplesJni/V3d_TypeOfOrientation.java deleted file mode 100755 index ad795acb66..0000000000 --- a/samples/java/java/CASCADESamplesJni/V3d_TypeOfOrientation.java +++ /dev/null @@ -1,51 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class V3d_TypeOfOrientation extends jcas.Standard_Enumeration { - -public final static short V3d_Xpos = 0; -public final static short V3d_Ypos = 1; -public final static short V3d_Zpos = 2; -public final static short V3d_Xneg = 3; -public final static short V3d_Yneg = 4; -public final static short V3d_Zneg = 5; -public final static short V3d_XposYpos = 6; -public final static short V3d_XposZpos = 7; -public final static short V3d_YposZpos = 8; -public final static short V3d_XnegYneg = 9; -public final static short V3d_XnegYpos = 10; -public final static short V3d_XnegZneg = 11; -public final static short V3d_XnegZpos = 12; -public final static short V3d_YnegZneg = 13; -public final static short V3d_YnegZpos = 14; -public final static short V3d_XposYneg = 15; -public final static short V3d_XposZneg = 16; -public final static short V3d_YposZneg = 17; -public final static short V3d_XposYposZpos = 18; -public final static short V3d_XposYnegZpos = 19; -public final static short V3d_XposYposZneg = 20; -public final static short V3d_XnegYposZpos = 21; -public final static short V3d_XposYnegZneg = 22; -public final static short V3d_XnegYposZneg = 23; -public final static short V3d_XnegYnegZpos = 24; -public final static short V3d_XnegYnegZneg = 25; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/V3d_TypeOfProjectionModel.java b/samples/java/java/CASCADESamplesJni/V3d_TypeOfProjectionModel.java deleted file mode 100755 index 0ec482a64b..0000000000 --- a/samples/java/java/CASCADESamplesJni/V3d_TypeOfProjectionModel.java +++ /dev/null @@ -1,27 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class V3d_TypeOfProjectionModel extends jcas.Standard_Enumeration { - -public final static short V3d_TPM_SCREEN = 0; -public final static short V3d_TPM_WALKTHROUGH = 1; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/V3d_TypeOfShadingModel.java b/samples/java/java/CASCADESamplesJni/V3d_TypeOfShadingModel.java deleted file mode 100755 index b07156416c..0000000000 --- a/samples/java/java/CASCADESamplesJni/V3d_TypeOfShadingModel.java +++ /dev/null @@ -1,30 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class V3d_TypeOfShadingModel extends jcas.Standard_Enumeration { - -public final static short V3d_COLOR = 0; -public final static short V3d_MULTICOLOR = 1; -public final static short V3d_FLAT = 2; -public final static short V3d_GOURAUD = 3; -public final static short V3d_HIDDEN = 4; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/V3d_TypeOfSurfaceDetail.java b/samples/java/java/CASCADESamplesJni/V3d_TypeOfSurfaceDetail.java deleted file mode 100755 index e8ed838c87..0000000000 --- a/samples/java/java/CASCADESamplesJni/V3d_TypeOfSurfaceDetail.java +++ /dev/null @@ -1,28 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class V3d_TypeOfSurfaceDetail extends jcas.Standard_Enumeration { - -public final static short V3d_TEX_NONE = 0; -public final static short V3d_TEX_ENVIRONMENT = 1; -public final static short V3d_TEX_ALL = 2; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/V3d_TypeOfUpdate.java b/samples/java/java/CASCADESamplesJni/V3d_TypeOfUpdate.java deleted file mode 100755 index 0d6f909150..0000000000 --- a/samples/java/java/CASCADESamplesJni/V3d_TypeOfUpdate.java +++ /dev/null @@ -1,27 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class V3d_TypeOfUpdate extends jcas.Standard_Enumeration { - -public final static short V3d_ASAP = 0; -public final static short V3d_WAIT = 1; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/V3d_TypeOfView.java b/samples/java/java/CASCADESamplesJni/V3d_TypeOfView.java deleted file mode 100755 index 1c0d67b2f6..0000000000 --- a/samples/java/java/CASCADESamplesJni/V3d_TypeOfView.java +++ /dev/null @@ -1,27 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class V3d_TypeOfView extends jcas.Standard_Enumeration { - -public final static short V3d_ORTHOGRAPHIC = 0; -public final static short V3d_PERSPECTIVE = 1; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/V3d_TypeOfVisualization.java b/samples/java/java/CASCADESamplesJni/V3d_TypeOfVisualization.java deleted file mode 100755 index e1e42bb167..0000000000 --- a/samples/java/java/CASCADESamplesJni/V3d_TypeOfVisualization.java +++ /dev/null @@ -1,27 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class V3d_TypeOfVisualization extends jcas.Standard_Enumeration { - -public final static short V3d_WIREFRAME = 0; -public final static short V3d_ZBUFFER = 1; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/V3d_TypeOfZclipping.java b/samples/java/java/CASCADESamplesJni/V3d_TypeOfZclipping.java deleted file mode 100755 index c3bf3ff36d..0000000000 --- a/samples/java/java/CASCADESamplesJni/V3d_TypeOfZclipping.java +++ /dev/null @@ -1,29 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - -public class V3d_TypeOfZclipping extends jcas.Standard_Enumeration { - -public final static short V3d_OFF = 0; -public final static short V3d_BACK = 1; -public final static short V3d_FRONT = 2; -public final static short V3d_SLICE = 3; - - - -} diff --git a/samples/java/java/CASCADESamplesJni/V3d_View.java b/samples/java/java/CASCADESamplesJni/V3d_View.java deleted file mode 100755 index 4fd5bb5dc7..0000000000 --- a/samples/java/java/CASCADESamplesJni/V3d_View.java +++ /dev/null @@ -1,472 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; -import CASCADESamplesJni.Aspect_Window; -import jcas.Standard_Integer; -import jcas.Standard_Boolean; -import CASCADESamplesJni.Quantity_TypeOfColor; -import jcas.Standard_Real; -import jcas.Standard_Short; -import CASCADESamplesJni.Quantity_Color; -import CASCADESamplesJni.Quantity_NameOfColor; -import CASCADESamplesJni.V3d_TypeOfShadingModel; -import CASCADESamplesJni.V3d_TypeOfSurfaceDetail; -import CASCADESamplesJni.Graphic3d_TextureEnv; -import CASCADESamplesJni.V3d_TypeOfVisualization; -import CASCADESamplesJni.V3d_TypeOfZclipping; -import CASCADESamplesJni.V3d_Light; -import CASCADESamplesJni.V3d_Plane; -import CASCADESamplesJni.Aspect_TypeOfTriedronPosition; -import CASCADESamplesJni.Aspect_TypeOfTriedronEcho; -import CASCADESamplesJni.V3d_TypeOfAxe; -import CASCADESamplesJni.V3d_TypeOfOrientation; -import CASCADESamplesJni.V3d_Viewer; -import CASCADESamplesJni.V3d_TypeOfView; -import CASCADESamplesJni.Visual3d_View; -import CASCADESamplesJni.Graphic3d_Plotter; -import CASCADESamplesJni.gp_Ax3; -import CASCADESamplesJni.Aspect_Grid; -import CASCADESamplesJni.PlotMgt_PlotterDriver; -import jcas.Standard_CString; -import CASCADESamplesJni.Aspect_FormatOfSheetPaper; -import CASCADESamplesJni.Aspect_PixMap; -import CASCADESamplesJni.V3d_TypeOfProjectionModel; -import CASCADESamplesJni.V3d_TypeOfBackfacingModel; - - -public class V3d_View extends CASCADESamplesJni.Viewer_View { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -native public final void SetWindow(Aspect_Window IdWin); -native public final void SetMagnify(Aspect_Window IdWin,V3d_View aPreviousView,int x1,int y1,int x2,int y2); -native public final void Remove(); -native public final void Update(); -final public void Redraw() { - V3d_View_Redraw_1(); -} - -private final native void V3d_View_Redraw_1(); - -final public void Redraw(int x,int y,int width,int height) { - V3d_View_Redraw_2(x,y,width,height); -} - -private final native void V3d_View_Redraw_2(int x,int y,int width,int height); - -native public final void MustBeResized(); -native public final void DoMapping(); -native public final boolean IsEmpty(); -native public final void UpdateLights(); -final public void SetBackgroundColor(short Type,double V1,double V2,double V3) { - V3d_View_SetBackgroundColor_1(Type,V1,V2,V3); -} - -private final native void V3d_View_SetBackgroundColor_1(short Type,double V1,double V2,double V3); - -final public void SetBackgroundColor(Quantity_Color Color) { - V3d_View_SetBackgroundColor_2(Color); -} - -private final native void V3d_View_SetBackgroundColor_2(Quantity_Color Color); - -final public void SetBackgroundColor(short Name) { - V3d_View_SetBackgroundColor_3(Name); -} - -private final native void V3d_View_SetBackgroundColor_3(short Name); - -native public final void SetAxis(double X,double Y,double Z,double Vx,double Vy,double Vz); -native public final void SetShadingModel(short Model); -native public final void SetSurfaceDetail(short SurfaceDetail); -native public final void SetTextureEnv(Graphic3d_TextureEnv ATexture); -native public final void SetVisualization(short Mode); -native public final void SetAntialiasingOn(); -native public final void SetAntialiasingOff(); -native public final void SetZClippingDepth(double Depth); -native public final void SetZClippingWidth(double Width); -native public final void SetZClippingType(short Type); -native public final void SetZCueingDepth(double Depth); -native public final void SetZCueingWidth(double Width); -native public final void SetZCueingOn(); -native public final void SetZCueingOff(); -final public void SetLightOn(V3d_Light MyLight) { - V3d_View_SetLightOn_1(MyLight); -} - -private final native void V3d_View_SetLightOn_1(V3d_Light MyLight); - -final public void SetLightOn() { - V3d_View_SetLightOn_2(); -} - -private final native void V3d_View_SetLightOn_2(); - -final public void SetLightOff(V3d_Light MyLight) { - V3d_View_SetLightOff_1(MyLight); -} - -private final native void V3d_View_SetLightOff_1(V3d_Light MyLight); - -final public void SetLightOff() { - V3d_View_SetLightOff_2(); -} - -private final native void V3d_View_SetLightOff_2(); - -native public final boolean IsActiveLight(V3d_Light aLight); -native public final void SetTransparency(boolean AnActivity); -final public void SetPlaneOn(V3d_Plane MyPlane) { - V3d_View_SetPlaneOn_1(MyPlane); -} - -private final native void V3d_View_SetPlaneOn_1(V3d_Plane MyPlane); - -final public void SetPlaneOn() { - V3d_View_SetPlaneOn_2(); -} - -private final native void V3d_View_SetPlaneOn_2(); - -final public void SetPlaneOff(V3d_Plane MyPlane) { - V3d_View_SetPlaneOff_1(MyPlane); -} - -private final native void V3d_View_SetPlaneOff_1(V3d_Plane MyPlane); - -final public void SetPlaneOff() { - V3d_View_SetPlaneOff_2(); -} - -private final native void V3d_View_SetPlaneOff_2(); - -native public final boolean IsActivePlane(V3d_Plane aPlane); -native public final void TriedronDisplay(short APosition,short AColor,double AScale); -native public final void TriedronErase(); -native public final void TriedronEcho(short AType); -native public final void SetFront(); -final public void Rotate(double Ax,double Ay,double Az,boolean Start) { - V3d_View_Rotate_1(Ax,Ay,Az,Start); -} - -private final native void V3d_View_Rotate_1(double Ax,double Ay,double Az,boolean Start); - -final public void Rotate(double Ax,double Ay,double Az,double X,double Y,double Z,boolean Start) { - V3d_View_Rotate_2(Ax,Ay,Az,X,Y,Z,Start); -} - -private final native void V3d_View_Rotate_2(double Ax,double Ay,double Az,double X,double Y,double Z,boolean Start); - -final public void Rotate(short Axe,double Angle,double X,double Y,double Z,boolean Start) { - V3d_View_Rotate_3(Axe,Angle,X,Y,Z,Start); -} - -private final native void V3d_View_Rotate_3(short Axe,double Angle,double X,double Y,double Z,boolean Start); - -final public void Rotate(short Axe,double Angle,boolean Start) { - V3d_View_Rotate_4(Axe,Angle,Start); -} - -private final native void V3d_View_Rotate_4(short Axe,double Angle,boolean Start); - -final public void Rotate(double Angle,boolean Start) { - V3d_View_Rotate_5(Angle,Start); -} - -private final native void V3d_View_Rotate_5(double Angle,boolean Start); - -final public void Move(double Dx,double Dy,double Dz,boolean Start) { - V3d_View_Move_1(Dx,Dy,Dz,Start); -} - -private final native void V3d_View_Move_1(double Dx,double Dy,double Dz,boolean Start); - -final public void Move(short Axe,double Length,boolean Start) { - V3d_View_Move_2(Axe,Length,Start); -} - -private final native void V3d_View_Move_2(short Axe,double Length,boolean Start); - -final public void Move(double Length,boolean Start) { - V3d_View_Move_3(Length,Start); -} - -private final native void V3d_View_Move_3(double Length,boolean Start); - -final public void Translate(double Dx,double Dy,double Dz,boolean Start) { - V3d_View_Translate_1(Dx,Dy,Dz,Start); -} - -private final native void V3d_View_Translate_1(double Dx,double Dy,double Dz,boolean Start); - -final public void Translate(short Axe,double Length,boolean Start) { - V3d_View_Translate_2(Axe,Length,Start); -} - -private final native void V3d_View_Translate_2(short Axe,double Length,boolean Start); - -final public void Translate(double Length,boolean Start) { - V3d_View_Translate_3(Length,Start); -} - -private final native void V3d_View_Translate_3(double Length,boolean Start); - -native public final void Place(int x,int y,double aZoomFactor); -final public void Turn(double Ax,double Ay,double Az,boolean Start) { - V3d_View_Turn_1(Ax,Ay,Az,Start); -} - -private final native void V3d_View_Turn_1(double Ax,double Ay,double Az,boolean Start); - -final public void Turn(short Axe,double Angle,boolean Start) { - V3d_View_Turn_2(Axe,Angle,Start); -} - -private final native void V3d_View_Turn_2(short Axe,double Angle,boolean Start); - -final public void Turn(double Angle,boolean Start) { - V3d_View_Turn_3(Angle,Start); -} - -private final native void V3d_View_Turn_3(double Angle,boolean Start); - -native public final void SetTwist(double Angle); -native public final void SetEye(double X,double Y,double Z); -native public final void SetDepth(double Depth); -final public void SetProj(double Vx,double Vy,double Vz) { - V3d_View_SetProj_1(Vx,Vy,Vz); -} - -private final native void V3d_View_SetProj_1(double Vx,double Vy,double Vz); - -final public void SetProj(short Orientation) { - V3d_View_SetProj_2(Orientation); -} - -private final native void V3d_View_SetProj_2(short Orientation); - -native public final void SetAt(double X,double Y,double Z); -final public void SetUp(double Vx,double Vy,double Vz) { - V3d_View_SetUp_1(Vx,Vy,Vz); -} - -private final native void V3d_View_SetUp_1(double Vx,double Vy,double Vz); - -final public void SetUp(short Orientation) { - V3d_View_SetUp_2(Orientation); -} - -private final native void V3d_View_SetUp_2(short Orientation); - -native public final void SetViewOrientationDefault(); -native public final void ResetViewOrientation(); -native public final void Panning(double Dx,double Dy,double aZoomFactor,boolean Start); -final public void SetCenter(double Xc,double Yc) { - V3d_View_SetCenter_1(Xc,Yc); -} - -private final native void V3d_View_SetCenter_1(double Xc,double Yc); - -final public void SetCenter(int X,int Y) { - V3d_View_SetCenter_2(X,Y); -} - -private final native void V3d_View_SetCenter_2(int X,int Y); - -native public final void SetSize(double Size); -native public final void SetZSize(double Size); -native public final void SetZoom(double Coef,boolean Start); -native public final void SetScale(double Coef); -final public void FitAll(double Coef,boolean FitZ) { - V3d_View_FitAll_1(Coef,FitZ,true); -} - -private final native void V3d_View_FitAll_1(double Coef,boolean FitZ,boolean Update); - -native public final void ZFitAll(double Coef); -final public void FitAll(double Umin,double Vmin,double Umax,double Vmax) { - V3d_View_FitAll_2(Umin,Vmin,Umax,Vmax); -} - -private final native void V3d_View_FitAll_2(double Umin,double Vmin,double Umax,double Vmax); - -native public final void WindowFit(int Xmin,int Ymin,int Xmax,int Ymax); -native public final void SetViewMappingDefault(); -native public final void ResetViewMapping(); -native public final void Reset(); -final public double Convert(int Vp) { - return V3d_View_Convert_1(Vp); -} - -private final native double V3d_View_Convert_1(int Vp); - -final public void Convert(int Xp,int Yp,Standard_Real Xv,Standard_Real Yv) { - V3d_View_Convert_2(Xp,Yp,Xv,Yv); -} - -private final native void V3d_View_Convert_2(int Xp,int Yp,Standard_Real Xv,Standard_Real Yv); - -final public int Convert(double Vv) { - return V3d_View_Convert_3(Vv); -} - -private final native int V3d_View_Convert_3(double Vv); - -final public void Convert(double Xv,double Yv,Standard_Integer Xp,Standard_Integer Yp) { - V3d_View_Convert_4(Xv,Yv,Xp,Yp); -} - -private final native void V3d_View_Convert_4(double Xv,double Yv,Standard_Integer Xp,Standard_Integer Yp); - -final public void Convert(int Xp,int Yp,Standard_Real X,Standard_Real Y,Standard_Real Z) { - V3d_View_Convert_5(Xp,Yp,X,Y,Z); -} - -private final native void V3d_View_Convert_5(int Xp,int Yp,Standard_Real X,Standard_Real Y,Standard_Real Z); - -final public void ConvertToGrid(int Xp,int Yp,Standard_Real Xg,Standard_Real Yg,Standard_Real Zg) { - V3d_View_ConvertToGrid_1(Xp,Yp,Xg,Yg,Zg); -} - -private final native void V3d_View_ConvertToGrid_1(int Xp,int Yp,Standard_Real Xg,Standard_Real Yg,Standard_Real Zg); - -final public void ConvertToGrid(double X,double Y,double Z,Standard_Real Xg,Standard_Real Yg,Standard_Real Zg) { - V3d_View_ConvertToGrid_2(X,Y,Z,Xg,Yg,Zg); -} - -private final native void V3d_View_ConvertToGrid_2(double X,double Y,double Z,Standard_Real Xg,Standard_Real Yg,Standard_Real Zg); - -final public void Convert(double X,double Y,double Z,Standard_Integer Xp,Standard_Integer Yp) { - V3d_View_Convert_6(X,Y,Z,Xp,Yp); -} - -private final native void V3d_View_Convert_6(double X,double Y,double Z,Standard_Integer Xp,Standard_Integer Yp); - -native public final void Project(double X,double Y,double Z,Standard_Real Xp,Standard_Real Yp); -final public void BackgroundColor(short Type,Standard_Real V1,Standard_Real V2,Standard_Real V3) { - V3d_View_BackgroundColor_1(Type,V1,V2,V3); -} - -private final native void V3d_View_BackgroundColor_1(short Type,Standard_Real V1,Standard_Real V2,Standard_Real V3); - -final public Quantity_Color BackgroundColor() { - return V3d_View_BackgroundColor_2(); -} - -private final native Quantity_Color V3d_View_BackgroundColor_2(); - -native public final double Scale(); -native public final void Center(Standard_Real Xc,Standard_Real Yc); -native public final void Size(Standard_Real Width,Standard_Real Height); -native public final double ZSize(); -native public final void Eye(Standard_Real X,Standard_Real Y,Standard_Real Z); -native public final void FocalReferencePoint(Standard_Real X,Standard_Real Y,Standard_Real Z); -native public final void ProjReferenceAxe(int Xpix,int Ypix,Standard_Real XP,Standard_Real YP,Standard_Real ZP,Standard_Real VX,Standard_Real VY,Standard_Real VZ); -native public final double Depth(); -native public final void Proj(Standard_Real Vx,Standard_Real Vy,Standard_Real Vz); -native public final void At(Standard_Real X,Standard_Real Y,Standard_Real Z); -native public final void Up(Standard_Real Vx,Standard_Real Vy,Standard_Real Vz); -native public final double Twist(); -native public final short ShadingModel(); -native public final short SurfaceDetail(); -native public final Graphic3d_TextureEnv TextureEnv(); -native public final boolean Transparency(); -native public final short Visualization(); -native public final boolean Antialiasing(); -native public final boolean ZCueing(Standard_Real Depth,Standard_Real Width); -native public final short ZClipping(Standard_Real Depth,Standard_Real Width); -native public final boolean IfMoreLights(); -native public final void InitActiveLights(); -native public final boolean MoreActiveLights(); -native public final void NextActiveLights(); -native public final V3d_Light ActiveLight(); -native public final boolean IfMorePlanes(); -native public final void InitActivePlanes(); -native public final boolean MoreActivePlanes(); -native public final void NextActivePlanes(); -native public final V3d_Plane ActivePlane(); -native public final V3d_Viewer Viewer(); -native public final boolean IfWindow(); -native public final Aspect_Window Window(); -native public final short Type(); -native public final void Pan(int Dx,int Dy,double aZoomFactor); -final public void Zoom(int X1,int Y1,int X2,int Y2) { - V3d_View_Zoom_1(X1,Y1,X2,Y2); -} - -private final native void V3d_View_Zoom_1(int X1,int Y1,int X2,int Y2); - -final public void Zoom(int X,int Y) { - V3d_View_Zoom_2(X,Y); -} - -private final native void V3d_View_Zoom_2(int X,int Y); - -native public final void StartRotation(int X,int Y,double zRotationThreshold); -native public final void Rotation(int X,int Y); -native public final void SetFocale(double Focale); -native public final double Focale(); -native public final Visual3d_View View(); -native public final boolean TransientManagerBeginDraw(boolean DoubleBuffer,boolean RetainMode); -native public final void TransientManagerClearDraw(); -native public final boolean TransientManagerBeginAddDraw(); -native public final void SetAnimationModeOn(); -native public final void SetAnimationModeOff(); -native public final boolean AnimationModeIsOn(); -native public final void SetAnimationMode(boolean anAnimationFlag,boolean aDegenerationFlag); -native public final boolean AnimationMode(Standard_Boolean isDegenerate); -native public final void SetDegenerateModeOn(); -native public final void SetDegenerateModeOff(); -native public final boolean DegenerateModeIsOn(); -native public final void SetComputedMode(boolean aMode); -native public final boolean ComputedMode(); -native public final void WindowFitAll(int Xmin,int Ymin,int Xmax,int Ymax); -native public void SetPlotter(Graphic3d_Plotter aPlotter); -native public final void Plot(); -native public final void SetGrid(gp_Ax3 aPlane,Aspect_Grid aGrid); -native public final void SetGridGraphicValues(Aspect_Grid aGrid); -native public final void SetGridActivity(boolean aFlag); -native public final double Tumble(int NbImages,boolean AnimationMode); -native public final void ScreenCopy(PlotMgt_PlotterDriver aPlotterDriver,boolean fWhiteBackground,double aScale); -final public boolean Dump(Standard_CString aFile) { - return V3d_View_Dump_1(aFile); -} - -private final native boolean V3d_View_Dump_1(Standard_CString aFile); - -final public boolean Dump(Standard_CString aFile,short aFormat) { - return V3d_View_Dump_2(aFile,aFormat); -} - -private final native boolean V3d_View_Dump_2(Standard_CString aFile,short aFormat); - -native public final Aspect_PixMap ToPixMap(int aWidth,int aHeight,int aCDepth); -native public final void SetProjModel(short amOdel); -native public final short ProjModel(); -native public final void SetBackFacingModel(short aModel); -native public final short BackFacingModel(); -public V3d_View() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/V3d_Viewer.java b/samples/java/java/CASCADESamplesJni/V3d_Viewer.java deleted file mode 100755 index 5706ffd8d3..0000000000 --- a/samples/java/java/CASCADESamplesJni/V3d_Viewer.java +++ /dev/null @@ -1,238 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; -import CASCADESamplesJni.Aspect_GraphicDevice; -import jcas.Standard_ExtString; -import jcas.Standard_CString; -import jcas.Standard_Real; -import CASCADESamplesJni.V3d_TypeOfOrientation; -import CASCADESamplesJni.Quantity_NameOfColor; -import CASCADESamplesJni.V3d_TypeOfVisualization; -import CASCADESamplesJni.V3d_TypeOfShadingModel; -import CASCADESamplesJni.V3d_TypeOfUpdate; -import jcas.Standard_Boolean; -import CASCADESamplesJni.V3d_TypeOfSurfaceDetail; -import jcas.Standard_Short; -import CASCADESamplesJni.V3d_View; -import CASCADESamplesJni.V3d_OrthographicView; -import CASCADESamplesJni.V3d_PerspectiveView; -import CASCADESamplesJni.Quantity_TypeOfColor; -import CASCADESamplesJni.Quantity_Color; -import CASCADESamplesJni.V3d_TypeOfView; -import CASCADESamplesJni.gp_Ax3; -import CASCADESamplesJni.V3d_Light; -import CASCADESamplesJni.V3d_Plane; -import CASCADESamplesJni.Visual3d_ViewManager; -import CASCADESamplesJni.Aspect_GridType; -import CASCADESamplesJni.Aspect_GridDrawMode; -import CASCADESamplesJni.Graphic3d_AspectMarker3d; -import CASCADESamplesJni.Aspect_Grid; -import jcas.Standard_Integer; - - -public class V3d_Viewer extends CASCADESamplesJni.Viewer_Viewer { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public V3d_Viewer(Aspect_GraphicDevice Device,String aName,Standard_CString aDomain,double ViewSize,short ViewProj,short ViewBackground,short Visualization,short ShadingModel,short UpdateMode,boolean ComputedMode,boolean DefaultComputedMode,short SurfaceDetail) { - V3d_Viewer_Create_0(Device,aName,aDomain,ViewSize,ViewProj,ViewBackground,Visualization,ShadingModel,UpdateMode,ComputedMode,DefaultComputedMode,SurfaceDetail); -} - -private final native void V3d_Viewer_Create_0(Aspect_GraphicDevice Device,String aName,Standard_CString aDomain,double ViewSize,short ViewProj,short ViewBackground,short Visualization,short ShadingModel,short UpdateMode,boolean ComputedMode,boolean DefaultComputedMode,short SurfaceDetail); - -native public final V3d_View CreateView(); -native public final V3d_OrthographicView DefaultOrthographicView(); -native public final V3d_PerspectiveView DefaultPerspectiveView(); -final public void SetViewOn() { - V3d_Viewer_SetViewOn_1(); -} - -private final native void V3d_Viewer_SetViewOn_1(); - -final public void SetViewOn(V3d_View View) { - V3d_Viewer_SetViewOn_2(View); -} - -private final native void V3d_Viewer_SetViewOn_2(V3d_View View); - -final public void SetViewOff() { - V3d_Viewer_SetViewOff_1(); -} - -private final native void V3d_Viewer_SetViewOff_1(); - -final public void SetViewOff(V3d_View View) { - V3d_Viewer_SetViewOff_2(View); -} - -private final native void V3d_Viewer_SetViewOff_2(V3d_View View); - -native public final void Update(); -native public final void UpdateLights(); -native public final void Redraw(); -native public final void Remove(); -native public final void Erase(); -native public final void UnHighlight(); -final public void SetDefaultBackgroundColor(short Type,double V1,double V2,double V3) { - V3d_Viewer_SetDefaultBackgroundColor_1(Type,V1,V2,V3); -} - -private final native void V3d_Viewer_SetDefaultBackgroundColor_1(short Type,double V1,double V2,double V3); - -final public void SetDefaultBackgroundColor(short Name) { - V3d_Viewer_SetDefaultBackgroundColor_2(Name); -} - -private final native void V3d_Viewer_SetDefaultBackgroundColor_2(short Name); - -final public void SetDefaultBackgroundColor(Quantity_Color Color) { - V3d_Viewer_SetDefaultBackgroundColor_3(Color); -} - -private final native void V3d_Viewer_SetDefaultBackgroundColor_3(Quantity_Color Color); - -native public final void SetDefaultViewSize(double Size); -native public final void SetDefaultViewProj(short Orientation); -native public final void SetDefaultVisualization(short Type); -native public final void SetZBufferManagment(boolean Automatic); -native public final boolean ZBufferManagment(); -native public final void SetDefaultShadingModel(short Type); -native public final void SetDefaultSurfaceDetail(short Type); -native public final void SetDefaultAngle(double Angle); -native public final void SetUpdateMode(short Mode); -native public final void SetDefaultTypeOfView(short Type); -native public final void SetPrivilegedPlane(gp_Ax3 aPlane); -native public final gp_Ax3 PrivilegedPlane(); -native public final void DisplayPrivilegedPlane(boolean OnOff,double aSize); -final public void SetLightOn(V3d_Light MyLight) { - V3d_Viewer_SetLightOn_1(MyLight); -} - -private final native void V3d_Viewer_SetLightOn_1(V3d_Light MyLight); - -final public void SetLightOn() { - V3d_Viewer_SetLightOn_2(); -} - -private final native void V3d_Viewer_SetLightOn_2(); - -final public void SetLightOff(V3d_Light MyLight) { - V3d_Viewer_SetLightOff_1(MyLight); -} - -private final native void V3d_Viewer_SetLightOff_1(V3d_Light MyLight); - -final public void SetLightOff() { - V3d_Viewer_SetLightOff_2(); -} - -private final native void V3d_Viewer_SetLightOff_2(); - -native public final void DelLight(V3d_Light MyLight); -native public final void SetCurrentSelectedLight(V3d_Light TheLight); -native public final void ClearCurrentSelectedLight(); -final public void DefaultBackgroundColor(short Type,Standard_Real V1,Standard_Real V2,Standard_Real V3) { - V3d_Viewer_DefaultBackgroundColor_1(Type,V1,V2,V3); -} - -private final native void V3d_Viewer_DefaultBackgroundColor_1(short Type,Standard_Real V1,Standard_Real V2,Standard_Real V3); - -final public Quantity_Color DefaultBackgroundColor() { - return V3d_Viewer_DefaultBackgroundColor_2(); -} - -private final native Quantity_Color V3d_Viewer_DefaultBackgroundColor_2(); - -native public final double DefaultViewSize(); -native public final short DefaultViewProj(); -native public final short DefaultVisualization(); -native public final short DefaultShadingModel(); -native public final short DefaultSurfaceDetail(); -native public final double DefaultAngle(); -native public final short UpdateMode(); -native public final boolean IfMoreViews(); -native public final void InitActiveViews(); -native public final boolean MoreActiveViews(); -native public final void NextActiveViews(); -native public final V3d_View ActiveView(); -native public final boolean LastActiveView(); -native public final void InitDefinedViews(); -native public final boolean MoreDefinedViews(); -native public final void NextDefinedViews(); -native public final V3d_View DefinedView(); -native public final void InitActiveLights(); -native public final boolean MoreActiveLights(); -native public final void NextActiveLights(); -native public final V3d_Light ActiveLight(); -native public final void InitDefinedLights(); -native public final boolean MoreDefinedLights(); -native public final void NextDefinedLights(); -native public final V3d_Light DefinedLight(); -native public final void InitDefinedPlanes(); -native public final boolean MoreDefinedPlanes(); -native public final void NextDefinedPlanes(); -native public final V3d_Plane DefinedPlane(); -native public final Visual3d_ViewManager Viewer(); -native public final V3d_Light CurrentSelectedLight(); -native public final boolean IsGlobalLight(V3d_Light TheLight); -native public final boolean ComputedMode(); -native public final boolean DefaultComputedMode(); -native public final void ActivateGrid(short aGridType,short aGridDrawMode); -native public final void DeactivateGrid(); -final public void SetGridEcho(boolean showGrid) { - V3d_Viewer_SetGridEcho_1(showGrid); -} - -private final native void V3d_Viewer_SetGridEcho_1(boolean showGrid); - -final public void SetGridEcho(Graphic3d_AspectMarker3d aMarker) { - V3d_Viewer_SetGridEcho_2(aMarker); -} - -private final native void V3d_Viewer_SetGridEcho_2(Graphic3d_AspectMarker3d aMarker); - -native public final boolean GridEcho(); -final public boolean IsActive() { - return V3d_Viewer_IsActive_1(); -} - -private final native boolean V3d_Viewer_IsActive_1(); - -native public final Aspect_Grid Grid(); -native public final short GridType(); -native public final short GridDrawMode(); -native public final void RectangularGridValues(Standard_Real XOrigin,Standard_Real YOrigin,Standard_Real XStep,Standard_Real YStep,Standard_Real RotationAngle); -native public final void SetRectangularGridValues(double XOrigin,double YOrigin,double XStep,double YStep,double RotationAngle); -native public final void CircularGridValues(Standard_Real XOrigin,Standard_Real YOrigin,Standard_Real RadiusStep,Standard_Integer DivisionNumber,Standard_Real RotationAngle); -native public final void SetCircularGridValues(double XOrigin,double YOrigin,double RadiusStep,int DivisionNumber,double RotationAngle); -native public final void CircularGridGraphicValues(Standard_Real Radius,Standard_Real OffSet); -native public final void SetCircularGridGraphicValues(double Radius,double OffSet); -native public final void RectangularGridGraphicValues(Standard_Real XSize,Standard_Real YSize,Standard_Real OffSet); -native public final void SetRectangularGridGraphicValues(double XSize,double YSize,double OffSet); -native public final void SetDefaultLights(); -native public final void Init(); -public V3d_Viewer() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Viewer_View.java b/samples/java/java/CASCADESamplesJni/Viewer_View.java deleted file mode 100755 index 05aaa7a065..0000000000 --- a/samples/java/java/CASCADESamplesJni/Viewer_View.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; -import jcas.Standard_Boolean; -import jcas.Standard_Integer; -import jcas.Standard_Real; - - -public class Viewer_View extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -native public void Update(); -native public final boolean SetImmediateUpdate(boolean onoff); -native public void WindowFit(int Xmin,int Ymin,int Xmax,int Ymax); -native public void Place(int x,int y,double aZoomFactor); -public Viewer_View() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Viewer_Viewer.java b/samples/java/java/CASCADESamplesJni/Viewer_Viewer.java deleted file mode 100755 index 163b8f38fd..0000000000 --- a/samples/java/java/CASCADESamplesJni/Viewer_Viewer.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; -import CASCADESamplesJni.Aspect_GraphicDevice; -import jcas.Standard_ExtString; -import jcas.Standard_CString; - - -public class Viewer_Viewer extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -native public void Update(); -native public final Aspect_GraphicDevice Device(); -native public final String NextName(); -native public final Standard_CString Domain(); -public Viewer_Viewer() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Visual3d_View.java b/samples/java/java/CASCADESamplesJni/Visual3d_View.java deleted file mode 100755 index 5b1004dfcb..0000000000 --- a/samples/java/java/CASCADESamplesJni/Visual3d_View.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class Visual3d_View extends CASCADESamplesJni.Graphic3d_DataStructureManager { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Visual3d_View() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/Visual3d_ViewManager.java b/samples/java/java/CASCADESamplesJni/Visual3d_ViewManager.java deleted file mode 100755 index e506265e2f..0000000000 --- a/samples/java/java/CASCADESamplesJni/Visual3d_ViewManager.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - -import jcas.Object; - - -public class Visual3d_ViewManager extends CASCADESamplesJni.Graphic3d_StructureManager { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public Visual3d_ViewManager() { -} - - - - -} diff --git a/samples/java/java/CASCADESamplesJni/gp_Ax3.java b/samples/java/java/CASCADESamplesJni/gp_Ax3.java deleted file mode 100755 index 06b876008a..0000000000 --- a/samples/java/java/CASCADESamplesJni/gp_Ax3.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package CASCADESamplesJni; - - - -public class gp_Ax3 extends CASCADESamplesJni.Standard_Storable { - - static { - System.loadLibrary("CASCADESamplesJni"); - } - -public gp_Ax3() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/CASCADEView2d.java b/samples/java/java/CASCADEView2d.java deleted file mode 100755 index 0338f53767..0000000000 --- a/samples/java/java/CASCADEView2d.java +++ /dev/null @@ -1,371 +0,0 @@ - -//Title: OpenCASCADE Samples -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface group -//Company: Matra Datavision -//Description: - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import jcas.*; -import CASCADESamplesJni.*; -import util.*; - - -public class CASCADEView2d extends ViewCanvas - implements FocusListener -{ - V2d_Viewer myViewer = null; - V2d_View myView = null; - short myBackColor = Quantity_NameOfColor.Quantity_NOC_AQUAMARINE4; - - private double currScale = 1.0; - - //-----------------------------------------------------------// - // 2d Grid management - //-----------------------------------------------------------// - private int gridState = 0; // 0 - no active grid - // 1 - active rectangular grid - // 2 - active circular grid - - // Rectangular grid - private RealSpin ctlXOrigin = new RealSpin(); - private RealSpin ctlYOrigin = new RealSpin(); - private RealSpin ctlXStep = new RealSpin(); - private RealSpin ctlYStep = new RealSpin(); - private RealSpin ctlAngle = new RealSpin(); - private JPanel RectGridPane = new JPanel(new GridLayout(5, 2, 0, 4)); - - // Circular grid - private RealSpin ctlXOrigC = new RealSpin(); - private RealSpin ctlYOrigC = new RealSpin(); - private RealSpin ctlRadStep = new RealSpin(); - private IntegerSpin ctlDivision = new IntegerSpin(); - private RealSpin ctlAngleRot = new RealSpin(); - private JPanel CircGridPane = new JPanel(new GridLayout(5, 2, 0, 4)); - - // Buttons - private JButton btnClose = new JButton(resGui.getString("BT_CLOSE")); - private JButton btnHelp = new JButton(resGui.getString("BT_HELP")); - private JPanel ButtonsPane = new JPanel(); - private JDialog RectGridDlg= null; - private JDialog CircGridDlg = null; - - -//=======================================================================// -// Constructor // -//=======================================================================// - public CASCADEView2d(V2d_Viewer viewer) - { - myViewer = viewer; - createDialogs(); - } - - private void createDialogs() - { - // Rectangular - RectGridPane.setBorder(BorderFactory.createEmptyBorder(2, 8, 2, 8)); - RectGridPane.add(new JLabel(resGui.getString("TXT_XORIGIN"))); - ctlXOrigin.addFocusListener(this); - RectGridPane.add(ctlXOrigin); - - RectGridPane.add(new JLabel(resGui.getString("TXT_YORIGIN"))); - ctlYOrigin.addFocusListener(this); - RectGridPane.add(ctlYOrigin); - - RectGridPane.add(new JLabel(resGui.getString("TXT_XSTEP"))); - ctlXStep.addFocusListener(this); - RectGridPane.add(ctlXStep); - - RectGridPane.add(new JLabel(resGui.getString("TXT_YSTEP"))); - ctlYStep.addFocusListener(this); - RectGridPane.add(ctlYStep); - - RectGridPane.add(new JLabel(resGui.getString("TXT_ANGLE"))); - ctlAngle.addFocusListener(this); - RectGridPane.add(ctlAngle); - - // Circular - CircGridPane.setBorder(BorderFactory.createEmptyBorder(2, 8, 2, 8)); - CircGridPane.add(new JLabel(resGui.getString("TXT_XORIGIN"))); - ctlXOrigC.addFocusListener(this); - CircGridPane.add(ctlXOrigC); - - CircGridPane.add(new JLabel(resGui.getString("TXT_YORIGIN"))); - ctlYOrigC.addFocusListener(this); - CircGridPane.add(ctlYOrigC); - - CircGridPane.add(new JLabel(resGui.getString("TXT_RADSTEP"))); - ctlRadStep.addFocusListener(this); - CircGridPane.add(ctlRadStep); - - CircGridPane.add(new JLabel(resGui.getString("TXT_DIVISION"))); - ctlDivision.addFocusListener(this); - CircGridPane.add(ctlDivision); - - CircGridPane.add(new JLabel(resGui.getString("TXT_ANGLE"))); - ctlAngleRot.addFocusListener(this); - CircGridPane.add(ctlAngleRot); - - // Buttons - ButtonsPane.setBorder(BorderFactory.createCompoundBorder( - BorderFactory.createMatteBorder(1,0,0,0,SystemColor.controlShadow), - BorderFactory.createMatteBorder(1,0,0,0,SystemColor.controlLtHighlight))); - btnClose.setActionCommand("CloseGridDlg"); - btnClose.addActionListener(this); - ButtonsPane.add(btnClose); - btnHelp.setActionCommand("HelpGridDlg"); - btnHelp.addActionListener(this); - ButtonsPane.add(btnHelp); - } - - -//=======================================================================// -// Redefined operations -//=======================================================================// - /** - * Creates a new CASCADE V2d_View object and - * sets a handle of native window to CASCADE view. - */ - public V2d_View createView2d(V2d_Viewer viewer, int hiwin, int lowin) - { - return null; - } - -//=======================================================================// -// public void SetWindow() -// { -// int windowHandle = getWinData(); -// short hi, lo; -// lo = (short) windowHandle; -// hi = (short) (windowHandle >> 16); - -// myView = createView2d(myViewer, hi, lo); -// if (myView != null) -// myView.Fitall(); -// } - -//=======================================================================// - public void FitAll() - { - if (myView != null) - myView.Fitall(); - } - -//=======================================================================// - public void WindowFit(Rectangle rect) - { - if (myView != null) - myView.WindowFit(rect.x, rect.y, rect.x + rect.width, rect.y + rect.height); - } - -//=======================================================================// - public void Zoom(int x0, int y0, int x, int y) - { - if (myView != null) - myView.Zoom(x0, y0, x, y, 0.005); - } - -//=======================================================================// - public void ActivateGlobalPanning() - { - super.ActivateGlobalPanning(); - if (myView != null) - { - currScale = myView.Zoom(); - myView.Fitall(); - } - } - -//=======================================================================// - public void Pan(int dx, int dy) - { - if (myView != null) - myView.Pan(dx, dy); - } - -//=======================================================================// - public void SetCenter(int x, int y) - { - if (myView != null) - myView.Place(x, y, currScale); - } - -//=======================================================================// - public void ResetView() - { - if (myView != null) - myView.Reset(); - } - -//=======================================================================// - public void EditGrid() - { - if (RectGridDlg != null) return; - if (CircGridDlg != null) return; - - if (gridState == 1) - { - Standard_Real XOrigin = new Standard_Real(), - YOrigin = new Standard_Real(), - XStep = new Standard_Real(), - YStep = new Standard_Real(), - aAngle = new Standard_Real(); - myViewer.RectangularGridValues(XOrigin, YOrigin, XStep, YStep, aAngle); - - ctlXOrigin.setValue(XOrigin.GetValue()); - ctlYOrigin.setValue(YOrigin.GetValue()); - ctlXStep.setValue(XStep.GetValue()); - ctlYStep.setValue(YStep.GetValue()); - ctlAngle.setValue(aAngle.GetValue()); - - Frame mainFrame = SamplesStarter.getFrame(); - RectGridDlg = new JDialog(mainFrame, resGui.getString("DLG_RECTEDIT"), true); - RectGridDlg.setSize(180, 200); - RectGridDlg.getContentPane().setLayout(new BorderLayout()); - RectGridDlg.getContentPane().add(RectGridPane, BorderLayout.CENTER); - RectGridDlg.getContentPane().add(ButtonsPane, BorderLayout.SOUTH); - - Point aLoc = mainFrame.getLocation(); - RectGridDlg.setLocation(aLoc.x + mainFrame.getWidth()/2 - RectGridDlg.getWidth()/2, - aLoc.y + mainFrame.getHeight()/2 - RectGridDlg.getHeight()/2); - RectGridDlg.show(); - } - else if (gridState == 2) - { - Standard_Real XOrigin = new Standard_Real(), - YOrigin = new Standard_Real(), - RadStep = new Standard_Real(), - aAngle = new Standard_Real(); - Standard_Integer DivN = new Standard_Integer(); - myViewer.CircularGridValues(XOrigin, YOrigin, RadStep, DivN, aAngle); - - ctlXOrigC.setValue(XOrigin.GetValue()); - ctlYOrigC.setValue(YOrigin.GetValue()); - ctlRadStep.setValue(RadStep.GetValue()); - ctlDivision.setValue(DivN.GetValue()); - ctlAngleRot.setValue(aAngle.GetValue()); - - Frame mainFrame = SamplesStarter.getFrame(); - CircGridDlg = new JDialog(mainFrame, resGui.getString("DLG_CIRCEDIT"), true); - CircGridDlg.setSize(180, 200); - CircGridDlg.getContentPane().setLayout(new BorderLayout()); - CircGridDlg.getContentPane().add(CircGridPane, BorderLayout.CENTER); - CircGridDlg.getContentPane().add(ButtonsPane, BorderLayout.SOUTH); - - Point aLoc = mainFrame.getLocation(); - CircGridDlg.setLocation(aLoc.x + mainFrame.getWidth()/2 - CircGridDlg.getWidth()/2, - aLoc.y + mainFrame.getHeight()/2 - CircGridDlg.getHeight()/2); - CircGridDlg.show(); - } - } - -//=======================================================================// - public void EraseGrid() - { - myViewer.DeactivateGrid(); - gridState = 0; - } - -//=======================================================================// - public void ActivateGrid(String type) - { - if (type.equals("RectLine")) - { - myViewer.ActivateGrid(Aspect_GridType.Aspect_GT_Rectangular, - Aspect_GridDrawMode.Aspect_GDM_Lines); - gridState = 1; - } - else if (type.equals("RectPoint")) - { - myViewer.ActivateGrid(Aspect_GridType.Aspect_GT_Rectangular, - Aspect_GridDrawMode.Aspect_GDM_Points); - gridState = 1; - } - else if (type.equals("CircLine")) - { - myViewer.ActivateGrid(Aspect_GridType.Aspect_GT_Circular, - Aspect_GridDrawMode.Aspect_GDM_Lines); - gridState = 2; - } - else if (type.equals("CircPoint")) - { - myViewer.ActivateGrid(Aspect_GridType.Aspect_GT_Circular, - Aspect_GridDrawMode.Aspect_GDM_Points); - gridState = 2; - } - } - -//=======================================================================// -// public void paint(Graphics g) -// { -// if (myView != null) -// { -// if (needResize) -// { -// myView.MustBeResized(V2d_TypeOfWindowResizingEffect.V2d_TOWRE_ENLARGE_OBJECTS); -// needResize = false; -// } -// myView.Update(); -// } -// super.paint(g); -// } - public native void paint(Graphics g); - -//=======================================================================// - public V2d_View getView() - { - return myView; - } - - -//=======================================================================// -// ActionListener // -//=======================================================================// - public void actionPerformed(ActionEvent e) - { - String nameAction = e.getActionCommand(); - if (nameAction.equals("CloseGridDlg")) - { - if (gridState == 1) - { - RectGridDlg.dispose(); - RectGridDlg = null; - } - else if (gridState == 2) - { - CircGridDlg.dispose(); - CircGridDlg = null; - } - } - else - super.actionPerformed(e); - } - -//=======================================================================// -// FocusListener // -//=======================================================================// - public void focusGained(FocusEvent e) - { - } - - public void focusLost(FocusEvent e) - { - if (RectGridDlg != null) - myViewer.SetRectangularGridValues(ctlXOrigin.getValue(), - ctlYOrigin.getValue(), - ctlXStep.getValue(), - ctlYStep.getValue(), - ctlAngle.getValue()); - if (CircGridDlg != null) - myViewer.SetCircularGridValues(ctlXOrigC.getValue(), - ctlYOrigC.getValue(), - ctlRadStep.getValue(), - ctlDivision.getValue(), - ctlAngleRot.getValue()); - } - - -} diff --git a/samples/java/java/CASCADEView3d.java b/samples/java/java/CASCADEView3d.java deleted file mode 100755 index cf74be9bc2..0000000000 --- a/samples/java/java/CASCADEView3d.java +++ /dev/null @@ -1,223 +0,0 @@ - -//Title: OpenCASCADE Samples -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface group -//Company: Matra Datavision -//Description: - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import jcas.*; -import CASCADESamplesJni.*; -import util.*; - -public class CASCADEView3d extends ViewCanvas -{ - private V3d_Viewer myViewer = null; - private V3d_View myView = null; - - private double currScale = 1.0; - private boolean degenerated = true; - -//=======================================================================// -// Constructor // -//=======================================================================// - public CASCADEView3d(V3d_Viewer viewer) - { - myViewer = viewer; - myView = myViewer.CreateView(); - } - -//=======================================================================// -// Redefined operations -//=======================================================================// - /** Sets a handle of native window to CASCADE view */ -// public void setWindow3d(V3d_View view, int hiwin, int lowin) -// { -// } - -//=======================================================================// -// public void SetWindow() -// { -// int windowHandle = getWinData(); -// short hi, lo; -// lo = (short) windowHandle; -// hi = (short) (windowHandle >> 16); -// setWindow3d(myView, hi, lo); -// } - -//=======================================================================// - public void FitAll() - { - if (myView != null) - { - myView.FitAll(0.01, true); - myView.ZFitAll(0.0); - } - } - -//=======================================================================// - public void WindowFit(Rectangle rect) - { - if (myView != null) - myView.WindowFit(rect.x, rect.y, rect.x + rect.width, rect.y + rect.height); - } - -//=======================================================================// - public void Zoom(int x0, int y0, int x, int y) - { - if (myView != null) - myView.Zoom(x0, y0, x, y); - } - -//=======================================================================// - public void ActivateGlobalPanning() - { - super.ActivateGlobalPanning(); - if (myView != null) - { - currScale = myView.Scale(); - myView.FitAll(0.01, false); - } - } - -//=======================================================================// - public void Pan(int dx, int dy) - { - if (myView != null) - myView.Pan(dx, dy, 1.0); - } - -//=======================================================================// - public void SetCenter(int x, int y) - { - if (myView != null) - myView.Place(x, y, currScale); - } - -//=======================================================================// - public void StartRotation(int x0, int y0) - { - if (myView != null) - { - degenerated = myView.DegenerateModeIsOn(); - myView.SetDegenerateModeOn(); - myView.StartRotation(x0, y0, 0.0); - } - } - -//=======================================================================// - public void Rotate(int x, int y) - { - if (myView != null) - myView.Rotation(x, y); - } - -//=======================================================================// - public void EndRotation() - { - if (myView != null) - if (!degenerated) - myView.SetDegenerateModeOff(); - } - -//=======================================================================// - public void SetProjection(String type) - { - if (myView != null) - { - if (type.equals("Axo")) - myView.SetProj(V3d_TypeOfOrientation.V3d_XposYnegZpos); - else if (type.equals("Front")) - myView.SetProj(V3d_TypeOfOrientation.V3d_Yneg); - else if (type.equals("Top")) - myView.SetProj(V3d_TypeOfOrientation.V3d_Zpos); - else if (type.equals("Left")) - myView.SetProj(V3d_TypeOfOrientation.V3d_Xneg); - else if (type.equals("Back")) - myView.SetProj(V3d_TypeOfOrientation.V3d_Ypos); - else if (type.equals("Right")) - myView.SetProj(V3d_TypeOfOrientation.V3d_Xpos); - else if (type.equals("Bottom")) - myView.SetProj(V3d_TypeOfOrientation.V3d_Zneg); - } - } - -//=======================================================================// - public void SetDegenerateMode(boolean isOn) - { - if (myView != null) - { - if (isOn) - myView.SetDegenerateModeOn(); - else - myView.SetDegenerateModeOff(); - } - } - -//=======================================================================// - public void ResetView() - { - if (myView != null) - myView.Reset(); - } - -//=======================================================================// - public Color GetBackgroundColor() - { - if (myView != null) - { - Standard_Real aRed = new Standard_Real(); - Standard_Real aGreen = new Standard_Real(); - Standard_Real aBlue = new Standard_Real(); - - myView.BackgroundColor(Quantity_TypeOfColor.Quantity_TOC_RGB, aRed, aGreen, aBlue); - - int red = (int) (aRed.GetValue()*255); - int green = (int) (aGreen.GetValue()*255); - int blue = (int) (aBlue.GetValue()*255); - - return new Color(red, green, blue); - } - else - return super.GetBackgroundColor(); - } - -//=======================================================================// - public void SetBackgroundColor(Color color) - { - if (myView != null) - { - myView.SetBackgroundColor(Quantity_TypeOfColor.Quantity_TOC_RGB, - color.getRed()/255., color.getGreen()/255., - color.getBlue()/255.); - myView.Update(); - } - } - -//=======================================================================// - - public native void paint (Graphics g); -// commented -// public void paint(Graphics g) -// { -// if (myView != null) -// { -// if (needResize) -// { -// myView.MustBeResized(); -// needResize = false; -// } -// myView.Redraw(); -// } -// super.paint(g); -// } - -//=======================================================================// - public V3d_View getView() - { - return myView; - } -} diff --git a/samples/java/java/DeviationDlg.java b/samples/java/java/DeviationDlg.java deleted file mode 100755 index 1e5034c0a6..0000000000 --- a/samples/java/java/DeviationDlg.java +++ /dev/null @@ -1,101 +0,0 @@ - -//Title: AISDisplayMode sample -//Version: -//Copyright: Copyright (c) 1999 -//Author: -//Company: Matra Datavision -//Description: - -import java.awt.*; -import java.awt.event.*; -import java.util.*; -import java.math.*; -import javax.swing.*; -import javax.swing.event.*; -import util.*; - - -public class DeviationDlg extends StandardDlg -{ - //-----------------------------------------------------------// - // GUI components - //-----------------------------------------------------------// - JSlider sldDeviation; - - private int myValue = 1; - private boolean isOK = false; - -//=======================================================================// -// Construction -//=======================================================================// - public DeviationDlg(Frame parent, int value) - { - super(parent, "Deviation Coefficient", true, true, false, true); - myValue = value; - - InitDlg(); - - sldDeviation.setValue(myValue); - - pack(); - } - -//********************************************************************** - private void InitDlg() - { - JPanel aPane = new JPanel(new GridBagLayout()); - - sldDeviation = new JSlider(0, 100, 26); - aPane.add(sldDeviation, new GridBagConstraints(0, 0, 3, 1, 0.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.NONE, - new Insets(5, 0, 5, 0), 0, 0)); - - aPane.add(new JLabel("Fine"), new GridBagConstraints(0, 1, 1, 1, 1.0, 1.0, - GridBagConstraints.WEST, GridBagConstraints.NONE, - new Insets(5, 5, 5, 5), 0, 0)); - - aPane.add(new JLabel("Default"), new GridBagConstraints(1, 1, 1, 1, 1.0, 0.0, - GridBagConstraints.CENTER, GridBagConstraints.NONE, - new Insets(5, 5, 5, 5), 0, 0)); - - aPane.add(new JLabel("Unpolished"), new GridBagConstraints(2, 1, 1, 1, 1.0, 0.0, - GridBagConstraints.EAST, GridBagConstraints.NONE, - new Insets(5, 5, 5, 5), 0, 0)); - - aPane.setBorder(BorderFactory.createEmptyBorder(5, 7, 5, 7)); - ControlsPanel.setLayout(new BorderLayout()); - ControlsPanel.add(aPane, BorderLayout.CENTER); - pack(); - setResizable(false); - } - -//********************************************************************** - public void OkAction() - { - myValue = sldDeviation.getValue(); - - isOK = true; - dispose(); - } - -//********************************************************************** - public void CancelAction() - { - isOK = false; - dispose(); - } - - -//********************************************************************** - public int getValue() - { - return myValue; - } - -//********************************************************************** - public boolean isOK() - { - return isOK; - } - -} diff --git a/samples/java/java/HLRDlg.java b/samples/java/java/HLRDlg.java deleted file mode 100755 index b138cafe9b..0000000000 --- a/samples/java/java/HLRDlg.java +++ /dev/null @@ -1,519 +0,0 @@ - -//Title: Open CASCADE Technology Samples -//Version: -//Copyright: Copyright (c) 1999 -//Author: Natalia Kopnova -//Company: Matra Datavision (Nizhny Novgorod branch) -//Description: - - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import javax.swing.border.*; -import java.util.*; -import CASCADESamplesJni.*; -import SampleHLRJni.*; -import util.*; - -public class HLRDlg extends JDialog - implements ActionListener, - FocusListener -{ - private V3d_Viewer myViewer; - private AIS_InteractiveContext myAISContext; - - - //-----------------------------------------------------------// - // Resources - //-----------------------------------------------------------// - static private ResourceBundle res = ResourceBundle.getBundle("properties.ViewerIcon"); - - // Projection - static private ImageIcon imgTop = new ImageIcon(res.getString("IC_TOP")); - static private ImageIcon imgBottom = new ImageIcon(res.getString("IC_BOTTOM")); - static private ImageIcon imgLeft = new ImageIcon(res.getString("IC_LEFT")); - static private ImageIcon imgRight = new ImageIcon(res.getString("IC_RIGHT")); - static private ImageIcon imgFront = new ImageIcon(res.getString("IC_FRONT")); - static private ImageIcon imgBack = new ImageIcon(res.getString("IC_BACK")); - static private ImageIcon imgAxo = new ImageIcon(res.getString("IC_AXO")); - - //-----------------------------------------------------------// - // GUI components - //-----------------------------------------------------------// - CASCADEView3d viewPort; - JRadioButton rbDefault; - JRadioButton rbVisibleSharpEdges, rbVisibleSmoothEdges, - rbVisibleSewingEdges, rbVisibleApparentContour; - JCheckBox chkDrawHidden, chkDegenerateMode; - JRadioButton rbHiddenSharpEdges, rbHiddenSmoothEdges, rbHiddenSewingEdges, - rbHiddenApparentContour; - JRadioButton rbVisibleIsoParam, rbHiddenIsoParam; - JRadioButton rbPolyAlgo, rbAlgo; - IntegerField txtNbIsos; - JButton btnUpdate; - - boolean drawHidden = true; - boolean algoMode = false; - int displayMode = 0; - boolean isShape = false; - - -//=======================================================================// -// Construction -//=======================================================================// - public HLRDlg(Frame frame) - { - super(frame, "Choose Shapes and Projector", true); - try - { - jbInit(); - pack(); - } - catch(Exception e) - { - e.printStackTrace(); - } - } - - private void jbInit() throws Exception - { - getContentPane().setLayout(new BorderLayout(5, 5)); - - ButtonGroup group; - JPanel pane; - - group = new ButtonGroup(); - rbDefault = new JRadioButton("Default", true); - rbDefault.setMargin(new Insets(0, 0, 10, 10)); - rbDefault.setActionCommand("Default"); - rbDefault.addActionListener(this); - group.add(rbDefault); - getContentPane().add(rbDefault, BorderLayout.NORTH); - - JPanel mainPane = new JPanel(new GridBagLayout()); - pane = new JPanel(new GridLayout(0, 1, 5, 0)); - pane.setBorder(new TitledBorder(BorderFactory.createEtchedBorder(), - " Visible ")); - - rbVisibleSharpEdges = new JRadioButton("Sharp Edges", false); - rbVisibleSharpEdges.setMargin(new Insets(0, 5, 0, 0)); - rbVisibleSharpEdges.setActionCommand("VisibleSharpEdges"); - rbVisibleSharpEdges.addActionListener(this); - group.add(rbVisibleSharpEdges); - pane.add(rbVisibleSharpEdges); - - rbVisibleSmoothEdges = new JRadioButton("Smooth Edges", false); - rbVisibleSmoothEdges.setMargin(new Insets(0, 5, 0, 0)); - rbVisibleSmoothEdges.setActionCommand("VisibleSmoothEdges"); - rbVisibleSmoothEdges.addActionListener(this); - group.add(rbVisibleSmoothEdges); - pane.add(rbVisibleSmoothEdges); - - rbVisibleSewingEdges = new JRadioButton("Sewing Edges", false); - rbVisibleSewingEdges.setMargin(new Insets(0, 5, 0, 0)); - rbVisibleSewingEdges.setActionCommand("VisibleSewingEdges"); - rbVisibleSewingEdges.addActionListener(this); - group.add(rbVisibleSewingEdges); - pane.add(rbVisibleSewingEdges); - - rbVisibleApparentContour = new JRadioButton("Apparent Contour", false); - rbVisibleApparentContour.setMargin(new Insets(0, 5, 0, 0)); - rbVisibleApparentContour.setActionCommand("VisibleApparentContour"); - rbVisibleApparentContour.addActionListener(this); - group.add(rbVisibleApparentContour); - pane.add(rbVisibleApparentContour); - - rbVisibleIsoParam = new JRadioButton("Iso parametrics", false); - rbVisibleIsoParam.setMargin(new Insets(0, 5, 5, 0)); - rbVisibleIsoParam.setEnabled(false); - rbVisibleIsoParam.setActionCommand("VisibleIsoParam"); - rbVisibleIsoParam.addActionListener(this); - group.add(rbVisibleIsoParam); - pane.add(rbVisibleIsoParam); - mainPane.add(pane, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.5, - GridBagConstraints.NORTH, GridBagConstraints.BOTH, - new Insets(5, 5, 5, 5), 0, 0)); - - chkDrawHidden = new JCheckBox("Draw Hidden Lines", drawHidden); - chkDrawHidden.setActionCommand("DrawHiddenLines"); - chkDrawHidden.addActionListener(this); - mainPane.add(chkDrawHidden, new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0, - GridBagConstraints.SOUTHWEST, GridBagConstraints.HORIZONTAL, - new Insets(5, 10, 5, 5), 0, 0)); - - pane = new JPanel(new GridLayout(0, 1, 5, 0)); - pane.setEnabled(false); - pane.setBorder(new TitledBorder(BorderFactory.createEtchedBorder(), - " Hidden ")); - - rbHiddenSharpEdges = new JRadioButton("Sharp Edges", false); - rbHiddenSharpEdges.setMargin(new Insets(0, 5, 0, 0)); - rbHiddenSharpEdges.setActionCommand("HiddenSharpEdges"); - rbHiddenSharpEdges.addActionListener(this); - group.add(rbHiddenSharpEdges); - pane.add(rbHiddenSharpEdges); - - rbHiddenSmoothEdges = new JRadioButton("Smooth Edges", false); - rbHiddenSmoothEdges.setMargin(new Insets(0, 5, 0, 0)); - rbHiddenSmoothEdges.setActionCommand("HiddenSmoothEdges"); - rbHiddenSmoothEdges.addActionListener(this); - group.add(rbHiddenSmoothEdges); - pane.add(rbHiddenSmoothEdges); - - rbHiddenSewingEdges = new JRadioButton("Sewing Edges", false); - rbHiddenSewingEdges.setMargin(new Insets(0, 5, 0, 0)); - rbHiddenSewingEdges.setActionCommand("HiddenSewingEdges"); - rbHiddenSewingEdges.addActionListener(this); - group.add(rbHiddenSewingEdges); - pane.add(rbHiddenSewingEdges); - - rbHiddenApparentContour = new JRadioButton("Apparent Contour", false); - rbHiddenApparentContour.setMargin(new Insets(0, 5, 0, 0)); - rbHiddenApparentContour.setActionCommand("HiddenApparentContour"); - rbHiddenApparentContour.addActionListener(this); - group.add(rbHiddenApparentContour); - pane.add(rbHiddenApparentContour); - - rbHiddenIsoParam = new JRadioButton("Iso parametrics", false); - rbHiddenIsoParam.setMargin(new Insets(0, 5, 5, 0)); - rbHiddenIsoParam.setEnabled(false); - rbHiddenIsoParam.setActionCommand("HiddenIsoParam"); - rbHiddenIsoParam.addActionListener(this); - group.add(rbHiddenIsoParam); - pane.add(rbHiddenIsoParam); - mainPane.add(pane, new GridBagConstraints(0, 2, 1, 1, 0.0, 0.5, - GridBagConstraints.NORTH, GridBagConstraints.BOTH, - new Insets(5, 5, 5, 5), 0, 0)); - - JPanel viewPane = new JPanel(new GridBagLayout()); - viewPane.setBorder(new TitledBorder(BorderFactory.createEtchedBorder(), - " Choose a projector ")); - - JButton button = new JButton("Get Shapes"); - button.setActionCommand("GetShapes"); - button.addActionListener(this); - viewPane.add(button, new GridBagConstraints(0, 0, 1, 1, 0.5, 0.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - btnUpdate = new JButton("Update 2D"); - btnUpdate.setActionCommand("Update2D"); - btnUpdate.addActionListener(this); - viewPane.add(btnUpdate, new GridBagConstraints(1, 0, 1, 1, 0.5, 0.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - - pane = new JPanel(new FlowLayout(FlowLayout.CENTER, 5, 5)); - group = new ButtonGroup(); - Insets margin = new Insets(1, 1, 1, 1); - JToggleButton tbutton = new JToggleButton(imgTop); - tbutton.setMargin(margin); - tbutton.setActionCommand("Top"); - tbutton.addActionListener(this); - group.add(tbutton); - pane.add(tbutton); - tbutton = new JToggleButton(imgBottom); - tbutton.setMargin(margin); - tbutton.setActionCommand("Bottom"); - tbutton.addActionListener(this); - group.add(tbutton); - pane.add(tbutton); - tbutton = new JToggleButton(imgLeft); - tbutton.setMargin(margin); - tbutton.setActionCommand("Left"); - tbutton.addActionListener(this); - group.add(tbutton); - pane.add(tbutton); - tbutton = new JToggleButton(imgRight); - tbutton.setMargin(margin); - tbutton.setActionCommand("Right"); - tbutton.addActionListener(this); - group.add(tbutton); - pane.add(tbutton); - tbutton = new JToggleButton(imgFront); - tbutton.setMargin(margin); - tbutton.setActionCommand("Front"); - tbutton.addActionListener(this); - group.add(tbutton); - pane.add(tbutton); - tbutton = new JToggleButton(imgBack); - tbutton.setMargin(margin); - tbutton.setActionCommand("Back"); - tbutton.addActionListener(this); - group.add(tbutton); - pane.add(tbutton); - tbutton = new JToggleButton(imgAxo); - tbutton.setMargin(margin); - tbutton.setActionCommand("Axo"); - tbutton.addActionListener(this); - group.add(tbutton); - pane.add(tbutton); - viewPane.add(pane, new GridBagConstraints(0, 1, 2, 1, 0.0, 0.0, - GridBagConstraints.CENTER, GridBagConstraints.NONE, - new Insets(5, 5, 5, 5), 0, 0)); - - // Create a CASCADE view - myViewer = SampleHLRPackage.CreateViewer3d("HLR"); - myViewer.SetDefaultLights(); - myViewer.SetLightOn(); - viewPort = new CASCADEView3d(myViewer) { - public void setWindow3d(V3d_View view, int hiwin, int lowin) { - SampleHLRPackage.SetWindow3d(view, hiwin, lowin); - } - }; - myAISContext = new AIS_InteractiveContext(myViewer); - SampleHLRPackage.DisplayTrihedron(myAISContext); - - viewPane.add(viewPort, new GridBagConstraints(0, 2, 2, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.BOTH, - new Insets(5, 5, 5, 5), 0, 0)); - - chkDegenerateMode = new JCheckBox("Degenerate Mode", true); - chkDegenerateMode.setActionCommand("DegenerateMode"); - chkDegenerateMode.addActionListener(this); - viewPane.add(chkDegenerateMode, new GridBagConstraints(0, 3, 2, 1, 0.0, 0.0, - GridBagConstraints.CENTER, GridBagConstraints.NONE, - new Insets(5, 5, 5, 5), 0, 0)); - mainPane.add(viewPane, new GridBagConstraints(1, 0, 1, 3, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.BOTH, - new Insets(5, 5, 5, 5), 0, 0)); - getContentPane().add(mainPane, BorderLayout.CENTER); - - JPanel dpane = new JPanel(new GridBagLayout()); - group = new ButtonGroup(); - rbPolyAlgo = new JRadioButton("Poly Algo", !algoMode); - rbPolyAlgo.setActionCommand("PolyAlgo"); - rbPolyAlgo.addActionListener(this); - group.add(rbPolyAlgo); - dpane.add(rbPolyAlgo, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(0, 10, 0, 5), 0, 0)); - rbAlgo = new JRadioButton("Algo", algoMode); - rbAlgo.setActionCommand("Algo"); - rbAlgo.addActionListener(this); - group.add(rbAlgo); - dpane.add(rbAlgo, new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(0, 10, 0, 5), 0, 0)); - - pane = new JPanel(new FlowLayout(FlowLayout.CENTER, 5, 5)); - pane.add(new JLabel("Nb Isos")); - txtNbIsos = new IntegerField("2", 6); - txtNbIsos.setEnabled(false); - txtNbIsos.setActionCommand("NbIsos"); - txtNbIsos.addActionListener(this); - txtNbIsos.addFocusListener(this); - pane.add(txtNbIsos); - dpane.add(pane, new GridBagConstraints(1, 0, 1, 2, 0.0, 0.0, - GridBagConstraints.SOUTH, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - - button = new JButton("Close"); - button.setActionCommand("Close"); - button.addActionListener(this); - dpane.add(button, new GridBagConstraints(2, 0, 1, 2, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.NONE, - new Insets(5, 5, 5, 5), 0, 0)); - getContentPane().add(dpane, BorderLayout.SOUTH); - - showButtons(false); - } - - -//=======================================================================// -// Commands -//=======================================================================// - private void showButtons(boolean b) - { - rbDefault.setEnabled(b); - rbVisibleSharpEdges.setEnabled(b); - rbVisibleSmoothEdges.setEnabled(b); - rbVisibleSewingEdges.setEnabled(b); - rbVisibleApparentContour.setEnabled(b); - chkDrawHidden.setEnabled(b); - rbPolyAlgo.setEnabled(b); - rbAlgo.setEnabled(b); - btnUpdate.setEnabled(b); - if (b) - { - drawHiddenChanged(); - algoModeChanged(); - } - else - { - rbVisibleIsoParam.setEnabled(b); - rbHiddenSharpEdges.setEnabled(b); - rbHiddenSmoothEdges.setEnabled(b); - rbHiddenSewingEdges.setEnabled(b); - rbHiddenApparentContour.setEnabled(b); - rbHiddenIsoParam.setEnabled(b); - txtNbIsos.setEnabled(b); - } - } - - private void drawHiddenChanged() - { - rbHiddenSharpEdges.setEnabled(drawHidden); - rbHiddenSmoothEdges.setEnabled(drawHidden); - rbHiddenSewingEdges.setEnabled(drawHidden); - rbHiddenApparentContour.setEnabled(drawHidden); - if (algoMode) rbHiddenIsoParam.setEnabled(drawHidden); - - if (!drawHidden && (rbHiddenSharpEdges.isSelected() || - rbHiddenSmoothEdges.isSelected() || - rbHiddenSewingEdges.isSelected() || - rbHiddenApparentContour.isSelected() || - rbHiddenIsoParam.isSelected())) - rbDefault.setSelected(true); - } - - private void algoModeChanged() - { - rbVisibleIsoParam.setEnabled(algoMode); - if (drawHidden) rbHiddenIsoParam.setEnabled(algoMode); - txtNbIsos.setEnabled(algoMode); - if (!algoMode && (rbVisibleIsoParam.isSelected() || - rbHiddenIsoParam.isSelected())) - rbDefault.setSelected(true); - } - - public void getShapes() - { - SamplesStarter.getFrame().setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); - isShape = SampleHLRPackage.GetShapes(SampleHLRPanel.getAISContext(), - myAISContext); - viewPort.FitAll(); - SampleHLRPackage.SetNbIsos(txtNbIsos.getValue()); - update2D(); - SampleHLRPanel.getView2d().FitAll(); - showButtons(isShape); - SamplesStarter.getFrame().setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); - } - - public void update2D() - { - SampleHLRPackage.UpdateProjector(viewPort.getView()); - display2D(); - } - - public void display2D() - { - int mode = displayMode; - if (algoMode) mode += 100; - if (!drawHidden) mode += 1000; - SampleHLRPackage.Apply(SampleHLRPanel.getInteractiveContext(), mode); - } - - public void changeNbIsos() - { - if (txtNbIsos.getValue() < 1) txtNbIsos.setText("1"); - if (isShape) { - SampleHLRPackage.SetNbIsos(txtNbIsos.getValue()); - display2D(); - } - } - - private void close() - { - hide(); - } - - -//=======================================================================// -// Focus listener interface -//=======================================================================// - public void focusGained(FocusEvent event) - { - } - - public void focusLost(FocusEvent event) - { - changeNbIsos(); - } - -//=======================================================================// -// Action listener interface -//=======================================================================// - public void actionPerformed(ActionEvent event) - { - String nameAction = event.getActionCommand(); - - if (nameAction.equals("Close")) close(); - - else if (nameAction.equals("DrawHiddenLines")) { - drawHidden = chkDrawHidden.isSelected(); - drawHiddenChanged(); - display2D(); - } - else if (nameAction.equals("PolyAlgo")) { - algoMode = false; - algoModeChanged(); - display2D(); - } - else if (nameAction.equals("Algo")) { - algoMode = true; - algoModeChanged(); - display2D(); - } - else if (nameAction.equals("NbIsos")) changeNbIsos(); - else if (nameAction.equals("GetShapes")) getShapes(); - else if (nameAction.equals("Update2D")) update2D(); - - // Projection - else if (nameAction.equals("Front") || nameAction.equals("Back") || - nameAction.equals("Top") || nameAction.equals("Bottom") || - nameAction.equals("Left") || nameAction.equals("Right") || - nameAction.equals("Axo")) - viewPort.SetProjection(nameAction); - - else if (nameAction.equals("DegenerateMode")) - viewPort.SetDegenerateMode(chkDegenerateMode.isSelected()); - - // Changing displayMode - else if (nameAction.equals("Default")) { - displayMode = 0; - display2D(); - } - else if (nameAction.equals("VisibleSharpEdges")) { - displayMode = 1; - display2D(); - } - else if (nameAction.equals("VisibleSmoothEdges")) { - displayMode = 2; - display2D(); - } - else if (nameAction.equals("VisibleSewingEdges")) { - displayMode = 3; - display2D(); - } - else if (nameAction.equals("VisibleApparentContour")) { - displayMode = 4; - display2D(); - } - else if (nameAction.equals("VisibleIsoParam")) { - displayMode = 5; - display2D(); - } - else if (nameAction.equals("HiddenSharpEdges")) { - displayMode = 6; - display2D(); - } - else if (nameAction.equals("HiddenSmoothEdges")) { - displayMode = 7; - display2D(); - } - else if (nameAction.equals("HiddenSewingEdges")) { - displayMode = 8; - display2D(); - } - else if (nameAction.equals("HiddenApparentContour")) { - displayMode = 9; - display2D(); - } - else if (nameAction.equals("HiddenIsoParam")) { - displayMode = 10; - display2D(); - } - } - -} diff --git a/samples/java/java/HeavyButton.java b/samples/java/java/HeavyButton.java deleted file mode 100755 index 1471432b78..0000000000 --- a/samples/java/java/HeavyButton.java +++ /dev/null @@ -1,51 +0,0 @@ - -//Title: Jad version for OCC -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface team -//Company: Matra Datavision -//Description: Jad version with java classes -//distribution according to OCC -//packaging - - -import javax.swing.*; - -public class HeavyButton extends JButton -{ - public HeavyButton() - { - super(null, null); - } - - public HeavyButton(Icon icon) - { - super(null, icon); - } - - public HeavyButton(String text) - { - super(text, null); - } - -// public HeavyButton(Action a) -// { -// super(a); -// } - - public HeavyButton(String text, Icon icon) - { - super(text, icon); - } - -//=======================================================================// - public void setToolTipText(String text) - { - putClientProperty(TOOL_TIP_TEXT_KEY, text); - HeavyToolTipManager toolTipManager = HeavyToolTipManager.sharedInstance(); - if (text != null) - toolTipManager.registerComponent(this); - else - toolTipManager.unregisterComponent(this); - } -} diff --git a/samples/java/java/HeavyToggleButton.java b/samples/java/java/HeavyToggleButton.java deleted file mode 100755 index 5026e6f888..0000000000 --- a/samples/java/java/HeavyToggleButton.java +++ /dev/null @@ -1,52 +0,0 @@ - -//Title: Jad version for OCC -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface team -//Company: Matra Datavision -//Description: Jad version with java classes -//distribution according to OCC -//packaging - - -import javax.swing.*; - -public class HeavyToggleButton extends JToggleButton -{ - public HeavyToggleButton() - { - super(null, null); - } - - public HeavyToggleButton(Icon icon, boolean theState) - { -// super(null, icon); - super(icon, theState); - } - - public HeavyToggleButton(String text) - { - super(text, null); - } - -// public HeavyToggleButton(Action a) -// { -// super(a); -// } - - public HeavyToggleButton(Icon icon, String text) - { - super(text, icon); - } - -//=======================================================================// - public void setToolTipText(String text) - { - putClientProperty(TOOL_TIP_TEXT_KEY, text); - HeavyToolTipManager toolTipManager = HeavyToolTipManager.sharedInstance(); - if (text != null) - toolTipManager.registerComponent(this); - else - toolTipManager.unregisterComponent(this); - } -} diff --git a/samples/java/java/HeavyToolTipManager.java b/samples/java/java/HeavyToolTipManager.java deleted file mode 100755 index bbf314e6c2..0000000000 --- a/samples/java/java/HeavyToolTipManager.java +++ /dev/null @@ -1,626 +0,0 @@ -/* - * @(#)ToolTipManager.java 1.40 99/04/22 - * - * Copyright 1997-1999 by Sun Microsystems, Inc., - * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. - * All rights reserved. - * - * This software is the confidential and proprietary information - * of Sun Microsystems, Inc. ("Confidential Information"). You - * shall not disclose such Confidential Information and shall use - * it only in accordance with the terms of the license agreement - * you entered into with Sun. - */ - - -import javax.swing.*; -import java.awt.event.*; -import java.applet.*; -import java.awt.*; - -/** - * Manages all the ToolTips in the system. - * - * @see JComponent#createToolTip - * @version 1.40 04/22/99 - * @author Dave Moore - * @author Rich Schiavi - */ -public class HeavyToolTipManager extends MouseAdapter - implements MouseMotionListener -{ - Timer enterTimer, exitTimer, insideTimer; - String toolTipText; - Point preferredLocation; - JComponent insideComponent; - MouseEvent mouseEvent; - boolean showImmediately; - Popup tipWindow; - JToolTip tip; - - private Rectangle popupRect = null; - private Rectangle popupFrameRect = null; - - boolean enabled = true; - boolean mouseAboveToolTip = false; - private boolean tipShowing = false; - private long timerEnter = 0; - - private KeyStroke postTip,hideTip; - private AbstractAction postTipAction, hideTipAction; - - private FocusListener focusChangeListener = null; - - protected boolean lightWeightPopupEnabled = true; - protected boolean heavyWeightPopupEnabled = false; - - final static HeavyToolTipManager sharedInstance = new HeavyToolTipManager(); - /** Returns a shared HeavyToolTipManager instance. */ - public static HeavyToolTipManager sharedInstance() - { - return sharedInstance; - } - - -//=======================================================================// -// Constructor -//=======================================================================// - HeavyToolTipManager() - { - enterTimer = new Timer(750, new insideTimerAction()); - enterTimer.setRepeats(false); - exitTimer = new Timer(500, new outsideTimerAction()); - exitTimer.setRepeats(false); - insideTimer = new Timer(4000, new stillInsideTimerAction()); - insideTimer.setRepeats(false); - - // create accessibility actions - postTip = KeyStroke.getKeyStroke(KeyEvent.VK_F1,Event.CTRL_MASK); - postTipAction = new AbstractAction() - { - public void actionPerformed(ActionEvent e) - { - if (tipWindow != null) // showing we unshow - hideTipWindow(); - else - { - hideTipWindow(); // be safe - enterTimer.stop(); - exitTimer.stop(); - insideTimer.stop(); - insideComponent = (JComponent)e.getSource(); - if (insideComponent != null) - { - toolTipText = insideComponent.getToolTipText(); - preferredLocation = new Point(10,insideComponent.getHeight()+10); // manual set - showTipWindow(); - // put a focuschange listener on to bring the tip down - if (focusChangeListener == null) - focusChangeListener = createFocusChangeListener(); - insideComponent.addFocusListener(focusChangeListener); - } - } - } - }; - - hideTip = KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE,0); - hideTipAction = new AbstractAction() - { - public void actionPerformed(ActionEvent e) - { - hideTipWindow(); - JComponent jc = (JComponent)e.getSource(); - jc.removeFocusListener(focusChangeListener); - preferredLocation = null; - } - public boolean isEnabled() - { - // Only enable when the tooltip is showing, otherwise - // we will get in the way of any UI actions. - return tipShowing; - } - }; - } - -//=======================================================================// -// Properties -//=======================================================================// - /** Enables or disables the tooltip. */ - public void setEnabled(boolean flag) - { - enabled = flag; - if (!flag) hideTipWindow(); - } - - /** Returns true if this object is enabled. */ - public boolean isEnabled() - { - return enabled; - } - - /** Specifies the initial delay value. */ - public void setInitialDelay(int microSeconds) - { - enterTimer.setInitialDelay(microSeconds); - } - - /** Returns the initial delay value. */ - public int getInitialDelay() - { - return enterTimer.getInitialDelay(); - } - - /** Specifies the dismisal delay value. */ - public void setDismissDelay(int microSeconds) - { - insideTimer.setInitialDelay(microSeconds); - } - - /** Returns the dismisal delay value. */ - public int getDismissDelay() - { - return insideTimer.getInitialDelay(); - } - - /** Specifies the time to delay before reshowing the tooltip. */ - public void setReshowDelay(int microSeconds) - { - exitTimer.setInitialDelay(microSeconds); - } - - /** Returns the reshow delay value. */ - public int getReshowDelay() - { - return exitTimer.getInitialDelay(); - } - -//=======================================================================// -// Action -//=======================================================================// - void showTipWindow() - { - if (insideComponent == null || !insideComponent.isShowing()) - return; - - if (enabled) - { - Dimension size; - Point screenLocation = insideComponent.getLocationOnScreen(); - Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); - Point location = new Point(); - - // Just to be paranoid - hideTipWindow(); - - tip = insideComponent.createToolTip(); - tip.setTipText(toolTipText); - size = tip.getPreferredSize(); - - // support only heavy tooltips - tipWindow = new WindowPopup((frameForComponent(insideComponent)),tip,size); - - tipWindow.addMouseListener(this); - - if (preferredLocation != null) - { - location.x = screenLocation.x + preferredLocation.x; - location.y = screenLocation.y + preferredLocation.y; - } - else - { - location.x = screenLocation.x + mouseEvent.getX(); - location.y = screenLocation.y + mouseEvent.getY() + 20; - - if (location.x + size.width > screenSize.width) - location.x -= size.width; - if (location.y + size.height > screenSize.height) - location.y -= (size.height + 20); - } - - tipWindow.show(insideComponent,location.x,location.y); - insideTimer.start(); - timerEnter = System.currentTimeMillis(); - tipShowing = true; - } - } - - void hideTipWindow() - { - if (tipWindow != null) - { - tipWindow.removeMouseListener(this); - tipWindow.hide(); - tipWindow = null; - tipShowing = false; - timerEnter = 0; - (tip.getUI()).uninstallUI(tip); - tip = null; - insideTimer.stop(); - } - } - - /** - * Register a component for tooltip management. - *

This will register key bindings to show and hide the tooltip text - * only if component has focus bindings. This is done - * so that components that are not normally focus traversable, such - * as JLabel, are not made focus traversable as a result of invoking - * this method. - */ - public void registerComponent(JComponent component) - { - component.removeMouseListener(this); - component.addMouseListener(this); - if (shouldRegisterBindings(component)) - { - // register our accessibility keybindings for this component - // this will apply globally across L&F - // Post Tip: Ctrl+F1 - // Unpost Tip: Esc and Ctrl+F1 - InputMap inputMap = component.getInputMap(JComponent.WHEN_FOCUSED); - ActionMap actionMap = component.getActionMap(); - - if (inputMap != null && actionMap != null) - { - inputMap.put(postTip, "postTip"); - inputMap.put(hideTip, "hideTip"); - actionMap.put("postTip", postTipAction); - actionMap.put("hideTip", hideTipAction); - } - } - } - - /** Remove a component from tooltip control. */ - public void unregisterComponent(JComponent component) - { - component.removeMouseListener(this); - if (shouldRegisterBindings(component)) - { - InputMap inputMap = component.getInputMap(JComponent.WHEN_FOCUSED); - ActionMap actionMap = component.getActionMap(); - - if (inputMap != null && actionMap != null) - { - inputMap.remove(postTip); - inputMap.remove(hideTip); - actionMap.remove("postTip"); - actionMap.remove("hideTip"); - } - } - } - - /** - * Returns whether or not bindings should be registered on the given - * Component. This is implemented to return true if the receiver has - * a binding in any one of the InputMaps registered under the condition - * WHEN_FOCUSED. - *

- * This does not use isFocusTraversable as - * some components may override isFocusTraversable and - * base the return value on something other than bindings. For example, - * JButton bases its return value on its enabled state. - */ - private boolean shouldRegisterBindings(JComponent component) - { - InputMap inputMap = component.getInputMap(JComponent.WHEN_FOCUSED); - while (inputMap != null && inputMap.size() == 0) - { - inputMap = inputMap.getParent(); - } - return (inputMap != null); - } - -//=======================================================================// -// Subsidiary functions -//=======================================================================// - static Frame frameForComponent(Component component) - { - while (!(component instanceof Frame)) - component = component.getParent(); - return (Frame)component; - } - - private FocusListener createFocusChangeListener() - { - return new FocusAdapter() - { - public void focusLost(FocusEvent evt) - { - hideTipWindow(); - JComponent c = (JComponent)evt.getSource(); - c.removeFocusListener(focusChangeListener); - } - }; - } - - -//=======================================================================// -// MouseListener interface -//=======================================================================// - public void mouseEntered(MouseEvent event) - { - // this is here for a workaround for a Solaris *application* only bug - // in which an extra MouseExit/Enter events are generated when a Panel - // initially is shown - if (tipShowing) - { - if (System.currentTimeMillis() - timerEnter < 200) - return; - } - - if (event.getSource() == tipWindow) - return; - - JComponent component = (JComponent)event.getSource(); - toolTipText = component.getToolTipText(event); - preferredLocation = component.getToolTipLocation(event); - - exitTimer.stop(); - - Point location = event.getPoint(); - // ensure tooltip shows only in proper place - if (location.x < 0 || - location.x >=component.getWidth() || - location.y < 0 || - location.y >= component.getHeight()) - { - return; - } - - if (insideComponent != null) - { - enterTimer.stop(); - insideComponent = null; - } - - component.addMouseMotionListener(this); - - insideComponent = component; - if (tipWindow != null) - return; - - } - - public void mouseExited(MouseEvent event) - { - // this is here for a workaround for a Solaris *application* only bug - // when Panels are used - if (tipShowing) - { - if (System.currentTimeMillis() - timerEnter < 200) - return; - } - - boolean shouldHide = true; - - if(event.getSource() == tipWindow) - { - // if we get an exit and have a heavy window - // we need to check if it if overlapping the inside component - Container insideComponentWindow = insideComponent.getTopLevelAncestor(); - Rectangle b = tipWindow.getBounds(); - Point location = event.getPoint(); - location.x += b.x; - location.y += b.y; - - b = insideComponentWindow.getBounds(); - location.x -= b.x; - location.y -= b.y; - - location = SwingUtilities.convertPoint(null,location,insideComponent); - if (location.x >= 0 && location.x < insideComponent.getWidth() && - location.y >= 0 && location.y < insideComponent.getHeight()) - shouldHide = false; - else - shouldHide = true; - } - else if(event.getSource() == insideComponent && tipWindow != null) - { - Point location = SwingUtilities.convertPoint(insideComponent, event.getPoint(), null); - Rectangle bounds = insideComponent.getTopLevelAncestor().getBounds(); - location.x += bounds.x; - location.y += bounds.y; - - bounds = tipWindow.getBounds(); - if (location.x >= bounds.x && location.x < (bounds.x + bounds.width) && - location.y >= bounds.y && location.y < (bounds.y + bounds.height)) - shouldHide = false; - else - shouldHide = true; - } - - if(shouldHide) - { - enterTimer.stop(); - if (insideComponent != null) - insideComponent.removeMouseMotionListener(this); - insideComponent = null; - toolTipText = null; - mouseEvent = null; - hideTipWindow(); - exitTimer.start(); - } - } - - public void mousePressed(MouseEvent event) - { - hideTipWindow(); - enterTimer.stop(); - showImmediately = false; - } - -//=======================================================================// -// MouseMotionListener interface -//=======================================================================// - public void mouseDragged(MouseEvent event) - { - } - - public void mouseMoved(MouseEvent event) - { - JComponent component = (JComponent)event.getSource(); - String newText = component.getToolTipText(event); - Point newPreferredLocation = component.getToolTipLocation(event); - - if (newText != null || newPreferredLocation != null) - { - mouseEvent = event; - if (((newText != null && newText.equals(toolTipText)) || newText == null) && - ((newPreferredLocation != null && newPreferredLocation.equals(preferredLocation)) - || newPreferredLocation == null)) - { - if (tipWindow != null) - insideTimer.restart(); - else - enterTimer.restart(); - } - else - { - toolTipText = newText; - preferredLocation = newPreferredLocation; - if (showImmediately) - { - hideTipWindow(); - showTipWindow(); - } - else - enterTimer.restart(); - } - } - else - { - toolTipText = null; - preferredLocation = null; - mouseEvent = null; - hideTipWindow(); - enterTimer.stop(); - exitTimer.start(); - } - } - -//=======================================================================// -// Class insideTimerAction -//=======================================================================// - protected class insideTimerAction implements ActionListener - { - public void actionPerformed(ActionEvent e) - { - if (insideComponent != null && insideComponent.isShowing()) - { - showImmediately = true; - showTipWindow(); - } - } - } - -//=======================================================================// -// Class insideTimerAction -//=======================================================================// - protected class outsideTimerAction implements ActionListener - { - public void actionPerformed(ActionEvent e) - { - showImmediately = false; - } - } - -//=======================================================================// -// Class insideTimerAction -//=======================================================================// - protected class stillInsideTimerAction implements ActionListener - { - public void actionPerformed(ActionEvent e) - { - hideTipWindow(); - enterTimer.stop(); - showImmediately = false; - } - } - - -//=======================================================================// -// Interface Popup -//=======================================================================// - /* - * The following interface describes what a popup should implement. - * We do this because the ToolTip manager uses popup that can be windows or - * panels. The reason is two-fold: We'd like to use panels mostly, but when the - * panel (or tooltip) would not fit, we need to use a Window to avoid the panel - * being clipped or not shown. - * - */ - private interface Popup - { - public void show(JComponent invoker, int x, int y); - public void hide(); - public void addMouseListener(HeavyToolTipManager c); - public void removeMouseListener(HeavyToolTipManager c); - public Rectangle getBounds(); - } - -//=======================================================================// -// Class WindowPopup -//=======================================================================// - class WindowPopup extends Window implements Popup - { - boolean firstShow = true; - JComponent tip; - Frame frame; - - public WindowPopup(Frame f,JComponent t, Dimension size) - { - super(f); - this.tip = t; - this.frame = f; - add(t, BorderLayout.CENTER); - pack(); - // setSize(size); - } - - public Rectangle getBounds() - { - return super.getBounds(); - } - - public void show(JComponent invoker, int x, int y) - { - this.setLocation(x,y); - this.setVisible(true); - - /** This hack is to workaround a bug on Solaris where the windows does not really show - * the first time - * It causes a side effect of MS JVM reporting IllegalArumentException: null source - * fairly frequently - also happens if you use HeavyWeight JPopup, ie JComboBox - */ - if(firstShow) - { - this.hide(); - this.setVisible(true); - firstShow = false; - } - } - - public void hide() - { - super.hide(); - /** We need to call removeNotify() here because hide() does something only if - * Component.visible is true. When the app frame is miniaturized, the parent - * frame of this frame is invisible, causing AWT to believe that this frame - * is invisible and causing hide() to do nothing - */ - removeNotify(); - } - - public void addMouseListener(HeavyToolTipManager c) - { - super.addMouseListener(c); - } - - public void removeMouseListener(HeavyToolTipManager c) - { - super.removeMouseListener(c); - } - - } - -} diff --git a/samples/java/java/IsosDlg.java b/samples/java/java/IsosDlg.java deleted file mode 100755 index 43e91aea64..0000000000 --- a/samples/java/java/IsosDlg.java +++ /dev/null @@ -1,219 +0,0 @@ - -//Title: AISDisplayMode sample -//Version: -//Copyright: Copyright (c) 1999 -//Author: -//Company: Matra Datavision -//Description: - -import java.awt.*; -import java.awt.event.*; -import java.util.*; -import java.math.*; -import javax.swing.*; -import javax.swing.event.*; -import util.*; - - -public class IsosDlg extends StandardDlg - implements InputMethodListener, - KeyListener -{ - //-----------------------------------------------------------// - // GUI components - //-----------------------------------------------------------// - JTextField txtU; - JTextField txtV; - - private boolean consume = false; - private String strU = new String(""); - private String strV = new String(""); - - private int myUValue = 1; - private int myVValue = 1; - private boolean isOK = false; - -//=======================================================================// -// Construction -//=======================================================================// - public IsosDlg(Frame parent, int u, int v) - { - super(parent, "Isos", true, true, false, true); - myUValue = u; - myVValue = v; - - InitDlg(); - - strU = String.valueOf(myUValue); - strV = String.valueOf(myVValue); - txtU.setText(strU); - txtV.setText(strV); - - pack(); - } - -//-----------------------------------------------------------------------// - private void InitDlg() - { - JPanel aPane = new JPanel(new GridLayout(2, 2, 4, 4)); - - aPane.add(new JLabel("U Isos Number")); - - txtU = new JTextField(6); - txtU.addInputMethodListener(this); - txtU.addKeyListener(this); - txtU.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5)); - aPane.add(txtU); - - aPane.add(new JLabel("V Isos Number")); - - txtV = new JTextField(6); - txtV.addInputMethodListener(this); - txtV.addKeyListener(this); - txtV.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5)); - aPane.add(txtV); - - aPane.setBorder(BorderFactory.createEmptyBorder(5, 7, 5, 7)); - ControlsPanel.setLayout(new BorderLayout()); - ControlsPanel.add(aPane, BorderLayout.CENTER); - pack(); - setResizable(false); - } - -//=======================================================================// - public void OkAction() - { - Integer value; - String newValue; - - newValue = txtU.getText(); - value = new Integer(newValue.equals("")? "0" : newValue); - myUValue = value.intValue(); - - newValue = txtV.getText(); - value = new Integer(newValue.equals("")? "0" : newValue); - myVValue = value.intValue(); - - isOK = true; - dispose(); - } - -//-----------------------------------------------------------------------// - public void CancelAction() - { - isOK = false; - dispose(); - } - - -//=======================================================================// - public int getUValue() - { - return myUValue; - } - -//-----------------------------------------------------------------------// - public int getVValue() - { - return myVValue; - } - -//-----------------------------------------------------------------------// - public boolean isOK() - { - return isOK; - } - - -//=======================================================================// -// Key listener interface -//=======================================================================// - public void keyTyped(KeyEvent event) - { - } - -//=======================================================================// - public void keyPressed(KeyEvent event) - { - JTextField field = (JTextField) event.getSource(); - - int aKod = event.getKeyCode(); - if (!event.isActionKey() && aKod != event.VK_BACK_SPACE && - aKod != event.VK_DELETE) - { - if (!Character.isDigit(event.getKeyChar())) - consume = true; - } - } - -//=======================================================================// - public void keyReleased(KeyEvent event) - { - JTextField field = (JTextField) event.getSource(); - String newValue = field.getText(); - - if (field.equals(txtU)) - { - if (!newValue.equals(strU)) - { - if (consume) - { - txtU.setText(strU); - consume = false; - } - else - { - strU = newValue; - Integer value = new Integer(newValue.equals("")? "0" : newValue); - if (!(value.intValue()>0)) - { - txtU.selectAll(); - JOptionPane.showMessageDialog(this, "Please enter a positive value", - "Warning!!!", JOptionPane.WARNING_MESSAGE); - requestFocus(); - } - } - } - } - else if (field.equals(txtV)) - { - if (!newValue.equals(strV)) - { - if (consume) - { - txtV.setText(strV); - consume = false; - } - else - { - strV = newValue; - Integer value = new Integer(newValue.equals("")? "0" : newValue); - if (!(value.intValue()>0)) - { - txtV.selectAll(); - JOptionPane.showMessageDialog(this, "Please enter a positive value", - "Warning!!!", JOptionPane.WARNING_MESSAGE); - requestFocus(); - } - } - } - } - } - -//=======================================================================// -// InputMethod listener interface -//=======================================================================// - public void inputMethodTextChanged(InputMethodEvent event) - { - if (consume) - { - event.consume(); - consume = false; - } - } - - public void caretPositionChanged(InputMethodEvent event) - { - } - -} diff --git a/samples/java/java/MaterialDlg.java b/samples/java/java/MaterialDlg.java deleted file mode 100755 index 1395a7b294..0000000000 --- a/samples/java/java/MaterialDlg.java +++ /dev/null @@ -1,137 +0,0 @@ - -//Title: Open CASCADE Samples -//Version: -//Copyright: Copyright (c) 1999 -//Author: Natalia Kopnova -//Company: Matra Datavision (Nizhny Novgorod branch) -//Description: - - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import CASCADESamplesJni.*; - -class MaterialDlg extends JDialog - implements ActionListener -{ - private AIS_InteractiveContext myAISContext; - - -//=======================================================================// -// Construction -//=======================================================================// - public MaterialDlg(Frame frame, AIS_InteractiveContext aContext) - { - super(frame, "Material", false); - myAISContext = aContext; - - try - { - jbInit(); - pack(); - } - catch(Exception ex) - { - ex.printStackTrace(); - } - } - - void jbInit() throws Exception - { - getContentPane().setLayout(new GridLayout(0, 1)); - getContentPane().setBounds(10, 10, 10, 10); - - ButtonGroup group = new ButtonGroup(); - JToggleButton button; - - button = new JToggleButton("Brass", false); - button.addActionListener(this); - button.setActionCommand("Brass"); - group.add(button); - getContentPane().add(button); - - button = new JToggleButton("Bronze", false); - button.addActionListener(this); - button.setActionCommand("Bronze"); - group.add(button); - getContentPane().add(button); - - button = new JToggleButton("Copper", false); - button.addActionListener(this); - button.setActionCommand("Copper"); - group.add(button); - getContentPane().add(button); - - button = new JToggleButton("Gold", false); - button.addActionListener(this); - button.setActionCommand("Gold"); - group.add(button); - getContentPane().add(button); - - button = new JToggleButton("Pewter", false); - button.addActionListener(this); - button.setActionCommand("Pewter"); - group.add(button); - getContentPane().add(button); - - button = new JToggleButton("Plaster", false); - button.addActionListener(this); - button.setActionCommand("Plaster"); - group.add(button); - getContentPane().add(button); - - button = new JToggleButton("Plastic", false); - button.addActionListener(this); - button.setActionCommand("Plastic"); - group.add(button); - getContentPane().add(button); - - button = new JToggleButton("Silver", false); - button.addActionListener(this); - button.setActionCommand("Silver"); - group.add(button); - getContentPane().add(button); - } - -//=======================================================================// -// Commands -//=======================================================================// - private void setMaterial(int material) - { - if (myAISContext != null) - { - for (myAISContext.InitCurrent(); myAISContext.MoreCurrent(); - myAISContext.NextCurrent()) - myAISContext.SetMaterial(myAISContext.Current(), (short)material, true); - } - } - - - -//=======================================================================// -// Action listener interface -//=======================================================================// - public void actionPerformed(ActionEvent event) - { - String nameAction = event.getActionCommand(); - if (nameAction.equals("Brass")) - setMaterial(Graphic3d_NameOfMaterial.Graphic3d_NOM_BRASS); - else if (nameAction.equals("Broze")) - setMaterial(Graphic3d_NameOfMaterial.Graphic3d_NOM_BRONZE); - else if (nameAction.equals("Copper")) - setMaterial(Graphic3d_NameOfMaterial.Graphic3d_NOM_COPPER); - else if (nameAction.equals("Gold")) - setMaterial(Graphic3d_NameOfMaterial.Graphic3d_NOM_GOLD); - else if (nameAction.equals("Pewter")) - setMaterial(Graphic3d_NameOfMaterial.Graphic3d_NOM_PEWTER); - else if (nameAction.equals("Plaster")) - setMaterial(Graphic3d_NameOfMaterial.Graphic3d_NOM_PLASTER); - else if (nameAction.equals("Plastic")) - setMaterial(Graphic3d_NameOfMaterial.Graphic3d_NOM_PLASTIC); - else if (nameAction.equals("Silver")) - setMaterial(Graphic3d_NameOfMaterial.Graphic3d_NOM_SILVER); - } - -} - diff --git a/samples/java/java/ModelClippingDlg.java b/samples/java/java/ModelClippingDlg.java deleted file mode 100755 index 43b855b3fe..0000000000 --- a/samples/java/java/ModelClippingDlg.java +++ /dev/null @@ -1,291 +0,0 @@ - -//Title: Viewer3D Sample -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface group -//Company: Matra Datavision -//Description: - - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import javax.swing.event.*; -import CASCADESamplesJni.*; -import SampleViewer3DJni.*; -import jcas.Standard_Real; -import jcas.Standard_Boolean; - - -public class ModelClippingDlg extends JDialog - implements ActionListener, - InputMethodListener, - ChangeListener, - KeyListener, - ItemListener -{ - private SamplePanel myDocument; - private V3d_View myView; - - //-----------------------------------------------------------// - // GUI components - //-----------------------------------------------------------// - JCheckBox chkOnOff; - JSlider sldZ; - JTextField txtZ; - - private boolean consume = false; - private String strZ = new String(""); - private boolean userZChanged = false; - - -//=======================================================================// -// Construction -//=======================================================================// - public ModelClippingDlg(Frame frame, SamplePanel aDoc, V3d_View aView) - { - super(frame, "ModelClipping", false); - myDocument = aDoc; - myView = aView; - - try - { - jbInit(); - initValues(); - pack(); - } - catch(Exception ex) - { - ex.printStackTrace(); - } - } - - private void jbInit() throws Exception - { - getContentPane().setLayout(new BorderLayout()); - - JPanel mainPanel = new JPanel(new GridBagLayout()); - mainPanel.setBorder(BorderFactory.createRaisedBevelBorder()); - - JLabel lblZ = new JLabel("Z"); - mainPanel.add(lblZ, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, - GridBagConstraints.WEST, GridBagConstraints.NONE, - new Insets(10, 10, 5, 5), 0, 0)); - - sldZ = new JSlider(-750, 750, 0); - sldZ.addChangeListener(this); - mainPanel.add(sldZ, new GridBagConstraints(1, 0, 1, 1, 0.0, 0.0, - GridBagConstraints.CENTER, GridBagConstraints.NONE, - new Insets(10, 5, 5, 5), 0, 0)); - - txtZ = new JTextField(6); - txtZ.addInputMethodListener(this); - txtZ.addKeyListener(this); - mainPanel.add(txtZ, new GridBagConstraints(2, 0, 1, 1, 0.0, 0.0, - GridBagConstraints.CENTER, GridBagConstraints.NONE, - new Insets(10, 5, 5, 10), 0, 0)); - - chkOnOff = new JCheckBox("Model clipping ON/OFF", false); - chkOnOff.addItemListener(this); - mainPanel.add(chkOnOff, new GridBagConstraints(0, 1, 2, 1, 0.0, 0.0, - GridBagConstraints.WEST, GridBagConstraints.NONE, - new Insets(10, 10, 10, 10), 0, 0)); - getContentPane().add(mainPanel, BorderLayout.CENTER); - - JPanel controlPanel = new JPanel(); - - JButton btnOK = new JButton("OK"); - btnOK.addActionListener(this); - btnOK.setActionCommand("OK"); - controlPanel.add(btnOK); - - JButton btnCancel = new JButton("Cancel"); - btnCancel.addActionListener(this); - btnCancel.setActionCommand("Cancel"); - controlPanel.add(btnCancel); - getContentPane().add(controlPanel, BorderLayout.SOUTH); - } - - private void initValues() - { - Standard_Real Z = new Standard_Real(); - Standard_Boolean isModelClippingOn = new Standard_Boolean(); - SampleViewer3DPackage.DisplayClippingPlane(SampleViewer3DPanel.getAISContext(), myView, - Z, isModelClippingOn); - - sldZ.setValue((int) Math.round(Z.GetValue())); - txtZ.setText(String.valueOf(Z.GetValue())); - - chkOnOff.setSelected(isModelClippingOn.GetValue()); - } - -//=======================================================================// -// Commands -//=======================================================================// - private void onModelClippingZChanged() - { - String newValue = txtZ.getText(); - Double value = new Double((newValue.equals("") || newValue.equals("-"))? - "0." : newValue); - if (value.doubleValue() > 750. || value.doubleValue() < -750.) - return; - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleViewer3DPackage.ChangeModelClippingZ(SampleViewer3DPanel.getAISContext(), myView, - value.doubleValue(), chkOnOff.isSelected(), - message); - - myDocument.traceMessage(message.ToCString().GetValue(), "SetPlane"); - } - -//=======================================================================// - private void onModelClippingOnOff() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleViewer3DPackage.ChangeModelClippingOnOff(SampleViewer3DPanel.getAISContext(), myView, - chkOnOff.isSelected(), message); - - myDocument.traceMessage(message.ToCString().GetValue(), "SetPlaneOn/SetPlaneOff"); - } - -//=======================================================================// - private void close(boolean isOK) - { - if (!isOK) - SampleViewer3DPackage.ClearClippingPlane(SampleViewer3DPanel.getAISContext(), myView, - chkOnOff.isSelected()); - else - SampleViewer3DPackage.ClearClippingPlane(SampleViewer3DPanel.getAISContext(), myView, - false); - - dispose(); - } - - -//=======================================================================// -// Action listener interface -//=======================================================================// - public void actionPerformed(ActionEvent event) - { - String nameAction = event.getActionCommand(); - if (nameAction.equals("OK")) - close(true); - else if (nameAction.equals("Cancel")) - close(false); - } - - -//=======================================================================// -// Item listener interface -//=======================================================================// - public void itemStateChanged(ItemEvent event) - { - if (event.getSource().equals(chkOnOff)) - onModelClippingOnOff(); - } - -//=======================================================================// -// Change listener interface -//=======================================================================// - public void stateChanged(ChangeEvent event) - { - JSlider slider = (JSlider) event.getSource(); - if (slider.equals(sldZ)) - { - if (userZChanged) - { - txtZ.setText(String.valueOf(slider.getValue())); - onModelClippingZChanged(); - } - else - userZChanged = true; - } - } - -//=======================================================================// -// Key listener interface -//=======================================================================// - public void keyTyped(KeyEvent event) - { - } - -//=======================================================================// - public void keyPressed(KeyEvent event) - { - JTextField field = (JTextField) event.getSource(); - - int aKod = event.getKeyCode(); - if (aKod == event.VK_MINUS) - { - String aStr = field.getText(); - int aPos = aStr.indexOf("-"); - - if (aPos == -1) // Minus not present - { - if ((field.getCaretPosition()) != 0) - consume = true; - } - else - consume = true; - } - else if ((aKod == event.VK_DECIMAL) || (aKod == event.VK_PERIOD)) - { - String aStr = field.getText(); - int aPos = aStr.indexOf("."); - if (aPos != -1) // the point is present in the string - consume = true; - } - else if (!event.isActionKey() && aKod != event.VK_BACK_SPACE && - aKod != event.VK_DELETE) - { - if (!Character.isDigit(event.getKeyChar())) - consume = true; - } - } - -//=======================================================================// - public void keyReleased(KeyEvent event) - { - JTextField field = (JTextField) event.getSource(); - String newValue = field.getText(); - Double value = new Double((newValue.equals("") || newValue.equals("-"))? - "0." : newValue); - - if (field.equals(txtZ)) - { - if (!newValue.equals(strZ)) - { - strZ = newValue; - if (value.doubleValue() < -750. || value.doubleValue() > 750.) - { - txtZ.selectAll(); - JOptionPane.showMessageDialog(this, "Please enter a value between -750 and 750", - "Warning!!!", JOptionPane.WARNING_MESSAGE); - requestFocus(); - } - else - { - userZChanged = false; - sldZ.setValue((int) Math.round(value.doubleValue())); - onModelClippingZChanged(); - } - } - } - } - -//=======================================================================// -// InputMethod listener interface -//=======================================================================// - public void inputMethodTextChanged(InputMethodEvent event) - { - if (consume) - { - event.consume(); - consume = false; - } - } - - public void caretPositionChanged(InputMethodEvent event) - { - } -} diff --git a/samples/java/java/PropertiesDlg.java b/samples/java/java/PropertiesDlg.java deleted file mode 100755 index 5dd559bbff..0000000000 --- a/samples/java/java/PropertiesDlg.java +++ /dev/null @@ -1,2296 +0,0 @@ - -//Title: Cas.Cade Object Library - samples of using -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface group -//Company: MatraDatavision -//Description: - -import java.awt.*; -import java.awt.event.*; -import java.math.*; -import java.util.*; -import javax.swing.*; -import javax.swing.border.*; -import javax.swing.event.*; -import util.*; -import CASCADESamplesJni.*; -// import CASCADESamplesJni.Aspect_TypeOfLine; -// import CASCADESamplesJni.TShort_Array1OfShortReal; -// import CASCADESamplesJni.V2d_Viewer; -// import CASCADESamplesJni.Quantity_Color; -// import CASCADESamplesJni.Quantity_NameOfColor; -// import CASCADESamplesJni.Quantity_TypeOfColor; -// import CASCADESamplesJni.Aspect_TypeMap; -// import CASCADESamplesJni.Aspect_FontMap; -// import CASCADESamplesJni.Aspect_MarkMap; -// import CASCADESamplesJni.Aspect_FontStyle; -// import CASCADESamplesJni.Aspect_LineStyle; -// import CASCADESamplesJni.Aspect_WidthMap; -// import CASCADESamplesJni.Aspect_ColorMap; -// import CASCADESamplesJni.Aspect_WidthOfLine; - -import jcas.Standard_CString; -import SampleHLRJni.*; - -class PropertiesDlg extends JDialog - implements ActionListener -{ - private V2d_Viewer myViewer; - - //-----------------------------------------------------------// - // GUI components - //-----------------------------------------------------------// - WidthMapPane myWidthPane; - ColorMapPane myColorPane; - FontMapPane myFontPane; - TypeMapPane myTypePane; - MarkMapPane myMarkPane; - JButton btnApply; - - -//=======================================================================// -// Construction -//=======================================================================// - public PropertiesDlg(Frame frame, V2d_Viewer viewer) - { - super(frame, "View Map Properties", true); - myViewer = viewer; - try - { - jbInit(); -// setSize(500, 500); - pack(); - } - catch(Exception e) - { - e.printStackTrace(); - } - } - - private void jbInit() throws Exception - { - getContentPane().setLayout(new BorderLayout()); - - JTabbedPane myTabbedPane = new JTabbedPane(); - myTabbedPane.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5)); - - myWidthPane = new WidthMapPane(myViewer, this); - myTabbedPane.addTab("Width Map", myWidthPane); - - myColorPane = new ColorMapPane(myViewer, this); - myTabbedPane.addTab("Color Map", myColorPane); - - myFontPane = new FontMapPane(myViewer, this); - myTabbedPane.addTab("Font Map", myFontPane); - - myTypePane = new TypeMapPane(myViewer, this); - myTabbedPane.addTab("Type Map", myTypePane); - - myMarkPane = new MarkMapPane(myViewer, this); - myTabbedPane.addTab("Mark Map", myMarkPane); - - getContentPane().add(myTabbedPane, BorderLayout.CENTER); - - JPanel controlPanel = new JPanel(new FlowLayout(FlowLayout.RIGHT, 5, 5)); - - JButton btnOK = new JButton("OK"); - btnOK.addActionListener(this); - btnOK.setActionCommand("OK"); - controlPanel.add(btnOK); - - JButton btnCancel = new JButton("Cancel"); - btnCancel.addActionListener(this); - btnCancel.setActionCommand("Cancel"); - controlPanel.add(btnCancel); - - btnApply = new JButton("Apply"); - btnApply.addActionListener(this); - btnApply.setActionCommand("Apply"); - btnApply.setEnabled(false); - controlPanel.add(btnApply); - getContentPane().add(controlPanel, BorderLayout.SOUTH); - } - - -//=======================================================================// -// Commands -//=======================================================================// - public void setModified() - { - btnApply.setEnabled(true); - } - -//=======================================================================// - public String format(double value) - { - return format(value, 6); - } - - public String format(double value, int prec) - { - BigDecimal aValue = new BigDecimal(value); - return aValue.setScale(prec, BigDecimal.ROUND_HALF_UP).toString(); - } - -//=======================================================================// - private void apply() - { - myWidthPane.apply(); - myColorPane.apply(); - myFontPane.apply(); - myTypePane.apply(); - myMarkPane.apply(); - - myViewer.Update(); - - btnApply.setEnabled(false); - } - -//=======================================================================// - private void close(boolean isOK) - { - if (isOK) apply(); - dispose(); - } - - -//=======================================================================// -// Action listener interface -//=======================================================================// - public void actionPerformed(ActionEvent event) - { - String nameAction = event.getActionCommand(); - if (nameAction.equals("Apply")) apply(); - else if (nameAction.equals("OK")) close(true); - else if (nameAction.equals("Cancel")) close(false); - } - -} - - - -//=======================================================================// -// // -// WidthMapPane // -// // -//=======================================================================// -class WidthMapPane extends JPanel implements ChangeListener, - ActionListener -{ - private V2d_Viewer myViewer; - private Aspect_WidthMap myWidthMap; - private PropertiesDlg myDlg; - - //-----------------------------------------------------------// - // GUI components - //-----------------------------------------------------------// - JLabel lblMapSize; - TitledBorder brdEntries; - JSlider sldEntries; - JLabel lblType; - JLabel lblWidth; - JComboBox cmbType; - RealField txtWidth; - JButton btnUpdate; - - -//=======================================================================// -// Construction -//=======================================================================// - public WidthMapPane(V2d_Viewer viewer, PropertiesDlg parent) - { - myViewer = viewer; -// myWidthMap = new Aspect_WidthMap(myViewer.WidthMap()); - myWidthMap = myViewer.WidthMap(); - myDlg = parent; - - try - { - jbInit(); - initValues(); - } - catch(Exception ex) - { - ex.printStackTrace(); - } - } - - private void jbInit() throws Exception - { - setLayout(new GridBagLayout()); - - JPanel labelPanel = new JPanel(); - labelPanel.add(new JLabel("Size of the width map: ")); - lblMapSize = new JLabel(); - labelPanel.add(lblMapSize); - add(labelPanel, new GridBagConstraints(0, 0, 1, 1, 1.0, 0.0, - GridBagConstraints.WEST, GridBagConstraints.NONE, - new Insets(5, 10, 5, 10), 0, 0)); - - // Entries pane - JPanel entriesPanel = new JPanel(new GridBagLayout()); - brdEntries = new TitledBorder(BorderFactory.createEtchedBorder(), "Entries:"); - entriesPanel.setBorder(brdEntries); - - sldEntries = new JSlider(); - sldEntries.setMinimum(0); - sldEntries.setMinorTickSpacing(1); - sldEntries.setPaintLabels(true); - sldEntries.setPaintTicks(true); - sldEntries.setPaintTrack(true); - sldEntries.addChangeListener(this); - entriesPanel.add(sldEntries, new GridBagConstraints(0, 0, 2, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - - entriesPanel.add(new JLabel("Type: "), new GridBagConstraints(0, 1, 1, 1, 0.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - lblType = new JLabel(); - entriesPanel.add(lblType, new GridBagConstraints(1, 1, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - - entriesPanel.add(new JLabel("Width: "), new GridBagConstraints(0, 2, 1, 1, 0.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - lblWidth = new JLabel(); - entriesPanel.add(lblWidth, new GridBagConstraints(1, 2, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - add(entriesPanel, new GridBagConstraints(0, 1, 1, 1, 1.0, 0.0, - GridBagConstraints.CENTER, GridBagConstraints.BOTH, - new Insets(5, 5, 5, 5), 0, 0)); - - // New entry pane - JPanel entryPanel = new JPanel(new GridBagLayout()); - entryPanel.setBorder(new TitledBorder(BorderFactory.createEtchedBorder(), - " New entry: ")); - - entryPanel.add(new JLabel("Type: "), new GridBagConstraints(0, 0, 1, 1, 0.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - String[] items = {"THIN", "MEDIUM", "THICK", "VERYTHICK", "USERDEFINED"}; - cmbType = new JComboBox(items); - cmbType.setEditable(false); - cmbType.addActionListener(this); - cmbType.setActionCommand("Type"); - entryPanel.add(cmbType, new GridBagConstraints(1, 0, 1, 1, 0.5, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - - entryPanel.add(new JLabel("Width: "), new GridBagConstraints(0, 1, 1, 1, 0.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - txtWidth = new RealField(10); - entryPanel.add(txtWidth, new GridBagConstraints(1, 1, 1, 1, 0.5, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - - btnUpdate = new JButton("Update current"); - btnUpdate.addActionListener(this); - btnUpdate.setActionCommand("Update"); - entryPanel.add(btnUpdate, new GridBagConstraints(2, 0, 1, 1, 0.5, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - JButton button = new JButton("Add"); - button.addActionListener(this); - button.setActionCommand("Add"); - entryPanel.add(button, new GridBagConstraints(2, 1, 1, 1, 0.5, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - - add(entryPanel, new GridBagConstraints(0, 2, 1, 1, 1.0, 1.0, - GridBagConstraints.NORTH, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - } - - private void initValues() - { - updateEntries(0); - } - - -//=======================================================================// -// Commands -//=======================================================================// - public void updateEntries(int index) - { - int mapSize = myWidthMap.Size(); - lblMapSize.setText("" + mapSize); - if (index == -1) index = mapSize - 1; - - sldEntries.setMaximum(mapSize - 1); - sldEntries.setValue(index); - - if (sldEntries.getMaximum() <= 15) - { - sldEntries.setMajorTickSpacing(1); - sldEntries.setSnapToTicks(true); - } - else if (sldEntries.getMaximum() <= 75) - { - sldEntries.setMajorTickSpacing(5); - sldEntries.setSnapToTicks(false); - } - else if (sldEntries.getMaximum() <= 150) - { - sldEntries.setMajorTickSpacing(10); - sldEntries.setSnapToTicks(false); - } - else - { - sldEntries.setMajorTickSpacing(25); - sldEntries.setMinorTickSpacing(5); - sldEntries.setSnapToTicks(false); - } - - updateEntryPane(index); - } - -//=======================================================================// - public void updateEntryPane(int index) - { - brdEntries.setTitle(" Entries: " + index + " "); - repaint(); - - Aspect_WidthMapEntry anEntry = myWidthMap.Entry(index + 1); - - switch (anEntry.Type()) - { - case Aspect_WidthOfLine.Aspect_WOL_THIN: - lblType.setText("Aspect_WOL_THIN"); - break; - case Aspect_WidthOfLine.Aspect_WOL_MEDIUM: - lblType.setText("Aspect_WOL_MEDIUM"); - break; - case Aspect_WidthOfLine.Aspect_WOL_THICK: - lblType.setText("Aspect_WOL_THICK"); - break; - case Aspect_WidthOfLine.Aspect_WOL_VERYTHICK: - lblType.setText("Aspect_WOL_VERYTHICK"); - break; - case Aspect_WidthOfLine.Aspect_WOL_USERDEFINED: - lblType.setText("Aspect_WOL_USERDEFINED"); - break; - default: - lblType.setText("Unknown"); - } - - lblWidth.setText(myDlg.format(anEntry.Width())); - cmbType.setSelectedIndex(anEntry.Type()); - txtWidth.setText(myDlg.format(anEntry.Width())); - - if (index == 0) - btnUpdate.setEnabled(false); - else - btnUpdate.setEnabled(true); - } - -//=======================================================================// - public void onTypeChanged() - { - if (cmbType.getSelectedIndex() == 4) // USERDEFINED - txtWidth.setEnabled(true); - else - { - txtWidth.setEnabled(false); - Aspect_WidthMapEntry aTmpEntry = - new Aspect_WidthMapEntry(99, cmbType.getSelectedIndex()); - txtWidth.setText(myDlg.format(aTmpEntry.Width())); - } - } - -//=======================================================================// - public void updateCurrentEntry() - { - Aspect_WidthMapEntry anEntry = myWidthMap.Entry(sldEntries.getValue() + 1); - if (cmbType.getSelectedIndex() == Aspect_WidthOfLine.Aspect_WOL_USERDEFINED) - anEntry.SetWidth(txtWidth.getValue()); - else - anEntry.SetType((short)cmbType.getSelectedIndex()); - myWidthMap.AddEntry(anEntry); - myDlg.setModified(); - updateEntryPane(sldEntries.getValue()); - } - -//=======================================================================// - public void addNewEntry() - { - int newEntryIndex; - if (cmbType.getSelectedIndex() == Aspect_WidthOfLine.Aspect_WOL_USERDEFINED) - newEntryIndex = myWidthMap.AddEntry(txtWidth.getValue()); - else - newEntryIndex = myWidthMap.AddEntry(cmbType.getSelectedIndex()); - myDlg.setModified(); - updateEntries(newEntryIndex); - } - -//=======================================================================// - public void apply() - { -// myViewer.SetWidthMap(myWidthMap.getAspectWidthMap()); - myViewer.SetWidthMap(myWidthMap); - } - -//=======================================================================// -// Change listener interface -//=======================================================================// - public void stateChanged(ChangeEvent event) - { - JSlider slider = (JSlider) event.getSource(); - if (slider.equals(sldEntries)) - updateEntryPane(sldEntries.getValue()); - } - -//=======================================================================// -// Action listener interface -//=======================================================================// - public void actionPerformed(ActionEvent event) - { - String nameAction = event.getActionCommand(); - if (nameAction.equals("Type")) onTypeChanged(); - else if (nameAction.equals("Update")) updateCurrentEntry(); - else if (nameAction.equals("Add")) addNewEntry(); - } - -} - - - -//=======================================================================// -// // -// ColorMapPane // -// // -//=======================================================================// -class ColorMapPane extends JPanel implements ChangeListener, - ActionListener, - FocusListener -{ - private V2d_Viewer myViewer; - private Aspect_ColorMap myColorMap; - private PropertiesDlg myDlg; - - //-----------------------------------------------------------// - // GUI components - //-----------------------------------------------------------// - JLabel lblMapSize, lblMapType; - TitledBorder brdEntries; - JSlider sldEntries; - JLabel lblRed, lblGreen, lblBlue; - JLabel lblName; - JPanel entryPanel; - RealField txtRed, txtGreen, txtBlue; - JComboBox cmbName; - JLabel lblNotAvailable; - JButton btnUpdate; - - -//=======================================================================// -// Construction -//=======================================================================// - public ColorMapPane(V2d_Viewer viewer, PropertiesDlg parent) - { - myViewer = viewer; -// myColorMap = new Aspect_ColorMap(myViewer.ColorMap()); - myColorMap = myViewer.ColorMap(); - myDlg = parent; - - try - { - jbInit(); - initValues(); - } - catch(Exception ex) - { - ex.printStackTrace(); - } - } - - private void jbInit() throws Exception - { - setLayout(new GridBagLayout()); - - JPanel infoPanel = new JPanel(new GridBagLayout()); - - JPanel labelPanel = new JPanel(new GridBagLayout()); - labelPanel.add(new JLabel("Type of the color map: "), - new GridBagConstraints(0, 0, 1, 1, 0.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - lblMapType = new JLabel(); - labelPanel.add(lblMapType, new GridBagConstraints(1, 0, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - - labelPanel.add(new JLabel("Size of the color map: "), - new GridBagConstraints(0, 1, 1, 1, 0.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - lblMapSize = new JLabel(); - labelPanel.add(lblMapSize, new GridBagConstraints(1, 1, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - infoPanel.add(labelPanel, new GridBagConstraints(0, 0, 1, 1, 0.7, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - - JPanel buttonsPanel = new JPanel(new GridLayout(0, 1, 5, 5)); - JButton button = new JButton("New generic color map"); - button.addActionListener(this); - button.setActionCommand("NewGeneric"); - buttonsPanel.add(button); - button = new JButton("New color cube color map"); - button.addActionListener(this); - button.setActionCommand("NewColorCube"); - buttonsPanel.add(button); - button = new JButton("New color ramp color map"); - button.addActionListener(this); - button.setActionCommand("NewColorRamp"); - buttonsPanel.add(button); - infoPanel.add(buttonsPanel, new GridBagConstraints(1, 0, 1, 1, 0.3, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - - add(infoPanel, new GridBagConstraints(0, 0, 1, 1, 1.0, 0.0, - GridBagConstraints.CENTER, GridBagConstraints.BOTH, - new Insets(5, 5, 5, 5), 0, 0)); - - // Entries pane - JPanel entriesPanel = new JPanel(new GridBagLayout()); - brdEntries = new TitledBorder(BorderFactory.createEtchedBorder(), "Entries:"); - entriesPanel.setBorder(brdEntries); - - sldEntries = new JSlider(); - sldEntries.setMinimum(0); - sldEntries.setMinorTickSpacing(1); - sldEntries.setPaintLabels(true); - sldEntries.setPaintTicks(true); - sldEntries.setPaintTrack(true); - sldEntries.addChangeListener(this); - entriesPanel.add(sldEntries, new GridBagConstraints(0, 0, 5, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - - entriesPanel.add(new JLabel("Color: "), new GridBagConstraints(0, 1, 1, 1, 0.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - lblRed = new JLabel(); - entriesPanel.add(lblRed, new GridBagConstraints(1, 1, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - lblGreen = new JLabel(); - entriesPanel.add(lblGreen, new GridBagConstraints(2, 1, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - lblBlue = new JLabel(); - entriesPanel.add(lblBlue, new GridBagConstraints(3, 1, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - lblName = new JLabel(); - entriesPanel.add(lblName, new GridBagConstraints(4, 1, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - add(entriesPanel, new GridBagConstraints(0, 1, 1, 1, 1.0, 0.0, - GridBagConstraints.CENTER, GridBagConstraints.BOTH, - new Insets(5, 5, 5, 5), 0, 0)); - - // New entry pane - entryPanel = new JPanel(new GridLayout(0, 1, 5, 5)); - entryPanel.setBorder(new TitledBorder(BorderFactory.createEtchedBorder(), - " New entry: ")); - - JPanel colorPanel = new JPanel(new GridBagLayout()); - colorPanel.add(new JLabel("Color: "), new GridBagConstraints(0, 0, 1, 1, 0.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - txtRed = new RealField(6); - txtRed.addFocusListener(this); - colorPanel.add(txtRed, new GridBagConstraints(1, 0, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - txtGreen = new RealField(6); - txtGreen.addFocusListener(this); - colorPanel.add(txtGreen, new GridBagConstraints(2, 0, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - txtBlue = new RealField(6); - txtBlue.addFocusListener(this); - colorPanel.add(txtBlue, new GridBagConstraints(3, 0, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - - String[] items = new String[517]; - for (int i = 0; i < 517; i++) - items[i] = Quantity_Color.StringName((short)i).GetValue(); - cmbName = new JComboBox(items); - cmbName.setEditable(false); - cmbName.addActionListener(this); - cmbName.setActionCommand("ColorName"); - colorPanel.add(cmbName, new GridBagConstraints(4, 0, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - entryPanel.add(colorPanel); - - buttonsPanel = new JPanel(new GridLayout(1, 0, 10, 20)); - buttonsPanel.setBorder(BorderFactory.createEmptyBorder(0, 10, 10, 10)); - btnUpdate = new JButton("Update current"); - btnUpdate.addActionListener(this); - btnUpdate.setActionCommand("Update"); - buttonsPanel.add(btnUpdate); - button = new JButton("Add"); - button.addActionListener(this); - button.setActionCommand("Add"); - buttonsPanel.add(button); - button = new JButton("Edit..."); - button.addActionListener(this); - button.setActionCommand("Edit"); - buttonsPanel.add(button); - entryPanel.add(buttonsPanel); - add(entryPanel, new GridBagConstraints(0, 2, 1, 1, 1.0, 1.0, - GridBagConstraints.NORTH, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - - lblNotAvailable = new JLabel("Not available for this type of Color map"); - lblNotAvailable.setHorizontalAlignment(SwingConstants.CENTER); - lblNotAvailable.setVerticalAlignment(SwingConstants.CENTER); - lblNotAvailable.setBorder(new TitledBorder(BorderFactory.createEtchedBorder(), - " New entry: ")); - add(lblNotAvailable, new GridBagConstraints(0, 3, 1, 1, 1.0, 1.0, - GridBagConstraints.NORTH, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - } - - private void initValues() - { - updateEntries(0); - } - - -//=======================================================================// -// Commands -//=======================================================================// - public void updateEntries(int index) - { - switch (myColorMap.Type()) - { - case Aspect_TypeOfColorMap.Aspect_TOC_Generic: - lblMapType.setText("Generic"); - break; - case Aspect_TypeOfColorMap.Aspect_TOC_ColorCube: - lblMapType.setText("ColorCube"); - break; - case Aspect_TypeOfColorMap.Aspect_TOC_ColorRamp: - lblMapType.setText("ColorRamp"); - break; - default: - lblMapType.setText("Unknown"); - } - - if (myColorMap.Type() == Aspect_TypeOfColorMap.Aspect_TOC_Generic) - { - lblNotAvailable.setVisible(false); - entryPanel.setVisible(true); - } - else - { - lblNotAvailable.setVisible(true); - entryPanel.setVisible(false); - } - - int mapSize = myColorMap.Size(); - lblMapSize.setText("" + mapSize); - if (index == -1) index = mapSize - 1; - - sldEntries.setMaximum(mapSize - 1); - sldEntries.setValue(index); - - if (sldEntries.getMaximum() <= 15) - { - sldEntries.setMajorTickSpacing(1); - sldEntries.setMinorTickSpacing(1); - sldEntries.setSnapToTicks(true); - sldEntries.setPaintLabels(true); - } - else if (sldEntries.getMaximum() <= 75) - { - sldEntries.setMajorTickSpacing(5); - sldEntries.setMinorTickSpacing(1); - sldEntries.setSnapToTicks(false); - sldEntries.setPaintLabels(true); - } - else if (sldEntries.getMaximum() <= 150) - { - sldEntries.setMajorTickSpacing(10); - sldEntries.setMinorTickSpacing(2); - sldEntries.setSnapToTicks(false); - sldEntries.setPaintLabels(true); - } - else - { - sldEntries.setMajorTickSpacing(25); - sldEntries.setMinorTickSpacing(5); - sldEntries.setSnapToTicks(false); - sldEntries.setPaintLabels(false); - } - - updateEntryPane(index); - } - - public void updateEntryPane(int index) - { - brdEntries.setTitle(" Entries: " + index + " "); - repaint(); - - Aspect_ColorMapEntry anEntry = myColorMap.FindEntry(index); - - if (anEntry.IsAllocated()) - { - Quantity_Color aColor = anEntry.Color(); - double red = aColor.Red(); - double green = aColor.Green(); - double blue = aColor.Blue(); - int name = aColor.Name(); - - lblRed.setText(myDlg.format(red)); - lblGreen.setText(myDlg.format(green)); - lblBlue.setText(myDlg.format(blue)); - lblName.setText(Quantity_Color.StringName((short)name).toString()); - - txtRed.setText(myDlg.format(red)); - txtGreen.setText(myDlg.format(green)); - txtBlue.setText(myDlg.format(blue)); - cmbName.setSelectedIndex(name); - } - else - { - lblRed.setText(""); - lblGreen.setText(""); - lblBlue.setText(""); - lblName.setText("Not allocated"); - - txtRed.setText(""); - txtGreen.setText(""); - txtBlue.setText(""); - cmbName.setSelectedIndex(0); - } - - if (index == 0) - btnUpdate.setEnabled(false); - else - btnUpdate.setEnabled(true); - } - - public void newGenericMap() - { - myColorMap = V2d_DefaultMap.ColorMap(); - myDlg.setModified(); - updateEntries(0); - } - - public void newColorCubeMap() - { - ColorCubeDlg aDlg = new ColorCubeDlg(myDlg); - Position.centerWindow(aDlg); - aDlg.show(); - if (aDlg.isOK()) - { - myColorMap = aDlg.getColorMap(); - myDlg.setModified(); - updateEntries(0); - } - } - - public void newColorRampMap() - { - ColorRampDlg aDlg = new ColorRampDlg(myDlg); - Position.centerWindow(aDlg); - aDlg.show(); - if (aDlg.isOK()) - { - myColorMap = aDlg.getColorMap(); - myDlg.setModified(); - updateEntries(0); - } - } - - public void onColorNameChanged() - { - Quantity_Color aColor = new Quantity_Color((short)cmbName.getSelectedIndex()); - txtRed.setText(myDlg.format(aColor.Red())); - txtGreen.setText(myDlg.format(aColor.Green())); - txtBlue.setText(myDlg.format(aColor.Blue())); - } - - public void onColorEdit() - { - Color newColor = JColorChooser.showDialog(myDlg, "Select Color", - new Color((float) txtRed.getValue(), (float) txtGreen.getValue(), - (float) txtBlue.getValue())); - if (newColor != null) - { - double red = newColor.getRed()/255.; - double green = newColor.getGreen()/255.; - double blue = newColor.getBlue()/255.; - txtRed.setText(myDlg.format(red)); - txtGreen.setText(myDlg.format(green)); - txtBlue.setText(myDlg.format(blue)); - cmbName.setSelectedIndex(Quantity_Color.Name(red, green, blue)); - } - } - - public void updateCurrentEntry() - { - Aspect_GenericColorMap aMap = null; - if (myColorMap instanceof Aspect_GenericColorMap) - aMap = (Aspect_GenericColorMap) myColorMap; - else if (myColorMap.Type() == Aspect_TypeOfColorMap.Aspect_TOC_Generic) - aMap = (Aspect_GenericColorMap) myColorMap.DownCast( - new Standard_CString("Aspect_GenericColorMap"), - new Standard_CString("SampleHLRJni")); - - if (aMap != null) - { - Aspect_ColorMapEntry anEntry = myColorMap.FindEntry(sldEntries.getValue()); - Quantity_Color aColor = new Quantity_Color(txtRed.getValue(), - txtGreen.getValue(), txtBlue.getValue(), - Quantity_TypeOfColor.Quantity_TOC_RGB); - anEntry.SetColor(aColor); - aMap.AddEntry(anEntry); - myDlg.setModified(); - updateEntryPane(sldEntries.getValue()); - } - } - - public void addNewEntry() - { - Aspect_GenericColorMap aMap = null; - if (myColorMap instanceof Aspect_GenericColorMap) - aMap = (Aspect_GenericColorMap) myColorMap; - else if (myColorMap.Type() == Aspect_TypeOfColorMap.Aspect_TOC_Generic) - aMap = (Aspect_GenericColorMap) myColorMap.DownCast( - new Standard_CString("Aspect_GenericColorMap"), - new Standard_CString("SampleHLRJni")); - - if (aMap != null) - { - Quantity_Color aColor = new Quantity_Color(txtRed.getValue(), - txtGreen.getValue(), txtBlue.getValue(), - Quantity_TypeOfColor.Quantity_TOC_RGB); - aMap.AddEntry(aColor); - myDlg.setModified(); - updateEntries(-1); - } - } - - public void apply() - { -// myViewer.SetColorMap(myColorMap.getAspectColorMap()); - if(myColorMap instanceof Aspect_GenericColorMap) - myViewer.SetColorMap((Aspect_GenericColorMap)myColorMap); // AVO: cast inserted - else{ - System.out.println("Error: !!!!!!!!! Not the generic color map!!!"); - } - } - -//=======================================================================// -// Focus listener interface -//=======================================================================// - public void focusGained(FocusEvent event) - { - } - - public void focusLost(FocusEvent event) - { - RealField field = (RealField) event.getSource(); - if (field.getValue() < 0) field.setText("0"); - if (field.getValue() > 1) field.setText("1"); - cmbName.setSelectedIndex(Quantity_Color.Name(txtRed.getValue(), - txtGreen.getValue(), txtBlue.getValue())); - } - -//=======================================================================// -// Change listener interface -//=======================================================================// - public void stateChanged(ChangeEvent event) - { - JSlider slider = (JSlider) event.getSource(); - if (slider.equals(sldEntries)) - updateEntryPane(sldEntries.getValue()); - } - -//=======================================================================// -// Action listener interface -//=======================================================================// - public void actionPerformed(ActionEvent event) - { - String nameAction = event.getActionCommand(); - if (nameAction.equals("ColorName")) onColorNameChanged(); - else if (nameAction.equals("Edit")) onColorEdit(); - else if (nameAction.equals("Update")) updateCurrentEntry(); - else if (nameAction.equals("Add")) addNewEntry(); - else if (nameAction.equals("NewGeneric")) newGenericMap(); - else if (nameAction.equals("NewColorCube")) newColorCubeMap(); - else if (nameAction.equals("NewColorRamp")) newColorRampMap(); - } - -} - - - -//=======================================================================// -// // -// FontMapPane // -// // -//=======================================================================// -class FontMapPane extends JPanel implements ChangeListener, - ActionListener -{ - private V2d_Viewer myViewer; - private Aspect_FontMap myFontMap; - private PropertiesDlg myDlg; - - //-----------------------------------------------------------// - // GUI components - //-----------------------------------------------------------// - JLabel lblMapSize; - TitledBorder brdEntries; - JSlider sldEntries; - JLabel lblType, lblValue, lblSize, lblSlant; - JComboBox cmbType; - JTextField txtValue; - IntegerField txtSize, txtSlant; - JButton btnEdit, btnUpdate, btnAdd; - - -//=======================================================================// -// Construction -//=======================================================================// - public FontMapPane(V2d_Viewer viewer, PropertiesDlg parent) - { - myViewer = viewer; -// myFontMap = new Aspect_FontMap(myViewer.FontMap()); - myFontMap = myViewer.FontMap(); - myDlg = parent; - - try - { - jbInit(); - initValues(); - } - catch(Exception ex) - { - ex.printStackTrace(); - } - } - - private void jbInit() throws Exception - { - setLayout(new GridBagLayout()); - - JPanel labelPanel = new JPanel(); - labelPanel.add(new JLabel("Size of the font map: ")); - lblMapSize = new JLabel(); - labelPanel.add(lblMapSize); - add(labelPanel, new GridBagConstraints(0, 0, 1, 1, 1.0, 0.0, - GridBagConstraints.WEST, GridBagConstraints.NONE, - new Insets(5, 10, 5, 10), 0, 0)); - - // Entries pane - JPanel entriesPanel = new JPanel(new GridBagLayout()); - brdEntries = new TitledBorder(BorderFactory.createEtchedBorder(), "Entries:"); - entriesPanel.setBorder(brdEntries); - - sldEntries = new JSlider(); - sldEntries.setMinimum(0); - sldEntries.setMinorTickSpacing(1); - sldEntries.setPaintLabels(true); - sldEntries.setPaintTicks(true); - sldEntries.setPaintTrack(true); - sldEntries.addChangeListener(this); - entriesPanel.add(sldEntries, new GridBagConstraints(0, 0, 2, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - - entriesPanel.add(new JLabel("Type: "), new GridBagConstraints(0, 1, 1, 1, 0.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - lblType = new JLabel(); - entriesPanel.add(lblType, new GridBagConstraints(1, 1, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - - entriesPanel.add(new JLabel("Value: "), new GridBagConstraints(0, 2, 1, 1, 0.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - lblValue = new JLabel(); - entriesPanel.add(lblValue, new GridBagConstraints(1, 2, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - - entriesPanel.add(new JLabel("Size: "), new GridBagConstraints(0, 3, 1, 1, 0.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - lblSize = new JLabel(); - entriesPanel.add(lblSize, new GridBagConstraints(1, 3, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - - entriesPanel.add(new JLabel("Slant: "), new GridBagConstraints(0, 4, 1, 1, 0.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - lblSlant = new JLabel(); - entriesPanel.add(lblSlant, new GridBagConstraints(1, 4, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - add(entriesPanel, new GridBagConstraints(0, 1, 1, 1, 1.0, 0.0, - GridBagConstraints.CENTER, GridBagConstraints.BOTH, - new Insets(5, 5, 5, 5), 0, 0)); - - // New entry pane - JPanel entryPanel = new JPanel(new GridBagLayout()); - entryPanel.setBorder(new TitledBorder(BorderFactory.createEtchedBorder(), - " New entry: ")); - - entryPanel.add(new JLabel("Type: "), new GridBagConstraints(0, 0, 1, 1, 0.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - String[] items = {"DEFAULT", "COURIER", "HELVETICA", "TIMES", "USERDEFINED"}; - cmbType = new JComboBox(items); - cmbType.setEditable(false); - cmbType.addActionListener(this); - cmbType.setActionCommand("Type"); - entryPanel.add(cmbType, new GridBagConstraints(1, 0, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - btnEdit = new JButton("Edit..."); - btnEdit.addActionListener(this); - btnEdit.setActionCommand("Edit"); - entryPanel.add(btnEdit, new GridBagConstraints(2, 0, 1, 1, 0.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - - entryPanel.add(new JLabel("Value: "), new GridBagConstraints(0, 1, 1, 1, 0.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - txtValue = new JTextField(20); - txtValue.setEditable(false); - entryPanel.add(txtValue, new GridBagConstraints(1, 1, 2, 1, 1.5, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - - entryPanel.add(new JLabel("Size: "), new GridBagConstraints(0, 2, 1, 1, 0.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - txtSize = new IntegerField(6); - entryPanel.add(txtSize, new GridBagConstraints(1, 2, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - btnUpdate = new JButton("Update current"); - btnUpdate.addActionListener(this); - btnUpdate.setActionCommand("Update"); - entryPanel.add(btnUpdate, new GridBagConstraints(2, 2, 1, 1, 0.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - - entryPanel.add(new JLabel("Slant: "), new GridBagConstraints(0, 3, 1, 1, 0.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - txtSlant = new IntegerField(6); - entryPanel.add(txtSlant, new GridBagConstraints(1, 3, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - btnAdd = new JButton("Add"); - btnAdd.addActionListener(this); - btnAdd.setActionCommand("Add"); - entryPanel.add(btnAdd, new GridBagConstraints(2, 3, 1, 1, 0.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - - add(entryPanel, new GridBagConstraints(0, 2, 1, 1, 1.0, 1.0, - GridBagConstraints.NORTH, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - } - - private void initValues() - { - updateEntries(0); - } - - -//=======================================================================// -// Commands -//=======================================================================// - public void updateEntries(int index) - { - int mapSize = myFontMap.Size(); - lblMapSize.setText("" + mapSize); - if (index == -1) index = mapSize - 1; - - sldEntries.setMaximum(mapSize - 1); - sldEntries.setValue(index); - - if (sldEntries.getMaximum() <= 15) - { - sldEntries.setMajorTickSpacing(1); - sldEntries.setSnapToTicks(true); - } - else if (sldEntries.getMaximum() <= 75) - { - sldEntries.setMajorTickSpacing(5); - sldEntries.setSnapToTicks(false); - } - else if (sldEntries.getMaximum() <= 150) - { - sldEntries.setMajorTickSpacing(10); - sldEntries.setSnapToTicks(false); - } - else - { - sldEntries.setMajorTickSpacing(25); - sldEntries.setMinorTickSpacing(5); - sldEntries.setSnapToTicks(false); - } - - updateEntryPane(index); - } - - public void updateEntryPane(int index) - { - brdEntries.setTitle(" Entries: " + index + " "); - repaint(); - - Aspect_FontMapEntry anEntry = myFontMap.Entry(index + 1); - Aspect_FontStyle aStyle = anEntry.Type(); - - switch (aStyle.Style()) - { - case Aspect_TypeOfFont.Aspect_TOF_DEFAULT: - lblType.setText("Aspect_TOF_DEFAULT"); - break; - case Aspect_TypeOfFont.Aspect_TOF_COURIER: - lblType.setText("Aspect_TOF_COURIER"); - break; - case Aspect_TypeOfFont.Aspect_TOF_HELVETICA: - lblType.setText("Aspect_TOF_HELVETICA"); - break; - case Aspect_TypeOfFont.Aspect_TOF_TIMES: - lblType.setText("Aspect_TOF_TIMES"); - break; - case Aspect_TypeOfFont.Aspect_TOF_USERDEFINED: - lblType.setText("Aspect_TOF_USERDEFINED"); - break; - default: - lblType.setText("Unknown"); - } - - lblValue.setText(aStyle.Value().GetValue()); - lblSize.setText(myDlg.format(aStyle.Size(), 1)); - lblSlant.setText(myDlg.format(aStyle.Slant(), 1)); - - cmbType.setSelectedIndex(aStyle.Style()); - txtValue.setText(aStyle.Value().GetValue()); - txtSize.setText(myDlg.format(aStyle.Size(), 1)); - txtSlant.setText(myDlg.format(aStyle.Slant(), 1)); - } - - public void onTypeChanged() - { - if (cmbType.getSelectedIndex() == Aspect_TypeOfFont.Aspect_TOF_USERDEFINED) - { - txtValue.setText("Please, select the font"); - txtSize.setText(""); - txtSlant.setText(""); - btnEdit.setEnabled(true); - btnUpdate.setEnabled(false); - btnAdd.setEnabled(false); - txtSize.setEnabled(false); - txtSlant.setEnabled(false); - } - else - { - Aspect_FontStyle aStyle = new Aspect_FontStyle((short)cmbType.getSelectedIndex(), - 0.3, 0.0, false); - txtValue.setText(aStyle.Value().GetValue()); - txtSize.setText(myDlg.format(aStyle.Size(), 1)); - txtSlant.setText(myDlg.format(aStyle.Slant(), 1)); - btnEdit.setEnabled(false); - btnUpdate.setEnabled(true); - btnAdd.setEnabled(true); - txtSize.setEnabled(true); - txtSlant.setEnabled(true); - } - } - - public void onFontEdit() - { - Font defFont = new Font("Helvetica", Font.BOLD, 10); - JFontChooser aDlg = new JFontChooser(defFont); - if (aDlg.showDialog(myDlg, "Choose a font") == JFontChooser.ACCEPT_OPTION) - { - Font newFont = aDlg.getSelectedFont(); - Standard_CString name = - new Standard_CString(newFont.getFamily() + (newFont.isBold() ? - (newFont.isItalic() ? "-BoldItalic" : "-Bold") : - (newFont.isItalic() ? "-Italic" : ""))); - Aspect_FontStyle aStyle = - new Aspect_FontStyle(name, newFont.getSize()*25.4/72., 0.0, false); - txtValue.setText(aStyle.Value().GetValue()); - txtSize.setText(myDlg.format(aStyle.Size(), 1)); - txtSlant.setText(""); - btnUpdate.setEnabled(true); - btnAdd.setEnabled(true); - } - } - - public void updateCurrentEntry() - { - Aspect_FontMapEntry anEntry = myFontMap.Entry(sldEntries.getValue() + 1); - if (cmbType.getSelectedIndex() == Aspect_TypeOfFont.Aspect_TOF_USERDEFINED) - { - Aspect_FontStyle aStyle = - new Aspect_FontStyle(new Standard_CString(txtValue.getText())); - anEntry.SetType(aStyle); - } - else - { - Aspect_FontStyle aStyle = - new Aspect_FontStyle((short)cmbType.getSelectedIndex(), (double)txtSize.getValue(), - (double)txtSlant.getValue(), false); - anEntry.SetType(aStyle); - } - myFontMap.AddEntry(anEntry); - myDlg.setModified(); - updateEntryPane(sldEntries.getValue()); - } - - public void addNewEntry() - { - Aspect_FontStyle aStyle; - if (cmbType.getSelectedIndex() == Aspect_TypeOfFont.Aspect_TOF_USERDEFINED) - aStyle = new Aspect_FontStyle(new Standard_CString(txtValue.getText())); - else - aStyle = new Aspect_FontStyle((short)cmbType.getSelectedIndex(), (double)txtSize.getValue(), (double)txtSlant.getValue(), false); - myFontMap.AddEntry(aStyle); - myDlg.setModified(); - updateEntries(-1); - } - - public void apply() - { -// myViewer.SetFontMap(myFontMap.getAspectFontMap(), true); - myViewer.SetFontMap(myFontMap, true); - } - -//=======================================================================// -// Change listener interface -//=======================================================================// - public void stateChanged(ChangeEvent event) - { - JSlider slider = (JSlider) event.getSource(); - if (slider.equals(sldEntries)) - updateEntryPane(sldEntries.getValue()); - } - -//=======================================================================// -// Action listener interface -//=======================================================================// - public void actionPerformed(ActionEvent event) - { - String nameAction = event.getActionCommand(); - if (nameAction.equals("Type")) onTypeChanged(); - else if (nameAction.equals("Edit")) onFontEdit(); - else if (nameAction.equals("Update")) updateCurrentEntry(); - else if (nameAction.equals("Add")) addNewEntry(); - } -} - - - -//=======================================================================// -// // -// TypeMapPane // -// // -//=======================================================================// -class TypeMapPane extends JPanel implements ChangeListener, - ActionListener -{ - private V2d_Viewer myViewer; - private Aspect_TypeMap myTypeMap; - private PropertiesDlg myDlg; - - //-----------------------------------------------------------// - // GUI components - //-----------------------------------------------------------// - JLabel lblMapSize; - TitledBorder brdEntries; - JSlider sldEntries; - JLabel lblStyle; - JLabel lblValue; - JComboBox cmbStyle; - JTextField txtValue; - JButton btnUpdate; - - -//=======================================================================// -// Construction -//=======================================================================// - public TypeMapPane(V2d_Viewer viewer, PropertiesDlg parent) - { - myViewer = viewer; -// myTypeMap = new Aspect_TypeMap(myViewer.TypeMap()); - myTypeMap = myViewer.TypeMap(); - myDlg = parent; - - try - { - jbInit(); - initValues(); - } - catch(Exception ex) - { - ex.printStackTrace(); - } - } - - private void jbInit() throws Exception - { - setLayout(new GridBagLayout()); - - JPanel labelPanel = new JPanel(); - labelPanel.add(new JLabel("Size of the type map: ")); - lblMapSize = new JLabel(); - labelPanel.add(lblMapSize); - add(labelPanel, new GridBagConstraints(0, 0, 1, 1, 1.0, 0.0, - GridBagConstraints.WEST, GridBagConstraints.NONE, - new Insets(5, 10, 5, 10), 0, 0)); - - // Entries pane - JPanel entriesPanel = new JPanel(new GridBagLayout()); - brdEntries = new TitledBorder(BorderFactory.createEtchedBorder(), "Entries:"); - entriesPanel.setBorder(brdEntries); - - sldEntries = new JSlider(); - sldEntries.setMinimum(0); - sldEntries.setMinorTickSpacing(1); - sldEntries.setPaintLabels(true); - sldEntries.setPaintTicks(true); - sldEntries.setPaintTrack(true); - sldEntries.addChangeListener(this); - entriesPanel.add(sldEntries, new GridBagConstraints(0, 0, 2, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - - entriesPanel.add(new JLabel("Style: "), new GridBagConstraints(0, 1, 1, 1, 0.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - lblStyle = new JLabel(); - entriesPanel.add(lblStyle, new GridBagConstraints(1, 1, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - - entriesPanel.add(new JLabel("Value: "), new GridBagConstraints(0, 2, 1, 1, 0.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - lblValue = new JLabel(); - entriesPanel.add(lblValue, new GridBagConstraints(1, 2, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - add(entriesPanel, new GridBagConstraints(0, 1, 1, 1, 1.0, 0.0, - GridBagConstraints.CENTER, GridBagConstraints.BOTH, - new Insets(5, 5, 5, 5), 0, 0)); - - // New entry pane - JPanel entryPanel = new JPanel(new GridBagLayout()); - entryPanel.setBorder(new TitledBorder(BorderFactory.createEtchedBorder(), - " New entry: ")); - - entryPanel.add(new JLabel("Style: "), new GridBagConstraints(0, 0, 1, 1, 0.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - String[] items = {"SOLID", "DASH", "DOT", "DOTDASH", "USERDEFINED"}; - cmbStyle = new JComboBox(items); - cmbStyle.setEditable(false); - cmbStyle.addActionListener(this); - cmbStyle.setActionCommand("Style"); - entryPanel.add(cmbStyle, new GridBagConstraints(1, 0, 1, 1, 0.5, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - - entryPanel.add(new JLabel("Value: "), new GridBagConstraints(0, 1, 1, 1, 0.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - txtValue = new JTextField(20); - entryPanel.add(txtValue, new GridBagConstraints(1, 1, 1, 1, 0.5, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - - btnUpdate = new JButton("Update current"); - btnUpdate.addActionListener(this); - btnUpdate.setActionCommand("Update"); - entryPanel.add(btnUpdate, new GridBagConstraints(2, 0, 1, 1, 0.5, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - JButton button = new JButton("Add"); - button.addActionListener(this); - button.setActionCommand("Add"); - entryPanel.add(button, new GridBagConstraints(2, 1, 1, 1, 0.5, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - - add(entryPanel, new GridBagConstraints(0, 2, 1, 1, 1.0, 1.0, - GridBagConstraints.NORTH, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - } - - private void initValues() - { - updateEntries(0); - } - - -//=======================================================================// -// Commands -//=======================================================================// - public void updateEntries(int index) - { - int mapSize = myTypeMap.Size(); - lblMapSize.setText("" + mapSize); - if (index == -1) index = mapSize - 1; - - sldEntries.setMaximum(mapSize - 1); - sldEntries.setValue(index); - - if (sldEntries.getMaximum() <= 15) - { - sldEntries.setMajorTickSpacing(1); - sldEntries.setSnapToTicks(true); - } - else if (sldEntries.getMaximum() <= 75) - { - sldEntries.setMajorTickSpacing(5); - sldEntries.setSnapToTicks(false); - } - else if (sldEntries.getMaximum() <= 150) - { - sldEntries.setMajorTickSpacing(10); - sldEntries.setSnapToTicks(false); - } - else - { - sldEntries.setMajorTickSpacing(25); - sldEntries.setMinorTickSpacing(5); - sldEntries.setSnapToTicks(false); - } - - updateEntryPane(index); - } - -//=======================================================================// - public void updateEntryPane(int index) - { - brdEntries.setTitle(" Entries: " + index + " "); - repaint(); - - Aspect_TypeMapEntry anEntry = myTypeMap.Entry(index + 1); - if (anEntry.IsAllocated()) - { - Aspect_LineStyle aStyle = anEntry.Type(); - - switch (aStyle.Style()) - { - case Aspect_TypeOfLine.Aspect_TOL_SOLID: - lblStyle.setText("SOLID"); - break; - case Aspect_TypeOfLine.Aspect_TOL_DASH: - lblStyle.setText("DASH"); - break; - case Aspect_TypeOfLine.Aspect_TOL_DOT: - lblStyle.setText("DOT"); - break; - case Aspect_TypeOfLine.Aspect_TOL_DOTDASH: - lblStyle.setText("DOTDASH"); - break; - case Aspect_TypeOfLine.Aspect_TOL_USERDEFINED: - lblStyle.setText("USERDEFINED"); - break; - default: - lblStyle.setText("Unknown"); - } - - lblValue.setText(buildValuesString(aStyle.Values())); - cmbStyle.setSelectedIndex(aStyle.Style()); - txtValue.setText(buildValuesString(aStyle.Values())); - } - else - { - lblStyle.setText("Not allocated"); - lblValue.setText(""); - cmbStyle.setSelectedIndex(4); - txtValue.setText(""); - } - } - -//=======================================================================// - public void onStyleChanged() - { - if (cmbStyle.getSelectedIndex() == Aspect_TypeOfLine.Aspect_TOL_USERDEFINED) - txtValue.setEnabled(true); - else - { - txtValue.setEnabled(false); - - Aspect_TypeMapEntry aTmpEntry = new Aspect_TypeMapEntry(99, new Aspect_LineStyle((short)cmbStyle.getSelectedIndex())); - Aspect_LineStyle aStyle = aTmpEntry.Type(); - txtValue.setText(buildValuesString(aStyle.Values())); - } - } - -//=======================================================================// - public void updateCurrentEntry() - { - Aspect_TypeMapEntry anEntry = myTypeMap.Entry(sldEntries.getValue() + 1); - - if (cmbStyle.getSelectedIndex() == Aspect_TypeOfLine.Aspect_TOL_USERDEFINED) - { - TColQuantity_Array1OfLength aValues = extractValues(txtValue.getText()); - if (aValues != null) - { - Aspect_LineStyle aStyle = new Aspect_LineStyle(aValues); - anEntry.SetType(aStyle); - } - else - { - JOptionPane.showMessageDialog(myDlg, "The string isn't valid", - "Error", JOptionPane.ERROR_MESSAGE); - return; - } - } - else - { -// Aspect_LineStyle aStyle = new Aspect_LineStyle(cmbStyle.getSelectedIndex()); - Aspect_LineStyle aStyle = new Aspect_LineStyle((short)cmbStyle.getSelectedIndex()); - anEntry.SetType(aStyle); - } - myTypeMap.AddEntry(anEntry); - myDlg.setModified(); - updateEntryPane(sldEntries.getValue()); - } - -//=======================================================================// - public void addNewEntry() - { - int newEntryIndex; - if (cmbStyle.getSelectedIndex() == Aspect_TypeOfLine.Aspect_TOL_USERDEFINED) - { - TColQuantity_Array1OfLength aValues = extractValues(txtValue.getText()); - if (aValues != null) - { - Aspect_LineStyle aStyle = new Aspect_LineStyle(aValues); - newEntryIndex = myTypeMap.AddEntry(aStyle); - } - else - { - JOptionPane.showMessageDialog(myDlg, "The string isn't valid", - "Error", JOptionPane.ERROR_MESSAGE); - return; - } - } - else - { - Aspect_LineStyle aStyle = new Aspect_LineStyle((short)cmbStyle.getSelectedIndex()); - newEntryIndex = myTypeMap.AddEntry(aStyle); - } - myDlg.setModified(); - updateEntries(newEntryIndex); - } - -//=======================================================================// - public void apply() - { -// myViewer.SetTypeMap(myTypeMap.getAspectTypeMap()); - myViewer.SetTypeMap(myTypeMap); - } - -//=======================================================================// - private TColQuantity_Array1OfLength extractValues(String aValues) - { - if (aValues.equals("")) - return null; - - Vector v = new Vector(5); - int pos = 0; - boolean isFinish = false; - - while (!isFinish) - { - int k = aValues.indexOf(";", pos); - if (k == -1) - { - try { - BigDecimal value = new BigDecimal(aValues.substring(pos).trim()); - v.add(value); - } - catch (Exception e) { - return null; - } - isFinish = true; - } - else - { - try { - BigDecimal value = new BigDecimal(aValues.substring(pos, k).trim()); - v.add(value); - } - catch (Exception e) { - return null; - } - pos = k + 1; - } - } - if (v.isEmpty()) - return null; - - int count = v.size(); - TColQuantity_Array1OfLength anArray = new TColQuantity_Array1OfLength(1, count); - for (int i = 0; i < count; i++) - { - BigDecimal value = (BigDecimal) v.get(i); - anArray.SetValue(i+1, value.doubleValue()); - } - return anArray; - } - -//=======================================================================// - private String buildValuesString(TColQuantity_Array1OfLength anArray) - { - String aValues = new String(""); - int count = anArray.Length(); - for (int i = 0; i < count; i++) - { - if (i > 0) aValues += "; "; - aValues += myDlg.format(anArray.Value(i+1)); - } - return aValues; - } - -//=======================================================================// -// Change listener interface -//=======================================================================// - public void stateChanged(ChangeEvent event) - { - JSlider slider = (JSlider) event.getSource(); - if (slider.equals(sldEntries)) - updateEntryPane(sldEntries.getValue()); - } - -//=======================================================================// -// Action listener interface -//=======================================================================// - public void actionPerformed(ActionEvent event) - { - String nameAction = event.getActionCommand(); - if (nameAction.equals("Style")) onStyleChanged(); - else if (nameAction.equals("Update")) updateCurrentEntry(); - else if (nameAction.equals("Add")) addNewEntry(); - } - -} - - - -//=======================================================================// -// // -// MarkMapPane // -// // -//=======================================================================// -class MarkMapPane extends JPanel implements ChangeListener -{ - private V2d_Viewer myViewer; - private Aspect_MarkMap myMarkMap; - private PropertiesDlg myDlg; - - //-----------------------------------------------------------// - // GUI components - //-----------------------------------------------------------// - JLabel lblMapSize; - TitledBorder brdEntries; - JSlider sldEntries; - JLabel lblStyle; - JPanel paneXValues, paneYValues, paneSValues; - - -//=======================================================================// -// Construction -//=======================================================================// - public MarkMapPane(V2d_Viewer viewer, PropertiesDlg parent) - { - myViewer = viewer; -// myMarkMap = new Aspect_MarkMap(myViewer.MarkMap()); - myMarkMap = myViewer.MarkMap(); - myDlg = parent; - - try - { - jbInit(); - initValues(); - } - catch(Exception ex) - { - ex.printStackTrace(); - } - } - - private void jbInit() throws Exception - { - setLayout(new GridBagLayout()); - - JPanel labelPanel = new JPanel(); - labelPanel.add(new JLabel("Size of the mark map: ")); - lblMapSize = new JLabel(); - labelPanel.add(lblMapSize); - add(labelPanel, new GridBagConstraints(0, 0, 1, 1, 1.0, 0.0, - GridBagConstraints.WEST, GridBagConstraints.NONE, - new Insets(5, 10, 5, 10), 0, 0)); - - // Entries pane - JPanel entriesPanel = new JPanel(new GridBagLayout()); - brdEntries = new TitledBorder(BorderFactory.createEtchedBorder(), "Entries:"); - entriesPanel.setBorder(brdEntries); - - sldEntries = new JSlider(); - sldEntries.setMinimum(0); - sldEntries.setMinorTickSpacing(1); - sldEntries.setPaintLabels(true); - sldEntries.setPaintTicks(true); - sldEntries.setPaintTrack(true); - sldEntries.addChangeListener(this); - entriesPanel.add(sldEntries, new GridBagConstraints(0, 0, 2, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - - entriesPanel.add(new JLabel("Style: "), new GridBagConstraints(0, 1, 1, 1, 0.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - lblStyle = new JLabel(); - entriesPanel.add(lblStyle, new GridBagConstraints(1, 1, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - - entriesPanel.add(new JLabel("XValues: "), new GridBagConstraints(0, 2, 1, 1, 0.0, 1.0, - GridBagConstraints.NORTH, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - paneXValues = new JPanel() { - public Dimension getPreferredSize() { - Dimension size = super.getPreferredSize(); - return new Dimension(size.width, Math.min(size.height, 100)); - } - public Dimension getMinimumSize() { - Dimension size = super.getMinimumSize(); - return new Dimension(size.width, Math.min(size.height, 100)); - } - }; - entriesPanel.add(paneXValues, new GridBagConstraints(1, 2, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - - entriesPanel.add(new JLabel("YValues: "), new GridBagConstraints(0, 3, 1, 1, 0.0, 1.0, - GridBagConstraints.NORTH, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - paneYValues = new JPanel() { - public Dimension getPreferredSize() { - Dimension size = super.getPreferredSize(); - return new Dimension(size.width, Math.min(size.height, 100)); - } - public Dimension getMinimumSize() { - Dimension size = super.getMinimumSize(); - return new Dimension(size.width, Math.min(size.height, 100)); - } - }; - entriesPanel.add(paneYValues, new GridBagConstraints(1, 3, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - - entriesPanel.add(new JLabel("SValues: "), new GridBagConstraints(0, 4, 1, 1, 0.0, 1.0, - GridBagConstraints.NORTH, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - paneSValues = new JPanel() { - public Dimension getPreferredSize() { - Dimension size = super.getPreferredSize(); - return new Dimension(size.width, Math.min(size.height, 100)); - } - public Dimension getMinimumSize() { - Dimension size = super.getMinimumSize(); - return new Dimension(size.width, Math.min(size.height, 100)); - } - }; - entriesPanel.add(paneSValues, new GridBagConstraints(1, 4, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - add(entriesPanel, new GridBagConstraints(0, 1, 1, 1, 1.0, 1.0, - GridBagConstraints.NORTH, GridBagConstraints.HORIZONTAL, - new Insets(5, 5, 5, 5), 0, 0)); - } - - private void initValues() - { - updateEntries(0); - } - - -//=======================================================================// -// Commands -//=======================================================================// - public void updateEntries(int index) - { - int mapSize = myMarkMap.Size(); - lblMapSize.setText("" + mapSize); - if (index == -1) index = mapSize - 1; - - sldEntries.setMaximum(mapSize - 1); - sldEntries.setValue(index); - - if (sldEntries.getMaximum() <= 15) - { - sldEntries.setMajorTickSpacing(1); - sldEntries.setSnapToTicks(true); - } - else if (sldEntries.getMaximum() <= 75) - { - sldEntries.setMajorTickSpacing(5); - sldEntries.setSnapToTicks(false); - } - else if (sldEntries.getMaximum() <= 150) - { - sldEntries.setMajorTickSpacing(10); - sldEntries.setSnapToTicks(false); - } - else - { - sldEntries.setMajorTickSpacing(25); - sldEntries.setMinorTickSpacing(5); - sldEntries.setSnapToTicks(false); - } - - updateEntryPane(index); - } - -//=======================================================================// - public void updateEntryPane(int index) - { - brdEntries.setTitle(" Entries: " + index + " "); - repaint(); - - Aspect_MarkMapEntry anEntry = myMarkMap.Entry(index + 1); - if (anEntry.IsAllocated()) - { - Aspect_MarkerStyle aStyle = anEntry.Style(); - - switch (aStyle.Type()) - { - case Aspect_TypeOfMarker.Aspect_TOM_POINT: - lblStyle.setText("Aspect_TOM_POINT"); - break; - case Aspect_TypeOfMarker.Aspect_TOM_PLUS: - lblStyle.setText("Aspect_TOM_PLUS"); - break; - case Aspect_TypeOfMarker.Aspect_TOM_STAR: - lblStyle.setText("Aspect_TOM_STAR"); - break; - case Aspect_TypeOfMarker.Aspect_TOM_O: - lblStyle.setText("Aspect_TOM_O"); - break; - case Aspect_TypeOfMarker.Aspect_TOM_X: - lblStyle.setText("Aspect_TOM_X"); - break; - case Aspect_TypeOfMarker.Aspect_TOM_O_POINT: - lblStyle.setText("Aspect_TOM_O_POINT"); - break; - case Aspect_TypeOfMarker.Aspect_TOM_O_PLUS: - lblStyle.setText("Aspect_TOM_O_PLUS"); - break; - case Aspect_TypeOfMarker.Aspect_TOM_O_STAR: - lblStyle.setText("Aspect_TOM_O_STAR"); - break; - case Aspect_TypeOfMarker.Aspect_TOM_O_X: - lblStyle.setText("Aspect_TOM_O_X"); - break; - case Aspect_TypeOfMarker.Aspect_TOM_BALL: - lblStyle.setText("Aspect_TOM_BALL"); - break; - case Aspect_TypeOfMarker.Aspect_TOM_RING1: - lblStyle.setText("Aspect_TOM_RING1"); - break; - case Aspect_TypeOfMarker.Aspect_TOM_RING2: - lblStyle.setText("Aspect_TOM_RING2"); - break; - case Aspect_TypeOfMarker.Aspect_TOM_RING3: - lblStyle.setText("Aspect_TOM_RING3"); - break; - case Aspect_TypeOfMarker.Aspect_TOM_USERDEFINED: - lblStyle.setText("Aspect_TOM_USERDEFINED"); - break; - default: - lblStyle.setText("Unknown"); - } - - setValues(paneXValues, getStringValues(aStyle.XValues())); - setValues(paneYValues, getStringValues(aStyle.YValues())); - setValues(paneSValues, getStringValues(aStyle.SValues())); - } - else - { - lblStyle.setText("Not allocated"); - paneXValues.removeAll(); - paneYValues.removeAll(); - paneSValues.removeAll(); - } - } - -//=======================================================================// - public void apply() - { - } - - //=======================================================================// - private void setValues(JPanel pane, String[] aValues) - { - pane.removeAll(); - pane.setLayout(new ToolbarLayout(ToolbarLayout.LEFT, ToolbarLayout.TOP, 10, 0)); - for (int i = 0; i < aValues.length; i++) - pane.add(new JLabel(aValues[i])); - } - -//=======================================================================// - private String[] getStringValues(TShort_Array1OfShortReal anArray) - { - int count = anArray.Length(); - if (count == 0) - return new String[1]; - - String[] aValues = new String[count]; - for (int i = 0; i < count; i++) - aValues[i] = myDlg.format(anArray.Value(i+1)); - return aValues; - } - -//=======================================================================// - private String[] getStringValues(TColStd_Array1OfBoolean anArray) - { - int count = anArray.Length(); - String[] aValues = new String[count]; - for (int i = 0; i < count; i++) - aValues[i] = anArray.Value(i+1) ? "True" : "False"; - return aValues; - } - - -//=======================================================================// -// Change listener interface -//=======================================================================// - public void stateChanged(ChangeEvent event) - { - JSlider slider = (JSlider) event.getSource(); - if (slider.equals(sldEntries)) - updateEntryPane(sldEntries.getValue()); - } - -} - - -//=======================================================================// -// // -// ColorCubeDlg // -// // -//=======================================================================// -class ColorCubeDlg extends JDialog implements ActionListener -{ - private IntegerField txtBasePixel = new IntegerField("0"); - private IntegerField txtRedMax = new IntegerField("7"); - private IntegerField txtRedMult = new IntegerField("1"); - private IntegerField txtGreenMax = new IntegerField("7"); - private IntegerField txtGreenMult = new IntegerField("8"); - private IntegerField txtBlueMax = new IntegerField("3"); - private IntegerField txtBlueMult = new IntegerField("64"); - private boolean isOK = false; - -//=======================================================================// -// Construction -//=======================================================================// - public ColorCubeDlg(PropertiesDlg parent) - { - super(parent, "New Color Cube", true); - try - { - jbInit(); - } - catch(Exception ex) - { - ex.printStackTrace(); - } - } - - private void jbInit() throws Exception - { - getContentPane().setLayout(new BorderLayout(10, 10)); - - JPanel infoPane = new JPanel(new GridLayout(0, 2, 10, 10)); - infoPane.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10)); - infoPane.add(new JLabel("base_pixel")); - infoPane.add(txtBasePixel); - infoPane.add(new JLabel("redmax")); - infoPane.add(txtRedMax); - infoPane.add(new JLabel("redmult")); - infoPane.add(txtRedMult); - infoPane.add(new JLabel("greenmax")); - infoPane.add(txtGreenMax); - infoPane.add(new JLabel("greenmult")); - infoPane.add(txtGreenMult); - infoPane.add(new JLabel("bluemax")); - infoPane.add(txtBlueMax); - infoPane.add(new JLabel("bluemult")); - infoPane.add(txtBlueMult); - getContentPane().add(infoPane, BorderLayout.CENTER); - - JPanel controlPane = new JPanel(); - controlPane.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10)); - JPanel pane = new JPanel(new GridLayout(0, 1, 10, 10)); - JButton button = new JButton("OK"); - button.addActionListener(this); - button.setActionCommand("OK"); - pane.add(button); - button = new JButton("Cancel"); - button.addActionListener(this); - button.setActionCommand("Cancel"); - pane.add(button); - controlPane.add(pane); - getContentPane().add(controlPane, BorderLayout.EAST); - pack(); - } - -//=======================================================================// - private void close(boolean b) - { - isOK = b; - dispose(); - } - -//=======================================================================// - public boolean isOK() - { - return isOK; - } - -//=======================================================================// - public Aspect_ColorCubeColorMap getColorMap() - { - if (isOK) - { - Aspect_ColorCubeColorMap aMap = - new Aspect_ColorCubeColorMap(txtBasePixel.getValue(), - txtRedMax.getValue(), txtRedMult.getValue(), - txtGreenMax.getValue(), txtGreenMult.getValue(), - txtBlueMax.getValue(), txtBlueMult.getValue()); - return aMap; - } - - return null; - } - - -//=======================================================================// -// Action listener interface -//=======================================================================// - public void actionPerformed(ActionEvent event) - { - String nameAction = event.getActionCommand(); - if (nameAction.equals("OK")) close(true); - else if (nameAction.equals("Cancel")) close(false); - } - -} - - - -//=======================================================================// -// // -// ColorRampDlg // -// // -//=======================================================================// -class ColorRampDlg extends JDialog implements ActionListener, - FocusListener -{ - private IntegerField txtBasePixel; - private IntegerField txtDimension; - private JComboBox cmbName; - private RealField txtRed; - private RealField txtGreen; - private RealField txtBlue; - private boolean isOK = false; - private PropertiesDlg myDlg; - -//=======================================================================// -// Construction -//=======================================================================// - public ColorRampDlg(PropertiesDlg parent) - { - super(parent, "New Color Ramp", true); - myDlg = parent; - try - { - jbInit(); - } - catch(Exception ex) - { - ex.printStackTrace(); - } - } - - private void jbInit() throws Exception - { - getContentPane().setLayout(new BorderLayout(10, 10)); - - JPanel infoPane = new JPanel(new GridLayout(0, 2, 10, 10)); - infoPane.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10)); - infoPane.add(new JLabel("base_pixel")); - txtBasePixel = new IntegerField("0"); - infoPane.add(txtBasePixel); - infoPane.add(new JLabel("dimension")); - txtDimension = new IntegerField("16"); - infoPane.add(txtDimension); - infoPane.add(new JLabel("Color Name")); - - String[] items = new String[517]; - for (int i = 0; i < 517; i++) - items[i] = Quantity_Color.StringName((short)i).GetValue(); - cmbName = new JComboBox(items); - cmbName.setEditable(false); - cmbName.addActionListener(this); - cmbName.setActionCommand("ColorName"); - infoPane.add(cmbName); - getContentPane().add(infoPane, BorderLayout.CENTER); - - JPanel colorPane = new JPanel(new GridLayout(1, 0, 10, 10)); - colorPane.setBorder(BorderFactory.createEmptyBorder(0, 10, 10, 10)); - txtRed = new RealField(8); - txtRed.addFocusListener(this); - colorPane.add(txtRed); - txtGreen = new RealField(8); - txtGreen.addFocusListener(this); - colorPane.add(txtGreen); - txtBlue = new RealField(8); - txtBlue.addFocusListener(this); - colorPane.add(txtBlue); - JButton button = new JButton("Edit..."); - button.addActionListener(this); - button.setActionCommand("Edit"); - colorPane.add(button); - cmbName.setSelectedIndex(Quantity_NameOfColor.Quantity_NOC_RED); - getContentPane().add(colorPane, BorderLayout.SOUTH); - - JPanel controlPane = new JPanel(); - controlPane.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10)); - JPanel pane = new JPanel(new GridLayout(0, 1, 10, 10)); - button = new JButton("OK"); - button.addActionListener(this); - button.setActionCommand("OK"); - pane.add(button); - button = new JButton("Cancel"); - button.addActionListener(this); - button.setActionCommand("Cancel"); - pane.add(button); - controlPane.add(pane); - getContentPane().add(controlPane, BorderLayout.EAST); - pack(); - } - -//=======================================================================// - private void close(boolean b) - { - isOK = b; - dispose(); - } - -//=======================================================================// - private void editColor() - { - Color newColor = JColorChooser.showDialog(this, "Select Color", - new Color((float) txtRed.getValue(), (float) txtGreen.getValue(), - (float) txtBlue.getValue())); - if (newColor != null) - { - double red = newColor.getRed()/255.; - double green = newColor.getGreen()/255.; - double blue = newColor.getBlue()/255.; - txtRed.setText(myDlg.format(red)); - txtGreen.setText(myDlg.format(green)); - txtBlue.setText(myDlg.format(blue)); - cmbName.setSelectedIndex(Quantity_Color.Name(red, green, blue)); - } - } - -//=======================================================================// - private void changeColor() - { - Quantity_Color aColor = new Quantity_Color((short)cmbName.getSelectedIndex()); - txtRed.setText(myDlg.format(aColor.Red())); - txtGreen.setText(myDlg.format(aColor.Green())); - txtBlue.setText(myDlg.format(aColor.Blue())); - } - -//=======================================================================// - public boolean isOK() - { - return isOK; - } - -//=======================================================================// - public Aspect_ColorRampColorMap getColorMap() - { - if (isOK) - { - Quantity_Color aColor = - new Quantity_Color(txtRed.getValue(), txtGreen.getValue(), txtBlue.getValue(), - Quantity_TypeOfColor.Quantity_TOC_RGB); - Aspect_ColorRampColorMap aMap = - new Aspect_ColorRampColorMap(txtBasePixel.getValue(), txtDimension.getValue(), - aColor); - return aMap; - } - - return null; - } - - -//=======================================================================// -// Focus listener interface -//=======================================================================// - public void focusGained(FocusEvent event) - { - } - - public void focusLost(FocusEvent event) - { - RealField field = (RealField) event.getSource(); - if (field.getValue() < 0) field.setText("0"); - if (field.getValue() > 1) field.setText("1"); - cmbName.setSelectedIndex(Quantity_Color.Name(txtRed.getValue(), - txtGreen.getValue(), txtBlue.getValue())); - } - -//=======================================================================// -// Action listener interface -//=======================================================================// - public void actionPerformed(ActionEvent event) - { - String nameAction = event.getActionCommand(); - if (nameAction.equals("OK")) close(true); - else if (nameAction.equals("Cancel")) close(false); - else if (nameAction.equals("Edit")) editColor(); - else if (nameAction.equals("ColorName")) changeColor(); - } - -} - - diff --git a/samples/java/java/RadiusDlg.java b/samples/java/java/RadiusDlg.java deleted file mode 100755 index e43142feef..0000000000 --- a/samples/java/java/RadiusDlg.java +++ /dev/null @@ -1,86 +0,0 @@ - -//Title: The AISSelect Sample -//Version: -//Copyright: Copyright (c) 1999 -//Author: -//Company: Matra Datavision -//Description: - -import java.awt.*; -import java.util.*; -import java.math.*; -import javax.swing.*; -import util.*; - - -public class RadiusDlg extends StandardDlg -{ - private RealSpin spnValue = new RealSpin("10.0", "1.0"); - private double myValue = 10.0; - private boolean isOK = false; - - //********************************************************************** - public RadiusDlg(Frame parent, double value) - { - super(parent, "Radius", true, true, false, true); - myValue = value; - - InitDlg(); - - BigDecimal BD = new BigDecimal(myValue); - BD = BD.setScale(2, BigDecimal.ROUND_HALF_UP); - spnValue.setValue(BD.toString()); - - pack(); - } - -//********************************************************************** - private void InitDlg() - { - JPanel aPane = new JPanel(new GridLayout(2, 1, 0, 4)); - - aPane.add(new JLabel("Radius fillet")); - - spnValue.setMinValue("-10000.0"); - spnValue.setMaxValue("10000.0"); - spnValue.setColumns(6); - spnValue.setBorder(BorderFactory.createEmptyBorder(0, 15, 0, 15)); - aPane.add(spnValue); - - aPane.setBorder(BorderFactory.createEmptyBorder(5, 7, 5, 7)); - ControlsPanel.setLayout(new BorderLayout()); - ControlsPanel.add(aPane, BorderLayout.CENTER); - pack(); - setResizable(false); - } - -//********************************************************************** - public void OkAction() - { - myValue = spnValue.getValue(); - isOK = true; - dispose(); - } - -//********************************************************************** - public void CancelAction() - { - isOK = false; - dispose(); - } - - -//********************************************************************** - public double getValue() - { - return myValue; - } - -//********************************************************************** - public boolean isOK() - { - return isOK; - } - - -} diff --git a/samples/java/java/SampleAISBasicJni/SampleAISBasicPackage.java b/samples/java/java/SampleAISBasicJni/SampleAISBasicPackage.java deleted file mode 100755 index 6ac3d5cf16..0000000000 --- a/samples/java/java/SampleAISBasicJni/SampleAISBasicPackage.java +++ /dev/null @@ -1,43 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleAISBasicJni; - -import CASCADESamplesJni.V3d_Viewer; -import jcas.Standard_ExtString; -import CASCADESamplesJni.V3d_View; -import jcas.Standard_Integer; -import CASCADESamplesJni.AIS_InteractiveContext; -import CASCADESamplesJni.TCollection_AsciiString; - - -public class SampleAISBasicPackage { - - static { - System.loadLibrary("SampleAISBasicJni"); - } - -native public static V3d_Viewer CreateViewer(String aName); -native public static void SetWindow(V3d_View aView,int hiwin,int lowin); -native public static void DisplayTrihedron(AIS_InteractiveContext aContext); -native public static void DisplayCircle(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void DisplayLine(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void DisplaySphere(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void DisplayCylinder(AIS_InteractiveContext aContext,TCollection_AsciiString Message); - - - -} diff --git a/samples/java/java/SampleAISBasicJni/UnitsAPI.java b/samples/java/java/SampleAISBasicJni/UnitsAPI.java deleted file mode 100755 index 896577e81d..0000000000 --- a/samples/java/java/SampleAISBasicJni/UnitsAPI.java +++ /dev/null @@ -1,33 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleAISBasicJni; - -import SampleAISBasicJni.UnitsAPI_SystemUnits; -import jcas.Standard_Short; - - -public class UnitsAPI { - - static { - System.loadLibrary("SampleAISBasicJni"); - } - -native public static void SetLocalSystem(short aSystemUnit); - - - -} diff --git a/samples/java/java/SampleAISBasicJni/UnitsAPI_SystemUnits.java b/samples/java/java/SampleAISBasicJni/UnitsAPI_SystemUnits.java deleted file mode 100755 index 5bbfdca914..0000000000 --- a/samples/java/java/SampleAISBasicJni/UnitsAPI_SystemUnits.java +++ /dev/null @@ -1,28 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleAISBasicJni; - - -public class UnitsAPI_SystemUnits extends jcas.Standard_Enumeration { - -public final static short UnitsAPI_DEFAULT = 0; -public final static short UnitsAPI_SI = 1; -public final static short UnitsAPI_MDTV = 2; - - - -} diff --git a/samples/java/java/SampleAISBasicPanel.java b/samples/java/java/SampleAISBasicPanel.java deleted file mode 100755 index 617b58a7a7..0000000000 --- a/samples/java/java/SampleAISBasicPanel.java +++ /dev/null @@ -1,309 +0,0 @@ - -//Title: OpenCASCADE Samples -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface Group (Nizhny Novgorod) -//Company: Matra Datavision -//Description: - - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import java.util.*; -import jcas.Standard_CString; -import CASCADESamplesJni.*; -import SampleAISBasicJni.*; -import util.*; - -public class SampleAISBasicPanel extends SamplePanel - implements ActionListener, - MouseListener, - MouseMotionListener -{ - //-----------------------------------------------------------// - // Resources - //-----------------------------------------------------------// - static protected ResourceBundle resGui = - ResourceBundle.getBundle("SampleAISBasic"); - - static private ImageIcon imgCircle = new ImageIcon(resGui.getString("Icon-Circle")); - static private ImageIcon imgLine = new ImageIcon(resGui.getString("Icon-Line")); - static private ImageIcon imgSphere = new ImageIcon(resGui.getString("Icon-Sphere")); - static private ImageIcon imgCylinder = new ImageIcon(resGui.getString("Icon-Cylinder")); - - private HTMLFrame myHtmlFrame = null; - - //-----------------------------------------------------------// - // Components - //-----------------------------------------------------------// - private ViewPanel myView3d; - - private static V3d_Viewer myViewer3d = null; - - private static AIS_InteractiveContext myAISContext = null; - - private int startX = 0, startY = 0; - private boolean Dragged = false; - - - //-----------------------------------------------------------// - // External access - //-----------------------------------------------------------// - public static V3d_Viewer getViewer3d() - { - return myViewer3d; - } - - public static AIS_InteractiveContext getAISContext() - { - return myAISContext; - } - - -//=======================================================================// -// Constructor // -//=======================================================================// - public SampleAISBasicPanel() - { - // 3D Initialization - //------------------------------------------ - myViewer3d.SetDefaultLights(); - myViewer3d.SetLightOn(); - - if (myAISContext == null) - myAISContext = new AIS_InteractiveContext(myViewer3d); - - SampleAISBasicPackage.DisplayTrihedron(myAISContext); - } - -//-----------------------------------------------------------------------// - public JPanel createViewPanel() - { - JPanel mainPanel = new JPanel(); - mainPanel.setLayout(new GridBagLayout()); - mainPanel.setBorder(BorderFactory.createEmptyBorder(0, 5, 5, 0)); - - // Set the local system units - //------------------------------------------ - UnitsAPI.SetLocalSystem(UnitsAPI_SystemUnits.UnitsAPI_MDTV); - - - // Viewer 3D - //------------------------------------------ - myViewer3d = SampleAISBasicPackage.CreateViewer("AISBasic"); - - myView3d = new ViewPanel() { - public ViewCanvas createViewPort() { - return new CASCADEView3d(SampleAISBasicPanel.getViewer3d()) { - public void setWindow3d(V3d_View view, int hiwin, int lowin) { - SampleAISBasicPackage.SetWindow(view, hiwin, lowin); - } - }; - } - }; - - myView3d.addMouseListener(this); - myView3d.addMouseMotionListener(this); - - - // Layout - //------------------------------------------ - mainPanel.add(myView3d, new GridBagConstraints(0, 0, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.BOTH, - new Insets(0, 0, 0, 0), 0, 0)); - - return mainPanel; - } - -//-----------------------------------------------------------------------// - public Component createToolbar() - { - JToolBar tools = (JToolBar) super.createToolbar(); - - Insets margin = new Insets(1, 1, 1, 1); - JButton button; - - button = new HeavyButton(imgCircle); - button.setToolTipText(resGui.getString("Help-Circle")); - button.setActionCommand("Circle"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgLine); - button.setToolTipText(resGui.getString("Help-Line")); - button.setActionCommand("Line"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgSphere); - button.setToolTipText(resGui.getString("Help-Sphere")); - button.setActionCommand("Sphere"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgCylinder); - button.setToolTipText(resGui.getString("Help-Cylinder")); - button.setActionCommand("Cylinder"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - return tools; - } - - -//=======================================================================// -// Actions // -//=======================================================================// - public void onCircle() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISBasicPackage.DisplayCircle(myAISContext, message); - - traceMessage(message.ToCString().GetValue(), resGui.getString("Dlg-Circle")); - } - -//=======================================================================// - public void onLine() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISBasicPackage.DisplayLine(myAISContext, message); - - traceMessage(message.ToCString().GetValue(), resGui.getString("Dlg-Line")); - } - -//=======================================================================// - public void onSphere() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISBasicPackage.DisplaySphere(myAISContext, message); - - traceMessage(message.ToCString().GetValue(), resGui.getString("Dlg-Sphere")); - } - -//=======================================================================// - public void onCylinder() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISBasicPackage.DisplayCylinder(myAISContext, message); - - traceMessage(message.ToCString().GetValue(), resGui.getString("Dlg-Cylinder")); - } - -//=======================================================================// -// ActionListener interface -//=======================================================================// - public void actionPerformed(ActionEvent e) - { - String command = e.getActionCommand(); - - if (command.equals("Circle")) onCircle(); - else if (command.equals("Line")) onLine(); - else if (command.equals("Sphere")) onSphere(); - else if (command.equals("Cylinder")) onCylinder(); - } - -//=======================================================================// -// MouseListener interface -//=======================================================================// - public void mouseClicked(MouseEvent e) - { - } - - public void mousePressed(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e)) - { - startX = e.getX(); - startY = e.getY(); - Object src = e.getSource(); - - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (view3d != null) - myAISContext.MoveTo(startX, startY, view3d); - } - } - else if (SwingUtilities.isRightMouseButton(e)) - { - if (e.getSource() == myView3d) - { - PopupMenu defPopup = myView3d.getDefaultPopup(); - myView3d.add(defPopup); - defPopup.show(myView3d, e.getX(), e.getY() + 30); - } - } - } - - public void mouseReleased(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e)) - { - Object src = e.getSource(); - - if (Dragged) - { - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (view3d != null) - { - if (e.isShiftDown()) - myAISContext.ShiftSelect(startX, startY, e.getX(), e.getY(), view3d, true); - else - myAISContext.Select(startX, startY, e.getX(), e.getY(), view3d, true); - } - } - } - else - { - if (src == myView3d) - { - if (e.isShiftDown()) - myAISContext.ShiftSelect(true); - else - myAISContext.Select(true); - } - } - Dragged = false; - } - } - - public void mouseEntered(MouseEvent e) - { - } - - public void mouseExited(MouseEvent e) - { - } - -//=======================================================================// -// MouseMotionListener interface -//=======================================================================// - public void mouseDragged(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e) && - e.getSource() == myView3d) - Dragged = true; - } - - public void mouseMoved(MouseEvent e) - { - Object src = e.getSource(); - - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (myAISContext != null && view3d != null) - myAISContext.MoveTo(e.getX(), e.getY(), view3d); - } - } - - -} - diff --git a/samples/java/java/SampleAISBasic_en.properties b/samples/java/java/SampleAISBasic_en.properties deleted file mode 100755 index 49f36bef2f..0000000000 --- a/samples/java/java/SampleAISBasic_en.properties +++ /dev/null @@ -1,18 +0,0 @@ -#Wed Oct 12 18:09:59 GMT 1999 - -Icon-Circle=icon/circle.gif -Help-Circle=Circle -Dlg-Circle=Create a circle - -Icon-Line=icon/line.gif -Help-Line=Line -Dlg-Line=Create a line - -Icon-Sphere=icon/sphere2.gif -Help-Sphere=Sphere -Dlg-Sphere=Create a blue plastic sphere - -Icon-Cylinder=icon/cylinder2.gif -Help-Cylinder=Cylinder -Dlg-Cylinder=Create a cylinder - diff --git a/samples/java/java/SampleAISDisplayModeJni/SampleAISDisplayModePackage.java b/samples/java/java/SampleAISDisplayModeJni/SampleAISDisplayModePackage.java deleted file mode 100755 index 0568e2cf9d..0000000000 --- a/samples/java/java/SampleAISDisplayModeJni/SampleAISDisplayModePackage.java +++ /dev/null @@ -1,61 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleAISDisplayModeJni; - -import CASCADESamplesJni.V3d_Viewer; -import jcas.Standard_ExtString; -import CASCADESamplesJni.V3d_View; -import jcas.Standard_Integer; -import CASCADESamplesJni.AIS_InteractiveContext; -import CASCADESamplesJni.TCollection_AsciiString; -import CASCADESamplesJni.AIS_DisplayMode; -import jcas.Standard_Short; -import CASCADESamplesJni.Graphic3d_NameOfMaterial; -import CASCADESamplesJni.Quantity_Color; -import jcas.Standard_Real; - - -public class SampleAISDisplayModePackage { - - static { - System.loadLibrary("SampleAISDisplayModeJni"); - } - -native public static V3d_Viewer CreateViewer(String aName); -native public static void SetWindow(V3d_View aView,int hiwin,int lowin); -native public static void DisplayBox(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void DisplaySphere(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void DisplayCylinder(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void EraseAll(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void InitContext(AIS_InteractiveContext aContext); -native public static void GetIsosNumber(AIS_InteractiveContext aContext,Standard_Integer u,Standard_Integer v); -native public static void SetIsosNumber(AIS_InteractiveContext aContext,int u,int v,TCollection_AsciiString Message); -native public static void SetDisplayMode(AIS_InteractiveContext aContext,short aMode,TCollection_AsciiString Message); -native public static void SetObjectDisplayMode(AIS_InteractiveContext aContext,short aMode,TCollection_AsciiString Message); -native public static void SetObjectMaterial(AIS_InteractiveContext aContext,short aName,TCollection_AsciiString Message); -native public static Quantity_Color GetObjectColor(AIS_InteractiveContext aContext); -native public static void SetObjectColor(AIS_InteractiveContext aContext,Quantity_Color aColor,TCollection_AsciiString Message); -native public static double GetObjectTransparency(AIS_InteractiveContext aContext); -native public static void SetObjectTransparency(AIS_InteractiveContext aContext,double aValue,TCollection_AsciiString Message); -native public static void CreateLight(AIS_InteractiveContext aContext); -native public static void SetFirstPointOfLight(AIS_InteractiveContext aContext,V3d_View aView,int X,int Y); -native public static void MoveSecondPointOfLight(AIS_InteractiveContext aContext,V3d_View aView,int X,int Y); -native public static void SetSecondPointOfLight(AIS_InteractiveContext aContext); - - - -} diff --git a/samples/java/java/SampleAISDisplayModePanel.java b/samples/java/java/SampleAISDisplayModePanel.java deleted file mode 100755 index ae9f7837d7..0000000000 --- a/samples/java/java/SampleAISDisplayModePanel.java +++ /dev/null @@ -1,443 +0,0 @@ - -//Title: OpenCASCADE Samples -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface Group (Nizhny Novgorod) -//Company: Matra Datavision -//Description: - - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import java.util.*; -import jcas.Standard_CString; -import jcas.Standard_Integer; -import CASCADESamplesJni.*; -import SampleAISDisplayModeJni.*; -import util.*; - -public class SampleAISDisplayModePanel extends SamplePanel - implements ActionListener, - MouseListener, - MouseMotionListener -{ - //-----------------------------------------------------------// - // Resources - //-----------------------------------------------------------// - static protected ResourceBundle resGui = - ResourceBundle.getBundle("SampleAISDisplayMode"); - - static private ImageIcon imgBox = new ImageIcon(resGui.getString("Icon-Box")); - static private ImageIcon imgSphere = new ImageIcon(resGui.getString("Icon-Sphere")); - static private ImageIcon imgCylinder = new ImageIcon(resGui.getString("Icon-Cylinder")); - static private ImageIcon imgWireframe = new ImageIcon(resGui.getString("Icon-Wireframe")); - static private ImageIcon imgShading = new ImageIcon(resGui.getString("Icon-Shading")); - static private ImageIcon imgIsos = new ImageIcon(resGui.getString("Icon-Isos")); - static private ImageIcon imgEraseAll = new ImageIcon(resGui.getString("Icon-EraseAll")); - static private ImageIcon imgLight = new ImageIcon(resGui.getString("Icon-Light")); - - private HTMLFrame myHtmlFrame = null; - - //-----------------------------------------------------------// - // Components - //-----------------------------------------------------------// - private ViewPanel myView3d; - - private static V3d_Viewer myViewer3d = null; - - private static AIS_InteractiveContext myAISContext = null; - - private int startX = 0, startY = 0; - private boolean Dragged = false; - - - //-----------------------------------------------------------// - // Light Creation - //-----------------------------------------------------------// - private static final int CurAction3d_Nothing = 0; - private static final int CurAction3d_FirstPointLight = 1; - private static final int CurAction3d_SecondPointLight = 2; - - private int myCurrentMode = CurAction3d_Nothing; - private V3d_View myView = null; - - - //-----------------------------------------------------------// - // External access - //-----------------------------------------------------------// - public static V3d_Viewer getViewer3d() - { - return myViewer3d; - } - - public static AIS_InteractiveContext getAISContext() - { - return myAISContext; - } - - -//=======================================================================// -// Constructor // -//=======================================================================// - public SampleAISDisplayModePanel() - { - // 3D Initialization - //------------------------------------------ - myViewer3d.SetDefaultLights(); - myViewer3d.SetLightOn(); - - SampleAISDisplayModePackage.InitContext(myAISContext); - } - -//-----------------------------------------------------------------------// - public JPanel createViewPanel() - { - JPanel mainPanel = new JPanel(); - mainPanel.setLayout(new GridBagLayout()); - mainPanel.setBorder(BorderFactory.createEmptyBorder(0, 5, 5, 0)); - - - // Viewer 3D - //------------------------------------------ - myViewer3d = SampleAISDisplayModePackage.CreateViewer("AISDisplayMode"); - - myView3d = new ViewPanel() { - public ViewCanvas createViewPort() - { - return new CASCADEView3d(SampleAISDisplayModePanel.getViewer3d()) { - public void setWindow3d(V3d_View view, int hiwin, int lowin) { - SampleAISDisplayModePackage.SetWindow(view, hiwin, lowin); - } - }; - } - }; - - myView3d.addMouseListener(this); - myView3d.addMouseMotionListener(this); - - - // Attributes - //------------------------------------------ - myAISContext = new AIS_InteractiveContext(myViewer3d); - - AttributesPanel attrib = new AttributesPanel(this, myAISContext); - - - // Layout - //------------------------------------------ - mainPanel.add(attrib, new GridBagConstraints(0, 0, 1, 1, 0.0, 1.0, - GridBagConstraints.NORTH, GridBagConstraints.HORIZONTAL, - new Insets(0, 0, 0, 0), 0, 0)); - - mainPanel.add(myView3d, new GridBagConstraints(1, 0, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.BOTH, - new Insets(0, 0, 0, 0), 0, 0)); - - return mainPanel; - } - -//-----------------------------------------------------------------------// - public Component createToolbar() - { - JToolBar tools = (JToolBar) super.createToolbar(); - - Insets margin = new Insets(1, 1, 1, 1); - JButton button; - - button = new HeavyButton(imgBox); - button.setToolTipText(resGui.getString("Help-Box")); - button.setActionCommand("Box"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgSphere); - button.setToolTipText(resGui.getString("Help-Sphere")); - button.setActionCommand("Sphere"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgCylinder); - button.setToolTipText(resGui.getString("Help-Cylinder")); - button.setActionCommand("Cylinder"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - tools.addSeparator();; - - button = new HeavyButton(imgWireframe); - button.setToolTipText(resGui.getString("Help-Wireframe")); - button.setActionCommand("Wireframe"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgShading); - button.setToolTipText(resGui.getString("Help-Shading")); - button.setActionCommand("Shading"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgIsos); - button.setToolTipText(resGui.getString("Help-Isos")); - button.setActionCommand("Isos"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgEraseAll); - button.setToolTipText(resGui.getString("Help-EraseAll")); - button.setActionCommand("EraseAll"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - tools.addSeparator();; - - button = new HeavyButton(imgLight); - button.setToolTipText(resGui.getString("Help-Light")); - button.setActionCommand("Light"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - return tools; - } - - -//=======================================================================// -// Actions // -//=======================================================================// - public void onBox() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISDisplayModePackage.DisplayBox(myAISContext, message); - - traceMessage(message.ToCString().GetValue(), resGui.getString("Dlg-Box")); - } - -//=======================================================================// - public void onSphere() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISDisplayModePackage.DisplaySphere(myAISContext, message); - - traceMessage(message.ToCString().GetValue(), resGui.getString("Dlg-Sphere")); - } - -//=======================================================================// - public void onCylinder() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISDisplayModePackage.DisplayCylinder(myAISContext, message); - - traceMessage(message.ToCString().GetValue(), resGui.getString("Dlg-Cylinder")); - } - -//=======================================================================// - public void onEraseAll() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISDisplayModePackage.EraseAll(myAISContext, message); - - traceMessage(message.ToCString().GetValue(), resGui.getString("Dlg-EraseAll")); - } - -//=======================================================================// - public void onWireframe() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISDisplayModePackage.SetDisplayMode(myAISContext, (short)0, message); - - traceMessage(message.ToCString().GetValue(), resGui.getString("Dlg-Wireframe")); - } - -//=======================================================================// - public void onShading() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISDisplayModePackage.SetDisplayMode(myAISContext, (short)1, message); - - traceMessage(message.ToCString().GetValue(), resGui.getString("Dlg-Shading")); - } - -//=======================================================================// - public void onIsos() - { - Standard_Integer u = new Standard_Integer(); - Standard_Integer v = new Standard_Integer(); - SampleAISDisplayModePackage.GetIsosNumber(myAISContext,u,v); - - IsosDlg aDlg = new IsosDlg(SamplesStarter.getFrame(), u.GetValue(), v.GetValue()); - Position.centerWindow(aDlg); - aDlg.show(); - - if (aDlg.isOK()) - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISDisplayModePackage.SetIsosNumber(myAISContext, - aDlg.getUValue(), aDlg.getVValue(), message); - - traceMessage(message.ToCString().GetValue(), resGui.getString("Dlg-Shading")); - } - } - -//=======================================================================// - public void onLight() - { - myView = ((CASCADEView3d) myView3d.getViewPort()).getView(); - - SampleAISDisplayModePackage.CreateLight(myAISContext); - - myCurrentMode = CurAction3d_FirstPointLight; - SamplesStarter.put_info("Pick a first point"); - } - -//=======================================================================// -// ActionListener interface -//=======================================================================// - public void actionPerformed(ActionEvent e) - { - String command = e.getActionCommand(); - - if (command.equals("Box")) onBox(); - else if (command.equals("Sphere")) onSphere(); - else if (command.equals("Cylinder")) onCylinder(); - else if (command.equals("Wireframe")) onWireframe(); - else if (command.equals("Shading")) onShading(); - else if (command.equals("Isos")) onIsos(); - else if (command.equals("EraseAll")) onEraseAll(); - else if (command.equals("Light")) onLight(); - } - -//=======================================================================// -// MouseListener interface -//=======================================================================// - public void mouseClicked(MouseEvent e) - { - } - - public void mousePressed(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e)) - { - startX = e.getX(); - startY = e.getY(); - Object src = e.getSource(); - - switch (myCurrentMode) - { - case CurAction3d_FirstPointLight: - SampleAISDisplayModePackage.SetFirstPointOfLight(myAISContext, myView, - e.getX(), e.getY()); - myCurrentMode = CurAction3d_SecondPointLight; - SamplesStarter.put_info("Pick the second point"); - break; - - case CurAction3d_SecondPointLight: - SampleAISDisplayModePackage.SetSecondPointOfLight(myAISContext); - myCurrentMode = CurAction3d_Nothing; - SamplesStarter.put_info("Ready"); - break; - - case CurAction3d_Nothing: - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (view3d != null) - myAISContext.MoveTo(startX, startY, view3d); - } - break; - } - } - else if (SwingUtilities.isRightMouseButton(e)) - { - if (e.getSource() == myView3d) - { - PopupMenu defPopup = myView3d.getDefaultPopup(); - myView3d.add(defPopup); - defPopup.show(myView3d, e.getX(), e.getY() + 30); - } - } - } - - public void mouseReleased(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e) && - (myCurrentMode == CurAction3d_Nothing)) - { - Object src = e.getSource(); - - if (Dragged) - { - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (view3d != null) - { - if (e.isShiftDown()) - myAISContext.ShiftSelect(startX, startY, e.getX(), e.getY(), view3d, true); - else - myAISContext.Select(startX, startY, e.getX(), e.getY(), view3d, true); - } - } - } - else - { - if (src == myView3d) - { - if (e.isShiftDown()) - myAISContext.ShiftSelect(true); - else - myAISContext.Select(true); - } - } - Dragged = false; - } - } - - public void mouseEntered(MouseEvent e) - { - } - - public void mouseExited(MouseEvent e) - { - } - -//=======================================================================// -// MouseMotionListener interface -//=======================================================================// - public void mouseDragged(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e) && - (myCurrentMode == CurAction3d_Nothing) && - (e.getSource() == myView3d)) - Dragged = true; - } - - public void mouseMoved(MouseEvent e) - { - switch (myCurrentMode) - { - case CurAction3d_SecondPointLight: - SampleAISDisplayModePackage.MoveSecondPointOfLight(myAISContext, myView, - e.getX(), e.getY()); - break; - - case CurAction3d_Nothing: - if (e.getSource() == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (myAISContext != null && view3d != null) - myAISContext.MoveTo(e.getX(), e.getY(), view3d); - } - } - } - - -} - diff --git a/samples/java/java/SampleAISDisplayMode_en.properties b/samples/java/java/SampleAISDisplayMode_en.properties deleted file mode 100755 index 5006018b88..0000000000 --- a/samples/java/java/SampleAISDisplayMode_en.properties +++ /dev/null @@ -1,32 +0,0 @@ -#Wed Oct 12 18:09:59 GMT 1999 - -Icon-Box=icon/box.gif -Help-Box=Box -Dlg-Box=Create a box - -Icon-Sphere=icon/sphere2.gif -Help-Sphere=Sphere -Dlg-Sphere=Create a sphere - -Icon-Cylinder=icon/cylinder2.gif -Help-Cylinder=User cylinder -Dlg-Cylinder=Create a cylinder - -Icon-Wireframe=icon/wireframe.gif -Help-Wireframe=Wireframe -Dlg-Wireframe=Wireframe - -Icon-Shading=icon/shading.gif -Help-Shading=Shading -Dlg-Shading=Shading - -Icon-Isos=icon/isos.gif -Help-Isos=Isos -Dlg-Isos=Iso aspect - -Icon-EraseAll=icon/erase.gif -Help-EraseAll=Erase all -Dlg-EraseAll=Erase all - -Icon-Light=icon/light.gif -Help-Light=Light diff --git a/samples/java/java/SampleAISSelectJni/SampleAISSelectPackage.java b/samples/java/java/SampleAISSelectJni/SampleAISSelectPackage.java deleted file mode 100755 index 2191e64b22..0000000000 --- a/samples/java/java/SampleAISSelectJni/SampleAISSelectPackage.java +++ /dev/null @@ -1,53 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleAISSelectJni; - -import CASCADESamplesJni.V3d_Viewer; -import jcas.Standard_ExtString; -import CASCADESamplesJni.V3d_View; -import jcas.Standard_Integer; -import CASCADESamplesJni.AIS_InteractiveContext; -import CASCADESamplesJni.TCollection_AsciiString; -import jcas.Standard_Real; -import jcas.Standard_Boolean; -import CASCADESamplesJni.Quantity_Color; - - -public class SampleAISSelectPackage { - - static { - System.loadLibrary("SampleAISSelectJni"); - } - -native public static V3d_Viewer CreateViewer(String aName); -native public static void SetWindow(V3d_View aView,int hiwin,int lowin); -native public static void DisplayBox(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void DisplayCylinder(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void SelectVertices(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void SelectEdges(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void SelectFaces(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void SelectNeutral(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static int MakeFillet(AIS_InteractiveContext aContext,double aValue,TCollection_AsciiString Message); -native public static boolean IsCylinderSelected(AIS_InteractiveContext aContext); -native public static void StartSelectFace(AIS_InteractiveContext aContext); -native public static Quantity_Color GetFaceColor(AIS_InteractiveContext aContext); -native public static void SetFaceColor(AIS_InteractiveContext aContext,Quantity_Color aColor,TCollection_AsciiString Message); -native public static void EndSelectFace(AIS_InteractiveContext aContext); - - - -} diff --git a/samples/java/java/SampleAISSelectPanel.java b/samples/java/java/SampleAISSelectPanel.java deleted file mode 100755 index ed089e59d2..0000000000 --- a/samples/java/java/SampleAISSelectPanel.java +++ /dev/null @@ -1,470 +0,0 @@ - -//Title: OpenCASCADE Samples -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface Group (Nizhny Novgorod) -//Company: Matra Datavision -//Description: - - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import java.util.*; -import jcas.Standard_CString; -import CASCADESamplesJni.*; -import SampleAISSelectJni.*; -import util.*; - -public class SampleAISSelectPanel extends SamplePanel - implements ActionListener, - MouseListener, - MouseMotionListener -{ - //-----------------------------------------------------------// - // Resources - //-----------------------------------------------------------// - static protected ResourceBundle resGui = - ResourceBundle.getBundle("SampleAISSelect"); - - static private ImageIcon imgBox = new ImageIcon(resGui.getString("Icon-Box")); - static private ImageIcon imgCylinder = new ImageIcon(resGui.getString("Icon-Cylinder")); - static private ImageIcon imgVertices = new ImageIcon(resGui.getString("Icon-Vertices")); - static private ImageIcon imgEdges = new ImageIcon(resGui.getString("Icon-Edges")); - static private ImageIcon imgFaces = new ImageIcon(resGui.getString("Icon-Faces")); - static private ImageIcon imgNeutral = new ImageIcon(resGui.getString("Icon-Neutral")); - static private ImageIcon imgFillet = new ImageIcon(resGui.getString("Icon-Fillet")); - - private HTMLFrame myHtmlFrame = null; - private PopupMenu myPopup; - - //-----------------------------------------------------------// - // Components - //-----------------------------------------------------------// - private ViewPanel myView3d; - - private static V3d_Viewer myViewer3d = null; - - private static AIS_InteractiveContext myAISContext = null; - - private int startX = 0, startY = 0; - private boolean Dragged = false; - - - //-----------------------------------------------------------// - // Changing face color - //-----------------------------------------------------------// - private static final int CurAction3d_Default = 0; - private static final int CurAction3d_SelectFace = 1; - - private int myCurrentMode = CurAction3d_Default; - - - //-----------------------------------------------------------// - // External access - //-----------------------------------------------------------// - public static V3d_Viewer getViewer3d() - { - return myViewer3d; - } - - public static AIS_InteractiveContext getAISContext() - { - return myAISContext; - } - - -//=======================================================================// -// Constructor // -//=======================================================================// - public SampleAISSelectPanel() - { - // 3D Initialization - //------------------------------------------ - myViewer3d.SetDefaultLights(); - myViewer3d.SetLightOn(); - - if (myAISContext == null) - myAISContext = new AIS_InteractiveContext(myViewer3d); - - - // Creation popup - //------------------------------------------ - myPopup = new PopupMenu("User cylinder"); - - MenuItem menuItem = new MenuItem("Change face color..."); - menuItem.setActionCommand("ChangeFaceColor"); - menuItem.addActionListener(this); - myPopup.add(menuItem); - } - -//-----------------------------------------------------------------------// - public JPanel createViewPanel() - { - JPanel mainPanel = new JPanel(); - mainPanel.setLayout(new GridBagLayout()); - mainPanel.setBorder(BorderFactory.createEmptyBorder(0, 5, 5, 0)); - - - // Viewer 3D - //------------------------------------------ - myViewer3d = SampleAISSelectPackage.CreateViewer("AISSelect"); - - myView3d = new ViewPanel() { - public ViewCanvas createViewPort() - { - return new CASCADEView3d(SampleAISSelectPanel.getViewer3d()) { - public void setWindow3d(V3d_View view, int hiwin, int lowin) { - SampleAISSelectPackage.SetWindow(view, hiwin, lowin); - } - }; - } - }; - - myView3d.addMouseListener(this); - myView3d.addMouseMotionListener(this); - - - // Layout - //------------------------------------------ - mainPanel.add(myView3d, new GridBagConstraints(0, 0, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.BOTH, - new Insets(0, 0, 0, 0), 0, 0)); - - return mainPanel; - } - -//-----------------------------------------------------------------------// - public Component createToolbar() - { - JToolBar tools = (JToolBar) super.createToolbar(); - - Insets margin = new Insets(1, 1, 1, 1); - JButton button; - - button = new HeavyButton(imgBox); - button.setToolTipText(resGui.getString("Help-Box")); - button.setActionCommand("Box"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgCylinder); - button.setToolTipText(resGui.getString("Help-Cylinder")); - button.setActionCommand("Cylinder"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - tools.addSeparator();; - - button = new HeavyButton(imgVertices); - button.setToolTipText(resGui.getString("Help-Vertices")); - button.setActionCommand("Vertices"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgEdges); - button.setToolTipText(resGui.getString("Help-Edges")); - button.setActionCommand("Edges"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgFaces); - button.setToolTipText(resGui.getString("Help-Faces")); - button.setActionCommand("Faces"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgNeutral); - button.setToolTipText(resGui.getString("Help-Neutral")); - button.setActionCommand("Neutral"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - tools.addSeparator();; - - button = new HeavyButton(imgFillet); - button.setToolTipText(resGui.getString("Help-Fillet")); - button.setActionCommand("Fillet"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - return tools; - } - - -//=======================================================================// -// Actions // -//=======================================================================// - public void onBox() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISSelectPackage.DisplayBox(myAISContext, message); - - traceMessage(message.ToCString().GetValue(), resGui.getString("Dlg-Box")); - } - -//=======================================================================// - public void onCylinder() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISSelectPackage.DisplayCylinder(myAISContext, message); - - traceMessage(message.ToCString().GetValue(), resGui.getString("Dlg-Cylinder")); - } - -//=======================================================================// - public void onVertices() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISSelectPackage.SelectVertices(myAISContext, message); - - traceMessage(message.ToCString().GetValue(), resGui.getString("Dlg-Vertices")); - } - -//=======================================================================// - public void onEdges() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISSelectPackage.SelectEdges(myAISContext, message); - - traceMessage(message.ToCString().GetValue(), resGui.getString("Dlg-Edges")); - } - -//=======================================================================// - public void onFaces() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISSelectPackage.SelectFaces(myAISContext, message); - - traceMessage(message.ToCString().GetValue(), resGui.getString("Dlg-Faces")); - } - -//=======================================================================// - public void onNeutral() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISSelectPackage.SelectNeutral(myAISContext, message); - - traceMessage(message.ToCString().GetValue(), resGui.getString("Dlg-Neutral")); - } - -//=======================================================================// - public void onFillet() - { - if (!myAISContext.HasOpenedContext()) - { - JOptionPane.showMessageDialog(this, - "It is necessary to activate the edges selection mode\n" + - "and select edges on an object before\n" + - "running this function", - "Warning!!!", JOptionPane.WARNING_MESSAGE); - return; - } - - myAISContext.InitSelected(); - if (myAISContext.MoreSelected()) - { - RadiusDlg aDlg = new RadiusDlg(SamplesStarter.getFrame(), 10.); - Position.centerWindow(aDlg); - aDlg.show(); - - if (aDlg.isOK()) - { - TCollection_AsciiString message = new TCollection_AsciiString(); - int result = SampleAISSelectPackage.MakeFillet(myAISContext, aDlg.getValue(), - message); - if (result == 2) - JOptionPane.showMessageDialog(this, - "It is necessary to activate the edges selection mode\n" + - "and select edges on an object before\n" + - "running this function", - "Warning!!!", JOptionPane.WARNING_MESSAGE); - else if (result == 1) - JOptionPane.showMessageDialog(this, "Error during fillet computation", - "Warning!!!", JOptionPane.WARNING_MESSAGE); - else if (result == 0) - traceMessage(message.ToCString().GetValue(), resGui.getString("Dlg-Fillet")); - } - } - else - JOptionPane.showMessageDialog(this, - "It is necessary to activate the edges selection mode\n" + - "and select edges on an object before\n" + - "running this function", - "Warning!!!", JOptionPane.WARNING_MESSAGE); - } - -//=======================================================================// - public void onChangeFaceColor() - { - SampleAISSelectPackage.StartSelectFace(myAISContext); - myCurrentMode = CurAction3d_SelectFace; - SamplesStarter.put_info("Select the face"); - } - -//=======================================================================// -// ActionListener interface -//=======================================================================// - public void actionPerformed(ActionEvent e) - { - String command = e.getActionCommand(); - - if (command.equals("Box")) onBox(); - else if (command.equals("Cylinder")) onCylinder(); - else if (command.equals("Vertices")) onVertices(); - else if (command.equals("Edges")) onEdges(); - else if (command.equals("Faces")) onFaces(); - else if (command.equals("Neutral")) onNeutral(); - else if (command.equals("Fillet")) onFillet(); - else if (command.equals("ChangeFaceColor")) onChangeFaceColor(); - } - -//=======================================================================// -// MouseListener interface -//=======================================================================// - public void mouseClicked(MouseEvent e) - { - } - - public void mousePressed(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e)) - { - startX = e.getX(); - startY = e.getY(); - Object src = e.getSource(); - - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (view3d != null) - myAISContext.MoveTo(startX, startY, view3d); - } - } - else if (SwingUtilities.isRightMouseButton(e)) - { - Object src = e.getSource(); - if (src == myView3d) - { - if (SampleAISSelectPackage.IsCylinderSelected(myAISContext)) - { - myView3d.add(myPopup); - myPopup.show(myView3d, e.getX(), e.getY() + 30); - } - else - { - PopupMenu defPopup = myView3d.getDefaultPopup(); - myView3d.add(defPopup); - defPopup.show(myView3d, e.getX(), e.getY() + 30); - } - } - } - } - - public void mouseReleased(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e)) - { - Object src = e.getSource(); - - if (Dragged) - { - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (view3d != null) - { - if (e.isShiftDown()) - myAISContext.ShiftSelect(startX, startY, e.getX(), e.getY(), view3d, true); - else - myAISContext.Select(startX, startY, e.getX(), e.getY(), view3d, true); - } - } - } - else - { - if (src == myView3d) - { - if (e.isShiftDown()) - myAISContext.ShiftSelect(true); - else - myAISContext.Select(true); - } - } - Dragged = false; - - // Change the face color - if (myCurrentMode == CurAction3d_SelectFace) - { - myAISContext.InitSelected(); - if (myAISContext.MoreSelected()) - { - Quantity_Color aColor = SampleAISSelectPackage.GetFaceColor(myAISContext); - int red = (int) (aColor.Red()*255); - int green = (int) (aColor.Green()*255); - int blue = (int) (aColor.Blue()*255); - Color theColor = new Color(red, green, blue); - - Color theNewColor = JColorChooser.showDialog(SamplesStarter.getFrame(), - "Choose the color", theColor); - - if (theNewColor != null) - { - Quantity_Color aNewColor = new Quantity_Color(theNewColor.getRed()/255., - theNewColor.getGreen()/255., - theNewColor.getBlue()/255., - Quantity_TypeOfColor.Quantity_TOC_RGB); - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleAISSelectPackage.SetFaceColor(myAISContext, aNewColor, message); - - traceMessage(message.ToCString().GetValue(), resGui.getString("Dlg-Color")); - } - - SampleAISSelectPackage.EndSelectFace(myAISContext); - myCurrentMode = CurAction3d_Default; - SamplesStarter.put_info(""); - } - } - } - } - - public void mouseEntered(MouseEvent e) - { - } - - public void mouseExited(MouseEvent e) - { - } - -//=======================================================================// -// MouseMotionListener interface -//=======================================================================// - public void mouseDragged(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e) && - e.getSource() == myView3d) - Dragged = true; - } - - public void mouseMoved(MouseEvent e) - { - Object src = e.getSource(); - - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (myAISContext != null && view3d != null) - myAISContext.MoveTo(e.getX(), e.getY(), view3d); - } - } - - -} - diff --git a/samples/java/java/SampleAISSelect_en.properties b/samples/java/java/SampleAISSelect_en.properties deleted file mode 100755 index cbbafaa40f..0000000000 --- a/samples/java/java/SampleAISSelect_en.properties +++ /dev/null @@ -1,33 +0,0 @@ -#Wed Oct 12 18:09:59 GMT 1999 - -Icon-Box=icon/box.gif -Help-Box=Box -Dlg-Box=Create a box - -Icon-Cylinder=icon/cylinder2.gif -Help-Cylinder=User cylinder -Dlg-Cylinder=Create a cylinder - -Icon-Vertices=icon/vertices.gif -Help-Vertices=Vertices -Dlg-Vertices=Standard mode: TopAbs_VERTEX - -Icon-Edges=icon/edges.gif -Help-Edges=Edges -Dlg-Edges=Standard mode: TopAbs_EDGE - -Icon-Faces=icon/faces.gif -Help-Faces=Faces -Dlg-Faces=Standard mode: TopAbs_FACE - -Icon-Neutral=icon/neutral.gif -Help-Neutral=Neutral point -Dlg-Neutral=Standard mode: Neutral - -Icon-Fillet=icon/fillet.gif -Help-Fillet=Fillet -Dlg-Fillet=Make a fillet - -Dlg-Color=Change face color - - diff --git a/samples/java/java/SampleDisplayAnimationJni/SampleDisplayAnimationPackage.java b/samples/java/java/SampleDisplayAnimationJni/SampleDisplayAnimationPackage.java deleted file mode 100755 index dae7e6ec23..0000000000 --- a/samples/java/java/SampleDisplayAnimationJni/SampleDisplayAnimationPackage.java +++ /dev/null @@ -1,47 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleDisplayAnimationJni; - -import CASCADESamplesJni.V3d_Viewer; -import jcas.Standard_ExtString; -import CASCADESamplesJni.V3d_View; -import jcas.Standard_Integer; -import jcas.Standard_Boolean; -import CASCADESamplesJni.AIS_InteractiveContext; -import jcas.Standard_CString; -import jcas.Standard_Real; - - -public class SampleDisplayAnimationPackage { - - static { - System.loadLibrary("SampleDisplayAnimationJni"); - } - -native public static V3d_Viewer CreateViewer(String aName); -native public static void SetWindow(V3d_View aView,int hiwin,int lowin); -native public static boolean LoadData(AIS_InteractiveContext aContext,Standard_CString aPath); -native public static void ChangePosition(AIS_InteractiveContext aContext); -native public static double GetDeviationCoefficient(); -native public static void SetDeviationCoefficient(AIS_InteractiveContext aContext,double aValue); -native public static int GetAngleIncrement(); -native public static void SetAngleIncrement(int aValue); -native public static boolean SaveImage(Standard_CString aFileName,Standard_CString aFormat,V3d_View aView); - - - -} diff --git a/samples/java/java/SampleDisplayAnimationPanel.java b/samples/java/java/SampleDisplayAnimationPanel.java deleted file mode 100755 index 5e1c7f389c..0000000000 --- a/samples/java/java/SampleDisplayAnimationPanel.java +++ /dev/null @@ -1,391 +0,0 @@ - -//Title: OpenCASCADE Samples -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface Group (Nizhny Novgorod) -//Company: Matra Datavision -//Description: - - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import java.util.ResourceBundle; -import jcas.Standard_CString; -import jcas.Standard_Integer; -import jcas.Standard_Real; -import CASCADESamplesJni.*; -import SampleDisplayAnimationJni.*; -import util.*; - -public class SampleDisplayAnimationPanel extends SamplePanel - implements ActionListener, - MouseListener, - MouseMotionListener -{ - //-----------------------------------------------------------// - // Resources - //-----------------------------------------------------------// - static protected ResourceBundle resGui = - ResourceBundle.getBundle("SampleDisplayAnimation"); - - static private ImageIcon imgRestart = new ImageIcon(resGui.getString("Icon-Restart")); - static private ImageIcon imgStop = new ImageIcon(resGui.getString("Icon-Stop")); - static private ImageIcon imgThread = new ImageIcon(resGui.getString("Icon-Thread")); - static private ImageIcon imgDeviation = new ImageIcon(resGui.getString("Icon-Deviation")); - - - //-----------------------------------------------------------// - // Components - //-----------------------------------------------------------// - private ViewPanel myView3d; - - private static V3d_Viewer myViewer3d = null; - - private static AIS_InteractiveContext myAISContext = null; - private static boolean isDataLoaded = false; - private Timer myTimer; - - private int startX = 0, startY = 0; - private boolean Dragged = false; - - - //-----------------------------------------------------------// - // External access - //-----------------------------------------------------------// - public static V3d_Viewer getViewer3d() - { - return myViewer3d; - } - - public static AIS_InteractiveContext getAISContext() - { - return myAISContext; - } - - public static void setDataLoaded(boolean b) - { - isDataLoaded = b; - } - - - -//=======================================================================// -// Constructor // -//=======================================================================// - public SampleDisplayAnimationPanel() - { - super(false); - - // 3D Initialization - //------------------------------------------ - myViewer3d.SetDefaultLights(); - myViewer3d.SetLightOn(); - -// Moved to the createViewPanel() function - - if (myAISContext == null) - myAISContext = new AIS_InteractiveContext(myViewer3d); - - String path = System.getProperty("user.dir") + - System.getProperty("file.separator") + - "data" + System.getProperty("file.separator"); - isDataLoaded = SampleDisplayAnimationPackage.LoadData(myAISContext, - new Standard_CString(path)); - - - myTimer = new Timer(1, this); - myTimer.setRepeats(true); - } - -//-----------------------------------------------------------------------// - public JPanel createViewPanel() - { - JPanel mainPanel = new JPanel(); - mainPanel.setLayout(new GridBagLayout()); - mainPanel.setBorder(BorderFactory.createEmptyBorder(0, 5, 5, 0)); - - - // Viewer 3D - //------------------------------------------ - myViewer3d = SampleDisplayAnimationPackage.CreateViewer("DisplayAnimation"); - myAISContext = new AIS_InteractiveContext(myViewer3d); - - myView3d = new ViewPanel() { - public ViewCanvas createViewPort() { - return new CASCADEView3d(SampleDisplayAnimationPanel.getViewer3d()) { - public void setWindow3d(V3d_View view, int hiwin, int lowin) { - // set the native window - SampleDisplayAnimationPackage.SetWindow(view, hiwin, lowin); - - // loading BRep data... - SamplesStarter.getFrame().setCursor( - Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); - String path = System.getProperty("user.dir") + - System.getProperty("file.separator") + - "data" + System.getProperty("file.separator"); - SampleDisplayAnimationPanel.setDataLoaded( - SampleDisplayAnimationPackage.LoadData( - SampleDisplayAnimationPanel.getAISContext(), - new Standard_CString(path))); - SamplesStarter.getFrame().setCursor( - Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); - - } - }; - } - }; - - myView3d.addMouseListener(this); - myView3d.addMouseMotionListener(this); - - - // Layout - //------------------------------------------ - mainPanel.add(myView3d, new GridBagConstraints(0, 0, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.BOTH, - new Insets(0, 0, 0, 0), 0, 0)); - - return mainPanel; - } - -//-----------------------------------------------------------------------// - public Component createToolbar() - { - JToolBar tools = (JToolBar) super.createToolbar(); - - Insets margin = new Insets(1, 1, 1, 1); - JButton button; - - button = new HeavyButton(imgRestart); - button.setToolTipText(resGui.getString("Help-Restart")); - button.setActionCommand("Restart"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgStop); - button.setToolTipText(resGui.getString("Help-Stop")); - button.setActionCommand("Stop"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgThread); - button.setToolTipText(resGui.getString("Help-Thread")); - button.setActionCommand("Thread"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgDeviation); - button.setToolTipText(resGui.getString("Help-Deviation")); - button.setActionCommand("Deviation"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - return tools; - } - - -//=======================================================================// -// Actions // -//=======================================================================// - public void onRestart() - { - if (!isDataLoaded) - { - JOptionPane.showMessageDialog(this, - "Shape(s) not found.\n" + - "Check the data directory path!", - "Warning!!!", JOptionPane.WARNING_MESSAGE); - return; - } - myTimer.start(); - } - -//=======================================================================// - public void onStop() - { - myTimer.stop(); - } - -//=======================================================================// - public void onThread() - { - onStop(); - ThreadDlg aDlg = new ThreadDlg(SamplesStarter.getFrame(), - SampleDisplayAnimationPackage.GetAngleIncrement()); - Position.centerWindow(aDlg); - aDlg.show(); - - if (aDlg.isOK()) - SampleDisplayAnimationPackage.SetAngleIncrement(aDlg.getValue()); - - onRestart(); - } - -//=======================================================================// - public void onDeviation() - { - onStop(); - - double value = SampleDisplayAnimationPackage.GetDeviationCoefficient(); - - DeviationDlg aDlg = new DeviationDlg(SamplesStarter.getFrame(), - (int) ((value-0.00003)/0.00003)); - - Position.centerWindow(aDlg); - aDlg.show(); - - if (aDlg.isOK() && isDataLoaded) - { - int newValue = aDlg.getValue(); - SampleDisplayAnimationPackage.SetDeviationCoefficient(myAISContext, - (newValue*0.00003)+0.00003); - } - - onRestart(); - } - -//=======================================================================// - public void onTimer() - { - if (isDataLoaded) - SampleDisplayAnimationPackage.ChangePosition(myAISContext); - } - - -//=======================================================================// - public void setVisible(boolean b) - { - if (!b) onStop(); - super.setVisible(b); - } - - -//=======================================================================// -// ActionListener interface -//=======================================================================// - public void actionPerformed(ActionEvent e) - { - if (e.getSource().equals(myTimer)) - onTimer(); - else - { - String command = e.getActionCommand(); - - if (command.equals("Restart")) onRestart(); - else if (command.equals("Stop")) onStop(); - else if (command.equals("Thread")) onThread(); - else if (command.equals("Deviation")) onDeviation(); - } - } - - -//=======================================================================// -// MouseListener interface -//=======================================================================// - public void mouseClicked(MouseEvent e) - { - } - -//-----------------------------------------------------------------------// - public void mousePressed(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e)) - { - startX = e.getX(); - startY = e.getY(); - Object src = e.getSource(); - - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (view3d != null) - myAISContext.MoveTo(startX, startY, view3d); - } - } - else if (SwingUtilities.isRightMouseButton(e)) - { - if (e.getSource() == myView3d) - { - PopupMenu defPopup = myView3d.getDefaultPopup(); - myView3d.add(defPopup); - defPopup.show(myView3d, e.getX(), e.getY() + 30); - } - } - } - -//-----------------------------------------------------------------------// - public void mouseReleased(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e)) - { - Object src = e.getSource(); - - if (Dragged) - { - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (view3d != null) - { - if (e.isShiftDown()) - myAISContext.ShiftSelect(startX, startY, e.getX(), e.getY(), view3d, true); - else - myAISContext.Select(startX, startY, e.getX(), e.getY(), view3d, true); - } - } - } - else - { - if (src == myView3d) - { - if (e.isShiftDown()) - myAISContext.ShiftSelect(true); - else - myAISContext.Select(true); - } - } - Dragged = false; - } - } - -//-----------------------------------------------------------------------// - public void mouseEntered(MouseEvent e) - { - } - -//-----------------------------------------------------------------------// - public void mouseExited(MouseEvent e) - { - } - -//=======================================================================// -// MouseMotionListener interface -//=======================================================================// - public void mouseDragged(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e) && - e.getSource() == myView3d) - Dragged = true; - } - -//-----------------------------------------------------------------------// - public void mouseMoved(MouseEvent e) - { - Object src = e.getSource(); - - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (myAISContext != null && view3d != null) - myAISContext.MoveTo(e.getX(), e.getY(), view3d); - } - } - - -} - diff --git a/samples/java/java/SampleDisplayAnimation_en.properties b/samples/java/java/SampleDisplayAnimation_en.properties deleted file mode 100755 index 8785cd62a1..0000000000 --- a/samples/java/java/SampleDisplayAnimation_en.properties +++ /dev/null @@ -1,16 +0,0 @@ -#Wed Oct 12 18:09:59 GMT 1999 - - -Icon-Restart=icon/restart.gif -Help-Restart=Restart the animation - -Icon-Stop=icon/stop.gif -Help-Stop=Stop the animation - -Icon-Thread=icon/thread.gif -Help-Thread=Animation thread - -Icon-Deviation=icon/deviation.gif -Help-Deviation=Deviation coefficient - - diff --git a/samples/java/java/SampleGeometryJni/SampleGeometryPackage.java b/samples/java/java/SampleGeometryJni/SampleGeometryPackage.java deleted file mode 100755 index d176b05a2d..0000000000 --- a/samples/java/java/SampleGeometryJni/SampleGeometryPackage.java +++ /dev/null @@ -1,96 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleGeometryJni; - -import CASCADESamplesJni.V3d_Viewer; -import jcas.Standard_ExtString; -import CASCADESamplesJni.V3d_View; -import jcas.Standard_Integer; -import CASCADESamplesJni.V2d_Viewer; -import CASCADESamplesJni.V2d_View; -import CASCADESamplesJni.AIS_InteractiveContext; -import CASCADESamplesJni.TCollection_AsciiString; -import CASCADESamplesJni.ISession2D_InteractiveContext; -import jcas.Standard_Boolean; -import jcas.Standard_CString; - - -public class SampleGeometryPackage { - - static { - System.loadLibrary("SampleGeometryJni"); - } - -native public static V3d_Viewer CreateViewer3d(String aName); -native public static void SetWindow3d(V3d_View aView,int hiwin,int lowin); -native public static V2d_Viewer CreateViewer2d(String aName); -native public static V2d_View CreateView2d(V2d_Viewer aViewer,int hiwin,int lowin); -native public static void gpTest1(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void gpTest2(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void gpTest3(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void gpTest4(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void gpTest5(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void gpTest6(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void gpTest7(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message); -native public static void gpTest8(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message); -native public static void gpTest9(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message); -native public static void gpTest10(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message); -native public static void gpTest11(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void gpTest12(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void gpTest13(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void gpTest14(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void gpTest15(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void gpTest16(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void gpTest17(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void gpTest18(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message); -native public static void gpTest19(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void gpTest20(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message); -native public static void gpTest21(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message); -native public static void gpTest22(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message); -native public static void gpTest23(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message); -native public static void gpTest24(AIS_InteractiveContext aContext,ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message); -native public static void gpTest25(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message); -native public static void gpTest26(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message); -native public static void gpTest27(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message); -native public static void gpTest28(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message); -native public static void gpTest29(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message); -native public static void gpTest30(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message); -native public static void gpTest31(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message); -native public static void gpTest32(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message); -native public static void gpTest33(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void gpTest34(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void gpTest35(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void gpTest36(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void gpTest37(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void gpTest38(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void gpTest39(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void gpTest40(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void gpTest41(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void gpTest42(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void gpTest43(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void gpTest44(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void gpTest45(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void gpTest46(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void gpTest47(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void gpTest48(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message); -native public static void gpTest49(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void gpTest50(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static boolean SaveImage(Standard_CString aFileName,Standard_CString aFormat,V3d_View aView); - - - -} diff --git a/samples/java/java/SampleGeometryPanel.java b/samples/java/java/SampleGeometryPanel.java deleted file mode 100755 index d00d32b681..0000000000 --- a/samples/java/java/SampleGeometryPanel.java +++ /dev/null @@ -1,1529 +0,0 @@ - -//Title: OpenCASCADE Samples -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface Group (Nizhny Novgorod) -//Company: Matra Datavision -//Description: - - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import java.util.*; -import jcas.Standard_CString; -import CASCADESamplesJni.*; -import SampleGeometryJni.*; -import util.*; - -public class SampleGeometryPanel extends SamplePanel - implements ActionListener, - MouseListener, - MouseMotionListener -{ - //-----------------------------------------------------------// - // Resources - //-----------------------------------------------------------// - static protected ResourceBundle resGui = - ResourceBundle.getBundle("SampleGeometry"); - - static protected ImageIcon imgTest1 = new ImageIcon(resGui.getString("Icon-Test1")); - static protected ImageIcon imgTest2 = new ImageIcon(resGui.getString("Icon-Test2")); - static protected ImageIcon imgTest3 = new ImageIcon(resGui.getString("Icon-Test3")); - static protected ImageIcon imgTest4 = new ImageIcon(resGui.getString("Icon-Test4")); - static protected ImageIcon imgTest5 = new ImageIcon(resGui.getString("Icon-Test5")); - static protected ImageIcon imgTest6 = new ImageIcon(resGui.getString("Icon-Test6")); - static protected ImageIcon imgTest7 = new ImageIcon(resGui.getString("Icon-Test7")); - static protected ImageIcon imgTest8 = new ImageIcon(resGui.getString("Icon-Test8")); - static protected ImageIcon imgTest9 = new ImageIcon(resGui.getString("Icon-Test9")); - static protected ImageIcon imgTest10 = new ImageIcon(resGui.getString("Icon-Test10")); - static protected ImageIcon imgTest11 = new ImageIcon(resGui.getString("Icon-Test11")); - static protected ImageIcon imgTest12 = new ImageIcon(resGui.getString("Icon-Test12")); - static protected ImageIcon imgTest13 = new ImageIcon(resGui.getString("Icon-Test13")); - static protected ImageIcon imgTest14 = new ImageIcon(resGui.getString("Icon-Test14")); - static protected ImageIcon imgTest15 = new ImageIcon(resGui.getString("Icon-Test15")); - static protected ImageIcon imgTest16 = new ImageIcon(resGui.getString("Icon-Test16")); - static protected ImageIcon imgTest17 = new ImageIcon(resGui.getString("Icon-Test17")); - static protected ImageIcon imgTest18 = new ImageIcon(resGui.getString("Icon-Test18")); - static protected ImageIcon imgTest19 = new ImageIcon(resGui.getString("Icon-Test19")); - static protected ImageIcon imgTest20 = new ImageIcon(resGui.getString("Icon-Test20")); - static protected ImageIcon imgTest21 = new ImageIcon(resGui.getString("Icon-Test21")); - static protected ImageIcon imgTest22 = new ImageIcon(resGui.getString("Icon-Test22")); - static protected ImageIcon imgTest23 = new ImageIcon(resGui.getString("Icon-Test23")); - static protected ImageIcon imgTest24 = new ImageIcon(resGui.getString("Icon-Test24")); - static protected ImageIcon imgTest25 = new ImageIcon(resGui.getString("Icon-Test25")); - static protected ImageIcon imgTest26 = new ImageIcon(resGui.getString("Icon-Test26")); - static protected ImageIcon imgTest27 = new ImageIcon(resGui.getString("Icon-Test27")); - static protected ImageIcon imgTest28 = new ImageIcon(resGui.getString("Icon-Test28")); - static protected ImageIcon imgTest29 = new ImageIcon(resGui.getString("Icon-Test29")); - static protected ImageIcon imgTest30 = new ImageIcon(resGui.getString("Icon-Test30")); - static protected ImageIcon imgTest31 = new ImageIcon(resGui.getString("Icon-Test31")); - static protected ImageIcon imgTest32 = new ImageIcon(resGui.getString("Icon-Test32")); - static protected ImageIcon imgTest33 = new ImageIcon(resGui.getString("Icon-Test33")); - static protected ImageIcon imgTest34 = new ImageIcon(resGui.getString("Icon-Test34")); - static protected ImageIcon imgTest35 = new ImageIcon(resGui.getString("Icon-Test35")); - static protected ImageIcon imgTest36 = new ImageIcon(resGui.getString("Icon-Test36")); - static protected ImageIcon imgTest37 = new ImageIcon(resGui.getString("Icon-Test37")); - static protected ImageIcon imgTest38 = new ImageIcon(resGui.getString("Icon-Test38")); - static protected ImageIcon imgTest39 = new ImageIcon(resGui.getString("Icon-Test39")); - static protected ImageIcon imgTest40 = new ImageIcon(resGui.getString("Icon-Test40")); - static protected ImageIcon imgTest41 = new ImageIcon(resGui.getString("Icon-Test41")); - static protected ImageIcon imgTest42 = new ImageIcon(resGui.getString("Icon-Test42")); - static protected ImageIcon imgTest43 = new ImageIcon(resGui.getString("Icon-Test43")); - static protected ImageIcon imgTest44 = new ImageIcon(resGui.getString("Icon-Test44")); - static protected ImageIcon imgTest45 = new ImageIcon(resGui.getString("Icon-Test45")); - static protected ImageIcon imgTest46 = new ImageIcon(resGui.getString("Icon-Test46")); - static protected ImageIcon imgTest47 = new ImageIcon(resGui.getString("Icon-Test47")); - static protected ImageIcon imgTest48 = new ImageIcon(resGui.getString("Icon-Test48")); - static protected ImageIcon imgTest49 = new ImageIcon(resGui.getString("Icon-Test49")); - static protected ImageIcon imgTest50 = new ImageIcon(resGui.getString("Icon-Test50")); - - - static final int ONLY_VIEW3D = 0; - static final int ONLY_VIEW2D = 1; - static final int BOTH_VIEW = 2; - - - //-----------------------------------------------------------// - // Components - //-----------------------------------------------------------// - private ViewPanel myView2d; - private ViewPanel myView3d; - - private static V2d_Viewer myViewer2d = null; - private static V3d_Viewer myViewer3d = null; - - private static ISession2D_InteractiveContext myInteractiveContext = null; - private static AIS_InteractiveContext myAISContext = null; - - private int startX = 0, startY = 0; - private boolean Dragged = false; - - - //-----------------------------------------------------------// - // External access - //-----------------------------------------------------------// - public static V2d_Viewer getViewer2d() - { - return myViewer2d; - } - - public static V3d_Viewer getViewer3d() - { - return myViewer3d; - } - - public static ISession2D_InteractiveContext getInteractiveContext() - { - return myInteractiveContext; - } - - public static AIS_InteractiveContext getAISContext() - { - return myAISContext; - } - - -//=======================================================================// -// Constructor // -//=======================================================================// - public SampleGeometryPanel() - { - // 2D Initialization - //------------------------------------------ - myViewer2d.SetCircularGridValues(0.0, 0.0, 1.0, 8, 0.0); - myViewer2d.SetRectangularGridValues(0.0, 0.0, 1.0, 1.0, 0.0); - - if (myInteractiveContext == null) - myInteractiveContext = new ISession2D_InteractiveContext(myViewer2d); - - - // 3D Initialization - //------------------------------------------ - myViewer3d.SetDefaultLights(); - myViewer3d.SetLightOn(); - - if (myAISContext == null) - { - myAISContext = new AIS_InteractiveContext(myViewer3d); - myAISContext.SetIsoNumber(11, AIS_TypeOfIso.AIS_TOI_Both); - } - } - -//-----------------------------------------------------------------------// - public JPanel createViewPanel() - { - JPanel mainPanel = new JPanel(); - mainPanel.setLayout(new GridBagLayout()); - mainPanel.setBorder(BorderFactory.createEmptyBorder(0, 5, 5, 0)); - - - // Viewer 2D - //------------------------------------------ - if (myViewer2d == null){ - System.out.println("Info: Create Viewer"); - myViewer2d = SampleGeometryPackage.CreateViewer2d("Geometry2d"); - System.out.println("Info: Done creation of Viewer2d"); - } - - myView2d = new ViewPanel(ViewPanel.VIEW_2D) { - public ViewCanvas createViewPort() - { - return new CASCADEView2d(SampleGeometryPanel.getViewer2d()) { - public V2d_View createView2d(V2d_Viewer viewer, int hiwin, int lowin) { - return SampleGeometryPackage.CreateView2d(viewer, hiwin, lowin); - } - }; - } - }; - - myView2d.addMouseListener(this); - myView2d.addMouseMotionListener(this); - - - // Viewer 3D - //------------------------------------------ - myViewer3d = SampleGeometryPackage.CreateViewer3d("Geometry3d"); - - myView3d = new ViewPanel() { - public ViewCanvas createViewPort() - { - return new CASCADEView3d(SampleGeometryPanel.getViewer3d()) { - public void setWindow3d(V3d_View view, int hiwin, int lowin) { - SampleGeometryPackage.SetWindow3d(view, hiwin, lowin); - } - }; - } - }; - - myView3d.addMouseListener(this); - myView3d.addMouseMotionListener(this); - - - // Layout - //------------------------------------------ - mainPanel.add(myView2d, new GridBagConstraints(0, 0, 1, 1, 1.0, 0.5, - GridBagConstraints.CENTER, GridBagConstraints.BOTH, - new Insets(0, 0, 0, 0), 0, 0)); - mainPanel.add(myView3d, new GridBagConstraints(0, 1, 1, 1, 1.0, 0.5, - GridBagConstraints.CENTER, GridBagConstraints.BOTH, - new Insets(0, 0, 0, 0), 0, 0)); - - showView3d(); - - return mainPanel; - } - -//-----------------------------------------------------------------------// - public Component createToolbar() - { - JToolBar tools = (JToolBar) super.createToolbar(); - tools.setLayout(new GridLayout(2,0,1,1)); - - ButtonGroup group = new ButtonGroup(); - Insets margin = new Insets(1, 1, 1, 1); - JToggleButton button; - - button = new HeavyToggleButton(imgTest1, false); - button.setToolTipText(resGui.getString("TT-Test1")); - button.setActionCommand("Test1"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest2, false); - button.setToolTipText(resGui.getString("TT-Test2")); - button.setActionCommand("Test2"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest3, false); - button.setToolTipText(resGui.getString("TT-Test3")); - button.setActionCommand("Test3"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest4, false); - button.setToolTipText(resGui.getString("TT-Test4")); - button.setActionCommand("Test4"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest5, false); - button.setToolTipText(resGui.getString("TT-Test5")); - button.setActionCommand("Test5"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest6, false); - button.setToolTipText(resGui.getString("TT-Test6")); - button.setActionCommand("Test6"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest7, false); - button.setToolTipText(resGui.getString("TT-Test7")); - button.setActionCommand("Test7"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest8, false); - button.setToolTipText(resGui.getString("TT-Test8")); - button.setActionCommand("Test8"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest9, false); - button.setToolTipText(resGui.getString("TT-Test9")); - button.setActionCommand("Test9"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest10, false); - button.setToolTipText(resGui.getString("TT-Test10")); - button.setActionCommand("Test10"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest11, false); - button.setToolTipText(resGui.getString("TT-Test11")); - button.setActionCommand("Test11"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest12, false); - button.setToolTipText(resGui.getString("TT-Test12")); - button.setActionCommand("Test12"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest13, false); - button.setToolTipText(resGui.getString("TT-Test13")); - button.setActionCommand("Test13"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest14, false); - button.setToolTipText(resGui.getString("TT-Test14")); - button.setActionCommand("Test14"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest15, false); - button.setToolTipText(resGui.getString("TT-Test15")); - button.setActionCommand("Test15"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest16, false); - button.setToolTipText(resGui.getString("TT-Test16")); - button.setActionCommand("Test16"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest17, false); - button.setToolTipText(resGui.getString("TT-Test17")); - button.setActionCommand("Test17"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest18, false); - button.setToolTipText(resGui.getString("TT-Test18")); - button.setActionCommand("Test18"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest19, false); - button.setToolTipText(resGui.getString("TT-Test19")); - button.setActionCommand("Test19"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest20, false); - button.setToolTipText(resGui.getString("TT-Test20")); - button.setActionCommand("Test20"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest21, false); - button.setToolTipText(resGui.getString("TT-Test21")); - button.setActionCommand("Test21"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest22, false); - button.setToolTipText(resGui.getString("TT-Test22")); - button.setActionCommand("Test22"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest23, false); - button.setToolTipText(resGui.getString("TT-Test23")); - button.setActionCommand("Test23"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest24, false); - button.setToolTipText(resGui.getString("TT-Test24")); - button.setActionCommand("Test24"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest25, false); - button.setToolTipText(resGui.getString("TT-Test25")); - button.setActionCommand("Test25"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest26, false); - button.setToolTipText(resGui.getString("TT-Test26")); - button.setActionCommand("Test26"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest27, false); - button.setToolTipText(resGui.getString("TT-Test27")); - button.setActionCommand("Test27"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest28, false); - button.setToolTipText(resGui.getString("TT-Test28")); - button.setActionCommand("Test28"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest29, false); - button.setToolTipText(resGui.getString("TT-Test29")); - button.setActionCommand("Test29"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest30, false); - button.setToolTipText(resGui.getString("TT-Test30")); - button.setActionCommand("Test30"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest31, false); - button.setToolTipText(resGui.getString("TT-Test31")); - button.setActionCommand("Test31"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest32, false); - button.setToolTipText(resGui.getString("TT-Test32")); - button.setActionCommand("Test32"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest33, false); - button.setToolTipText(resGui.getString("TT-Test33")); - button.setActionCommand("Test33"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest34, false); - button.setToolTipText(resGui.getString("TT-Test34")); - button.setActionCommand("Test34"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest35, false); - button.setToolTipText(resGui.getString("TT-Test35")); - button.setActionCommand("Test35"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest36, false); - button.setToolTipText(resGui.getString("TT-Test36")); - button.setActionCommand("Test36"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest37, false); - button.setToolTipText(resGui.getString("TT-Test37")); - button.setActionCommand("Test37"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest38, false); - button.setToolTipText(resGui.getString("TT-Test38")); - button.setActionCommand("Test38"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest39, false); - button.setToolTipText(resGui.getString("TT-Test39")); - button.setActionCommand("Test39"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest40, false); - button.setToolTipText(resGui.getString("TT-Test40")); - button.setActionCommand("Test40"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest41, false); - button.setToolTipText(resGui.getString("TT-Test41")); - button.setActionCommand("Test41"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest42, false); - button.setToolTipText(resGui.getString("TT-Test42")); - button.setActionCommand("Test42"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest43, false); - button.setToolTipText(resGui.getString("TT-Test43")); - button.setActionCommand("Test43"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest44, false); - button.setToolTipText(resGui.getString("TT-Test44")); - button.setActionCommand("Test44"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest45, false); - button.setToolTipText(resGui.getString("TT-Test45")); - button.setActionCommand("Test45"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest46, false); - button.setToolTipText(resGui.getString("TT-Test46")); - button.setActionCommand("Test46"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest47, false); - button.setToolTipText(resGui.getString("TT-Test47")); - button.setActionCommand("Test47"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest48, false); - button.setToolTipText(resGui.getString("TT-Test48")); - button.setActionCommand("Test48"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest49, false); - button.setToolTipText(resGui.getString("TT-Test49")); - button.setActionCommand("Test49"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTest50, false); - button.setToolTipText(resGui.getString("TT-Test50")); - button.setActionCommand("Test50"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - return tools; - } - - -//=======================================================================// -// Actions // -//=======================================================================// - public void showView2d() - { - myView3d.setVisible(false); - myView2d.setVisible(true); - validate(); - } - -//-----------------------------------------------------------------------// - public void showView3d() - { - myView2d.setVisible(false); - myView3d.setVisible(true); - validate(); - } - -//-----------------------------------------------------------------------// - public void showBothView() - { - myView2d.setVisible(true); - myView3d.setVisible(true); - validate(); - } - - -//-----------------------------------------------------------------------// - public void preProcess(int type) - { - SamplesStarter.put_info(""); - switch (type) - { - case BOTH_VIEW: - showBothView(); - break; - case ONLY_VIEW2D: - showView2d(); - break; - default: - showView3d(); - break; - } - } - -//-----------------------------------------------------------------------// - public String getTitleString(int type) - { - String mess = new String("Results are "); - switch (type) - { - case BOTH_VIEW: - mess += "in both 2D and 3D\n"; - break; - case ONLY_VIEW2D: - mess += "only in 2D\n"; - break; - default: - mess += "only in 3D\n"; - break; - } - mess = mess + "====================================\n\n"; - return mess; - } - -//-----------------------------------------------------------------------// - public void postProcess(int type, TCollection_AsciiString message, String title) - { - postProcess(type, message, title, -1.0); - } - - public void postProcess(int type, TCollection_AsciiString message, String title, double zoom) - { - String text = getTitleString(type); - text += message.ToCString().GetValue(); - - switch (type) - { - case BOTH_VIEW: - myView3d.getViewPort().FitAll(); - if (zoom > -1) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (view3d != null) - view3d.SetZoom(zoom, true); - } - - myView2d.getViewPort().FitAll(); - myView2d.getViewPort().repaint(); - myView3d.getViewPort().repaint(); - traceMessage(text, title); - break; - - case ONLY_VIEW2D: - myView2d.getViewPort().FitAll(); - traceMessage(text, title); - myView2d.getViewPort().repaint(); - break; - - default: - myView3d.getViewPort().FitAll(); - if (zoom > -1) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (view3d != null) - view3d.SetZoom(zoom, true); - } - traceMessage(text, title); - myView3d.getViewPort().repaint(); - break; - } - } - -//=======================================================================// -// Tests -//=======================================================================// - public void gpTest1() - { - int type = ONLY_VIEW3D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest1(myAISContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test1")); - } - -//=======================================================================// - public void gpTest2() - { - int type = ONLY_VIEW3D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest2(myAISContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test2"), 0.002); - } - -//=======================================================================// - public void gpTest3() - { - int type = ONLY_VIEW3D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest3(myAISContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test3"), 0.02); - } - -//=======================================================================// - public void gpTest4() - { - int type = ONLY_VIEW3D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest4(myAISContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test4"), 0.02); - } - -//=======================================================================// - public void gpTest5() - { - int type = ONLY_VIEW3D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest5(myAISContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test5")); - } - -//=======================================================================// - public void gpTest6() - { - int type = ONLY_VIEW3D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest6(myAISContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test6")); - } - -//=======================================================================// - public void gpTest7() - { - int type = ONLY_VIEW2D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest7(myInteractiveContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test7")); - } - -//=======================================================================// - public void gpTest8() - { - int type = ONLY_VIEW2D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest8(myInteractiveContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test8")); - } - -//=======================================================================// - public void gpTest9() - { - int type = ONLY_VIEW2D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest9(myInteractiveContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test9")); - } - -//=======================================================================// - public void gpTest10() - { - int type = ONLY_VIEW2D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest10(myInteractiveContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test10")); - } - -//=======================================================================// - public void gpTest11() - { - int type = ONLY_VIEW3D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest11(myAISContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test11")); - } - -//=======================================================================// - public void gpTest12() - { - int type = ONLY_VIEW3D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest12(myAISContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test12")); - } - -//=======================================================================// - public void gpTest13() - { - int type = ONLY_VIEW3D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest13(myAISContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test13")); - } - -//=======================================================================// - public void gpTest14() - { - int type = ONLY_VIEW3D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest14(myAISContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test14")); - } - -//=======================================================================// - public void gpTest15() - { - int type = ONLY_VIEW3D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest15(myAISContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test15")); - } - -//=======================================================================// - public void gpTest16() - { - int type = ONLY_VIEW3D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest16(myAISContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test16")); - } - -//=======================================================================// - public void gpTest17() - { - int type = ONLY_VIEW3D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest17(myAISContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test17")); - } - -//=======================================================================// - public void gpTest18() - { - int type = ONLY_VIEW2D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest18(myInteractiveContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test18")); - } - -//=======================================================================// - public void gpTest19() - { - int type = ONLY_VIEW3D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest19(myAISContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test19")); - } - -//=======================================================================// - public void gpTest20() - { - int type = ONLY_VIEW2D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest20(myInteractiveContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test20")); - } - -//=======================================================================// - public void gpTest21() - { - int type = ONLY_VIEW2D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest21(myInteractiveContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test21")); - } - -//=======================================================================// - public void gpTest22() - { - int type = ONLY_VIEW2D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest22(myInteractiveContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test22")); - } - -//=======================================================================// - public void gpTest23() - { - int type = ONLY_VIEW2D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest23(myInteractiveContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test23")); - } - -//=======================================================================// - public void gpTest24() - { - int type = BOTH_VIEW; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest24(myAISContext, myInteractiveContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test24")); - } - -//=======================================================================// - public void gpTest25() - { - int type = ONLY_VIEW2D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest25(myInteractiveContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test25")); - } - -//=======================================================================// - public void gpTest26() - { - int type = ONLY_VIEW2D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest26(myInteractiveContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test26")); - } - -//=======================================================================// - public void gpTest27() - { - int type = ONLY_VIEW2D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest27(myInteractiveContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test27")); - } - -//=======================================================================// - public void gpTest28() - { - int type = ONLY_VIEW2D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest28(myInteractiveContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test28")); - } - -//=======================================================================// - public void gpTest29() - { - int type = ONLY_VIEW2D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest29(myInteractiveContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test29")); - } - -//=======================================================================// - public void gpTest30() - { - int type = ONLY_VIEW2D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest30(myInteractiveContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test30")); - } - -//=======================================================================// - public void gpTest31() - { - int type = ONLY_VIEW2D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest31(myInteractiveContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test31")); - } - -//=======================================================================// - public void gpTest32() - { - int type = ONLY_VIEW2D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest32(myInteractiveContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test32")); - } - -//=======================================================================// - public void gpTest33() - { - int type = ONLY_VIEW3D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest33(myAISContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test33")); - } - -//=======================================================================// - public void gpTest34() - { - int type = ONLY_VIEW3D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest34(myAISContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test34")); - } - -//=======================================================================// - public void gpTest35() - { - int type = ONLY_VIEW3D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest35(myAISContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test35")); - } - -//=======================================================================// - public void gpTest36() - { - int type = ONLY_VIEW3D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest36(myAISContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test36")); - } - -//=======================================================================// - public void gpTest37() - { - int type = ONLY_VIEW3D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest37(myAISContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test37")); - } - -//=======================================================================// - public void gpTest38() - { - int type = ONLY_VIEW3D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest38(myAISContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test38")); - } - -//=======================================================================// - public void gpTest39() - { - int type = ONLY_VIEW3D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest39(myAISContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test39")); - } - -//=======================================================================// - public void gpTest40() - { - int type = ONLY_VIEW3D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest40(myAISContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test40")); - } - -//=======================================================================// - public void gpTest41() - { - int type = ONLY_VIEW3D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest41(myAISContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test41")); - } - -//=======================================================================// - public void gpTest42() - { - int type = ONLY_VIEW3D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest42(myAISContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test42")); - } - -//=======================================================================// - public void gpTest43() - { - int type = ONLY_VIEW3D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest43(myAISContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test43")); - } - -//=======================================================================// - public void gpTest44() - { - int type = ONLY_VIEW3D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest44(myAISContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test44")); - } - -//=======================================================================// - public void gpTest45() - { - int type = ONLY_VIEW3D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest45(myAISContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test45")); - } - -//=======================================================================// - public void gpTest46() - { - int type = ONLY_VIEW3D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest46(myAISContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test46")); - } - -//=======================================================================// - public void gpTest47() - { - int type = ONLY_VIEW3D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest47(myAISContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test47")); - } - -//=======================================================================// - public void gpTest48() - { - int type = ONLY_VIEW2D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest48(myInteractiveContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test48")); - } - -//=======================================================================// - public void gpTest49() - { - int type = ONLY_VIEW3D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest49(myAISContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test49")); - } - -//=======================================================================// - public void gpTest50() - { - int type = ONLY_VIEW3D; - preProcess(type); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleGeometryPackage.gpTest50(myAISContext, message); - - postProcess(type, message, resGui.getString("Dlg-Test50")); - } - - -//=======================================================================// -// ActionListener interface -//=======================================================================// - public void actionPerformed(ActionEvent e) - { - String command = e.getActionCommand(); - - if (command.equals("Test1")) gpTest1(); - else if (command.equals("Test2")) gpTest2(); - else if (command.equals("Test3")) gpTest3(); - else if (command.equals("Test4")) gpTest4(); - else if (command.equals("Test5")) gpTest5(); - else if (command.equals("Test6")) gpTest6(); - else if (command.equals("Test7")) gpTest7(); - else if (command.equals("Test8")) gpTest8(); - else if (command.equals("Test9")) gpTest9(); - else if (command.equals("Test10")) gpTest10(); - else if (command.equals("Test11")) gpTest11(); - else if (command.equals("Test12")) gpTest12(); - else if (command.equals("Test13")) gpTest13(); - else if (command.equals("Test14")) gpTest14(); - else if (command.equals("Test15")) gpTest15(); - else if (command.equals("Test16")) gpTest16(); - else if (command.equals("Test17")) gpTest17(); - else if (command.equals("Test18")) gpTest18(); - else if (command.equals("Test19")) gpTest19(); - else if (command.equals("Test20")) gpTest20(); - else if (command.equals("Test21")) gpTest21(); - else if (command.equals("Test22")) gpTest22(); - else if (command.equals("Test23")) gpTest23(); - else if (command.equals("Test24")) gpTest24(); - else if (command.equals("Test25")) gpTest25(); - else if (command.equals("Test26")) gpTest26(); - else if (command.equals("Test27")) gpTest27(); - else if (command.equals("Test28")) gpTest28(); - else if (command.equals("Test29")) gpTest29(); - else if (command.equals("Test30")) gpTest30(); - else if (command.equals("Test31")) gpTest31(); - else if (command.equals("Test32")) gpTest32(); - else if (command.equals("Test33")) gpTest33(); - else if (command.equals("Test34")) gpTest34(); - else if (command.equals("Test35")) gpTest35(); - else if (command.equals("Test36")) gpTest36(); - else if (command.equals("Test37")) gpTest37(); - else if (command.equals("Test38")) gpTest38(); - else if (command.equals("Test39")) gpTest39(); - else if (command.equals("Test40")) gpTest40(); - else if (command.equals("Test41")) gpTest41(); - else if (command.equals("Test42")) gpTest42(); - else if (command.equals("Test43")) gpTest43(); - else if (command.equals("Test44")) gpTest44(); - else if (command.equals("Test45")) gpTest45(); - else if (command.equals("Test46")) gpTest46(); - else if (command.equals("Test47")) gpTest47(); - else if (command.equals("Test48")) gpTest48(); - else if (command.equals("Test49")) gpTest49(); - else if (command.equals("Test50")) gpTest50(); - } - -//=======================================================================// -// MouseListener interface -//=======================================================================// - public void mouseClicked(MouseEvent e) - { - } - - public void mousePressed(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e)) - { - startX = e.getX(); - startY = e.getY(); - Object src = e.getSource(); - - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (view3d != null) - myAISContext.MoveTo(startX, startY, view3d); - } - if (src == myView2d) - { - V2d_View view2d = ((CASCADEView2d) myView2d.getViewPort()).getView(); - if (view2d != null) - myInteractiveContext.Move(startX, startY, view2d); - } - } - else if (SwingUtilities.isRightMouseButton(e)) - { - if (e.getSource() == myView3d) - { - PopupMenu defPopup = myView3d.getDefaultPopup(); - myView3d.add(defPopup); - defPopup.show(myView3d, e.getX(), e.getY() + 30); - } - } - } - - public void mouseReleased(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e)) - { - Object src = e.getSource(); - - if (Dragged) - { - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (view3d != null) - { - if (e.isShiftDown()) - myAISContext.ShiftSelect(startX, startY, e.getX(), e.getY(), view3d, true); - else - myAISContext.Select(startX, startY, e.getX(), e.getY(), view3d, true); - } - } - if (src == myView3d) - { - V2d_View view2d = ((CASCADEView2d) myView2d.getViewPort()).getView(); - if (view2d != null) - { - myInteractiveContext.Move(startX, startY, e.getX(), e.getY(), view2d); - myInteractiveContext.Pick(e.isShiftDown()); - } - } - } - else - { - if (src == myView3d) - { - if (e.isShiftDown()) - myAISContext.ShiftSelect(true); - else - myAISContext.Select(true); - } - if (src == myView2d) - { - myInteractiveContext.Pick(e.isShiftDown()); - } - } - Dragged = false; - } - } - - public void mouseEntered(MouseEvent e) - { - } - - public void mouseExited(MouseEvent e) - { - } - -//=======================================================================// -// MouseMotionListener interface -//=======================================================================// - public void mouseDragged(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e)) - Dragged = true; - } - - public void mouseMoved(MouseEvent e) - { - Object src = e.getSource(); - - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (myAISContext != null && view3d != null) - myAISContext.MoveTo(e.getX(), e.getY(), view3d); - } - if (src == myView2d) - { - V2d_View view2d = ((CASCADEView2d) myView2d.getViewPort()).getView(); - if (myInteractiveContext != null && view2d != null) - myInteractiveContext.Move(e.getX(), e.getY(), view2d); - } - } - - -} - diff --git a/samples/java/java/SampleGeometry_en.properties b/samples/java/java/SampleGeometry_en.properties deleted file mode 100755 index a4d7e89d19..0000000000 --- a/samples/java/java/SampleGeometry_en.properties +++ /dev/null @@ -1,203 +0,0 @@ -#Wed Oct 12 18:09:59 GMT 1999 - -#GUI -Icon-Test1=icon/test1.gif -TT-Test1=Cartesian coordinate entity -Dlg-Test1=Build a cartesian coordinate entity - -Icon-Test2=icon/test2.gif -TT-Test2=Geometric points -Dlg-Test2=Build geometric points - -Icon-Test3=icon/test3.gif -TT-Test3=Geometric point -Dlg-Test3=Build a point with a triplet of coordinates - -Icon-Test4=icon/test4.gif -TT-Test4=Coordinates of a point -Dlg-Test4=Return the coordinates of a geometric point - -Icon-Test5=icon/test5.gif -TT-Test5=Barycenter of two points -Dlg-Test5=Build the barycenter of two points - -Icon-Test6=icon/test6.gif -TT-Test6=Barycenter of several points -Dlg-Test6=Build the barycenter of several points - -Icon-Test7=icon/test7.gif -TT-Test7=Trimmed curve -Dlg-Test7=Build a trimmed curve and a tangent vector - -Icon-Test8=icon/test8.gif -TT-Test8=Geometric circle -Dlg-Test8=Build a geometric circle and a targent direction - -Icon-Test9=icon/test9.gif -TT-Test9=Point from curve -Dlg-Test9=Build a point from curve and a start point - -Icon-Test10=icon/test10.gif -TT-Test10=Points from curve -Dlg-Test10=Build points from a circle and uniform abscissa - -Icon-Test11=icon/test11.gif -TT-Test11=Point from sphere -Dlg-Test11=Build a point from a sphere and u,v parameters - -Icon-Test12=icon/test12.gif -TT-Test12=Project a point on a curve -Dlg-Test12=Project a point on a curve - -Icon-Test13=icon/test13.gif -TT-Test13=Project a point on a sphere -Dlg-Test13=Project a point on a sphere - -Icon-Test14=icon/test14.gif -TT-Test14=Build points from an intersection -Dlg-Test14=Build points from an intersection - -Icon-Test15=icon/test15.gif -TT-Test15=Build a point from a transformation -Dlg-Test15=Build a point from a transformation - -Icon-Test16=icon/test16.gif -TT-Test16=Vectors -Dlg-Test16=Build vectors from points - -Icon-Test17=icon/test17.gif -TT-Test17=Angle -Dlg-Test17=Calculate the angle between two directions - -Icon-Test18=icon/test18.gif -TT-Test18=Parabola -Dlg-Test18=Build a parabola from an axis - -Icon-Test19=icon/test19.gif -TT-Test19=Axis -Dlg-Test19=Build right and left handed axis - -Icon-Test20=icon/test20.gif -TT-Test20=B-Spline curves -Dlg-Test20=Build B-Spline curves - -Icon-Test21=icon/test21.gif -TT-Test21=Build a fair curve -Dlg-Test21=Build a fair curve - -Icon-Test22=icon/test22.gif -TT-Test22=Build a fair curve -Dlg-Test22=Build a curve from two points and energy - -Icon-Test23=icon/test23.gif -TT-Test23=Build a trimmed curve -Dlg-Test23=Build a trimmed curve from an ellipse - -Icon-Test24=icon/test24.gif -TT-Test24=Projection -Dlg-Test24=Project a curve on a 2D one - -Icon-Test25=icon/test25.gif -TT-Test25=Interpolate a curve -Dlg-Test25=Interpolate a curve from points - -Icon-Test26=icon/test26.gif -TT-Test26=Extreme points -Dlg-Test26=Calculate the extreme points between curves - -Icon-Test27=icon/test27.gif -TT-Test27=Offset curves -Dlg-Test27=Build offset curves - -Icon-Test28=icon/test28.gif -TT-Test28=Line -Dlg-Test28=Build a line passing through two points - -Icon-Test29=icon/test29.gif -TT-Test29=Bisector -Dlg-Test29=Build a bisector - -Icon-Test30=icon/test30.gif -TT-Test30=Build a tangent line -Dlg-Test30=Build a line passing through a point and tangent to a circle - -Icon-Test31=icon/test31.gif -TT-Test31=Tangent circles -Dlg-Test31=Build tangent circles - -Icon-Test32=icon/test32.gif -TT-Test32=Trimmed ellipse -Dlg-Test32=Build a trimmed ellipse - -Icon-Test33=icon/test33.gif -TT-Test33=B-Spline curves -Dlg-Test33=Build B-Spline curves - -Icon-Test34=icon/test34.gif -TT-Test34=Test points -Dlg-Test34=Test the average shape of points - -Icon-Test35=icon/test35.gif -TT-Test35=Intersection between curve and surface -Dlg-Test35=Intersection between curve and surface - -Icon-Test36=icon/test36.gif -TT-Test36=Geometric transformations -Dlg-Test36=Build entities from geometric transformations - -Icon-Test37=icon/test37.gif -TT-Test37=Test points -Dlg-Test37=Test the average shape of points - -Icon-Test38=icon/test38.gif -TT-Test38=Fill curves -Dlg-Test38=Build surfaces by filling curves - -Icon-Test39=icon/test39.gif -TT-Test39=Constrained surface -Dlg-Test39=Build a constrained surface from curves - -Icon-Test40=icon/test40.gif -TT-Test40=Pipe -Dlg-Test40=Build the pipe from basis entities - -Icon-Test41=icon/test41.gif -TT-Test41=Split a B-Spline surface -Dlg-Test41=Split a B-Spline surface - -Icon-Test42=icon/test42.gif -TT-Test42=Bezier surface -Dlg-Test42=Build Bezier surface - -Icon-Test43=icon/test43.gif -TT-Test43=Offset surfaces -Dlg-Test43=Build offset surfaces - -Icon-Test44=icon/test44.gif -TT-Test44=Linear extrusion -Dlg-Test44=Build a surface of linear extrusion - -Icon-Test45=icon/test45.gif -TT-Test45=Surface of revolution -Dlg-Test45=Build a surface of revolution - -Icon-Test46=icon/test46.gif -TT-Test46=Extended surface -Dlg-Test46=Build a surface extended by a length - -Icon-Test47=icon/test47.gif -TT-Test47=Extreme distances -Dlg-Test47=Calculate the extreme distances between surfaces - -Icon-Test48=icon/test48.gif -TT-Test48=Bounding boxes 2D -Dlg-Test48=Build the bounding boxes of curves 2D - -Icon-Test49=icon/test49.gif -TT-Test49=Bounding boxes 3D -Dlg-Test49=Build the bounding boxes of curves 3D - -Icon-Test50=icon/test50.gif -TT-Test50=Bounding boxes 3D -Dlg-Test50=Build the bounding boxes of surface 3D - diff --git a/samples/java/java/SampleHLRJni/Aspect_ColorCubeColorMap.java b/samples/java/java/SampleHLRJni/Aspect_ColorCubeColorMap.java deleted file mode 100755 index b03d5d5d6b..0000000000 --- a/samples/java/java/SampleHLRJni/Aspect_ColorCubeColorMap.java +++ /dev/null @@ -1,48 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleHLRJni; - -import jcas.Object; -import jcas.Standard_Integer; -import CASCADESamplesJni.Aspect_ColorMapEntry; -import CASCADESamplesJni.Quantity_Color; - - -public class Aspect_ColorCubeColorMap extends CASCADESamplesJni.Aspect_ColorMap { - - static { - System.loadLibrary("SampleHLRJni"); - } - -public Aspect_ColorCubeColorMap(int base_pixel,int redmax,int redmult,int greenmax,int greenmult,int bluemax,int bluemult) { - Aspect_ColorCubeColorMap_Create_0(base_pixel,redmax,redmult,greenmax,greenmult,bluemax,bluemult); -} - -private final native void Aspect_ColorCubeColorMap_Create_0(int base_pixel,int redmax,int redmult,int greenmax,int greenmult,int bluemax,int bluemult); - -native public final void ColorCubeDefinition(Standard_Integer base_pixel,Standard_Integer redmax,Standard_Integer redmult,Standard_Integer greenmax,Standard_Integer greenmult,Standard_Integer bluemax,Standard_Integer bluemult); -native public final int FindColorMapIndex(int AColorMapEntryIndex); -native public final Aspect_ColorMapEntry FindEntry(int AColorMapEntryIndex); -native public final int NearestColorMapIndex(Quantity_Color aColor); -native public final Aspect_ColorMapEntry NearestEntry(Quantity_Color aColor); -public Aspect_ColorCubeColorMap() { -} - - - - -} diff --git a/samples/java/java/SampleHLRJni/Aspect_ColorRampColorMap.java b/samples/java/java/SampleHLRJni/Aspect_ColorRampColorMap.java deleted file mode 100755 index 36f2fcd953..0000000000 --- a/samples/java/java/SampleHLRJni/Aspect_ColorRampColorMap.java +++ /dev/null @@ -1,56 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleHLRJni; - -import jcas.Object; -import jcas.Standard_Integer; -import CASCADESamplesJni.Quantity_Color; -import CASCADESamplesJni.Quantity_NameOfColor; -import jcas.Standard_Short; -import CASCADESamplesJni.Aspect_ColorMapEntry; - - -public class Aspect_ColorRampColorMap extends CASCADESamplesJni.Aspect_ColorMap { - - static { - System.loadLibrary("SampleHLRJni"); - } - -public Aspect_ColorRampColorMap(int basepixel,int dimension,Quantity_Color color) { - Aspect_ColorRampColorMap_Create_1(basepixel,dimension,color); -} - -private final native void Aspect_ColorRampColorMap_Create_1(int basepixel,int dimension,Quantity_Color color); - -public Aspect_ColorRampColorMap(int basepixel,int dimension,short colorName) { - Aspect_ColorRampColorMap_Create_2(basepixel,dimension,colorName); -} - -private final native void Aspect_ColorRampColorMap_Create_2(int basepixel,int dimension,short colorName); - -native public final void ColorRampDefinition(Standard_Integer basepixel,Standard_Integer dimension,Quantity_Color color); -native public final int FindColorMapIndex(int ColorMapEntryIndex); -native public final Aspect_ColorMapEntry FindEntry(int AColorMapEntryIndex); -native public final int NearestColorMapIndex(Quantity_Color aColor); -native public final Aspect_ColorMapEntry NearestEntry(Quantity_Color aColor); -public Aspect_ColorRampColorMap() { -} - - - - -} diff --git a/samples/java/java/SampleHLRJni/SampleHLRPackage.java b/samples/java/java/SampleHLRJni/SampleHLRPackage.java deleted file mode 100755 index 1a9668edf3..0000000000 --- a/samples/java/java/SampleHLRJni/SampleHLRPackage.java +++ /dev/null @@ -1,64 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleHLRJni; - -import CASCADESamplesJni.V3d_Viewer; -import jcas.Standard_ExtString; -import CASCADESamplesJni.V3d_View; -import jcas.Standard_Integer; -import CASCADESamplesJni.V2d_Viewer; -import CASCADESamplesJni.V2d_View; -import CASCADESamplesJni.AIS_InteractiveContext; -import jcas.Standard_Boolean; -import CASCADESamplesJni.ISession2D_InteractiveContext; -import jcas.Standard_CString; - - -public class SampleHLRPackage { - - static { - System.loadLibrary("SampleHLRJni"); - } - -native public static V3d_Viewer CreateViewer3d(String aName); -native public static void SetWindow3d(V3d_View aView,int hiwin,int lowin); -native public static V2d_Viewer CreateViewer2d(String aName); -native public static V2d_View CreateView2d(V2d_Viewer aViewer,int hiwin,int lowin); -native public static void InitMaps(V2d_Viewer aViewer); -native public static void DisplayTrihedron(AIS_InteractiveContext aContext); -native public static boolean GetShapes(AIS_InteractiveContext aSrcContext,AIS_InteractiveContext aDestContext); -native public static void Apply(ISession2D_InteractiveContext aContext2d,int aDisplayMode); -native public static void UpdateProjector(V3d_View aView); -native public static void SetNbIsos(int aNbIsos); -native public static boolean ReadBRep(Standard_CString aFileName,AIS_InteractiveContext aContext); -native public static boolean SaveBRep(Standard_CString aFileName,AIS_InteractiveContext aContext); -static public boolean SaveImage(Standard_CString aFileName,Standard_CString aFormat,V3d_View aView) { - return SampleHLRPackage_SaveImage_1(aFileName,aFormat,aView); -} - -private static native boolean SampleHLRPackage_SaveImage_1(Standard_CString aFileName,Standard_CString aFormat,V3d_View aView); - -static public boolean SaveImage(Standard_CString aFileName,Standard_CString aFormat,V2d_View aView) { - return SampleHLRPackage_SaveImage_2(aFileName,aFormat,aView); -} - -private static native boolean SampleHLRPackage_SaveImage_2(Standard_CString aFileName,Standard_CString aFormat,V2d_View aView); - - - - -} diff --git a/samples/java/java/SampleHLRJni/V2d_DefaultMap.java b/samples/java/java/SampleHLRJni/V2d_DefaultMap.java deleted file mode 100755 index 3082044da3..0000000000 --- a/samples/java/java/SampleHLRJni/V2d_DefaultMap.java +++ /dev/null @@ -1,51 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleHLRJni; - -import CASCADESamplesJni.Aspect_GenericColorMap; -import CASCADESamplesJni.Aspect_TypeMap; -import CASCADESamplesJni.Aspect_WidthMap; -import CASCADESamplesJni.Aspect_FontMap; -import CASCADESamplesJni.Aspect_MarkMap; - - -public class V2d_DefaultMap extends jcas.Object { - - static { - System.loadLibrary("SampleHLRJni"); - } - -native public static Aspect_GenericColorMap ColorMap(); -native public static Aspect_TypeMap TypeMap(); -native public static Aspect_WidthMap WidthMap(); -native public static Aspect_FontMap FontMap(); -native public static Aspect_MarkMap MarkMap(); -public V2d_DefaultMap() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/SampleHLRPanel.java b/samples/java/java/SampleHLRPanel.java deleted file mode 100755 index 16d5be57dc..0000000000 --- a/samples/java/java/SampleHLRPanel.java +++ /dev/null @@ -1,957 +0,0 @@ - -//Title: OpenCASCADE Samples -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface Group (Nizhny Novgorod) -//Company: Matra Datavision -//Description: - - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import java.util.*; -import java.io.File; -import javax.swing.filechooser.FileFilter; -import jcas.Standard_CString; -import jcas.Standard_Real; -import CASCADESamplesJni.*; -import SampleHLRJni.*; -import util.*; - -public class SampleHLRPanel extends SamplePanel - implements ActionListener, - MouseListener, - MouseMotionListener -{ - //-----------------------------------------------------------// - // Resources - //-----------------------------------------------------------// - static protected ResourceBundle resGui = - ResourceBundle.getBundle("SampleHLR"); - - static protected ImageIcon imgImportBrep = new ImageIcon(resGui.getString("Icon-ImportBrep")); - static protected ImageIcon imgExportBrep = new ImageIcon(resGui.getString("Icon-ExportBrep")); - static protected ImageIcon imgExport2d = new ImageIcon(resGui.getString("Icon-Export2d")); - static protected ImageIcon imgExport3d = new ImageIcon(resGui.getString("Icon-Export3d")); - static protected ImageIcon imgHLR = new ImageIcon(resGui.getString("Icon-HLR")); - static protected ImageIcon imgProperties = new ImageIcon(resGui.getString("Icon-Properties")); - static protected ImageIcon imgWireframe = new ImageIcon(resGui.getString("Icon-Wireframe")); - static protected ImageIcon imgShading = new ImageIcon(resGui.getString("Icon-Shading")); - static protected ImageIcon imgColor = new ImageIcon(resGui.getString("Icon-Color")); - static protected ImageIcon imgMaterial = new ImageIcon(resGui.getString("Icon-Material")); - static protected ImageIcon imgTransparency = new ImageIcon(resGui.getString("Icon-Transparency")); - static protected ImageIcon imgErase = new ImageIcon(resGui.getString("Icon-Erase")); - - - //-----------------------------------------------------------// - // Components - //-----------------------------------------------------------// - private static ViewPanel myView2d; - private static ViewPanel myView3d; - - private static V2d_Viewer myViewer2d = null; - private static V3d_Viewer myViewer3d = null; - - private static ISession2D_InteractiveContext myInteractiveContext = null; - private static AIS_InteractiveContext myAISContext = null; - - private int startX = 0, startY = 0; - private boolean Dragged = false; - - /** Directory path selected by user for the last time. */ - private File curPath = new File(System.getProperty("user.dir") + "/../../../../data"); - - private File curPathOcc = new File(curPath + "/occ"); - private File curPathImage = new File(curPath + "/images"); - - /** CASCADE properties dialog */ - private PropertiesDlg myPropDlg = null; - - /** HLR dialog */ - private HLRDlg myHLRDlg = null; - - /** Object(s) popup menu */ - private PopupMenu myPopup; - - JButton btnWireframe; - JButton btnShading; - JButton btnColor; - JButton btnMaterial; - JButton btnTransparency; - JButton btnErase; - - - //-----------------------------------------------------------// - // External access - //-----------------------------------------------------------// - public static V2d_Viewer getViewer2d() - { - return myViewer2d; - } - - public static V3d_Viewer getViewer3d() - { - return myViewer3d; - } - - public static ISession2D_InteractiveContext getInteractiveContext() - { - return myInteractiveContext; - } - - public static AIS_InteractiveContext getAISContext() - { - return myAISContext; - } - - public static CASCADEView2d getView2d() - { - if (myView2d == null) - return null; - return (CASCADEView2d) myView2d.getViewPort(); - } - - public static CASCADEView3d getView3d() - { - if (myView3d == null) - return null; - return (CASCADEView3d) myView3d.getViewPort(); - } - - -//=======================================================================// -// Constructor // -//=======================================================================// - public SampleHLRPanel() - { - super(false); - - // 2D Initialization - //------------------------------------------ - myViewer2d.SetCircularGridValues(0.0, 0.0, 10.0, 8, 0.0); - myViewer2d.SetRectangularGridValues(0.0, 0.0, 10.0, 10.0, 0.0); - - SampleHLRPackage.InitMaps(myViewer2d); - - if (myInteractiveContext == null) - myInteractiveContext = new ISession2D_InteractiveContext(myViewer2d); - - - // 3D Initialization - //------------------------------------------ - myViewer3d.SetDefaultLights(); - myViewer3d.SetLightOn(); - - if (myAISContext == null) - myAISContext = new AIS_InteractiveContext(myViewer3d); - - myPopup = createObjectPopup(); - updateButtons(); - } - -//-----------------------------------------------------------------------// - public JPanel createViewPanel() - { - JPanel mainPanel = new JPanel(); - mainPanel.setLayout(new GridBagLayout()); - mainPanel.setBorder(BorderFactory.createEmptyBorder(0, 5, 5, 0)); - - - // Viewer 2D - //------------------------------------------ - if (myViewer2d == null) { -// JOptionPane.showMessageDialog(null, "Call SampleHLRPackage.CreateViewer2d"); -// System.out.println("SampleHLRPanel.java: Press enter: "); -// try{ -// new java.io.DataInputStream(System.in).readLine(); -// System.out.println("..."); -// }catch (Exception e) { -// System.out.println("Error: SampleHLRPanel.createViewPanel:"+ e); -// System.out.println("Error", "SampleHLRPanel.createViewPanel:", e); -// } - myViewer2d = SampleHLRPackage.CreateViewer2d("HLR2d"); - } - - myView2d = new ViewPanel(ViewPanel.VIEW_2D) { - public ViewCanvas createViewPort() { - return new CASCADEView2d(SampleHLRPanel.getViewer2d()) { - public V2d_View createView2d(V2d_Viewer viewer, - int hiwin, int lowin) { - return SampleHLRPackage.CreateView2d(viewer, hiwin, lowin); - } - public Color GetBackgroundColor() { -// Aspect_WindowDriver aDriver = new Aspect_WindowDriver(myView.Driver()); - Aspect_WindowDriver aDriver = myView.Driver(); - Aspect_Window aWindow = aDriver.Window(); - Aspect_Background aBack = aWindow.Background(); - Quantity_Color aColor = aBack.Color(); - int red = (int) (aColor.Red()*255); - int green = (int) (aColor.Green()*255); - int blue = (int) (aColor.Blue()*255); - return new Color(red, green, blue); - } - public void SetBackgroundColor(Color color) { -// SampleHLRJni.Aspect_WindowDriver aDriver = new SampleHLRJni.Aspect_WindowDriver(myView.Driver()); -// Aspect_WindowDriver aDriver = new Aspect_WindowDriver(myView.Driver()); - Aspect_WindowDriver aDriver = myView.Driver(); - - Aspect_Window aWindow = aDriver.Window(); - Aspect_Background aBack = aWindow.Background(); - Quantity_Color theColor = new Quantity_Color(color.getRed()/255., - color.getGreen()/255., color.getBlue()/255., - Quantity_TypeOfColor.Quantity_TOC_RGB); - aBack.SetColor(theColor); - aWindow.SetBackground(aBack); - myView.Update(); - } - }; - } - }; - - myView2d.addMouseListener(this); - myView2d.addMouseMotionListener(this); - - - // Viewer 3D - //------------------------------------------ - myViewer3d = SampleHLRPackage.CreateViewer3d("HLR3d"); - - myView3d = new ViewPanel() { - public ViewCanvas createViewPort() - { - return new CASCADEView3d(SampleHLRPanel.getViewer3d()) { - public void setWindow3d(V3d_View view, int hiwin, int lowin) { - SampleHLRPackage.SetWindow3d(view, hiwin, lowin); - } - }; - } - }; - - myView3d.addMouseListener(this); - myView3d.addMouseMotionListener(this); - - - // Layout - //------------------------------------------ - mainPanel.add(myView3d, new GridBagConstraints(0, 0, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.BOTH, - new Insets(0, 0, 0, 0), 0, 0)); - mainPanel.add(myView2d, new GridBagConstraints(1, 0, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.BOTH, - new Insets(0, 0, 0, 0), 0, 0)); - - return mainPanel; - } - -//-----------------------------------------------------------------------// - public Component createToolbar() - { - JToolBar tools = (JToolBar) super.createToolbar(); - - Insets margin = new Insets(1, 1, 1, 1); - JButton button; - - button = new HeavyButton(imgImportBrep); - button.setToolTipText(resGui.getString("Help-ImportBrep")); - button.setActionCommand("ImportBrep"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - tools.addSeparator(); - - button = new HeavyButton(imgExportBrep); - button.setToolTipText(resGui.getString("Help-ExportBrep")); - button.setActionCommand("ExportBrep"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgExport2d); - button.setToolTipText(resGui.getString("Help-Export2d")); - button.setActionCommand("Export2d"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgExport3d); - button.setToolTipText(resGui.getString("Help-Export3d")); - button.setActionCommand("Export3d"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - tools.addSeparator(); - - button = new HeavyButton(imgHLR); - button.setToolTipText(resGui.getString("Help-HLR")); - button.setActionCommand("HLR"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - tools.addSeparator(); - - button = new HeavyButton(imgProperties); - button.setToolTipText(resGui.getString("Help-Properties")); - button.setActionCommand("Properties"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - tools.addSeparator(); - - btnWireframe = new HeavyButton(imgWireframe); - btnWireframe.setToolTipText(resGui.getString("Help-Wireframe")); - btnWireframe.setActionCommand("Wireframe"); - btnWireframe.addActionListener(this); - btnWireframe.setMargin(margin); - tools.add(btnWireframe); - - btnShading = new HeavyButton(imgShading); - btnShading.setToolTipText(resGui.getString("Help-Shading")); - btnShading.setActionCommand("Shading"); - btnShading.addActionListener(this); - btnShading.setMargin(margin); - tools.add(btnShading); - - tools.addSeparator(); - - btnColor = new HeavyButton(imgColor); - btnColor.setToolTipText(resGui.getString("Help-Color")); - btnColor.setActionCommand("Color"); - btnColor.addActionListener(this); - btnColor.setMargin(margin); - tools.add(btnColor); - - btnMaterial = new HeavyButton(imgMaterial); - btnMaterial.setToolTipText(resGui.getString("Help-Material")); - btnMaterial.setActionCommand("Material"); - btnMaterial.addActionListener(this); - btnMaterial.setMargin(margin); - tools.add(btnMaterial); - - btnTransparency = new HeavyButton(imgTransparency); - btnTransparency.setToolTipText(resGui.getString("Help-Transparency")); - btnTransparency.setActionCommand("Transparency"); - btnTransparency.addActionListener(this); - btnTransparency.setMargin(margin); - tools.add(btnTransparency); - - tools.addSeparator(); - - btnErase = new HeavyButton(imgErase); - btnErase.setToolTipText(resGui.getString("Help-Erase")); - btnErase.setActionCommand("Erase"); - btnErase.addActionListener(this); - btnErase.setMargin(margin); - tools.add(btnErase); - - return tools; - } - -//-----------------------------------------------------------------------// - public PopupMenu createObjectPopup() - { - PopupMenu popup = new PopupMenu("Object(s)"); - - MenuItem menuItem = new MenuItem("Wireframe"); - menuItem.setActionCommand("Wireframe"); - menuItem.addActionListener(this); - popup.add(menuItem); - - menuItem = new MenuItem("Shading"); - menuItem.setActionCommand("Shading"); - menuItem.addActionListener(this); - popup.add(menuItem); - - menuItem = new MenuItem("Color..."); - menuItem.setActionCommand("Color"); - menuItem.addActionListener(this); - popup.add(menuItem); - - Menu menu = new Menu("Material"); - - menuItem = new MenuItem("Brass"); - menuItem.setActionCommand("MaterialBrass"); - menuItem.addActionListener(this); - menu.add(menuItem); - - menuItem = new MenuItem("Bronze"); - menuItem.setActionCommand("MaterialBronze"); - menuItem.addActionListener(this); - menu.add(menuItem); - - menuItem = new MenuItem("Copper"); - menuItem.setActionCommand("MaterialCopper"); - menuItem.addActionListener(this); - menu.add(menuItem); - - menuItem = new MenuItem("Gold"); - menuItem.setActionCommand("MaterialGold"); - menuItem.addActionListener(this); - menu.add(menuItem); - - menuItem = new MenuItem("Pewter"); - menuItem.setActionCommand("MaterialPewter"); - menuItem.addActionListener(this); - menu.add(menuItem); - - menuItem = new MenuItem("Plaster"); - menuItem.setActionCommand("MaterialPlaster"); - menuItem.addActionListener(this); - menu.add(menuItem); - - menuItem = new MenuItem("Plastic"); - menuItem.setActionCommand("MaterialPlastic"); - menuItem.addActionListener(this); - menu.add(menuItem); - - menuItem = new MenuItem("Silver"); - menuItem.setActionCommand("MaterialSilver"); - menuItem.addActionListener(this); - menu.add(menuItem); - - popup.add(menu); - - menuItem = new MenuItem("Transparency..."); - menuItem.setActionCommand("Transparency"); - menuItem.addActionListener(this); - popup.add(menuItem); - - menuItem = new MenuItem("Erase"); - menuItem.setActionCommand("Erase"); - menuItem.addActionListener(this); - popup.add(menuItem); - - return popup; - } - - -//=======================================================================// -// Actions // -//=======================================================================// - private void updateButtons() - { - if (myAISContext != null) - { - myAISContext.InitCurrent(); - if (myAISContext.MoreCurrent()) - { - btnWireframe.setEnabled(true); - btnShading.setEnabled(true); - btnColor.setEnabled(true); - btnMaterial.setEnabled(true); - btnTransparency.setEnabled(true); - btnErase.setEnabled(true); - } - else - { - btnWireframe.setEnabled(false); - btnShading.setEnabled(false); - btnColor.setEnabled(false); - btnMaterial.setEnabled(false); - btnTransparency.setEnabled(false); - btnErase.setEnabled(false); - } - } - } - - public void onImportBrep() - { - // Select file to open - JFileChooser aDlg = new JFileChooser(); - aDlg.setFileSelectionMode(JFileChooser.FILES_ONLY); - - // Setting file filters - String[] fltExt = {"brep", "rle"}; - ExtensionFileFilter flt = new ExtensionFileFilter(fltExt, "BREP files"); - aDlg.setFileFilter(flt); - - // Setting dialog properties - aDlg.setCurrentDirectory(curPathOcc); - aDlg.setDialogTitle("Import Brep"); - aDlg.setApproveButtonText("Import"); - aDlg.setApproveButtonMnemonic('i'); - aDlg.setApproveButtonToolTipText("Import BRep from the selected file"); - - // Show the dialog - int returnVal = aDlg.showDialog(this, "Import"); - - if (returnVal == JFileChooser.APPROVE_OPTION) - { - String name = aDlg.getSelectedFile().getAbsolutePath(); - curPathOcc = aDlg.getCurrentDirectory(); - - // Checking extention - FileFilter curFlt = aDlg.getFileFilter(); - if (curFlt instanceof ExtensionFileFilter) - { - ExtensionFileFilter extFlt = (ExtensionFileFilter) curFlt; - String ext = extFlt.getExtension(name); - if (ext == null) - { - String[] extentions = extFlt.getExtensions(); - if (extentions != null) - { - if (name.endsWith(".")) - name = name + extentions[0]; - else - name = name + "." + extentions[0]; - } - } - } - - // Load selected file - SamplesStarter.getFrame().setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); - if (!SampleHLRPackage.ReadBRep(new Standard_CString(name), myAISContext)) - SamplesStarter.put_info("Error loading file " + name); - SamplesStarter.getFrame().setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); - } - } - - public void onExportBrep() - { - // Get file name - JFileChooser aDlg = new JFileChooser(); - aDlg.setFileSelectionMode(JFileChooser.FILES_ONLY); - - // Setting file filters - String[] fltExt = {"brep", "rle"}; - ExtensionFileFilter fltBrep = new ExtensionFileFilter(fltExt, "BREP files"); - aDlg.setFileFilter(fltBrep); - - // Setting dialog properties - aDlg.setCurrentDirectory(curPathOcc); - aDlg.setDialogTitle("Export BRep"); - aDlg.setApproveButtonText("Export"); - aDlg.setApproveButtonMnemonic('e'); - aDlg.setApproveButtonToolTipText("Export BRep into selected file"); - - // Show the dialog - int returnVal = aDlg.showDialog(this, "Export"); - - if (returnVal == JFileChooser.APPROVE_OPTION) - { - String name = aDlg.getSelectedFile().getAbsolutePath(); - curPathOcc = aDlg.getCurrentDirectory(); - - // Checking extention - FileFilter curFlt = aDlg.getFileFilter(); - if (curFlt instanceof ExtensionFileFilter) - { - ExtensionFileFilter extFlt = (ExtensionFileFilter) curFlt; - String ext = extFlt.getExtension(name); - if (ext == null) - { - String[] extentions = extFlt.getExtensions(); - if (extentions != null) - { - if (name.endsWith(".")) - name = name + extentions[0]; - else - name = name + "." + extentions[0]; - } - } - } - - SamplesStarter.getFrame().setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); - SampleHLRPackage.SaveBRep(new Standard_CString(name), myAISContext); - SamplesStarter.getFrame().setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); - } - } - - public void onExportImage(boolean is2d) - { - // Get file name - JFileChooser aDlg = new JFileChooser(); - aDlg.setFileSelectionMode(JFileChooser.FILES_ONLY); - - // Setting file filters - ExtensionFileFilter fltBmp = new ExtensionFileFilter("bmp", "BMP files"); - aDlg.addChoosableFileFilter(fltBmp); - ExtensionFileFilter fltGif = new ExtensionFileFilter("gif", "GIF files"); - aDlg.addChoosableFileFilter(fltGif); - ExtensionFileFilter fltXwd = new ExtensionFileFilter("xwd", "XWD files"); - aDlg.addChoosableFileFilter(fltXwd); - - aDlg.setFileFilter(fltBmp); - - // Setting dialog properties - aDlg.setCurrentDirectory(curPathImage); - aDlg.setDialogTitle("Export Image"); - aDlg.setApproveButtonText("Export"); - aDlg.setApproveButtonMnemonic('e'); - aDlg.setApproveButtonToolTipText("Export image into selected file"); - - // Show the dialog - int returnVal = aDlg.showDialog(this, "Export"); - - if (returnVal == JFileChooser.APPROVE_OPTION) - { - String name = aDlg.getSelectedFile().getAbsolutePath(); - curPathImage = aDlg.getCurrentDirectory(); - - // Checking extention - FileFilter curFlt = aDlg.getFileFilter(); - if (curFlt instanceof ExtensionFileFilter) - { - ExtensionFileFilter extFlt = (ExtensionFileFilter) curFlt; - String ext = extFlt.getExtension(name); - if (ext == null) - { - String[] extentions = extFlt.getExtensions(); - if (extentions != null) - { - if (name.endsWith(".")) - name = name + extentions[0]; - else - name = name + "." + extentions[0]; - } - } - } - - String format = name.substring(name.lastIndexOf(".")+1); - SamplesStarter.getFrame().setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); - if (is2d) - { - V2d_View view2d = ((CASCADEView2d) myView2d.getViewPort()).getView(); - SampleHLRPackage.SaveImage(new Standard_CString(name), - new Standard_CString(format), view2d); - } - else - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - SampleHLRPackage.SaveImage(new Standard_CString(name), - new Standard_CString(format), view3d); - } - SamplesStarter.getFrame().setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); - } - } - - public void onHLR() - { - if (myHLRDlg == null) - { - myHLRDlg = new HLRDlg(SamplesStarter.getFrame()); - Position.centerWindow(myHLRDlg); - } - - myHLRDlg.show(); - } - - public void onProperties() - { - if (myPropDlg == null) - { - myPropDlg = new PropertiesDlg(SamplesStarter.getFrame(), myViewer2d); - Position.centerWindow(myPropDlg); - } - - myPropDlg.show(); - } - - public void onWireframe() - { - if (myAISContext != null) - { - for (myAISContext.InitCurrent(); myAISContext.MoreCurrent(); - myAISContext.NextCurrent()) - myAISContext.SetDisplayMode(myAISContext.Current(), 0, true); - } - } - - public void onShading() - { - if (myAISContext != null) - { - for (myAISContext.InitCurrent(); myAISContext.MoreCurrent(); - myAISContext.NextCurrent()) - myAISContext.SetDisplayMode(myAISContext.Current(), 1, true); - } - } - - public void onColor() - { - if (myAISContext != null) - { - myAISContext.InitCurrent(); - if (myAISContext.MoreCurrent()) - { - Color theColor; - if (myAISContext.Current().HasColor()) - { - Quantity_Color aColor = - new Quantity_Color(myAISContext.Color(myAISContext.Current())); - int red = (int) (aColor.Red()*255); - int green = (int) (aColor.Green()*255); - int blue = (int) (aColor.Blue()*255); - theColor = new Color(red, green, blue); - } - else - theColor = Color.white; - - Color theNewColor = JColorChooser.showDialog(SamplesStarter.getFrame(), - "Choose the color", theColor); - - if (theNewColor != null) - { - Quantity_Color aNewColor = new Quantity_Color(theNewColor.getRed()/255., - theNewColor.getGreen()/255., - theNewColor.getBlue()/255., - Quantity_TypeOfColor.Quantity_TOC_RGB); - for (myAISContext.InitCurrent(); myAISContext.MoreCurrent(); - myAISContext.NextCurrent()) - myAISContext.SetColor(myAISContext.Current(), aNewColor, true); - } - } - } - } - - public void onMaterial() - { - MaterialDlg theDlg = new MaterialDlg(SamplesStarter.getFrame(), myAISContext); - Position.centerWindow(theDlg); - theDlg.show(); - } - - public void setMaterial(int material) - { - if (myAISContext != null) - { - for (myAISContext.InitCurrent(); myAISContext.MoreCurrent(); - myAISContext.NextCurrent()) - myAISContext.SetMaterial(myAISContext.Current(), (short)material, true); - } - } - - public void onTransparency() - { - if (myAISContext != null) - { - myAISContext.InitCurrent(); - if (myAISContext.MoreCurrent()) - { - double aValue = myAISContext.Current().Transparency(); - - TransparencyDlg aDlg = new TransparencyDlg(SamplesStarter.getFrame(), aValue); - Position.centerWindow(aDlg); - aDlg.show(); - - if (aDlg.isOK()) - { - for (myAISContext.InitCurrent(); myAISContext.MoreCurrent(); - myAISContext.NextCurrent()) - myAISContext.SetTransparency(myAISContext.Current(), aDlg.getValue(), true); - } - } - } - } - - public void onErase() - { - if (myAISContext != null) - { - for (myAISContext.InitCurrent(); myAISContext.MoreCurrent(); - myAISContext.NextCurrent()) - myAISContext.Erase(myAISContext.Current(), true, false); - } - } - - -//=======================================================================// -// ActionListener interface -//=======================================================================// - public void actionPerformed(ActionEvent e) - { - String command = e.getActionCommand(); - - if (command.equals("HLR")) onHLR(); - else if (command.equals("ImportBrep")) onImportBrep(); - else if (command.equals("ExportBrep")) onExportBrep(); - else if (command.equals("Export2d")) onExportImage(true); - else if (command.equals("Export3d")) onExportImage(false); - else if (command.equals("Properties")) onProperties(); - - // Object(s) properties - else if (command.equals("Wireframe")) onWireframe(); - else if (command.equals("Shading")) onShading(); - else if (command.equals("Color")) onColor(); - else if (command.equals("Material")) onMaterial(); - else if (command.equals("Transparency")) onTransparency(); - else if (command.equals("Erase")) onErase(); - - // Setting material (from popup menu) - else if (command.equals("MaterialBrass")) - setMaterial(Graphic3d_NameOfMaterial.Graphic3d_NOM_BRASS); - else if (command.equals("MaterialBronze")) - setMaterial(Graphic3d_NameOfMaterial.Graphic3d_NOM_BRONZE); - else if (command.equals("MaterialCopper")) - setMaterial(Graphic3d_NameOfMaterial.Graphic3d_NOM_COPPER); - else if (command.equals("MaterialGold")) - setMaterial(Graphic3d_NameOfMaterial.Graphic3d_NOM_GOLD); - else if (command.equals("MaterialPewter")) - setMaterial(Graphic3d_NameOfMaterial.Graphic3d_NOM_PEWTER); - else if (command.equals("MaterialPlaster")) - setMaterial(Graphic3d_NameOfMaterial.Graphic3d_NOM_PLASTER); - else if (command.equals("MaterialPlastic")) - setMaterial(Graphic3d_NameOfMaterial.Graphic3d_NOM_PLASTIC); - else if (command.equals("MaterialSilver")) - setMaterial(Graphic3d_NameOfMaterial.Graphic3d_NOM_SILVER); - } - -//=======================================================================// -// MouseListener interface -//=======================================================================// - public void mouseClicked(MouseEvent e) - { - } - - public void mousePressed(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e)) - { - startX = e.getX(); - startY = e.getY(); - Object src = e.getSource(); - - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (view3d != null) - myAISContext.MoveTo(startX, startY, view3d); - } - if (src == myView2d) - { - V2d_View view2d = ((CASCADEView2d) myView2d.getViewPort()).getView(); - if (view2d != null) - myInteractiveContext.Move(startX, startY, view2d); - } - } - else if (SwingUtilities.isRightMouseButton(e)) - { - if (e.getSource() == myView3d) - { - if (myAISContext != null) - { - myAISContext.InitCurrent(); - if (myAISContext.MoreCurrent()) - { - myView3d.add(myPopup); - myPopup.show(myView3d, e.getX(), e.getY() + 30); - } - else - { - PopupMenu defPopup = myView3d.getDefaultPopup(); - myView3d.add(defPopup); - defPopup.show(myView3d, e.getX(), e.getY() + 30); - } - } - else - { - PopupMenu defPopup = myView3d.getDefaultPopup(); - myView3d.add(defPopup); - defPopup.show(myView3d, e.getX(), e.getY() + 30); - } - } - else if (e.getSource() == myView2d) - { - PopupMenu defPopup = myView2d.getDefaultPopup(); - myView2d.add(defPopup); - defPopup.show(myView2d, e.getX(), e.getY() + 30); - } - } - } - - public void mouseReleased(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e)) - { - Object src = e.getSource(); - - if (Dragged) - { - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (view3d != null) - { - if (e.isShiftDown()) - myAISContext.ShiftSelect(startX, startY, e.getX(), e.getY(), view3d, true); - else - myAISContext.Select(startX, startY, e.getX(), e.getY(), view3d, true); - updateButtons(); - } - } - if (src == myView2d) - { - V2d_View view2d = ((CASCADEView2d) myView2d.getViewPort()).getView(); - if (view2d != null) - { - myInteractiveContext.Move(startX, startY, e.getX(), e.getY(), view2d); - myInteractiveContext.Pick(e.isShiftDown()); - } - } - } - else - { - if (src == myView3d) - { - if (e.isShiftDown()) - myAISContext.ShiftSelect(true); - else - myAISContext.Select(true); - updateButtons(); - } - if (src == myView2d) - { - myInteractiveContext.Pick(e.isShiftDown()); - } - } - Dragged = false; - } - } - - public void mouseEntered(MouseEvent e) - { - } - - public void mouseExited(MouseEvent e) - { - } - -//=======================================================================// -// MouseMotionListener interface -//=======================================================================// - public void mouseDragged(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e)) - { - Object src = e.getSource(); - Dragged = true; - } - } - - public void mouseMoved(MouseEvent e) - { - Object src = e.getSource(); - - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (myAISContext != null && view3d != null) - myAISContext.MoveTo(e.getX(), e.getY(), view3d); - } - if (src == myView2d) - { - V2d_View view2d = ((CASCADEView2d) myView2d.getViewPort()).getView(); - if (myInteractiveContext != null && view2d != null) - myInteractiveContext.Move(e.getX(), e.getY(), view2d); - } - } - -} - - - diff --git a/samples/java/java/SampleHLR_en.properties b/samples/java/java/SampleHLR_en.properties deleted file mode 100755 index 6223eea23f..0000000000 --- a/samples/java/java/SampleHLR_en.properties +++ /dev/null @@ -1,45 +0,0 @@ -#Wed Oct 12 18:09:59 GMT 1999 - -Icon-ImportBrep=icon/import-brep.gif -Help-ImportBrep=Import BRep... - -Icon-ExportBrep=icon/export-brep.gif -Help-ExportBrep=Export BRep... - -Icon-Export2d=icon/export-image2d.gif -Help-Export2d=Export Image 2D... - -Icon-Export3d=icon/export-image3d.gif -Help-Export3d=Export Image 3D... - -Icon-HLR=icon/hlr-dialog.gif -Help-HLR=HLR dialog - -Icon-Properties=icon/properties.gif -Help-Properties=CASCADE properties... - -Icon-Wireframe=icon/wireframe2.gif -Help-Wireframe=Wireframe - -Icon-Shading=icon/shading2.gif -Help-Shading=Shading - -Icon-Color=icon/color.gif -Help-Color=Color... - -Icon-Material=icon/material.gif -Help-Material=Material... - -Icon-Transparency=icon/transparency.gif -Help-Transparency=Transparency... - -Icon-Erase=icon/delete.gif -Help-Erase=Erase - -Icon-Display=icon/displayall.gif -Help-Display=Display - -Icon-Delete=icon/delete.gif -Help-Delete=Delete - - diff --git a/samples/java/java/SampleImportExportJni/IFSelect_ReturnStatus.java b/samples/java/java/SampleImportExportJni/IFSelect_ReturnStatus.java deleted file mode 100755 index f7371e09c8..0000000000 --- a/samples/java/java/SampleImportExportJni/IFSelect_ReturnStatus.java +++ /dev/null @@ -1,30 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleImportExportJni; - - -public class IFSelect_ReturnStatus extends jcas.Standard_Enumeration { - -public final static short IFSelect_RetVoid = 0; -public final static short IFSelect_RetDone = 1; -public final static short IFSelect_RetError = 2; -public final static short IFSelect_RetFail = 3; -public final static short IFSelect_RetStop = 4; - - - -} diff --git a/samples/java/java/SampleImportExportJni/MgtBRep_TriangleMode.java b/samples/java/java/SampleImportExportJni/MgtBRep_TriangleMode.java deleted file mode 100755 index 1862cb02c2..0000000000 --- a/samples/java/java/SampleImportExportJni/MgtBRep_TriangleMode.java +++ /dev/null @@ -1,27 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleImportExportJni; - - -public class MgtBRep_TriangleMode extends jcas.Standard_Enumeration { - -public final static short MgtBRep_WithTriangle = 0; -public final static short MgtBRep_WithoutTriangle = 1; - - - -} diff --git a/samples/java/java/SampleImportExportJni/STEPControl_StepModelType.java b/samples/java/java/SampleImportExportJni/STEPControl_StepModelType.java deleted file mode 100755 index 7d16d928ed..0000000000 --- a/samples/java/java/SampleImportExportJni/STEPControl_StepModelType.java +++ /dev/null @@ -1,33 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleImportExportJni; - - -public class STEPControl_StepModelType extends jcas.Standard_Enumeration { - -public final static short STEPControl_AsIs = 0; -public final static short STEPControl_ManifoldSolidBrep = 1; -public final static short STEPControl_BrepWithVoids = 2; -public final static short STEPControl_FacetedBrep = 3; -public final static short STEPControl_FacetedBrepAndBrepWithVoids = 4; -public final static short STEPControl_ShellBasedSurfaceModel = 5; -public final static short STEPControl_GeometricCurveSet = 6; -public final static short STEPControl_Hybrid = 7; - - - -} diff --git a/samples/java/java/SampleImportExportJni/SampleImportExportPackage.java b/samples/java/java/SampleImportExportJni/SampleImportExportPackage.java deleted file mode 100755 index 423ad5b7a3..0000000000 --- a/samples/java/java/SampleImportExportJni/SampleImportExportPackage.java +++ /dev/null @@ -1,53 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleImportExportJni; - -import CASCADESamplesJni.V3d_Viewer; -import jcas.Standard_ExtString; -import CASCADESamplesJni.V3d_View; -import jcas.Standard_Integer; -import jcas.Standard_Boolean; -import jcas.Standard_CString; -import CASCADESamplesJni.AIS_InteractiveContext; -import CASCADESamplesJni.TCollection_AsciiString; -import SampleImportExportJni.MgtBRep_TriangleMode; -import jcas.Standard_Short; -import SampleImportExportJni.IFSelect_ReturnStatus; -import SampleImportExportJni.STEPControl_StepModelType; - - -public class SampleImportExportPackage { - - static { - System.loadLibrary("SampleImportExportJni"); - } - -native public static V3d_Viewer CreateViewer3d(String aName); -native public static void SetWindow3d(V3d_View aView,int hiwin,int lowin); -native public static boolean ReadBREP(Standard_CString aFileName,AIS_InteractiveContext aContext); -native public static boolean SaveBREP(Standard_CString aFileName,AIS_InteractiveContext aContext); -native public static boolean ReadCSFDB(Standard_CString aFileName,AIS_InteractiveContext aContext,TCollection_AsciiString ReturnMessage); -native public static boolean SaveCSFDB(Standard_CString aFileName,AIS_InteractiveContext aContext,TCollection_AsciiString ReturnMessage,short aTriangleMode); -native public static short ReadSTEP(Standard_CString aFileName,AIS_InteractiveContext aContext); -native public static short SaveSTEP(Standard_CString aFileName,AIS_InteractiveContext aContext,short aValue); -native public static int ReadIGES(Standard_CString aFileName,AIS_InteractiveContext aContext); -native public static boolean SaveIGES(Standard_CString aFileName,AIS_InteractiveContext aContext); -native public static boolean SaveImage(Standard_CString aFileName,Standard_CString aFormat,V3d_View aView); - - - -} diff --git a/samples/java/java/SampleImportExportPanel.java b/samples/java/java/SampleImportExportPanel.java deleted file mode 100755 index eb3caeaae3..0000000000 --- a/samples/java/java/SampleImportExportPanel.java +++ /dev/null @@ -1,1216 +0,0 @@ - -//Title: OpenCASCADE Samples -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface Group (Nizhny Novgorod) -//Company: Matra Datavision -//Description: - - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import java.util.*; -import java.io.File; -import javax.swing.filechooser.FileFilter; -import jcas.Standard_CString; -import jcas.Standard_Real; -import CASCADESamplesJni.*; -import SampleImportExportJni.*; -import util.*; - -public class SampleImportExportPanel extends SamplePanel - implements ActionListener, - MouseListener, - MouseMotionListener -{ - //-----------------------------------------------------------// - // Resources - //-----------------------------------------------------------// - static protected ResourceBundle resGui = - ResourceBundle.getBundle("SampleImportExport"); - - static protected ImageIcon imgImportBrep = new ImageIcon(resGui.getString("Icon-ImportBREP")); - static protected ImageIcon imgExportBrep = new ImageIcon(resGui.getString("Icon-ExportBREP")); - static protected ImageIcon imgImportCSFDB = new ImageIcon(resGui.getString("Icon-ImportCSFDB")); - static protected ImageIcon imgExportCSFDB = new ImageIcon(resGui.getString("Icon-ExportCSFDB")); - static protected ImageIcon imgImportSTEP = new ImageIcon(resGui.getString("Icon-ImportSTEP")); - static protected ImageIcon imgExportSTEP = new ImageIcon(resGui.getString("Icon-ExportSTEP")); - static protected ImageIcon imgImportIGES = new ImageIcon(resGui.getString("Icon-ImportIGES")); - static protected ImageIcon imgExportIGES = new ImageIcon(resGui.getString("Icon-ExportIGES")); - static protected ImageIcon imgExportImage = new ImageIcon(resGui.getString("Icon-ExportImage")); - static protected ImageIcon imgWireframe = new ImageIcon(resGui.getString("Icon-Wireframe")); - static protected ImageIcon imgShading = new ImageIcon(resGui.getString("Icon-Shading")); - static protected ImageIcon imgColor = new ImageIcon(resGui.getString("Icon-Color")); - static protected ImageIcon imgMaterial = new ImageIcon(resGui.getString("Icon-Material")); - static protected ImageIcon imgTransparency = new ImageIcon(resGui.getString("Icon-Transparency")); - static protected ImageIcon imgErase = new ImageIcon(resGui.getString("Icon-Erase")); - - - //-----------------------------------------------------------// - // Components - //-----------------------------------------------------------// - private static ViewPanel myView3d; - - private static V3d_Viewer myViewer3d = null; - private static AIS_InteractiveContext myAISContext = null; - - private int startX = 0, startY = 0; - private boolean Dragged = false; - - /** Directory path selected by user for the last time. */ - private File curPath = new File(System.getProperty("user.dir") + "/../../../../data"); - private File curPathOcc = new File(curPath + "/occ"); - private File curPathCsfdb = new File(curPath + "/csfdb"); - private File curPathIges = new File(curPath + "/iges"); - private File curPathStep = new File(curPath + "/step"); - private File curPathImage = new File(curPath + "/images"); - - /** Object(s) popup menu */ - private PopupMenu myPopup; - - /** Toolbar buttons */ - private JButton btnWireframe; - private JButton btnShading; - private JButton btnColor; - private JButton btnMaterial; - private JButton btnTransparency; - private JButton btnErase; - - - //-----------------------------------------------------------// - // External access - //-----------------------------------------------------------// - public static V3d_Viewer getViewer3d() - { - return myViewer3d; - } - - public static AIS_InteractiveContext getAISContext() - { - return myAISContext; - } - - -//=======================================================================// -// Constructor // -//=======================================================================// - public SampleImportExportPanel() - { - super(false); - - // 3D Initialization - //------------------------------------------ - myViewer3d.SetDefaultLights(); - myViewer3d.SetLightOn(); - - if (myAISContext == null) - myAISContext = new AIS_InteractiveContext(myViewer3d); - - myPopup = createObjectPopup(); - updateButtons(); - } - -//-----------------------------------------------------------------------// - public JPanel createViewPanel() - { - JPanel mainPanel = new JPanel(); - mainPanel.setLayout(new GridBagLayout()); - mainPanel.setBorder(BorderFactory.createEmptyBorder(0, 5, 5, 0)); - - - // Viewer 3D - //------------------------------------------ - myViewer3d = SampleImportExportPackage.CreateViewer3d("ImportExport"); - - myView3d = new ViewPanel() { - public ViewCanvas createViewPort() - { - return new CASCADEView3d(SampleImportExportPanel.getViewer3d()) { - public void setWindow3d(V3d_View view, int hiwin, int lowin) { - SampleImportExportPackage.SetWindow3d(view, hiwin, lowin); - } - }; - } - }; - - myView3d.addMouseListener(this); - myView3d.addMouseMotionListener(this); - - - // Layout - //------------------------------------------ - mainPanel.add(myView3d, new GridBagConstraints(0, 0, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.BOTH, - new Insets(0, 0, 0, 0), 0, 0)); - - return mainPanel; - } - -//-----------------------------------------------------------------------// - public Component createToolbar() - { - JToolBar tools = (JToolBar) super.createToolbar(); - - Insets margin = new Insets(1, 1, 1, 1); - JButton button; - - button = new HeavyButton(imgImportBrep); - button.setToolTipText(resGui.getString("Help-ImportBREP")); - button.setActionCommand("ImportBREP"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgImportCSFDB); - button.setToolTipText(resGui.getString("Help-ImportCSFDB")); - button.setActionCommand("ImportCSFDB"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgImportSTEP); - button.setToolTipText(resGui.getString("Help-ImportSTEP")); - button.setActionCommand("ImportSTEP"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgImportIGES); - button.setToolTipText(resGui.getString("Help-ImportIGES")); - button.setActionCommand("ImportIGES"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - tools.addSeparator(); - - button = new HeavyButton(imgExportBrep); - button.setToolTipText(resGui.getString("Help-ExportBREP")); - button.setActionCommand("ExportBREP"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgExportCSFDB); - button.setToolTipText(resGui.getString("Help-ExportCSFDB")); - button.setActionCommand("ExportCSFDB"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgExportSTEP); - button.setToolTipText(resGui.getString("Help-ExportSTEP")); - button.setActionCommand("ExportSTEP"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgExportIGES); - button.setToolTipText(resGui.getString("Help-ExportIGES")); - button.setActionCommand("ExportIGES"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgExportImage); - button.setToolTipText(resGui.getString("Help-ExportImage")); - button.setActionCommand("ExportImage"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - tools.addSeparator(); - - btnWireframe = new HeavyButton(imgWireframe); - btnWireframe.setToolTipText(resGui.getString("Help-Wireframe")); - btnWireframe.setActionCommand("Wireframe"); - btnWireframe.addActionListener(this); - btnWireframe.setMargin(margin); - tools.add(btnWireframe); - - btnShading = new HeavyButton(imgShading); - btnShading.setToolTipText(resGui.getString("Help-Shading")); - btnShading.setActionCommand("Shading"); - btnShading.addActionListener(this); - btnShading.setMargin(margin); - tools.add(btnShading); - - tools.addSeparator(); - - btnColor = new HeavyButton(imgColor); - btnColor.setToolTipText(resGui.getString("Help-Color")); - btnColor.setActionCommand("Color"); - btnColor.addActionListener(this); - btnColor.setMargin(margin); - tools.add(btnColor); - - btnMaterial = new HeavyButton(imgMaterial); - btnMaterial.setToolTipText(resGui.getString("Help-Material")); - btnMaterial.setActionCommand("Material"); - btnMaterial.addActionListener(this); - btnMaterial.setMargin(margin); - tools.add(btnMaterial); - - btnTransparency = new HeavyButton(imgTransparency); - btnTransparency.setToolTipText(resGui.getString("Help-Transparency")); - btnTransparency.setActionCommand("Transparency"); - btnTransparency.addActionListener(this); - btnTransparency.setMargin(margin); - tools.add(btnTransparency); - - tools.addSeparator(); - - btnErase = new HeavyButton(imgErase); - btnErase.setToolTipText(resGui.getString("Help-Erase")); - btnErase.setActionCommand("Erase"); - btnErase.addActionListener(this); - btnErase.setMargin(margin); - tools.add(btnErase); - - return tools; - } - -//-----------------------------------------------------------------------// - public PopupMenu createObjectPopup() - { - PopupMenu popup = new PopupMenu("Object(s)"); - - MenuItem menuItem = new MenuItem("Wireframe"); - menuItem.setActionCommand("Wireframe"); - menuItem.addActionListener(this); - popup.add(menuItem); - - menuItem = new MenuItem("Shading"); - menuItem.setActionCommand("Shading"); - menuItem.addActionListener(this); - popup.add(menuItem); - - menuItem = new MenuItem("Color..."); - menuItem.setActionCommand("Color"); - menuItem.addActionListener(this); - popup.add(menuItem); - - Menu menu = new Menu("Material"); - - menuItem = new MenuItem("Brass"); - menuItem.setActionCommand("MaterialBrass"); - menuItem.addActionListener(this); - menu.add(menuItem); - - menuItem = new MenuItem("Bronze"); - menuItem.setActionCommand("MaterialBronze"); - menuItem.addActionListener(this); - menu.add(menuItem); - - menuItem = new MenuItem("Copper"); - menuItem.setActionCommand("MaterialCopper"); - menuItem.addActionListener(this); - menu.add(menuItem); - - menuItem = new MenuItem("Gold"); - menuItem.setActionCommand("MaterialGold"); - menuItem.addActionListener(this); - menu.add(menuItem); - - menuItem = new MenuItem("Pewter"); - menuItem.setActionCommand("MaterialPewter"); - menuItem.addActionListener(this); - menu.add(menuItem); - - menuItem = new MenuItem("Plaster"); - menuItem.setActionCommand("MaterialPlaster"); - menuItem.addActionListener(this); - menu.add(menuItem); - - menuItem = new MenuItem("Plastic"); - menuItem.setActionCommand("MaterialPlastic"); - menuItem.addActionListener(this); - menu.add(menuItem); - - menuItem = new MenuItem("Silver"); - menuItem.setActionCommand("MaterialSilver"); - menuItem.addActionListener(this); - menu.add(menuItem); - - popup.add(menu); - - menuItem = new MenuItem("Transparency..."); - menuItem.setActionCommand("Transparency"); - menuItem.addActionListener(this); - popup.add(menuItem); - - menuItem = new MenuItem("Erase"); - menuItem.setActionCommand("Erase"); - menuItem.addActionListener(this); - popup.add(menuItem); - - return popup; - } - - -//=======================================================================// -// Actions // -//=======================================================================// - private void updateButtons() - { - if (myAISContext != null) - { - myAISContext.InitCurrent(); - if (myAISContext.MoreCurrent()) - { - btnWireframe.setEnabled(true); - btnShading.setEnabled(true); - btnColor.setEnabled(true); - btnMaterial.setEnabled(true); - btnTransparency.setEnabled(true); - btnErase.setEnabled(true); - } - else - { - btnWireframe.setEnabled(false); - btnShading.setEnabled(false); - btnColor.setEnabled(false); - btnMaterial.setEnabled(false); - btnTransparency.setEnabled(false); - btnErase.setEnabled(false); - } - } - } - -//=======================================================================// - public void onImportBREP() - { - // Select file to open - JFileChooser aDlg = new JFileChooser(); - aDlg.setFileSelectionMode(JFileChooser.FILES_ONLY); - - // Setting file filters - String[] fltExt = {"brep", "rle"}; - ExtensionFileFilter flt = new ExtensionFileFilter(fltExt, "BREP files"); - aDlg.setFileFilter(flt); - - System.out.println("Current path = " + curPath); - - System.out.println("DATADIR path = " + curPathOcc); - - // Setting dialog properties - aDlg.setCurrentDirectory(curPathOcc); - aDlg.setDialogTitle("Import BREP"); - aDlg.setApproveButtonText("Import"); - aDlg.setApproveButtonMnemonic('i'); - aDlg.setApproveButtonToolTipText("Import BRep from the selected file"); - - // Show the dialog - int returnVal = aDlg.showDialog(this, "Import"); - - if (returnVal == JFileChooser.APPROVE_OPTION) - { - String name = aDlg.getSelectedFile().getAbsolutePath(); - curPathOcc = aDlg.getCurrentDirectory(); - - // Checking extention - FileFilter curFlt = aDlg.getFileFilter(); - if (curFlt instanceof ExtensionFileFilter) - { - ExtensionFileFilter extFlt = (ExtensionFileFilter) curFlt; - String ext = extFlt.getExtension(name); - if (ext == null) - { - String[] extentions = extFlt.getExtensions(); - if (extentions != null) - { - if (name.endsWith(".")) - name = name + extentions[0]; - else - name = name + "." + extentions[0]; - } - } - } - - // Load selected file - SamplesStarter.getFrame().setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); - boolean result = SampleImportExportPackage.ReadBREP(new Standard_CString(name), - myAISContext); - SamplesStarter.getFrame().setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); - if (!result) - JOptionPane.showMessageDialog(this, "Error loading file " + name, - "CASCADE", JOptionPane.ERROR_MESSAGE); - } - } - -//=======================================================================// - public void onExportBREP() - { - // Get file name - JFileChooser aDlg = new JFileChooser(); - aDlg.setFileSelectionMode(JFileChooser.FILES_ONLY); - - // Setting file filters - String[] fltExt = {"brep", "rle"}; - ExtensionFileFilter fltBrep = new ExtensionFileFilter(fltExt, "BREP files"); - aDlg.setFileFilter(fltBrep); - - // Setting dialog properties - aDlg.setCurrentDirectory(curPathOcc); - aDlg.setDialogTitle("Export BREP"); - aDlg.setApproveButtonText("Export"); - aDlg.setApproveButtonMnemonic('e'); - aDlg.setApproveButtonToolTipText("Export shape into selected file"); - - // Show the dialog - int returnVal = aDlg.showDialog(this, "Export"); - - if (returnVal == JFileChooser.APPROVE_OPTION) - { - String name = aDlg.getSelectedFile().getAbsolutePath(); - curPathOcc = aDlg.getCurrentDirectory(); - - // Checking extention - FileFilter curFlt = aDlg.getFileFilter(); - if (curFlt instanceof ExtensionFileFilter) - { - ExtensionFileFilter extFlt = (ExtensionFileFilter) curFlt; - String ext = extFlt.getExtension(name); - if (ext == null) - { - String[] extentions = extFlt.getExtensions(); - if (extentions != null) - { - if (name.endsWith(".")) - name = name + extentions[0]; - else - name = name + "." + extentions[0]; - } - } - } - - SamplesStarter.getFrame().setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); - boolean result = SampleImportExportPackage.SaveBREP(new Standard_CString(name), - myAISContext); - SamplesStarter.getFrame().setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); - if (!result) - JOptionPane.showMessageDialog(this, "The shape or shapes were not saved", - "CASCADE", JOptionPane.ERROR_MESSAGE); - } - } - -//=======================================================================// - public void onImportCSFDB() - { - // Select file to open - JFileChooser aDlg = new JFileChooser(); - aDlg.setFileSelectionMode(JFileChooser.FILES_ONLY); - - // Setting file filters - String[] fltExt = {"csfdb", "csf"}; - ExtensionFileFilter flt = new ExtensionFileFilter(fltExt, "CSFDB files"); - aDlg.setFileFilter(flt); - - // Setting dialog properties - aDlg.setCurrentDirectory(curPathCsfdb); - aDlg.setDialogTitle("Import CSFDB"); - aDlg.setApproveButtonText("Import"); - aDlg.setApproveButtonMnemonic('i'); - aDlg.setApproveButtonToolTipText("Import CSFDB from the selected file"); - - // Show the dialog - int returnVal = aDlg.showDialog(this, "Import"); - - if (returnVal == JFileChooser.APPROVE_OPTION) - { - String name = aDlg.getSelectedFile().getAbsolutePath(); - curPathCsfdb = aDlg.getCurrentDirectory(); - - // Checking extention - FileFilter curFlt = aDlg.getFileFilter(); - if (curFlt instanceof ExtensionFileFilter) - { - ExtensionFileFilter extFlt = (ExtensionFileFilter) curFlt; - String ext = extFlt.getExtension(name); - if (ext == null) - { - String[] extentions = extFlt.getExtensions(); - if (extentions != null) - { - if (name.endsWith(".")) - name = name + extentions[0]; - else - name = name + "." + extentions[0]; - } - } - } - - // Load selected file - TCollection_AsciiString aMessage = new TCollection_AsciiString(); - SamplesStarter.getFrame().setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); - boolean result = SampleImportExportPackage.ReadCSFDB(new Standard_CString(name), - myAISContext, aMessage); - SamplesStarter.getFrame().setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); - if (result) - JOptionPane.showMessageDialog(this, aMessage.ToCString().GetValue(), - "CASCADE", JOptionPane.INFORMATION_MESSAGE); - else - JOptionPane.showMessageDialog(this, aMessage.ToCString().GetValue(), - "CASCADE", JOptionPane.ERROR_MESSAGE); - } - } - -//=======================================================================// - public void onExportCSFDB() - { - // Get file name - JFileChooser aDlg = new JFileChooser(); - aDlg.setFileSelectionMode(JFileChooser.FILES_ONLY); - - // Setting file filters - String[] fltExt = {"csfdb", "csf"}; - ExtensionFileFilter fltBrep = new ExtensionFileFilter(fltExt, "CSFDB files"); - aDlg.setFileFilter(fltBrep); - - // Setting dialog properties - aDlg.setCurrentDirectory(curPathCsfdb); - aDlg.setDialogTitle("Export CSFDB"); - aDlg.setApproveButtonText("Export"); - aDlg.setApproveButtonMnemonic('e'); - aDlg.setApproveButtonToolTipText("Export shape into selected file"); - - // Show the dialog - int returnVal = aDlg.showDialog(this, "Export"); - - if (returnVal == JFileChooser.APPROVE_OPTION) - { - String name = aDlg.getSelectedFile().getAbsolutePath(); - curPathCsfdb = aDlg.getCurrentDirectory(); - - // Checking extention - FileFilter curFlt = aDlg.getFileFilter(); - if (curFlt instanceof ExtensionFileFilter) - { - ExtensionFileFilter extFlt = (ExtensionFileFilter) curFlt; - String ext = extFlt.getExtension(name); - if (ext == null) - { - String[] extentions = extFlt.getExtensions(); - if (extentions != null) - { - if (name.endsWith(".")) - name = name + extentions[0]; - else - name = name + "." + extentions[0]; - } - } - } - - SamplesStarter.getFrame().setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); - TCollection_AsciiString aMessage = new TCollection_AsciiString(); - boolean result = SampleImportExportPackage.SaveCSFDB(new Standard_CString(name), - myAISContext, aMessage, MgtBRep_TriangleMode.MgtBRep_WithTriangle); - SamplesStarter.getFrame().setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); - if (result) - JOptionPane.showMessageDialog(this, aMessage.ToCString().GetValue(), - "CASCADE", JOptionPane.INFORMATION_MESSAGE); - else - JOptionPane.showMessageDialog(this, aMessage.ToCString().GetValue(), - "CASCADE", JOptionPane.ERROR_MESSAGE); - } - } - -//=======================================================================// - public void onImportSTEP() - { - // Select file to open - JFileChooser aDlg = new JFileChooser(); - aDlg.setFileSelectionMode(JFileChooser.FILES_ONLY); - - // Setting file filters - String[] fltExt = {"step", "stp"}; - ExtensionFileFilter flt = new ExtensionFileFilter(fltExt, "STEP files"); - aDlg.setFileFilter(flt); - - // Setting dialog properties - aDlg.setCurrentDirectory(curPathStep); - aDlg.setDialogTitle("Import STEP"); - aDlg.setApproveButtonText("Import"); - aDlg.setApproveButtonMnemonic('i'); - aDlg.setApproveButtonToolTipText("Import STEP from the selected file"); - - // Show the dialog - int returnVal = aDlg.showDialog(this, "Import"); - - if (returnVal == JFileChooser.APPROVE_OPTION) - { - String name = aDlg.getSelectedFile().getAbsolutePath(); - curPathStep = aDlg.getCurrentDirectory(); - - // Checking extention - FileFilter curFlt = aDlg.getFileFilter(); - if (curFlt instanceof ExtensionFileFilter) - { - ExtensionFileFilter extFlt = (ExtensionFileFilter) curFlt; - String ext = extFlt.getExtension(name); - if (ext == null) - { - String[] extentions = extFlt.getExtensions(); - if (extentions != null) - { - if (name.endsWith(".")) - name = name + extentions[0]; - else - name = name + "." + extentions[0]; - } - } - } - - // Load selected file - SamplesStarter.getFrame().setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); - int result = SampleImportExportPackage.ReadSTEP(new Standard_CString(name), - myAISContext); - SamplesStarter.getFrame().setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); - switch(result) - { - case IFSelect_ReturnStatus.IFSelect_RetError: - JOptionPane.showMessageDialog(this, "Not a valid Step file", - "CASCADE", JOptionPane.ERROR_MESSAGE); - break; - case IFSelect_ReturnStatus.IFSelect_RetFail: - JOptionPane.showMessageDialog(this, "Reading has failed", - "CASCADE", JOptionPane.ERROR_MESSAGE); - break; - case IFSelect_ReturnStatus.IFSelect_RetVoid: - JOptionPane.showMessageDialog(this, "Nothing to transfer", - "CASCADE", JOptionPane.ERROR_MESSAGE); - break; - } - } - } - -//=======================================================================// - public void onExportSTEP() - { - // Get file name - JFileChooser aDlg = new JFileChooser(); - aDlg.setFileSelectionMode(JFileChooser.FILES_ONLY); - - // Setting file filters - String[] fltExt = {"step", "stp"}; - ExtensionFileFilter fltBrep = new ExtensionFileFilter(fltExt, "STEP files"); - aDlg.setFileFilter(fltBrep); - - // Setting dialog properties - aDlg.setCurrentDirectory(curPathStep); - aDlg.setDialogTitle("Export STEP"); - aDlg.setApproveButtonText("Export"); - aDlg.setApproveButtonMnemonic('e'); - aDlg.setApproveButtonToolTipText("Export shape into selected file"); - - // Show the dialog - int returnVal = aDlg.showDialog(this, "Export"); - - if (returnVal == JFileChooser.APPROVE_OPTION) - { - String name = aDlg.getSelectedFile().getAbsolutePath(); - curPathStep = aDlg.getCurrentDirectory(); - - // Checking extention - FileFilter curFlt = aDlg.getFileFilter(); - if (curFlt instanceof ExtensionFileFilter) - { - ExtensionFileFilter extFlt = (ExtensionFileFilter) curFlt; - String ext = extFlt.getExtension(name); - if (ext == null) - { - String[] extentions = extFlt.getExtensions(); - if (extentions != null) - { - if (name.endsWith(".")) - name = name + extentions[0]; - else - name = name + "." + extentions[0]; - } - } - } - - SamplesStarter.getFrame().setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); - int result = SampleImportExportPackage.SaveSTEP(new Standard_CString(name), - myAISContext, STEPControl_StepModelType.STEPControl_AsIs); - SamplesStarter.getFrame().setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); - switch (result) - { - case IFSelect_ReturnStatus.IFSelect_RetError: - JOptionPane.showMessageDialog(this, "Incorrect Data", - "CASCADE", JOptionPane.ERROR_MESSAGE); - break; - case IFSelect_ReturnStatus.IFSelect_RetFail: - JOptionPane.showMessageDialog(this, "Writing has failed", - "CASCADE", JOptionPane.ERROR_MESSAGE); - break; - case IFSelect_ReturnStatus.IFSelect_RetVoid: - JOptionPane.showMessageDialog(this, "Nothing to transfer", - "CASCADE", JOptionPane.ERROR_MESSAGE); - break; - } - } - } - -//=======================================================================// - public void onImportIGES() - { - // Select file to open - JFileChooser aDlg = new JFileChooser(); - aDlg.setFileSelectionMode(JFileChooser.FILES_ONLY); - - // Setting file filters - String[] fltExt = {"iges", "igs"}; - ExtensionFileFilter flt = new ExtensionFileFilter(fltExt, "IGES files"); - aDlg.setFileFilter(flt); - - // Setting dialog properties - aDlg.setCurrentDirectory(curPathIges); - aDlg.setDialogTitle("Import IGES"); - aDlg.setApproveButtonText("Import"); - aDlg.setApproveButtonMnemonic('i'); - aDlg.setApproveButtonToolTipText("Import IGES from the selected file"); - - // Show the dialog - int returnVal = aDlg.showDialog(this, "Import"); - - if (returnVal == JFileChooser.APPROVE_OPTION) - { - String name = aDlg.getSelectedFile().getAbsolutePath(); - curPathIges = aDlg.getCurrentDirectory(); - - // Checking extention - FileFilter curFlt = aDlg.getFileFilter(); - if (curFlt instanceof ExtensionFileFilter) - { - ExtensionFileFilter extFlt = (ExtensionFileFilter) curFlt; - String ext = extFlt.getExtension(name); - if (ext == null) - { - String[] extentions = extFlt.getExtensions(); - if (extentions != null) - { - if (name.endsWith(".")) - name = name + extentions[0]; - else - name = name + "." + extentions[0]; - } - } - } - - // Load selected file - SamplesStarter.getFrame().setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); - int result = SampleImportExportPackage.ReadIGES(new Standard_CString(name), - myAISContext); - SamplesStarter.getFrame().setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); - if (result != IFSelect_ReturnStatus.IFSelect_RetDone) - JOptionPane.showMessageDialog(this, "Error loading file " + name, - "CASCADE", JOptionPane.ERROR_MESSAGE); - } - } - -//=======================================================================// - public void onExportIGES() - { - // Get file name - JFileChooser aDlg = new JFileChooser(); - aDlg.setFileSelectionMode(JFileChooser.FILES_ONLY); - - // Setting file filters - String[] fltExt = {"iges", "igs"}; - ExtensionFileFilter fltBrep = new ExtensionFileFilter(fltExt, "IGES files"); - aDlg.setFileFilter(fltBrep); - - // Setting dialog properties - aDlg.setCurrentDirectory(curPathIges); - aDlg.setDialogTitle("Export IGES"); - aDlg.setApproveButtonText("Export"); - aDlg.setApproveButtonMnemonic('e'); - aDlg.setApproveButtonToolTipText("Export shape into selected file"); - - // Show the dialog - int returnVal = aDlg.showDialog(this, "Export"); - - if (returnVal == JFileChooser.APPROVE_OPTION) - { - String name = aDlg.getSelectedFile().getAbsolutePath(); - curPathIges = aDlg.getCurrentDirectory(); - - // Checking extention - FileFilter curFlt = aDlg.getFileFilter(); - if (curFlt instanceof ExtensionFileFilter) - { - ExtensionFileFilter extFlt = (ExtensionFileFilter) curFlt; - String ext = extFlt.getExtension(name); - if (ext == null) - { - String[] extentions = extFlt.getExtensions(); - if (extentions != null) - { - if (name.endsWith(".")) - name = name + extentions[0]; - else - name = name + "." + extentions[0]; - } - } - } - - SamplesStarter.getFrame().setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); - boolean result = SampleImportExportPackage.SaveIGES(new Standard_CString(name), - myAISContext); - SamplesStarter.getFrame().setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); - if (!result) - JOptionPane.showMessageDialog(this, "The shape or shapes were not saved", - "CASCADE", JOptionPane.ERROR_MESSAGE); - } - } - -//=======================================================================// - public void onExportImage() - { - // Get file name - JFileChooser aDlg = new JFileChooser(); - aDlg.setFileSelectionMode(JFileChooser.FILES_ONLY); - - // Setting file filters - ExtensionFileFilter fltBmp = new ExtensionFileFilter("bmp", "BMP files"); - aDlg.addChoosableFileFilter(fltBmp); - ExtensionFileFilter fltGif = new ExtensionFileFilter("gif", "GIF files"); - aDlg.addChoosableFileFilter(fltGif); - ExtensionFileFilter fltXwd = new ExtensionFileFilter("xwd", "XWD files"); - aDlg.addChoosableFileFilter(fltXwd); - - aDlg.setFileFilter(fltBmp); - - // Setting dialog properties - aDlg.setCurrentDirectory(curPathImage); - aDlg.setDialogTitle("Export Image"); - aDlg.setApproveButtonText("Export"); - aDlg.setApproveButtonMnemonic('e'); - aDlg.setApproveButtonToolTipText("Export image into selected file"); - - // Show the dialog - int returnVal = aDlg.showDialog(this, "Export"); - - if (returnVal == JFileChooser.APPROVE_OPTION) - { - String name = aDlg.getSelectedFile().getAbsolutePath(); - curPathImage = aDlg.getCurrentDirectory(); - - // Checking extention - FileFilter curFlt = aDlg.getFileFilter(); - if (curFlt instanceof ExtensionFileFilter) - { - ExtensionFileFilter extFlt = (ExtensionFileFilter) curFlt; - String ext = extFlt.getExtension(name); - if (ext == null) - { - String[] extentions = extFlt.getExtensions(); - if (extentions != null) - { - if (name.endsWith(".")) - name = name + extentions[0]; - else - name = name + "." + extentions[0]; - } - } - } - - SamplesStarter.getFrame().setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); - String format = name.substring(name.lastIndexOf(".")+1); - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - SampleImportExportPackage.SaveImage(new Standard_CString(name), - new Standard_CString(format), view3d); - SamplesStarter.getFrame().setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); - } - } - -//=======================================================================// - public void onWireframe() - { - if (myAISContext != null) - { - for (myAISContext.InitCurrent(); myAISContext.MoreCurrent(); - myAISContext.NextCurrent()) - myAISContext.SetDisplayMode(myAISContext.Current(), 0, true); - } - } - -//=======================================================================// - public void onShading() - { - if (myAISContext != null) - { - for (myAISContext.InitCurrent(); myAISContext.MoreCurrent(); - myAISContext.NextCurrent()) - myAISContext.SetDisplayMode(myAISContext.Current(), 1, true); - } - } - -//=======================================================================// - public void onColor() - { - if (myAISContext != null) - { - myAISContext.InitCurrent(); - if (myAISContext.MoreCurrent()) - { - Color theColor; - if (myAISContext.Current().HasColor()) - { - Quantity_Color aColor = - new Quantity_Color(myAISContext.Color(myAISContext.Current())); - int red = (int) (aColor.Red()*255); - int green = (int) (aColor.Green()*255); - int blue = (int) (aColor.Blue()*255); - theColor = new Color(red, green, blue); - } - else - theColor = Color.white; - - Color theNewColor = JColorChooser.showDialog(SamplesStarter.getFrame(), - "Choose the color", theColor); - - if (theNewColor != null) - { - Quantity_Color aNewColor = new Quantity_Color(theNewColor.getRed()/255., - theNewColor.getGreen()/255., - theNewColor.getBlue()/255., - Quantity_TypeOfColor.Quantity_TOC_RGB); - for (myAISContext.InitCurrent(); myAISContext.MoreCurrent(); - myAISContext.NextCurrent()) - myAISContext.SetColor(myAISContext.Current(), aNewColor, true); - } - } - } - } - -//=======================================================================// - public void onMaterial() - { - MaterialDlg theDlg = new MaterialDlg(SamplesStarter.getFrame(), myAISContext); - Position.centerWindow(theDlg); - theDlg.show(); - } - -//=======================================================================// - public void setMaterial(int material) - { - if (myAISContext != null) - { - for (myAISContext.InitCurrent(); myAISContext.MoreCurrent(); - myAISContext.NextCurrent()) - myAISContext.SetMaterial(myAISContext.Current(), (short)material, true); - } - } - -//=======================================================================// - public void onTransparency() - { - if (myAISContext != null) - { - myAISContext.InitCurrent(); - if (myAISContext.MoreCurrent()) - { - double aValue = myAISContext.Current().Transparency(); - - TransparencyDlg aDlg = new TransparencyDlg(SamplesStarter.getFrame(), aValue); - Position.centerWindow(aDlg); - aDlg.show(); - - if (aDlg.isOK()) - { - for (myAISContext.InitCurrent(); myAISContext.MoreCurrent(); - myAISContext.NextCurrent()) - myAISContext.SetTransparency(myAISContext.Current(), aDlg.getValue(), true); - } - } - } - } - -//=======================================================================// - public void onErase() - { - if (myAISContext != null) - { - for (myAISContext.InitCurrent(); myAISContext.MoreCurrent(); - myAISContext.NextCurrent()) - myAISContext.Erase(myAISContext.Current(), true, false); - } - } - - -//=======================================================================// -// ActionListener interface -//=======================================================================// - public void actionPerformed(ActionEvent e) - { - String command = e.getActionCommand(); - - // Import - if (command.equals("ImportBREP")) onImportBREP(); - else if (command.equals("ImportCSFDB")) onImportCSFDB(); - else if (command.equals("ImportSTEP")) onImportSTEP(); - else if (command.equals("ImportIGES")) onImportIGES(); - // Export - else if (command.equals("ExportBREP")) onExportBREP(); - else if (command.equals("ExportCSFDB")) onExportCSFDB(); - else if (command.equals("ExportSTEP")) onExportSTEP(); - else if (command.equals("ExportIGES")) onExportIGES(); - else if (command.equals("ExportImage")) onExportImage(); - - // Object properties - else if (command.equals("Wireframe")) onWireframe(); - else if (command.equals("Shading")) onShading(); - else if (command.equals("Color")) onColor(); - else if (command.equals("Material")) onMaterial(); - else if (command.equals("Transparency")) onTransparency(); - else if (command.equals("Erase")) onErase(); - - // Setting material (from popup menu) - else if (command.equals("MaterialBrass")) - setMaterial(Graphic3d_NameOfMaterial.Graphic3d_NOM_BRASS); - else if (command.equals("MaterialBronze")) - setMaterial(Graphic3d_NameOfMaterial.Graphic3d_NOM_BRONZE); - else if (command.equals("MaterialCopper")) - setMaterial(Graphic3d_NameOfMaterial.Graphic3d_NOM_COPPER); - else if (command.equals("MaterialGold")) - setMaterial(Graphic3d_NameOfMaterial.Graphic3d_NOM_GOLD); - else if (command.equals("MaterialPewter")) - setMaterial(Graphic3d_NameOfMaterial.Graphic3d_NOM_PEWTER); - else if (command.equals("MaterialPlaster")) - setMaterial(Graphic3d_NameOfMaterial.Graphic3d_NOM_PLASTER); - else if (command.equals("MaterialPlastic")) - setMaterial(Graphic3d_NameOfMaterial.Graphic3d_NOM_PLASTIC); - else if (command.equals("MaterialSilver")) - setMaterial(Graphic3d_NameOfMaterial.Graphic3d_NOM_SILVER); - } - -//=======================================================================// -// MouseListener interface -//=======================================================================// - public void mouseClicked(MouseEvent e) - { - } - -//-----------------------------------------------------------------------// - public void mousePressed(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e)) - { - startX = e.getX(); - startY = e.getY(); - Object src = e.getSource(); - - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (view3d != null) - myAISContext.MoveTo(startX, startY, view3d); - } - } - else if (SwingUtilities.isRightMouseButton(e)) - { - if (e.getSource() == myView3d) - { - if (myAISContext != null) - { - myAISContext.InitCurrent(); - if (myAISContext.MoreCurrent()) - { - myView3d.add(myPopup); - myPopup.show(myView3d, e.getX(), e.getY() + 30); - } - else - { - PopupMenu defPopup = myView3d.getDefaultPopup(); - myView3d.add(defPopup); - defPopup.show(myView3d, e.getX(), e.getY() + 30); - } - } - else - { - PopupMenu defPopup = myView3d.getDefaultPopup(); - myView3d.add(defPopup); - defPopup.show(myView3d, e.getX(), e.getY() + 30); - } - } - } - } - -//-----------------------------------------------------------------------// - public void mouseReleased(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e)) - { - Object src = e.getSource(); - - if (Dragged) - { - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (view3d != null) - { - if (e.isShiftDown()) - myAISContext.ShiftSelect(startX, startY, e.getX(), e.getY(), view3d, true); - else - myAISContext.Select(startX, startY, e.getX(), e.getY(), view3d, true); - updateButtons(); - } - } - } - else - { - if (src == myView3d) - { - if (e.isShiftDown()) - myAISContext.ShiftSelect(true); - else - myAISContext.Select(true); - updateButtons(); - } - } - Dragged = false; - } - } - -//-----------------------------------------------------------------------// - public void mouseEntered(MouseEvent e) - { - } - -//-----------------------------------------------------------------------// - public void mouseExited(MouseEvent e) - { - } - -//=======================================================================// -// MouseMotionListener interface -//=======================================================================// - public void mouseDragged(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e)) - { - Object src = e.getSource(); - Dragged = true; - } - } - -//-----------------------------------------------------------------------// - public void mouseMoved(MouseEvent e) - { - Object src = e.getSource(); - - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (myAISContext != null && view3d != null) - myAISContext.MoveTo(e.getX(), e.getY(), view3d); - } - } - -} - - diff --git a/samples/java/java/SampleImportExport_en.properties b/samples/java/java/SampleImportExport_en.properties deleted file mode 100755 index 93a61a4357..0000000000 --- a/samples/java/java/SampleImportExport_en.properties +++ /dev/null @@ -1,54 +0,0 @@ -#Wed Oct 12 18:09:59 GMT 1999 - -Icon-ImportBREP=icon/import-brep.gif -Help-ImportBREP=Import BREP... - -Icon-ExportBREP=icon/export-brep.gif -Help-ExportBREP=Export BREP... - -Icon-ImportCSFDB=icon/import-csfdb.gif -Help-ImportCSFDB=Import CSFDB... - -Icon-ExportCSFDB=icon/export-csfdb.gif -Help-ExportCSFDB=Export CSFDB... - -Icon-ImportSTEP=icon/import-step.gif -Help-ImportSTEP=Import STEP... - -Icon-ExportSTEP=icon/export-step.gif -Help-ExportSTEP=Export STEP... - -Icon-ImportIGES=icon/import-iges.gif -Help-ImportIGES=Import IGES... - -Icon-ExportIGES=icon/export-iges.gif -Help-ExportIGES=Export IGES... - -Icon-ExportImage=icon/export-image.gif -Help-ExportImage=Export Image... - -Icon-Wireframe=icon/wireframe2.gif -Help-Wireframe=Wireframe - -Icon-Shading=icon/shading2.gif -Help-Shading=Shading - -Icon-Color=icon/color.gif -Help-Color=Color... - -Icon-Material=icon/material.gif -Help-Material=Material... - -Icon-Transparency=icon/transparency.gif -Help-Transparency=Transparency... - -Icon-Erase=icon/delete.gif -Help-Erase=Erase - -Icon-Display=icon/displayall.gif -Help-Display=Display - -Icon-Delete=icon/delete.gif -Help-Delete=Delete - - diff --git a/samples/java/java/SampleLocalOperationsPanel.java b/samples/java/java/SampleLocalOperationsPanel.java deleted file mode 100755 index 202f9355d9..0000000000 --- a/samples/java/java/SampleLocalOperationsPanel.java +++ /dev/null @@ -1,427 +0,0 @@ - -//Title: OpenCASCADE Samples -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface Group (Nizhny Novgorod) -//Company: Matra Datavision -//Description: - - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import java.util.*; -import jcas.Standard_CString; -import CASCADESamplesJni.*; -import SamplesTopologyJni.*; -import util.*; - -public class SampleLocalOperationsPanel extends SamplePanel - implements ActionListener, - MouseListener, - MouseMotionListener -{ - //-----------------------------------------------------------// - // Resources - //-----------------------------------------------------------// - static protected ResourceBundle resGui = - ResourceBundle.getBundle("SampleLocalOperations"); - - static protected ImageIcon imgPrism = new ImageIcon(resGui.getString("Icon-Prism")); - static protected ImageIcon imgDPrism = new ImageIcon(resGui.getString("Icon-DPrism")); - static protected ImageIcon imgRevol = new ImageIcon(resGui.getString("Icon-Revol")); - static protected ImageIcon imgPipe = new ImageIcon(resGui.getString("Icon-Pipe")); - static protected ImageIcon imgRib = new ImageIcon(resGui.getString("Icon-Rib")); - static protected ImageIcon imgGlue = new ImageIcon(resGui.getString("Icon-Glue")); - static protected ImageIcon imgSplit = new ImageIcon(resGui.getString("Icon-Split")); - static protected ImageIcon imgThick = new ImageIcon(resGui.getString("Icon-Thick")); - static protected ImageIcon imgOffset = new ImageIcon(resGui.getString("Icon-Offset")); - - - //-----------------------------------------------------------// - // Components - //-----------------------------------------------------------// - private ViewPanel myView3d; - - private static V3d_Viewer myViewer3d = null; - - private static AIS_InteractiveContext myAISContext = null; - - private int startX = 0, startY = 0; - private boolean Dragged = false; - - - //-----------------------------------------------------------// - // External access - //-----------------------------------------------------------// - public static V3d_Viewer getViewer3d() - { - return myViewer3d; - } - - public static AIS_InteractiveContext getAISContext() - { - return myAISContext; - } - - -//=======================================================================// -// Constructor // -//=======================================================================// - public SampleLocalOperationsPanel() - { - // 3D Initialization - //------------------------------------------ - myViewer3d.SetDefaultLights(); - myViewer3d.SetLightOn(); - - if (myAISContext == null) - { - myAISContext = new AIS_InteractiveContext(myViewer3d); - myAISContext.SetDisplayMode(AIS_DisplayMode.AIS_Shaded, false); - } - } - -//-----------------------------------------------------------------------// - public JPanel createViewPanel() - { - JPanel mainPanel = new JPanel(); - mainPanel.setLayout(new GridBagLayout()); - mainPanel.setBorder(BorderFactory.createEmptyBorder(0, 5, 5, 0)); - - // Viewer 3D - //------------------------------------------ - myViewer3d = SamplesTopologyPackage.CreateViewer("LocalOperations"); - - myView3d = new ViewPanel() { - public ViewCanvas createViewPort() - { - return new CASCADEView3d(SampleLocalOperationsPanel.getViewer3d()) { - public void setWindow3d(V3d_View view, int hiwin, int lowin) { - SamplesTopologyPackage.SetWindow(view, hiwin, lowin); - } - }; - } - }; - - myView3d.addMouseListener(this); - myView3d.addMouseMotionListener(this); - - - // Layout - //------------------------------------------ - mainPanel.add(myView3d, new GridBagConstraints(0, 0, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.BOTH, - new Insets(0, 0, 0, 0), 0, 0)); - - return mainPanel; - } - -//-----------------------------------------------------------------------// - public Component createToolbar() - { - JToolBar tools = (JToolBar) super.createToolbar(); - - ButtonGroup group = new ButtonGroup(); - Insets margin = new Insets(1, 1, 1, 1); - JToggleButton button; - - button = new HeavyToggleButton(imgPrism, false); - button.setToolTipText(resGui.getString("TT-Prism")); - button.setActionCommand("Prism"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgDPrism, false); - button.setToolTipText(resGui.getString("TT-DPrism")); - button.setActionCommand("DPrism"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgRevol, false); - button.setToolTipText(resGui.getString("TT-Revol")); - button.setActionCommand("Revol"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgPipe, false); - button.setToolTipText(resGui.getString("TT-Pipe")); - button.setActionCommand("Pipe"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgRib, false); - button.setToolTipText(resGui.getString("TT-Rib")); - button.setActionCommand("Rib"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgGlue, false); - button.setToolTipText(resGui.getString("TT-Glue")); - button.setActionCommand("Glue"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgSplit, false); - button.setToolTipText(resGui.getString("TT-Split")); - button.setActionCommand("Split"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgThick, false); - button.setToolTipText(resGui.getString("TT-Thick")); - button.setActionCommand("Thick"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgOffset, false); - button.setToolTipText(resGui.getString("TT-Offset")); - button.setActionCommand("Offset"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - return tools; - } - - -//=======================================================================// -// Actions // -//=======================================================================// - public void postProcess(TCollection_AsciiString message, String title) - { - myView3d.getViewPort().FitAll(); - - String text = message.ToCString().GetValue(); - text += "\n-------------------- END ----------------------\n"; - - traceMessage(text, title); - } - -//=======================================================================// -// Tests -//=======================================================================// - public void onPrism() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.LocalPrism(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Prism")); - } - - -//=======================================================================// - public void onDPrism() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.LocalDPrism(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-DPrism")); - } - - -//=======================================================================// - public void onRevol() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.LocalRevol(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Revol")); - } - - -//=======================================================================// - public void onPipe() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.LocalPipe(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Pipe")); - } - - -//=======================================================================// - public void onRib() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.Rib(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Rib")); - } - - -//=======================================================================// - public void onGlue() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.Glue(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Glue")); - } - - -//=======================================================================// - public void onSplit() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.Split(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Split")); - } - - -//=======================================================================// - public void onThick() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.Thick(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Thick")); - } - - -//=======================================================================// - public void onOffset() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.Offset(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Offset")); - } - - -//=======================================================================// -// ActionListener interface -//=======================================================================// - public void actionPerformed(ActionEvent e) - { - String command = e.getActionCommand(); - - if (command.equals("Prism")) onPrism(); - else if (command.equals("DPrism")) onDPrism(); - else if (command.equals("Revol")) onRevol(); - else if (command.equals("Pipe")) onPipe(); - else if (command.equals("Rib")) onRib(); - else if (command.equals("Glue")) onGlue(); - else if (command.equals("Split")) onSplit(); - else if (command.equals("Thick")) onThick(); - else if (command.equals("Offset")) onOffset(); - } - -//=======================================================================// -// MouseListener interface -//=======================================================================// - public void mouseClicked(MouseEvent e) - { - } - - public void mousePressed(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e)) - { - startX = e.getX(); - startY = e.getY(); - Object src = e.getSource(); - - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (view3d != null) - myAISContext.MoveTo(startX, startY, view3d); - } - } - else if (SwingUtilities.isRightMouseButton(e)) - { - if (e.getSource() == myView3d) - { - PopupMenu defPopup = myView3d.getDefaultPopup(); - myView3d.add(defPopup); - defPopup.show(myView3d, e.getX(), e.getY() + 30); - } - } - } - - public void mouseReleased(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e)) - { - Object src = e.getSource(); - - if (Dragged) - { - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (view3d != null) - { - if (e.isShiftDown()) - myAISContext.ShiftSelect(startX, startY, e.getX(), e.getY(), view3d, true); - else - myAISContext.Select(startX, startY, e.getX(), e.getY(), view3d, true); - } - } - } - else - { - if (src == myView3d) - { - if (e.isShiftDown()) - myAISContext.ShiftSelect(true); - else - myAISContext.Select(true); - } - } - Dragged = false; - } - } - - public void mouseEntered(MouseEvent e) - { - } - - public void mouseExited(MouseEvent e) - { - } - -//=======================================================================// -// MouseMotionListener interface -//=======================================================================// - public void mouseDragged(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e) && - e.getSource() == myView3d) - Dragged = true; - } - - public void mouseMoved(MouseEvent e) - { - Object src = e.getSource(); - - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (myAISContext != null && view3d != null) - myAISContext.MoveTo(e.getX(), e.getY(), view3d); - } - } - - -} - diff --git a/samples/java/java/SampleLocalOperations_en.properties b/samples/java/java/SampleLocalOperations_en.properties deleted file mode 100755 index 1f3a127265..0000000000 --- a/samples/java/java/SampleLocalOperations_en.properties +++ /dev/null @@ -1,39 +0,0 @@ -#Wed Oct 12 18:09:59 GMT 1999 - -Icon-Prism=icon/prism2.gif -TT-Prism=Prism -Dlg-Prism=Make an extrusion or a protrusion - -Icon-DPrism=icon/dprism.gif -TT-DPrism=Draft angle -Dlg-DPrism=Make an extrusion or a protrusion with a draft angle - -Icon-Revol=icon/revol2.gif -TT-Revol=Revol -Dlg-Revol=Make a local revolution - -Icon-Pipe=icon/pipe.gif -TT-Pipe=Pipe -Dlg-Pipe=Make a local pipe - -Icon-Rib=icon/rib.gif -TT-Rib=Rib -Dlg-Rib=Make a rib - -Icon-Glue=icon/glue.gif -TT-Glue=Glue -Dlg-Glue=Glue two solids - -Icon-Split=icon/split.gif -TT-Split=Split -Dlg-Split=Split a shape - -Icon-Thick=icon/thick.gif -TT-Thick=Thick solid -Dlg-Thick=Make a thick solid - -Icon-Offset=icon/offset.gif -TT-Offset=Offset -Dlg-Offset=Make an offset shape - - diff --git a/samples/java/java/SamplePanel.java b/samples/java/java/SamplePanel.java deleted file mode 100755 index b9c44e370a..0000000000 --- a/samples/java/java/SamplePanel.java +++ /dev/null @@ -1,117 +0,0 @@ - -//Title: OpenCASCADE Samples -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface Group (Nizhny Novgorod) -//Company: Matra Datavision -//Description: - - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import java.util.*; -import util.*; - -public class SamplePanel extends JPanel -{ - JPanel myViewPanel; - TracePanel myTracePanel = new TracePanel(); - -//=======================================================================// -// Constructor // -//=======================================================================// - public SamplePanel() - { - this(true); - } - - public SamplePanel(boolean isTracePanel) - { - try - { - jbInit(isTracePanel); - } - catch (Exception e) - { - e.printStackTrace(); - } - } - - private void jbInit(boolean isTracePanel) throws Exception - { - /* - setLayout(new BorderLayout()); - - myViewPanel = createViewPanel(); - myViewPanel.setVisible(false); - add(myViewPanel, BorderLayout.CENTER); - add(createToolbar(), BorderLayout.NORTH); - add(myTracePanel, BorderLayout.EAST); - */ - - setLayout(new GridBagLayout()); - setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); - - myViewPanel = createViewPanel(); - myViewPanel.setVisible(false); - add(createToolbar(), new GridBagConstraints(0, 0, 2, 1, 0.0, 0.0, - GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, - new Insets(0, 0, 0, 0), 0, 0)); - add(myViewPanel, new GridBagConstraints(0, 1, 1, 1, 6.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.BOTH, - new Insets(0, 0, 0, 0), 0, 0)); - if (isTracePanel) - { - add(myTracePanel, new GridBagConstraints(1, 1, 1, 1, 4.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.BOTH, - new Insets(0, 0, 0, 0), 0, 0)); - } - } - -//-----------------------------------------------------------------------// - public JPanel createViewPanel() - { - return new ViewPanel(); - } - -//-----------------------------------------------------------------------// - public Component createToolbar() - { - JToolBar tools = new JToolBar() { - public Dimension getMinimumSize() { - return new Dimension(700, super.getMinimumSize().height); - } - }; - tools.setBorder(BorderFactory.createEmptyBorder(3, 3, 3, 3)); - tools.setFloatable(false); - - return tools; - } - -//=======================================================================// -// Actions // -//=======================================================================// - public void traceMessage(String text, String title) - { - myTracePanel.setTitle(title); - myTracePanel.setText(text); - } - -//-----------------------------------------------------------------------// - public void setVisible(boolean b) - { - super.setVisible(b); - myViewPanel.setVisible(b); - if (b) this.validate(); - } - -//=======================================================================// -// Action Listener // -//=======================================================================// - public void actionPerformed(ActionEvent e) - { - } - -} - diff --git a/samples/java/java/SampleTopologicalOperationsPanel.java b/samples/java/java/SampleTopologicalOperationsPanel.java deleted file mode 100755 index aa5e6530a6..0000000000 --- a/samples/java/java/SampleTopologicalOperationsPanel.java +++ /dev/null @@ -1,409 +0,0 @@ - -//Title: OpenCASCADE Samples -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface Group (Nizhny Novgorod) -//Company: Matra Datavision -//Description: - - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import java.util.*; -import jcas.Standard_CString; -import CASCADESamplesJni.*; -import SamplesTopologyJni.*; -import util.*; - -public class SampleTopologicalOperationsPanel extends SamplePanel - implements ActionListener, - MouseListener, - MouseMotionListener -{ - //-----------------------------------------------------------// - // Resources - //-----------------------------------------------------------// - static protected ResourceBundle resGui = - ResourceBundle.getBundle("SampleTopologicalOperations"); - - static protected ImageIcon imgCut = new ImageIcon(resGui.getString("Icon-Cut")); - static protected ImageIcon imgFuse = new ImageIcon(resGui.getString("Icon-Fuse")); - static protected ImageIcon imgCommon = new ImageIcon(resGui.getString("Icon-Common")); - static protected ImageIcon imgSection = new ImageIcon(resGui.getString("Icon-Section")); - static protected ImageIcon imgPSection = new ImageIcon(resGui.getString("Icon-PSection")); - static protected ImageIcon imgBlend = new ImageIcon(resGui.getString("Icon-Blend")); - static protected ImageIcon imgEvolvedBlend = new ImageIcon(resGui.getString("Icon-EvolvedBlend")); - static protected ImageIcon imgChamfer = new ImageIcon(resGui.getString("Icon-Chamfer")); - - - //-----------------------------------------------------------// - // Components - //-----------------------------------------------------------// - private ViewPanel myView3d; - - private static V3d_Viewer myViewer3d = null; - - private static AIS_InteractiveContext myAISContext = null; - - private int startX = 0, startY = 0; - private boolean Dragged = false; - - - //-----------------------------------------------------------// - // External access - //-----------------------------------------------------------// - public static V3d_Viewer getViewer3d() - { - return myViewer3d; - } - - public static AIS_InteractiveContext getAISContext() - { - return myAISContext; - } - - -//=======================================================================// -// Constructor // -//=======================================================================// - public SampleTopologicalOperationsPanel() - { - // 3D Initialization - //------------------------------------------ - myViewer3d.SetDefaultLights(); - myViewer3d.SetLightOn(); - - if (myAISContext == null) - { - myAISContext = new AIS_InteractiveContext(myViewer3d); - myAISContext.SetDisplayMode(AIS_DisplayMode.AIS_Shaded, false); - } - } - -//-----------------------------------------------------------------------// - public JPanel createViewPanel() - { - JPanel mainPanel = new JPanel(); - mainPanel.setLayout(new GridBagLayout()); - mainPanel.setBorder(BorderFactory.createEmptyBorder(0, 5, 5, 0)); - - // Viewer 3D - //------------------------------------------ - myViewer3d = SamplesTopologyPackage.CreateViewer("TopologicalOperations"); - - myView3d = new ViewPanel() { - public ViewCanvas createViewPort() - { - return new CASCADEView3d(SampleTopologicalOperationsPanel.getViewer3d()) { - public void setWindow3d(V3d_View view, int hiwin, int lowin) { - SamplesTopologyPackage.SetWindow(view, hiwin, lowin); - } - }; - } - }; - - myView3d.addMouseListener(this); - myView3d.addMouseMotionListener(this); - - - // Layout - //------------------------------------------ - mainPanel.add(myView3d, new GridBagConstraints(0, 0, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.BOTH, - new Insets(0, 0, 0, 0), 0, 0)); - - return mainPanel; - } - -//-----------------------------------------------------------------------// - public Component createToolbar() - { - JToolBar tools = (JToolBar) super.createToolbar(); - - ButtonGroup group = new ButtonGroup(); - Insets margin = new Insets(1, 1, 1, 1); - JToggleButton button; - - button = new HeavyToggleButton(imgCut, false); - button.setToolTipText(resGui.getString("TT-Cut")); - button.setActionCommand("Cut"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgFuse, false); - button.setToolTipText(resGui.getString("TT-Fuse")); - button.setActionCommand("Fuse"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgCommon, false); - button.setToolTipText(resGui.getString("TT-Common")); - button.setActionCommand("Common"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgSection, false); - button.setToolTipText(resGui.getString("TT-Section")); - button.setActionCommand("Section"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgPSection, false); - button.setToolTipText(resGui.getString("TT-PSection")); - button.setActionCommand("PSection"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - tools.addSeparator();; - - button = new HeavyToggleButton(imgBlend, false); - button.setToolTipText(resGui.getString("TT-Blend")); - button.setActionCommand("Blend"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgEvolvedBlend, false); - button.setToolTipText(resGui.getString("TT-EvolvedBlend")); - button.setActionCommand("EvolvedBlend"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgChamfer, false); - button.setToolTipText(resGui.getString("TT-Chamfer")); - button.setActionCommand("Chamfer"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - return tools; - } - - -//=======================================================================// -// Actions // -//=======================================================================// - public void postProcess(TCollection_AsciiString message, String title) - { - myView3d.getViewPort().FitAll(); - - String text = message.ToCString().GetValue(); - text += "\n-------------------- END ----------------------\n"; - - traceMessage(text, title); - } - -//=======================================================================// -// Tests -//=======================================================================// - public void onCut() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.Cut(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Cut")); - } - - -//=======================================================================// - public void onFuse() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.Fuse(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Fuse")); - } - - -//=======================================================================// - public void onCommon() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.Common(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Common")); - } - - -//=======================================================================// - public void onSection() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.Section(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Section")); - } - - -//=======================================================================// - public void onPSection() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.PSection(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-PSection")); - } - - -//=======================================================================// - public void onBlend() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.Blend(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Blend")); - } - - -//=======================================================================// - public void onEvolvedBlend() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.EvolvedBlend(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-EvolvedBlend")); - } - - -//=======================================================================// - public void onChamfer() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.Chamfer(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Chamfer")); - } - - -//=======================================================================// -// ActionListener interface -//=======================================================================// - public void actionPerformed(ActionEvent e) - { - String command = e.getActionCommand(); - - if (command.equals("Cut")) onCut(); - else if (command.equals("Fuse")) onFuse(); - else if (command.equals("Common")) onCommon(); - else if (command.equals("Section")) onSection(); - else if (command.equals("PSection")) onPSection(); - else if (command.equals("Blend")) onBlend(); - else if (command.equals("EvolvedBlend")) onEvolvedBlend(); - else if (command.equals("Chamfer")) onChamfer(); - } - -//=======================================================================// -// MouseListener interface -//=======================================================================// - public void mouseClicked(MouseEvent e) - { - } - - public void mousePressed(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e)) - { - startX = e.getX(); - startY = e.getY(); - Object src = e.getSource(); - - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (view3d != null) - myAISContext.MoveTo(startX, startY, view3d); - } - } - else if (SwingUtilities.isRightMouseButton(e)) - { - if (e.getSource() == myView3d) - { - PopupMenu defPopup = myView3d.getDefaultPopup(); - myView3d.add(defPopup); - defPopup.show(myView3d, e.getX(), e.getY() + 30); - } - } - } - - public void mouseReleased(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e)) - { - Object src = e.getSource(); - - if (Dragged) - { - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (view3d != null) - { - if (e.isShiftDown()) - myAISContext.ShiftSelect(startX, startY, e.getX(), e.getY(), view3d, true); - else - myAISContext.Select(startX, startY, e.getX(), e.getY(), view3d, true); - } - } - } - else - { - if (src == myView3d) - { - if (e.isShiftDown()) - myAISContext.ShiftSelect(true); - else - myAISContext.Select(true); - } - } - Dragged = false; - } - } - - public void mouseEntered(MouseEvent e) - { - } - - public void mouseExited(MouseEvent e) - { - } - -//=======================================================================// -// MouseMotionListener interface -//=======================================================================// - public void mouseDragged(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e) && - e.getSource() == myView3d) - Dragged = true; - } - - public void mouseMoved(MouseEvent e) - { - Object src = e.getSource(); - - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (myAISContext != null && view3d != null) - myAISContext.MoveTo(e.getX(), e.getY(), view3d); - } - } - - -} - diff --git a/samples/java/java/SampleTopologicalOperations_en.properties b/samples/java/java/SampleTopologicalOperations_en.properties deleted file mode 100755 index 701d71eb0f..0000000000 --- a/samples/java/java/SampleTopologicalOperations_en.properties +++ /dev/null @@ -1,35 +0,0 @@ -#Wed Oct 12 18:09:59 GMT 1999 - -Icon-Cut=icon/cut.gif -TT-Cut=Cut -Dlg-Cut=Cut the sphere with a box - -Icon-Fuse=icon/fuse.gif -TT-Fuse=Fuse two solids -Dlg-Fuse=Fuse the boxes - -Icon-Common=icon/common.gif -TT-Common=Common -Dlg-Common=Compute the common surface - -Icon-Section=icon/section.gif -TT-Section=Section -Dlg-Section=Compute the sections - -Icon-PSection=icon/psection.gif -TT-PSection=Plane section -Dlg-PSection=Compute the plane section - -Icon-Blend=icon/blend.gif -TT-Blend=Blend -Dlg-Blend=Compute the blend on the edges - -Icon-EvolvedBlend=icon/evolvedblend.gif -TT-EvolvedBlend=Evolved blend -Dlg-EvolvedBlend=Compute evolved blend on an edge - -Icon-Chamfer=icon/chamfer.gif -TT-Chamfer=Chamfer -Dlg-Chamfer=Compute the chamfers on all the edges - - diff --git a/samples/java/java/SampleTopologyAnalysisPanel.java b/samples/java/java/SampleTopologyAnalysisPanel.java deleted file mode 100755 index 6d31969fe3..0000000000 --- a/samples/java/java/SampleTopologyAnalysisPanel.java +++ /dev/null @@ -1,337 +0,0 @@ - -//Title: OpenCASCADE Samples -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface Group (Nizhny Novgorod) -//Company: Matra Datavision -//Description: - - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import java.util.*; -import jcas.Standard_CString; -import CASCADESamplesJni.*; -import SamplesTopologyJni.*; -import util.*; - -public class SampleTopologyAnalysisPanel extends SamplePanel - implements ActionListener, - MouseListener, - MouseMotionListener -{ - //-----------------------------------------------------------// - // Resources - //-----------------------------------------------------------// - static protected ResourceBundle resGui = - ResourceBundle.getBundle("SampleTopologyAnalysis"); - - static protected ImageIcon imgValid = new ImageIcon(resGui.getString("Icon-Valid")); - static protected ImageIcon imgLinear = new ImageIcon(resGui.getString("Icon-Linear")); - static protected ImageIcon imgSurface = new ImageIcon(resGui.getString("Icon-Surface")); - static protected ImageIcon imgVolume = new ImageIcon(resGui.getString("Icon-Volume")); - - - //-----------------------------------------------------------// - // Components - //-----------------------------------------------------------// - private ViewPanel myView3d; - - private static V3d_Viewer myViewer3d = null; - - private static AIS_InteractiveContext myAISContext = null; - - private int startX = 0, startY = 0; - private boolean Dragged = false; - - - //-----------------------------------------------------------// - // External access - //-----------------------------------------------------------// - public static V3d_Viewer getViewer3d() - { - return myViewer3d; - } - - public static AIS_InteractiveContext getAISContext() - { - return myAISContext; - } - - -//=======================================================================// -// Constructor // -//=======================================================================// - public SampleTopologyAnalysisPanel() - { - // 3D Initialization - //------------------------------------------ - myViewer3d.SetDefaultLights(); - myViewer3d.SetLightOn(); - - if (myAISContext == null) - { - myAISContext = new AIS_InteractiveContext(myViewer3d); - myAISContext.SetDisplayMode(AIS_DisplayMode.AIS_Shaded, false); - } - } - -//-----------------------------------------------------------------------// - public JPanel createViewPanel() - { - JPanel mainPanel = new JPanel(); - mainPanel.setLayout(new GridBagLayout()); - mainPanel.setBorder(BorderFactory.createEmptyBorder(0, 5, 5, 0)); - - // Viewer 3D - //------------------------------------------ - myViewer3d = SamplesTopologyPackage.CreateViewer("TopologyAnalysis"); - - myView3d = new ViewPanel() { - public ViewCanvas createViewPort() - { - return new CASCADEView3d(SampleTopologyAnalysisPanel.getViewer3d()) { - public void setWindow3d(V3d_View view, int hiwin, int lowin) { - SamplesTopologyPackage.SetWindow(view, hiwin, lowin); - } - }; - } - }; - - myView3d.addMouseListener(this); - myView3d.addMouseMotionListener(this); - - - // Layout - //------------------------------------------ - mainPanel.add(myView3d, new GridBagConstraints(0, 0, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.BOTH, - new Insets(0, 0, 0, 0), 0, 0)); - - return mainPanel; - } - -//-----------------------------------------------------------------------// - public Component createToolbar() - { - JToolBar tools = (JToolBar) super.createToolbar(); - - ButtonGroup group = new ButtonGroup(); - Insets margin = new Insets(1, 1, 1, 1); - JButton button; - - button = new HeavyButton(imgValid); - button.setToolTipText(resGui.getString("TT-Valid")); - button.setActionCommand("Valid"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - tools.addSeparator();; - - button = new HeavyButton(imgLinear); - button.setToolTipText(resGui.getString("TT-Linear")); - button.setActionCommand("Linear"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgSurface); - button.setToolTipText(resGui.getString("TT-Surface")); - button.setActionCommand("Surface"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgVolume); - button.setToolTipText(resGui.getString("TT-Volume")); - button.setActionCommand("Volume"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - return tools; - } - - -//=======================================================================// -// Actions // -//=======================================================================// - public void postProcess(TCollection_AsciiString message, String title) - { - myView3d.getViewPort().FitAll(); - - String text = message.ToCString().GetValue(); - text += "\n-------------------- END ----------------------\n"; - - traceMessage(text, title); - } - -//=======================================================================// -// Tests -//=======================================================================// - public void onValid() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - TCollection_AsciiString result = new TCollection_AsciiString(); - SamplesTopologyPackage.Validity(myAISContext, message, result); - - postProcess(message, resGui.getString("Dlg-Valid")); - - JOptionPane.showMessageDialog(this, result.ToCString().GetValue()); - } - - -//=======================================================================// - public void onLinear() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - TCollection_AsciiString result = new TCollection_AsciiString(); - SamplesTopologyPackage.LinearProp(myAISContext, message, result); - - postProcess(message, resGui.getString("Dlg-Linear")); - - JOptionPane.showMessageDialog(this, result.ToCString().GetValue()); - } - - -//=======================================================================// - public void onSurface() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - TCollection_AsciiString result = new TCollection_AsciiString(); - SamplesTopologyPackage.SurfaceProp(myAISContext, message, result); - - postProcess(message, resGui.getString("Dlg-Surface")); - - JOptionPane.showMessageDialog(this, result.ToCString().GetValue()); - } - - -//=======================================================================// - public void onVolume() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - TCollection_AsciiString result = new TCollection_AsciiString(); - SamplesTopologyPackage.VolumeProp(myAISContext, message, result); - - postProcess(message, resGui.getString("Dlg-Volume")); - - JOptionPane.showMessageDialog(this, result.ToCString().GetValue()); - } - - -//=======================================================================// -// ActionListener interface -//=======================================================================// - public void actionPerformed(ActionEvent e) - { - String command = e.getActionCommand(); - - if (command.equals("Valid")) onValid(); - else if (command.equals("Linear")) onLinear(); - else if (command.equals("Surface")) onSurface(); - else if (command.equals("Volume")) onVolume(); - } - -//=======================================================================// -// MouseListener interface -//=======================================================================// - public void mouseClicked(MouseEvent e) - { - } - - public void mousePressed(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e)) - { - startX = e.getX(); - startY = e.getY(); - Object src = e.getSource(); - - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (view3d != null) - myAISContext.MoveTo(startX, startY, view3d); - } - } - else if (SwingUtilities.isRightMouseButton(e)) - { - if (e.getSource() == myView3d) - { - PopupMenu defPopup = myView3d.getDefaultPopup(); - myView3d.add(defPopup); - defPopup.show(myView3d, e.getX(), e.getY() + 30); - } - } - } - - public void mouseReleased(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e)) - { - Object src = e.getSource(); - - if (Dragged) - { - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (view3d != null) - { - if (e.isShiftDown()) - myAISContext.ShiftSelect(startX, startY, e.getX(), e.getY(), view3d, true); - else - myAISContext.Select(startX, startY, e.getX(), e.getY(), view3d, true); - } - } - } - else - { - if (src == myView3d) - { - if (e.isShiftDown()) - myAISContext.ShiftSelect(true); - else - myAISContext.Select(true); - } - } - Dragged = false; - } - } - - public void mouseEntered(MouseEvent e) - { - } - - public void mouseExited(MouseEvent e) - { - } - -//=======================================================================// -// MouseMotionListener interface -//=======================================================================// - public void mouseDragged(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e) && - e.getSource() == myView3d) - Dragged = true; - } - - public void mouseMoved(MouseEvent e) - { - Object src = e.getSource(); - - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (myAISContext != null && view3d != null) - myAISContext.MoveTo(e.getX(), e.getY(), view3d); - } - } - - -} - diff --git a/samples/java/java/SampleTopologyAnalysis_en.properties b/samples/java/java/SampleTopologyAnalysis_en.properties deleted file mode 100755 index b42c26a554..0000000000 --- a/samples/java/java/SampleTopologyAnalysis_en.properties +++ /dev/null @@ -1,20 +0,0 @@ -#Wed Oct 12 18:09:59 GMT 1999 - -Icon-Valid=icon/valid.gif -TT-Valid=Check validity -Dlg-Valid=Check a shape - -Icon-Linear=icon/linear.gif -TT-Linear=Linear properties -Dlg-Linear=Linear properties - -Icon-Surface=icon/surface.gif -TT-Surface=Surface properties -Dlg-Surface=Surface properties - -Icon-Volume=icon/volume.gif -TT-Volume=Volume properties -Dlg-Volume=Volume properties - - - diff --git a/samples/java/java/SampleTopologyBuildingPanel.java b/samples/java/java/SampleTopologyBuildingPanel.java deleted file mode 100755 index 0559b1e280..0000000000 --- a/samples/java/java/SampleTopologyBuildingPanel.java +++ /dev/null @@ -1,449 +0,0 @@ - -//Title: OpenCASCADE Samples -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface Group (Nizhny Novgorod) -//Company: Matra Datavision -//Description: - - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import java.util.*; -import jcas.Standard_CString; -import CASCADESamplesJni.*; -import SamplesTopologyJni.*; -import util.*; - -public class SampleTopologyBuildingPanel extends SamplePanel - implements ActionListener, - MouseListener, - MouseMotionListener -{ - //-----------------------------------------------------------// - // Resources - //-----------------------------------------------------------// - static protected ResourceBundle resGui = - ResourceBundle.getBundle("SampleTopologyBuilding"); - - static protected ImageIcon imgVertex = new ImageIcon(resGui.getString("Icon-Vertex")); - static protected ImageIcon imgEdge = new ImageIcon(resGui.getString("Icon-Edge")); - static protected ImageIcon imgWire = new ImageIcon(resGui.getString("Icon-Wire")); - static protected ImageIcon imgFace = new ImageIcon(resGui.getString("Icon-Face")); - static protected ImageIcon imgShell = new ImageIcon(resGui.getString("Icon-Shell")); - static protected ImageIcon imgCompound = new ImageIcon(resGui.getString("Icon-Compound")); - static protected ImageIcon imgSewing = new ImageIcon(resGui.getString("Icon-Sewing")); - static protected ImageIcon imgBuilder = new ImageIcon(resGui.getString("Icon-Builder")); - static protected ImageIcon imgGeometry = new ImageIcon(resGui.getString("Icon-Geometry")); - static protected ImageIcon imgExplorer = new ImageIcon(resGui.getString("Icon-Explorer")); - - - //-----------------------------------------------------------// - // Components - //-----------------------------------------------------------// - private ViewPanel myView3d; - - private static V3d_Viewer myViewer3d = null; - - private static AIS_InteractiveContext myAISContext = null; - - private int startX = 0, startY = 0; - private boolean Dragged = false; - - - //-----------------------------------------------------------// - // External access - //-----------------------------------------------------------// - public static V3d_Viewer getViewer3d() - { - return myViewer3d; - } - - public static AIS_InteractiveContext getAISContext() - { - return myAISContext; - } - - -//=======================================================================// -// Constructor // -//=======================================================================// - public SampleTopologyBuildingPanel() - { - // 3D Initialization - //------------------------------------------ - myViewer3d.SetDefaultLights(); - myViewer3d.SetLightOn(); - - if (myAISContext == null) - { - myAISContext = new AIS_InteractiveContext(myViewer3d); - myAISContext.SetDisplayMode(AIS_DisplayMode.AIS_Shaded, false); - } - } - -//-----------------------------------------------------------------------// - public JPanel createViewPanel() - { - JPanel mainPanel = new JPanel(); - mainPanel.setLayout(new GridBagLayout()); - mainPanel.setBorder(BorderFactory.createEmptyBorder(0, 5, 5, 0)); - - // Viewer 3D - //------------------------------------------ - myViewer3d = SamplesTopologyPackage.CreateViewer("TopologyBuilding"); - - myView3d = new ViewPanel() { - public ViewCanvas createViewPort() - { - return new CASCADEView3d(SampleTopologyBuildingPanel.getViewer3d()) { - public void setWindow3d(V3d_View view, int hiwin, int lowin) { - SamplesTopologyPackage.SetWindow(view, hiwin, lowin); - } - }; - } - }; - - myView3d.addMouseListener(this); - myView3d.addMouseMotionListener(this); - - - // Layout - //------------------------------------------ - mainPanel.add(myView3d, new GridBagConstraints(0, 0, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.BOTH, - new Insets(0, 0, 0, 0), 0, 0)); - - return mainPanel; - } - -//-----------------------------------------------------------------------// - public Component createToolbar() - { - JToolBar tools = (JToolBar) super.createToolbar(); - - ButtonGroup group = new ButtonGroup(); - Insets margin = new Insets(1, 1, 1, 1); - JToggleButton button; - - button = new HeavyToggleButton(imgVertex, false); - button.setToolTipText(resGui.getString("TT-Vertex")); - button.setActionCommand("Vertex"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgEdge, false); - button.setToolTipText(resGui.getString("TT-Edge")); - button.setActionCommand("Edge"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgWire, false); - button.setToolTipText(resGui.getString("TT-Wire")); - button.setActionCommand("Wire"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgFace, false); - button.setToolTipText(resGui.getString("TT-Face")); - button.setActionCommand("Face"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgShell, false); - button.setToolTipText(resGui.getString("TT-Shell")); - button.setActionCommand("Shell"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgCompound, false); - button.setToolTipText(resGui.getString("TT-Compound")); - button.setActionCommand("Compound"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - tools.addSeparator();; - - button = new HeavyToggleButton(imgSewing, false); - button.setToolTipText(resGui.getString("TT-Sewing")); - button.setActionCommand("Sewing"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgBuilder, false); - button.setToolTipText(resGui.getString("TT-Builder")); - button.setActionCommand("Builder"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgGeometry, false); - button.setToolTipText(resGui.getString("TT-Geometry")); - button.setActionCommand("Geometry"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgExplorer, false); - button.setToolTipText(resGui.getString("TT-Explorer")); - button.setActionCommand("Explorer"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - return tools; - } - - -//=======================================================================// -// Actions // -//=======================================================================// - public void postProcess(TCollection_AsciiString message, String title) - { - myView3d.getViewPort().FitAll(); - - String text = message.ToCString().GetValue(); - text += "\n-------------------- END ----------------------\n"; - - traceMessage(text, title); - } - -//=======================================================================// -// Tests -//=======================================================================// - public void onVertex() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.Vertex(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Vertex")); - } - - -//=======================================================================// - public void onEdge() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.Edge(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Edge")); - } - - -//=======================================================================// - public void onWire() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.Wire(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Wire")); - } - - -//=======================================================================// - public void onFace() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.Face(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Face")); - } - - -//=======================================================================// - public void onShell() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.Shell(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Shell")); - } - - -//=======================================================================// - public void onCompound() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.Compound(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Compound")); - } - - -//=======================================================================// - public void onSewing() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.Sewing(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Sewing")); - } - - -//=======================================================================// - public void onBuilder() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.Builder(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Builder")); - } - - -//=======================================================================// - public void onGeometry() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.Geometry(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Geometry")); - } - - -//=======================================================================// - public void onExplorer() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.Explorer(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Explorer")); - } - - -//=======================================================================// -// ActionListener interface -//=======================================================================// - public void actionPerformed(ActionEvent e) - { - String command = e.getActionCommand(); - - if (command.equals("Vertex")) onVertex(); - else if (command.equals("Edge")) onEdge(); - else if (command.equals("Wire")) onWire(); - else if (command.equals("Face")) onFace(); - else if (command.equals("Shell")) onShell(); - else if (command.equals("Compound")) onCompound(); - else if (command.equals("Sewing")) onSewing(); - else if (command.equals("Builder")) onBuilder(); - else if (command.equals("Geometry")) onGeometry(); - else if (command.equals("Explorer")) onExplorer(); - } - -//=======================================================================// -// MouseListener interface -//=======================================================================// - public void mouseClicked(MouseEvent e) - { - } - - public void mousePressed(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e)) - { - startX = e.getX(); - startY = e.getY(); - Object src = e.getSource(); - - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (view3d != null) - myAISContext.MoveTo(startX, startY, view3d); - } - } - else if (SwingUtilities.isRightMouseButton(e)) - { - if (e.getSource() == myView3d) - { - PopupMenu defPopup = myView3d.getDefaultPopup(); - myView3d.add(defPopup); - defPopup.show(myView3d, e.getX(), e.getY() + 30); - } - } - } - - public void mouseReleased(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e)) - { - Object src = e.getSource(); - - if (Dragged) - { - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (view3d != null) - { - if (e.isShiftDown()) - myAISContext.ShiftSelect(startX, startY, e.getX(), e.getY(), view3d, true); - else - myAISContext.Select(startX, startY, e.getX(), e.getY(), view3d, true); - } - } - } - else - { - if (src == myView3d) - { - if (e.isShiftDown()) - myAISContext.ShiftSelect(true); - else - myAISContext.Select(true); - } - } - Dragged = false; - } - } - - public void mouseEntered(MouseEvent e) - { - } - - public void mouseExited(MouseEvent e) - { - } - -//=======================================================================// -// MouseMotionListener interface -//=======================================================================// - public void mouseDragged(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e) && - e.getSource() == myView3d) - Dragged = true; - } - - public void mouseMoved(MouseEvent e) - { - Object src = e.getSource(); - - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (myAISContext != null && view3d != null) - myAISContext.MoveTo(e.getX(), e.getY(), view3d); - } - } - - -} - diff --git a/samples/java/java/SampleTopologyBuilding_en.properties b/samples/java/java/SampleTopologyBuilding_en.properties deleted file mode 100755 index c5077642a5..0000000000 --- a/samples/java/java/SampleTopologyBuilding_en.properties +++ /dev/null @@ -1,43 +0,0 @@ -#Wed Oct 12 18:09:59 GMT 1999 - -Icon-Vertex=icon/vertex.gif -TT-Vertex=Vertex -Dlg-Vertex=Make vertex from point - -Icon-Edge=icon/edge.gif -TT-Edge=Edge -Dlg-Edge=Make edge - -Icon-Wire=icon/wire.gif -TT-Wire=Wire -Dlg-Wire=Make wire - -Icon-Face=icon/face.gif -TT-Face=Face -Dlg-Face=Make face - -Icon-Shell=icon/shell.gif -TT-Shell=Shell -Dlg-Shell=Make shell - -Icon-Compound=icon/compound.gif -TT-Compound=Compound -Dlg-Compound=Make compound - -Icon-Sewing=icon/sewing.gif -TT-Sewing=Sewing -Dlg-Sewing=Sew faces - -Icon-Builder=icon/builder.gif -TT-Builder=Builder -Dlg-Builder=Make a shape with a builder - -Icon-Geometry=icon/geometry.gif -TT-Geometry=Tools -Dlg-Geometry=Recover the geometry of vertex, edge and face - -Icon-Explorer=icon/explorer.gif -TT-Explorer=Explorer -Dlg-Explorer=Explode a shape in faces - - diff --git a/samples/java/java/SampleTopologyPrimitivesPanel.java b/samples/java/java/SampleTopologyPrimitivesPanel.java deleted file mode 100755 index 865854c40b..0000000000 --- a/samples/java/java/SampleTopologyPrimitivesPanel.java +++ /dev/null @@ -1,491 +0,0 @@ - -//Title: OpenCASCADE Samples -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface Group (Nizhny Novgorod) -//Company: Matra Datavision -//Description: - - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import java.util.*; -import jcas.Standard_CString; -import CASCADESamplesJni.*; -import SamplesTopologyJni.*; -import util.*; - -public class SampleTopologyPrimitivesPanel extends SamplePanel - implements ActionListener, - MouseListener, - MouseMotionListener -{ - //-----------------------------------------------------------// - // Resources - //-----------------------------------------------------------// - static protected ResourceBundle resGui = - ResourceBundle.getBundle("SampleTopologyPrimitives"); - - static protected ImageIcon imgBox = new ImageIcon(resGui.getString("Icon-Box")); - static protected ImageIcon imgCylinder = new ImageIcon(resGui.getString("Icon-Cylinder")); - static protected ImageIcon imgCone = new ImageIcon(resGui.getString("Icon-Cone")); - static protected ImageIcon imgSphere = new ImageIcon(resGui.getString("Icon-Sphere")); - static protected ImageIcon imgTorus = new ImageIcon(resGui.getString("Icon-Torus")); - static protected ImageIcon imgWedge = new ImageIcon(resGui.getString("Icon-Wedge")); - static protected ImageIcon imgPrism = new ImageIcon(resGui.getString("Icon-Prism")); - static protected ImageIcon imgRevol = new ImageIcon(resGui.getString("Icon-Revol")); - static protected ImageIcon imgPipe = new ImageIcon(resGui.getString("Icon-Pipe")); - static protected ImageIcon imgThru = new ImageIcon(resGui.getString("Icon-Thru")); - static protected ImageIcon imgEvolved = new ImageIcon(resGui.getString("Icon-Evolved")); - static protected ImageIcon imgDraft = new ImageIcon(resGui.getString("Icon-Draft")); - - - //-----------------------------------------------------------// - // Components - //-----------------------------------------------------------// - private ViewPanel myView3d; - - private static V3d_Viewer myViewer3d = null; - - private static AIS_InteractiveContext myAISContext = null; - - private int startX = 0, startY = 0; - private boolean Dragged = false; - - - //-----------------------------------------------------------// - // External access - //-----------------------------------------------------------// - public static V3d_Viewer getViewer3d() - { - return myViewer3d; - } - - public static AIS_InteractiveContext getAISContext() - { - return myAISContext; - } - - -//=======================================================================// -// Constructor // -//=======================================================================// - public SampleTopologyPrimitivesPanel() - { - // 3D Initialization - //------------------------------------------ - myViewer3d.SetDefaultLights(); - myViewer3d.SetLightOn(); - - if (myAISContext == null) - { - myAISContext = new AIS_InteractiveContext(myViewer3d); - myAISContext.SetDisplayMode(AIS_DisplayMode.AIS_Shaded, false); - } - } - -//-----------------------------------------------------------------------// - public JPanel createViewPanel() - { - JPanel mainPanel = new JPanel(); - mainPanel.setLayout(new GridBagLayout()); - mainPanel.setBorder(BorderFactory.createEmptyBorder(0, 5, 5, 0)); - - // Viewer 3D - //------------------------------------------ - myViewer3d = SamplesTopologyPackage.CreateViewer("TopologyPrimitives"); - - myView3d = new ViewPanel() { - public ViewCanvas createViewPort() - { - return new CASCADEView3d(SampleTopologyPrimitivesPanel.getViewer3d()) { - public void setWindow3d(V3d_View view, int hiwin, int lowin) { - SamplesTopologyPackage.SetWindow(view, hiwin, lowin); - } - }; - } - }; - - myView3d.addMouseListener(this); - myView3d.addMouseMotionListener(this); - - - // Layout - //------------------------------------------ - mainPanel.add(myView3d, new GridBagConstraints(0, 0, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.BOTH, - new Insets(0, 0, 0, 0), 0, 0)); - - return mainPanel; - } - -//-----------------------------------------------------------------------// - public Component createToolbar() - { - JToolBar tools = (JToolBar) super.createToolbar(); - - ButtonGroup group = new ButtonGroup(); - Insets margin = new Insets(1, 1, 1, 1); - JToggleButton button; - - button = new HeavyToggleButton(imgBox, false); - button.setToolTipText(resGui.getString("TT-Box")); - button.setActionCommand("Box"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgCylinder, false); - button.setToolTipText(resGui.getString("TT-Cylinder")); - button.setActionCommand("Cylinder"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgCone, false); - button.setToolTipText(resGui.getString("TT-Cone")); - button.setActionCommand("Cone"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgSphere, false); - button.setToolTipText(resGui.getString("TT-Sphere")); - button.setActionCommand("Sphere"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTorus, false); - button.setToolTipText(resGui.getString("TT-Torus")); - button.setActionCommand("Torus"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgWedge, false); - button.setToolTipText(resGui.getString("TT-Wedge")); - button.setActionCommand("Wedge"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - tools.addSeparator();; - - button = new HeavyToggleButton(imgPrism, false); - button.setToolTipText(resGui.getString("TT-Prism")); - button.setActionCommand("Prism"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgRevol, false); - button.setToolTipText(resGui.getString("TT-Revol")); - button.setActionCommand("Revol"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgPipe, false); - button.setToolTipText(resGui.getString("TT-Pipe")); - button.setActionCommand("Pipe"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgThru, false); - button.setToolTipText(resGui.getString("TT-Thru")); - button.setActionCommand("Thru"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgEvolved, false); - button.setToolTipText(resGui.getString("TT-Evolved")); - button.setActionCommand("Evolved"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - tools.addSeparator();; - - button = new HeavyToggleButton(imgDraft, false); - button.setToolTipText(resGui.getString("TT-Draft")); - button.setActionCommand("Draft"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - return tools; - } - - -//=======================================================================// -// Actions // -//=======================================================================// - public void postProcess(TCollection_AsciiString message, String title) - { - myView3d.getViewPort().FitAll(); - - String text = message.ToCString().GetValue(); - text += "\n-------------------- END ----------------------\n"; - - traceMessage(text, title); - } - -//=======================================================================// -// Tests -//=======================================================================// - public void onBox() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.MakeBox(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Box")); - } - - -//=======================================================================// - public void onCylinder() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.MakeCylinder(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Cylinder")); - } - - -//=======================================================================// - public void onCone() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.MakeCone(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Cone")); - } - - -//=======================================================================// - public void onSphere() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.MakeSphere(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Sphere")); - } - - -//=======================================================================// - public void onTorus() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.MakeTorus(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Torus")); - } - - -//=======================================================================// - public void onWedge() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.MakeWedge(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Wedge")); - } - - -//=======================================================================// - public void onPrism() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.MakePrism(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Prism")); - } - - -//=======================================================================// - public void onRevol() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.MakeRevol(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Revol")); - } - - -//=======================================================================// - public void onPipe() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.MakePipe(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Pipe")); - } - - -//=======================================================================// - public void onThru() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.MakeThru(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Thru")); - } - - -//=======================================================================// - public void onEvolved() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.MakeEvolved(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Evolved")); - } - - -//=======================================================================// - public void onDraft() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.MakeDraft(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Draft")); - } - - -//=======================================================================// -// ActionListener interface -//=======================================================================// - public void actionPerformed(ActionEvent e) - { - String command = e.getActionCommand(); - - if (command.equals("Box")) onBox(); - else if (command.equals("Cylinder")) onCylinder(); - else if (command.equals("Cone")) onCone(); - else if (command.equals("Sphere")) onSphere(); - else if (command.equals("Torus")) onTorus(); - else if (command.equals("Wedge")) onWedge(); - else if (command.equals("Prism")) onPrism(); - else if (command.equals("Revol")) onRevol(); - else if (command.equals("Pipe")) onPipe(); - else if (command.equals("Thru")) onThru(); - else if (command.equals("Evolved")) onEvolved(); - else if (command.equals("Draft")) onDraft(); - } - -//=======================================================================// -// MouseListener interface -//=======================================================================// - public void mouseClicked(MouseEvent e) - { - } - - public void mousePressed(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e)) - { - startX = e.getX(); - startY = e.getY(); - Object src = e.getSource(); - - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (view3d != null) - myAISContext.MoveTo(startX, startY, view3d); - } - } - else if (SwingUtilities.isRightMouseButton(e)) - { - if (e.getSource() == myView3d) - { - PopupMenu defPopup = myView3d.getDefaultPopup(); - myView3d.add(defPopup); - defPopup.show(myView3d, e.getX(), e.getY() + 30); - } - } - } - - public void mouseReleased(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e)) - { - Object src = e.getSource(); - - if (Dragged) - { - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (view3d != null) - { - if (e.isShiftDown()) - myAISContext.ShiftSelect(startX, startY, e.getX(), e.getY(), view3d, true); - else - myAISContext.Select(startX, startY, e.getX(), e.getY(), view3d, true); - } - } - } - else - { - if (src == myView3d) - { - if (e.isShiftDown()) - myAISContext.ShiftSelect(true); - else - myAISContext.Select(true); - } - } - Dragged = false; - } - } - - public void mouseEntered(MouseEvent e) - { - } - - public void mouseExited(MouseEvent e) - { - } - -//=======================================================================// -// MouseMotionListener interface -//=======================================================================// - public void mouseDragged(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e) && - e.getSource() == myView3d) - Dragged = true; - } - - public void mouseMoved(MouseEvent e) - { - Object src = e.getSource(); - - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (myAISContext != null && view3d != null) - myAISContext.MoveTo(e.getX(), e.getY(), view3d); - } - } - - -} - diff --git a/samples/java/java/SampleTopologyPrimitives_en.properties b/samples/java/java/SampleTopologyPrimitives_en.properties deleted file mode 100755 index 4f36982f75..0000000000 --- a/samples/java/java/SampleTopologyPrimitives_en.properties +++ /dev/null @@ -1,51 +0,0 @@ -#Wed Oct 12 18:09:59 GMT 1999 - -Icon-Box=icon/box.gif -TT-Box=Box -Dlg-Box=Make a topological box - -Icon-Cylinder=icon/cylinder.gif -TT-Cylinder=Cylinder -Dlg-Cylinder=Make a cylinder - -Icon-Cone=icon/cone.gif -TT-Cone=Cone -Dlg-Cone=Make a cone - -Icon-Sphere=icon/sphere.gif -TT-Sphere=Sphere -Dlg-Sphere=Make a sphere - -Icon-Torus=icon/torus.gif -TT-Torus=Torus -Dlg-Torus=Make a torus - -Icon-Wedge=icon/wedge.gif -TT-Wedge=Wedge -Dlg-Wedge=Make a wedge - -Icon-Prism=icon/prism.gif -TT-Prism=Prism -Dlg-Prism=Make a prism - -Icon-Revol=icon/revol.gif -TT-Revol=Revol -Dlg-Revol=Make a revolution - -Icon-Pipe=icon/pipe.gif -TT-Pipe=Pipe -Dlg-Pipe=Make a pipe - -Icon-Thru=icon/thru.gif -TT-Thru=Thru sections -Dlg-Thru=Make a thru sections - -Icon-Evolved=icon/evolved.gif -TT-Evolved=Evolved -Dlg-Evolved=Make an evolved shape - -Icon-Draft=icon/draft.gif -TT-Draft=Draft angle -Dlg-Draft=Make a tapered shape - - diff --git a/samples/java/java/SampleTopologyTransformationsPanel.java b/samples/java/java/SampleTopologyTransformationsPanel.java deleted file mode 100755 index 978966b081..0000000000 --- a/samples/java/java/SampleTopologyTransformationsPanel.java +++ /dev/null @@ -1,385 +0,0 @@ - -//Title: OpenCASCADE Samples -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface Group (Nizhny Novgorod) -//Company: Matra Datavision -//Description: - - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import java.util.*; -import jcas.Standard_CString; -import CASCADESamplesJni.*; -import SamplesTopologyJni.*; -import util.*; - -public class SampleTopologyTransformationsPanel extends SamplePanel - implements ActionListener, - MouseListener, - MouseMotionListener -{ - //-----------------------------------------------------------// - // Resources - //-----------------------------------------------------------// - static protected ResourceBundle resGui = - ResourceBundle.getBundle("SampleTopologyTransformations"); - - static protected ImageIcon imgMirror = new ImageIcon(resGui.getString("Icon-Mirror")); - static protected ImageIcon imgMirroraxis = new ImageIcon(resGui.getString("Icon-Mirroraxis")); - static protected ImageIcon imgRotate = new ImageIcon(resGui.getString("Icon-Rotate")); - static protected ImageIcon imgScale = new ImageIcon(resGui.getString("Icon-Scale")); - static protected ImageIcon imgTranslation = new ImageIcon(resGui.getString("Icon-Translation")); - static protected ImageIcon imgDisplacement = new ImageIcon(resGui.getString("Icon-Displacement")); - static protected ImageIcon imgDeform = new ImageIcon(resGui.getString("Icon-Deform")); - - - //-----------------------------------------------------------// - // Components - //-----------------------------------------------------------// - private ViewPanel myView3d; - - private static V3d_Viewer myViewer3d = null; - - private static AIS_InteractiveContext myAISContext = null; - - private int startX = 0, startY = 0; - private boolean Dragged = false; - - - //-----------------------------------------------------------// - // External access - //-----------------------------------------------------------// - public static V3d_Viewer getViewer3d() - { - return myViewer3d; - } - - public static AIS_InteractiveContext getAISContext() - { - return myAISContext; - } - - -//=======================================================================// -// Constructor // -//=======================================================================// - public SampleTopologyTransformationsPanel() - { - // 3D Initialization - //------------------------------------------ - myViewer3d.SetDefaultLights(); - myViewer3d.SetLightOn(); - - if (myAISContext == null) - { - myAISContext = new AIS_InteractiveContext(myViewer3d); - myAISContext.SetDisplayMode(AIS_DisplayMode.AIS_Shaded, false); - } - } - -//-----------------------------------------------------------------------// - public JPanel createViewPanel() - { - JPanel mainPanel = new JPanel(); - mainPanel.setLayout(new GridBagLayout()); - mainPanel.setBorder(BorderFactory.createEmptyBorder(0, 5, 5, 0)); - - // Viewer 3D - //------------------------------------------ - myViewer3d = SamplesTopologyPackage.CreateViewer("TopologyTransformations"); - - myView3d = new ViewPanel() { - public ViewCanvas createViewPort() - { - return new CASCADEView3d(SampleTopologyTransformationsPanel.getViewer3d()) { - public void setWindow3d(V3d_View view, int hiwin, int lowin) { - SamplesTopologyPackage.SetWindow(view, hiwin, lowin); - } - }; - } - }; - - myView3d.addMouseListener(this); - myView3d.addMouseMotionListener(this); - - - // Layout - //------------------------------------------ - mainPanel.add(myView3d, new GridBagConstraints(0, 0, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.BOTH, - new Insets(0, 0, 0, 0), 0, 0)); - - return mainPanel; - } - -//-----------------------------------------------------------------------// - public Component createToolbar() - { - JToolBar tools = (JToolBar) super.createToolbar(); - - ButtonGroup group = new ButtonGroup(); - Insets margin = new Insets(1, 1, 1, 1); - JToggleButton button; - - button = new HeavyToggleButton(imgMirror, false); - button.setToolTipText(resGui.getString("TT-Mirror")); - button.setActionCommand("Mirror"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgMirroraxis, false); - button.setToolTipText(resGui.getString("TT-Mirroraxis")); - button.setActionCommand("Mirroraxis"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgRotate, false); - button.setToolTipText(resGui.getString("TT-Rotate")); - button.setActionCommand("Rotate"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgScale, false); - button.setToolTipText(resGui.getString("TT-Scale")); - button.setActionCommand("Scale"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgTranslation, false); - button.setToolTipText(resGui.getString("TT-Translation")); - button.setActionCommand("Translation"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgDisplacement, false); - button.setToolTipText(resGui.getString("TT-Displacement")); - button.setActionCommand("Displacement"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - button = new HeavyToggleButton(imgDeform, false); - button.setToolTipText(resGui.getString("TT-Deform")); - button.setActionCommand("Deform"); - button.addActionListener(this); - button.setMargin(margin); - group.add(button); - tools.add(button); - - return tools; - } - - -//=======================================================================// -// Actions // -//=======================================================================// - public void postProcess(TCollection_AsciiString message, String title) - { - myView3d.getViewPort().FitAll(); - - String text = message.ToCString().GetValue(); - text += "\n-------------------- END ----------------------\n"; - - traceMessage(text, title); - } - -//=======================================================================// -// Tests -//=======================================================================// - public void onMirror() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.Mirror(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Mirror")); - } - -//=======================================================================// - public void onMirroraxis() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.Mirroraxis(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Mirroraxis")); - } - -//=======================================================================// - public void onRotate() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.Rotate(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Rotate")); - } - - -//=======================================================================// - public void onScale() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.Scale(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Scale")); - } - - -//=======================================================================// - public void onTranslation() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.Translation(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Translation")); - } - - -//=======================================================================// - public void onDisplacement() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.Displacement(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Displacement")); - } - - -//=======================================================================// - public void onDeform() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.Deform(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Deform")); - } - - -//=======================================================================// -// ActionListener interface -//=======================================================================// - public void actionPerformed(ActionEvent e) - { - String command = e.getActionCommand(); - - if (command.equals("Mirror")) onMirror(); - else if (command.equals("Mirroraxis")) onMirroraxis(); - else if (command.equals("Rotate")) onRotate(); - else if (command.equals("Scale")) onScale(); - else if (command.equals("Translation")) onTranslation(); - else if (command.equals("Displacement")) onDisplacement(); - else if (command.equals("Deform")) onDeform(); - } - -//=======================================================================// -// MouseListener interface -//=======================================================================// - public void mouseClicked(MouseEvent e) - { - } - - public void mousePressed(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e)) - { - startX = e.getX(); - startY = e.getY(); - Object src = e.getSource(); - - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (view3d != null) - myAISContext.MoveTo(startX, startY, view3d); - } - } - else if (SwingUtilities.isRightMouseButton(e)) - { - if (e.getSource() == myView3d) - { - PopupMenu defPopup = myView3d.getDefaultPopup(); - myView3d.add(defPopup); - defPopup.show(myView3d, e.getX(), e.getY() + 30); - } - } - } - - public void mouseReleased(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e)) - { - Object src = e.getSource(); - - if (Dragged) - { - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (view3d != null) - { - if (e.isShiftDown()) - myAISContext.ShiftSelect(startX, startY, e.getX(), e.getY(), view3d, true); - else - myAISContext.Select(startX, startY, e.getX(), e.getY(), view3d, true); - } - } - } - else - { - if (src == myView3d) - { - if (e.isShiftDown()) - myAISContext.ShiftSelect(true); - else - myAISContext.Select(true); - } - } - Dragged = false; - } - } - - public void mouseEntered(MouseEvent e) - { - } - - public void mouseExited(MouseEvent e) - { - } - -//=======================================================================// -// MouseMotionListener interface -//=======================================================================// - public void mouseDragged(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e) && - e.getSource() == myView3d) - Dragged = true; - } - - public void mouseMoved(MouseEvent e) - { - Object src = e.getSource(); - - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (myAISContext != null && view3d != null) - myAISContext.MoveTo(e.getX(), e.getY(), view3d); - } - } - - -} - diff --git a/samples/java/java/SampleTopologyTransformations_en.properties b/samples/java/java/SampleTopologyTransformations_en.properties deleted file mode 100755 index 634dc21cf0..0000000000 --- a/samples/java/java/SampleTopologyTransformations_en.properties +++ /dev/null @@ -1,32 +0,0 @@ -#Wed Oct 12 18:09:59 GMT 1999 - -Icon-Mirror=icon/mirror.gif -TT-Mirror=Mirror point -Dlg-Mirror=Transform a shape with mirror and one point - -Icon-Mirroraxis=icon/mirroraxis.gif -TT-Mirroraxis=Mirror axis -Dlg-Mirroraxis=Transform a shape with mirror and one axis - -Icon-Rotate=icon/rotate.gif -TT-Rotate=Rotate -Dlg-Rotate=Transform a shape with rotation - -Icon-Scale=icon/scale.gif -TT-Scale=Scale -Dlg-Scale=Scale a shape with one point - -Icon-Translation=icon/translation.gif -TT-Translation=Translation -Dlg-Translation=Translate a shape with one vector - -Icon-Displacement=icon/displacement.gif -TT-Displacement=Displacement -Dlg-Displacement=Displace a shape with two coordinate systems - -Icon-Deform=icon/deform.gif -TT-Deform=Deformation -Dlg-Deform=Deform a shape with one matrix of deformation and one translation - - - diff --git a/samples/java/java/SampleTriangulationPanel.java b/samples/java/java/SampleTriangulationPanel.java deleted file mode 100755 index b1bd8fdee6..0000000000 --- a/samples/java/java/SampleTriangulationPanel.java +++ /dev/null @@ -1,306 +0,0 @@ - -//Title: OpenCASCADE Samples -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface Group (Nizhny Novgorod) -//Company: Matra Datavision -//Description: - - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import java.util.*; -import jcas.Standard_CString; -import CASCADESamplesJni.*; -import SamplesTopologyJni.*; -import util.*; - -public class SampleTriangulationPanel extends SamplePanel - implements ActionListener, - MouseListener, - MouseMotionListener -{ - //-----------------------------------------------------------// - // Resources - //-----------------------------------------------------------// - static protected ResourceBundle resGui = - ResourceBundle.getBundle("SampleTriangulation"); - - static protected ImageIcon imgMesh = new ImageIcon(resGui.getString("Icon-Mesh")); - static protected ImageIcon imgDisplay = new ImageIcon(resGui.getString("Icon-Display")); - static protected ImageIcon imgClear = new ImageIcon(resGui.getString("Icon-Clear")); - - - //-----------------------------------------------------------// - // Components - //-----------------------------------------------------------// - private ViewPanel myView3d; - - private static V3d_Viewer myViewer3d = null; - - private static AIS_InteractiveContext myAISContext = null; - - private int startX = 0, startY = 0; - private boolean Dragged = false; - - - //-----------------------------------------------------------// - // External access - //-----------------------------------------------------------// - public static V3d_Viewer getViewer3d() - { - return myViewer3d; - } - - public static AIS_InteractiveContext getAISContext() - { - return myAISContext; - } - - -//=======================================================================// -// Constructor // -//=======================================================================// - public SampleTriangulationPanel() - { - // 3D Initialization - //------------------------------------------ - myViewer3d.SetDefaultLights(); - myViewer3d.SetLightOn(); - - if (myAISContext == null) - { - myAISContext = new AIS_InteractiveContext(myViewer3d); - myAISContext.SetDisplayMode(AIS_DisplayMode.AIS_Shaded, false); - } - } - -//-----------------------------------------------------------------------// - public JPanel createViewPanel() - { - JPanel mainPanel = new JPanel(); - mainPanel.setLayout(new GridBagLayout()); - mainPanel.setBorder(BorderFactory.createEmptyBorder(0, 5, 5, 0)); - - // Viewer 3D - //------------------------------------------ - myViewer3d = SamplesTopologyPackage.CreateViewer("Triangulation"); - - myView3d = new ViewPanel() { - public ViewCanvas createViewPort() - { - return new CASCADEView3d(SampleTriangulationPanel.getViewer3d()) { - public void setWindow3d(V3d_View view, int hiwin, int lowin) { - SamplesTopologyPackage.SetWindow(view, hiwin, lowin); - } - }; - } - }; - - myView3d.addMouseListener(this); - myView3d.addMouseMotionListener(this); - - - // Layout - //------------------------------------------ - mainPanel.add(myView3d, new GridBagConstraints(0, 0, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.BOTH, - new Insets(0, 0, 0, 0), 0, 0)); - - return mainPanel; - } - -//-----------------------------------------------------------------------// - public Component createToolbar() - { - JToolBar tools = (JToolBar) super.createToolbar(); - - ButtonGroup group = new ButtonGroup(); - Insets margin = new Insets(1, 1, 1, 1); - JButton button; - - button = new HeavyButton(imgMesh); - button.setToolTipText(resGui.getString("TT-Mesh")); - button.setActionCommand("Mesh"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgDisplay); - button.setToolTipText(resGui.getString("TT-Display")); - button.setActionCommand("Display"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - tools.addSeparator();; - - button = new HeavyButton(imgClear); - button.setToolTipText(resGui.getString("TT-Clear")); - button.setActionCommand("Clear"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - return tools; - } - - -//=======================================================================// -// Actions // -//=======================================================================// - public void postProcess(TCollection_AsciiString message, String title) - { - myView3d.getViewPort().FitAll(); - - String text = message.ToCString().GetValue(); - text += "\n-------------------- END ----------------------\n"; - - traceMessage(text, title); - } - -//=======================================================================// -// Tests -//=======================================================================// - public void onMesh() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.BuildMesh(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Mesh")); - } - - -//=======================================================================// - public void onDisplay() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.DisplayMesh(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Display")); - } - - -//=======================================================================// - public void onClear() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SamplesTopologyPackage.ClearMesh(myAISContext, message); - - postProcess(message, resGui.getString("Dlg-Clear")); - } - - -//=======================================================================// -// ActionListener interface -//=======================================================================// - public void actionPerformed(ActionEvent e) - { - String command = e.getActionCommand(); - - if (command.equals("Mesh")) onMesh(); - else if (command.equals("Display")) onDisplay(); - else if (command.equals("Clear")) onClear(); - } - -//=======================================================================// -// MouseListener interface -//=======================================================================// - public void mouseClicked(MouseEvent e) - { - } - - public void mousePressed(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e)) - { - startX = e.getX(); - startY = e.getY(); - Object src = e.getSource(); - - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (view3d != null) - myAISContext.MoveTo(startX, startY, view3d); - } - } - else if (SwingUtilities.isRightMouseButton(e)) - { - if (e.getSource() == myView3d) - { - PopupMenu defPopup = myView3d.getDefaultPopup(); - myView3d.add(defPopup); - defPopup.show(myView3d, e.getX(), e.getY() + 30); - } - } - } - - public void mouseReleased(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e)) - { - Object src = e.getSource(); - - if (Dragged) - { - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (view3d != null) - { - if (e.isShiftDown()) - myAISContext.ShiftSelect(startX, startY, e.getX(), e.getY(), view3d, true); - else - myAISContext.Select(startX, startY, e.getX(), e.getY(), view3d, true); - } - } - } - else - { - if (src == myView3d) - { - if (e.isShiftDown()) - myAISContext.ShiftSelect(true); - else - myAISContext.Select(true); - } - } - Dragged = false; - } - } - - public void mouseEntered(MouseEvent e) - { - } - - public void mouseExited(MouseEvent e) - { - } - -//=======================================================================// -// MouseMotionListener interface -//=======================================================================// - public void mouseDragged(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e) && - e.getSource() == myView3d) - Dragged = true; - } - - public void mouseMoved(MouseEvent e) - { - Object src = e.getSource(); - - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (myAISContext != null && view3d != null) - myAISContext.MoveTo(e.getX(), e.getY(), view3d); - } - } - - -} - diff --git a/samples/java/java/SampleTriangulation_en.properties b/samples/java/java/SampleTriangulation_en.properties deleted file mode 100755 index 523d1ab36c..0000000000 --- a/samples/java/java/SampleTriangulation_en.properties +++ /dev/null @@ -1,16 +0,0 @@ -#Wed Oct 12 18:09:59 GMT 1999 - -Icon-Mesh=icon/mesh.gif -TT-Mesh=Mesh -Dlg-Mesh=Compute the triangulation on a shape - -Icon-Display=icon/display.gif -TT-Display=Display triangulation -Dlg-Display=Visualize the triangulation on a shape - -Icon-Clear=icon/clear.gif -TT-Clear=Clear -Dlg-Clear=Remove the triangulation - - - diff --git a/samples/java/java/SampleViewer3DJni/AlienImage_AlienImage.java b/samples/java/java/SampleViewer3DJni/AlienImage_AlienImage.java deleted file mode 100755 index 85249b8059..0000000000 --- a/samples/java/java/SampleViewer3DJni/AlienImage_AlienImage.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleViewer3DJni; - -import jcas.Object; - - -public class AlienImage_AlienImage extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("SampleViewer3DJni"); - } - -public AlienImage_AlienImage() { -} - - - - -} diff --git a/samples/java/java/SampleViewer3DJni/Aspect_Array1OfEdge.java b/samples/java/java/SampleViewer3DJni/Aspect_Array1OfEdge.java deleted file mode 100755 index 60609c1105..0000000000 --- a/samples/java/java/SampleViewer3DJni/Aspect_Array1OfEdge.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleViewer3DJni; - - - -public class Aspect_Array1OfEdge extends jcas.Object { - - static { - System.loadLibrary("SampleViewer3DJni"); - } - -public Aspect_Array1OfEdge() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/SampleViewer3DJni/Aspect_GraphicDriver.java b/samples/java/java/SampleViewer3DJni/Aspect_GraphicDriver.java deleted file mode 100755 index 1ae55215dc..0000000000 --- a/samples/java/java/SampleViewer3DJni/Aspect_GraphicDriver.java +++ /dev/null @@ -1,34 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleViewer3DJni; - -import jcas.Object; - - -public class Aspect_GraphicDriver extends CASCADESamplesJni.MMgt_TShared { - - static { - System.loadLibrary("SampleViewer3DJni"); - } - -public Aspect_GraphicDriver() { -} - - - - -} diff --git a/samples/java/java/SampleViewer3DJni/Graphic3d_Array1OfVertex.java b/samples/java/java/SampleViewer3DJni/Graphic3d_Array1OfVertex.java deleted file mode 100755 index c31aaebe6d..0000000000 --- a/samples/java/java/SampleViewer3DJni/Graphic3d_Array1OfVertex.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleViewer3DJni; - - - -public class Graphic3d_Array1OfVertex extends jcas.Object { - - static { - System.loadLibrary("SampleViewer3DJni"); - } - -public Graphic3d_Array1OfVertex() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/SampleViewer3DJni/Graphic3d_Array1OfVertexC.java b/samples/java/java/SampleViewer3DJni/Graphic3d_Array1OfVertexC.java deleted file mode 100755 index bc68eeed90..0000000000 --- a/samples/java/java/SampleViewer3DJni/Graphic3d_Array1OfVertexC.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleViewer3DJni; - - - -public class Graphic3d_Array1OfVertexC extends jcas.Object { - - static { - System.loadLibrary("SampleViewer3DJni"); - } - -public Graphic3d_Array1OfVertexC() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/SampleViewer3DJni/Graphic3d_Array1OfVertexN.java b/samples/java/java/SampleViewer3DJni/Graphic3d_Array1OfVertexN.java deleted file mode 100755 index 71733a80da..0000000000 --- a/samples/java/java/SampleViewer3DJni/Graphic3d_Array1OfVertexN.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleViewer3DJni; - - - -public class Graphic3d_Array1OfVertexN extends jcas.Object { - - static { - System.loadLibrary("SampleViewer3DJni"); - } - -public Graphic3d_Array1OfVertexN() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/SampleViewer3DJni/Graphic3d_Array1OfVertexNC.java b/samples/java/java/SampleViewer3DJni/Graphic3d_Array1OfVertexNC.java deleted file mode 100755 index d0a1c29e14..0000000000 --- a/samples/java/java/SampleViewer3DJni/Graphic3d_Array1OfVertexNC.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleViewer3DJni; - - - -public class Graphic3d_Array1OfVertexNC extends jcas.Object { - - static { - System.loadLibrary("SampleViewer3DJni"); - } - -public Graphic3d_Array1OfVertexNC() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/SampleViewer3DJni/Graphic3d_Array1OfVertexNT.java b/samples/java/java/SampleViewer3DJni/Graphic3d_Array1OfVertexNT.java deleted file mode 100755 index b85906ef70..0000000000 --- a/samples/java/java/SampleViewer3DJni/Graphic3d_Array1OfVertexNT.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleViewer3DJni; - - - -public class Graphic3d_Array1OfVertexNT extends jcas.Object { - - static { - System.loadLibrary("SampleViewer3DJni"); - } - -public Graphic3d_Array1OfVertexNT() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/SampleViewer3DJni/Graphic3d_Array2OfVertex.java b/samples/java/java/SampleViewer3DJni/Graphic3d_Array2OfVertex.java deleted file mode 100755 index 62d0ceba0e..0000000000 --- a/samples/java/java/SampleViewer3DJni/Graphic3d_Array2OfVertex.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleViewer3DJni; - - - -public class Graphic3d_Array2OfVertex extends jcas.Object { - - static { - System.loadLibrary("SampleViewer3DJni"); - } - -public Graphic3d_Array2OfVertex() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/SampleViewer3DJni/Graphic3d_Array2OfVertexN.java b/samples/java/java/SampleViewer3DJni/Graphic3d_Array2OfVertexN.java deleted file mode 100755 index c619327a36..0000000000 --- a/samples/java/java/SampleViewer3DJni/Graphic3d_Array2OfVertexN.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleViewer3DJni; - - - -public class Graphic3d_Array2OfVertexN extends jcas.Object { - - static { - System.loadLibrary("SampleViewer3DJni"); - } - -public Graphic3d_Array2OfVertexN() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/SampleViewer3DJni/Graphic3d_Array2OfVertexNT.java b/samples/java/java/SampleViewer3DJni/Graphic3d_Array2OfVertexNT.java deleted file mode 100755 index 730fce5d71..0000000000 --- a/samples/java/java/SampleViewer3DJni/Graphic3d_Array2OfVertexNT.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleViewer3DJni; - - - -public class Graphic3d_Array2OfVertexNT extends jcas.Object { - - static { - System.loadLibrary("SampleViewer3DJni"); - } - -public Graphic3d_Array2OfVertexNT() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/SampleViewer3DJni/Graphic3d_GraphicDriver.java b/samples/java/java/SampleViewer3DJni/Graphic3d_GraphicDriver.java deleted file mode 100755 index f2a81a9c54..0000000000 --- a/samples/java/java/SampleViewer3DJni/Graphic3d_GraphicDriver.java +++ /dev/null @@ -1,116 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleViewer3DJni; - -import jcas.Object; -import jcas.Standard_CString; -import jcas.Standard_Boolean; -import jcas.Standard_Integer; -import jcas.Standard_ShortReal; -import CASCADESamplesJni.TColStd_Array2OfReal; -import SampleViewer3DJni.Graphic3d_TypeOfComposition; -import jcas.Standard_Short; -import SampleViewer3DJni.Graphic3d_TypeOfTexture; -import SampleViewer3DJni.AlienImage_AlienImage; - - -public class Graphic3d_GraphicDriver extends SampleViewer3DJni.Aspect_GraphicDriver { - - static { - System.loadLibrary("SampleViewer3DJni"); - } - -public Graphic3d_GraphicDriver(Standard_CString AShrName) { - Graphic3d_GraphicDriver_Create_0(AShrName); -} - -private final native void Graphic3d_GraphicDriver_Create_0(Standard_CString AShrName); - -native public boolean Begin(Standard_CString ADisplay); -native public void End(); -native public int InquireLightLimit(); -native public int InquirePlaneLimit(); -native public int InquireViewLimit(); -native public boolean InquireTextureAvailable(); -native public void InitPick(); -native public void EndAddMode(); -native public void BeginPolyline(); - public void Draw(float X,float Y,float Z) { - Graphic3d_GraphicDriver_Draw_1(X,Y,Z); -} - -private native void Graphic3d_GraphicDriver_Draw_1(float X,float Y,float Z); - -native public void EndImmediatMode(int Synchronize); -native public void EndPolyline(); - public void Move(float X,float Y,float Z) { - Graphic3d_GraphicDriver_Move_1(X,Y,Z); -} - -private native void Graphic3d_GraphicDriver_Move_1(float X,float Y,float Z); - -native public void SetLineColor(float R,float G,float B); -native public void SetLineType(int Type); -native public void SetLineWidth(float Width); -native public void SetMinMax(float X1,float Y1,float Z1,float X2,float Y2,float Z2); -native public void Transform(TColStd_Array2OfReal AMatrix,short AType); -native public int CreateTexture(short Type,AlienImage_AlienImage Image,Standard_CString FileName); -native public void DestroyTexture(int TexId); -native public void BeginPolygon2d(); -native public void BeginPolyline2d(); - public void Draw(float X,float Y) { - Graphic3d_GraphicDriver_Draw_2(X,Y); -} - -private native void Graphic3d_GraphicDriver_Draw_2(float X,float Y); - -native public void Edge(float X,float Y); -native public void EndLayer(); -native public void EndPolygon2d(); -native public void EndPolyline2d(); - public void Move(float X,float Y) { - Graphic3d_GraphicDriver_Move_2(X,Y); -} - -private native void Graphic3d_GraphicDriver_Move_2(float X,float Y); - -native public void Rectangle(float X,float Y,float Width,float Height); -native public void SetColor(float R,float G,float B); -native public void SetLineAttributes(int Type,float Width); -native public void SetTextAttributes(int Font,int Type,float R,float G,float B); - public void Text(Standard_CString AText,float X,float Y,float AHeight) { - Graphic3d_GraphicDriver_Text_5(AText,X,Y,AHeight); -} - -private native void Graphic3d_GraphicDriver_Text_5(Standard_CString AText,float X,float Y,float AHeight); - -native public final void PrintBoolean(Standard_CString AComment,boolean AValue); -native public final void PrintFunction(Standard_CString AFunc); -native public final void PrintInteger(Standard_CString AComment,int AValue); -native public final void PrintIResult(Standard_CString AFunc,int AResult); -native public final void PrintShortReal(Standard_CString AComment,float AValue); -native public final void PrintMatrix(Standard_CString AComment,TColStd_Array2OfReal AMatrix); -native public final void PrintString(Standard_CString AComment,Standard_CString AString); -native public final void SetTrace(int ALevel); -native public final int Trace(); -public Graphic3d_GraphicDriver() { -} - - - - -} diff --git a/samples/java/java/SampleViewer3DJni/Graphic3d_HorizontalTextAlignment.java b/samples/java/java/SampleViewer3DJni/Graphic3d_HorizontalTextAlignment.java deleted file mode 100755 index f2c43d90ff..0000000000 --- a/samples/java/java/SampleViewer3DJni/Graphic3d_HorizontalTextAlignment.java +++ /dev/null @@ -1,29 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleViewer3DJni; - - -public class Graphic3d_HorizontalTextAlignment extends jcas.Standard_Enumeration { - -public final static short Graphic3d_HTA_NORMAL = 0; -public final static short Graphic3d_HTA_LEFT = 1; -public final static short Graphic3d_HTA_CENTER = 2; -public final static short Graphic3d_HTA_RIGHT = 3; - - - -} diff --git a/samples/java/java/SampleViewer3DJni/Graphic3d_TextPath.java b/samples/java/java/SampleViewer3DJni/Graphic3d_TextPath.java deleted file mode 100755 index 8940ce071a..0000000000 --- a/samples/java/java/SampleViewer3DJni/Graphic3d_TextPath.java +++ /dev/null @@ -1,29 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleViewer3DJni; - - -public class Graphic3d_TextPath extends jcas.Standard_Enumeration { - -public final static short Graphic3d_TP_UP = 0; -public final static short Graphic3d_TP_DOWN = 1; -public final static short Graphic3d_TP_LEFT = 2; -public final static short Graphic3d_TP_RIGHT = 3; - - - -} diff --git a/samples/java/java/SampleViewer3DJni/Graphic3d_TypeOfComposition.java b/samples/java/java/SampleViewer3DJni/Graphic3d_TypeOfComposition.java deleted file mode 100755 index c0200b745c..0000000000 --- a/samples/java/java/SampleViewer3DJni/Graphic3d_TypeOfComposition.java +++ /dev/null @@ -1,27 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleViewer3DJni; - - -public class Graphic3d_TypeOfComposition extends jcas.Standard_Enumeration { - -public final static short Graphic3d_TOC_REPLACE = 0; -public final static short Graphic3d_TOC_POSTCONCATENATE = 1; - - - -} diff --git a/samples/java/java/SampleViewer3DJni/Graphic3d_TypeOfPolygon.java b/samples/java/java/SampleViewer3DJni/Graphic3d_TypeOfPolygon.java deleted file mode 100755 index ad71daa6b2..0000000000 --- a/samples/java/java/SampleViewer3DJni/Graphic3d_TypeOfPolygon.java +++ /dev/null @@ -1,29 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleViewer3DJni; - - -public class Graphic3d_TypeOfPolygon extends jcas.Standard_Enumeration { - -public final static short Graphic3d_TOP_UNKNOWN = 0; -public final static short Graphic3d_TOP_COMPLEX = 1; -public final static short Graphic3d_TOP_CONCAVE = 2; -public final static short Graphic3d_TOP_CONVEX = 3; - - - -} diff --git a/samples/java/java/SampleViewer3DJni/Graphic3d_TypeOfPrimitive.java b/samples/java/java/SampleViewer3DJni/Graphic3d_TypeOfPrimitive.java deleted file mode 100755 index f1eab24ce6..0000000000 --- a/samples/java/java/SampleViewer3DJni/Graphic3d_TypeOfPrimitive.java +++ /dev/null @@ -1,32 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleViewer3DJni; - - -public class Graphic3d_TypeOfPrimitive extends jcas.Standard_Enumeration { - -public final static short Graphic3d_TOP_UNDEFINED = 0; -public final static short Graphic3d_TOP_POLYLINE = 1; -public final static short Graphic3d_TOP_POLYGON = 2; -public final static short Graphic3d_TOP_TRIANGLEMESH = 3; -public final static short Graphic3d_TOP_QUADRANGLEMESH = 4; -public final static short Graphic3d_TOP_TEXT = 5; -public final static short Graphic3d_TOP_MARKER = 6; - - - -} diff --git a/samples/java/java/SampleViewer3DJni/Graphic3d_TypeOfTexture.java b/samples/java/java/SampleViewer3DJni/Graphic3d_TypeOfTexture.java deleted file mode 100755 index 5e82869482..0000000000 --- a/samples/java/java/SampleViewer3DJni/Graphic3d_TypeOfTexture.java +++ /dev/null @@ -1,28 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleViewer3DJni; - - -public class Graphic3d_TypeOfTexture extends jcas.Standard_Enumeration { - -public final static short Graphic3d_TOT_1D = 0; -public final static short Graphic3d_TOT_2D = 1; -public final static short Graphic3d_TOT_2D_MIPMAP = 2; - - - -} diff --git a/samples/java/java/SampleViewer3DJni/Graphic3d_VertexN.java b/samples/java/java/SampleViewer3DJni/Graphic3d_VertexN.java deleted file mode 100755 index d425cbaa96..0000000000 --- a/samples/java/java/SampleViewer3DJni/Graphic3d_VertexN.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleViewer3DJni; - - - -public class Graphic3d_VertexN extends CASCADESamplesJni.Graphic3d_Vertex { - - static { - System.loadLibrary("SampleViewer3DJni"); - } - -public Graphic3d_VertexN() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/SampleViewer3DJni/Graphic3d_VertexNC.java b/samples/java/java/SampleViewer3DJni/Graphic3d_VertexNC.java deleted file mode 100755 index fe1f6d29e7..0000000000 --- a/samples/java/java/SampleViewer3DJni/Graphic3d_VertexNC.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleViewer3DJni; - - - -public class Graphic3d_VertexNC extends SampleViewer3DJni.Graphic3d_VertexN { - - static { - System.loadLibrary("SampleViewer3DJni"); - } - -public Graphic3d_VertexNC() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/SampleViewer3DJni/Graphic3d_VerticalTextAlignment.java b/samples/java/java/SampleViewer3DJni/Graphic3d_VerticalTextAlignment.java deleted file mode 100755 index de0863be88..0000000000 --- a/samples/java/java/SampleViewer3DJni/Graphic3d_VerticalTextAlignment.java +++ /dev/null @@ -1,31 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleViewer3DJni; - - -public class Graphic3d_VerticalTextAlignment extends jcas.Standard_Enumeration { - -public final static short Graphic3d_VTA_NORMAL = 0; -public final static short Graphic3d_VTA_TOP = 1; -public final static short Graphic3d_VTA_CAP = 2; -public final static short Graphic3d_VTA_HALF = 3; -public final static short Graphic3d_VTA_BASE = 4; -public final static short Graphic3d_VTA_BOTTOM = 5; - - - -} diff --git a/samples/java/java/SampleViewer3DJni/SampleViewer3DPackage.java b/samples/java/java/SampleViewer3DJni/SampleViewer3DPackage.java deleted file mode 100755 index d3cd4cd564..0000000000 --- a/samples/java/java/SampleViewer3DJni/SampleViewer3DPackage.java +++ /dev/null @@ -1,77 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleViewer3DJni; - -import CASCADESamplesJni.V3d_Viewer; -import jcas.Standard_ExtString; -import CASCADESamplesJni.V3d_View; -import jcas.Standard_Integer; -import SampleViewer3DJni.Graphic3d_GraphicDriver; -import CASCADESamplesJni.AIS_InteractiveContext; -import CASCADESamplesJni.TCollection_AsciiString; -import jcas.Standard_Real; -import CASCADESamplesJni.V3d_TypeOfZclipping; -import jcas.Standard_Short; -import jcas.Standard_Boolean; -import CASCADESamplesJni.V3d_TypeOfShadingModel; - - -public class SampleViewer3DPackage { - - static { - System.loadLibrary("SampleViewer3DJni"); - } - -native public static V3d_Viewer CreateViewer(String aName); -native public static void SetWindow(V3d_View aView,int hiwin,int lowin); -native public static Graphic3d_GraphicDriver CreateGraphicDriver(); -native public static void DisplayBox(AIS_InteractiveContext aContext); -native public static void DisplayCylinder(AIS_InteractiveContext aContext); -native public static void DisplaySphere(AIS_InteractiveContext aContext); -native public static void EraseAll(AIS_InteractiveContext aContext); -native public static void CreateSpotLight(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void SetSpotLight(AIS_InteractiveContext aContext,V3d_View aView,int X,int Y,TCollection_AsciiString Message); -native public static void DirectingSpotLight(AIS_InteractiveContext aContext,V3d_View aView,int X,int Y); -native public static void DirectSpotLight(V3d_View aView,int X,int Y,TCollection_AsciiString Message); -native public static void ExpandingSpotLight(AIS_InteractiveContext aContext,V3d_View aView,int X,int Y); -native public static void ExpandSpotLight(AIS_InteractiveContext aContext); -native public static void CreatePositionalLight(AIS_InteractiveContext aContext,V3d_View aView,TCollection_AsciiString Message); -native public static void DirectingPositionalLight(V3d_View aView,int X,int Y); -native public static void DirectPositionalLight(AIS_InteractiveContext aContext,V3d_View aView,int X,int Y,TCollection_AsciiString Message); -native public static void CreateDirectionalLight(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void SetDirectionalLight(AIS_InteractiveContext aContext,V3d_View aView,int X,int Y,TCollection_AsciiString Message); -native public static void DirectingDirectionalLight(AIS_InteractiveContext aContext,V3d_View aView,int X,int Y); -native public static void DirectDirectionalLight(AIS_InteractiveContext aContext); -native public static void CreateAmbientLight(AIS_InteractiveContext aContext,V3d_View aView,TCollection_AsciiString Message); -native public static void ClearLights(V3d_View aView,TCollection_AsciiString Message); -native public static void ChangeZClippingDepth(V3d_View aView,double Depth,TCollection_AsciiString Message); -native public static void ChangeZClippingWidth(V3d_View aView,double Width,TCollection_AsciiString Message); -native public static void ChangeZClippingType(V3d_View aView,short Type,TCollection_AsciiString Message); -native public static void ChangeZCueingDepth(V3d_View aView,double Depth,TCollection_AsciiString Message); -native public static void ChangeZCueingWidth(V3d_View aView,double Width,TCollection_AsciiString Message); -native public static void ChangeZCueingOnOff(V3d_View aView,boolean IsOn,TCollection_AsciiString Message); -native public static void ChangeShadingModel(V3d_View aView,short Model); -native public static void ChangeAntialiasing(V3d_View aView,TCollection_AsciiString Message); -native public static void CreateClippingPlane(V3d_Viewer aViewer); -native public static void DisplayClippingPlane(AIS_InteractiveContext aContext,V3d_View aView,Standard_Real Z,Standard_Boolean IsOn); -native public static void ChangeModelClippingZ(AIS_InteractiveContext aContext,V3d_View aView,double Z,boolean IsOn,TCollection_AsciiString Message); -native public static void ChangeModelClippingOnOff(AIS_InteractiveContext aContext,V3d_View aView,boolean IsOn,TCollection_AsciiString Message); -native public static void ClearClippingPlane(AIS_InteractiveContext aContext,V3d_View aView,boolean IsOn); - - - -} diff --git a/samples/java/java/SampleViewer3DJni/TColStd_Array1OfInteger.java b/samples/java/java/SampleViewer3DJni/TColStd_Array1OfInteger.java deleted file mode 100755 index 34abce8b45..0000000000 --- a/samples/java/java/SampleViewer3DJni/TColStd_Array1OfInteger.java +++ /dev/null @@ -1,41 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SampleViewer3DJni; - - - -public class TColStd_Array1OfInteger extends jcas.Object { - - static { - System.loadLibrary("SampleViewer3DJni"); - } - -public TColStd_Array1OfInteger() { -} - - - -public native static void FinalizeValue(long anHID); - -public void finalize() { - synchronized(myCasLock) { - if ( aVirer != 0 ) FinalizeValue(HID); - HID = 0; - } -} - -} diff --git a/samples/java/java/SampleViewer3DPanel.java b/samples/java/java/SampleViewer3DPanel.java deleted file mode 100755 index 80d1b6d780..0000000000 --- a/samples/java/java/SampleViewer3DPanel.java +++ /dev/null @@ -1,670 +0,0 @@ - -//Title: OpenCASCADE Samples -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface Group (Nizhny Novgorod) -//Company: Matra Datavision -//Description: - - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import java.util.*; -import jcas.Standard_CString; -import CASCADESamplesJni.*; -import SampleViewer3DJni.*; -import util.*; - -public class SampleViewer3DPanel extends SamplePanel - implements ActionListener, - MouseListener, - MouseMotionListener -{ - //-----------------------------------------------------------// - // Resources - //-----------------------------------------------------------// - static protected ResourceBundle resGui = - ResourceBundle.getBundle("SampleViewer3D"); - - static private ImageIcon imgBox = new ImageIcon(resGui.getString("Icon-Box")); - static private ImageIcon imgCylinder = new ImageIcon(resGui.getString("Icon-Cylinder")); - static private ImageIcon imgSphere = new ImageIcon(resGui.getString("Icon-Sphere")); - static private ImageIcon imgEraseAll = new ImageIcon(resGui.getString("Icon-EraseAll")); - static private ImageIcon imgSpotLight = new ImageIcon(resGui.getString("Icon-SpotLight")); - static private ImageIcon imgPositionalLight = new ImageIcon(resGui.getString("Icon-PositionalLight")); - static private ImageIcon imgDirectionalLight = new ImageIcon(resGui.getString("Icon-DirectionalLight")); - static private ImageIcon imgAmbientLight = new ImageIcon(resGui.getString("Icon-AmbientLight")); - static private ImageIcon imgClearLights = new ImageIcon(resGui.getString("Icon-ClearLights")); - static private ImageIcon imgZClipping = new ImageIcon(resGui.getString("Icon-ZClipping")); - static private ImageIcon imgZCueing = new ImageIcon(resGui.getString("Icon-ZCueing")); - static private ImageIcon imgShadingModel = new ImageIcon(resGui.getString("Icon-ShadingModel")); - static private ImageIcon imgAntialiasing = new ImageIcon(resGui.getString("Icon-Antialiasing")); - static private ImageIcon imgModelClipping = new ImageIcon(resGui.getString("Icon-ModelClipping")); - - - //-----------------------------------------------------------// - // Components - //-----------------------------------------------------------// - private ViewPanel myView3d; - - private static Graphic3d_GraphicDriver myGraphicDriver = null; - private static V3d_Viewer myViewer3d = null; - private static AIS_InteractiveContext myAISContext = null; - - private int startX = 0, startY = 0; - private boolean Dragged = false; - - - //-----------------------------------------------------------// - // Actions - //-----------------------------------------------------------// - private static final int CurAction3d_Nothing = 0; - private static final int CurAction3d_BeginSpotLight = 1; - private static final int CurAction3d_TargetSpotLight = 2; - private static final int CurAction3d_EndSpotLight = 3; - private static final int CurAction3d_BeginPositionalLight = 4; - private static final int CurAction3d_BeginDirectionalLight = 5; - private static final int CurAction3d_EndDirectionalLight = 6; - - private int myCurrentMode = CurAction3d_Nothing; - private V3d_View myView = null; - private int NbActiveLights = 2; // There are 2 default active lights - - - //-----------------------------------------------------------// - // External access - //-----------------------------------------------------------// - public static Graphic3d_GraphicDriver getGraphicDriver() - { - return myGraphicDriver; - } - - public static V3d_Viewer getViewer3d() - { - return myViewer3d; - } - - public static AIS_InteractiveContext getAISContext() - { - return myAISContext; - } - - -//=======================================================================// -// Constructor // -//=======================================================================// - public SampleViewer3DPanel() - { - // 3D Initialization - //------------------------------------------ - myViewer3d.SetDefaultLights(); - myViewer3d.SetLightOn(); - - if (myAISContext == null) - myAISContext = new AIS_InteractiveContext(myViewer3d); - } - -//-----------------------------------------------------------------------// - public JPanel createViewPanel() - { - JPanel mainPanel = new JPanel(); - mainPanel.setLayout(new GridBagLayout()); - mainPanel.setBorder(BorderFactory.createEmptyBorder(0, 5, 5, 0)); - - // Viewer 3D - //------------------------------------------ - myGraphicDriver = SampleViewer3DPackage.CreateGraphicDriver(); - myViewer3d = SampleViewer3DPackage.CreateViewer("Viewer3D"); - - myView3d = new ViewPanel() { - public ViewCanvas createViewPort() - { - return new CASCADEView3d(SampleViewer3DPanel.getViewer3d()) { - public void setWindow3d(V3d_View view, int hiwin, int lowin) { - SampleViewer3DPackage.SetWindow(view, hiwin, lowin); - } - }; - } - }; - - myView3d.addMouseListener(this); - myView3d.addMouseMotionListener(this); - - - // Layout - //------------------------------------------ - mainPanel.add(myView3d, new GridBagConstraints(0, 0, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.BOTH, - new Insets(0, 0, 0, 0), 0, 0)); - - return mainPanel; - } - -//-----------------------------------------------------------------------// - public Component createToolbar() - { - JToolBar tools = (JToolBar) super.createToolbar(); - - ButtonGroup group = new ButtonGroup(); - Insets margin = new Insets(1, 1, 1, 1); - JButton button; - - button = new HeavyButton(imgBox); - button.setToolTipText(resGui.getString("Help-Box")); - button.setActionCommand("Box"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgCylinder); - button.setToolTipText(resGui.getString("Help-Cylinder")); - button.setActionCommand("Cylinder"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgSphere); - button.setToolTipText(resGui.getString("Help-Sphere")); - button.setActionCommand("Sphere"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - tools.addSeparator();; - - button = new HeavyButton(imgEraseAll); - button.setToolTipText(resGui.getString("Help-EraseAll")); - button.setActionCommand("EraseAll"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - tools.addSeparator();; - - button = new HeavyButton(imgSpotLight); - button.setToolTipText(resGui.getString("Help-SpotLight")); - button.setActionCommand("SpotLight"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgPositionalLight); - button.setToolTipText(resGui.getString("Help-PositionalLight")); - button.setActionCommand("PositionalLight"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgDirectionalLight); - button.setToolTipText(resGui.getString("Help-DirectionalLight")); - button.setActionCommand("DirectionalLight"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgAmbientLight); - button.setToolTipText(resGui.getString("Help-AmbientLight")); - button.setActionCommand("AmbientLight"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgClearLights); - button.setToolTipText(resGui.getString("Help-ClearLights")); - button.setActionCommand("ClearLights"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - tools.addSeparator();; - - button = new HeavyButton(imgZClipping); - button.setToolTipText(resGui.getString("Help-ZClipping")); - button.setActionCommand("ZClipping"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgZCueing); - button.setToolTipText(resGui.getString("Help-ZCueing")); - button.setActionCommand("ZCueing"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - tools.addSeparator();; - - button = new HeavyButton(imgShadingModel); - button.setToolTipText(resGui.getString("Help-ShadingModel")); - button.setActionCommand("ShadingModel"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - button = new HeavyButton(imgAntialiasing); - button.setToolTipText(resGui.getString("Help-Antialiasing")); - button.setActionCommand("Antialiasing"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - tools.addSeparator();; - - button = new HeavyButton(imgModelClipping); - button.setToolTipText(resGui.getString("Help-ModelClipping")); - button.setActionCommand("ModelClipping"); - button.addActionListener(this); - button.setMargin(margin); - tools.add(button); - - return tools; - } - - -//=======================================================================// -// Actions -//=======================================================================// - public void onBox() - { - SampleViewer3DPackage.DisplayBox(myAISContext); - } - - public void onCylinder() - { - SampleViewer3DPackage.DisplayCylinder(myAISContext); - } - - public void onSphere() - { - SampleViewer3DPackage.DisplaySphere(myAISContext); - } - - public void onEraseAll() - { - SampleViewer3DPackage.EraseAll(myAISContext); - } - -//=======================================================================// - public void onSpotLight() - { - if (NbActiveLights >= myGraphicDriver.InquireLightLimit()) - { - String tmp = new String("You have reach the limit number of active lights "); - tmp += myGraphicDriver.InquireLightLimit(); - tmp += ".\n"; - tmp += "Clear lights to create new ones."; - JOptionPane.showMessageDialog(this, tmp); - return; - } - - myView = ((CASCADEView3d) myView3d.getViewPort()).getView(); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleViewer3DPackage.CreateSpotLight(myAISContext, message); - - NbActiveLights++; - - myCurrentMode = CurAction3d_BeginSpotLight; - SamplesStarter.put_info("Pick the light position"); - - traceMessage(message.ToCString().GetValue(), "V3d_SpotLight"); - } - -//=======================================================================// - public void onPositionalLight() - { - if (NbActiveLights >= myGraphicDriver.InquireLightLimit()) - { - String tmp = new String("You have reach the limit number of active lights "); - tmp += myGraphicDriver.InquireLightLimit(); - tmp += ".\n"; - tmp += "Clear lights to create new ones."; - JOptionPane.showMessageDialog(this, tmp); - return; - } - - myView = ((CASCADEView3d) myView3d.getViewPort()).getView(); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleViewer3DPackage.CreatePositionalLight(myAISContext, myView, message); - - NbActiveLights++; - - myCurrentMode = CurAction3d_BeginPositionalLight; - SamplesStarter.put_info("Pick the light position"); - - traceMessage(message.ToCString().GetValue(), "V3d_PositionalLight"); - } - -//=======================================================================// - public void onDirectionalLight() - { - if (NbActiveLights >= myGraphicDriver.InquireLightLimit()) - { - String tmp = new String("You have reach the limit number of active lights "); - tmp += myGraphicDriver.InquireLightLimit(); - tmp += ".\n"; - tmp += "Clear lights to create new ones."; - JOptionPane.showMessageDialog(this, tmp); - return; - } - - myView = ((CASCADEView3d) myView3d.getViewPort()).getView(); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleViewer3DPackage.CreateDirectionalLight(myAISContext, message); - - NbActiveLights++; - - myCurrentMode = CurAction3d_BeginDirectionalLight; - SamplesStarter.put_info("Pick a first point"); - - traceMessage(message.ToCString().GetValue(), "V3d_DirectionalLight"); - } - -//=======================================================================// - public void onAmbientLight() - { - if (NbActiveLights >= myGraphicDriver.InquireLightLimit()) - { - String tmp = new String("You have reach the limit number of active lights "); - tmp += myGraphicDriver.InquireLightLimit(); - tmp += ".\n"; - tmp += "Clear lights to create new ones."; - JOptionPane.showMessageDialog(this, tmp); - return; - } - - myView = ((CASCADEView3d) myView3d.getViewPort()).getView(); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleViewer3DPackage.CreateAmbientLight(myAISContext, myView, message); - - NbActiveLights++; - - traceMessage(message.ToCString().GetValue(), "V3d_AmbientLight"); - } - -//=======================================================================// - public void onClearLights() - { - myView = ((CASCADEView3d) myView3d.getViewPort()).getView(); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleViewer3DPackage.ClearLights(myView, message); - - NbActiveLights = 2; // There are 2 default active lights - - traceMessage(message.ToCString().GetValue(), "SetLightOff"); - } - -//=======================================================================// - public void onZClipping() - { - myView = ((CASCADEView3d) myView3d.getViewPort()).getView(); - - ZClippingDlg theDlg = new ZClippingDlg(SamplesStarter.getFrame(), this, myView); - Position.centerWindow(theDlg); - theDlg.show(); - } - -//=======================================================================// - public void onZCueing() - { - myView = ((CASCADEView3d) myView3d.getViewPort()).getView(); - - ZCueingDlg theDlg = new ZCueingDlg(SamplesStarter.getFrame(), this, myView); - Position.centerWindow(theDlg); - theDlg.show(); - } - -//=======================================================================// - public void onShadingModel() - { - myView = ((CASCADEView3d) myView3d.getViewPort()).getView(); - - String message = new String("\n"); - message += "myView->SetShadingModel(Model);\n"; - message += "myView->Update();\n"; - message += "\n"; - - traceMessage(message, "SetShadingModel"); - - ShadingModelDlg theDlg = new ShadingModelDlg(SamplesStarter.getFrame(), myView); - Position.centerWindow(theDlg); - theDlg.show(); - } - -//=======================================================================// - public void onAntialiasing() - { - myView = ((CASCADEView3d) myView3d.getViewPort()).getView(); - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleViewer3DPackage.ChangeAntialiasing(myView, message); - - traceMessage(message.ToCString().GetValue(), "SetAntialiasingOn/SetAntialiasingOff"); - } - -//=======================================================================// - public void onModelClipping() - { - myView = ((CASCADEView3d) myView3d.getViewPort()).getView(); - - SampleViewer3DPackage.CreateClippingPlane(myViewer3d); - - ModelClippingDlg theDlg = new ModelClippingDlg(SamplesStarter.getFrame(), this, myView); - Position.centerWindow(theDlg); - theDlg.show(); - } - - -//=======================================================================// -// ActionListener interface -//=======================================================================// - public void actionPerformed(ActionEvent e) - { - String command = e.getActionCommand(); - - if (command.equals("Box")) onBox(); - else if (command.equals("Cylinder")) onCylinder(); - else if (command.equals("Sphere")) onSphere(); - else if (command.equals("EraseAll")) onEraseAll(); - - else if (command.equals("SpotLight")) onSpotLight(); - else if (command.equals("PositionalLight")) onPositionalLight(); - else if (command.equals("DirectionalLight")) onDirectionalLight(); - else if (command.equals("AmbientLight")) onAmbientLight(); - else if (command.equals("ClearLights")) onClearLights(); - - else if (command.equals("ZClipping")) onZClipping(); - else if (command.equals("ZCueing")) onZCueing(); - - else if (command.equals("ShadingModel")) onShadingModel(); - else if (command.equals("Antialiasing")) onAntialiasing(); - - else if (command.equals("ModelClipping")) onModelClipping(); - } - -//=======================================================================// -// MouseListener interface -//=======================================================================// - public void mouseClicked(MouseEvent e) - { - } - - public void mousePressed(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e)) - { - TCollection_AsciiString message = new TCollection_AsciiString(); - switch (myCurrentMode) - { - case CurAction3d_BeginPositionalLight: - SampleViewer3DPackage.DirectPositionalLight(myAISContext, myView, - e.getX(), e.getY(), message); - - myCurrentMode = CurAction3d_Nothing; - SamplesStarter.put_info("Ready"); - - traceMessage(message.ToCString().GetValue(), "SetPosition"); - break; - - case CurAction3d_BeginSpotLight: - SampleViewer3DPackage.SetSpotLight(myAISContext, myView, - e.getX(), e.getY(), message); - - myCurrentMode = CurAction3d_TargetSpotLight; - SamplesStarter.put_info("Pick the target point"); - - traceMessage(message.ToCString().GetValue(), "SetDirection"); - break; - - case CurAction3d_TargetSpotLight: - SampleViewer3DPackage.DirectSpotLight(myView, e.getX(), e.getY(), message); - - myCurrentMode = CurAction3d_EndSpotLight; - SamplesStarter.put_info("Pick a third point (to define the angle)"); - - traceMessage(message.ToCString().GetValue(), "SetAngle"); - break; - - case CurAction3d_EndSpotLight: - SampleViewer3DPackage.ExpandSpotLight(myAISContext); - - myCurrentMode = CurAction3d_Nothing; - SamplesStarter.put_info("Ready"); - break; - - case CurAction3d_BeginDirectionalLight: - SampleViewer3DPackage.SetDirectionalLight(myAISContext, myView, - e.getX(), e.getY(), message); - - myCurrentMode = CurAction3d_EndDirectionalLight; - SamplesStarter.put_info("Pick the target point"); - - traceMessage(message.ToCString().GetValue(), "SetDirection"); - break; - - case CurAction3d_EndDirectionalLight: - SampleViewer3DPackage.DirectDirectionalLight(myAISContext); - - myCurrentMode = CurAction3d_Nothing; - SamplesStarter.put_info("Ready"); - break; - - case CurAction3d_Nothing: - startX = e.getX(); - startY = e.getY(); - Object src = e.getSource(); - - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (view3d != null) - myAISContext.MoveTo(startX, startY, view3d); - } - } - } - else if (SwingUtilities.isRightMouseButton(e)) - { - if (e.getSource() == myView3d) - { - PopupMenu defPopup = myView3d.getDefaultPopup(); - myView3d.add(defPopup); - defPopup.show(myView3d, e.getX(), e.getY() + 30); - } - } - } - - public void mouseReleased(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e) && - (myCurrentMode == CurAction3d_Nothing)) - { - Object src = e.getSource(); - - if (Dragged) - { - if (src == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (view3d != null) - { - if (e.isShiftDown()) - myAISContext.ShiftSelect(startX, startY, e.getX(), e.getY(), view3d, true); - else - myAISContext.Select(startX, startY, e.getX(), e.getY(), view3d, true); - } - } - } - else - { - if (src == myView3d) - { - if (e.isShiftDown()) - myAISContext.ShiftSelect(true); - else - myAISContext.Select(true); - } - } - Dragged = false; - } - } - - public void mouseEntered(MouseEvent e) - { - } - - public void mouseExited(MouseEvent e) - { - } - -//=======================================================================// -// MouseMotionListener interface -//=======================================================================// - public void mouseDragged(MouseEvent e) - { - if (SwingUtilities.isLeftMouseButton(e) && - (myCurrentMode == CurAction3d_Nothing) && - (e.getSource() == myView3d)) - Dragged = true; - } - - public void mouseMoved(MouseEvent e) - { - switch (myCurrentMode) - { - case CurAction3d_BeginPositionalLight: - SampleViewer3DPackage.DirectingPositionalLight(myView, e.getX(), e.getY()); - break; - - case CurAction3d_TargetSpotLight: - SampleViewer3DPackage.DirectingSpotLight(myAISContext, myView, - e.getX(), e.getY()); - break; - - case CurAction3d_EndSpotLight: - SampleViewer3DPackage.ExpandingSpotLight(myAISContext, myView, - e.getX(), e.getY()); - break; - - case CurAction3d_EndDirectionalLight: - SampleViewer3DPackage.DirectingDirectionalLight(myAISContext, myView, - e.getX(), e.getY()); - break; - - case CurAction3d_Nothing: - if (e.getSource() == myView3d) - { - V3d_View view3d = ((CASCADEView3d) myView3d.getViewPort()).getView(); - if (myAISContext != null && view3d != null) - myAISContext.MoveTo(e.getX(), e.getY(), view3d); - } - } - } - - -} - diff --git a/samples/java/java/SampleViewer3D_en.properties b/samples/java/java/SampleViewer3D_en.properties deleted file mode 100755 index 6e490f6af2..0000000000 --- a/samples/java/java/SampleViewer3D_en.properties +++ /dev/null @@ -1,57 +0,0 @@ -#Wed Oct 12 18:09:59 GMT 1999 - -Name=Creating a 3D Viewer Sample -About=SampleViewer3D Version 3.0, CASCADE Version 3.0 -Extension= -Description=Sample Viewer3D Document - -#Dialog properties -Dlg-Title=Dialog -Lbl-CopySelection=Copy Selection To Clipboard -Lbl-CopyAll=Copy All To Clipboard -Lbl-Close=Close - -# Buttons -Icon-Box=icon/box.gif -Help-Box=Box - -Icon-Cylinder=icon/cylinder.gif -Help-Cylinder=Cylinder - -Icon-Sphere=icon/sphere.gif -Help-Sphere=Sphere - -Icon-EraseAll=icon/eraseall.gif -Help-EraseAll=Erase all - -Icon-SpotLight=icon/spot-light.gif -Help-SpotLight=Spot light - -Icon-PositionalLight=icon/positional-light.gif -Help-PositionalLight=Positional light - -Icon-DirectionalLight=icon/directional-light.gif -Help-DirectionalLight=Directional light - -Icon-AmbientLight=icon/ambient-light.gif -Help-AmbientLight=Ambient light - -Icon-ClearLights=icon/clear-lights.gif -Help-ClearLights=Clear lights - -Icon-ZClipping=icon/zclipping.gif -Help-ZClipping=ZClipping - -Icon-ZCueing=icon/zcueing.gif -Help-ZCueing=ZCueing - -Icon-ShadingModel=icon/shading-model.gif -Help-ShadingModel=Shading model - -Icon-Antialiasing=icon/antialiasing.gif -Help-Antialiasing=Antialiasing - -Icon-ModelClipping=icon/model-clipping.gif -Help-ModelClipping=Model clipping - - diff --git a/samples/java/java/SamplesStarter.java b/samples/java/java/SamplesStarter.java deleted file mode 100755 index 33ebf994ab..0000000000 --- a/samples/java/java/SamplesStarter.java +++ /dev/null @@ -1,284 +0,0 @@ - -//Title: OpenCASCADE Samples -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface group -//Company: Matra Datavision -//Description: - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import javax.swing.event.*; -import java.util.*; - - -public class SamplesStarter extends JPanel - implements ChangeListener -{ - // The Frame - public static Frame myFrame; - - // The width and height of the frame - public static int WIDTH = 900; - public static int HEIGHT = 550; - public static int INITIAL_WIDTH = 400; - public static int INITIAL_HEIGHT = 200; - - // The Status Line - private static JLabel myStatusBar = null; - private Component myCurrentPage = null; - - // Track progress - public static int totalPanels = 10; - public static int currentProgressValue; - public static JLabel progressLabel = null; - public static JProgressBar progressBar = null; - - -//=======================================================================// -// Constructor -//=======================================================================// - public SamplesStarter() - { - //-----------------------------------------------------------// - // Localization - //-----------------------------------------------------------// - ResourceBundle AppRes = ResourceBundle.getBundle("properties.AppRes"); - Locale aLocale = new Locale(AppRes.getString("language"), ""); - - Locale.setDefault(aLocale); - - setLayout(new BorderLayout()); - - //-----------------------------------------------------------// - // Create a tab pane - //-----------------------------------------------------------// - JTabbedPane tabbedPane = new JTabbedPane(); - tabbedPane.addChangeListener(this); - add(tabbedPane, BorderLayout.CENTER); - - // About panel - try { - progressLabel.setText("Loading Title page"); - tabbedPane.addTab("Open CASCADE Technology", new AboutPanel()); - } - catch (Exception e) { - e.printStackTrace(); - } - progressBar.setValue(++currentProgressValue); - - - // The Geometry sample - try { - progressLabel.setText("Loading the Geometry sample"); - tabbedPane.addTab("Geometry", new SampleGeometryPanel()); - } - catch (Exception e) { - e.printStackTrace(); - } - progressBar.setValue(++currentProgressValue); - - // The Topology samples - try { - progressLabel.setText("Loading the Topology samples"); - tabbedPane.addTab("Topology", new SamplesTopologyPanel()); - } - catch (Exception e) { - e.printStackTrace(); - } - progressBar.setValue(++currentProgressValue); - - // The Viewer3D sample - try { - progressLabel.setText("Loading the Viewer3D sample"); - tabbedPane.addTab("Viewer3D", new SampleViewer3DPanel()); - } - catch (Exception e) { - e.printStackTrace(); - } - progressBar.setValue(++currentProgressValue); - - // The AIS Basic sample - try { - progressLabel.setText("Loading the AIS Basic sample"); - tabbedPane.addTab("AIS Basic", new SampleAISBasicPanel()); - } - catch (Exception e) { - e.printStackTrace(); - } - progressBar.setValue(++currentProgressValue); - - // The AIS DisplayMode sample - try { - progressLabel.setText("Loading the AIS DisplayMode sample"); - tabbedPane.addTab("AIS DisplayMode", new SampleAISDisplayModePanel()); - } - catch (Exception e) { - e.printStackTrace(); - } - progressBar.setValue(++currentProgressValue); - - // The AIS Select sample - try { - progressLabel.setText("Loading the AIS Select sample"); - tabbedPane.addTab("AIS Select", new SampleAISSelectPanel()); - } - catch (Exception e) { - e.printStackTrace(); - } - progressBar.setValue(++currentProgressValue); - - // The Display Animation sample - try { - progressLabel.setText("Loading the Display Animation sample"); - tabbedPane.addTab("DisplayAnimation", new SampleDisplayAnimationPanel()); - } - catch (Exception e) { - e.printStackTrace(); - } - progressBar.setValue(++currentProgressValue); - - // The ImportExport sample - try { - progressLabel.setText("Loading the ImportExport sample"); - tabbedPane.addTab("Import/Export", new SampleImportExportPanel()); - progressBar.setValue(++currentProgressValue); - } - catch (Exception e) { - e.printStackTrace(); - } - - // The HLR sample - try { - progressLabel.setText("Loading the HLR sample"); - tabbedPane.addTab("HLR", new SampleHLRPanel()); - } - catch (Exception e) { - e.printStackTrace(); - } - progressBar.setValue(++currentProgressValue); - - tabbedPane.setSelectedIndex(0); - myCurrentPage = tabbedPane.getComponentAt(0); - - //-----------------------------------------------------------// - // Create a status line - //-----------------------------------------------------------// - myStatusBar = new JLabel(""); - myStatusBar.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5)); - add(myStatusBar, BorderLayout.SOUTH); - put_info(""); - } - -//=======================================================================// -// Start -//=======================================================================// - public static void main(String[] args) - { - try - { - UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel"); -// UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); - } - catch(Exception e) - { - } - - javax.swing.ToolTipManager.sharedInstance().setLightWeightPopupEnabled(false); - - WindowListener l = new WindowAdapter() { - public void windowClosing(WindowEvent e) {System.exit(0);} - }; - - ResourceBundle resIcons = - ResourceBundle.getBundle("properties.DesktopIcon"); - ImageIcon imageIcon = new ImageIcon(resIcons.getString("MF_MATRALOGO")); - - myFrame = new Frame("Open CASCADE Technology Samples"); - myFrame.setIconImage(imageIcon.getImage()); - myFrame.addWindowListener(l); - - - JPanel progressPanel = new JPanel() { - public Insets getInsets() { - return new Insets(40,30,20,30); - } - }; - progressPanel.setLayout(new BoxLayout(progressPanel, BoxLayout.Y_AXIS)); - myFrame.add(progressPanel, BorderLayout.CENTER); - - Dimension d = new Dimension(400, 20); - SamplesStarter.progressLabel = new JLabel("Loading, please wait..."); - SamplesStarter.progressLabel.setAlignmentX(CENTER_ALIGNMENT); - SamplesStarter.progressLabel.setMaximumSize(d); - SamplesStarter.progressLabel.setPreferredSize(d); - progressPanel.add(SamplesStarter.progressLabel); - progressPanel.add(Box.createRigidArea(new Dimension(1,20))); - - SamplesStarter.progressBar = new JProgressBar(0, SamplesStarter.totalPanels); - SamplesStarter.progressBar.setStringPainted(true); - SamplesStarter.progressLabel.setLabelFor(progressBar); - SamplesStarter.progressBar.setAlignmentX(CENTER_ALIGNMENT); - progressPanel.add(SamplesStarter.progressBar); - - // show the frame - myFrame.setSize(INITIAL_WIDTH, INITIAL_HEIGHT); - Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); - myFrame.setLocation(screenSize.width/2 - INITIAL_WIDTH/2, - screenSize.height/2 - INITIAL_HEIGHT/2); - myFrame.show(); - - myFrame.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); - - // Samples creation - SamplesStarter samplesStarter = new SamplesStarter(); - - myFrame.removeAll(); - myFrame.setLayout(new BorderLayout()); - myFrame.add(samplesStarter, BorderLayout.CENTER); - myFrame.setSize(WIDTH, HEIGHT); - myFrame.setLocation(screenSize.width/2 - WIDTH/2, - screenSize.height/2 - HEIGHT/2); - - myFrame.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); - - myFrame.validate(); - // myFrame.repaint(); - samplesStarter.requestDefaultFocus(); - } - - public static void put_info(String message) - { - if (myStatusBar != null) - myStatusBar.setText(". " + message); - } - - public static Frame getFrame() - { - return myFrame; - } - -//=======================================================================// -// Change Listener // -//=======================================================================// - public void stateChanged(ChangeEvent event) - { - SamplesStarter.put_info(""); - - JTabbedPane tab = (JTabbedPane) event.getSource(); - int index = tab.getSelectedIndex(); - Component currentPage = tab.getComponentAt(index); - - if (myCurrentPage != null) - { - myCurrentPage.setVisible(false); - myCurrentPage.setEnabled(false); - } - currentPage.setVisible(true); - currentPage.setEnabled(true); - - myCurrentPage = currentPage; - } - -} diff --git a/samples/java/java/SamplesTopologyJni/SamplesTopologyPackage.java b/samples/java/java/SamplesTopologyJni/SamplesTopologyPackage.java deleted file mode 100755 index 58b1115627..0000000000 --- a/samples/java/java/SamplesTopologyJni/SamplesTopologyPackage.java +++ /dev/null @@ -1,91 +0,0 @@ -// Java Native Class from Cas.Cade -// Copyright (C) 1991,1999 by -// -// MATRA DATAVISION, FRANCE -// -// This software is furnished in accordance with the terms and conditions -// of the contract and with the inclusion of the above copyright notice. -// This software or any other copy thereof may not be provided or otherwise -// be made available to any other person. No title to an ownership of the -// software is hereby transferred. -// -// At the termination of the contract, the software and all copies of this -// software must be deleted. -// - - -package SamplesTopologyJni; - -import CASCADESamplesJni.V3d_Viewer; -import jcas.Standard_ExtString; -import CASCADESamplesJni.V3d_View; -import jcas.Standard_Integer; -import CASCADESamplesJni.AIS_InteractiveContext; -import CASCADESamplesJni.TCollection_AsciiString; - - -public class SamplesTopologyPackage { - - static { - System.loadLibrary("SamplesTopologyJni"); - } - -native public static V3d_Viewer CreateViewer(String aName); -native public static void SetWindow(V3d_View aView,int hiwin,int lowin); -native public static void MakeBox(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void MakeCylinder(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void MakeCone(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void MakeSphere(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void MakeTorus(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void MakeWedge(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void MakePrism(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void MakeRevol(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void MakePipe(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void MakeThru(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void MakeEvolved(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void MakeDraft(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void Cut(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void Fuse(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void Common(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void Section(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void PSection(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void Blend(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void EvolvedBlend(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void Chamfer(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void Vertex(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void Edge(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void Wire(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void Face(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void Shell(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void Compound(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void Sewing(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void Builder(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void Geometry(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void Explorer(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void Validity(AIS_InteractiveContext aContext,TCollection_AsciiString Message,TCollection_AsciiString Result); -native public static void LinearProp(AIS_InteractiveContext aContext,TCollection_AsciiString Message,TCollection_AsciiString Result); -native public static void SurfaceProp(AIS_InteractiveContext aContext,TCollection_AsciiString Message,TCollection_AsciiString Result); -native public static void VolumeProp(AIS_InteractiveContext aContext,TCollection_AsciiString Message,TCollection_AsciiString Result); -native public static void Mirror(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void Mirroraxis(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void Rotate(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void Scale(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void Translation(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void Displacement(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void Deform(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void LocalPrism(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void LocalDPrism(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void LocalRevol(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void LocalPipe(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void Rib(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void Glue(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void Split(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void Thick(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void Offset(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void BuildMesh(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void DisplayMesh(AIS_InteractiveContext aContext,TCollection_AsciiString Message); -native public static void ClearMesh(AIS_InteractiveContext aContext,TCollection_AsciiString Message); - - - -} diff --git a/samples/java/java/SamplesTopologyPanel.java b/samples/java/java/SamplesTopologyPanel.java deleted file mode 100755 index c0d0973542..0000000000 --- a/samples/java/java/SamplesTopologyPanel.java +++ /dev/null @@ -1,98 +0,0 @@ - -//Title: OpenCASCADE Samples -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface group -//Company: Matra Datavision -//Description: - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import javax.swing.event.*; -import java.util.*; - - -public class SamplesTopologyPanel extends JPanel - implements ChangeListener -{ - private Component myCurrentPage = null; - private JTabbedPane myTabbedPane = null; - -//=======================================================================// -// Constructor -//=======================================================================// - public SamplesTopologyPanel() - { - setLayout(new BorderLayout()); - - //-----------------------------------------------------------// - // Create a tab pane - //-----------------------------------------------------------// - myTabbedPane = new JTabbedPane(); - myTabbedPane.setVisible(false); - myTabbedPane.addChangeListener(this); - add(myTabbedPane, BorderLayout.CENTER); - - // The Topology Primitives sample - myTabbedPane.addTab("Topology Primitives", new SampleTopologyPrimitivesPanel()); - - // The Topological Operations sample - myTabbedPane.addTab("Topological Operations", new SampleTopologicalOperationsPanel()); - - // The Topology Building sample - myTabbedPane.addTab("Topology Building", new SampleTopologyBuildingPanel()); - - // The Topology Analysis sample - myTabbedPane.addTab("Topology Analysis", new SampleTopologyAnalysisPanel()); - - // The Topology Transformations sample - myTabbedPane.addTab("Topology Transformations", new SampleTopologyTransformationsPanel()); - - // The Local Operations sample - myTabbedPane.addTab("Local Operations", new SampleLocalOperationsPanel()); - - // The Triangulation sample - myTabbedPane.addTab("Triangulation", new SampleTriangulationPanel()); - - myTabbedPane.setSelectedIndex(0); - } - -//-----------------------------------------------------------------------// - public void setVisible(boolean b) - { - super.setVisible(b); - myTabbedPane.setVisible(b); - if (myCurrentPage != null) - myCurrentPage.setVisible(b); - if (b) this.validate(); - } - - -//=======================================================================// -// Change Listener // -//=======================================================================// - public void stateChanged(ChangeEvent event) - { - SamplesStarter.put_info(""); - - JTabbedPane tab = (JTabbedPane) event.getSource(); - int index = tab.getSelectedIndex(); - Component currentPage = tab.getComponentAt(index); - - if (myCurrentPage != null) - { - myCurrentPage.setVisible(false); - myCurrentPage.setEnabled(false); - currentPage.setVisible(true); - currentPage.setEnabled(true); - } - else - { - currentPage.setVisible(false); - currentPage.setEnabled(false); - } - myCurrentPage = currentPage; - } - -} diff --git a/samples/java/java/SetupFrame.java b/samples/java/java/SetupFrame.java deleted file mode 100755 index 856d5a6de2..0000000000 --- a/samples/java/java/SetupFrame.java +++ /dev/null @@ -1,502 +0,0 @@ - -//Title: Setup program -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface group -//Company: MatraDatavision -//Description:Sets graphics configuration. - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import javax.swing.event.*; -import java.util.*; -import java.io.*; -import util.*; -import CASCADESamplesJni.*; -import SampleAISBasicJni.*; -import jcas.Standard_CString; - -public class SetupFrame extends JFrame implements ActionListener, - ChangeListener -{ - JPanel viewPanel = new JPanel(new BorderLayout()); - JPanel radioPanel = new JPanel(); - JRadioButton[] myButtons; - - JPanel controlPanel = new JPanel(new FlowLayout()); - JButton btnOK = new JButton("OK"); - JButton btnCancel = new JButton("Cancel"); - - Hashtable confs = new Hashtable(2, 1); - int defConf = -1; - int osType = -1; - - int curValue = -1; - TestFrame frame; - - //Construct the frame - public SetupFrame() - { - enableEvents(AWTEvent.WINDOW_EVENT_MASK); - try - { - jbInit(); - } - catch(Exception e) - { - e.printStackTrace(); - } - } - - //Component initialization - private void jbInit() throws Exception - { - this.getContentPane().setLayout(new BorderLayout()); - this.setSize(new Dimension(400, 300)); - this.setResizable(false); - this.setTitle("Setup"); - - // View panel - getConfigurations(); // Gets current set of configurations - createRadioPanel(); - - if ((myButtons != null) && (myButtons.length > 1)) - { - JLabel lbl = new JLabel("Choose configuration:"); - lbl.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10)); - viewPanel.add(lbl, BorderLayout.NORTH); - - radioPanel.setBorder(BorderFactory.createEmptyBorder(0, 10, 0, 10)); - viewPanel.add(radioPanel, BorderLayout.CENTER); - - lbl = new JLabel("If you see two rectangles press OK button..."); - lbl.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10)); - viewPanel.add(lbl, BorderLayout.SOUTH); - } - else - { - JLabel lbl = new JLabel("Configuration is setted"); - lbl.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10)); - viewPanel.add(lbl, BorderLayout.CENTER); - } - - // Control panel - btnOK.setActionCommand("OK"); - btnOK.addActionListener(this); - controlPanel.add(btnOK); - - btnCancel.setActionCommand("Cancel"); - btnCancel.addActionListener(this); - controlPanel.add(btnCancel); - - // Composition - viewPanel.setBorder(BorderFactory.createLoweredBevelBorder()); - this.getContentPane().add(controlPanel, BorderLayout.SOUTH); - this.getContentPane().add(viewPanel, BorderLayout.CENTER); - pack(); - } - - private void getConfigurations() - { - // Get OS type - String os = System.getProperty("os.name"); - if (os.startsWith("Wind")) - osType = 1; - else - osType = 0; - - // Get native data access - handleAccess win_access = null; - try - { - if (osType == 0) - win_access = (handleAccess) - Class.forName("util.x11.X11HandleAccess").newInstance(); - else - win_access = (handleAccess) - Class.forName("util.win32.WinHandleAccess").newInstance(); - } - catch (Exception e) - { - System.out.println(e); - } - - // Get default configuration visual - GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment(); - GraphicsDevice gd0 = ge.getDefaultScreenDevice(); - GraphicsConfiguration gc0 = gd0.getDefaultConfiguration(); - defConf = win_access.getVisualId(gc0); - - // Get all configurations -// System.out.println("\nGraphicsConfiguration:"); -// System.out.println("\ngraphics environment = " + ge); -// System.out.println("\ndefault graphics configuration = " + gc0); - - if (osType == 0) // x11 - { - GraphicsDevice gd[] = ge.getScreenDevices(); -// System.out.println("count of graphics devices = " + gd.length); - - for (int i = 0; i < gd.length; i++) - { -// System.out.println("graphics device [" + i + "] = " + gd[i]); - - GraphicsConfiguration gc[] = gd[i].getConfigurations(); -// System.out.println("count of graphics configurations = " + gc.length); - - for (int j = 0; j < gc.length; j++) - { -// System.out.println("\n\tgraphics configuration [" + j + "] = " + gc[j]); -// System.out.println("\tvisual ID = " + win_access.getVisualId(gc[j])); - - confs.put(new Integer(win_access.getVisualId(gc[j])), gc[j]); -/* - java.awt.image.ColorModel cm = gc[j].getColorModel(); - System.out.println("\tColor model = " + cm); - - java.awt.color.ColorSpace cs = cm.getColorSpace(); - System.out.println("\tColor space = " + cs); - System.out.println("\tColor space type = " + cs.getType()); - System.out.println("\tColor space is CS_sRGB = " + cs.isCS_sRGB()); - System.out.println("\tNumber of components = " + cs.getNumComponents()); -*/ - } - } - } - } - - private void createRadioPanel() - { - curValue = defConf; - - if (confs.size() > 0) - { - radioPanel.setLayout(new GridLayout(0, 4, 10, 5)); - - // Get list of visualID values - //------------------------------------------- - int values[] = new int[confs.size()]; - Enumeration keys = confs.keys(); - int i = 0; - while (keys.hasMoreElements()) - { - Integer k = (Integer) keys.nextElement(); - values[i] = k.intValue(); - i++; - } - - // Sort the array - //------------------------------------------- - for (i = 0; i < values.length; i++) - { - int min = i; - for (int j = i + 1; j < values.length; j++) - { - if (values[j] < values[min]) - min = j; - } - if (min > i) - { - int tmp = values[i]; - values[i] = values[min]; - values[min] = tmp; - } - } - - // Create buttons - //------------------------------------------- - myButtons = new JRadioButton[values.length]; - ButtonGroup group = new ButtonGroup(); - for (i = 0; i < values.length; i++) - { - Integer value = new Integer(values[i]); - myButtons[i] = new JRadioButton(value.toString()); - myButtons[i].setActionCommand("changeConfig"); - myButtons[i].addActionListener(this); - if (values[i] == curValue) - myButtons[i].setSelected(true); - else - myButtons[i].setSelected(false); - group.add(myButtons[i]); - radioPanel.add(myButtons[i]); - } - } - } - - private void showTestFrame() - { - GraphicsConfiguration gr = (GraphicsConfiguration) confs.get(new Integer(curValue)); - Point loc = this.getLocation(); - loc.translate(this.getWidth(), 0); - Dimension size = new Dimension(300, 400); - if (frame != null) - { - loc = frame.getLocation(); - size = frame.getSize(); - frame.dispose(); - } - - frame = new TestFrame(gr); - frame.setLocation(loc); - frame.setSize(size); - frame.setVisible(true); - } - - // Overridden so we can exit on System Close - //------------------------------------------------ - protected void processWindowEvent(WindowEvent event) - { - super.processWindowEvent(event); - if(event.getID() == WindowEvent.WINDOW_CLOSING) - { - System.exit(0); - } - else if (event.getID() == WindowEvent.WINDOW_OPENED) - { - showTestFrame(); - } - } - - // ActionListener interface - //------------------------------------------------ - public void actionPerformed(ActionEvent event) - { - if (event.getActionCommand().equals("changeConfig")) - { - JRadioButton src = (JRadioButton) event.getSource(); - Integer value = new Integer(src.getText()); - curValue = value.intValue(); - showTestFrame(); - return; - } - else if (event.getActionCommand().equals("OK")) - { - System.out.println("Setup graphics configuration as " + curValue); - - // Get application property file name - String fileName = System.getProperty("user.dir"); - String separator = System.getProperty("file.separator"); - if (!fileName.endsWith(separator)) - fileName = fileName + separator; - fileName = fileName + "properties" + separator + "AppRes.properties"; - System.out.println("Application property file is " + fileName); - - // Read the properties - Vector propKey = new Vector(2); - Vector propValue = new Vector(2); - try - { - FileReader fileRead = new FileReader(fileName); - LineNumberReader lnRead = new LineNumberReader(fileRead); - - while (true) - { - String line = lnRead.readLine(); - if (line == null) - break; - if (line.startsWith("#")) - continue; - int k = line.indexOf("="); - if (k > 0) - { - propKey.add(line.substring(0, k)); - propValue.add(line.substring(k+1)); - } - } - lnRead.close(); - fileRead.close(); - } - catch (FileNotFoundException fe) - { - } - catch (IOException ie) - { - ie.printStackTrace(); - } - - // set value of property "VisualID" - Integer newID = new Integer(curValue); - if (propKey.contains("VisualID")) - { - propValue.setElementAt(newID.toString(), propKey.indexOf("VisualID")); - } - else - { - propKey.add("VisualID"); - propValue.add(newID.toString()); - } - - // Write new file - try - { - FileWriter fileWr = new FileWriter(fileName, false); - for (int i = 0; i < propKey.size(); i++) - { - fileWr.write((String) propKey.get(i)); - fileWr.write("="); - fileWr.write((String) propValue.get(i)); - fileWr.write("\n"); - } - fileWr.close(); - } - catch (Exception e) - { - e.printStackTrace(); - } - } - System.exit(0); - } - - // ChangeListener interface - //------------------------------------------------ - public void stateChanged(ChangeEvent event) - { - System.out.println("SetupFrame change event " + event); - } - -} - -class TestFrame extends Frame implements WindowListener, - ComponentListener -{ - CasCadeCanvas myCanvas; - V3d_Viewer myViewer3d; - V3d_View myView3d; - - static int cntViews = 0; - - public TestFrame(GraphicsConfiguration gr) - { - super(); - - cntViews++; - String title = new String("Test view "); - title = title + cntViews; - this.setTitle(title); - - myViewer3d = SampleAISBasicPackage.CreateViewer(title); - myViewer3d.Init(); - myView3d = myViewer3d.CreateView(); - - myCanvas = new CasCadeCanvas(gr, myView3d); - add(myCanvas); - - this.addWindowListener(this); - this.addComponentListener(this); - } - - public void setWindow() - { - int windowHandle = myCanvas.getWinData(); - short hi, lo; - lo = (short) windowHandle; - hi = (short) (windowHandle >> 16); - - System.out.println("\nSet window by handle " + windowHandle + "\n"); - - SampleAISBasicPackage.SetWindow(myView3d, hi, lo); -// this.repaint(); - } - - public void windowOpened(WindowEvent e) - { - setWindow(); - repaint(); - } - - public void windowClosing(WindowEvent e) - { - } - - public void windowClosed(WindowEvent e) - { - } - - public void windowIconified(WindowEvent e) - { - } - - public void windowDeiconified(WindowEvent e) - { - } - - public void windowActivated(WindowEvent e) - { - } - - public void windowDeactivated(WindowEvent e) - { - } - - public void componentResized(ComponentEvent e) - { - repaint(); - } - - public void componentMoved(ComponentEvent e) - { - repaint(); - } - - public void componentShown(ComponentEvent e) - { - } - - public void componentHidden(ComponentEvent e) - { - } - -} - -class CasCadeCanvas extends Canvas -{ - V3d_View myView; - - public CasCadeCanvas(GraphicsConfiguration gr, V3d_View view) - { - super(gr); - myView = view; - } - - public void update(Graphics g) - { - paint(g); - } - - public void paint(Graphics g) - { - myView.MustBeResized(); - myView.Redraw(); - - Color currColor = g.getColor(); - g.setColor(Color.white); - Dimension size = this.getSize(); - g.drawRect(10, 10, size.width-20, size.height-20); - g.drawRect(20, 20, size.width-40, size.height-40); - g.setColor(currColor); - } - - public int getWinData() - { - Graphics g = this.getGraphics(); - int pData = 0; - - handleAccess win_access; - try - { - String os = System.getProperty("os.name"); - if (os.startsWith("Wind")) - win_access = (handleAccess) Class.forName("util.win32.WinHandleAccess").newInstance(); - else - win_access = (handleAccess) Class.forName("util.x11.X11HandleAccess").newInstance(); - - pData = win_access.getWinHandle(this, g); - } - catch (Exception e) - { - System.out.println(e); - } - return pData; - } -} diff --git a/samples/java/java/ShadingModelDlg.java b/samples/java/java/ShadingModelDlg.java deleted file mode 100755 index 7e914c8525..0000000000 --- a/samples/java/java/ShadingModelDlg.java +++ /dev/null @@ -1,102 +0,0 @@ - -//Title: Viewer3D Sample -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface group -//Company: Matra Datavision -//Description: - - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import javax.swing.event.*; -import CASCADESamplesJni.*; -import SampleViewer3DJni.*; -import jcas.Standard_Real; - - -public class ShadingModelDlg extends JDialog - implements ActionListener -{ - private V3d_View myView; - - -//=======================================================================// -// Construction -//=======================================================================// - public ShadingModelDlg(Frame frame, V3d_View aView) - { - super(frame, "ShadingModel", false); - myView = aView; - - try - { - jbInit(); - pack(); - } - catch(Exception ex) - { - ex.printStackTrace(); - } - } - - void jbInit() throws Exception - { - getContentPane().setLayout(new GridLayout(0, 1)); - getContentPane().setBounds(10, 10, 10, 10); - - JButton button; - - button = new JButton("COLOR"); - button.addActionListener(this); - button.setActionCommand("Color"); - getContentPane().add(button); - - button = new JButton("FLAT"); - button.addActionListener(this); - button.setActionCommand("Flat"); - getContentPane().add(button); - - button = new JButton("GOURAUD"); - button.addActionListener(this); - button.setActionCommand("Gouraud"); - getContentPane().add(button); - } - -//=======================================================================// -// Commands -//=======================================================================// - private void onShadingModelColor() - { - SampleViewer3DPackage.ChangeShadingModel(myView, V3d_TypeOfShadingModel.V3d_COLOR); - } - -//=======================================================================// - private void onShadingModelFlat() - { - SampleViewer3DPackage.ChangeShadingModel(myView, V3d_TypeOfShadingModel.V3d_FLAT); - } - -//=======================================================================// - private void onShadingModelGouraud() - { - SampleViewer3DPackage.ChangeShadingModel(myView, V3d_TypeOfShadingModel.V3d_GOURAUD); - } - - -//=======================================================================// -// Action listener interface -//=======================================================================// - public void actionPerformed(ActionEvent event) - { - String nameAction = event.getActionCommand(); - if (nameAction.equals("Color")) - onShadingModelColor(); - else if (nameAction.equals("Flat")) - onShadingModelFlat(); - else if (nameAction.equals("Gouraud")) - onShadingModelGouraud(); - } - -} diff --git a/samples/java/java/SimpleFrame.java b/samples/java/java/SimpleFrame.java deleted file mode 100755 index 1dffb7a50f..0000000000 --- a/samples/java/java/SimpleFrame.java +++ /dev/null @@ -1,31 +0,0 @@ - -import java.awt.*; -import java.awt.event.*; - -//**************************************************************************************************************** -/** */ -public class SimpleFrame extends Frame{ -//**************************************************************************************************************** - -//================================================================================================================ - /** */ - public SimpleFrame(){ -//================================================================================================================ - addWindowListener(new WindowAdapter(){public void windowClosing(WindowEvent theEvent){ - System.exit(1); - }}); - - setLayout(new BorderLayout()); - add(new SimpleViewer(), BorderLayout.CENTER); - setSize(new Dimension(500,400)); - setVisible(true); - } - -//================================================================================================================ - /** - */ - public static void main(String[] args){ -//================================================================================================================ - new SimpleFrame(); - } -} diff --git a/samples/java/java/SimpleViewer.java b/samples/java/java/SimpleViewer.java deleted file mode 100755 index 2099aa7b51..0000000000 --- a/samples/java/java/SimpleViewer.java +++ /dev/null @@ -1,37 +0,0 @@ - -import java.awt.*; - -// cascade includes -import jcas.*; -import CASCADESamplesJni.*; -import util.*; -import SampleGeometryJni.*; - -//**************************************************************************************************************** -/** */ -public class SimpleViewer extends Canvas { -//**************************************************************************************************************** - private boolean hasWindow = false; - V3d_Viewer myViewer = null; - V3d_View myView = null; - static{ - System.out.println("Info: Load NativePaint lib..."); - System.loadLibrary("TKNativePaint"); - System.out.println("Info: Loading NativePaint lib done"); - } - -//================================================================================================================ - /** */ - public SimpleViewer(){ -//================================================================================================================ - myViewer = SampleGeometryPackage.CreateViewer3d("v3d"); - myView = myViewer.CreateView(); - } - -//================================================================================================================ - /** - */ - public native void paint(Graphics g); -//================================================================================================================ - -} diff --git a/samples/java/java/ThreadDlg.java b/samples/java/java/ThreadDlg.java deleted file mode 100755 index a1ba1e923a..0000000000 --- a/samples/java/java/ThreadDlg.java +++ /dev/null @@ -1,174 +0,0 @@ - -//Title: AISDisplayMode sample -//Version: -//Copyright: Copyright (c) 1999 -//Author: -//Company: Matra Datavision -//Description: - -import java.awt.*; -import java.awt.event.*; -import java.util.*; -import java.math.*; -import javax.swing.*; -import javax.swing.event.*; -import util.*; - - -public class ThreadDlg extends StandardDlg - implements InputMethodListener, - KeyListener -{ - JTextField txtThread; - - private boolean consume = false; - private String strThread = new String(""); - - private int myValue = 1; - private boolean isOK = false; - - //********************************************************************** - public ThreadDlg(Frame parent, int value) - { - super(parent, "Change the animation thread", true, true, false, true); - myValue = value; - - InitDlg(); - - strThread = String.valueOf(myValue); - txtThread.setText(strThread); - - pack(); - } - -//********************************************************************** - private void InitDlg() - { - JPanel aPane = new JPanel(new GridLayout(1, 2, 4, 4)); - - aPane.add(new JLabel("Angle Increment")); - - txtThread = new JTextField(6); - txtThread.addInputMethodListener(this); - txtThread.addKeyListener(this); - txtThread.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5)); - aPane.add(txtThread); - - aPane.setBorder(BorderFactory.createEmptyBorder(5, 7, 5, 7)); - ControlsPanel.setLayout(new BorderLayout()); - ControlsPanel.add(aPane, BorderLayout.CENTER); - pack(); - setResizable(false); - } - -//********************************************************************** - public void OkAction() - { - Integer value; - String newValue; - - newValue = txtThread.getText(); - value = new Integer(newValue.equals("")? "0" : newValue); - myValue = value.intValue(); - - isOK = true; - dispose(); - } - -//********************************************************************** - public void CancelAction() - { - isOK = false; - dispose(); - } - - -//********************************************************************** - public int getValue() - { - return myValue; - } - -//********************************************************************** - public boolean isOK() - { - return isOK; - } - - -//=======================================================================// -// Key listener interface -//=======================================================================// - public void keyTyped(KeyEvent event) - { - } - -//=======================================================================// - public void keyPressed(KeyEvent event) - { - JTextField field = (JTextField) event.getSource(); - - int aKod = event.getKeyCode(); - if (!event.isActionKey() && aKod != event.VK_BACK_SPACE && - aKod != event.VK_DELETE) - { - if (!Character.isDigit(event.getKeyChar())) - consume = true; - } - } - -//=======================================================================// - public void keyReleased(KeyEvent event) - { - JTextField field = (JTextField) event.getSource(); - String newValue = field.getText(); - - if (field.equals(txtThread)) - { - if (!newValue.equals(strThread)) - { - if (consume) - { - txtThread.setText(strThread); - consume = false; - } - else - { - strThread = newValue; - Integer value = new Integer(newValue.equals("")? "0" : newValue); - if (value.intValue()<0) - { - txtThread.selectAll(); - JOptionPane.showMessageDialog(this, "Please enter a positive value", - "Warning!!!", JOptionPane.WARNING_MESSAGE); - requestFocus(); - } - else if (value.intValue()>60) - { - txtThread.selectAll(); - JOptionPane.showMessageDialog(this, "Please enter an integer between 1 and 60", - "Warning!!!", JOptionPane.WARNING_MESSAGE); - requestFocus(); - } - } - } - } - } - -//=======================================================================// -// InputMethod listener interface -//=======================================================================// - public void inputMethodTextChanged(InputMethodEvent event) - { - if (consume) - { - event.consume(); - consume = false; - } - } - - public void caretPositionChanged(InputMethodEvent event) - { - } - -} diff --git a/samples/java/java/TransparencyDlg.java b/samples/java/java/TransparencyDlg.java deleted file mode 100755 index fe829a2080..0000000000 --- a/samples/java/java/TransparencyDlg.java +++ /dev/null @@ -1,86 +0,0 @@ - -//Title: ImportExport sample -//Version: -//Copyright: Copyright (c) 1999 -//Author: -//Company: Matra Datavision -//Description: Your description - -import java.awt.*; -import java.util.*; -import java.math.*; -import javax.swing.*; -import util.*; - - -public class TransparencyDlg extends StandardDlg -{ - private RealSpin spnValue = new RealSpin("0.0", "0.1"); - private double myValue = 0.0; - private boolean isOK = false; - - //********************************************************************** - public TransparencyDlg(Frame parent, double value) - { - super(parent, "Transparency", true, true, false, true); - myValue = value; - - InitDlg(); - - BigDecimal BD = new BigDecimal(myValue); - BD = BD.setScale(2, BigDecimal.ROUND_HALF_UP); - spnValue.setValue(BD.toString()); - - pack(); - } - -//********************************************************************** - private void InitDlg() - { - JPanel aPane = new JPanel(new GridLayout(2, 1, 0, 4)); - - aPane.add(new JLabel("Choose a value between 0 and 1")); - - spnValue.setMinValue("0.0"); - spnValue.setMaxValue("1.0"); - spnValue.setColumns(5); - spnValue.setBorder(BorderFactory.createEmptyBorder(0, 15, 0, 15)); - aPane.add(spnValue); - - aPane.setBorder(BorderFactory.createEmptyBorder(5, 7, 5, 7)); - ControlsPanel.setLayout(new BorderLayout()); - ControlsPanel.add(aPane, BorderLayout.CENTER); - pack(); - setResizable(false); - } - -//********************************************************************** - public void OkAction() - { - myValue = spnValue.getValue(); - isOK = true; - dispose(); - } - -//********************************************************************** - public void CancelAction() - { - isOK = false; - dispose(); - } - - -//********************************************************************** - public double getValue() - { - return myValue; - } - -//********************************************************************** - public boolean isOK() - { - return isOK; - } - - -} diff --git a/samples/java/java/ViewCanvas.java b/samples/java/java/ViewCanvas.java deleted file mode 100755 index abc5988e01..0000000000 --- a/samples/java/java/ViewCanvas.java +++ /dev/null @@ -1,682 +0,0 @@ - -//Title: Open CASCADE Technology Samples -//Version: -//Copyright: Copyright (c) 1998 -//Author: User Interface Group (Nizhny Novgorod) -//Company: Matra Datavision -//Description: - - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import java.util.*; - -import util.*; - -/** - * Native window component to output graphic data by Cas.Cade tools. - */ -public class ViewCanvas extends Canvas - implements ActionListener, - MouseListener, - MouseMotionListener, - ComponentListener -{ - protected ViewPanel parent; - - static{ - System.out.println("Info: Load NativePaint lib..."); - System.loadLibrary("TKNativePaint"); - System.out.println("Info: Loading NativePaint lib done"); - } - - //-----------------------------------------------------------// - // Resources - //-----------------------------------------------------------// - static protected ResourceBundle resGui = ResourceBundle.getBundle("properties.Viewer"); - static protected ResourceBundle AppRes = - ResourceBundle.getBundle("properties.AppRes"); - - //-----------------------------------------------------------// - // Internal state - //-----------------------------------------------------------// - private int currX = 0, currY = 0; // current position of cursor - private int startX = 0, startY = 0; // position of cursor - // at the beginning of operation - - //-----------------------------------------------------------// - // Signs of operation - //-----------------------------------------------------------// - static final int NOTHING = 0; - static final int WINDOWFIT = 1; - static final int ZOOMVIEW = 2; - static final int PANVIEW = 3; - static final int MAGNIFY = 4; - static final int PANGLOBAL = 5; - static final int ROTATE = 6; - - private int theOperation = NOTHING; - - private Cursor myCursor = defCursor; - private boolean drawrect = false; - private boolean CursorIsHand = false; - - protected boolean needResize = true; - protected boolean hasWindow = false; - - //-----------------------------------------------------------// - // Cursors - //-----------------------------------------------------------// - static Cursor defCursor = new Cursor(Cursor.DEFAULT_CURSOR); - static Cursor handCursor = new Cursor(Cursor.HAND_CURSOR); - - - //-----------------------------------------------------------// - // Type of Operation System - //-----------------------------------------------------------// - public static final int OS_UNKNOWN = 0; - public static final int OS_WINDOWS = 1; - public static final int OS_X11 = 2; - - private static int osType = getOSType(); - - public static int getOSType() - { - String os = System.getProperty("os.name"); - if (os.startsWith("Wind")) - return OS_WINDOWS; - else - return OS_X11; - } - - - //-----------------------------------------------------------// - // Graphics configurations - //-----------------------------------------------------------// - static GraphicsConfiguration theGraphicsConfiguration = getInternalGraphicsConfiguration(); - - public static GraphicsConfiguration getInternalGraphicsConfiguration() - { - GraphicsConfiguration theGC = null; - GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment(); - - boolean grInfo = Boolean.getBoolean("JADCanvas_INFO"); -// int vid = Integer.getInteger("JADCanvas_VisualID", -1).intValue(); - int vid = -1; - - // Check if there is property "VisualID" - //-------------------------------------------- - Enumeration keys = AppRes.getKeys(); - while (keys.hasMoreElements()) - { - String prop = (String) keys.nextElement(); - if (prop.equals("VisualID")) - { - Integer iVid = new Integer(AppRes.getString("VisualID")); - vid = iVid.intValue(); - break; - } - } - int gc_index = -1; - - // Find the proper graphics configuration - //-------------------------------------------- - if (grInfo) - { - System.out.println("\nGraphicsConfiguration:"); - System.out.println("\ngraphics environment = " + ge); - } - - if (getOSType() == OS_X11) - { - GraphicsDevice gd[] = ge.getScreenDevices(); - if (grInfo) - System.out.println("count of graphics devices = " + gd.length); - - for (int i = 0; i < gd.length; i++) - { - if (grInfo) - System.out.println("graphics device [" + i + "] = " + gd[i]); - - GraphicsConfiguration gc[] = gd[i].getConfigurations(); - if (grInfo) - System.out.println("count of graphics configurations = " + gc.length); - - for (int j = 0; j < gc.length; j++) - { - try - { - handleAccess win_access = (handleAccess) - Class.forName("util.x11.X11HandleAccess").newInstance(); - - if (grInfo) - { - System.out.println("\n\tgraphics configuration [" + j + "] = " + gc[j]); - System.out.println("\tvisual ID = " + win_access.getVisualId(gc[j])); - } - if (win_access.getVisualId(gc[j]) == vid) - gc_index = j; - } - catch (Exception e) - { - System.out.println(e); - } - - if (grInfo) - { - java.awt.image.ColorModel cm = gc[j].getColorModel(); - System.out.println("\tColor model = " + cm); - - java.awt.color.ColorSpace cs = cm.getColorSpace(); - System.out.println("\tColor space = " + cs); - System.out.println("\tColor space type = " + cs.getType()); - System.out.println("\tColor space is CS_sRGB = " + cs.isCS_sRGB()); - System.out.println("\tNumber of components = " + cs.getNumComponents()); - } - } - if (gc_index != -1) - theGC = gc[gc_index]; - } - } - - if (gc_index == -1) - { - GraphicsDevice gd = ge.getDefaultScreenDevice(); - theGC = gd.getDefaultConfiguration(); - } - - return theGC; - } - - -//=======================================================================// -// Constructor -//=======================================================================// - public ViewCanvas() - { -// super(theGraphicsConfiguration); - addComponentListener(this); - addMouseListener(this); - addMouseMotionListener(this); - } - - public ViewCanvas(ViewPanel panel) - { - this(); - setParent(panel); - } - - public void setParent(ViewPanel panel) - { - parent = panel; - } - - - -//=======================================================================// -// Settings of window -//=======================================================================// - /** - * Returns handle of native window for this component. - */ -// public int getWinData() -// { -// Graphics g = this.getGraphics(); -// int pData = 0; - -// handleAccess win_access; - -// try -// { -// if (osType == OS_WINDOWS) -// win_access = (handleAccess) Class.forName("util.win32.WinHandleAccess").newInstance(); -// else -// win_access = (handleAccess) Class.forName("util.x11.X11HandleAccess").newInstance(); - -// pData = win_access.getWinHandle(this, g); -// } -// catch (Exception e) -// { -// System.out.println(e); -// } -// return pData; -// } - - public boolean hasWindow() - { - return hasWindow; - } - -// //-----------------------------------------------------------------------// -// /** -// * Updates this component. -// */ -// public void update(Graphics g) -// { -// if (!isWindow) -// { -// SetWindow(); -// isWindow = true; -// } -// if (isWindow) paint(g); -// } - -//-----------------------------------------------------------------------// - /** Updates this component. */ - public void update(Graphics g) -//-----------------------------------------------------------------------// - { - System.out.println("Info: start update"); - paint(g); - paintRect(g); - System.out.println("Info: end update"); - } - - public void paintRect(Graphics g) - { - if (drawrect) - { - System.out.println("Info: Paint Rect"); - g.setXORMode(Color.white); - g.setColor(Color.black); - Rectangle rect = this.getRectangle(startX, startY, currX, currY); - g.drawRect(rect.x, rect.y, rect.width, rect.height); - g.setPaintMode(); - } - } - - -//=======================================================================// -// Additional operations -//=======================================================================// - static public Rectangle getRectangle(int x1, int y1, int x2, int y2) - { - Rectangle rect = new Rectangle(); - rect.setLocation(Math.min(x1, x2), Math.min(y1, y2)); - rect.setSize(Math.abs(x2-x1), Math.abs(y2-y1)); - return rect; - } - - -//-----------------------------------------------------------------------// - public void ActivateWindowFit() - { - SamplesStarter.put_info(resGui.getString("Help_Zoom")); - if (theOperation == NOTHING && !CursorIsHand) myCursor = this.getCursor(); - theOperation = WINDOWFIT; - this.setCursor(handCursor); - } - -//-----------------------------------------------------------------------// - public void ActivateZoom() - { - SamplesStarter.put_info(resGui.getString("Help_DynZoom")); - if (theOperation == NOTHING && !CursorIsHand) myCursor = this.getCursor(); - theOperation = ZOOMVIEW; - this.setCursor(defCursor); - } - -//-----------------------------------------------------------------------// - public void ActivatePanning() - { - SamplesStarter.put_info(resGui.getString("Help_DynPan")); - if (theOperation == NOTHING && !CursorIsHand) myCursor = this.getCursor(); - theOperation = PANVIEW; - this.setCursor(defCursor); - } - -//-----------------------------------------------------------------------// - public void ActivateGlobalPanning() - { - SamplesStarter.put_info(resGui.getString("Help_GlobPan")); - if (theOperation == NOTHING && !CursorIsHand) myCursor = this.getCursor(); - theOperation = PANGLOBAL; - this.setCursor(defCursor); - } - -//-----------------------------------------------------------------------// - public void ActivateMagnify() - { - SamplesStarter.put_info(resGui.getString("Help_MagnifyView")); - if (theOperation == NOTHING && !CursorIsHand) myCursor = this.getCursor(); - theOperation = MAGNIFY; - this.setCursor(handCursor); - } - -//-----------------------------------------------------------------------// - public void ActivateRotation() - { - SamplesStarter.put_info(resGui.getString("Help_Rotate")); - if (theOperation == NOTHING && !CursorIsHand) myCursor = this.getCursor(); - theOperation = ROTATE; - this.setCursor(defCursor); - } - -//-----------------------------------------------------------------------// - public void ResetState() - { - drawrect = false; - if ((theOperation != NOTHING) || CursorIsHand) - { - this.setCursor(myCursor); - } - if (theOperation != NOTHING) - { - SamplesStarter.put_info(""); - theOperation = NOTHING; - } - CursorIsHand = false; - } - - -//=======================================================================// -// Redefined operations -//=======================================================================// - public final void SetWindow() - { - } - - public void Magnify(Rectangle rect) - { - } - - public void FitAll() - { - } - - public void WindowFit(Rectangle rect) - { - } - - public void Zoom(int x0, int y0, int x, int y) - { - } - - public void Pan(int dx, int dy) - { - } - - public void SetCenter(int x, int y) - { - } - - public void StartRotation(int x0, int y0) - { - } - - public void Rotate(int x, int y) - { - } - - public void EndRotation() - { - } - - public void SetProjection(String type) - { - } - - public void SetDegenerateMode(boolean isOn) - { - } - - public void EditGrid() - { - } - - public void EraseGrid() - { - } - - public void ResetView() - { - } - - public void ActivateGrid(String type) - { - } - - public Color GetBackgroundColor() - { - return Color.black; - } - - public void SetBackgroundColor(Color color) - { - } - - -//=======================================================================// -// ActionListener // -//=======================================================================// - public void actionPerformed(ActionEvent e) - { - String nameAction = e.getActionCommand(); - - ResetState(); - - // Zoom buttons - if (nameAction.equals("FitAll")) FitAll(); - else if (nameAction.equals("DynZoom")) ActivateZoom(); - else if (nameAction.equals("Zoom")) ActivateWindowFit(); - // Pann buttons - else if (nameAction.equals("DynPan")) ActivatePanning(); - else if (nameAction.equals("GlobPan")) ActivateGlobalPanning(); - // Rotation - else if (nameAction.equals("Rotate")) ActivateRotation(); - // Projection - else if (nameAction.equals("Front") || - nameAction.equals("Top") || - nameAction.equals("Left") || - nameAction.equals("Back") || - nameAction.equals("Right") || - nameAction.equals("Bottom") || - nameAction.equals("Axo")) SetProjection(nameAction); - // Reset view - else if (nameAction.equals("Reset")) ResetView(); - // Degeneration mode - else if (nameAction.equals("HiddenOff")) SetDegenerateMode(false); - else if (nameAction.equals("HiddenOn")) SetDegenerateMode(true); - // Grid management - else if (nameAction.equals("RectLine") || - nameAction.equals("RectPoint") || - nameAction.equals("CircLine") || - nameAction.equals("CircPoint")) ActivateGrid(nameAction); - else if (nameAction.equals("EditGrid")) EditGrid(); - else if (nameAction.equals("EraseGrid")) EraseGrid(); - } - -//=======================================================================// -// MouseListener // -//=======================================================================// - public void mouseClicked(MouseEvent event) - { - if (theOperation == PANGLOBAL) - { - if (event.getModifiers() == event.BUTTON1_MASK) - { - SetCenter(event.getX(), event.getY()); - ResetState(); - } - } - else - if (parent != null) parent.MouseClicked(event); - } - -//-----------------------------------------------------------------------// - public void mouseEntered(MouseEvent event) - { - if (parent != null) parent.MouseEntered(event); - } - -//-----------------------------------------------------------------------// - public void mouseExited(MouseEvent event) - { - if (parent != null) parent.MouseExited(event); - } - -//-----------------------------------------------------------------------// - public void mousePressed(MouseEvent event) - { - switch (theOperation) - { - case MAGNIFY: - case WINDOWFIT: - case ZOOMVIEW: - case PANVIEW: - if (event.getModifiers() == event.BUTTON1_MASK) - { - startX = event.getX(); - startY = event.getY(); - } - break; - - case ROTATE: - if (event.getModifiers() == event.BUTTON1_MASK) - { - startX = event.getX(); - startY = event.getY(); - StartRotation(startX, startY); - } - break; - - default: - startX = event.getX(); - startY = event.getY(); - if (event.getModifiers() == (event.CTRL_MASK + event.BUTTON1_MASK)) - { - if (theOperation == NOTHING && !CursorIsHand) myCursor = this.getCursor(); - theOperation = ZOOMVIEW; - } - else if (event.getModifiers() == (event.CTRL_MASK + event.BUTTON2_MASK)) - { - if (theOperation == NOTHING && !CursorIsHand) myCursor = this.getCursor(); - theOperation = PANVIEW; - } - else if (event.getModifiers() == (event.CTRL_MASK + event.BUTTON3_MASK)) - { - if (theOperation == NOTHING && !CursorIsHand) myCursor = this.getCursor(); - theOperation = ROTATE; - StartRotation(startX, startY); - } - else - { - if (SwingUtilities.isLeftMouseButton(event)) - drawrect = true; - if (parent != null) parent.MousePressed(event); - } - } - } - -//-----------------------------------------------------------------------// - public void mouseReleased(MouseEvent event) - { - switch (theOperation) - { - case ROTATE: - EndRotation(); - ResetState(); - break; - case MAGNIFY: - case WINDOWFIT: - if (event.getModifiers() == event.BUTTON1_MASK) - { - currX = event.getX(); - currY = event.getY(); - Rectangle rect = getRectangle(startX, startY, currX, currY); - if (!rect.isEmpty()) - { - if (theOperation == MAGNIFY) - Magnify(rect); - else if (theOperation == WINDOWFIT) - WindowFit(rect); - } - ResetState(); - } - break; - case PANGLOBAL: - break; - default: - if (SwingUtilities.isLeftMouseButton(event) && drawrect) - repaint(); - ResetState(); - if (parent != null) parent.MouseReleased(event); - } - } - -//=======================================================================// -// MouseMotionListener // -//=======================================================================// - public void mouseDragged(MouseEvent event) - { - currX = event.getX(); - currY = event.getY(); - - switch (theOperation) - { - case ROTATE: - Rotate(currX, currY); - break; - case ZOOMVIEW: - Zoom(startX, startY, currX, currY); - startX = currX; - startY = currY; - break; - case PANVIEW: - Pan(currX - startX, startY - currY); - startX = currX; - startY = currY; - break; - case MAGNIFY: - case WINDOWFIT: - drawrect = true; - repaint(); - break; - default: - if (SwingUtilities.isLeftMouseButton(event)) - { - if (drawrect) repaint(); - if (!CursorIsHand) - { - if (theOperation == NOTHING && !CursorIsHand) myCursor = getCursor(); - setCursor(handCursor); - CursorIsHand = true; - } - } - if (parent != null) parent.MouseDragged(event); - } - } - -//-----------------------------------------------------------------------// - public void mouseMoved(MouseEvent event) - { - currX = event.getX(); - currY = event.getY(); - - if (parent != null) parent.MouseMoved(event); - } - - -//=======================================================================// -// ComponentListener // -//=======================================================================// - public void componentResized(ComponentEvent e) - { - needResize = true; - repaint(); - } - - public void componentMoved(ComponentEvent e) - { - } - - public void componentShown(ComponentEvent e) - { - } - - public void componentHidden(ComponentEvent e) - { - } - -} diff --git a/samples/java/java/ViewPanel.java b/samples/java/java/ViewPanel.java deleted file mode 100755 index 0d8ab3fcc6..0000000000 --- a/samples/java/java/ViewPanel.java +++ /dev/null @@ -1,673 +0,0 @@ - -//Title: Open CASCADE Technology Samples -//Version: -//Copyright: Copyright (c) 2000 -//Author: User Interface Group (Nizhny Novgorod) -//Company: Matra Datavision -//Description: - - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import javax.swing.border.*; -import java.util.*; - -import util.*; -import CASCADESamplesJni.*; - - -public class ViewPanel extends JPanel implements ActionListener, - KeyListener -{ - //-----------------------------------------------------------// - // Resources - //-----------------------------------------------------------// - static private ResourceBundle res1 = ResourceBundle.getBundle("properties.Viewer"); - static private ResourceBundle res = ResourceBundle.getBundle("properties.ViewerIcon"); - - // Zooming - static private ImageIcon imgFitAll = new ImageIcon(res.getString("IC_FIT_ALL")); - static private ImageIcon imgZoom = new ImageIcon(res.getString("IC_ZOOM")); - static private ImageIcon imgDynZoom = new ImageIcon(res.getString("IC_DYN_ZOOM")); - - // Panning - static private ImageIcon imgDynPan = new ImageIcon(res.getString("IC_DYN_PAN")); - static private ImageIcon imgGlobPan = new ImageIcon(res.getString("IC_GLOB_PAN")); - - // Projection - static private ImageIcon imgFront = new ImageIcon(res.getString("IC_FRONT")); - static private ImageIcon imgTop = new ImageIcon(res.getString("IC_TOP")); - static private ImageIcon imgLeft = new ImageIcon(res.getString("IC_LEFT")); - static private ImageIcon imgBack = new ImageIcon(res.getString("IC_BACK")); - static private ImageIcon imgRight = new ImageIcon(res.getString("IC_RIGHT")); - static private ImageIcon imgBottom = new ImageIcon(res.getString("IC_BOTTOM")); - static private ImageIcon imgAxo = new ImageIcon(res.getString("IC_AXO")); - - // Rotation - static private ImageIcon imgRotate = new ImageIcon(res.getString("IC_ROTATE")); - - // Reset view - static private ImageIcon imgReset = new ImageIcon(res.getString("IC_RESET")); - - // Degenerated mode - static private ImageIcon imgHiddenOff = new ImageIcon(res.getString("IC_HIDDEN_OFF")); - static private ImageIcon imgHiddenOn = new ImageIcon(res.getString("IC_HIDDEN_ON")); - - // Grid management - static private ImageIcon imgRectLine = new ImageIcon(res.getString("IC_RECT_LINE")); - static private ImageIcon imgRectPoint = new ImageIcon(res.getString("IC_RECT_POINT")); - static private ImageIcon imgCircLine = new ImageIcon(res.getString("IC_CIRC_LINE")); - static private ImageIcon imgCircPoint = new ImageIcon(res.getString("IC_CIRC_POINT")); - static private ImageIcon imgEditGrid = new ImageIcon(res.getString("IC_EDIT_GRID")); - static private ImageIcon imgEraseGrid = new ImageIcon(res.getString("IC_ERASE_GRID")); - - - //-----------------------------------------------------------// - // GUI components - //-----------------------------------------------------------// - private JToolBar buttonsBar = new JToolBar(JToolBar.HORIZONTAL); - private ViewCanvas VPort; - - static private Insets margin = new Insets(1,1,1,1); - - - //-----------------------------------------------------------// - // Listeners - //-----------------------------------------------------------// - private transient Vector mouseMotionListeners; - private transient Vector mouseListeners; - private transient Vector keyListeners; - - - //-----------------------------------------------------------// - // OS type - //-----------------------------------------------------------// - private static int OsType = ViewCanvas.getOSType(); - - - //-----------------------------------------------------------// - // View type - //-----------------------------------------------------------// - public static int VIEW_3D = 0; - public static int VIEW_2D = 1; - - -//=======================================================================// -// Constructor -//=======================================================================// - public ViewPanel() - { - this(VIEW_3D); - } - - public ViewPanel(int type) - { - try - { - jbInit(type); - } - catch (Exception e) - { - e.printStackTrace(); - } - } - -//=======================================================================// -// Component initialization -//=======================================================================// - private void jbInit(int type) throws Exception - { - this.setBackground(Color.gray); - this.setLayout(new BorderLayout()); - - // Create view port - JPanel port = new JPanel(new BorderLayout()); - port.setBorder(BorderFactory.createLoweredBevelBorder()); - VPort = createViewPort(); - VPort.setParent(this); - port.add(VPort, BorderLayout.CENTER); - add(port, BorderLayout.CENTER); - - // Create toolbar - buttonsBar = new JToolBar(); - buttonsBar.setBorder(BorderFactory.createEmptyBorder(3, 3, 3, 3)); - buttonsBar.setFloatable(true); - if (type == VIEW_2D) - createMenu2d(); - else - createMenu3d(); - add(buttonsBar, BorderLayout.NORTH); - - addKeyListener(this); - } - - //-----------------------------------------------------------// - // Creation view port - //-----------------------------------------------------------// - public ViewCanvas createViewPort() - { - return new ViewCanvas(); - } - - public ViewCanvas getViewPort() - { - return VPort; - } - - - //-----------------------------------------------------------// - // Creation menu for view3d - //-----------------------------------------------------------// - private void createMenu3d() - { - JButton button; - JToggleButton toggle; - - // Zooming - button = new HeavyButton(imgFitAll); - button.setToolTipText(res1.getString("TT_FIT_ALL")); - button.setActionCommand("FitAll"); - button.addActionListener(VPort); - button.setMargin(margin); - buttonsBar.add(button); - - button = new HeavyButton(imgZoom); - button.setToolTipText(res1.getString("TT_ZOOM")); - button.setActionCommand("Zoom"); - button.addActionListener(VPort); - button.setMargin(margin); - buttonsBar.add(button); - - button = new HeavyButton(imgDynZoom); - button.setToolTipText(res1.getString("TT_DYN_ZOOM")); - button.setActionCommand("DynZoom"); - button.addActionListener(VPort); - button.setMargin(margin); - buttonsBar.add(button); - - buttonsBar.addSeparator(); - - // Panning - button = new HeavyButton(imgDynPan); - button.setToolTipText(res1.getString("TT_DYN_PAN")); - button.setActionCommand("DynPan"); - button.addActionListener(VPort); - button.setMargin(margin); - buttonsBar.add(button); - - button = new HeavyButton(imgGlobPan); - button.setToolTipText(res1.getString("TT_GLOB_PAN")); - button.setActionCommand("GlobPan"); - button.addActionListener(VPort); - button.setMargin(margin); - buttonsBar.add(button); - - buttonsBar.addSeparator(); - - // Projection - button = new HeavyButton(imgFront); - button.setToolTipText(res1.getString("TT_FRONT")); - button.setActionCommand("Front"); - button.addActionListener(VPort); - button.setMargin(margin); - buttonsBar.add(button); - - button = new HeavyButton(imgTop); - button.setToolTipText(res1.getString("TT_TOP")); - button.setActionCommand("Top"); - button.addActionListener(VPort); - button.setMargin(margin); - buttonsBar.add(button); - - button = new HeavyButton(imgLeft); - button.setToolTipText(res1.getString("TT_LEFT")); - button.setActionCommand("Left"); - button.addActionListener(VPort); - button.setMargin(margin); - buttonsBar.add(button); - - button = new HeavyButton(imgBack); - button.setToolTipText(res1.getString("TT_BACK")); - button.setActionCommand("Back"); - button.addActionListener(VPort); - button.setMargin(margin); - buttonsBar.add(button); - - button = new HeavyButton(imgRight); - button.setToolTipText(res1.getString("TT_RIGHT")); - button.setActionCommand("Right"); - button.addActionListener(VPort); - button.setMargin(margin); - buttonsBar.add(button); - - button = new HeavyButton(imgBottom); - button.setToolTipText(res1.getString("TT_BOTTOM")); - button.setActionCommand("Bottom"); - button.addActionListener(VPort); - button.setMargin(margin); - buttonsBar.add(button); - - button = new HeavyButton(imgAxo); - button.setToolTipText(res1.getString("TT_AXO")); - button.setActionCommand("Axo"); - button.addActionListener(VPort); - button.setMargin(margin); - buttonsBar.add(button); - - buttonsBar.addSeparator(); - - // Rotation - button = new HeavyButton(imgRotate); - button.setToolTipText(res1.getString("TT_ROTATE")); - button.setActionCommand("Rotate"); - button.addActionListener(VPort); - button.setMargin(margin); - buttonsBar.add(button); - - buttonsBar.addSeparator(); - - // Reset view - button = new HeavyButton(imgReset); - button.setToolTipText(res1.getString("TT_RESET")); - button.setActionCommand("Reset"); - button.addActionListener(VPort); - button.setMargin(margin); - buttonsBar.add(button); - - buttonsBar.addSeparator(); - - // Degeneration mode - ButtonGroup group = new ButtonGroup(); - toggle = new JToggleButton(imgHiddenOff, false); - toggle.setToolTipText(res1.getString("TT_HIDDEN_OFF")); - toggle.setActionCommand("HiddenOff"); - toggle.addActionListener(VPort); - toggle.setMargin(margin); - group.add(toggle); - buttonsBar.add(toggle); - - toggle = new JToggleButton(imgHiddenOn, true); - toggle.setToolTipText(res1.getString("TT_HIDDEN_ON")); - toggle.setActionCommand("HiddenOn"); - toggle.addActionListener(VPort); - toggle.setMargin(margin); - group.add(toggle); - buttonsBar.add(toggle); - - VPort.SetDegenerateMode(true); - } - - - //-----------------------------------------------------------// - // Creation menu for view2d - //-----------------------------------------------------------// - private void createMenu2d() - { - JButton button; - - // Zooming - button = new HeavyButton(imgFitAll); - button.setToolTipText(res1.getString("TT_FIT_ALL")); - button.setActionCommand("FitAll"); - button.addActionListener(VPort); - button.setMargin(margin); - buttonsBar.add(button); - - button = new HeavyButton(imgZoom); - button.setToolTipText(res1.getString("TT_ZOOM")); - button.setActionCommand("Zoom"); - button.addActionListener(VPort); - button.setMargin(margin); - buttonsBar.add(button); - - button = new HeavyButton(imgDynZoom); - button.setToolTipText(res1.getString("TT_DYN_ZOOM")); - button.setActionCommand("DynZoom"); - button.addActionListener(VPort); - button.setMargin(margin); - buttonsBar.add(button); - - buttonsBar.addSeparator(); - - // Panning - button = new HeavyButton(imgDynPan); - button.setToolTipText(res1.getString("TT_DYN_PAN")); - button.setActionCommand("DynPan"); - button.addActionListener(VPort); - button.setMargin(margin); - buttonsBar.add(button); - - button = new HeavyButton(imgGlobPan); - button.setToolTipText(res1.getString("TT_GLOB_PAN")); - button.setActionCommand("GlobPan"); - button.addActionListener(VPort); - button.setMargin(margin); - buttonsBar.add(button); - - buttonsBar.addSeparator(); - - // Grid management - button = new HeavyButton(imgRectLine); - button.setToolTipText(res1.getString("TT_RECT_LINE")); - button.setActionCommand("RectLine"); - button.addActionListener(VPort); - button.setMargin(margin); - buttonsBar.add(button); - - button = new HeavyButton(imgRectPoint); - button.setToolTipText(res1.getString("TT_RECT_POINT")); - button.setActionCommand("RectPoint"); - button.addActionListener(VPort); - button.setMargin(margin); - buttonsBar.add(button); - - button = new HeavyButton(imgCircLine); - button.setToolTipText(res1.getString("TT_CIRC_LINE")); - button.setActionCommand("CircLine"); - button.addActionListener(VPort); - button.setMargin(margin); - buttonsBar.add(button); - - button = new HeavyButton(imgCircPoint); - button.setToolTipText(res1.getString("TT_CIRC_POINT")); - button.setActionCommand("CircPoint"); - button.addActionListener(VPort); - button.setMargin(margin); - buttonsBar.add(button); - - button = new HeavyButton(imgEditGrid); - button.setToolTipText(res1.getString("TT_EDIT_GRID")); - button.setActionCommand("EditGrid"); - button.addActionListener(VPort); - button.setMargin(margin); - buttonsBar.add(button); - - button = new HeavyButton(imgEraseGrid); - button.setToolTipText(res1.getString("TT_ERASE_GRID")); - button.setActionCommand("EraseGrid"); - button.addActionListener(VPort); - button.setMargin(margin); - buttonsBar.add(button); - } - - - //-----------------------------------------------------------// - // Minimum size - //-----------------------------------------------------------// - public Dimension getMinimumSize() - { - return new Dimension(700, 100); - } - - - //-----------------------------------------------------------// - // Background color - //-----------------------------------------------------------// - public void ChangeBackgroundColor() - { - Color newColor = JColorChooser.showDialog(this, res1.getString("DLG_CHANGECOLOR"), - VPort.GetBackgroundColor()); - if (newColor != null) - VPort.SetBackgroundColor(newColor); - } - - - //-----------------------------------------------------------// - // Default popup - //-----------------------------------------------------------// - public PopupMenu getDefaultPopup() - { - PopupMenu popup = new PopupMenu(res1.getString("VIEW_POPUP")); - - MenuItem item = new MenuItem(res1.getString("MN_BACKGROUND")); - item.setActionCommand("ChangeColor"); - item.addActionListener(this); - popup.add(item); - - return popup; - } - - -//=======================================================================// -// ActionListener // -//=======================================================================// - public void actionPerformed(ActionEvent event) - { - String nameAction = event.getActionCommand(); - - VPort.ResetState(); - - // Backgroung color - if (nameAction.equals("ChangeColor")) - ChangeBackgroundColor(); - - } - -//=======================================================================// -// External Listeners // -//=======================================================================// - public synchronized void removeMouseMotionListener(MouseMotionListener l) - { - super.removeMouseMotionListener(l); - if (mouseMotionListeners != null && mouseMotionListeners.contains(l)) - { - Vector v = (Vector) mouseMotionListeners.clone(); - v.removeElement(l); - mouseMotionListeners = v; - } - } - -//=======================================================================// - public synchronized void addMouseMotionListener(MouseMotionListener l) - { - super.addMouseMotionListener(l); - Vector v = mouseMotionListeners == null ? new Vector(2) : (Vector) mouseMotionListeners.clone(); - if (!v.contains(l)) - { - v.addElement(l); - mouseMotionListeners = v; - } - } - -//=======================================================================// - public void MouseDragged(MouseEvent e) - { - MouseEvent event = new MouseEvent(this, e.getID(), e.getWhen(), - e.getModifiers(), e.getX(), e.getY(), - e.getClickCount(), e.isPopupTrigger()); - if (VPort.hasWindow()) fireMouseDragged(event); - } - protected void fireMouseDragged(MouseEvent e) - { - if (mouseMotionListeners != null) - { - Vector listeners = mouseMotionListeners; - int count = listeners.size(); - for (int i = 0; i < count; i++) - ((MouseMotionListener) listeners.elementAt(i)).mouseDragged(e); - } - } - -//=======================================================================// - public void MouseMoved(MouseEvent e) - { - MouseEvent event = new MouseEvent(this, e.getID(), e.getWhen(), - e.getModifiers(), e.getX(), e.getY(), - e.getClickCount(), e.isPopupTrigger()); - if (VPort.hasWindow()) fireMouseMoved(event); - } - protected void fireMouseMoved(MouseEvent e) - { - if (mouseMotionListeners != null) - { - Vector listeners = mouseMotionListeners; - int count = listeners.size(); - for (int i = 0; i < count; i++) - ((MouseMotionListener) listeners.elementAt(i)).mouseMoved(e); - } - } - -//=======================================================================// - public synchronized void removeMouseListener(MouseListener l) - { - super.removeMouseListener(l); - if (mouseListeners != null && mouseListeners.contains(l)) - { - Vector v = (Vector) mouseListeners.clone(); - v.removeElement(l); - mouseListeners = v; - } - } - -//=======================================================================// - public synchronized void addMouseListener(MouseListener l) - { - super.addMouseListener(l); - Vector v = mouseListeners == null ? new Vector(2) : (Vector) mouseListeners.clone(); - if (!v.contains(l)) - { - v.addElement(l); - mouseListeners = v; - } - } - -//=======================================================================// - public void MouseClicked(MouseEvent e) - { - MouseEvent event = new MouseEvent(this, e.getID(), e.getWhen(), - e.getModifiers(), e.getX(), e.getY(), - e.getClickCount(), e.isPopupTrigger()); - if (VPort.hasWindow()) fireMouseClicked(event); - } - protected void fireMouseClicked(MouseEvent e) - { - if (mouseListeners != null) - { - Vector listeners = mouseListeners; - int count = listeners.size(); - for (int i = 0; i < count; i++) - ((MouseListener) listeners.elementAt(i)).mouseClicked(e); - } - } - -//=======================================================================// - public void MouseEntered(MouseEvent e) - { - MouseEvent event = new MouseEvent(this, e.getID(), e.getWhen(), - e.getModifiers(), e.getX(), e.getY(), - e.getClickCount(), e.isPopupTrigger()); - if (VPort.hasWindow()) fireMouseEntered(event); - } - protected void fireMouseEntered(MouseEvent e) - { - if (mouseListeners != null) - { - Vector listeners = mouseListeners; - int count = listeners.size(); - for (int i = 0; i < count; i++) - ((MouseListener) listeners.elementAt(i)).mouseEntered(e); - } - } - -//=======================================================================// - public void MouseExited(MouseEvent e) - { - MouseEvent event = new MouseEvent(this, e.getID(), e.getWhen(), - e.getModifiers(), e.getX(), e.getY(), - e.getClickCount(), e.isPopupTrigger()); - if (VPort.hasWindow()) fireMouseExited(event); - } - protected void fireMouseExited(MouseEvent e) - { - if (mouseListeners != null) - { - Vector listeners = mouseListeners; - int count = listeners.size(); - for (int i = 0; i < count; i++) - ((MouseListener) listeners.elementAt(i)).mouseExited(e); - } - } - -//=======================================================================// - public void MousePressed(MouseEvent e) - { - MouseEvent event = new MouseEvent(this, e.getID(), e.getWhen(), - e.getModifiers(), e.getX(), e.getY(), - e.getClickCount(), e.isPopupTrigger()); - if (VPort.hasWindow()) fireMousePressed(event); - } - protected void fireMousePressed(MouseEvent e) - { - if (mouseListeners != null) - { - Vector listeners = mouseListeners; - int count = listeners.size(); - for (int i = 0; i < count; i++) - ((MouseListener) listeners.elementAt(i)).mousePressed(e); - } - } - -//=======================================================================// - public void MouseReleased(MouseEvent e) - { - MouseEvent event = new MouseEvent(this, e.getID(), e.getWhen(), - e.getModifiers(), e.getX(), e.getY(), - e.getClickCount(), e.isPopupTrigger()); - if (VPort.hasWindow()) fireMouseReleased(event); - } - protected void fireMouseReleased(MouseEvent e) - { - if (mouseListeners != null) - { - Vector listeners = mouseListeners; - int count = listeners.size(); - for (int i = 0; i < count; i++) - ((MouseListener) listeners.elementAt(i)).mouseReleased(e); - } - } - -//=======================================================================// -// KeyListener -//=======================================================================// - public void keyTyped(KeyEvent e) - { - } - -//=======================================================================// - public void keyPressed(KeyEvent e) - { - } - -//=======================================================================// - public void keyReleased(KeyEvent e) - { - if (e.getKeyCode() == e.VK_ESCAPE) VPort.ResetState(); - } - -//=======================================================================// - public synchronized void removeKeyListener(KeyListener l) - { - if(keyListeners != null && keyListeners.contains(l)) - { - Vector v = (Vector) keyListeners.clone(); - v.removeElement(l); - keyListeners = v; - super.removeKeyListener(l); - } - } - -//=======================================================================// - public synchronized void addKeyListener(KeyListener l) - { - Vector v = keyListeners == null ? new Vector(2) : (Vector) keyListeners.clone(); - if(!v.contains(l)) - { - v.addElement(l); - keyListeners = v; - super.addKeyListener(l); - } - } -} - - diff --git a/samples/java/java/ZClippingDlg.java b/samples/java/java/ZClippingDlg.java deleted file mode 100755 index b4c06e46a9..0000000000 --- a/samples/java/java/ZClippingDlg.java +++ /dev/null @@ -1,360 +0,0 @@ - -//Title: Viewer3D Sample -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface group -//Company: Matra Datavision -//Description: - - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import javax.swing.event.*; -import CASCADESamplesJni.*; -import SampleViewer3DJni.*; -import jcas.Standard_Real; - - -public class ZClippingDlg extends JDialog - implements ActionListener, - InputMethodListener, - ChangeListener, - KeyListener -{ - private SamplePanel myDocument; - private V3d_View myView; - - //-----------------------------------------------------------// - // GUI components - //-----------------------------------------------------------// - JComboBox cmbType; - JSlider sldDepth; - JSlider sldWidth; - JTextField txtDepth; - JTextField txtWidth; - - private boolean consume = false; - private String strDepth = new String(""); - private String strWidth = new String(""); - private boolean userDepthChanged = false; - private boolean userWidthChanged = false; - - -//=======================================================================// -// Construction -//=======================================================================// - public ZClippingDlg(Frame frame, SamplePanel aDoc, V3d_View aView) - { - super(frame, "ZClipping", false); - myDocument = aDoc; - myView = aView; - - try - { - jbInit(); - initValues(); - pack(); - } - catch(Exception ex) - { - ex.printStackTrace(); - } - } - - void jbInit() throws Exception - { - getContentPane().setLayout(new BorderLayout()); - - JPanel mainPanel = new JPanel(new GridBagLayout()); - mainPanel.setBorder(BorderFactory.createRaisedBevelBorder()); - - JLabel lblDepth = new JLabel("Depth"); - mainPanel.add(lblDepth, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, - GridBagConstraints.WEST, GridBagConstraints.NONE, - new Insets(10, 10, 5, 5), 0, 0)); - - sldDepth = new JSlider(-1500, 1500, 0); - sldDepth.addChangeListener(this); - mainPanel.add(sldDepth, new GridBagConstraints(1, 0, 1, 1, 0.0, 0.0, - GridBagConstraints.CENTER, GridBagConstraints.NONE, - new Insets(10, 5, 5, 5), 0, 0)); - - txtDepth = new JTextField(6); - txtDepth.addInputMethodListener(this); - txtDepth.addKeyListener(this); - mainPanel.add(txtDepth, new GridBagConstraints(2, 0, 1, 1, 0.0, 0.0, - GridBagConstraints.CENTER, GridBagConstraints.NONE, - new Insets(10, 5, 5, 10), 0, 0)); - - JLabel lblWidth = new JLabel("Width"); - mainPanel.add(lblWidth, new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0, - GridBagConstraints.WEST, GridBagConstraints.NONE, - new Insets(5, 10, 10, 5), 0, 0)); - - sldWidth = new JSlider(0, 1500, 0); - sldWidth.addChangeListener(this); - mainPanel.add(sldWidth, new GridBagConstraints(1, 1, 1, 1, 0.0, 0.0, - GridBagConstraints.CENTER, GridBagConstraints.NONE, - new Insets(5, 5, 10, 5), 0, 0)); - - txtWidth = new JTextField(6); - txtWidth.addInputMethodListener(this); - txtWidth.addKeyListener(this); - mainPanel.add(txtWidth, new GridBagConstraints(2, 1, 1, 1, 0.0, 0.0, - GridBagConstraints.CENTER, GridBagConstraints.NONE, - new Insets(5, 5, 10, 10), 0, 0)); - - JLabel lblType = new JLabel("Type"); - mainPanel.add(lblType, new GridBagConstraints(0, 2, 1, 1, 0.0, 0.0, - GridBagConstraints.WEST, GridBagConstraints.NONE, - new Insets(10, 10, 10, 5), 0, 0)); - - String[] items = {"OFF", "BACK", "FRONT", "SLICE"}; - cmbType = new JComboBox(items); - cmbType.setSelectedIndex(0); - cmbType.setEditable(false); - cmbType.addActionListener(this); - cmbType.setActionCommand("Type"); - mainPanel.add(cmbType, new GridBagConstraints(1, 2, 1, 1, 0.0, 0.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(10, 10, 10, 10), 0, 0)); - getContentPane().add(mainPanel, BorderLayout.CENTER); - - JPanel controlPanel = new JPanel(); - - JButton btnOK = new JButton("OK"); - btnOK.addActionListener(this); - btnOK.setActionCommand("OK"); - controlPanel.add(btnOK); - - JButton btnCancel = new JButton("Cancel"); - btnCancel.addActionListener(this); - btnCancel.setActionCommand("Cancel"); - controlPanel.add(btnCancel); - getContentPane().add(controlPanel, BorderLayout.SOUTH); - } - - private void initValues() - { - Standard_Real depth = new Standard_Real(); - Standard_Real width = new Standard_Real(); - int type = myView.ZClipping(depth, width); - -/* - if (type == V3d_TypeOfZclipping.V3d_OFF) - cmbType.setSelectedIndex(0); - else if (type == V3d_TypeOfZclipping.V3d_BACK) - cmbType.setSelectedIndex(1); - else if (type == V3d_TypeOfZclipping.V3d_FRONT) - cmbType.setSelectedIndex(2); - else if (type == V3d_TypeOfZclipping.V3d_SLICE) - cmbType.setSelectedIndex(3); -*/ - cmbType.setSelectedIndex(type); - - sldDepth.setValue((int) Math.round(depth.GetValue())); - txtDepth.setText(String.valueOf(depth.GetValue())); - - sldWidth.setValue((int) Math.round(width.GetValue())); - txtWidth.setText(String.valueOf(width.GetValue())); - } - -//=======================================================================// -// Commands -//=======================================================================// - private void onDepthChanged() - { - String newValue = txtDepth.getText(); - Double value = new Double((newValue.equals("") || newValue.equals("-"))? - "0." : newValue); - if (value.doubleValue() > 1500. || value.doubleValue() < -1500.) - return; - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleViewer3DPackage.ChangeZClippingDepth(myView, value.doubleValue(), message); - - myDocument.traceMessage(message.ToCString().GetValue(), "SetZClippingDepth"); - } - -//=======================================================================// - private void onWidthChanged() - { - String newValue = txtWidth.getText(); - Double value = new Double((newValue.equals("") || newValue.equals("-"))? - "0." : newValue); - if (value.doubleValue() > 1500. || value.doubleValue() <= 0.) - return; - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleViewer3DPackage.ChangeZClippingWidth(myView, value.doubleValue(), message); - - myDocument.traceMessage(message.ToCString().GetValue(), "SetZClippingWidth"); - } - -//=======================================================================// - private void onTypeChanged() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleViewer3DPackage.ChangeZClippingType(myView, (short)cmbType.getSelectedIndex(), message); - - myDocument.traceMessage(message.ToCString().GetValue(), "SetZClippingType"); - } - -//=======================================================================// - private void close() - { - dispose(); - } - - -//=======================================================================// -// Action listener interface -//=======================================================================// - public void actionPerformed(ActionEvent event) - { - String nameAction = event.getActionCommand(); - if (nameAction.equals("Type")) - onTypeChanged(); - else if (nameAction.equals("OK")) - close(); - else if (nameAction.equals("Cancel")) - close(); - } - - -//=======================================================================// -// Change listener interface -//=======================================================================// - public void stateChanged(ChangeEvent event) - { - JSlider slider = (JSlider) event.getSource(); - if (slider.equals(sldDepth)) - { - if (userDepthChanged) - { - txtDepth.setText(String.valueOf(slider.getValue())); - onDepthChanged(); - } - else - userDepthChanged = true; - } - else if (slider.equals(sldWidth)) - { - if (userWidthChanged) - { - txtWidth.setText(String.valueOf(slider.getValue())); - onWidthChanged(); - } - else - userWidthChanged = true; - } - } - -//=======================================================================// -// Key listener interface -//=======================================================================// - public void keyTyped(KeyEvent event) - { - } - -//=======================================================================// - public void keyPressed(KeyEvent event) - { - JTextField field = (JTextField) event.getSource(); - - int aKod = event.getKeyCode(); - if (aKod == event.VK_MINUS) - { - String aStr = field.getText(); - int aPos = aStr.indexOf("-"); - - if (aPos == -1) // Minus not present - { - if ((field.getCaretPosition()) != 0) - consume = true; - } - else - consume = true; - } - else if ((aKod == event.VK_DECIMAL) || (aKod == event.VK_PERIOD)) - { - String aStr = field.getText(); - int aPos = aStr.indexOf("."); - if (aPos != -1) // the point is present in the string - consume = true; - } - else if (!event.isActionKey() && aKod != event.VK_BACK_SPACE && - aKod != event.VK_DELETE) - { - if (!Character.isDigit(event.getKeyChar())) - consume = true; - } - } - -//=======================================================================// - public void keyReleased(KeyEvent event) - { - JTextField field = (JTextField) event.getSource(); - String newValue = field.getText(); - Double value = new Double((newValue.equals("") || newValue.equals("-"))? - "0." : newValue); - - if (field.equals(txtDepth)) - { - if (!newValue.equals(strDepth)) - { - strDepth = newValue; - if (value.doubleValue() < -1500. || value.doubleValue() > 1500.) - { - txtDepth.selectAll(); - JOptionPane.showMessageDialog(this, "Please enter a value between -1500 and 1500", - "Warning!!!", JOptionPane.WARNING_MESSAGE); - requestFocus(); - } - else - { - userDepthChanged = false; - sldDepth.setValue((int) Math.round(value.doubleValue())); - onDepthChanged(); - } - } - } - else if (field.equals(txtWidth)) - { - if (!newValue.equals(strWidth)) - { - strWidth = newValue; - if (value.doubleValue() <= 0. || value.doubleValue() > 1500.) - { - txtWidth.selectAll(); - JOptionPane.showMessageDialog(this, "Please enter a value between 0 and 1500", - "Warning!!!", JOptionPane.WARNING_MESSAGE); - requestFocus(); - } - else - { - userWidthChanged = false; - sldWidth.setValue((int) Math.round(value.doubleValue())); - onWidthChanged(); - } - } - } - } - -//=======================================================================// -// InputMethod listener interface -//=======================================================================// - public void inputMethodTextChanged(InputMethodEvent event) - { - if (consume) - { - event.consume(); - consume = false; - } - } - - public void caretPositionChanged(InputMethodEvent event) - { - } -} diff --git a/samples/java/java/ZCueingDlg.java b/samples/java/java/ZCueingDlg.java deleted file mode 100755 index 167f8c4203..0000000000 --- a/samples/java/java/ZCueingDlg.java +++ /dev/null @@ -1,349 +0,0 @@ - -//Title: Viewer3D Sample -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface group -//Company: Matra Datavision -//Description: - - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import javax.swing.event.*; -import CASCADESamplesJni.*; -import SampleViewer3DJni.*; -import jcas.Standard_Real; - - -public class ZCueingDlg extends JDialog - implements ActionListener, - InputMethodListener, - ChangeListener, - KeyListener, - ItemListener -{ - private SamplePanel myDocument; - private V3d_View myView; - - //-----------------------------------------------------------// - // GUI components - //-----------------------------------------------------------// - JCheckBox chkOnOff; - JSlider sldDepth; - JSlider sldWidth; - JTextField txtDepth; - JTextField txtWidth; - - private boolean consume = false; - private String strDepth = new String(""); - private String strWidth = new String(""); - private boolean userDepthChanged = false; - private boolean userWidthChanged = false; - - -//=======================================================================// -// Construction -//=======================================================================// - public ZCueingDlg(Frame frame, SamplePanel aDoc, V3d_View aView) - { - super(frame, "ZCueing", false); - myDocument = aDoc; - myView = aView; - - try - { - jbInit(); - initValues(); - pack(); - } - catch(Exception ex) - { - ex.printStackTrace(); - } - } - - void jbInit() throws Exception - { - getContentPane().setLayout(new BorderLayout()); - - JPanel mainPanel = new JPanel(new GridBagLayout()); - mainPanel.setBorder(BorderFactory.createRaisedBevelBorder()); - - JLabel lblDepth = new JLabel("Depth"); - mainPanel.add(lblDepth, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, - GridBagConstraints.WEST, GridBagConstraints.NONE, - new Insets(10, 10, 5, 5), 0, 0)); - - sldDepth = new JSlider(-1500, 1500, 0); - sldDepth.addChangeListener(this); - mainPanel.add(sldDepth, new GridBagConstraints(1, 0, 1, 1, 0.0, 0.0, - GridBagConstraints.CENTER, GridBagConstraints.NONE, - new Insets(10, 5, 5, 5), 0, 0)); - - txtDepth = new JTextField(6); - txtDepth.addInputMethodListener(this); - txtDepth.addKeyListener(this); - mainPanel.add(txtDepth, new GridBagConstraints(2, 0, 1, 1, 0.0, 0.0, - GridBagConstraints.CENTER, GridBagConstraints.NONE, - new Insets(10, 5, 5, 10), 0, 0)); - - JLabel lblWidth = new JLabel("Width"); - mainPanel.add(lblWidth, new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0, - GridBagConstraints.WEST, GridBagConstraints.NONE, - new Insets(5, 10, 10, 5), 0, 0)); - - sldWidth = new JSlider(0, 1500, 0); - sldWidth.addChangeListener(this); - mainPanel.add(sldWidth, new GridBagConstraints(1, 1, 1, 1, 0.0, 0.0, - GridBagConstraints.CENTER, GridBagConstraints.NONE, - new Insets(5, 5, 10, 5), 0, 0)); - - txtWidth = new JTextField(6); - txtWidth.addInputMethodListener(this); - txtWidth.addKeyListener(this); - mainPanel.add(txtWidth, new GridBagConstraints(2, 1, 1, 1, 0.0, 0.0, - GridBagConstraints.CENTER, GridBagConstraints.NONE, - new Insets(5, 5, 10, 10), 0, 0)); - - chkOnOff = new JCheckBox("Cueing ON/OFF", false); - chkOnOff.addItemListener(this); - mainPanel.add(chkOnOff, new GridBagConstraints(0, 2, 2, 1, 0.0, 0.0, - GridBagConstraints.WEST, GridBagConstraints.NONE, - new Insets(10, 10, 10, 10), 0, 0)); - getContentPane().add(mainPanel, BorderLayout.CENTER); - - JPanel controlPanel = new JPanel(); - - JButton btnOK = new JButton("OK"); - btnOK.addActionListener(this); - btnOK.setActionCommand("OK"); - controlPanel.add(btnOK); - - JButton btnCancel = new JButton("Cancel"); - btnCancel.addActionListener(this); - btnCancel.setActionCommand("Cancel"); - controlPanel.add(btnCancel); - getContentPane().add(controlPanel, BorderLayout.SOUTH); - } - - private void initValues() - { - Standard_Real depth = new Standard_Real(); - Standard_Real width = new Standard_Real(); - boolean isOn = myView.ZCueing(depth, width); - - chkOnOff.setSelected(isOn); - - sldDepth.setValue((int) Math.round(depth.GetValue())); - txtDepth.setText(String.valueOf(depth.GetValue())); - - sldWidth.setValue((int) Math.round(width.GetValue())); - txtWidth.setText(String.valueOf(width.GetValue())); - } - -//=======================================================================// -// Commands -//=======================================================================// - private void onDepthChanged() - { - String newValue = txtDepth.getText(); - Double value = new Double((newValue.equals("") || newValue.equals("-"))? - "0." : newValue); - if (value.doubleValue() > 1500. || value.doubleValue() < -1500.) - return; - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleViewer3DPackage.ChangeZCueingDepth(myView, value.doubleValue(), message); - - myDocument.traceMessage(message.ToCString().GetValue(), "SetZCueingDepth"); - } - -//=======================================================================// - private void onWidthChanged() - { - String newValue = txtWidth.getText(); - Double value = new Double((newValue.equals("") || newValue.equals("-"))? - "0." : newValue); - if (value.doubleValue() > 1500. || value.doubleValue() <= 0.) - return; - - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleViewer3DPackage.ChangeZCueingWidth(myView, value.doubleValue(), message); - - myDocument.traceMessage(message.ToCString().GetValue(), "SetZCueingWidth"); - } - -//=======================================================================// - private void onCueingOnOff() - { - TCollection_AsciiString message = new TCollection_AsciiString(); - SampleViewer3DPackage.ChangeZCueingOnOff(myView, chkOnOff.isSelected(), message); - - myDocument.traceMessage(message.ToCString().GetValue(), "SetZCueingOn/SetZCueingOff"); - } - -//=======================================================================// - private void close() - { - dispose(); - } - - -//=======================================================================// -// Action listener interface -//=======================================================================// - public void actionPerformed(ActionEvent event) - { - String nameAction = event.getActionCommand(); - if (nameAction.equals("OK")) - close(); - else if (nameAction.equals("Cancel")) - close(); - } - - -//=======================================================================// -// Item listener interface -//=======================================================================// - public void itemStateChanged(ItemEvent event) - { - if (event.getSource().equals(chkOnOff)) - onCueingOnOff(); - } - -//=======================================================================// -// Change listener interface -//=======================================================================// - public void stateChanged(ChangeEvent event) - { - JSlider slider = (JSlider) event.getSource(); - if (slider.equals(sldDepth)) - { - if (userDepthChanged) - { - txtDepth.setText(String.valueOf(slider.getValue())); - onDepthChanged(); - } - else - userDepthChanged = true; - } - else if (slider.equals(sldWidth)) - { - if (userWidthChanged) - { - txtWidth.setText(String.valueOf(slider.getValue())); - onWidthChanged(); - } - else - userWidthChanged = true; - } - } - -//=======================================================================// -// Key listener interface -//=======================================================================// - public void keyTyped(KeyEvent event) - { - } - -//=======================================================================// - public void keyPressed(KeyEvent event) - { - JTextField field = (JTextField) event.getSource(); - - int aKod = event.getKeyCode(); - if (aKod == event.VK_MINUS) - { - String aStr = field.getText(); - int aPos = aStr.indexOf("-"); - - if (aPos == -1) // Minus not present - { - if ((field.getCaretPosition()) != 0) - consume = true; - } - else - consume = true; - } - else if ((aKod == event.VK_DECIMAL) || (aKod == event.VK_PERIOD)) - { - String aStr = field.getText(); - int aPos = aStr.indexOf("."); - if (aPos != -1) // the point is present in the string - consume = true; - } - else if (!event.isActionKey() && aKod != event.VK_BACK_SPACE && - aKod != event.VK_DELETE) - { - if (!Character.isDigit(event.getKeyChar())) - consume = true; - } - } - -//=======================================================================// - public void keyReleased(KeyEvent event) - { - JTextField field = (JTextField) event.getSource(); - String newValue = field.getText(); - Double value = new Double((newValue.equals("") || newValue.equals("-"))? - "0." : newValue); - - if (field.equals(txtDepth)) - { - if (!newValue.equals(strDepth)) - { - strDepth = newValue; - if (value.doubleValue() < -1500. || value.doubleValue() > 1500.) - { - txtDepth.selectAll(); - JOptionPane.showMessageDialog(this, "Please enter a value between -1500 and 1500", - "Warning!!!", JOptionPane.WARNING_MESSAGE); - requestFocus(); - } - else - { - userDepthChanged = false; - sldDepth.setValue((int) Math.round(value.doubleValue())); - onDepthChanged(); - } - } - } - else if (field.equals(txtWidth)) - { - if (!newValue.equals(strWidth)) - { - strWidth = newValue; - if (value.doubleValue() <= 0. || value.doubleValue() > 1500.) - { - txtWidth.selectAll(); - JOptionPane.showMessageDialog(this, "Please enter a value between 0 and 1500", - "Warning!!!", JOptionPane.WARNING_MESSAGE); - requestFocus(); - } - else - { - userWidthChanged = false; - sldWidth.setValue((int) Math.round(value.doubleValue())); - onWidthChanged(); - } - } - } - } - -//=======================================================================// -// InputMethod listener interface -//=======================================================================// - public void inputMethodTextChanged(InputMethodEvent event) - { - if (consume) - { - event.consume(); - consume = false; - } - } - - public void caretPositionChanged(InputMethodEvent event) - { - } -} diff --git a/samples/java/java/data/CrankArm.rle b/samples/java/java/data/CrankArm.rle deleted file mode 100755 index cee3eba0bb..0000000000 --- a/samples/java/java/data/CrankArm.rle +++ /dev/null @@ -1,3456 +0,0 @@ -DBRep_DrawableShape - -CASCADE Topology V1, (c) Matra-Datavision -Locations 106 -1 - 1 0 0 100 - 0 1 0 0 - 0 0 1 -130 -1 - 1 0 0 140 - 0 1 0 0 - 0 0 1 -20 -1 - 1 0 0 -90 - 0 1 0 0 - 0 0 1 0 -1 - 1 0 0 8 - 0 1 0 0 - 0 0 1 2 -1 - 1 0 0 5 - 0 1 0 0 - 0 0 1 0 -1 - 1 0 0 1 - 0 1 0 0 - 0 0 1 0 -1 - 1 0 0 1 - 0 1 0 0 - 0 0 1 0 -1 - 1 0 0 0 - 0 1 0 0 - 0 0 1 -1 -2 1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 0 -1 - 1 0 0 2.1 - 0 1 0 0 - 0 0 1 -10 -1 - 1 0 0 -1.05 - 0 1 0 0 - 0 0 1 0 -1 - 1 0 0 -1.05 - 0 1 0 0 - 0 0 1 0 -2 10 1 11 1 12 1 0 -2 12 -1 11 -1 10 -1 0 -1 - 1 0 0 0 - 0 1 0 0 - 0 0 1 -9 -1 - 1 0 0 0 - 0 1 0 0 - 0 0 1 1 -1 - 1 0 0 0 - 0 1 0 100 - 0 0 1 0 -1 - 1 0 0 0 - 0 1 0 -10 - 0 0 1 0 -1 - 1 0 0 0 - 0 1 0 -2 - 0 0 1 0 -1 - 1 0 0 0 - 0 1 0 0.1 - 0 0 1 0 -1 - 1 0 0 0 - 0 1 0 0 - 0 0 1 -80 -1 - 1 0 0 0 - 0 1 0 0 - 0 0 1 -20 -1 - 1 0 0 0 - 0 1 0 0 - 0 0 1 -15 -1 - 1 0 0 0 - 0 1 0 0 - 0 0 1 3 -1 - 1 0 0 0 - 0 1 0 0 - 0 0 1 -1 -1 -1.11022302462516e-016 -1 0 0 - 1 1.11022302462516e-016 0 0 - 0 0 1 0 -1 - 1 0 0 130 - 0 1 0 0 - 0 0 1 0 -1 - 1 0 0 10 - 0 1 0 0 - 0 0 1 0 -1 - 1 0 0 -4 - 0 1 0 0 - 0 0 1 0 -1 - 1 0 0 -4 - 0 1 0 0 - 0 0 1 0 -1 - 1 0 0 20 - 0 1 0 0 - 0 0 1 0 -1 - 1 0 0 6 - 0 1 0 0 - 0 0 1 0 -1 - 1 0 0 5 - 0 1 0 0 - 0 0 1 0 -1 - 1 0 0 2 - 0 1 0 0 - 0 0 1 0 -1 - 1 0 0 0 - 0 1 0 0 - 0 0 1 3 -1 - 1 0 0 0 - 0 1 0 0 - 0 0 1 -3 -1 - 1 0 0 3 - 0 1 0 0 - 0 0 1 20 -1 - 1 0 0 0 - 0 1 0 0 - 0 0 1 10 -1 - 1 0 0 0 - 0 1 0 0 - 0 0 1 5 -1 - 1 0 0 0 - 0 1 0 0 - 0 0 1 4 -1 - 1 0 0 0 - 0 1 0 0 - 0 0 1 1 -1 - 1 0 0 1 - 0 1 0 0 - 0 0 1 0 -1 - 1 0 0 1 - 0 1 0 0 - 0 0 1 0 -1 - 1 0 0 -0.56 - 0 1 0 0 - 0 0 1 0 -2 15 1 16 1 17 1 18 1 19 1 20 1 21 1 22 1 23 1 24 1 25 1 26 1 27 1 28 1 29 1 30 1 31 1 32 1 33 1 34 1 35 1 36 1 37 1 38 1 39 1 40 1 41 1 42 1 43 1 44 1 0 -2 44 -1 43 -1 42 -1 41 -1 40 -1 39 -1 38 -1 37 -1 36 -1 35 -1 34 -1 33 -1 32 -1 31 -1 30 -1 29 -1 28 -1 27 -1 26 -1 25 -1 24 -1 23 -1 22 -1 21 -1 20 -1 19 -1 18 -1 17 -1 16 -1 15 -1 0 -1 - 1 0 0 20 - 0 1 0 0 - 0 0 1 -100 -1 - 1 0 0 0 - 0 1 0 -20 - 0 0 1 -3 -1 - 1 0 0 0 - 0 1 0 -5 - 0 0 1 -2 -1 - 1 0 0 0 - 0 1 0 -5 - 0 0 1 1 -1 - 1 0 0 0 - 0 1 0 0 - 0 0 1 0.5 -1 - 1 0 0 0 - 0 1 0 0 - 0 0 1 -80 -1 - 1 0 0 0 - 0 1 0 0 - 0 0 1 80 -1 - 1 0 0 0 - 0 1 0 0 - 0 0 1 -0.6 -2 47 1 48 1 49 1 50 1 51 1 52 1 53 1 54 1 0 -2 47 1 48 1 49 1 50 1 51 1 52 1 0 -2 20 -1 19 -1 18 -1 17 -1 16 -1 15 -1 0 -2 15 1 16 1 17 1 18 1 19 1 20 1 0 -1 - 1 0 0 0 - 0 1 0 0 - 0 0 1 0 -2 41 -1 40 -1 39 -1 38 -1 37 -1 36 -1 35 -1 34 -1 33 -1 32 -1 31 -1 30 -1 29 -1 28 -1 27 -1 26 -1 25 -1 24 -1 23 -1 22 -1 21 -1 0 -1 - 1 0 0 0 - 0 1 0 0 - 0 0 1 0 -2 61 1 59 1 0 -1 - 1 0 0 0 - 0 1 0 0 - 0 0 1 0 -2 63 1 59 1 0 -2 54 -1 53 -1 52 -1 51 -1 50 -1 49 -1 48 -1 47 -1 0 -1 - 1 0 0 0 - 0 1 0 0 - 0 0 1 -20 -2 66 1 17 1 18 1 19 1 20 1 21 1 22 1 23 1 24 1 25 1 26 1 27 1 28 1 29 1 30 1 31 1 32 1 33 1 34 1 35 1 36 1 37 1 38 1 39 1 40 1 41 1 42 1 43 1 44 1 0 -2 52 -1 51 -1 50 -1 49 -1 48 -1 47 -1 0 -1 - 1 0 0 0 - 0 1 0 0 - 0 0 1 -10 -1 - 1 0 0 30 - 0 1 0 0 - 0 0 1 -150 -1 - 1 0 0 10 - 0 1 0 0 - 0 0 1 20 -1 - 1 0 0 3 - 0 1 0 0 - 0 0 1 5 -1 - 1 0 0 2 - 0 1 0 0 - 0 0 1 0 -2 69 1 70 1 71 1 72 1 73 1 0 -2 59 1 21 1 22 1 23 1 24 1 25 1 26 1 27 1 28 1 29 1 30 1 31 1 32 1 33 1 34 1 35 1 36 1 37 1 38 1 39 1 40 1 41 1 42 1 43 1 44 1 0 -2 59 -1 0 -2 41 -1 40 -1 39 -1 38 -1 37 -1 36 -1 35 -1 34 -1 33 -1 32 -1 31 -1 30 -1 29 -1 28 -1 27 -1 26 -1 25 -1 24 -1 23 -1 22 -1 21 -1 59 -1 0 -1 - 1 0 0 0 - 0 1 0 0 - 0 0 1 0 -2 78 1 59 1 21 1 22 1 23 1 24 1 25 1 26 1 27 1 28 1 29 1 30 1 31 1 32 1 33 1 34 1 35 1 36 1 37 1 38 1 39 1 40 1 41 1 42 1 43 1 44 1 0 -2 59 -1 78 -1 0 -2 61 1 59 1 21 1 22 1 23 1 24 1 25 1 26 1 27 1 28 1 29 1 30 1 31 1 32 1 33 1 34 1 35 1 36 1 37 1 38 1 39 1 40 1 41 1 42 1 43 1 44 1 0 -2 59 -1 61 -1 0 -2 41 -1 40 -1 39 -1 38 -1 37 -1 36 -1 35 -1 34 -1 33 -1 32 -1 31 -1 30 -1 29 -1 28 -1 27 -1 26 -1 25 -1 24 -1 23 -1 22 -1 21 -1 59 -1 61 -1 0 -1 - -1 0 1.22464679914735e-016 0 - 0 1 0 0 --1.22464679914735e-016 0 -1 0 -2 84 1 63 1 59 1 21 1 22 1 23 1 24 1 25 1 26 1 27 1 28 1 29 1 30 1 31 1 32 1 33 1 34 1 35 1 36 1 37 1 38 1 39 1 40 1 41 1 42 1 43 1 44 1 0 -2 59 -1 63 -1 84 -1 0 -2 41 -1 40 -1 39 -1 38 -1 37 -1 36 -1 35 -1 34 -1 33 -1 32 -1 31 -1 30 -1 29 -1 28 -1 27 -1 26 -1 25 -1 24 -1 23 -1 22 -1 21 -1 59 -1 63 -1 0 -2 63 1 59 1 21 1 22 1 23 1 24 1 25 1 26 1 27 1 28 1 29 1 30 1 31 1 32 1 33 1 34 1 35 1 36 1 37 1 38 1 39 1 40 1 41 1 42 1 43 1 44 1 0 -2 59 -1 63 -1 0 -2 44 -1 43 -1 42 -1 41 -1 40 -1 39 -1 38 -1 37 -1 36 -1 35 -1 34 -1 33 -1 32 -1 31 -1 30 -1 29 -1 28 -1 27 -1 26 -1 25 -1 24 -1 23 -1 22 -1 21 -1 20 -1 19 -1 18 -1 17 -1 66 -1 0 -2 70 1 71 1 72 1 73 1 0 -2 73 -1 72 -1 71 -1 70 -1 69 -1 0 -2 69 -1 0 -1 - 1 0 0 0 - 0 1 0 0 - 0 0 1 0 -2 61 -1 0 -2 63 -1 0 -2 73 -1 72 -1 71 -1 70 -1 0 -2 94 1 59 1 21 1 22 1 23 1 24 1 25 1 26 1 27 1 28 1 29 1 30 1 31 1 32 1 33 1 34 1 35 1 36 1 37 1 38 1 39 1 40 1 41 1 42 1 43 1 44 1 0 -2 94 -1 0 -2 41 -1 40 -1 39 -1 38 -1 37 -1 36 -1 35 -1 34 -1 33 -1 32 -1 31 -1 30 -1 29 -1 28 -1 27 -1 26 -1 25 -1 24 -1 23 -1 22 -1 21 -1 59 -1 94 -1 0 -1 - 1 0 0 0 - 0 1 0 0 - 0 0 1 8.73250007629395 -2 101 1 94 1 0 -2 101 -1 0 -2 41 -1 40 -1 39 -1 38 -1 37 -1 36 -1 35 -1 34 -1 33 -1 32 -1 31 -1 30 -1 29 -1 28 -1 27 -1 26 -1 25 -1 24 -1 23 -1 22 -1 21 -1 59 -1 94 -1 101 -1 0 -2 101 1 94 1 59 1 21 1 22 1 23 1 24 1 25 1 26 1 27 1 28 1 29 1 30 1 31 1 32 1 33 1 34 1 35 1 36 1 37 1 38 1 39 1 40 1 41 1 42 1 43 1 44 1 0 -2 94 -1 101 -1 0 -Curve2ds 176 -1 0 72 1 0 -2 0 0 1 0 0 1 10.2 -2 0 0 0 -1 1 0 6 -1 -1.5707963267949 82 1 0 -1 6.28318530717959 0 0 1 -1 0 0 0 1 -1 0 0 1 0 -2 0 0 1 0 0 1 10.2 -1 6.28318530717959 0 0 1 -1 0 0 0 1 -2 0 0 0 -1 1 0 6 -1 -1.5707963267949 10 1 0 -8 0 21.772969168896 -1 6.28318530717959 0 0 1 -8 0 21.772969168896 -1 0 0 0 1 -1 -3.14159265358979 20.237479339776 1 0 -2 24.9207350639584 30 0 -1 1 0 20.41215859584 -1 -3.14159265358979 0.837479339775996 1 0 -2 24.9207350639584 30 0 -1 1 0 20.41215859584 -8 -13616.8149177084 -13599.3965434116 -1 5.54559178988646 -13597.2192459756 0 -1 -8 -13616.8149177084 -13599.3965434116 -1 2.70645792813348 0 0 1 -8 0.522028935180885 0.833202809501819 -1 4.71238898038469 19.5956717328984 1 0 -8 0.522028935181721 0.833202809501819 -1 4.71238898038469 2.17729743599764 1 0 -8 19.1421663937488 19.5956717328984 -1 5.23441791556598 0 0 1 -8 2.17729743599764 2.39053034600946 -1 5.23441791556615 1.2086425842881e-015 0 1 -8 0 1 -7 0 0 7 20 4 5.23441791556599 19.1421663937503 5.23441791551488 18.6493047371479 5.2318974974935 18.1530121730537 5.22679371771387 17.6717702607981 5.21953137103059 17.2148260058324 5.21054805736843 16.7863300301735 5.20022069454442 16.3870694927635 5.17422044861722 15.5431782245724 5.1578235068065 15.1142922390366 5.13991740490973 14.7226989290781 5.12067340399855 14.3664788148808 5.10020372924857 14.0443389726544 5.0785371110234 13.7561022885976 5.03443052414972 13.2699001857932 5.01224046237184 13.0673182352716 4.98899447112731 12.8965378701795 4.96470121094126 12.7609417012144 4.93942854711657 12.6650514323398 4.91332445401383 12.6147139872212 4.88670289201118 12.6147139862737 - 0 8 0.290591086034539 6 0.659633906559363 6 1 8 -8 0 1 -7 0 0 7 20 4 0 7.89963426443207 4.22679626303351 7.89963426484341 8.32850497713736 7.91991560259327 12.2127345392023 7.9609994602375 15.8877842352984 8.01890368395081 19.363791995115 8.08918480796847 22.6657724105852 8.16823576285369 29.8482171217065 8.36223684147845 33.6537619834737 8.48137069868746 37.3434586595311 8.60704283997593 40.9675797118774 8.73660332125219 44.5769025878282 8.86785544484056 48.2173821296047 8.99918381484769 55.4020744984782 9.24916334196367 58.922150879806 9.36767204429238 62.5614014653043 9.48355414518953 66.3608465021096 9.59521646777203 70.3620007938104 9.70068373551886 74.6151518002572 9.79769672386831 79.1671470436365 9.88428531330413 - 0 8 0.290591086034539 6 0.659633906559363 6 1 8 -8 0 1 -7 0 0 8 16 3 0 1.26089076927899 0.0624473492922464 1.27610042956442 0.123393981406627 1.29157925146297 0.18193856485645 1.30690251537091 0.237869988888835 1.32180999650581 0.291192020140961 1.33615230960541 0.342007071305803 1.34985848525678 0.390550419858365 1.36291883791381 0.498872745689393 1.39186862205791 0.557256558779905 1.40731939537126 0.613246697798387 1.42186255705927 0.667349805937012 1.43557370378396 0.72000514617701 1.44852488877978 0.771566493371421 1.46077860127124 0.822389486325804 1.47239797624014 0.872853309674632 1.48344475380073 - 0 9 0.430343372683095 7 1 9 -8 0 1 -7 0 0 8 16 3 5.23441791556615 2.39053034601111 5.2344179134899 2.82480725032484 5.23284818045475 3.25752108341536 5.22971473201071 3.67774647646625 5.22520173289417 4.07909060615841 5.21953945735601 4.45823182694651 5.21294506021582 4.81400955432539 5.20559778395515 5.14686163744605 5.18703689212035 5.87080405592127 5.17533264616829 6.24622237767246 5.16273319902133 6.58917326718789 5.14939840863292 6.90219032810114 5.13545482078171 7.18759359838673 5.1209896702341 7.44722963168007 5.10605893095832 7.68277478214561 5.09068238278632 7.89555347141547 - 0 9 0.430343372683095 7 1 9 -8 6.10237941171518 6.45749921880722 -1 -1.5707963267949 12.6147139862737 1 0 -8 0 1 -7 0 0 7 14 3 5.09068238278633 7.89555347141548 5.07895671394808 8.05781175559333 5.06651219303565 8.214204724641 5.05324834589367 8.36442917500467 5.03906204859421 8.50751233986653 5.02382989914247 8.64161652547985 5.00742932999036 8.76427851309363 4.97771358159295 8.94274758325142 4.96519213409266 9.00715054507306 4.9519885540811 9.06319106234182 4.93808674642315 9.10878739387421 4.92353540730101 9.1414036620679 4.90847018488331 9.15825518207948 4.89319487584808 9.15825518262228 - 0 8 0.599351370713646 6 1 8 -8 0 1 -7 0 0 7 14 3 32.5818910862431 8.92184042202291 30.5392239162983 8.99396931226214 28.4266846898413 9.06832642072506 26.2227581505903 9.14502383047006 23.9060655315947 9.22404875776704 21.4489083520265 9.30523829422827 18.8209696514929 9.38823824792298 14.0451173287564 9.52908254901289 12.0291331355138 9.58607722221023 9.89257434778442 9.64350069227992 7.62210865286531 9.70085807539111 5.21134281234716 9.75731387933968 2.65993891779556 9.81172611032127 0 9.86286123432606 - 0 8 0.599351370713646 6 1 8 -8 0 1 -7 0 0 7 20 4 4.19036004520322 19.0105234200829 4.19036004525324 18.5282286676725 4.19282321680397 18.0424765308645 4.19781335165866 17.5711507696769 4.20492383200718 17.1233389247264 4.21372972617205 16.7031840009588 4.22386267822692 16.3115681667297 4.249379143928 15.483968728675 4.26547556456994 15.0633766438484 4.28305587046088 14.6794827969948 4.3019466676418 14.3304310139145 4.32203287668861 14.0149600546682 4.34328110241727 13.7328641812674 4.38658583092856 13.2562984334359 4.40840944999573 13.0575332465061 4.43125554107592 12.8902050024882 4.45511102127518 12.757540427749 4.47990679638386 12.6638559930437 4.50549761167596 12.6147139872007 4.53158308492082 12.6147139862737 - 0 8 0.290237842009155 6 0.658725760119273 6 1 8 -8 0 1 -7 0 0 7 20 4 79.1583895676279 7.89963426443094 74.9375487535563 7.89963426483348 70.8403519792011 7.91945503276249 66.9576979485561 7.95962359046381 63.282142924754 8.01633077843814 59.8038822718391 8.08526937473568 56.4986523452283 8.16291525535729 49.310147159879 8.35360731306246 45.501469089502 8.47080932867094 41.8096650702197 8.59455165020111 38.1847877186444 8.72221638509676 34.5766328725079 8.85164559251433 30.9396964221408 8.98126008794443 23.7541917927335 9.22875156743611 20.2284685566085 9.34646077300065 16.5862063185922 9.4617010594947 12.7867449813508 9.57293331991461 8.78874127232331 9.67826362452811 4.54234773994448 9.77553835879407 0 9.86286123429356 - 0 8 0.290237842009155 6 0.658725760119273 6 1 8 -8 6.10887139555272 6.46399120264353 -1 -1.5707963267949 9.15825518262228 1 0 -8 19.0105234200804 19.5956717328984 -1 4.19036004520323 0 0 1 -8 0 1 -7 0 0 7 14 3 4.33478642510366 7.83999425060816 4.34671111510799 8.00774245317058 4.35936801980452 8.16948797061846 4.3728574826117 8.3249281286438 4.38728313910867 8.47309338599944 4.40277018710111 8.61215022146125 4.41944412601297 8.7396412232009 4.4499083591419 8.92748316913404 4.46291581400088 8.99619691325822 4.4766519423296 9.05612394900963 4.49113923230198 9.10501324276127 4.50633038732596 9.14009412788564 4.52208480573283 9.15825518205318 4.5380750687578 9.15825518262228 - 0 8 0.594444323963533 6 1 8 -8 0 1 -7 0 0 7 14 3 46.2159217315535 8.92608681105611 48.2634509340661 8.99932723276686 50.379670755519 9.07479535208773 52.5858395951139 9.15258291797617 54.903132284616 9.23265789695868 57.3590785488735 9.31483700795601 59.9838838679475 9.3987468826763 64.7904138840423 9.54210019170857 66.8454718646688 9.60077189252743 69.0259404709182 9.65983991271772 71.3466346254621 9.71877248170397 73.8150538698286 9.776665284911 76.4329873717576 9.83227580609955 79.1671470436365 9.88428531327657 - 0 8 0.594444323963533 6 1 8 -8 5.44998249767765 5.76115637199758 -1 -1.5707963267949 19.5956717328984 1 0 -8 0 1 -7 0 0 7 14 3 4.1903600452034 2.2528160332163 4.1903600475931 2.75865722377992 4.19247579227791 3.26347405757106 4.19672785982406 3.74866699889493 4.20274385868794 4.20534528853741 4.21014372408242 4.63005032150508 4.21860229046588 5.02289077566722 4.24004350747987 5.85868823503369 4.2536425835651 6.28228209440734 4.26835880191638 6.66416527283832 4.28396709778047 7.00780074102939 4.30029538538829 7.31663867038797 4.31724633658581 7.59331750183957 4.33478642510366 7.83999425060833 - 0 8 0.434945176506407 6 1 8 -8 0 1 -7 0 0 7 14 3 0 1.25506865117568 0.0710366083648466 1.27363026805682 0.140388415892865 1.29235339845646 0.206395254385526 1.31059553900155 0.268936374332556 1.32804313161128 0.328031183264949 1.34454956914427 0.383989366666809 1.36009524120955 0.50665066544706 1.39381400837671 0.571679742760798 1.41141420908589 0.633821801367283 1.42779859143035 0.693736202969625 1.44308151819676 0.752049474925987 1.45738286260992 0.809274592166859 1.47080328615917 0.866000218461267 1.48344475380072 - 0 8 0.434945176506407 6 1 8 -8 -13616.8149177084 -13599.3965434116 -1 3.87918617088292 -13597.2192459756 0 -1 -8 -13616.8149177084 -13599.3965434116 -1 0.435134725456313 0 0 1 -8 2.17729743599764 2.25281603322175 -1 4.1903600452034 -2.4172851685762e-015 0 1 -8 5.44998249767765 5.76115637199841 -1 -1.5707963267949 2.17729743599764 1 0 -1 -3.14159265358979 36.567206216448 1 0 -2 24.9207350639584 30 0 -1 1 0 13.60810573056 -1 -1.5707963267949 11.5 1 0 -2 25 30 0 -1 1 0 11 -8 4.7566495468411 5.147523705841 -1 7.85398163397448 -13599.3965434116 -1 0 -8 13599.3965434116 13616.8149177084 -1 3.09733208713338 0 0 -1 -8 4.7566495468411 5.147523705841 -1 7.85398163397448 -13616.8149177084 -1 0 -8 7.89963426443206 24.1905490890142 -1 0 0 0 1 -8 1.26089076927899 1.48344475380073 -1 0 0 0 1 -8 8.92184042202291 26.6576091095014 -1 79.1583895676279 0 0 1 -8 0 1 -7 0 0 5 10 3 0 24.1905490890516 1.43658222827816 28.5194701010868 2.85026805830166 32.8506474201302 4.24953939056878 37.1762686926209 5.64097844068347 41.4897461416325 8.43092903587661 50.119961023447 9.82937250673483 54.4363209596273 11.230257646667 58.7287827991063 12.6371630642686 62.9922383127117 14.0524681327999 67.2220914117438 - 0 6 0.497757129173774 4 1 6 -8 9.88428531330413 67.2220914117438 -1 79.1671470436365 0 0 1 -8 0.263317056481423 1.48344475380072 -7 0 0 1 2 2 0 67.2220914117438 79.1671470436365 67.2220914117438 - 0 2 1.48344475380072 2 -8 0.263317056481423 1.48344475380072 -1 0 1.48344475380072 1 0 -8 0 0.872853309674633 -1 0 1.48344475380073 1 0 -8 0 0.872853309674633 -7 0 0 1 2 2 79.1583895676279 8.92184042202291 0 8.92184042202291 - 0 2 1.48344475380073 2 -8 6.04551105760731 6.47697453607733 -1 1.48352986673382 0 0 1 -8 9.86286123429356 67.222013155676 -1 0 0 0 1 -8 9.86286123432055 64.4703247909448 -1 0 0 0 1 -8 0 1 -7 0 0 4 8 3 79.1583895676279 26.6576091095014 77.4613051518612 31.3879482365844 75.7934242882219 36.1163254858071 74.1494488646267 40.8371222839891 70.883298513546 50.3011579081777 69.2615031986578 55.0441119417332 67.6543049364861 59.7689357090128 66.0569801700713 64.4703247909448 - 0 5 0.497479328260483 3 1 5 -8 0.245523148517274 1.48344475380073 -7 0 0 1 2 2 79.1583895676279 64.4703247909448 0 64.4703247909448 - 0 2 1.48344475380073 2 -8 0.245523148517274 1.48344475380073 -1 0 1.48344475380073 1 0 -8 7.89963426443094 26.6576091095014 -1 79.1583895676279 0 0 1 -8 0 1 -7 0 0 4 8 3 79.1583895676279 26.6576091095014 77.3257637454496 31.7657472500761 75.5270897186137 36.8718764655589 73.7557153900058 41.9689224305825 70.2588310502518 52.1228931560518 68.533228987121 57.1798352923292 66.822944794546 62.2150547504511 65.1222396409185 67.222013155676 - 0 5 0.500456272683085 3 1 5 -8 0.263040381266836 1.48344475380073 -7 0 0 1 2 2 79.1583895676279 67.222013155676 0 67.222013155676 - 0 2 1.48344475380073 2 -8 0.263040381266836 1.48344475380073 -1 0 1.48344475380073 1 0 -8 9.88428531327657 64.4704912556405 -1 79.1671470436365 0 0 1 -8 5.88254319405957 6.64265529833678 -1 1.48352986673382 0 0 1 -8 0 0.866000218461187 -7 0 0 1 2 2 0 8.92608681105611 79.1671470436365 8.92608681105611 - 0 2 1.48344475380073 2 -8 0 0.866000218461187 -1 0 1.48344475380072 1 0 -8 8.92608681105611 24.1905490890142 -1 0 0 0 1 -8 0 1 -7 0 0 5 10 3 0 24.1905490890516 1.32981180833328 28.1977337568211 2.63997697337075 32.2067700867919 3.93721924477868 36.2114429262944 5.22686989532373 40.2064519036929 7.83674582581454 48.2834875764559 9.1567591221933 52.3646355358441 10.477797185923 56.425719987552 11.8031244250372 60.4623284542134 13.1350090245599 64.4704912556405 - 0 6 0.492855065492926 4 1 6 -8 0.246125583101628 1.48344475380072 -7 0 0 1 2 2 0 64.4704912556405 79.1671470436365 64.4704912556405 - 0 2 1.48344475380072 2 -8 0.246125583101628 1.48344475380072 -1 0 1.48344475380072 1 0 -8 1.13566160133833 1.52653576033849 -1 1.5707963267949 -13616.8149177084 -1 0 -8 1.25506865117569 1.48344475380072 -1 0 0 0 1 -8 1.13566160133859 1.52653576033849 -1 1.5707963267949 -13599.3965434116 -1 0 -8 13599.3965434116 13616.8149177084 -1 0.0442605664564092 0 0 -1 -8 16.329726876672 38.102696045568 -1 6.28318530717959 0 0 1 -8 16.329726876672 38.102696045568 -1 0 0 0 1 -1 -3.14159265358979 30.667206216448 1 0 -2 -0.0792649360415965 1.33101764594727e-014 0 -1 1 0 13.60810573056 -1 6.28318530717959 0 0 1 -1 0 0 0 1 -2 0 0 0 -1 1 0 11 -1 -1.5707963267949 25 1 0 -8 0.254079498456631 4.1188502383059 -1 8.32114275549281 0 0 1 -8 0 1 -1 0 0 0 1 -8 0.395051958858435 4.25982269870771 -1 8.32114275549281 0 0 1 -8 0 1 -7 0 0 6 22 5 0 0.395051958860282 0.4788145797251 0.359579161205259 0.962218328962365 0.323579567155369 1.44319230508986 0.287662130589245 1.9168697815663 0.252308818160511 2.37970040201532 0.217876953930429 3.19738325320655 0.157368270247882 3.55706147211286 0.130874293175026 3.90785829932103 0.105195297214256 4.24987868526272 0.0803472408625159 4.5835279689449 0.0563146764292382 5.0226999232031 0.0249814220278736 5.13496166463711 0.0169978397722912 5.24632982875742 0.00911089837605955 5.35678540323955 0.00130937829421607 5.46640242982231 -0.0063977040059302 6.06864105570436 -0.0485674087963765 6.54488939767207 -0.0812569029279394 7.00649256338639 -0.112254123857469 7.45529395561937 -0.141692948244115 7.89297647560694 -0.169699525325999 8.32114275549336 -0.196390937689464 - 0 7 0.294674815906856 5 0.536015963842083 5 0.619826933433331 5 1 7 -8 0 1 -7 0 0 4 8 3 2.33164121167443 -6.12608533620977 2.37023456040641 -6.11535892814875 2.40864522518944 -6.10410152100434 2.44688870051335 -6.0923634316563 2.52260970965923 -6.06817403957969 2.56009073220147 -6.05573332279412 2.59744466682226 -6.04291900427116 2.63468949504024 -6.02977779339644 - 0 5 0.50309607563181 3 1 5 -8 2.38256514860149 3.90062015857784 -7 0 0 8 9 2 2.33164121167443 -6.12608533620977 2.14152110244801 -6.17892619964918 1.95132599102658 -6.21968683208901 1.76107581349152 -6.24546790635491 1.57079632677687 -6.25429813008681 1.38051684010497 -6.24546790634995 1.19026666255786 -6.21968683209211 1.00007155114203 -6.17892619964924 0.809951441915619 -6.12608533620984 - 2.38256514860149 9 3.90062015857784 9 -8 0 1 -7 0 0 4 8 3 0.809951441915619 -6.12608533620984 0.771358093183585 -6.1153589281488 0.73294742840053 -6.10410152100439 0.694703953076591 -6.09236343165635 0.618982943930674 -6.06817403957973 0.581501921388282 -6.0557333227941 0.544147986767556 -6.04291900427117 0.506903158549536 -6.02977779339643 - 0 5 0.503096075632066 3 1 5 -8 0 1 -7 0 0 8 23 4 1.48344475380073 0.425346004486557 1.40732247764992 0.426453561429592 1.33246444959464 0.429755312949319 1.25917319667346 0.435391814583841 1.18757639978684 0.44351328309212 1.11774233789041 0.454304872923517 1.04975702402363 0.468015502293249 0.983781251490255 0.484950305159344 0.838923468520023 0.531442032904225 0.761145222993835 0.563296584104136 0.687434738628544 0.601598161855925 0.618288081931348 0.64710624897089 0.554398793850603 0.700600159382137 0.496760503933149 0.762778974673414 0.446227396189794 0.833294650478823 0.36971450330181 0.971334354262978 0.340743069698553 1.03617376616307 0.316448892006234 1.10495825517969 0.296845728593612 1.17708780284342 0.281833997103166 1.25180381319596 0.271265254445939 1.32828805195944 0.265020436049423 1.40575107842912 0.263040381266836 1.48344475380073 - 0 9 0.305846620579988 7 0.695782133253632 7 1 9 -8 0 1 -7 0 0 6 27 6 0 -0.196390937689676 0.440177712285475 -0.168950745914416 0.890400712633039 -0.140121336048243 1.35242567696244 -0.109774616305266 1.82809069319417 -0.0777726955046791 2.31940116882233 -0.043970028007543 2.95124317417755 0.000389987858373755 3.07435331149923 0.0090742726940442 3.19856290534641 0.017870225547808 3.32390212776153 0.0267808789403864 3.45039594089652 0.0358099960682766 3.68681454130319 0.052746214523537 3.79640836188418 0.0606214544453964 3.90688527813215 0.06858378690981 4.01826279040578 0.0766340093908267 4.13055619603332 0.0847726819551812 4.45729613469073 0.108515641348688 4.67410943699822 0.124346254143996 4.89431697416814 0.140494851748413 5.11794895241709 0.156958136409591 5.3449506288037 0.173725011080529 6.01272828899391 0.223181290668792 6.46260714067196 0.256662706073885 6.92238156808332 0.29097982487089 7.38869734250253 0.325796602418483 7.85705897597386 0.360670486984151 8.32114275549281 0.395051958858437 - 0 7 0.390821725776171 5 0.484404162194726 5 0.564092511917342 5 0.714370741519474 5 1 7 -8 6.12380038163357 6.43483817018729 -1 0.425099855873795 0 0 1 -8 0 1 -7 0 0 8 23 4 1.48344475380072 0.42527449594873 1.40726432449094 0.426389670084184 1.33235589486817 0.429715734083269 1.25903133200379 0.435393812342591 1.18742164179417 0.443573733691336 1.11759623622279 0.454440356162169 1.04964135102348 0.46824249872397 0.983716857739539 0.485284673333413 0.839017391278937 0.532050703101848 0.761358496189849 0.564080765407797 0.68778187791586 0.602578221880247 0.618766103014292 0.648298855271996 0.55498843011421 0.702018769288862 0.497410400034071 0.764419800979546 0.446866444556428 0.83513839790368 0.370392229460305 0.973226347648959 0.341449390825109 1.03787208626446 0.317109168993949 1.10642063238091 0.297404191255905 1.17828125089626 0.282268423901065 1.25270772255608 0.271592514145349 1.32889283589529 0.265289465149228 1.40605338098124 0.263317056481423 1.48344475380072 - 0 9 0.306305682413535 7 0.696823708124191 7 1 9 -8 0 1 -7 0 0 6 27 6 0 4.71029313485404 0.440177712285415 4.68285294307878 0.890400712633194 4.65402353321258 1.35242567696218 4.62367681346964 1.82809069319435 4.59167489266901 2.31940116882224 4.5578722251719 2.95124317417758 4.51351220930598 3.07435331149917 4.5048279244703 3.19856290534641 4.49603197161654 3.32390212776158 4.48712131822396 3.45039594089648 4.47809220109607 3.68681454130319 4.46115598264081 3.79640836188418 4.45328074271895 3.90688527813215 4.44531841025454 4.01826279040578 4.43726818777352 4.13055619603332 4.42912951520916 4.45729613469099 4.40538655581564 4.67410943699797 4.38955594302036 4.89431697416804 4.37340734541594 5.11794895241704 4.35694406075476 5.34495062880301 4.34017718608386 6.01272828899406 4.29072090649554 6.46260714067152 4.2572394910905 6.92238156808398 4.22292237229339 7.38869734250204 4.1881055947459 7.85705897597403 4.15323171018018 8.32114275549281 4.1188502383059 - 0 7 0.39082172577629 5 0.484404162194879 5 0.564092511917504 5 0.714370741519839 5 1 7 -8 0 1 -7 0 0 4 8 3 0.809951441915619 -6.12608533620984 0.771358093183585 -6.1153589281488 0.732947428400535 -6.10410152100439 0.69470395307659 -6.09236343165635 0.618982943930673 -6.06817403957973 0.581501921388283 -6.0557333227941 0.544147986767554 -6.04291900427117 0.506903158549533 -6.02977779339643 - 0 5 0.503096075632058 3 1 5 -8 2.38256514860149 3.90062015857784 -7 0 0 8 9 2 2.33164121167443 -6.12608533620977 2.14152110244801 -6.17892619964918 1.95132599102658 -6.21968683208901 1.76107581349152 -6.24546790635491 1.57079632677687 -6.25429813008681 1.38051684010497 -6.24546790634995 1.19026666255786 -6.21968683209211 1.00007155114203 -6.17892619964924 0.809951441915619 -6.12608533620984 - 2.38256514860149 9 3.90062015857784 9 -8 0 1 -7 0 0 4 8 3 2.33164121167443 -6.12608533620977 2.37023456040647 -6.11535892814872 2.40864522518945 -6.10410152100432 2.44688870051339 -6.09236343165628 2.52260970965921 -6.06817403957969 2.56009073220166 -6.05573332279405 2.59744466682227 -6.04291900427116 2.63468949504026 -6.02977779339643 - 0 5 0.503096075631967 3 1 5 -8 0 1 -7 0 0 7 20 4 1.48344475380073 0.617070323219567 1.40656391305139 0.618084786346542 1.33107696367792 0.621493496895026 1.25716374285402 0.627444838781426 1.18490299139562 0.636078567383266 1.11437256200904 0.647571408684058 1.04573849167197 0.662110968987323 0.893570246333006 0.702640676435177 0.811362470591538 0.730775257154142 0.733515505089468 0.764429711249546 0.660466130033732 0.803751047236239 0.592927669903924 0.848817733568678 0.53168456783017 0.899273482836691 0.415923600159618 1.01667090632207 0.363264618366272 1.08495960686699 0.319854286072062 1.15862577879466 0.286258208707865 1.23667189338266 0.262708557412623 1.31770660517205 0.249147316735335 1.40036408658278 0.245523148517274 1.48344475380073 - 0 8 0.266586373617939 6 0.610882351721719 6 1 8 -8 0 1 -7 0 0 6 22 5 0 4.11885023830431 0.478814579725097 4.15432303595934 0.962218328962447 4.19032263000923 1.44319230508965 4.22624006657533 1.91686978156653 4.2615933790041 2.37970040201521 4.29602524323416 3.19738325320659 4.35653392691671 3.55706147211274 4.38302790398956 3.90785829932122 4.40870689995035 4.24987868526256 4.43355495630206 4.58352796894497 4.45758752073535 5.02269992320127 4.48892077513658 5.13496166464558 4.49690435739292 5.24632982874154 4.50479129878735 5.35678540325031 4.51259281887118 5.46640242981926 4.52029990117028 6.06864105570389 4.56246960596093 6.54488939767228 4.59515910009253 7.0064925633865 4.62615632102208 7.45529395561955 4.65559514540871 7.8929764756067 4.68360172249058 8.32114275549336 4.71029313485407 - 0 7 0.294674815912329 5 0.536015963852002 5 0.619826933443454 5 1 7 -8 6.07906668266374 6.46331402055895 -1 0.617018662020741 1.0250962952948e-015 0 1 -8 0 1 -7 0 0 7 20 4 1.48344475380072 0.617037643217049 1.40653711415053 0.618056134868201 1.33102905522698 0.621479112634835 1.25710419518576 0.627455044426612 1.18484246503121 0.636123154580314 1.11432204775427 0.647659480351123 1.0457090352487 0.662250582077844 0.893534060390618 0.702932667745786 0.811313341063689 0.731181467372695 0.733471156602322 0.76496682962983 0.660436910755169 0.804433284310615 0.592916781300211 0.849655364912609 0.531687575954134 0.900271137316878 0.416203613287618 1.0177567772676 0.363732502044681 1.08592506208321 0.32042741897966 1.15943183491046 0.286862711176153 1.2372884910066 0.263305935271997 1.31811983651618 0.249739437149245 1.40057173626498 0.246125583101628 1.48344475380072 - 0 8 0.26684394213048 6 0.611788171588493 6 1 8 -8 0.42527449594873 1.48344475380072 -1 1.48344475380072 0 0 1 -8 0.42527449594873 1.48344475380072 -7 0 0 6 7 2 0 6.1333923428416 0.2471104172858 6.13103815612335 0.494237049858222 6.12472452125692 0.741450442491848 6.11269700803941 0.988792168139021 6.09492493833104 1.23617141039684 6.07231947377335 1.48352986673382 6.04551105761154 - 0 7 1.48344475380072 7 -8 0.425346456800587 1.48344475380073 -7 0 0 6 7 2 0 6.43400751346309 0.247054635907497 6.43640833118285 0.494129026301266 6.43391670212431 0.741348062947767 6.43277342677643 0.988755311761269 6.43692657416026 1.2361764089319 6.45014032056583 1.48352986673382 6.47697453607876 - 0 7 1.48344475380073 7 -8 0.425346456800587 1.48344475380073 -1 1.48344475380073 0 0 1 -8 0.617070318470972 1.48344475380073 -1 1.48344475380073 0 0 1 -8 0.617070318470972 1.48344475380073 -7 0 0 7 8 2 0 6.41956748398823 0.211877109419302 6.42496532606383 0.423761199733377 6.43631358751904 0.635681389103778 6.45690596825881 0.847647103921449 6.48811067196042 1.05963148152947 6.52975348310856 1.27159730486496 6.58134445230553 1.48352986673382 6.64265529833993 - 2.24152295252119e-016 8 1.48344475380073 8 -8 0.617037643217049 1.48344475380072 -7 0 0 6 7 2 0 6.13288405656642 0.247213120471152 6.12661826904569 0.494434319405069 6.10663881720608 0.74169347168168 6.06985353669682 0.988989352419727 6.01761923640968 1.23627299993925 5.95401714381024 1.48352986673382 5.88254319406218 - 1.23850227028653e-017 7 1.48344475380072 7 -8 0.617037643217049 1.48344475380072 -1 1.48344475380072 0 0 1 -8 0.254079498456579 4.11885023830431 -1 0 0 0 1 -8 0 1 -1 0 0 0 1 -8 0.39505195886028 4.25982269870805 -1 0 0 0 1 -8 0 1 -7 0 0 1 2 2 8.32114275549281 0.254079498456631 0 0.254079498456631 - 0 2 1 2 -8 0 1 -1 0 1 1 0 -8 0.254079498456631 4.71029313485404 -1 0 0 0 1 -8 0.254079498456631 4.71029313485404 -7 0 0 3 10 4 0.543564961907674 2.31182699355768 0.54084577269832 1.65984691998679 0.538095352049751 1.00787436646698 0.535312181926302 0.355909997670993 0.526286245884192 -1.75571685955062 0.517215377374172 -3.79687183597718 0.508095721821588 -5.77158122317213 0.503214426324849 -6.830196873967 0.498231940136897 -7.8887831971345 0.49313878213111 -8.94733527714638 - -1.39161532665019 4 0 3 4.51390219716435 3 6.92952742884262 4 -8 0 1 -1 0 0 1 0 -8 0 1 -7 0 0 1 2 2 8.32114275549281 4.25982269870771 0 4.25982269870771 - 0 2 1 2 -8 0 1 -1 1 0 0 1 -8 -0.196390937689677 4.25982269870771 -1 0 0 0 1 -8 -0.196390937689677 4.25982269870771 -7 0 0 3 10 4 0.493138782131824 -8.9473352771476 0.498231940137603 -7.88878319713587 0.503214426324838 -6.830196873967 0.508095721821577 -5.77158122317212 0.51721537737416 -3.79687183597718 0.526286245884193 -1.75571685955063 0.535312181926303 0.355909997671008 0.53809535204975 1.00787436646696 0.540845772698704 1.65984691998602 0.543564961908055 2.31182699355698 - -2.41562523167827 4 0 3 4.51390219716435 3 5.90551752381454 4 -8 -0.196390937689464 4.25982269870805 -7 0 0 3 10 4 2.64845387145797 -8.94733527714824 2.64336071345219 -7.88878319713601 2.63837822726493 -6.83019687396739 2.6334969317682 -5.77158122317243 2.62437727621561 -3.79687183597766 2.6153064077056 -1.75571685955089 2.60628047166349 0.355909997670895 2.60349730154004 1.007874366467 2.60074688089109 1.65984691998591 2.59802769168174 2.31182699355715 - -2.41562523167859 4 0 3 4.5139021971646 3 5.90551752381476 4 -8 -0.196390937689464 4.25982269870805 -1 8.32114275549336 0 0 1 -8 0 1 -1 0 1 1 0 -8 0 1 -7 0 0 1 2 2 0 4.25982269870805 8.32114275549336 4.25982269870805 - 0 2 1 2 -8 7.32019404131485 9.21772110861573 -1 -4.71238898038469 0 1 0 -8 7.32019404131485 9.21772110861573 -1 -4.71238898038469 0 1 0 -8 0 1 -7 0 0 8 114 17 4.50533212823104 0 4.50559904597457 -0.0650953068063449 4.50598034396564 -0.132957680852228 4.50649352150935 -0.204262338584489 4.50717137462324 -0.27988526306799 4.50803862609557 -0.360434706609042 4.50917136861694 -0.447507896069282 4.51062047912962 -0.542041593080074 4.51384950105621 -0.715135845774261 4.51530000014206 -0.786353305562908 4.51704196967823 -0.864834063592526 4.51916340239832 -0.951791863240756 4.52175417755159 -1.04729405898264 4.5248855925296 -1.14982063480203 4.52857579210432 -1.25565477696744 4.53621860598837 -1.45449284902462 4.54001503272795 -1.54343690070402 4.54377802671957 -1.62444835456338 4.54748868893438 -1.69845914571063 4.5511433469394 -1.76669103650427 4.55475525706797 -1.83011131104607 4.55835895972353 -1.88986271107938 4.56698564967172 -2.02483487256769 4.5719653802847 -2.09655395840898 4.57700132978448 -2.16379812346462 4.58211996468297 -2.2272836553002 4.58734844642629 -2.28752988779432 4.59271812520794 -2.34496949250856 4.59826742309687 -2.39989970178022 4.60902974067612 -2.49785870047512 4.61416927223989 -2.5413734490143 4.61951391680522 -2.58334922442714 4.62511422768604 -2.62388244733614 4.63101239898563 -2.66301687736641 4.63730449417343 -2.70069227165404 4.64406799871307 -2.73682834432193 4.65433509293588 -2.78363887715386 4.65717771275151 -2.79589080816348 4.66013218327512 -2.80787661296939 4.66321679585199 -2.81957076513518 4.66645107468902 -2.83093324549153 4.6698580509916 -2.84190705100266 4.67347225645972 -2.85240731215421 4.6803599860956 -2.86996683168828 4.68349807668121 -2.87719164072196 4.68681934461751 -2.88400413844082 4.69036847345676 -2.89031433428916 4.69417435416122 -2.89594543304017 4.69825438268753 -2.90061509826576 4.70260777159879 -2.90395597584971 4.71067759680726 -2.90697529735307 4.71430979146413 -2.90732804312508 4.71792580742457 -2.90653668623297 4.72143585356836 -2.90467419060734 4.72479095837512 -2.90192650600101 4.72797237922313 -2.89849006437924 4.73098433953612 -2.89451265437122 4.7405028468558 -2.87978196800687 4.74630956131348 -2.8671118529845 4.75160988287282 -2.85310940595483 4.75645020853778 -2.83808199928473 4.76094920131179 -2.82243747301045 4.76515382207223 -2.8062333618218 4.76913663721341 -2.78952124425844 4.7789973338615 -2.74474527764424 4.78454369398998 -2.71615433928353 4.78974789245458 -2.68653724564384 4.79467365502371 -2.65596637035047 4.79936775983322 -2.62447904185445 4.80387036638752 -2.59208202495504 4.80820831391496 -2.55873853151582 4.81829912607834 -2.47618566677319 4.82390936056237 -2.4260673449495 4.82930685880159 -2.37386414002837 4.83453329103202 -2.31938160948928 4.83962134065318 -2.26234814881409 4.84459916326583 -2.20242095511408 4.84949233747839 -2.13912374991553 4.85654703202068 -2.04072068048963 4.85874934314341 -2.00896616253526 4.86094305170825 -1.97625451632204 4.86313096041614 -1.94249671886458 4.86531574262478 -1.9075909213389 4.86750024358935 -1.87141140231876 4.86968778170314 -1.83379752101213 4.87393102927251 -1.75790052288409 4.87598271586937 -1.7198809796686 4.87804374118269 -1.68026998211032 4.88011817623748 -1.63884472270476 4.88220809633961 -1.59538204665922 4.88431401591503 -1.54964629989928 4.88643559327852 -1.50135662360661 4.89190901295322 -1.37016157750849 4.89550247617301 -1.27778075059014 4.89888928408673 -1.18115445048984 4.90186141049026 -1.08584232923156 4.90439688529018 -0.99550776438055 4.90651333202248 -0.912319829498405 4.90826256409848 -0.837468020114505 4.91087306926967 -0.717018371933443 4.91189040365969 -0.666203049574631 4.9127854680297 -0.618048484603392 4.913578931652 -0.572179248380061 4.91428540924047 -0.528322947743517 4.91491669765222 -0.486244945240688 4.91548288402178 -0.445726299408397 4.91676107280185 -0.347328580690561 4.917397928169 -0.291302728534922 4.91792817127138 -0.237915342267848 4.91836891480929 -0.18678433540023 4.91873225383832 -0.137637336978287 4.9190278139572 -0.0902501206436767 4.91926369818654 -0.0444236871020458 4.91944583253834 0 - 0 9 0.117046071079361 7 0.189913704122667 7 0.262763339589608 7 0.361580562855785 7 0.446470778184608 7 0.477440003108569 7 0.501430254585338 7 0.519839901926863 7 0.562577285470837 7 0.629969745125462 7 0.724468028145898 7 0.767693529478967 7 0.80804192860384 7 0.87103604603824 7 0.922336264588534 7 1 9 -8 0 1 -7 0 0 8 114 17 3.14159265358979 -1.05115046047106 3.11885930599473 -1.04437516863813 3.09507201353497 -1.03772480523749 3.0699752454387 -1.03118644367437 3.04322258134573 -1.02477734534923 3.01457487001248 -1.01852295158221 2.98337157553226 -1.01250531028259 2.94922063268044 -1.00680365964422 2.8858470187059 -0.998416204787215 2.85959436577337 -0.995400196301821 2.83044305723263 -0.992576144143063 2.79783793464204 -0.990102217065421 2.76157979191351 -0.988236764879906 2.7220278765861 -0.987351495192247 2.68024414268664 -0.987709132119245 2.60016290168209 -0.990216932017402 2.56350080667817 -0.992315546332661 2.52936957629659 -0.994932522758305 2.49749107362309 -0.99790316238185 2.46747060938185 -1.00109147232169 2.43896527812884 -1.00443962330579 2.41152502924759 -1.00792413862751 2.34807080946725 -1.01652426769902 2.31315728892292 -1.02168716184557 2.27925189735941 -1.02699894079573 2.24603134036911 -1.03242146168856 2.2132238133581 -1.03792562916301 2.18056461467979 -1.04348859902155 2.14779574333754 -1.04909483646102 2.08602309323609 -1.05957353430795 2.05720127405004 -1.06442748724556 2.02787219967337 -1.06928875437217 1.99777180634917 -1.07414683177622 1.96668605174233 -1.07898810897172 1.9341574672763 -1.08378632515848 1.89982058295968 -1.08851296893275 1.84865567297781 -1.09478252184008 1.83457401585764 -1.09643854172853 1.82002290284514 -1.09807289920947 1.80491721013618 -1.09968102662733 1.78916674992616 -1.10125626465816 1.77266524456615 -1.10278936999601 1.75525235829738 -1.10426682123747 1.72223757310305 -1.10675326923791 1.70724924605198 -1.10778194177132 1.69143799713999 -1.10875674985151 1.6745944509711 -1.10966396361228 1.65658574378203 -1.11047715882343 1.63733026923372 -1.11115389297672 1.61682390885873 -1.11163883303888 1.5788440169973 -1.1120773399892 1.56176005272616 -1.11212879638505 1.54475414120994 -1.11201366806043 1.52823648738763 -1.11174276486932 1.51242831504316 -1.1113437688847 1.49741423273645 -1.11084602259541 1.48317468252309 -1.11027169930352 1.43808188952324 -1.10815147894544 1.41041700975562 -1.10633801419586 1.38499816628375 -1.10435112051886 1.3616176012912 -1.10224022310545 1.33972730199543 -1.1000666979292 1.31911419098938 -1.09784071791879 1.29943779748972 -1.09557190773151 1.25031968683966 -1.089571011878 1.22228761775452 -1.08581150386783 1.19560153173467 -1.08199778598532 1.16996304331307 -1.07814898843345 1.14515057257574 -1.07427927871914 1.12097016117945 -1.07039914316473 1.09728523838159 -1.06651444157105 1.04122805907364 -1.05718023684674 1.00924838009766 -1.0517385691438 0.977653393938013 -1.04631880695166 0.946194726083954 -1.04093572867493 0.914644715344156 -1.03560656853845 0.882777039901007 -1.03035132724526 0.850341844223005 -1.02519425803618 0.801692168386203 -1.0178720326269 0.78623157696209 -1.01560246745417 0.7705410283698 -1.01336486618797 0.75458293676424 -1.01116345211919 0.738316206916701 -1.00900360828519 0.721691907480578 -1.00689226057334 0.704648944257088 -1.00483826082461 0.670737932165112 -1.00099946436153 0.653957552155182 -0.999208950621085 0.636684025257959 -0.997487372771342 0.6188351455008 -0.995846809574525 0.600332883591774 -0.994304804283121 0.581097956781574 -0.992885145805884 0.561037154107237 -0.991619901256301 0.507215617200698 -0.988886574119478 0.469927290806082 -0.987593898833152 0.431762526169074 -0.987189435779093 0.394867386324689 -0.987841831255241 0.360412641813428 -0.989344705510457 0.329066057202995 -0.991433659880033 0.301115395859438 -0.99383528314134 0.256462040974269 -0.998400058938807 0.237756712112549 -1.0006139402032 0.220134218652032 -1.00295543260244 0.203432626329689 -1.00539882027794 0.187535750345246 -1.00792574871913 0.172345138361468 -1.01052264562004 0.15777052698788 -1.01317984373389 0.122495986062999 -1.01999892797935 0.102523110208282 -1.02422593895759 0.0835784355995217 -1.02854946874435 0.0655063669149006 -1.03295240203399 0.0481965847961046 -1.03742214857335 0.0315589471055918 -1.04194921146961 0.0155141287400435 -1.04652665336396 0 -1.05115046047107 - 0 9 0.117046071079361 7 0.189913704122667 7 0.262763339589608 7 0.361580562855785 7 0.446470778184608 7 0.477440003108569 7 0.501430254585338 7 0.519839901926863 7 0.562577285470837 7 0.629969745125462 7 0.724468028145898 7 0.767693529478967 7 0.80804192860384 7 0.87103604603824 7 0.922336264588534 7 1 9 -8 9.63183481292303 10.9955742875643 -1 -4.71238898038469 0 1 0 -8 9.63183481292303 10.9955742875643 -1 -4.71238898038469 0 1 0 -8 -11.9286706234803 0 -1 0 -11.9286706234803 0 -1 -8 -11.9286706234803 0 -1 6.28318530717959 -11.9286706234803 0 -1 -7 0 0 1 2 2 0 -11.9286706234803 6.28318530717961 -11.9286706234803 - 4.71238898038469 2 10.9955742875643 2 -8 4.71238898038469 5.24617657304433 -1 -4.71238898038469 0 1 0 -8 4.71238898038469 5.24617657304433 -1 -4.71238898038469 0 1 0 -8 0 1 -7 0 0 8 114 17 4.50533212823104 0 4.50559904597457 -0.0650953068063533 4.50598034396564 -0.132957680851871 4.50649352150935 -0.204262338585562 4.50717137462324 -0.27988526306656 4.50803862609557 -0.360434706610021 4.50917136861695 -0.447507896068995 4.51062047912962 -0.542041593080078 4.51384950105621 -0.715135845774316 4.51530000014205 -0.786353305562434 4.51704196967826 -0.864834063593905 4.51916340239827 -0.951791863238708 4.52175417755164 -1.04729405898441 4.52488559252957 -1.14982063480113 4.52857579210433 -1.25565477696767 4.53621860598837 -1.45449284902454 4.54001503272796 -1.54343690070438 4.54377802671952 -1.6244483545626 4.54748868893445 -1.69845914571164 4.55114334693935 -1.76669103650349 4.55475525706799 -1.83011131104642 4.55835895972352 -1.8898627110793 4.56698564967172 -2.02483487256772 4.5719653802847 -2.09655395840891 4.57700132978449 -2.1637981234647 4.58211996468297 -2.22728365530021 4.58734844642628 -2.28752988779424 4.59271812520794 -2.34496949250862 4.59826742309686 -2.3998997017802 4.60902974067613 -2.49785870047516 4.61416927223986 -2.54137344901408 4.61951391680528 -2.58334922442759 4.62511422768598 -2.62388244733563 4.63101239898567 -2.66301687736671 4.63730449417342 -2.70069227165395 4.64406799871307 -2.73682834432193 4.65433509203685 -2.78363887458651 4.65717771332855 -2.79589080942092 4.6601321831113 -2.80787661273548 4.66321679493381 -2.81957076298063 4.66645107452855 -2.83093324487296 4.66985805149916 -2.84190705212787 4.67347225539075 -2.85240731017586 4.68035998457307 -2.86996682882982 4.68349807823075 -2.87719164506732 4.68681934327808 -2.88400413439368 4.69036847262688 -2.89031433368714 4.69417435510521 -2.89594543695404 4.69825438190583 -2.90061509482517 4.70260777131545 -2.90395597754003 4.71067759628679 -2.90697529876159 4.71430979134086 -2.9073280420125 4.71792580747914 -2.90653668583808 4.72143585356835 -2.9046741914929 4.7247909583189 -2.90192650625349 4.72797237915903 -2.89849006356578 4.73098433941222 -2.89451265496713 4.74050284685578 -2.8797819680069 4.74630956131356 -2.86711185298436 4.75160988287267 -2.85310940595512 4.75645020853793 -2.83808199928437 4.76094920131169 -2.82243747301072 4.76515382207226 -2.80623336182167 4.7691366372134 -2.78952124425846 4.7789973338615 -2.74474527764421 4.78454369398996 -2.71615433928358 4.78974789245461 -2.6865372456438 4.79467365502371 -2.65596637035046 4.79936775983319 -2.62447904185449 4.80387036638753 -2.59208202495502 4.80820831391496 -2.55873853151582 4.81829912607835 -2.47618566677315 4.82390936056236 -2.42606734494967 4.82930685880161 -2.37386414002816 4.83453329103202 -2.3193816094893 4.83962134065316 -2.26234814881428 4.84459916326585 -2.20242095511388 4.84949233747839 -2.13912374991562 4.85654703202069 -2.04072068048962 4.8587493431434 -2.00896616253527 4.86094305170825 -1.97625451632205 4.86313096041614 -1.94249671886458 4.86531574262479 -1.9075909213389 4.86750024358935 -1.87141140231876 4.86968778170313 -1.83379752101214 4.87393102927251 -1.75790052288402 4.87598271586937 -1.71988097966868 4.87804374118269 -1.68026998211032 4.88011817623748 -1.63884472270468 4.88220809633961 -1.59538204665922 4.88431401591502 -1.54964629989938 4.88643559327853 -1.50135662360657 4.8919090129532 -1.37016157750883 4.89550247617301 -1.27778075058911 4.89888928408683 -1.18115445049116 4.90186141049008 -1.08584232923082 4.90439688529034 -0.995507764380522 4.90651333202243 -0.912319829498656 4.90826256409848 -0.837468020114398 4.91087306926967 -0.717018371933425 4.91189040365968 -0.666203049574648 4.9127854680297 -0.618048484603396 4.913578931652 -0.572179248380054 4.91428540924047 -0.528322947743526 4.91491669765221 -0.48624494524071 4.91548288402178 -0.445726299408378 4.91676107280185 -0.34732858069064 4.917397928169 -0.291302728534816 4.91792817127138 -0.237915342267821 4.91836891480929 -0.186784335400317 4.91873225383832 -0.13763733697832 4.9190278139572 -0.090250120643608 4.91926369818654 -0.0444236871020711 4.91944583253834 0 - 0 9 0.117046153574036 7 0.189913837974891 7 0.262763524786804 7 0.361580817699987 7 0.446471092860044 7 0.47744032984858 7 0.501430572084205 7 0.519840208488901 7 0.562577564746973 7 0.629969981374497 7 0.724468204062031 7 0.76769367779753 7 0.808042051161622 7 0.871036128376569 7 0.922336314173668 7 1 9 -8 0 1 -7 0 0 8 114 17 3.14159265358979 -1.05115046047106 3.16432600118486 -1.04437516863813 3.18811329364504 -1.03772480523749 3.21321006173951 -1.03118644367439 3.23996272583578 -1.0247773453492 3.26861043716575 -1.01852295158223 3.29981373164774 -1.01250531028258 3.33396467449915 -1.00680365964422 3.39733828847371 -0.998416204787213 3.42359094140627 -0.995400196301839 3.45274224994682 -0.992576144143027 3.48534737253758 -0.990102217065453 3.52160551526625 -0.988236764879893 3.56115743059327 -0.987351495192246 3.60294116449304 -0.987709132119247 3.68302240549747 -0.990216932017402 3.71968450050169 -0.992315546332674 3.7538157308823 -0.994932522758271 3.78569423355741 -0.997903162381901 3.81571469779707 -1.00109147232164 3.844220029051 -1.00443962330581 3.87166027793195 -1.00792413862751 3.93511449771234 -1.01652426769902 3.97002801825664 -1.02168716184557 4.0039334098202 -1.02699894079573 4.03715396681049 -1.03242146168856 4.06996149382146 -1.037925629163 4.10262069249981 -1.04348859902155 4.13538956384204 -1.04909483646102 4.19716221394353 -1.05957353430796 4.22598403312941 -1.06442748724555 4.25531310750645 -1.06928875437221 4.28541350083025 -1.07414683177618 4.3164992554373 -1.07898810897174 4.34902783990328 -1.08378632515848 4.38336472421991 -1.08851296893275 4.43452962985163 -1.09478252292522 4.44861129408706 -1.09643854109546 4.46316240356102 -1.09807289939188 4.47826809263701 -1.09968102767637 4.49401855646779 -1.10125626486208 4.51052006504849 -1.10278936942873 4.5279329437904 -1.10426682242591 4.56094772684808 -1.10675327056835 4.57593606851533 -1.10778194152454 4.59174730366066 -1.10875674955078 4.60859085228688 -1.10966396502355 4.62659956792103 -1.11047715971641 4.64585503421193 -1.11115389178989 4.66636139701167 -1.11163883489371 4.70434128773848 -1.11207734233514 4.72142525387045 -1.11212879455202 4.73843116622386 -1.11201366729685 4.75494881979364 -1.11174276623626 4.77075699187384 -1.11134376934171 4.78577107413942 -1.11084602124951 4.80001062407018 -1.11027169993807 4.84510341765624 -1.10815147894545 4.87276829742427 -1.10633801419584 4.89818714089539 -1.10435112051889 4.92156770588877 -1.10224022310542 4.94345800518395 -1.10006669792922 4.96407111619029 -1.09784071791877 4.98374750968984 -1.09557190773152 5.03286562033996 -1.089571011878 5.060897689425 -1.08581150386784 5.08758377544497 -1.08199778598531 5.11322226386653 -1.07814898843345 5.13803473460379 -1.07427927871915 5.16221514600016 -1.07039914316472 5.18590006879799 -1.06651444157105 5.24195724810598 -1.05718023684673 5.2739369270819 -1.05173856914382 5.30553191324158 -1.04631880695164 5.33699058109562 -1.04093572867493 5.36854059183542 -1.03560656853847 5.40040826727863 -1.03035132724524 5.43284346295654 -1.02519425803618 5.4814931387934 -1.01787203262689 5.49695373021749 -1.01560246745417 5.51264427880977 -1.01336486618797 5.52860237041535 -1.01116345211919 5.5448691002629 -1.00900360828519 5.56149339969901 -1.00689226057334 5.57853636292249 -1.00483826082461 5.61244737501437 -1.00099946436153 5.62922775502455 -0.999208950621079 5.64650128192165 -0.997487372771342 5.66435016167866 -0.99584680957453 5.68285242358779 -0.994304804283121 5.70208735039813 -0.992885145805879 5.72214815307229 -0.991619901256303 5.77596968997875 -0.988886574119484 5.81325801637411 -0.987593898833129 5.8514227810094 -0.987189435779132 5.88831792085596 -0.9878418312552 5.92277266536565 -0.989344705510487 5.95411924997665 -0.991433659880017 5.98206991132019 -0.993835283141344 6.02672326620535 -0.998400058938802 6.04542859506698 -1.0006139402032 6.06305108852756 -1.00295543260244 6.07975268084995 -1.00539882027793 6.09564955683434 -1.00792574871913 6.11084016881805 -1.01052264562005 6.12541478019174 -1.01317984373388 6.16068932111655 -1.01999892797934 6.18066219697136 -1.02422593895759 6.19960687158007 -1.02854946874435 6.21767894026463 -1.03295240203399 6.23498872238347 -1.03742214857335 6.25162636007405 -1.04194921146961 6.26767117843952 -1.04652665336395 6.28318530717959 -1.05115046047107 - 0 9 0.117046153574036 7 0.189913837974891 7 0.262763524786804 7 0.361580817699987 7 0.446471092860044 7 0.47744032984858 7 0.501430572084205 7 0.519840208488901 7 0.562577564746973 7 0.629969981374497 7 0.724468204062031 7 0.76769367779753 7 0.808042051161622 7 0.871036128376569 7 0.922336314173668 7 1 9 -8 0.254079498456579 4.71029313485407 -7 0 0 3 10 4 2.59802769168212 2.31182699355792 2.60074688089147 1.65984691998653 2.60349730154004 1.007874366467 2.60628047166349 0.355909997670944 2.6153064077056 -1.75571685955093 2.62437727621562 -3.79687183597762 2.63349693176821 -5.77158122317246 2.63837822726495 -6.83019687396732 2.6433607134529 -7.88878319713484 2.64845387145868 -8.94733527714694 - -1.39161532665016 4 0 3 4.5139021971646 3 6.9295274288432 4 -8 0.254079498456579 4.71029313485407 -1 8.32114275549336 0 0 1 -8 -11.9286706234803 0 -1 0 -11.9286706234803 0 -1 -8 -11.9286706234803 0 -1 6.28318530717959 -11.9286706234803 0 -1 -8 4.71238898038469 10.9955742875643 -1 -4.71238898038469 -11.9286706234803 1 0 -8 0 1 -7 0 0 1 2 2 0 0.254079498456579 8.32114275549336 0.254079498456579 - 0 2 1 2 -8 0 1 -1 0 0 1 0 -8 0 1 -1 1 0 0 1 -8 -1.05115046047106 -3.30488206641277e-017 -1 6.28318530717959 0 0 1 -8 -1.05115046047106 -3.30488206641277e-017 -1 0 0 0 1 -8 1.5707963267949 7.85398163397448 -1 7.85398163397448 0 -1 0 -7 0 0 1 2 2 6.28318530717958 -12.8358442768482 0 -12.8358442768482 - 1.5707963267949 2 7.85398163397448 2 -8 0 6.28318530717959 -1 0 0.769790661411497 1 0 -7 0 0 1 2 2 0 -0.769790661411497 6.28318530717959 -0.769790661411497 - 0 2 6.28318530717959 2 -8 10.586551300925 12.8358442768482 -1 0 0 0 -1 -8 10.586551300925 12.8358442768482 -1 6.28318530717959 0 0 -1 -8 0 1 -7 0 0 8 65 10 0 -10.586551300925 0.0702535968892626 -10.5865512979726 0.138333880723275 -10.588921838415 0.203204562610597 -10.5934057553395 0.264836344374485 -10.5994602928795 0.323347076857397 -10.6066325932518 0.379157078813391 -10.6145810975875 0.432952133290655 -10.6231302852213 0.550890213403553 -10.6435084394255 0.613872916741562 -10.6555171301992 0.675945045317055 -10.6680799451936 0.737883639850758 -10.6810537879037 0.800333244656415 -10.6943158132958 0.864287602904519 -10.7077474164319 0.930578988694489 -10.7212439544024 1.02883811702405 -10.7397281354695 1.05654229375643 -10.7447921402298 1.08506834506912 -10.7498264181897 1.1145683900891 -10.7548186775156 1.14524577593443 -10.7597477515361 1.17733764069403 -10.7645845624466 1.21116255175979 -10.7692891210993 1.28237239726392 -10.7781501679699 1.3194672882924 -10.782303076701 1.3598538905689 -10.7862709567698 1.40426189681861 -10.7899189914078 1.45301854121313 -10.7929210265543 1.50582595437114 -10.79489037424 1.56227143169467 -10.795265271261 1.64517189161216 -10.7936374807436 1.67109092901364 -10.7927947448099 1.69599695825747 -10.7916743975193 1.71979477560724 -10.7903299788166 1.74249258993772 -10.7888121268965 1.76415845822013 -10.7871596418157 1.78490702174592 -10.7853963195981 1.83747587802844 -10.7805022259148 1.86783266652046 -10.7772293159194 1.89652327931349 -10.7737882344555 1.92381774880772 -10.7702241831977 1.9499220369239 -10.7665697850435 1.97501848093707 -10.7628483068175 1.99925328825151 -10.7590727651709 2.05785814202648 -10.7495480681316 2.09127879752451 -10.7437538336759 2.12344372922425 -10.7379008506806 2.15460469668703 -10.7320137176767 2.18493846955131 -10.7261109118506 2.21459283652021 -10.7202070682322 2.24370356118428 -10.7143139072191 2.32510015843359 -10.6976421359713 2.37628796119664 -10.6869253101168 2.42668104874054 -10.6763438260061 2.47674823829419 -10.6659519991162 2.52689721999298 -10.6558146635627 2.57752302113962 -10.646008878685 2.62903920112808 -10.636629410561 2.73219172352471 -10.6194633778334 2.78334759776312 -10.6116728447171 2.8364302406433 -10.6044651758541 2.8920071922669 -10.5980073802859 2.95040680652334 -10.5925999853468 3.01169446020567 -10.5886331921208 3.0757544862118 -10.5865513009252 3.14159265358979 -10.5865513009252 - 0 9 0.164405120567431 7 0.366438917242405 7 0.443147311767504 7 0.517290164171733 7 0.552435602530618 7 0.609624299028585 7 0.694892884473158 7 0.851634700498067 7 1 9 -8 0 1 -7 0 0 8 65 10 4.90905292314919 -667.477586083968 4.90905292454892 -667.329403240492 4.90792899691884 -667.185804017435 4.90580350205825 -667.050092509744 4.90289639072925 -666.923138831414 4.89937641686796 -666.804957503217 4.89537488594047 -666.694798085192 4.89094775444921 -666.59131007948 4.88002203327237 -666.371337379812 4.87334681136494 -666.258627943117 4.86605081434405 -666.152611654468 4.85810307775996 -666.052434332486 4.84947387474325 -665.957417265218 4.84002851030573 -665.867231147756 4.82965199217139 -665.781598281179 4.81338697891479 -665.669932779293 4.80871506243793 -665.639931222145 4.80381851747594 -665.610649541179 4.79866830930688 -665.582115468267 4.79322446270596 -665.554404722496 4.78743982953637 -665.527631894926 4.78125104953687 -665.501962465421 4.76803264606774 -665.454226479198 4.76106268522975 -665.432157109293 4.75339230709603 -665.411328878093 4.74486681610582 -665.392404102809 4.73541683789224 -665.377049166643 4.72509590876368 -665.367010637669 4.71404610500877 -665.365072267281 4.69786520981661 -665.373412015793 4.69281344928909 -665.377733387933 4.6879715263634 -665.383488823133 4.68336081229994 -665.390417532188 4.6789808014387 -665.398272981919 4.6748182324326 -665.406866082622 4.67085051077731 -665.416082311153 4.66084857930458 -665.441805040351 4.65512577019348 -665.45914331333 4.6497701309142 -665.477543946301 4.64472792078484 -665.496800547133 4.63995775700187 -665.516765589927 4.63542311814774 -665.53733637425 4.63109511520569 -665.558462991031 4.62075600790193 -665.612451468916 4.61497655602949 -665.645904260986 4.60952766019281 -665.68037551011 4.60436085564461 -665.715794221092 4.59944300429342 -665.752120759448 4.5947474174639 -665.789338217041 4.59025081245536 -665.827451612115 4.57800466733051 -665.938263827905 4.57069799976423 -666.013065750793 4.56390031952808 -666.091085307931 4.55755614552776 -666.17257996699 4.55163501769357 -666.257893370785 4.54612198143967 -666.347452508907 4.54102065839129 -666.441837801496 4.53194009579247 -666.636838888281 4.52794427402584 -666.736235105304 4.5243404137561 -666.841786304204 4.52118436604095 -666.954602130078 4.51859252025362 -667.075245109018 4.51671210279201 -667.203597171961 4.51572503762028 -667.338716513109 4.51572503762028 -667.477586083968 - 0 9 0.164405120567431 7 0.366438917242405 7 0.443147311767504 7 0.517290164171733 7 0.552435602530618 7 0.609624299028585 7 0.694892884473158 7 0.851634700498067 7 1 9 -8 0 1 -7 0 0 8 65 10 3.14159265358979 -10.5865513009252 3.21378102135767 -10.5865513009252 3.28351557622968 -10.5890542282197 3.34982536149645 -10.5937615838796 3.41275969763943 -10.6000889573518 3.47247428256073 -10.6075636345475 3.52942599009397 -10.6158275685782 3.58433545600869 -10.6247003220915 3.70303418340461 -10.6455073170249 3.7657610688738 -10.6575789832765 3.82767541802012 -10.6701829314664 3.88955994649261 -10.6831814935945 3.95204789327269 -10.69645594821 4.01616898285328 -10.7098865333032 4.08274831694629 -10.7233672048715 4.18146108839234 -10.7417376538725 4.20908802723473 -10.7467256834609 4.23756133004354 -10.7516805609204 4.26703659440898 -10.7565897630281 4.29772326737325 -10.7614311702239 4.3298643500253 -10.7661742368958 4.36378579092186 -10.7707768052266 4.43515347521354 -10.7793907568298 4.47253494695719 -10.7834322984064 4.51339486542609 -10.7872783149722 4.55831305584739 -10.7907568242751 4.60748635658098 -10.7935327663958 4.66046192349963 -10.7951958667421 4.71651544405256 -10.7952445647189 4.79826886220379 -10.7932611148756 4.82425111946181 -10.7922923132226 4.84914148414542 -10.7910553122581 4.87288907325462 -10.7896047234983 4.89552727407206 -10.7879897282407 4.91713821871801 -10.7862472335516 4.93784303848674 -10.784399638916 4.99027008346718 -10.7793012173908 5.02056164374293 -10.7759166736624 5.049219952917 -10.7723728372063 5.07651258883355 -10.7687124781115 5.10264258702748 -10.764966510248 5.1277882809578 -10.7611570693068 5.15209194487393 -10.7572967350148 5.21063781591154 -10.7476127279066 5.24397955429075 -10.741748186245 5.27611036436825 -10.7358304791908 5.30727351698463 -10.7298831530466 5.33764139027775 -10.7239240980781 5.3673583194533 -10.7179676425847 5.39655676632524 -10.7120254313941 5.47780960360376 -10.6953197374894 5.52884607800732 -10.6846255411591 5.57916695514677 -10.6740763181322 5.6292337330668 -10.6637263313702 5.67945150035698 -10.6536417607791 5.73021474043134 -10.6439022267246 5.78194137502074 -10.6346066108696 5.88421012168194 -10.6178905615992 5.93418665852125 -10.6104325691464 5.98604347757671 -10.6035451384115 6.04033107366457 -10.5973947620713 6.0973115949556 -10.5922567252858 6.15705470980125 -10.5885087959366 6.21934800488576 -10.5865513036078 6.28318530717959 -10.586551300925 - 0 9 0.16895864338376 7 0.371041442102173 7 0.446909732768215 7 0.519867411149417 7 0.555601423988271 7 0.613657014423183 7 0.699565607942053 7 0.856112212722053 7 1 9 -8 0 1 -7 0 0 8 65 10 4.51572503762028 -667.477586083968 4.51572503762028 -667.629849855155 4.51691173612502 -667.776938466226 4.51914312847242 -667.915590139342 4.52218378858348 -668.045065159886 4.52585869016513 -668.16542074236 4.53003123969033 -668.27747754277 4.53464516873062 -668.382651778547 4.54586623768421 -668.602752361632 4.55262162798301 -668.7142599689 4.55999663481313 -668.819221328427 4.56802801959038 -668.91846330058 4.57674764036676 -669.012636609846 4.58630013583036 -669.102035350056 4.59680159792503 -669.186907382212 4.61325377605347 -669.297129830503 4.61794211905446 -669.326495817695 4.62285803694366 -669.355149307329 4.62803138786979 -669.383059805587 4.63350348823121 -669.410145334391 4.63932277004893 -669.436282765505 4.64555413318873 -669.461294969615 4.65884905132618 -669.507535007977 4.66589401568222 -669.528948517215 4.67367536362521 -669.549080293361 4.68231931636183 -669.567079887572 4.69186858350582 -669.581242472591 4.70223413820716 -669.589722541091 4.71320680095401 -669.5899974023 4.72915456409457 -669.579829582668 4.73421384357801 -669.574857411147 4.73904640027236 -669.568494480747 4.7436399117812 -669.561006375388 4.74800011181791 -669.552632114916 4.75214316170131 -669.543551235851 4.75609295006299 -669.53387114457 4.76604135459296 -669.50700298497 4.77173425479939 -669.489017839205 4.77706533013423 -669.470001752987 4.78208786440779 -669.450148632591 4.78684263032938 -669.429596920444 4.79136531007151 -669.408442945737 4.79568396790692 -669.386733715605 4.80595697294625 -669.331544619285 4.81168896665477 -669.297485784954 4.81709746947035 -669.262410048392 4.82222906594757 -669.226381258234 4.82711578989856 -669.189433763758 4.83178338569832 -669.151580135286 4.83625419811104 -669.112811715676 4.84836309811577 -669.000713818666 4.85557269454202 -668.925285711697 4.86228291732923 -668.84660159007 4.86854615108222 -668.764386989605 4.87439011673539 -668.678281041142 4.87982699070252 -668.587839809869 4.88485047259187 -668.492463994597 4.8936430901272 -668.298036180452 4.89745268209176 -668.200519985993 4.90088688092238 -668.097080119793 4.9038869871585 -667.986663760024 4.90634837925959 -667.868798860935 4.90812476869189 -667.74362971557 4.9090529218773 -667.612235317496 4.90905292314919 -667.477586083968 - 0 9 0.16895864338376 7 0.371041442102173 7 0.446909732768215 7 0.519867411149417 7 0.555601423988271 7 0.613657014423183 7 0.699565607942053 7 0.856112212722053 7 1 9 -8 0 0.769790661411497 -1 6.28318530717959 0 0 1 -8 0 0.769790661411497 -1 0 0 0 1 -7 0 0 1 2 2 0 0 6.28318530717959 0 - 0 2 6.28318530717959 2 -8 0 6.28318530717959 -1 0 -656.138631847713 1 0 -8 -0.769790661411497 0 -1 6.28318530717959 0 0 1 -8 -0.769790661411497 0 -1 0 0 0 1 -8 0 6.28318530717959 -1 0 0 1 0 -7 0 0 1 2 2 0 -678.816540320223 6.28318530717959 -678.816540320223 - 0 2 6.28318530717959 2 -8 656.138631847713 678.816540320223 -1 0 0 0 -1 -8 656.138631847713 678.816540320223 -1 6.28318530717959 0 0 -1 -Curves 136 -2 0 0 72 0 0 1 1 0 0 0 1 0 10.2 -8 1.5707963267949 7.85398163397448 -2 0 0 72 0 0 1 0 -1 0 1 0 0 6 -1 10.2 -2.49819696179765e-015 0 0 0 1 -2 0 0 0 0 0 1 1 0 0 0 1 0 10.2 -1 6 -1.46952762458685e-015 0 0 0 1 -8 1.5707963267949 7.85398163397448 -2 0 0 0 0 0 1 0 -1 0 1 0 0 6 -1 20.41215859584 36.4192649360416 -43.337479339776 0 0 1 -8 3.1415926535898 9.42477796076938 -2 44.9207350639584 1.33101764594727e-014 -104.1 0 0 1 0 -1 0 1 0 0 20.41215859584 -8 3.1415926535898 9.42477796076938 -2 44.9207350639584 1.33101764594727e-014 -123.5 0 0 1 0 -1 0 1 0 0 20.41215859584 -1 15.1068156978257 110.791907651639 -13648.5567253153 0 0 -1 -8 0.522028935180885 0.83320280950182 -2 -5.14239034666627e-016 124.519264936042 -31.7418076068777 0 0 1 0 -1 0 1 0 0 20.41215859584 -8 0.522028935181721 0.83320280950182 -2 -5.14239034666627e-016 124.519264936042 -49.1601819037784 0 0 1 0 -1 0 1 0 0 20.41215859584 -1 10.1783159612279 106.825816918904 -51.337479339776 0 0 1 -1 10.1783159612309 106.825816918906 -51.337479339776 0 0 1 -7 0 0 7 20 4 10.1783159612279 106.825816918905 -32.1953129460257 10.1783159603236 106.825816918384 -32.6881746026281 10.133719263291 106.800165969231 -33.1844671667222 10.043426045872 106.74820285611 -33.6657090789784 9.91449197291607 106.675039356443 -34.1226533339431 9.75393375280706 106.586417346566 -34.5511493096027 9.56803473993349 106.486971889976 -34.9504098470125 9.09640313797463 106.243602697015 -35.7943011152036 8.79666006094598 106.094600628183 -36.2231871007394 8.46626362663908 105.938050092764 -36.614780410698 8.10758381669062 105.777455732446 -36.9710005248952 7.72209084166111 105.615744652171 -37.2931403671216 7.30983946295358 105.455114829335 -37.5813770511784 6.46203353938016 105.152155465804 -38.0675791539828 6.03191306128346 105.009779297061 -38.2701611045044 5.57757637983083 104.872053462535 -38.4409414695965 5.09892183521888 104.741152601932 -38.5765376385616 4.59713923903892 104.619714631298 -38.6724279074362 4.07530011345084 104.510680904959 -38.7227653525548 3.54013143520595 104.416437076146 -38.7227653535023 - 0 8 0.290591086034539 6 0.659633906559363 6 1 8 -7 0 0 8 16 3 10.1783159612309 106.825816918906 -48.9469489937649 10.1783159244948 106.825816897773 -48.5126720894512 10.1505410789633 106.809840942269 -48.0799582563607 10.0951033301459 106.777942022361 -47.6597328633097 10.0151049818234 106.732262891624 -47.2583887336176 9.91436892986745 106.675588580334 -46.8792475128296 9.79650518538353 106.6105554954 -46.5234697854506 9.66453752184497 106.539289515023 -46.19061770233 9.32940169749332 106.362583995877 -45.4666752838547 9.11685322162274 106.253462866267 -45.0912569621035 8.88650182091253 106.139006743049 -44.7483060725883 8.64092407107889 106.021474832823 -44.4352890116747 8.38220202682526 105.902673188502 -44.1498857413894 8.11178620496947 105.783931612172 -43.890249708096 7.83060295962522 105.666244244141 -43.6547045576304 7.53892608910938 105.55032158211 -43.4419258683605 - 0 9 0.430343372683095 7 1 9 -8 6.10237941171518 6.45749921880722 -2 -5.14239034666627e-016 124.519264936042 -38.7227653535023 0 0 1 0 -1 0 1 0 0 20.41215859584 -7 0 0 7 14 3 7.53892608910944 105.55032158211 -43.4419258683605 7.31650254112802 105.461922631397 -43.2796675841827 7.0792340647563 105.371145999647 -43.123274615135 6.82499616908641 105.277933106151 -42.9730501647713 6.5515629713756 105.18239994741 -42.8299669999096 6.25624173452878 105.084887688159 -42.6958628142961 5.93632048213257 104.985998901069 -42.5732008266824 5.35291816574974 104.819987192294 -42.3947317565246 5.10616371846891 104.753280836363 -42.330328794703 4.84497510557284 104.68662967895 -42.2742882774342 4.56890066782589 104.62072782714 -42.2286919459018 4.27878431476595 104.556675965778 -42.1960756777081 3.97728252641632 104.495912001383 -42.1792241576965 3.67056315135188 104.439843014737 -42.1792241571537 - 0 8 0.599351370713646 6 1 8 -7 0 0 7 20 4 -10.1783159612309 106.825816918906 -32.3269559196931 -10.1783159603459 106.825816918397 -32.8092506721035 -10.134732274267 106.800748466186 -33.2950028089114 -10.0464491114933 106.749943099619 -33.7663285700993 -9.92022261658661 106.678290218434 -34.2141404150494 -9.76287150826524 106.591354884059 -34.6342953388173 -9.58053496457068 106.493665561805 -35.0259111730463 -9.11789545147786 106.254405478696 -35.8535106111011 -8.82382213982818 106.107783746394 -36.2741026959275 -8.49967706828076 105.953585034812 -36.6579965427813 -8.14788823051953 105.795267757489 -37.0070483258614 -7.76999650107621 105.635703097285 -37.3225192851078 -7.36615967601822 105.477035143105 -37.6046151585086 -6.53478961230664 105.176736924275 -38.0811809063401 -6.11230922878147 105.035111409811 -38.2799460932699 -5.666366968403 104.897888034652 -38.4472743372878 -5.19695259944582 104.767163738212 -38.579938912027 -4.70527932684797 104.645464594369 -38.6736233467323 -4.1943443745993 104.53559139196 -38.7227653525754 -3.67056315135384 104.439843014781 -38.7227653535023 - 0 8 0.290237842009155 6 0.658725760119273 6 1 8 -8 6.10887139555272 6.46399120264353 -2 -5.14239034666627e-016 124.519264936042 -42.1792241571537 0 0 1 0 -1 0 1 0 0 20.41215859584 -1 -10.1783159612309 106.825816918906 -51.337479339776 0 0 1 -7 0 0 7 14 3 -7.52581965120424 105.545117863794 -43.4974850891679 -7.29955882926927 105.45537479743 -43.3297368866054 -7.05815657367245 105.363267891246 -43.1679913691576 -6.79948382235978 105.268766464974 -43.0125512111322 -6.52129785821323 105.172013481634 -42.8643859537766 -6.22086373535623 105.073379725918 -42.7253291183148 -5.89540538758326 104.973496729977 -42.5978381165751 -5.29690241463256 104.804736190043 -42.409996170642 -5.04037034663576 104.736178525884 -42.3412824265178 -4.76840882611881 104.667764380045 -42.2813553907664 -4.48042792918072 104.600244228361 -42.2324660970147 -4.17723332721214 104.534814195247 -42.1973852118904 -3.86158094019951 104.473044709163 -42.1792241577228 -3.54013143520757 104.416437076183 -42.1792241571537 - 0 8 0.594444323963533 6 1 8 -8 5.44998249767765 5.76115637199758 -2 -5.14239034666627e-016 124.519264936042 -31.7418076068777 0 0 1 0 -1 0 1 0 0 20.41215859584 -7 0 0 7 14 3 -10.1783159612279 106.825816918904 -49.0846633065597 -10.1783159189458 106.825816894581 -48.5788221159961 -10.1408798448796 106.804284068548 -48.0740052822049 -10.0656532129078 106.760994378435 -47.5888123408812 -9.9589009619884 106.700293846462 -47.1321340512384 -9.82686012968695 106.626914728777 -46.707429018271 -9.67503655344566 106.544668342744 -46.3145885641088 -9.28773843344281 106.340835631344 -45.4787911047423 -9.04046688057628 106.21464824456 -45.0551972453688 -8.77072294406093 106.082325003118 -44.6733140669374 -8.48212919512038 105.947115135936 -44.3296785987469 -8.17755635705375 105.811501861395 -44.020840669388 -7.85862786953562 105.677121408831 -43.7441618379364 -7.52581965120426 105.545117863794 -43.4974850891677 - 0 8 0.434945176506407 6 1 8 -1 -15.1068156978257 110.791907651639 -13648.5567253153 0 0 -1 -1 -10.1783159612279 106.825816918904 -51.337479339776 0 0 1 -8 5.44998249767765 5.76115637199841 -2 -5.14239034666627e-016 124.519264936042 -49.1601819037784 0 0 1 0 -1 0 1 0 0 20.41215859584 -8 3.1415926535898 9.42477796076938 -2 44.9207350639584 1.33101764594727e-014 -104.1 0 0 1 0 -1 0 1 0 0 13.60810573056 -8 1.5707963267949 7.85398163397448 -2 45 0 -123.5 0 0 1 0 -1 0 1 0 0 11 -8 4.7566495468411 6.17228728656889 -2 34.7274322579839 101.67125468768 -49.1601819037784 0 0 -1 0 1 0 1 0 0 21.6368875924824 -1 13.1117345129041 102.628602943578 -13648.5567253153 0 0 1 -8 4.7566495468411 6.17228728656889 -2 34.7274322579839 101.67125468768 -31.7418076068777 0 0 -1 0 1 0 1 0 0 21.6368875924824 -1 311.659471051249 6843.45420714017 -31.7418076068764 -0.0442461168135237 -0.999020661021044 0 -1 309.301755800002 6860.65006445793 -31.7418076068789 -0.0442461168135237 -0.999020661021044 0 -1 6787.88643551636 100.729752744788 -31.7418076068776 1 0 0 -1 311.659471051249 6843.45420714017 -49.1601819037771 -0.0442461168135237 -0.999020661021044 0 -1 309.301755800005 6860.65006445793 -49.1601819037771 0.0442461168135237 0.999020661021044 0 -1 6787.88643551636 100.729752744788 -49.1601819037784 -1 0 0 -1 30.8732626903662 574.091214428793 -17.4678144772615 0.0442260534471262 0.998567655898692 0.0301113398819092 -7 0 0 3 8 4 10.8406121810113 121.779617499152 -32.1908743432795 10.7783939707844 120.374809981908 -32.1908743432795 10.7161757605574 118.970002464664 -32.1908743432795 9.18931816534231 84.4955130877662 -32.1908743432795 7.72467878035418 51.4258312281127 -32.3269559196931 6.19799694938613 16.9553103828496 -32.3269559196931 6.13595450340621 15.5544713972399 -32.3269559196931 6.07391205742629 14.1536324116302 -32.3269559196931 - -3.10003025371294 4 0 2 72.9758440122193 2 76.0671167899236 4 -7 1 0 8 9 2 10.2419234901883 108.261993474078 -54.845999227664 1 10.2398910983452 108.216104668713 -54.3214877668984 0.999999999999993 10.2506645154803 108.459354632391 -53.7715074978899 1.00000000000002 10.2673102281448 108.835193509718 -52.9390786130701 0.999999999999963 10.2758503435585 109.028018380243 -51.7351871199274 1.00000000000005 10.2620086075119 108.715489704489 -50.3631203593568 0.999999999999967 10.2237339510615 107.851296972083 -49.209389974604 1.00000000000001 10.1702513864423 106.643729146772 -48.5750335909629 0.999999999999998 10.1167683319468 105.436150260681 -48.5750335909629 1 - 8.50725122165226e-017 9 1.48344475380073 9 -7 0 0 1 2 2 10.8400848882731 121.767711904249 -48.5750335909629 6.07391205742918 14.1536324116304 -48.5750335909629 - -3.09127277770424 2 76.0671167899236 2 -1 30.8732626903689 574.091214428793 -63.4341750333946 -0.0442260534471262 -0.998567655898692 0.0301113398819092 -7 0 0 5 10 3 9.19743047264233 84.6786785988872 -32.2258202285859 8.93678361222152 78.79360624647 -32.403281828495 8.67065775526222 72.9057031396728 -32.5808287884763 8.39962426262721 67.025585528229 -32.7581409804924 8.12401130297854 61.1622123823135 -32.9349482509945 7.56136036958354 49.4315315293104 -33.2886814368477 7.27424552133476 43.5647414319316 -33.4655917439205 6.98273998807496 37.7306984585168 -33.6415145768106 6.68679816298069 31.9363627756205 -33.8162400549562 6.38624670857716 26.1880025975564 -33.9895791632908 - 0 6 0.497757129173774 4 1 6 -7 0 0 3 8 4 4.3151181062608 122.068628311803 -38.7227653535023 4.25289989603371 120.663820794559 -38.7227653535023 4.1906816858065 119.259013277315 -38.7227653535023 2.66382409059138 84.7845239004176 -38.7227653535023 1.33513301202662 51.7088209594381 -38.7227653535023 -0.191548818941467 17.2383001141749 -38.7227653535023 -0.253591264922183 15.8374611285653 -38.7227653535023 -0.315633710902502 14.4366221429556 -38.7227653535023 - -3.10003025371294 4 0 2 72.9758440122193 2 76.0671167899236 4 -7 1 0 2 3 2 6.60647619719557 26.1782487455498 -32.3245514738116 1 6.60647619719556 26.1782487455498 -38.7227653535023 0.707106781186548 0.214528337753922 26.4613448642684 -38.7227653535023 1 - 0 3 1.48344475380072 3 -7 1 0 2 3 2 10.1167683319468 105.436150260681 -48.5750335909629 1 10.1167683319468 105.436150260681 -42.1792241571537 0.707106781186548 3.72722256361813 105.719139992006 -42.1792241571537 1 - 0 3 1.48344475380073 3 -1 6.26003939536545 26.4613448642684 -38.7227653535023 -1 0 0 -7 0 0 1 2 2 -4.45053911994471 122.050701635574 -38.7227653535023 0.315633710899898 14.4366221429557 -38.7227653535023 - -3.09127277770422 2 76.0671167899237 2 -7 0 0 1 2 2 4.45053911994471 122.050701635574 -42.1792241571537 -0.315633710899899 14.4366221429557 -42.1792241571537 - -3.09127277770424 2 76.0671167899236 2 -7 0 0 4 8 3 9.04888734909565 81.3247650768478 -48.5750335909629 8.7640708696997 74.8939736771073 -48.3811160888253 8.47154058078286 68.4661962793488 -48.1872894725056 8.17165310588521 62.0490703978704 -47.9937840476696 7.55455916721773 49.1850163976813 -47.6058745254947 7.23720900677996 42.7384825717151 -47.4114823178689 6.9128723968994 36.3169542158791 -47.217844138481 6.58172424022921 29.9276489694822 -47.0251776318632 - 0 5 0.497479328260483 3 1 5 -7 1 0 2 3 2 6.77216167130315 29.9192145925472 -48.5750335909629 1 6.77216167130315 29.9192145925472 -42.1792241571537 0.707106781186548 0.382615902974473 30.2022043238726 -42.1792241571537 1 - 0 3 1.48344475380073 3 -7 0 0 1 2 2 -10.8400848882731 121.767711904249 -32.3269559196931 -6.07391205742919 14.1536324116304 -32.3269559196931 - -3.09127277770422 2 76.0671167899237 2 -7 0 0 4 8 3 -9.04888734909566 81.3247650768479 -32.3269559196931 -8.74132337061959 74.3803642758526 -32.5363610727238 -8.42474732949463 67.4390990609412 -32.745671673625 -8.09960639638105 60.5105858810687 -32.9545977428834 -7.43341848507666 46.7089148730996 -33.3707806666986 -7.09240301497212 39.8357319811308 -33.5780382770448 -6.7434687682747 32.992489235938 -33.7843930562906 -6.38681350130324 26.1880840906736 -33.9895767059041 - 0 5 0.500456272683085 3 1 5 -7 1 0 2 3 2 -6.60648090904199 26.1783551329431 -32.3269559196931 1 -6.60648090904199 26.1783551329431 -38.7227653535023 0.707106781186548 -0.216935140713307 26.4613448642684 -38.7227653535023 1 - 0 3 1.48344475380073 3 -7 1 0 3 8 4 -4.3151181062608 122.068628311803 -42.1792241571537 1 -4.25289989603371 120.663820794559 -42.1792241571537 0.999999999999999 -4.1906816858065 119.259013277315 -42.1792241571537 1 -2.66382409059138 84.7845239004176 -42.1792241571537 1 -1.33513301202663 51.7088209594381 -42.1792241571537 1 0.191548818941468 17.2383001141749 -42.1792241571537 1 0.25359126492218 15.8374611285653 -42.1792241571537 1 0.315633710902501 14.4366221429556 -42.1792241571537 1 - -3.10003025371294 4 0 2 72.9758440122193 2 76.0671167899236 4 -1 -6.26003939536546 30.2022043238726 -42.1792241571537 1 0 1.22464679914735e-016 -1 -309.365054448675 6862.07926689174 -31.7418076068789 0.0442461168135237 -0.999020661021044 0 -1 -4.25657260919912 -26.879565247781 -35.5898068120233 -0.0442260534471262 0.998567655898692 0.0301113398819092 -7 1 0 2 3 2 -10.1165126543821 105.430377388728 -48.7055054237234 1 -10.1165126543821 105.430377388728 -42.1792241571537 0.707106781186548 -3.59662282944533 105.719139992006 -42.1792241571537 1 - 0 3 1.48344475380073 3 -7 1 0 3 8 4 -10.8406121810113 121.779617499152 -48.7111151673766 1 -10.7783939707844 120.374809981907 -48.7111151673766 0.999999999999999 -10.7161757605574 118.970002464664 -48.7111151673766 1 -9.18931816534231 84.4955130877661 -48.7111151673766 1 -7.72467878035417 51.4258312281127 -48.5750335909629 1 -6.19799694938613 16.9553103828496 -48.5750335909629 1 -6.13595450340621 15.5544713972399 -48.5750335909629 1 -6.07391205742629 14.1536324116302 -48.5750335909629 1 - -3.10003025371294 4 0 2 72.9758440122193 2 76.0671167899236 4 -7 0 0 5 10 3 -9.19743047264233 84.6786785988873 -48.6761692820702 -8.95615554526973 79.2309996891182 -48.511897076526 -8.71019070706594 73.7810062614926 -48.3475550777801 -8.45999062071492 68.3371441157196 -48.1833979649662 -8.20583064809986 62.9066209286265 -48.0196430822027 -7.68236211868888 51.9277147651283 -47.6885793099407 -7.4128308216358 46.3805386192185 -47.5213068118504 -7.13938258611315 40.8608653506495 -47.3548636501425 -6.86200871504074 35.3747057767141 -47.1894310781968 -6.58059233774165 29.9274723518853 -47.0251723060423 - 0 6 0.492855065492926 4 1 6 -7 1 0 2 3 2 -6.77215164836379 29.9189882874758 -48.5801482787077 1 -6.77215164836377 29.9189882874758 -42.1792241571537 0.707106781186547 -0.377496201303275 30.2022043238726 -42.1792241571537 1 - 0 3 1.48344475380072 3 -8 0.110898020610697 1.52653576033849 -2 -34.7274322579839 101.67125468768 -31.7418076068777 0 0 -1 0 1 0 1 0 0 21.6368875924824 -1 -311.722769699919 6844.88340957396 -31.7418076068764 0.0442461168135237 -0.999020661021044 0 -1 6787.88643551636 100.729752744788 -31.7418076068776 1 0 0 -7 1 0 8 9 2 -10.2419234901855 108.261993474078 -54.845999227664 1 -10.2398869464 108.216010923174 -54.3204162504439 1 -10.2499922994054 108.444176854249 -53.770683238241 0.999999999999993 -10.2655660326372 108.795811808643 -52.95036912619 1.00000000000002 -10.2731631990602 108.967346098391 -51.7747924636692 0.999999999999974 -10.2590675936641 108.649085377805 -50.4406509188753 1.00000000000003 -10.2213456691102 107.797372623854 -49.3208000109654 0.999999999999984 -10.1689293937432 106.613880244488 -48.7055054237234 1.00000000000001 -10.1165126543821 105.430377388728 -48.7055054237234 1 - -1.30868229648463e-015 9 1.48344475380072 9 -8 0.110898020610697 1.52653576033849 -2 -34.7274322579839 101.67125468768 -49.1601819037784 0 0 -1 0 1 0 1 0 0 21.6368875924824 -1 -13.1117345129041 102.628602943578 -13648.5567253153 0 0 1 -1 -309.365054448672 6862.07926689174 -49.1601819037771 -0.0442461168135237 0.999020661021044 0 -1 -4.25657260919644 -26.879565247781 -45.3121826986327 0.0442260534471262 -0.998567655898692 0.0301113398819092 -1 -311.722769699919 6844.88340957396 -49.1601819037771 0.0442461168135237 -0.999020661021044 0 -1 6787.88643551636 100.729752744788 -49.1601819037784 -1 0 0 -1 13.60810573056 36.4192649360416 -47.667206216448 0 0 1 -8 3.1415926535898 9.42477796076938 -2 44.9207350639584 1.33101764594727e-014 -110 0 0 1 0 -1 0 1 0 0 13.60810573056 -1 11 -2.69413397840923e-015 0 0 0 1 -8 1.5707963267949 7.85398163397448 -2 0 0 15 0 0 1 0 -1 0 1 0 0 11 -1 15.1096761402441 147.739566548405 -50.5777408171458 0.0442260534471262 0.998567655898692 -0.0301113398819092 -7 1 0 3 10 4 9.52442297437487 21.631701913508 -39.2310097522432 1 9.5199194338582 21.5300177353718 -39.8761736934814 1 9.5153888215848 21.4277223116339 -40.5212685950714 1 9.51082965633586 21.3247821982698 -41.1662906795438 1 9.49601661061875 20.9903225939072 -43.2647416305183 0.999999999999999 9.48139453751299 20.6601749065703 -45.2930255835586 1 9.46694135135 20.3338404701437 -47.2551622246792 1 9.45922128268181 20.1595312050723 -48.3015696229984 1 9.45141136551041 19.9831932758487 -49.347741415917 1 9.44350214657332 19.8046132399101 -50.3936528145969 1 - -1.39161532665019 4 0 3 4.51390219716435 3 6.92952742884262 4 -7 1 0 8 9 2 9.50833006629254 21.2683446557871 -39.3820108859218 1 9.50900509976085 21.283586047129 -39.5170146026694 1 9.51015155210179 21.3094714729734 -39.7667777301522 1.00000000000002 9.51122659740706 21.3337446193672 -40.0784345546991 0.999999999999954 9.51182554079463 21.3472679941453 -40.4509947267754 1.00000000000005 9.51122659741382 21.3337446195226 -40.8235549977287 0.999999999999966 9.51015155210382 21.3094714730174 -41.135211762898 1.00000000000001 9.5090050997603 21.2835860471169 -41.3849749088827 1 9.50833006629643 21.2683446558749 -41.5199786247441 1 - 0 9 1 9 -7 1 0 3 10 4 9.44350214657442 19.8046132399351 -30.5083366960566 1 9.45141136551151 19.9831932758736 -31.5542480947367 0.999999999999999 9.45922128268179 20.159531205072 -32.6004198876576 1 9.46694135134999 20.3338404701435 -33.6468272859768 1 9.48139453751298 20.6601749065702 -35.6089639270975 0.999999999999999 9.49601661061875 20.9903225939072 -37.6372478801378 1 9.51082965633586 21.3247821982698 -39.7356988311122 1 9.5153888215848 21.4277223116339 -40.3807209155847 1 9.51991943385884 21.530017735386 -41.0258158171723 1 9.52442297437551 21.6317019135223 -41.6709797584103 1 - -2.41562523167827 4 0 3 4.51390219716435 3 5.90551752381454 4 -1 15.1096761402441 147.739566548405 -30.3242486935103 0.0442260534471262 0.998567655898692 0.0301113398819092 -1 11.5070139409244 -453.23121312817 -48.4462410282722 -0.0442260534471262 0.998567655898692 0.0301113398819092 -8 0 1 -7 0 0 6 22 5 -9.47074002977874 20.4196097649048 -34.1635223469402 -9.44622699572854 19.8661367625249 -34.1802120660511 -9.44234725389562 19.3039400926456 -34.1971648432687 -9.46063677295114 18.7424968580054 -34.2140949009997 -9.50032211586096 18.1893488233654 -34.2307748208606 -9.55926863117246 17.6501156072855 -34.2470351458862 -9.69673648441726 16.7016329332043 -34.2756361966039 -9.76985841644716 16.2860062392529 -34.2881692248585 -9.852973675387 15.8828440193266 -34.300326392738 -9.94483766163015 15.4924181613681 -34.3120995015887 -10.0444046233929 15.1145061602838 -34.3234952609475 -10.1878639767027 14.621392027436 -34.3383648866228 -10.2256717827208 14.4957367098305 -34.3421539638616 -10.2642804453891 14.3714893152128 -34.3459005858423 -10.3036462459365 14.2486709142556 -34.3496041171886 -10.3437494492837 14.1272119626055 -34.3532666549778 -10.5696846702475 13.4622845808649 -34.3733172286872 -10.7693206802488 12.945374502118 -34.3889044099639 -10.9809351743288 12.4538881399444 -34.4037249509771 -11.2026594209162 11.9858693495238 -34.4178378383576 -11.4330803436265 11.539454076026 -34.4312992818054 -11.6712378959314 11.1128911988883 -34.444162085541 - 0 7 0.294674815906856 5 0.536015963842083 5 0.619826933433331 5 1 7 -7 0 0 4 8 3 -9.19946370975891 14.2945378249583 -34.3482210219828 -9.57302368045943 13.9401767954866 -34.3589066128252 -9.92664960225033 13.5682735113515 -34.3701211821392 -10.2594011510599 13.1804902570003 -34.381814604516 -10.8779396747104 12.3813618041398 -34.4059119486581 -11.164251680622 11.9703663192949 -34.4183053247631 -11.4288514426332 11.5470284279589 -34.4310708809382 -11.6712378890562 11.1128912044283 -34.444162085541 - 0 5 0.50309607563181 3 1 5 -8 2.38256514860149 3.90062015857784 -3 -5.14239034666627e-016 4.59658848347232 -34.6406581413448 0 0.0301408311958109 -0.999545661935875 0 -0.999545661935875 -0.0301408311958109 -1 0 0 13.3732350922455 13.3671126047645 -7 0 0 4 8 3 9.19946370975644 14.2945378249606 -34.3482210219828 9.5730236804576 13.9401767954885 -34.3589066128251 9.92664960224844 13.5682735113532 -34.3701211821391 10.2594011510591 13.1804902570019 -34.381814604516 10.87793967471 12.381361804141 -34.4059119486581 11.1642516806218 11.9703663192945 -34.4183053247631 11.4288514426329 11.5470284279593 -34.4310708809382 11.6712378890563 11.112891204428 -34.444162085541 - 0 5 0.503096075632066 3 1 5 -7 0 0 8 23 4 -0.174798774737348 18.7519237737158 -34.2138106367725 -0.625921384600806 18.7519238209371 -34.2138106353486 -1.08435772519162 18.7933080674341 -34.212562712782 -1.5431591875628 18.8784271785946 -34.2099959858593 -1.9953829650179 19.0076962544568 -34.2060979374331 -2.43444904052598 19.1798405367175 -34.200907007243 -2.85437816335989 19.3920622761217 -34.1945075601071 -3.25002269715605 19.6401137127678 -34.1870276852354 -4.08578837847286 20.2728818541633 -34.1679468583536 -4.51016634912304 20.6778884947358 -34.1557340728336 -4.88153265248663 21.1220542855059 -34.1423404614835 -5.19688138582805 21.5921829711174 -34.128163951202 -5.4572491024165 22.0754353625172 -34.1135917017202 -5.66787481617981 22.559870288415 -34.0989837934646 -5.83612777262519 23.0368395761673 -34.08460100803 -6.07340169732553 23.8625937416998 -34.0597007779951 -6.1562203595628 24.2169021986563 -34.0490167724523 -6.22166347568571 24.5621536784153 -34.0386058758142 -6.27335180107638 24.8983630877741 -34.0284676385732 -6.31413584238099 25.2267998865791 -34.0185637807623 -6.34598809088466 25.5495291153067 -34.0088320320534 -6.3700894298642 25.8690160383704 -33.999198053553 -6.38681350130326 26.1880840906736 -33.9895767059041 - 0 9 0.305846620579988 7 0.695782133253632 7 1 9 -8 0 1 -7 0 0 6 27 6 11.6712378959339 11.112891198888 -34.444162085541 11.4263992632313 11.5514205278539 -34.4309384390563 11.1897444283727 12.0109193971959 -34.4170824659048 10.9623058405305 12.4933046539521 -34.402536364462 10.7456316981822 13.0006136436479 -34.3872386995279 10.5417850621213 13.5349711304663 -34.3711253998342 10.3085254705522 14.2341712390342 -34.3500413481025 10.2643635995311 14.3709416427287 -34.3459171006495 10.221137274833 14.5094575670219 -34.3417402178406 10.1788918371793 14.6497457123309 -34.3375098945372 10.1376774295492 14.7918259328263 -34.333225532046 10.063366437427 15.0582717766696 -34.3251909824422 10.0299739543733 15.1821326542575 -34.3214560157015 9.99739681702961 15.307329856526 -34.3176807527161 9.96566891745606 15.433875250685 -34.3138648356357 9.93482628270871 15.5617769510733 -34.3100080197764 9.84848465755538 15.9348054006933 -34.2987595216243 9.79534833370934 16.1834009421699 -34.2912632395263 9.74574803520982 16.4368666111092 -34.2836201010161 9.69997266478932 16.6951456370258 -34.2758318179811 9.65832827415541 16.9580590378087 -34.267903787543 9.55038846516373 17.7331812063522 -34.2445303416587 9.49555796804186 18.2574680395953 -34.2287207178058 9.45900773591293 18.7943559264912 -34.2125311150831 9.44260731914783 19.3385624755465 -34.1961208215313 9.44698114278927 19.883164439965 -34.1796986044145 9.47074002978121 20.419609764904 -34.1635223469402 - 0 7 0.390821725776171 5 0.484404162194726 5 0.564092511917342 5 0.714370741519474 5 1 7 -1 6.26003939536545 18.7519246610386 -34.2138106100157 -1 0 0 -7 0 0 8 23 4 0.136239000065366 18.7519243779999 -34.2138106185506 0.590599627506476 18.7519243906046 -34.2138106181705 1.05237079692033 18.7936336441146 -34.2125528951698 1.51446953572084 18.8794109432704 -34.2099663208963 1.96984358704848 19.0096271776918 -34.2060397113475 2.41183559698149 19.1829318737793 -34.200813789422 2.83442156628234 19.3964340362754 -34.1943757317276 3.23243772419694 19.6457865981642 -34.1868566220338 4.07296091194825 20.281349916907 -34.1676915078884 4.49955756202491 20.6878086000347 -34.1554349367053 4.87276644045293 21.1331655234786 -34.1420054073076 5.1896822115844 21.604133112927 -34.1278036002737 5.45143142192912 22.0878377953289 -34.1132177121688 5.66330294545126 22.5723764623414 -34.0986066756484 5.83266567422143 23.0492259852884 -34.0842275016654 6.07113706587626 23.8729161704143 -34.0593895099928 6.15431039173921 24.2253712906127 -34.0487613909518 6.22015764793298 24.5688900561015 -34.0384027435008 6.27222598080439 24.9035164386245 -34.0283122416924 6.31332051930873 25.2305128789999 -34.0184518172153 6.34538841849353 25.5519185249612 -34.0087599805246 6.36958403360932 25.8701625149372 -33.9991634820892 6.3862467085767 26.1880025975564 -33.9895791632908 - 0 9 0.306305682413535 7 0.696823708124191 7 1 9 -8 0 1 -7 0 0 6 27 6 11.6712378959339 11.112891198888 -46.457827425115 11.4263992632313 11.5514205278538 -46.4710510715997 11.1897444283727 12.0109193971961 -46.4849070447513 10.9623058405305 12.4933046539519 -46.4994531461941 10.7456316981822 13.0006136436482 -46.5147508111281 10.5417850621213 13.5349711304664 -46.5308641108219 10.3085254705498 14.2341712390343 -46.5519481625536 10.2643635995286 14.3709416427288 -46.5560724100065 10.221137274833 14.5094575670221 -46.5602492928154 10.1788918371793 14.649745712331 -46.5644796161188 10.1376774295492 14.7918259328264 -46.56876397861 10.063366437427 15.0582717766698 -46.5767985282138 10.0299739543733 15.1821326542577 -46.5805334949545 9.99739681702961 15.3073298565261 -46.58430875794 9.96566891745606 15.4338752506851 -46.5881246750203 9.93482628270871 15.5617769510735 -46.5919814908796 9.84848465755538 15.9348054006938 -46.6032299890317 9.79534833371181 16.1834009421698 -46.6107262711297 9.74574803521229 16.4368666111093 -46.6183694096399 9.69997266478932 16.6951456370259 -46.6261576926749 9.65832827415541 16.958059037808 -46.634085723113 9.55038846516373 17.7331812063525 -46.6574591689974 9.49555796804186 18.257468039595 -46.6732687928502 9.45900773591293 18.794355926492 -46.689458395573 9.44260731914783 19.3385624755461 -46.7058686891247 9.44698114278927 19.8831644399654 -46.7222909062415 9.47074002978121 20.4196097649043 -46.7384671637158 - 0 7 0.39082172577629 5 0.484404162194879 5 0.564092511917504 5 0.714370741519839 5 1 7 -7 0 0 4 8 3 9.19946370975644 14.2945378249606 -46.5537684886733 9.5730236804576 13.9401767954885 -46.5430828978309 9.92664960224842 13.5682735113533 -46.5318683285169 10.2594011510591 13.1804902570019 -46.5201749061401 10.87793967471 12.381361804141 -46.4960775619979 11.1642516806218 11.9703663192946 -46.4836841858929 11.4288514426329 11.5470284279592 -46.4709186297178 11.6712378890563 11.112891204428 -46.457827425115 - 0 5 0.503096075632058 3 1 5 -8 2.38256514860149 3.90062015857784 -3 -5.14239034666627e-016 4.59658848347232 -46.2613313693113 0 -0.0301408311958109 -0.999545661935875 0 -0.999545661935875 0.0301408311958109 -1 0 0 13.3732350922455 13.3671126047645 -7 0 0 4 8 3 -9.19946370975891 14.2945378249583 -46.5537684886732 -9.57302368046004 13.940176795486 -46.5430828978309 -9.92664960224932 13.5682735113513 -46.5318683285169 -10.2594011510615 13.180490257 -46.52017490614 -10.8779396747113 12.38136180414 -46.4960775619979 -11.1642516806219 11.970366319293 -46.4836841858928 -11.4288514426331 11.5470284279589 -46.4709186297178 -11.6712378890563 11.112891204428 -46.457827425115 - 0 5 0.503096075631967 3 1 5 -7 0 0 7 20 4 0.203274625781765 20.3503321197746 -46.7363781287802 0.660945594265429 20.3503321790963 -46.736378130569 1.12619831399726 20.3995363881037 -46.7378618604418 1.592203549011 20.5007694930721 -46.7409144972992 2.05173450781807 20.6549363056126 -46.7455633253115 2.49752543765606 20.8610569021554 -46.7517787953425 2.92277253894314 21.1160357076246 -46.7594675617759 3.83709123554015 21.7991973895672 -46.780067982266 4.3096097205381 22.2569349603772 -46.7938708442853 4.72638587817491 22.7752341470467 -46.8094999134607 5.08255006474863 23.3379991701001 -46.8264698291021 5.37961708189868 23.9294218309155 -46.8443039023854 5.62384287876827 24.5357873822017 -46.8625885715309 6.04790950241287 25.8371767888363 -46.9018313594486 6.21544100394372 26.5340800836538 -46.9228461518375 6.33791806310124 27.2270119618227 -46.9437411880179 6.42831132058099 27.9110179647573 -46.964367068612 6.49622075335022 28.5866030266662 -46.9847390196742 6.5469665942622 29.2570213368598 -47.0049551697588 6.58172424022921 29.9276489694822 -47.0251776318632 - 0 8 0.266586373617939 6 0.610882351721719 6 1 8 -8 0 1 -7 0 0 6 22 5 -9.47074002977874 20.4196097649046 -46.7384671637158 -9.44622699572854 19.8661367625247 -46.721777444605 -9.44234725389562 19.3039400926452 -46.7048246673873 -9.46063677295114 18.7424968580057 -46.6878946096563 -9.50032211586096 18.1893488233649 -46.6712146897954 -9.55926863117246 17.6501156072854 -46.6549543647698 -9.69673648441726 16.7016329332041 -46.6263533140522 -9.76985841644716 16.286006239253 -46.6138202857975 -9.852973675387 15.8828440193261 -46.601663117918 -9.94483766163015 15.4924181613681 -46.5898900090674 -10.0444046233929 15.1145061602836 -46.5784942497086 -10.1878639767051 14.6213920274378 -46.5636246240332 -10.2256717827158 14.4957367098212 -46.5598355467941 -10.264280445399 14.37148931523 -46.5560889248142 -10.3036462459291 14.2486709142437 -46.5523853934671 -10.3437494492861 14.1272119626087 -46.5487228556783 -10.569684670245 13.4622845808653 -46.5286722819689 -10.7693206802488 12.9453745021177 -46.5130851006922 -10.9809351743288 12.4538881399438 -46.4982645596789 -11.2026594209162 11.9858693495235 -46.4841516722985 -11.4330803436265 11.539454076026 -46.4706902288506 -11.6712378959314 11.112891198888 -46.457827425115 - 0 7 0.294674815912329 5 0.536015963852002 5 0.619826933443454 5 1 7 -1 -6.26003939536546 20.3503318922451 -46.7363781219191 1 0 1.22464679914735e-016 -1 11.5070139409244 -453.23121312817 -32.4557484823838 -0.0442260534471262 0.998567655898692 -0.0301113398819092 -7 0 0 7 20 4 -0.180972590741277 20.3503325743315 -46.7363781424872 -0.640491816479117 20.3503328322036 -46.7363781502632 -1.10765677979055 20.3997502095608 -46.7378683081277 -1.57556467883483 20.5014105999948 -46.7409338295781 -2.03692456629072 20.656189963576 -46.7456011287801 -2.48442219526886 20.8630582999032 -46.751839146554 -2.91122334628329 21.1188573810538 -46.7595526480163 -3.82919534313318 21.8042656679871 -46.7802208138274 -4.30361827841555 22.2635628201486 -46.7940707042919 -4.72191836596026 22.7834135460006 -46.8097465594045 -5.07927392967006 23.3475994104915 -46.8267593198538 -5.37726795993244 23.9402501124662 -46.844630424143 -5.62221333429422 24.5476606448375 -46.8629466042036 -6.04651439214997 25.8481358915646 -46.9021618260575 -6.21400055351961 26.5430018480595 -46.9231151834638 -6.33660191527931 27.2339023130846 -46.9439489633324 -6.42713299237246 27.9159951458025 -46.9645171531748 -6.4951367122254 28.5897911854765 -46.9848351571096 -6.5459077109932 29.2585122804439 -47.0050001284641 -6.58059233774144 29.9274723518853 -47.0251723060423 - 0 8 0.26684394213048 6 0.611788171588493 6 1 8 -7 1 0 6 7 2 0.126647052523858 17.6497350554051 -30.6484125717869 1 0.129001239242113 17.8402364158088 -32.8258531486148 1 0.135314874108521 18.6763444502554 -34.9467807641724 0.999999999999996 0.147342387326072 20.1378978933567 -36.7736175883595 1 0.165114457034413 22.0853805291835 -38.0734727226081 0.999999999999998 0.187719921592113 24.2733928466003 -38.7227653535023 1 0.214528337753922 26.4613448642684 -38.7227653535023 1 - 0 7 1.48344475380072 7 -7 1 0 6 7 2 -0.173968118097633 17.6497350554051 -30.6484125717869 1 -0.176368935817378 17.8401934130549 -32.8253616248746 1 -0.173877306758912 18.6759797769324 -34.9458177838565 0.999999999999996 -0.172734031410882 20.1369369318335 -36.7730855123225 1 -0.176887178794858 22.0850598753902 -38.0735383582757 0.999999999999998 -0.190100925200345 24.273437059986 -38.7227653535023 1 -0.216935140713307 26.4613448642684 -38.7227653535023 1 - 0 7 1.48344475380073 7 -7 1 0 7 8 2 0.159528088622767 17.3236976801492 -53.9802012996608 1 0.164925930698358 17.5624245563917 -51.2515405383514 1 0.176274192153638 18.4756755313616 -48.5818084985306 0.999999999999995 0.196866572893255 20.04591992957 -46.1706590277361 1.00000000000001 0.228071276595049 22.1826244132769 -44.2118359532327 0.999999999999997 0.269714087743054 24.7221903423378 -42.8566643596828 1 0.321305056940081 27.4624036496956 -42.1792241571537 1 0.382615902974473 30.2022043238726 -42.1792241571537 1 - 2.24152295252119e-016 8 1.48344475380073 8 -7 1 0 6 7 2 -0.127155338799039 17.3236976801492 -53.9802012996608 1 -0.133421126319763 17.6022384634268 -50.7964654852575 1 -0.15340057815936 18.8250951258314 -47.6954728179876 0.999999999999996 -0.190185858668661 20.9628771211259 -45.0255618167889 1 -0.242420158955765 23.809137830837 -43.1274504590345 0.999999999999998 -0.306022251555228 27.0057416172225 -42.1792241571537 1 -0.377496201303275 30.2022043238726 -42.1792241571537 1 - 1.23850227028653e-017 7 1.48344475380072 7 -7 1 0 3 10 4 -9.52442297437487 21.631701913508 -39.2310097522432 1 -9.5199194338582 21.5300177353719 -39.8761736934806 1 -9.51538882158481 21.4277223116339 -40.5212685950714 1 -9.51082965633586 21.3247821982698 -41.1662906795438 1 -9.49601661061876 20.9903225939072 -43.2647416305187 0.999999999999999 -9.481394537513 20.6601749065703 -45.2930255835609 1 -9.46694135135 20.3338404701437 -47.2551622246817 1 -9.45922128268181 20.1595312050721 -48.301569623001 0.999999999999999 -9.45141136551041 19.9831932758487 -49.3477414159172 1 -9.44350214657331 19.80461323991 -50.3936528145969 1 - -1.39161532665016 4 0 3 4.5139021971646 3 6.9295274288432 4 -7 1 0 8 9 2 -9.50833006629254 21.2683446557871 -41.5199786247342 1 -9.50900509976085 21.283586047129 -41.3849749079868 1 -9.51015155210233 21.3094714729742 -41.1352117805013 0.999999999999964 -9.51122659740534 21.3337446193644 -40.8235549559618 1.00000000000013 -9.51182554079702 21.3472679941491 -40.4509947838749 0.999999999999807 -9.51122659741216 21.3337446195197 -40.07843451293 1.00000000000014 -9.51015155210431 21.3094714730182 -39.7667777477569 0.999999999999957 -9.50900509976031 21.2835860471169 -39.5170146017735 1 -9.50833006629643 21.268344655875 -39.382010885912 1 - 0 9 1 9 -7 1 0 3 10 4 -9.44350214657443 19.804613239935 -30.5083366960566 1 -9.45141136551152 19.9831932758736 -31.5542480947364 1 -9.45922128268181 20.1595312050724 -32.6004198876551 1 -9.46694135135002 20.3338404701438 -33.6468272859743 1 -9.481394537513 20.6601749065704 -35.6089639270952 0.999999999999999 -9.49601661061876 20.9903225939072 -37.6372478801374 1 -9.51082965633586 21.3247821982698 -39.7356988311122 1 -9.51538882158481 21.4277223116339 -40.3807209155846 1 -9.51991943385884 21.5300177353862 -41.0258158171727 1 -9.52442297437551 21.6317019135223 -41.6709797584103 1 - -2.41562523167859 4 0 3 4.5139021971646 3 5.90551752381476 4 -7 1 0 2 3 2 9.50833006629643 21.2683446558749 -41.5199786247441 1 9.28019238217641 16.117287876548 -40.9373037572245 0.957761631753339 11.9452235364372 11.6916743315865 -40.450994755328 1 - 0 3 1 3 -7 1 0 3 10 4 12.048075658536 11.9123360622669 -38.147964960929 1 12.0192388570805 11.8501863370696 -38.797464053626 1 11.9902567095242 11.7879765933152 -39.446955654888 1 11.9611265805858 11.7257010739096 -40.0964391025716 1 11.8668603115059 11.5238599392719 -42.2000305825511 0.999999999999999 11.7741948839799 11.3280325405508 -44.2334183485024 1 11.6831610639834 11.1377534738622 -46.200613370735 1 11.6343093840749 11.0358365369211 -47.255200669608 1 11.5850441983433 10.9336858578921 -48.3097587524541 1 11.5353523889239 10.8312597712939 -49.3642827224501 1 - -1.39161532665019 4 0 3 4.51390219716435 3 6.92952742884262 4 -7 1 0 2 3 2 9.50833006629254 21.2683446557871 -39.3820108859218 1 9.2801923821971 16.1172878765137 -39.9646857534352 0.957761631753954 11.9452235364372 11.6916743315865 -40.450994755328 1 - 0 3 1 3 -7 1 0 3 10 4 11.5353523889194 10.8312597713021 -31.5377067882047 1 11.5850441983387 10.9336858579002 -32.5922307582005 0.999999999999999 11.6343093840749 11.035836536921 -33.646788841048 1 11.6831610639834 11.1377534738621 -34.7013761399211 1 11.77419488398 11.3280325405507 -36.6685711621536 0.999999999999999 11.8668603115059 11.5238599392719 -38.7019589281049 1 11.9611265805858 11.7257010739096 -40.8055504080845 1 11.9902567095242 11.7879765933152 -41.455033855768 1 12.0192388570776 11.8501863370742 -42.1045254570293 1 12.0480756585332 11.9123360622715 -42.7540245497264 1 - -2.41562523167827 4 0 3 4.51390219716435 3 5.90551752381454 4 -7 1 0 3 10 4 -11.5353523889194 10.831259771302 -31.537706788204 1 -11.5850441983387 10.9336858579002 -32.5922307582004 1 -11.6343093840748 11.0358365369212 -33.6467888410477 1 -11.6831610639833 11.1377534738623 -34.7013761399207 1 -11.7741948839798 11.3280325405509 -36.6685711621531 0.999999999999999 -11.8668603115059 11.5238599392719 -38.7019589281047 1 -11.9611265805858 11.7257010739096 -40.8055504080844 1 -11.9902567095242 11.7879765933152 -41.455033855768 1 -12.0192388570776 11.8501863370742 -42.1045254570291 1 -12.0480756585332 11.9123360622715 -42.7540245497265 1 - -2.41562523167859 4 0 3 4.5139021971646 3 5.90551752381476 4 -7 1 0 2 3 2 -9.50833006629643 21.268344655875 -39.382010885912 1 -9.28019238217642 16.117287876548 -39.9646857534315 0.957761631753339 -11.9452235364372 11.6916743315865 -40.450994755328 1 - 0 3 1 3 -8 4.71238898038469 10.9955742875643 -2 -5.14239034666627e-016 4.63185344980797 -40.450994755328 0 0 1 0 1 0 -1 0 0 13.8754976926325 -7 0 0 8 114 17 -2.85253191393686 -8.94726647374457 -40.450994755328 -2.84774105931814 -8.94247561876414 -40.3861471558025 -2.84135062190708 -8.93777310152898 -40.3185430185631 -2.83311313837573 -8.93314978156415 -40.247509696565 -2.82257143519692 -8.92861786447949 -40.1721745401239 -2.80938200449069 -8.9241953401019 -40.091931611516 -2.79249211767362 -8.91994022494631 -40.0051897618106 -2.77120111525475 -8.91590854897339 -39.9110157940365 -2.72447301697186 -8.90997772254322 -39.7385802171941 -2.70360678006776 -8.90784508240281 -39.6676337613254 -2.67868235882325 -8.90584817591425 -39.5894516462565 -2.64849461790504 -8.90409884521343 -39.5028247472704 -2.6118342431747 -8.90277977128883 -39.4076859661946 -2.5677759078578 -8.90215379105883 -39.3055495349274 -2.51614386963275 -8.90240667856633 -39.2001181236017 -2.40959484840913 -8.90417996094711 -39.0020366903955 -2.35685523078001 -8.9056639054145 -38.9134310976659 -2.30471292889283 -8.90751438726918 -38.8327279168292 -2.25340209680864 -8.9096149467586 -38.7589987590692 -2.20294753810985 -8.91186942243402 -38.6910265112058 -2.15315171587672 -8.91423692278075 -38.6278475699411 -2.10352746703287 -8.91670084728982 -38.5683235420113 -1.98486380351392 -8.92278205710493 -38.4338649903168 -1.91646454451856 -8.92643277470432 -38.3624188172338 -1.84737227692421 -8.93018876976169 -38.2954305365129 -1.77721417082862 -8.93402307120074 -38.2321865862788 -1.70561118888079 -8.93791510549366 -38.1721696088748 -1.63212887182539 -8.94184871935279 -38.1149485791853 -1.55623878633114 -8.94581292801315 -38.0602273959316 -1.40914563333641 -8.95322248659842 -37.9626411607797 -1.33893507114835 -8.95665474976275 -37.9192919989866 -1.26595343621022 -8.96009218485252 -37.8774759540626 -1.18951014923029 -8.96352736444501 -37.8370969722954 -1.10902902569785 -8.96695066451681 -37.7981114605774 -1.02320050821467 -8.97034351584603 -37.7605794325314 -0.930968316261946 -8.97368575783783 -37.7245808685217 -0.790997723912994 -8.97811900138002 -37.6779484638894 -0.752247921649493 -8.97928998431811 -37.6657431551735 -0.711976812894277 -8.98044564961872 -37.6538029599708 -0.669935230606582 -8.9815827674634 -37.6421533075821 -0.625857240615398 -8.982696629 -37.6308340648913 -0.579429149606624 -8.983780698222 -37.6199020180208 -0.530180603198269 -8.98482541405146 -37.6094417135308 -0.436332171310664 -8.98658359836008 -37.5919490132662 -0.393576285169637 -8.98731097971443 -37.5847516968099 -0.348326586230388 -8.98800027314052 -37.5779651227008 -0.299974406153467 -8.98864177016884 -37.5716789390512 -0.248126282374122 -8.98921678604025 -37.5660692683293 -0.192545236649621 -8.98969530936327 -37.5614173725892 -0.133241703593772 -8.99003821378598 -37.5580892080521 -0.0233126280645066 -8.99034828503453 -37.5550813759779 0.0261656052833453 -8.99038467020311 -37.5547299725102 0.0754233801353421 -8.99030326218004 -37.5555183180505 0.123237987340144 -8.99011170468907 -37.5573737263183 0.168942660600384 -8.98982957191307 -37.5601109551558 0.212282217859152 -8.98947761212392 -37.5635343200806 0.253314186673453 -8.98907150421253 -37.5674965948435 0.382988317305447 -8.98757228196422 -37.5821712265022 0.462101075760201 -8.98628996869009 -37.5947931279146 0.534320760682883 -8.9848850226576 -37.6087422914086 0.600279123608867 -8.98339239270411 -37.6237125142634 0.661592328397332 -8.98185547827724 -37.6392975083948 0.71889987634226 -8.98028147264511 -37.6554399580521 0.773190323808005 -8.97867718151844 -37.6720884809663 0.907619645720005 -8.97443390720701 -37.7166940615192 0.983248805351471 -8.97177553349942 -37.7451762027338 1.05422842765849 -8.96907882762058 -37.7746805943973 1.12142691154014 -8.96635731666949 -37.8051351382872 1.18548191298195 -8.96362101858661 -37.8365026479989 1.24694108060061 -8.96087734832058 -37.8687763844755 1.30617085428894 -8.95813044937696 -37.9019929958628 1.44399554375392 -8.95153016967028 -37.9842317220499 1.52066148782946 -8.9476823293902 -38.034159328539 1.59446124641564 -8.9438499786508 -38.0861638845164 1.66596603866855 -8.9400435673499 -38.1404390925901 1.73562591246199 -8.93627528193503 -38.1972555237411 1.80383041699982 -8.93255926504593 -38.2569546763899 1.8709360895007 -8.92891266629624 -38.3200110166267 1.96779137581865 -8.92373507086059 -38.4180396326865 1.99804272487062 -8.92213024587622 -38.4496733151202 2.0281924015233 -8.92054802278755 -38.4822604836509 2.05828006711278 -8.91899138791241 -38.5158898225047 2.088343871322 -8.91746414763333 -38.5506627929402 2.11842472329272 -8.91597119929254 -38.5867046379756 2.14857056273727 -8.91451880208699 -38.6241753871162 2.2070957719856 -8.91180436297385 -38.6997835742693 2.23541638356928 -8.91053827851818 -38.7376584416527 2.26389058679053 -8.9093209391007 -38.7771187074152 2.29257758590515 -8.90816088569547 -38.8183863312113 2.32150977126416 -8.9070705232555 -38.8616836186623 2.35069883023109 -8.90606667308119 -38.9072453271079 2.38014586618795 -8.90517201004765 -38.955351246614 2.45623970463723 -8.90323925582036 -39.0860470559819 2.50631469007701 -8.90232519632567 -39.1780763459836 2.55369101141269 -8.90203919774885 -39.2743349538615 2.59547028117633 -8.90250051102153 -39.3692843837434 2.63128707170552 -8.90356320365366 -39.4592751983229 2.66133491735953 -8.90504031749889 -39.5421465780158 2.68628679515789 -8.90673852166078 -39.6167135536833 2.72369195337348 -8.90996630570202 -39.7367048546149 2.73834336201377 -8.91153175621728 -39.7873268093419 2.75129965091496 -8.91318744143287 -39.8352981316657 2.76284564300027 -8.91491517749192 -39.880992821607 2.77318284448053 -8.91670198579645 -39.9246822357888 2.78247419559078 -8.9185382692751 -39.9666001187978 2.79085937643921 -8.9204171921498 -40.0069645789587 2.80991823394191 -8.92523901304401 -40.1049878646715 2.8195446149746 -8.92822796128341 -40.1608005215575 2.82768408519014 -8.93128515862996 -40.2139847527135 2.83457374848619 -8.93439850273391 -40.2649211906743 2.84038121381951 -8.93755909094113 -40.3138811699403 2.84524000782877 -8.94076020793448 -40.3610880636207 2.84926272479455 -8.94399694826089 -40.4067401137574 2.85253191393687 -8.94726647374456 -40.450994755328 - 0 9 0.117046071079361 7 0.189913704122667 7 0.262763339589608 7 0.361580562855785 7 0.446470778184608 7 0.477440003108569 7 0.501430254585338 7 0.519839901926863 7 0.562577285470837 7 0.629969745125462 7 0.724468028145898 7 0.767693529478967 7 0.80804192860384 7 0.87103604603824 7 0.922336264588534 7 1 9 -8 4.71238898038469 10.9955742875643 -2 -5.14239034666627e-016 4.63185344980797 -40.450994755328 0 0 1 0 1 0 -1 0 0 13.8754976926325 -1 12.8358455746183 4.63185344980797 -28.5677163222949 -0.0871557402186753 0 0.996194698313003 -8 4.71238898038469 10.9955742875643 -2 -5.14239034666627e-016 4.63185344980797 -28.5677163222949 0 0 1 0 1 0 -1 0 0 12.8358455746183 -8 4.71238898038469 10.9955742875643 -2 -5.14239034666627e-016 4.63185344980797 -40.450994755328 0 0 1 0 1 0 -1 0 0 13.8754976926325 -7 0 0 8 114 17 -2.85253191393686 -8.94726647374457 -40.450994755328 -2.84774105931814 -8.94247561876414 -40.5158423548536 -2.84135062190707 -8.93777310152898 -40.5834464920926 -2.83311313837579 -8.93314978156416 -40.654479814092 -2.82257143519682 -8.92861786447947 -40.7298149705309 -2.80938200449077 -8.92419534010192 -40.8100578991409 -2.79249211767359 -8.9199402249463 -40.8967997488451 -2.77120111525475 -8.91590854897339 -40.9909737166195 -2.72447301697184 -8.90997772254322 -41.163409293462 -2.70360678006789 -8.90784508240281 -41.2343557493301 -2.6786823588228 -8.90584817591423 -41.3125378644009 -2.64849461790579 -8.90409884521343 -41.3991647633836 -2.61183424317397 -8.90277977128884 -41.4943035444632 -2.56777590785823 -8.90215379105882 -41.5964399757277 -2.51614386963261 -8.90240667856633 -41.7018713870546 -2.40959484840919 -8.90417996094711 -41.8999528202605 -2.3568552307798 -8.9056639054145 -41.9885584129904 -2.30471292889335 -8.90751438726915 -42.0692615938266 -2.25340209680796 -8.90961494675864 -42.1429907515872 -2.20294753811041 -8.91186942243398 -42.2109629994499 -2.15315171587645 -8.91423692278076 -42.2741419407151 -2.10352746703294 -8.91670084728982 -42.3336659686446 -1.98486380351391 -8.92278205710493 -42.4681245203393 -1.91646454451862 -8.92643277470432 -42.5395706934221 -1.84737227692415 -8.93018876976169 -42.6065589741432 -1.77721417082861 -8.93402307120074 -42.6698029243773 -1.70561118888086 -8.93791510549366 -42.7298199017812 -1.63212887182534 -8.94184871935279 -42.7870409314708 -1.55623878633116 -8.94581292801315 -42.8417621147244 -1.40914563333634 -8.95322248659842 -42.9393483498764 -1.33893507114867 -8.95665474976274 -42.9826975116693 -1.26595343620957 -8.96009218485254 -43.0245135565938 -1.18951014923098 -8.96352736444498 -43.0648925383603 -1.10902902569743 -8.96695066451681 -43.1038780500788 -1.02320050821479 -8.97034351584601 -43.1414100781246 -0.930968316261931 -8.97368575783783 -43.1774086421343 -0.790997736162564 -8.9781190009451 -43.2240410442091 -0.752247913787981 -8.97928998454727 -43.2362463567352 -0.71197681512568 -8.98044564956537 -43.2481865504522 -0.66993524311586 -8.98158276707543 -43.2598362009277 -0.625857242802049 -8.98269662890297 -43.2711554451485 -0.579429142691695 -8.98378069842626 -43.2820874937561 -0.530180617760959 -8.98482541366022 -43.2925477951545 -0.436332192051759 -8.98658359784093 -43.3100404945425 -0.393576264059137 -8.98731098026624 -43.3172378181745 -0.348326604478244 -8.98800027269567 -43.3240243839238 -0.29997441745805 -8.98864176990838 -43.3303105710052 -0.248126269512546 -8.98921678638903 -43.3359202462253 -0.192545247299722 -8.98969530910894 -43.3405721346395 -0.133241707452425 -8.99003821374107 -43.3439003042877 -0.0233126351539986 -8.99034828489097 -43.3469081360812 0.0261656036037578 -8.99038467031388 -43.3472595370376 0.075423380878584 -8.9903032622346 -43.3464711922122 0.123237987340311 -8.99011170461313 -43.3446157852198 0.168942659834727 -8.98982957188245 -43.3418785557517 0.212282216985728 -8.98947761220584 -43.3384551897652 0.253314184985776 -8.98907150419974 -43.3344929164062 0.382988317305164 -8.98757228196422 -43.3198182841539 0.462101075761631 -8.98628996869009 -43.3071963827414 0.534320760679648 -8.9848850226576 -43.2932472192475 0.600279123612896 -8.98339239270411 -43.2782769963926 0.661592328394518 -8.98185547827738 -43.2626920022613 0.718899876343223 -8.98028147264511 -43.2465495526038 0.773190323807926 -8.97867718151844 -43.2299010296898 0.907619645720083 -8.97443390720701 -43.1852954491368 0.983248805351278 -8.97177553349942 -43.1568133079222 1.05422842765864 -8.96907882762057 -43.1273089162588 1.12142691154019 -8.96635731666949 -43.0968543723688 1.18548191298179 -8.96362101858662 -43.065486862657 1.24694108060071 -8.96087734832058 -43.0332131261806 1.30617085428893 -8.95813044937696 -42.9999965147933 1.44399554375399 -8.95153016967028 -42.9177577886061 1.52066148782928 -8.94768232939022 -42.8678301821172 1.59446124641583 -8.94384997865078 -42.8158256261394 1.66596603866853 -8.9400435673499 -42.7615504180659 1.7356259124618 -8.93627528193504 -42.7047339869151 1.80383041700003 -8.93255926504591 -42.6450348342659 1.87093608950061 -8.92891266629625 -42.5819784940294 1.96779137581866 -8.92373507086059 -42.4839498779695 1.99804272487061 -8.92213024587622 -42.4523161955359 2.02819240152329 -8.92054802278755 -42.4197290270052 2.05828006711278 -8.91899138791241 -42.3860996881513 2.08834387132203 -8.91746414763333 -42.3513267177158 2.11842472329273 -8.91597119929254 -42.3152848726805 2.14857056273722 -8.91451880208699 -42.2778141235398 2.20709577198537 -8.91180436297385 -42.2022059363867 2.23541638356963 -8.91053827851818 -42.1643310690034 2.26389058679057 -8.9093209391007 -42.1248708032408 2.29257758590485 -8.90816088569547 -42.0836031794446 2.32150977126414 -8.9070705232555 -42.0403058919937 2.35069883023141 -8.90606667308119 -41.9947441835482 2.38014586618778 -8.90517201004765 -41.946638264042 2.45623970463704 -8.90323925582036 -41.8159424546745 2.50631469007786 -8.90232519632566 -41.7239131646712 2.55369101141117 -8.90203919774889 -41.6276545567965 2.59547028117777 -8.90250051102149 -41.532705126911 2.6312870717048 -8.90356320365369 -41.4427143123338 2.66133491735965 -8.90504031749887 -41.3598429326402 2.68628679515792 -8.9067385216608 -41.2852759569727 2.72369195337351 -8.90996630570202 -41.1652846560411 2.7383433620137 -8.91153175621728 -41.1146627013142 2.75129965091499 -8.91318744143287 -41.0666913789903 2.76284564300036 -8.91491517749192 -41.0209966890489 2.7731828444805 -8.91670198579645 -40.9773072748672 2.78247419559067 -8.9185382692751 -40.9353893918583 2.79085937643929 -8.9204171921498 -40.8950249316973 2.80991823394202 -8.92523901304399 -40.7970016459846 2.81954461497448 -8.92822796128341 -40.7411889890985 2.82768408519012 -8.93128515862996 -40.6880047579426 2.83457374848628 -8.93439850273389 -40.6370683199817 2.84038121381954 -8.93755909094113 -40.5881083407157 2.84524000782868 -8.94076020793448 -40.5409014470353 2.84926272479459 -8.94399694826089 -40.4952493968986 2.85253191393687 -8.94726647374456 -40.450994755328 - 0 9 0.117046153574036 7 0.189913837974891 7 0.262763524786804 7 0.361580817699987 7 0.446471092860044 7 0.47744032984858 7 0.501430572084205 7 0.519840208488901 7 0.562577564746973 7 0.629969981374497 7 0.724468204062031 7 0.76769367779753 7 0.808042051161622 7 0.871036128376569 7 0.922336314173668 7 1 9 -7 1 0 3 10 4 -12.0480756585361 11.9123360622669 -38.1479649609287 1 -12.0192388570804 11.8501863370696 -38.7974640536263 1 -11.9902567095242 11.7879765933152 -39.446955654888 1 -11.9611265805858 11.7257010739096 -40.0964391025716 1 -11.8668603115059 11.5238599392719 -42.2000305825514 0.999999999999999 -11.7741948839799 11.3280325405508 -44.2334183485029 1 -11.6831610639833 11.1377534738622 -46.2006133707353 1 -11.6343093840749 11.0358365369211 -47.2552006696083 0.999999999999999 -11.5850441983432 10.9336858578921 -48.3097587524544 1 -11.5353523889239 10.8312597712938 -49.3642827224507 1 - -1.39161532665016 4 0 3 4.5139021971646 3 6.9295274288432 4 -1 12.8358455746183 4.63185344980797 -52.3342731883612 -0.0871557402186753 0 -0.996194698313003 -8 4.71238898038469 10.9955742875643 -2 -5.14239034666627e-016 4.63185344980797 -52.3342731883612 0 0 1 0 1 0 -1 0 0 12.8358455746183 -7 1 0 2 3 2 -9.50833006629254 21.2683446557871 -41.5199786247342 1 -9.28019238219709 16.1172878765137 -40.9373037572208 0.957761631753953 -11.9452235364372 11.6916743315865 -40.450994755328 1 - 0 3 1 3 -1 2.10925632334829 -8.20399082704025 -40.450994755328 -0.707106754494009 0.707106807879085 0 -8 1.5707963267949 7.85398163397448 -2 -5.14239034666627e-016 -8.20399082704025 -40.450994755328 0 1 0 0 0 1 1 0 0 2.10925632334829 -2 -5.14239034666627e-016 4.63185344980797 -28.5677163222949 0 0 1 1 -6.12323399573677e-017 0 6.12323399573677e-017 1 0 11.3389539118125 -2 -5.14239034666627e-016 4.63185344980797 -52.3342731883612 0 0 1 1 -6.12323399573677e-017 0 6.12323399573677e-017 1 0 11.3389539118125 -1 2.10925632334829 4.63185344980797 -40.450994755328 0 -1 0 -7 0 0 8 65 10 2.10925632334829 -5.95469785111704 -40.450994755328 2.10925633816658 -5.95469784816466 -40.3028119118514 2.09735779662672 -5.957068388607 -40.1592126887959 2.07485628767408 -5.96155230553149 -40.023501181103 2.04406456943311 -5.96760684307156 -39.8965475027744 2.00674998606541 -5.97477914344384 -39.7783661745765 1.96429168698718 -5.98272764777949 -39.6682067565516 1.91727241998668 -5.99127683541336 -39.5647187508392 1.80110716892566 -6.01165498961757 -39.3447460511712 1.73005697978453 -6.02366368039128 -39.2320366144765 1.6523038581386 -6.03622649538567 -39.1260203258285 1.56749207934739 -6.0492003380957 -39.0258430038464 1.47528170669634 -6.06246236348781 -38.930825936577 1.37420147900347 -6.07589396662395 -38.8406398191166 1.2629937408991 -6.08939050459445 -38.755006952539 1.08839465205719 -6.10787468566149 -38.6433414506533 1.03821730047827 -6.11293869042184 -38.613339893504 0.985600040963406 -6.11797296838173 -38.5840582125395 0.930228211651029 -6.12296522770761 -38.5555241396268 0.871668746393505 -6.12789430172816 -38.5278133938563 0.809410921133891 -6.13273111263864 -38.5010405662866 0.742768879371519 -6.13743567129138 -38.47537113678 0.600356511220714 -6.14629671816194 -38.4276351505577 0.525231215490981 -6.15044962689304 -38.4055657806516 0.442523888599348 -6.15441750696179 -38.3847375494534 0.350558877406815 -6.15806554159979 -38.3658127741679 0.248583470900667 -6.16106757674637 -38.3504578380031 0.13717160160426 -6.16303692443204 -38.3404193090285 0.017884356616473 -6.163411821453 -38.3384809386415 -0.156774823915602 -6.16178403093563 -38.3468206871521 -0.211301247525563 -6.16094129500194 -38.3511420592941 -0.263557479235539 -6.15982094771131 -38.3568974944929 -0.31331171266317 -6.15847652900864 -38.3638262035475 -0.360569045256166 -6.1569586770885 -38.3716816532789 -0.40547273907957 -6.15530619200773 -38.3802747539827 -0.448266912847717 -6.15354286979014 -38.3894909825129 -0.556123073547288 -6.14864877610684 -38.4152137117109 -0.617813718764667 -6.1453758661114 -38.4325519846903 -0.675525327381375 -6.1419347846475 -38.4509526176599 -0.729839088196176 -6.13837073338976 -38.4702092184932 -0.781202848857559 -6.13471633523557 -38.4901742612866 -0.830011854852729 -6.13099485700959 -38.5107450456089 -0.876578735477396 -6.12721931536293 -38.5318716623913 -0.987778406459904 -6.11769461832361 -38.5858601402761 -1.04989755413824 -6.11190038386795 -38.6193129323464 -1.10842655570819 -6.10604740087268 -38.6537841814703 -1.1638906348403 -6.10016026786872 -38.6892028924523 -1.2166493922127 -6.09425746204266 -38.7255294308077 -1.26699264269276 -6.0883536184242 -38.7627468884017 -1.31517326504766 -6.08246045741117 -38.8008602834759 -1.44631036457694 -6.06578868616331 -38.9116724992648 -1.52445550883619 -6.05507186030879 -38.986474422153 -1.59707110821645 -6.04449037619817 -39.064493979291 -1.66476470964847 -6.03409854930825 -39.145988638351 -1.72787485559558 -6.02396121375474 -39.2313020421443 -1.78657419875856 -6.01415542887698 -39.3208611802665 -1.84083709628887 -6.00477596075299 -39.415246472856 -1.93734359712082 -5.98760992802546 -39.6102475596406 -1.97976832122585 -5.9798193949091 -39.7096437766649 -2.01799777739964 -5.97261172604611 -39.8151949755628 -2.05144908589199 -5.96615393047797 -39.9280108014392 -2.0788996625689 -5.96074653553878 -40.0486537803773 -2.09880668962977 -5.95677974231285 -40.177005843321 -2.10925632334727 -5.95469785111724 -40.3121251844683 -2.10925632334727 -5.95469785111724 -40.450994755328 - 0 9 0.164405120567431 7 0.366438917242405 7 0.443147311767504 7 0.517290164171733 7 0.552435602530618 7 0.609624299028585 7 0.694892884473158 7 0.851634700498067 7 1 9 -7 0 0 8 65 10 -2.10925632334727 -5.95469785111724 -40.450994755328 -2.10925632334727 -5.95469785111724 -40.6032585265146 -2.09669325165677 -5.95720077841177 -40.7503471375863 -2.07307067099731 -5.96190813407159 -40.8889988106999 -2.04086335899066 -5.9682355075438 -41.0184738312476 -2.00190378525424 -5.97571018473952 -41.1388294137179 -1.95762627724944 -5.98397411877019 -41.2508862141305 -1.90861626206771 -5.99284687228355 -41.356060449907 -1.78928945041802 -6.01365386721691 -41.5761610329921 -1.71737223225197 -6.02572553346855 -41.6876686402607 -1.63876170780655 -6.03832948165844 -41.7926299997859 -1.55304022971043 -6.05132804378658 -41.8918719719401 -1.45984525238063 -6.06460249840199 -41.9860452812053 -1.35759819212665 -6.07803308349526 -42.0754440214159 -1.2450294346212 -6.0915137550635 -42.1603160535713 -1.06838694504653 -6.10988420406452 -42.2705385018632 -1.01802378716772 -6.11487223365295 -42.2999044890555 -0.965188938139741 -6.11982711111246 -42.3285579786885 -0.909558864787251 -6.1247363132201 -42.3564684769469 -0.850686029917498 -6.12957772041591 -42.3835540057514 -0.788045853102642 -6.13432078708784 -42.4096914368647 -0.720935872956861 -6.13892335541864 -42.4347036409736 -0.577680897261101 -6.14753730702186 -42.4809436793366 -0.501738750066929 -6.15157884859842 -42.5023571885738 -0.417826260872121 -6.15542486516424 -42.5224889647226 -0.324574878225604 -6.15890337446713 -42.540488558928 -0.221519953958855 -6.16167931658781 -42.554651143954 -0.109621280746294 -6.16334241693413 -42.5631312124498 0.00883298874325241 -6.16339111491089 -42.5634060736592 0.180971754861446 -6.16140766506767 -42.5532382540276 0.235577286304899 -6.16043886341458 -42.548266082506 0.287729748389627 -6.15920186245012 -42.5419031521077 0.337295198264464 -6.15775127369035 -42.5344150467476 0.384335315960955 -6.15613627843278 -42.5260407862757 0.42902474279357 -6.15439378374361 -42.5169599072112 0.471621586794091 -6.15254618910805 -42.507279815931 0.578889830898456 -6.14744776758279 -42.4804116563301 0.640251075571114 -6.14406322385447 -42.4624265105644 0.697690776752722 -6.14051938739838 -42.4434104243479 0.751785234747128 -6.13685902830354 -42.4235573039519 0.802975728358598 -6.13311306044001 -42.4030055918038 0.851648455155172 -6.12930361949882 -42.3818516170968 0.898107156295527 -6.12544328520686 -42.3601423869643 1.00857679801776 -6.11575927809863 -42.3049532906446 1.07017470726871 -6.10989473643699 -42.2708944563141 1.12825888316065 -6.10397702938283 -42.2358187197519 1.18333425238187 -6.09802970323862 -42.1997899295949 1.23574849879167 -6.09207064827018 -42.1628424351179 1.2857812561325 -6.08611419277668 -42.1249888066467 1.33367530353453 -6.08017198158612 -42.0862203870361 1.46331446371983 -6.06346628768148 -41.974122490026 1.54040479715695 -6.05277209135112 -41.8986943830578 1.61207082873444 -6.04222286832424 -41.8200102614302 1.67888670408263 -6.0318728815622 -41.7377956609649 1.74116154922004 -6.02178831097109 -41.6516897125012 1.79903831459193 -6.01204877691662 -41.5612484812286 1.85246290742649 -6.00275316106166 -41.4658726659577 1.94589235062156 -5.98603711179118 -41.2714448518112 1.98633412957724 -5.97857911933839 -41.1739286573537 2.02276022456139 -5.97169168860356 -41.0704887911528 2.05455629434183 -5.96554131226334 -40.9600724313845 2.08062473932376 -5.96040327547783 -40.8422075322957 2.09943031250402 -5.95665534612866 -40.7170383869306 2.10925630988337 -5.95469785379978 -40.5856439888568 2.10925632334829 -5.95469785111704 -40.450994755328 - 0 9 0.16895864338376 7 0.371041442102173 7 0.446909732768215 7 0.519867411149417 7 0.555601423988271 7 0.613657014423183 7 0.699565607942053 7 0.856112212722053 7 1 9 -1 10.7946297150343 4.63185344980797 -29.112040519073 0.707106781186547 -4.32978028117747e-017 0.707106781186548 -2 -5.14239034666627e-016 4.63185344980797 -29.112040519073 0 0 1 1 -6.12323399573677e-017 0 6.12323399573677e-017 1 0 10.7946297150343 -1 10.7946297150343 4.63185344980797 -51.789948991583 -0.707106781186547 4.32978028117747e-017 0.707106781186548 -2 -5.14239034666627e-016 4.63185344980797 -51.789948991583 0 0 1 1 -6.12323399573677e-017 0 6.12323399573677e-017 1 0 10.7946297150343 -1 10.7946297150343 4.63185344980797 627.02659132864 0 0 -1 -Polygon3D 0 -PolygonOnTriangulations 0 -Surfaces 53 -1 0 0 72 0 0 1 1 0 0 0 1 0 -2 0 0 0 0 0 1 1 0 0 0 1 0 10.2 -2 0 0 0 0 0 1 1 0 0 0 1 0 6 -1 0 0 0 0 0 1 1 0 0 0 1 0 -2 -5.14239034666627e-016 36.4192649360416 -43.337479339776 0 0 1 1 0 0 0 1 0 20.41215859584 -1 0 0 0 0 0 1 1 0 0 0 1 0 -1 0 0 60 0 0 1 1 0 0 0 1 0 -2 34.7274322579839 101.67125468768 -13648.5567253153 0 0 -1 1 0 0 0 1 0 21.6368875924824 -9 1 1 0 0 2 3 3 8 2 4 10.8406121810113 121.779617499152 -32.1908743432795 1 10.7783939707844 120.374809981908 -32.1908743432795 1 10.7161757605574 118.970002464664 -32.1908743432795 1 9.18931816534231 84.4955130877662 -32.1908743432795 1 7.72467878035418 51.4258312281127 -32.3269559196931 1 6.19799694938613 16.9553103828496 -32.3269559196931 1 6.13595450340621 15.5544713972399 -32.3269559196931 1 6.07391205742629 14.1536324116302 -32.3269559196931 1 -10.840612181011 121.779617499151 -38.7227653535023 0.707106781186548 10.7783939707839 120.374809981907 -38.7227653535023 0.707106781186548 10.7161757605567 118.970002464664 -38.7227653535023 0.707106781186547 9.1893181653416 84.4955130877661 -38.7227653535023 0.707106781186547 7.7246787803553 51.4258312281127 -38.7227653535023 0.707106781186548 6.1979969493872 16.9553103828496 -38.7227653535023 0.707106781186547 6.13595450340649 15.5544713972399 -38.7227653535023 0.707106781186548 6.07391205742618 14.1536324116302 -38.7227653535023 0.707106781186548 -4.3151181062608 122.068628311803 -38.7227653535023 1 4.25289989603371 120.663820794559 -38.7227653535023 1 4.1906816858065 119.259013277315 -38.7227653535023 1 2.66382409059138 84.7845239004176 -38.7227653535023 1 1.33513301202662 51.7088209594381 -38.7227653535023 1 -0.191548818941467 17.2383001141749 -38.7227653535023 1 -0.253591264922183 15.8374611285653 -38.7227653535023 1 -0.315633710902502 14.4366221429556 -38.7227653535023 1 - -0 3 -79.1671470436365 3 - --3.10003025371294 4 -0 2 -72.9758440122193 2 -76.0671167899236 4 - -9 1 1 0 0 2 8 3 9 2 2 10.2419234901883 108.261993474078 -54.845999227664 1 10.2398910983452 108.216104668713 -54.3214877668984 0.999999999999993 10.2506645154803 108.459354632391 -53.7715074978899 1.00000000000002 10.2673102281448 108.835193509718 -52.9390786130701 0.999999999999963 10.2758503435585 109.028018380243 -51.7351871199274 1.00000000000005 10.2620086075119 108.715489704489 -50.3631203593568 0.999999999999967 10.2237339510615 107.851296972083 -49.209389974604 1.00000000000001 10.1702513864423 106.643729146772 -48.5750335909629 0.999999999999998 10.1167683319468 105.436150260681 -48.5750335909629 1 -10.699529619062 118.594153904819 -53.9402792015034 0.691347326967216 10.6897460817782 118.373254160656 -51.499532950761 0.69160262847733 10.656612898124 117.625149300392 -49.1122045949444 0.692468495682942 10.600832688173 116.365703585593 -46.9116737799598 0.693933930983785 10.5248726142347 114.650622382047 -45.0255096177522 0.695961361136007 10.4329490148363 112.575105214704 -43.5599954603696 0.698469051408242 10.3304366623374 110.260507561136 -42.5838127915867 0.701277310536238 10.2231623490563 107.838390930736 -42.1265876874013 0.704209018434092 10.1167683319468 105.436150260681 -42.1792241571537 0.707106781186548 -0.31773471989105 118.59764663573 -53.9802012996608 1 0.315619012948986 118.391367272695 -51.6224173222507 0.999999999999993 0.704633814028023 117.691624827814 -49.3060593948645 1.00000000000002 1.35161984844703 116.506432215872 -47.1382764491567 0.999999999999963 2.11755955686597 114.863854230779 -45.2291302367767 1.00000000000005 2.86194055271768 112.823341385088 -43.7120957581847 0.999999999999967 3.45530869783414 110.525391049204 -42.6862863577799 1.00000000000001 3.780811147265 108.113855561932 -42.1792241571537 0.999999999999998 3.72722256361813 105.719139992006 -42.1792241571537 1 - -0 3 -1.48344475380073 3 - -8.50725122165226e-017 9 -1.48344475380073 9 - -9 0 1 0 0 2 1 3 2 2 2 4.45053911994471 122.050701635574 -42.1792241571537 1 -0.315633710899899 14.4366221429557 -42.1792241571537 1 -10.8400848882731 121.767711904249 -42.1792241571537 0.707106781186548 6.07391205742918 14.1536324116304 -42.1792241571537 0.707106781186548 -10.8400848882731 121.767711904249 -48.5750335909629 1 6.07391205742918 14.1536324116304 -48.5750335909629 1 - -0 3 -79.1583895676279 3 - --3.09127277770424 2 -76.0671167899236 2 - -9 0 1 0 0 2 1 3 2 2 2 -4.45053911994471 122.050701635574 -38.7227653535023 1 0.315633710899898 14.4366221429557 -38.7227653535023 1 --10.8400848882731 121.767711904249 -38.7227653535023 0.707106781186548 -6.07391205742919 14.1536324116304 -38.7227653535023 0.707106781186548 --10.8400848882731 121.767711904249 -32.3269559196931 1 -6.07391205742919 14.1536324116304 -32.3269559196931 1 - -0 3 -79.1583895676279 3 - --3.09127277770422 2 -76.0671167899237 2 - -9 1 1 0 0 2 3 3 8 2 4 -10.8406121810113 121.779617499152 -48.7111151673766 1 -10.7783939707844 120.374809981907 -48.7111151673766 0.999999999999999 -10.7161757605574 118.970002464664 -48.7111151673766 1 -9.18931816534231 84.4955130877661 -48.7111151673766 1 -7.72467878035417 51.4258312281127 -48.5750335909629 1 -6.19799694938613 16.9553103828496 -48.5750335909629 1 -6.13595450340621 15.5544713972399 -48.5750335909629 1 -6.07391205742629 14.1536324116302 -48.5750335909629 1 --10.840612181011 121.779617499152 -42.1792241571537 0.707106781186548 -10.7783939707839 120.374809981907 -42.1792241571537 0.707106781186547 -10.7161757605567 118.970002464664 -42.1792241571537 0.707106781186548 -9.1893181653416 84.4955130877661 -42.1792241571537 0.707106781186547 -7.7246787803553 51.4258312281127 -42.1792241571537 0.707106781186548 -6.19799694938721 16.9553103828496 -42.1792241571537 0.707106781186547 -6.1359545034065 15.5544713972399 -42.1792241571537 0.707106781186548 -6.07391205742618 14.1536324116302 -42.1792241571537 0.707106781186548 --4.3151181062608 122.068628311803 -42.1792241571537 1 -4.25289989603371 120.663820794559 -42.1792241571537 0.999999999999999 -4.1906816858065 119.259013277315 -42.1792241571537 1 -2.66382409059138 84.7845239004176 -42.1792241571537 1 -1.33513301202663 51.7088209594381 -42.1792241571537 1 0.191548818941468 17.2383001141749 -42.1792241571537 1 0.25359126492218 15.8374611285653 -42.1792241571537 1 0.315633710902501 14.4366221429556 -42.1792241571537 1 - -0 3 -79.1671470436365 3 - --3.10003025371294 4 -0 2 -72.9758440122193 2 -76.0671167899236 4 - -9 1 1 0 0 2 8 3 9 2 2 -10.2419234901855 108.261993474078 -54.845999227664 1 -10.2398869464 108.216010923174 -54.3204162504439 1 -10.2499922994054 108.444176854249 -53.770683238241 0.999999999999993 -10.2655660326372 108.795811808643 -52.95036912619 1.00000000000002 -10.2731631990602 108.967346098391 -51.7747924636692 0.999999999999974 -10.2590675936641 108.649085377805 -50.4406509188753 1.00000000000003 -10.2213456691102 107.797372623854 -49.3208000109654 0.999999999999984 -10.1689293937432 106.613880244488 -48.7055054237234 1.00000000000001 -10.1165126543821 105.430377388728 -48.7055054237234 1 --10.6995296190591 118.594153904819 -53.9402792015034 0.691347326967216 -10.6897417859509 118.373157166439 -51.4984625305615 0.691602744502768 -10.6565838569393 117.624493587695 -49.110110693665 0.692469282521204 -10.6007594598129 116.364050183059 -46.9088338806053 0.693935819987755 -10.5247445735692 114.647731387835 -45.0223837851125 0.695963850447588 -10.4327650681672 112.570951934527 -43.5571252447489 0.698470600621828 -10.33020940991 110.255376492383 -42.5817071478364 0.701277718123857 -10.2229108663341 107.832712772954 -42.1255107455102 0.704208847572619 -10.1165126543821 105.430377388728 -42.1792241571537 0.707106781186548 --0.317734719888156 118.59764663573 -53.9802012996608 1 -0.315618051432749 118.391273526082 -51.6213457935277 1 -0.690016967852107 117.690993140073 -49.3040156067373 0.999999999999993 -1.31268960439335 116.504924456071 -47.1360028114235 1.00000000000002 -2.04974293411428 114.8618301812 -45.2277953981536 0.999999999999974 -2.76590548588177 112.822064288843 -43.7118362896703 1.00000000000003 -3.33654692009339 110.525053621459 -42.6863422143198 0.999999999999984 -3.64914409984605 108.11399676212 -42.1792241571537 1.00000000000001 -3.59662282944533 105.719139992006 -42.1792241571537 1 - -0 3 -1.48344475380073 3 - --1.30868229648463e-015 9 -1.48344475380072 9 - -2 -34.7274322579839 101.67125468768 -13648.5567253153 0 0 -1 1 0 0 0 1 0 21.6368875924824 -2 -5.14239034666627e-016 36.4192649360416 -47.667206216448 0 0 1 1 0 0 0 1 0 13.60810573056 -2 0 0 0 0 0 1 1 0 0 0 1 0 11 -1 13.1117345129041 102.628602943578 -13648.5567253153 0.999020661021044 -0.0442461168135237 0 -0.0442461168135237 -0.999020661021044 0 0 0 -1 -1 -32.3328595272753 13612.7375840098 -31.7418076068777 0 0 1 1 0 0 0 1 0 -1 -32.3328595272753 13612.7375840098 -49.1601819037784 0 0 1 1 0 0 0 1 0 -1 11.5095082996747 136.882435345015 13567.6547358047 -0.999020661021044 0.0442461168135237 0 -0.0442461168135237 -0.999020661021044 0 0 0 1 -1 -11.5095082996776 136.882435345015 13648.5567253153 -0.999020661021044 -0.0442461168135237 1.05561079168677e-047 0.0442461168135237 -0.999020661021044 -4.67524649098376e-049 1.05664560591559e-047 -6.07716335728627e-064 1 -1 13608.10573056 18.3561493684594 -38.7227653535023 0 0 -1 0 1 0 1 0 0 -9 1 1 0 0 2 6 3 7 2 2 6.49762480300475 23.7205236476415 -30.0926009620533 1 6.49998165017778 23.7737382388936 -30.7008465411204 1 6.51050884392592 24.01142879378 -31.2929087982365 0.999999999999996 6.52886589521442 24.4259075058875 -31.7973275976819 1 6.55293359776466 24.9693254110641 -32.1495357421588 0.999999999999998 6.57970305020736 25.5737453692534 -32.3245514738117 1 6.60647619719557 26.1782487455498 -32.3245514738116 1 -6.22866174333062 17.6476821642108 -30.6249479173789 0.722522576460615 6.23658898572627 17.8266691467647 -32.7375918966706 0.722192852279655 6.27147404894613 18.6143292043585 -34.8064551326654 0.720745342406335 6.33281881258683 19.9994154161236 -36.6145416896337 0.718213826641322 6.41559565577402 21.8684105405224 -37.9428140307445 0.714820700766875 6.51023679486117 24.0052862742534 -38.6531202552336 0.710976299710871 6.60647619719556 26.1782487455498 -38.7227653535023 0.707106781186548 -0.126647052523858 17.6497350554051 -30.6484125717869 1 0.129001239242113 17.8402364158088 -32.8258531486148 1 0.135314874108521 18.6763444502554 -34.9467807641724 0.999999999999996 0.147342387326072 20.1378978933567 -36.7736175883595 1 0.165114457034413 22.0853805291835 -38.0734727226081 0.999999999999998 0.187719921592113 24.2733928466003 -38.7227653535023 1 0.214528337753922 26.4613448642684 -38.7227653535023 1 - -0 3 -1.48344475380072 3 - -0 7 -1.48344475380072 7 - -2 6.26003939536545 26.4613448642684 -29.8774966286383 -1 0 0 0 -0.996194698313003 -0.0871557402186753 0 0.0871557402186753 -0.996194698313003 8.845268724864 -1 13608.10573056 18.3561493684594 42.1792241571537 1.05664560591559e-047 0 -1 0 1 0 1 0 1.05664560591559e-047 -9 1 1 0 0 2 7 3 8 2 2 6.48109970374068 23.3474080663873 -54.5317026599 1 6.48650147385011 23.4693731185554 -53.1376356937486 1 6.507586121543 23.9454374648208 -51.7746305211292 0.999999999999995 6.54375907231963 24.7621763743192 -50.5531659601414 1.00000000000001 6.59248255712916 25.8622902714767 -49.5750384692032 0.999999999999997 6.64965045168439 27.15306812772 -48.9069950754239 1 6.71090619817066 28.5361444461231 -48.5750335909629 1 6.77216167130315 29.9192145925472 -48.5750335909629 1 -6.21422241894356 17.3216607088694 -54.0034839886097 0.722522576460615 6.22436260754452 17.5506131830879 -51.3297060926774 0.72223986475977 6.26322649569422 18.4281100127595 -48.7047097326466 0.721158225256193 6.33031715324392 19.9429311514401 -46.3174625291404 0.719297069617566 6.42209671486109 22.0151961301144 -44.355471595184 0.71675694509457 6.5319406834887 24.4953322878254 -42.968585391679 0.713719822418233 6.65150055341412 27.1948410557447 -42.2389190108175 0.710422119526713 6.77216167130315 29.9192145925472 -42.1792241571537 0.707106781186548 -0.159528088622767 17.3236976801492 -53.9802012996608 1 0.164925930698358 17.5624245563917 -51.2515405383514 1 0.176274192153638 18.4756755313616 -48.5818084985306 0.999999999999995 0.196866572893255 20.04591992957 -46.1706590277361 1.00000000000001 0.228071276595049 22.1826244132769 -44.2118359532327 0.999999999999997 0.269714087743054 24.7221903423378 -42.8566643596828 1 0.321305056940081 27.4624036496956 -42.1792241571537 1 0.382615902974473 30.2022043238726 -42.1792241571537 1 - -0 3 -1.48344475380073 3 - -2.24152295252119e-016 8 -1.48344475380073 8 - -1 -11.5095082996776 136.882435345015 13567.6547358047 -0.999020661021044 -0.0442461168135237 0 0.0442461168135237 -0.999020661021044 0 0 0 1 -9 1 1 0 0 2 6 3 7 2 2 -6.49553973321555 23.6734454416432 -30.0969112115472 1 -6.49794182827884 23.7276816723183 -30.7168341829943 1 -6.50905424911878 23.9785859055607 -31.319536529819 0.999999999999996 -6.52832243393281 24.4136368459791 -31.8225972484706 1 -6.55289313926795 24.9684119099498 -32.1611411838863 0.999999999999998 -6.57968336259727 25.5733008481619 -32.3269559196931 1 -6.60648090904199 26.1783551329431 -32.3269559196931 1 --6.22866244841842 17.6476980841252 -30.6251298828381 0.722522576460615 -6.236591826718 17.8267332926548 -32.7377919864633 0.72219292670982 -6.27147987367862 18.6144607192949 -34.8066423894366 0.720745971520314 -6.3328273045882 19.9996071545743 -36.6146619298778 0.718215496634748 -6.41560357736553 21.8685893998506 -37.9428813723274 0.714821272398636 -6.51024338960842 24.0054351751366 -38.6531478270088 0.710976221516964 -6.60648090904199 26.1783551329431 -38.7227653535023 0.707106781186548 --0.173968118097633 17.6497350554051 -30.6484125717869 1 -0.176368935817378 17.8401934130549 -32.8253616248746 1 -0.173877306758912 18.6759797769324 -34.9458177838565 0.999999999999996 -0.172734031410882 20.1369369318335 -36.7730855123225 1 -0.176887178794858 22.0850598753902 -38.0735383582757 0.999999999999998 -0.190100925200345 24.273437059986 -38.7227653535023 1 -0.216935140713307 26.4613448642684 -38.7227653535023 1 - -0 3 -1.48344475380073 3 - -0 7 -1.48344475380073 7 - -2 -6.26003939536546 30.2022043238726 -55.1069246011857 1 0 1.22464679914735e-016 -1.06734998286119e-017 -0.996194698313003 0.0871557402186753 -1.21998664861658e-016 0.0871557402186753 0.996194698313003 12.927700444032 -1 11.5095082996747 136.882435345015 13648.5567253153 -0.999020661021044 0.0442461168135237 1.05561079168677e-047 -0.0442461168135237 -0.999020661021044 4.67524649098376e-049 1.05664560591559e-047 6.07716335728627e-064 1 -9 1 1 0 0 2 6 3 7 2 2 -6.48252611799799 23.3796146738762 -54.5346513388218 1 -6.48879708142988 23.5212049982739 -52.9162664780718 1 -6.51667150534635 24.1505737974388 -51.3406837517119 0.999999999999996 -6.56531695577957 25.248925778297 -49.9946437774354 1 -6.6293403696561 26.6944924824069 -49.0502709841342 0.999999999999998 -6.70074172633934 28.3066436877229 -48.5801482787077 1 -6.77215164836379 29.9189882874758 -48.5801482787077 1 --6.21422193658598 17.3216498179184 -54.0036084727526 0.722522576460615 -6.22605133484459 17.5887424831933 -50.8840478615035 0.722192715240819 -6.27811142797241 18.7641927236871 -47.8316380816734 0.720744196159951 -6.36962535000184 20.8304599006187 -45.1777065626288 0.718210708020909 -6.49232932822154 23.6009586078292 -43.2549243412491 0.714817605847465 -6.6314886069317 26.7429969292971 -42.2488702971139 0.710974710508616 -6.77215164836377 29.9189882874758 -42.1792241571537 0.707106781186547 --0.127155338799039 17.3236976801492 -53.9802012996608 1 -0.133421126319763 17.6022384634268 -50.7964654852575 1 -0.15340057815936 18.8250951258314 -47.6954728179876 0.999999999999996 -0.190185858668661 20.9628771211259 -45.0255618167889 1 -0.242420158955765 23.809137830837 -43.1274504590345 0.999999999999998 -0.306022251555228 27.0057416172225 -42.1792241571537 1 -0.377496201303275 30.2022043238726 -42.1792241571537 1 - -0 3 -1.48344475380072 3 - -1.23850227028653e-017 7 -1.48344475380072 7 - -1 -32.3328595272753 13612.7375840098 -31.7418076068777 0 0 1 1 0 0 0 1 0 -1 -13.1117345129041 102.628602943578 -13648.5567253153 0.999020661021044 0.0442461168135237 0 0.0442461168135237 -0.999020661021044 0 0 0 -1 -1 -32.3328595272753 13612.7375840098 -49.1601819037784 0 0 1 1 0 0 0 1 0 -1 0 0 15 0 0 1 1 0 0 0 1 0 -9 1 1 0 0 2 3 3 10 2 4 12.048075658536 11.9123360622669 -38.147964960929 1 12.0192388570805 11.8501863370696 -38.797464053626 1 11.9902567095242 11.7879765933152 -39.446955654888 1 11.9611265805858 11.7257010739096 -40.0964391025716 1 11.8668603115059 11.5238599392719 -42.2000305825511 0.999999999999999 11.7741948839799 11.3280325405508 -44.2334183485024 1 11.6831610639834 11.1377534738622 -46.200613370735 1 11.6343093840749 11.0358365369211 -47.255200669608 1 11.5850441983433 10.9336858578921 -48.3097587524541 1 11.5353523889239 10.8312597712939 -49.3642827224501 1 -9.29225891006985 16.3897346248343 -38.6389342161221 0.956356144992936 9.28887742787488 16.3133850868198 -39.2866891582193 0.956750303907044 9.28547897656947 16.23665240802 -39.9346688171538 0.957146375320297 9.28206254622923 16.1595137856362 -40.5828782131545 0.957544388001317 9.2709916202664 15.9095464535848 -42.6828774024757 0.958832162460728 9.26009857823125 15.6635955128424 -44.7157349158693 0.960097198681645 9.24936625120381 15.4212733111806 -46.6846255194613 0.961338995543483 9.24363953340959 15.2919713563811 -47.7355209662015 0.962005512193244 9.23785619408285 15.1613909598869 -48.7869954283215 0.96267739629775 9.23200980938416 15.0293870796167 -49.8390666456938 0.963354782982304 -9.52442297437487 21.631701913508 -39.2310097522432 1 9.5199194338582 21.5300177353718 -39.8761736934814 1 9.5153888215848 21.4277223116339 -40.5212685950714 1 9.51082965633586 21.3247821982698 -41.1662906795438 1 9.49601661061875 20.9903225939072 -43.2647416305183 0.999999999999999 9.48139453751299 20.6601749065703 -45.2930255835586 1 9.46694135135 20.3338404701437 -47.2551622246792 1 9.45922128268181 20.1595312050723 -48.3015696229984 1 9.45141136551041 19.9831932758487 -49.347741415917 1 9.44350214657332 19.8046132399101 -50.3936528145969 1 - -0 3 -8.32114275549281 3 - --1.39161532665019 4 -0 3 -4.51390219716435 3 -6.92952742884262 4 - -9 1 1 0 0 2 8 3 9 2 2 9.50833006629254 21.2683446557871 -39.3820108859218 1 9.50900509976085 21.283586047129 -39.5170146026694 1 9.51015155210179 21.3094714729734 -39.7667777301522 1.00000000000002 9.51122659740706 21.3337446193672 -40.0784345546991 0.999999999999954 9.51182554079463 21.3472679941453 -40.4509947267754 1.00000000000005 9.51122659741382 21.3337446195226 -40.8235549977287 0.999999999999966 9.51015155210382 21.3094714730174 -41.135211762898 1.00000000000001 9.5090050997603 21.2835860471169 -41.3849749088827 1 9.50833006629643 21.2683446558749 -41.5199786247441 1 -9.2801923821971 16.1172878765137 -39.9646857534352 0.957761631753954 9.28049947275441 16.124221588072 -40.0261025106215 0.957761631753954 9.28102102395505 16.1359975520484 -40.1397263553986 0.957761631746879 9.28151009135001 16.1470400477965 -40.2815072779856 0.957761631771489 9.28178256522518 16.1531921879105 -40.4509947423803 0.95776163173536 9.28151009103397 16.1470400477872 -40.6204822516129 0.957761631762776 9.28102102419672 16.1359975521287 -40.7622631472687 0.957761631753459 9.28049947273171 16.1242215880608 -40.8758870004416 0.957761631753339 9.28019238217641 16.117287876548 -40.9373037572245 0.957761631753339 -11.9452235364372 11.6916743315865 -40.450994755328 1 11.9452235364372 11.6916743315865 -40.450994755328 1 11.9452235364368 11.6916743315864 -40.4509947553281 1.00000000000002 11.9452235364385 11.6916743315868 -40.4509947553279 0.999999999999954 11.9452235364356 11.6916743315861 -40.4509947553282 1.00000000000005 11.9452235364383 11.6916743315867 -40.4509947553278 0.999999999999966 11.9452235364369 11.6916743315864 -40.4509947553281 1.00000000000001 11.9452235364372 11.6916743315865 -40.450994755328 1 11.9452235364372 11.6916743315865 -40.450994755328 1 - -0 3 -1 3 - -0 9 -1 9 - -9 1 1 0 0 2 3 3 10 2 4 11.5353523889194 10.8312597713021 -31.5377067882047 1 11.5850441983387 10.9336858579002 -32.5922307582005 0.999999999999999 11.6343093840749 11.035836536921 -33.646788841048 1 11.6831610639834 11.1377534738621 -34.7013761399211 1 11.77419488398 11.3280325405507 -36.6685711621536 0.999999999999999 11.8668603115059 11.5238599392719 -38.7019589281049 1 11.9611265805858 11.7257010739096 -40.8055504080845 1 11.9902567095242 11.7879765933152 -41.455033855768 1 12.0192388570776 11.8501863370742 -42.1045254570293 1 12.0480756585332 11.9123360622715 -42.7540245497264 1 -9.23200980937968 15.0293870796324 -31.0629228649605 0.963354782982209 9.23785619407836 15.1613909599024 -32.1149940823329 0.962677396297655 9.24363953340966 15.291971356381 -33.1664685444545 0.962005512193245 9.24936625120389 15.4212733111804 -34.2173639911948 0.961338995543484 9.26009857823133 15.6635955128423 -36.1862545947868 0.960097198681646 9.27099162026639 15.9095464535848 -38.2191121081804 0.958832162460729 9.28206254622923 16.1595137856362 -40.3191112975016 0.957544388001317 9.28547897656947 16.23665240802 -40.9673206935023 0.957146375320295 9.28887742787226 16.3133850868287 -41.6153003524352 0.95675030390699 9.29225891006722 16.3897346248431 -42.2630552945324 0.95635614499288 -9.44350214657442 19.8046132399351 -30.5083366960566 1 9.45141136551151 19.9831932758736 -31.5542480947367 0.999999999999999 9.45922128268179 20.159531205072 -32.6004198876576 1 9.46694135134999 20.3338404701435 -33.6468272859768 1 9.48139453751298 20.6601749065702 -35.6089639270975 0.999999999999999 9.49601661061875 20.9903225939072 -37.6372478801378 1 9.51082965633586 21.3247821982698 -39.7356988311122 1 9.5153888215848 21.4277223116339 -40.3807209155847 1 9.51991943385884 21.530017735386 -41.0258158171723 1 9.52442297437551 21.6317019135223 -41.6709797584103 1 - -0 3 -8.32114275549281 3 - --2.41562523167827 4 -0 3 -4.51390219716435 3 -5.90551752381454 4 - -1 13608.10573056 1.69635562126702 -34.7281133046827 0 0.0301408311958109 -0.999545661935875 0 0.999545661935875 0.0301408311958109 1 0 0 -9 1 1 0 0 2 3 3 10 2 4 -9.44350214657443 19.804613239935 -30.5083366960566 1 -9.45141136551152 19.9831932758736 -31.5542480947364 1 -9.45922128268181 20.1595312050724 -32.6004198876551 1 -9.46694135135002 20.3338404701438 -33.6468272859743 1 -9.481394537513 20.6601749065704 -35.6089639270952 0.999999999999999 -9.49601661061876 20.9903225939072 -37.6372478801374 1 -9.51082965633586 21.3247821982698 -39.7356988311122 1 -9.51538882158481 21.4277223116339 -40.3807209155846 1 -9.51991943385884 21.5300177353862 -41.0258158171727 1 -9.52442297437551 21.6317019135223 -41.6709797584103 1 --9.23200980937874 15.0293870796318 -31.0629228649603 0.963354782982209 -9.23785619407742 15.1613909599018 -32.1149940823326 0.962677396297654 -9.2436395334095 15.2919713563812 -33.166468544453 0.962005512193243 -9.24936625120373 15.4212733111807 -34.2173639911934 0.961338995543481 -9.26009857823117 15.6635955128425 -36.1862545947854 0.960097198681644 -9.27099162026639 15.9095464535848 -38.21911210818 0.958832162460728 -9.28206254622925 16.1595137856362 -40.3191112975015 0.957544388001317 -9.28547897656948 16.23665240802 -40.9673206935022 0.957146375320296 -9.28887742787162 16.3133850868284 -41.6153003524354 0.95675030390699 -9.29225891006658 16.3897346248428 -42.2630552945326 0.956356144992881 --11.5353523889194 10.831259771302 -31.537706788204 1 -11.5850441983387 10.9336858579002 -32.5922307582004 1 -11.6343093840748 11.0358365369212 -33.6467888410477 1 -11.6831610639833 11.1377534738623 -34.7013761399207 1 -11.7741948839798 11.3280325405509 -36.6685711621531 0.999999999999999 -11.8668603115059 11.5238599392719 -38.7019589281047 1 -11.9611265805858 11.7257010739096 -40.8055504080844 1 -11.9902567095242 11.7879765933152 -41.455033855768 1 -12.0192388570776 11.8501863370742 -42.1045254570291 1 -12.0480756585332 11.9123360622715 -42.7540245497265 1 - -0 3 -8.32114275549336 3 - --2.41562523167859 4 -0 3 -4.5139021971646 3 -5.90551752381476 4 - -10 0 6.28318530717959 -35.6498352990993 23.7665568660663 -3 -5.14239034666627e-016 4.63185344980797 -40.450994755328 0 0 -1 1 0 0 0 1 0 13.8754976926325 -0.0872664600610733 -1 13608.10573056 1.69635562126702 -46.1738762059734 0 0.0301408311958109 0.999545661935875 0 0.999545661935875 -0.0301408311958109 1 0 0 -10 0 6.28318530717959 -35.6498352990993 23.7665568660663 -3 -5.14239034666627e-016 4.63185344980797 -40.450994755328 0 0 1 1 0 0 0 1 0 13.8754976926325 -0.0872664600610733 -9 1 1 0 0 2 3 3 10 2 4 -9.52442297437487 21.631701913508 -39.2310097522432 1 -9.5199194338582 21.5300177353719 -39.8761736934806 1 -9.51538882158481 21.4277223116339 -40.5212685950714 1 -9.51082965633586 21.3247821982698 -41.1662906795438 1 -9.49601661061876 20.9903225939072 -43.2647416305187 0.999999999999999 -9.481394537513 20.6601749065703 -45.2930255835609 1 -9.46694135135 20.3338404701437 -47.2551622246817 1 -9.45922128268181 20.1595312050721 -48.301569623001 0.999999999999999 -9.45141136551041 19.9831932758487 -49.3477414159172 1 -9.44350214657331 19.80461323991 -50.3936528145969 1 --9.29225891006987 16.3897346248343 -38.638934216122 0.956356144992936 -9.2888774278749 16.3133850868199 -39.2866891582191 0.956750303907045 -9.28547897656948 16.23665240802 -39.9346688171538 0.957146375320297 -9.28206254622924 16.1595137856362 -40.5828782131546 0.957544388001317 -9.27099162026641 15.9095464535848 -42.6828774024761 0.958832162460728 -9.26009857823125 15.6635955128424 -44.7157349158707 0.960097198681645 -9.24936625120382 15.4212733111805 -46.6846255194627 0.961338995543483 -9.24363953340958 15.2919713563811 -47.735520966203 0.962005512193244 -9.2378561940828 15.1613909598868 -48.7869954283217 0.96267739629775 -9.2320098093841 15.0293870796166 -49.839066645694 0.963354782982304 --12.0480756585361 11.9123360622669 -38.1479649609287 1 -12.0192388570804 11.8501863370696 -38.7974640536263 1 -11.9902567095242 11.7879765933152 -39.446955654888 1 -11.9611265805858 11.7257010739096 -40.0964391025716 1 -11.8668603115059 11.5238599392719 -42.2000305825514 0.999999999999999 -11.7741948839799 11.3280325405508 -44.2334183485029 1 -11.6831610639833 11.1377534738622 -46.2006133707353 1 -11.6343093840749 11.0358365369211 -47.2552006696083 0.999999999999999 -11.5850441983432 10.9336858578921 -48.3097587524544 1 -11.5353523889239 10.8312597712938 -49.3642827224507 1 - -0 3 -8.32114275549336 3 - --1.39161532665016 4 -0 3 -4.5139021971646 3 -6.9295274288432 4 - -9 1 1 0 0 2 8 3 9 2 2 -9.50833006629254 21.2683446557871 -41.5199786247342 1 -9.50900509976085 21.283586047129 -41.3849749079868 1 -9.51015155210233 21.3094714729742 -41.1352117805013 0.999999999999964 -9.51122659740534 21.3337446193644 -40.8235549559618 1.00000000000013 -9.51182554079702 21.3472679941491 -40.4509947838749 0.999999999999807 -9.51122659741216 21.3337446195197 -40.07843451293 1.00000000000014 -9.51015155210431 21.3094714730182 -39.7667777477569 0.999999999999957 -9.50900509976031 21.2835860471169 -39.5170146017735 1 -9.50833006629643 21.268344655875 -39.382010885912 1 --9.28019238219709 16.1172878765137 -40.9373037572208 0.957761631753953 -9.2804994727544 16.124221588072 -40.8758870000347 0.957761631753953 -9.28102102395407 16.1359975520477 -40.7622631552561 0.957761631746973 -9.28151009135333 16.147040047799 -40.620482232673 0.957761631771179 -9.28178256522046 16.1531921879069 -40.4509947682728 0.9577616317358 -9.28151009103732 16.1470400477899 -40.2815072590445 0.957761631762466 -9.28102102419572 16.1359975521279 -40.1397263633867 0.957761631753552 -9.28049947273171 16.1242215880608 -40.0261025102145 0.957761631753339 -9.28019238217642 16.117287876548 -39.9646857534315 0.957761631753339 --11.9452235364372 11.6916743315865 -40.450994755328 1 -11.9452235364372 11.6916743315865 -40.450994755328 1 -11.9452235364377 11.6916743315867 -40.450994755328 0.999999999999964 -11.9452235364356 11.6916743315857 -40.4509947553281 1.00000000000013 -11.9452235364396 11.6916743315878 -40.4509947553279 0.999999999999807 -11.9452235364355 11.6916743315856 -40.4509947553281 1.00000000000014 -11.9452235364377 11.6916743315868 -40.450994755328 0.999999999999957 -11.9452235364372 11.6916743315865 -40.450994755328 1 -11.9452235364372 11.6916743315865 -40.450994755328 1 - -0 3 -1 3 - -0 9 -1 9 - -3 -5.14239034666627e-016 -8.20399082704025 -40.450994755328 0 1 0 1 0 0 0 0 1 2.10925632334829 --0.785398125648498 -2 -5.14239034666627e-016 4.63185344980797 -40.450994755328 0 1 0 1 0 0 0 0 1 2.10925632334829 -1 -5.14239034666627e-016 4.63185344980797 -37.3002163985888 0 0 1 1 0 0 0 1 0 -3 -5.14239034666627e-016 4.63185344980797 -29.112040519073 0 0 1 1 -6.12323399573677e-017 0 6.12323399573677e-017 1 0 10.7946297150343 -0.785398163397448 -1 -5.14239034666627e-016 4.63185344980797 -61.0667732646551 0 0 -1 1 0 0 0 1 0 -3 -5.14239034666627e-016 4.63185344980797 -51.789948991583 0 0 1 1 -6.12323399573677e-017 0 6.12323399573677e-017 1 0 10.7946297150343 --0.785398163397448 -2 -5.14239034666627e-016 4.63185344980797 627.02659132864 0 0 1 1 0 0 0 1 0 10.7946297150343 -Triangulations 0 - -TShapes 346 -Ve -1e-007 -10.2 -2.49819696179765e-015 72 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 1 0 0 6.28318530717959 -2 1 2 0 0 6.28318530717959 -2 2 1 0 0 6.28318530717959 -0 - -0101100 -+346 0 -346 0 * -Wi - -0101000 -+345 0 * -Ve -1.000000002e-005 -6 0 72 -0 0 - -0101101 -* -Ed - 5.9999999999993e-008 1 1 0 -1 2 0 1.5707963267949 7.85398163397448 -2 3 1 0 1.5707963267949 7.85398163397448 -2 4 3 13 1.5707963267949 7.85398163397448 -0 - -0101000 -+343 0 -343 0 * -Wi - -0101000 --342 0 * -Fa -0 1e-007 1 0 - -0111000 -+344 0 +341 0 * -Ve -1e-007 -10.2 -2.49819696179765e-015 0 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 3 0 0 72 -3 5 6CN 2 0 0 72 -0 - -0101000 --346 0 +339 0 * -Ed - 1e-007 1 1 0 -1 4 0 0 6.28318530717959 -2 7 2 0 0 6.28318530717959 -2 8 4 0 0 6.28318530717959 -0 - -0101100 -+339 0 -339 0 * -Wi - -0101000 --345 0 +338 0 +337 0 -338 0 * -Fa -0 1e-007 2 0 - -0111000 -+336 0 * -Ve -1.000000002e-005 -6 0 0 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 5 0 10 82 -3 9 10CN 3 0 10 82 -0 - -0101000 -+334 14 -343 14 * -Ed - 5.9999999999993e-008 1 1 0 -1 6 0 1.5707963267949 7.85398163397448 -2 11 4 0 1.5707963267949 7.85398163397448 -2 12 3 13 1.5707963267949 7.85398163397448 -0 - -0101000 -+334 0 -334 0 * -Wi - -0101000 -+333 13 +332 0 -342 0 -333 13 * -Fa -0 1e-007 3 0 - -0111000 -+331 14 * -Wi - -0101000 --337 0 * -Wi - -0101000 --332 0 * -Fa -0 1e-007 4 0 - -0111000 --329 0 +328 0 * -Sh - -0101100 -+340 0 +335 0 -330 13 -327 0 * -So - -0100000 -+326 9 * -Ve -0.00600000002 -44.9207350639583 20.41215859584 -104.1 -0 0 - -0101101 -* -Ve -0.00600000002 -44.9207350639583 20.41215859584 -123.5 -0 0 - -0101101 -* -Ed - 1.360810573056e-007 1 1 0 -1 7 0 0.837479339775997 20.237479339776 -3 13 14CN 5 0 0.837479339775997 20.237479339776 -0 - -0101000 --324 46 +323 46 * -Ed - 2.04121585958398e-007 1 1 0 -1 8 0 3.1415926535898 9.42477796076938 -2 15 5 45 3.1415926535898 9.42477796076938 -2 16 6 55 3.1415926535898 9.42477796076938 -0 - -0101000 -+324 0 -324 0 * -Ed - 2.04121585958398e-007 1 1 0 -1 9 0 3.1415926535898 9.42477796076938 -2 17 5 45 3.1415926535898 9.42477796076938 -2 18 7 56 3.1415926535898 9.42477796076938 -0 - -0101000 -+323 0 -323 0 * -Wi - -0101000 -+322 45 -321 0 +320 0 -322 45 * -Ve -7.02587955388553e-006 -57.2080923483614 15.1068156978257 -104.74180760692 -0 0 - -0101101 -* -Ve -7.02587955388553e-006 -57.2080923483614 15.1068156978257 -122.160181903778 -0 0 - -0101101 -* -Ed - 7.02587955388553e-006 1 1 0 -1 10 0 -13616.8149177084 -13599.3965434116 -2 19 5 58 -13616.8149177084 -13599.3965434116 -2 20 8 59 -13616.8149177084 -13599.3965434116 -0 - -0101000 -+318 60 -317 60 * -Ve -1.07625985359683e-005 -61.1741830811134 10.1783159612272 -104.741807606878 -0 0 - -0101101 -* -Ed - 7.02587955388553e-006 1 1 0 -1 11 0 0.522028935180885 0.83320280950182 -2 21 5 58 0.522028935180885 0.83320280950182 -0 - -0101000 -+315 60 -318 60 * -Ve -0.000238284891648843 -61.1741830810842 10.1783159612314 -122.160181903778 -0 0 - -0101101 -* -Ed - 7.02587955388553e-006 1 1 0 -1 12 0 0.522028935181721 0.83320280950182 -2 22 5 58 0.522028935181721 0.83320280950182 -0 - -0101000 -+313 60 -317 60 * -Ve -0.000972751811634027 -61.1741830810953 10.178315961228 -105.195312946026 -0 0 - -0101101 -* -Ed - 1.07625985359683e-005 1 1 0 -1 13 0 19.1421663937488 19.5956717328984 -2 23 5 58 19.1421663937488 19.5956717328984 -0 - -0101000 -+311 60 -315 60 * -Ve -0.00178143833859524 -61.1741830810939 10.1783159612309 -121.946948993765 -0 0 - -0101101 -* -Ed - 0.00178143833859524 1 1 0 -1 14 0 2.17729743599764 2.39053034600946 -2 24 5 58 2.17729743599764 2.39053034600946 -0 - -0101000 -+313 60 -309 60 * -Ve -0.000972751811634027 -63.5835629238541 3.54013143520596 -111.722765353502 -0 0 - -0101101 -* -Ed - 0.000972751811634027 1 1 0 -1 15 0 0 1 -2 25 5 58 0 1 -2 26 9 62 0 1 -0 - -0101000 -+311 60 -307 60 * -Ve -0.000851280905139204 -62.4496784178901 7.53892608910945 -116.441925868361 -0 0 - -0101101 -* -Ed - 0.000851280905139204 1 1 0 -1 16 0 0 1 -2 27 10 64 0 1 -2 28 5 58 0 1 -0 - -0101000 -+309 60 -305 60 * -Ve -0.00091322990085598 -63.5601569852189 -3.67056315135383 -111.722765353502 -0 0 - -0101101 -* -Ed - 0.000972751811634027 1 1 0 -1 17 0 6.10237941171518 6.45749921880722 -2 29 5 58 6.10237941171518 6.45749921880722 -0 - -0101000 -+303 60 -307 60 * -Ve -6.65066728204767e-005 -63.5601569852557 3.6705631513621 -115.179224157154 -0 0 - -0101101 -* -Ed - 6.65066728204767e-005 1 1 0 -1 18 0 0 1 -2 30 5 58 0 1 -2 31 11 64 0 1 -0 - -0101000 -+305 60 -301 60 * -Ve -0.00091322990085598 -61.1741830810935 -10.1783159612309 -105.326955919693 -0 0 - -0101101 -* -Ed - 0.00091322990085598 1 1 0 -1 19 0 0 1 -2 32 5 58 0 1 -2 33 12 62 0 1 -0 - -0101000 -+299 60 -303 60 * -Ve -0.000910550368407333 -63.5835629238167 -3.54013143520756 -115.179224157154 -0 0 - -0101101 -* -Ed - 6.65066728204767e-005 1 1 0 -1 20 0 6.10887139555272 6.46399120264353 -2 34 5 58 6.10887139555272 6.46399120264353 -0 - -0101000 -+297 60 -301 60 * -Ve -1.07614079764781e-005 -61.1741830810762 -10.1783159612317 -104.741807606878 -0 0 - -0101101 -* -Ed - 1.07614079764781e-005 1 1 0 -1 21 0 19.0105234200804 19.5956717328984 -2 35 5 58 19.0105234200804 19.5956717328984 -0 - -0101000 -+299 60 -295 60 * -Ve -0.000910550368407333 -62.4548821362058 -7.52581965120422 -116.497485089168 -0 0 - -0101101 -* -Ed - 0.000910550368407333 1 1 0 -1 22 0 0 1 -2 36 5 58 0 1 -2 37 13 64 0 1 -0 - -0101000 -+293 60 -297 60 * -Ve -7.02587955388551e-006 -57.2080923483588 -15.106815697828 -104.741807606878 -0 0 - -0101101 -* -Ed - 1.07614079764781e-005 1 1 0 -1 23 0 5.44998249767765 5.76115637199758 -2 38 5 58 5.44998249767765 5.76115637199758 -0 - -0101000 -+291 60 -295 60 * -Ve -0.00416218119725111 -61.1741830810956 -10.1783159612279 -122.084663306554 -0 0 - -0101101 -* -Ed - 0.000910550368407333 1 1 0 -1 24 0 0 1 -2 39 5 58 0 1 -2 40 14 64 0 1 -0 - -0101000 -+289 60 -293 60 * -Ve -7.02587955388553e-006 -57.2080923483614 -15.1068156978257 -122.160181903778 -0 0 - -0101101 -* -Ed - 7.02587955388553e-006 1 1 0 -1 25 0 -13616.8149177084 -13599.3965434116 -2 41 5 58 -13616.8149177084 -13599.3965434116 -2 42 15 59 -13616.8149177084 -13599.3965434116 -0 - -0101000 -+291 60 -287 60 * -Ve -0.00416218119725111 -61.1741830810998 -10.1783159612277 -122.160181903778 -0 0 - -0101101 -* -Ed - 0.00416218119725111 1 1 0 -1 26 0 2.17729743599764 2.25281603322175 -2 43 5 58 2.17729743599764 2.25281603322175 -0 - -0101000 -+285 60 -289 60 * -Ed - 0.00416218119725111 1 1 0 -1 27 0 5.44998249767765 5.76115637199841 -2 44 5 58 5.44998249767765 5.76115637199841 -0 - -0101000 -+287 60 -285 60 * -Wi - -0101000 -+316 0 +314 0 -312 0 +310 0 +308 0 -306 0 +304 0 +302 0 +300 0 +298 0 --296 0 -294 0 -292 0 +290 0 -288 0 -286 0 -284 0 -283 0 * -Fa -0 1.360810573056e-007 5 0 - -0101000 -+319 46 +282 57 * -Wi - -0101000 -+321 0 * -Ve -0.000408243174910583 -44.9207350639584 13.60810573056 -104.1 -0 0 - -0101101 -* -Ed - 1.36081057305597e-007 1 1 0 -1 28 0 3.1415926535898 9.42477796076938 -2 45 16 67 3.1415926535898 9.42477796076938 -2 46 6 55 3.1415926535898 9.42477796076938 -0 - -0101000 -+279 0 -279 0 * -Wi - -0101000 --278 0 * -Fa -0 1e-007 6 0 - -0101000 -+280 65 +277 65 * -Wi - -0101000 -+320 0 * -Ve -6.60000002199976e-006 -56 3.63857164883963e-014 -123.5 -0 0 - -0101101 -* -Ed - 1.09999999999996e-007 1 1 0 -1 29 0 1.5707963267949 7.85398163397448 -2 47 17 74 1.5707963267949 7.85398163397448 -2 48 7 56 1.5707963267949 7.85398163397448 -0 - -0101000 -+274 0 -274 0 * -Wi - -0101000 --273 0 * -Fa -0 1e-007 7 0 - -0111000 -+275 68 +272 68 * -Ve -0.00405347166439638 -65.3713970564218 13.1117345129041 -122.160181903778 -0 0 - -0101101 -* -Ed - 7.02587955388553e-006 1 1 0 -1 30 0 4.7566495468411 5.147523705841 -2 49 8 0 4.7566495468411 5.147523705841 -0 - -0101000 --317 77 +270 77 * -Ve -0.00405347166439638 -65.3713970564218 13.1117345129041 -104.741807606878 -0 0 - -0101101 -* -Ed - 0.00405347166439638 1 1 0 -1 31 0 13599.3965434116 13616.8149177084 -2 50 8 0 13599.3965434116 13616.8149177084 -4 G1 8 0 18 0 -0 - -0101000 -+270 77 -268 77 * -Ed - 7.02587955388553e-006 1 1 0 -1 32 0 4.7566495468411 5.147523705841 -2 51 8 0 4.7566495468411 5.147523705841 -0 - -0101000 --318 77 +268 77 * -Wi - -0101000 -+269 59 -316 0 -267 59 -266 59 * -Fa -0 1.360810573056e-007 8 0 - -0111000 -+265 76 * -Ve -0.00405347166439638 -67.2702472549592 13.0276354036698 -104.741807606878 -0 0 - -0101101 -* -Ed - 1.360810573056e-007 1 1 0 -1 33 0 6747.43362895734 6749.33434059693 -0 - -0101000 -+268 77 -263 77 * -Ve -0.00412002679158181 -67.2702472552123 9.90832438039864 -104.741807606885 -0 0 - -0101101 -* -Ed - 1.360810573056e-007 1 1 0 -1 34 0 6760.44501485718 6766.54705499704 -0 - -0101000 -+315 77 -261 77 * -Ed - 1.360810573056e-007 1 1 0 -1 35 0 -6777.97811113596 -6774.85880011269 -0 - -0101000 -+261 77 -263 77 * -Wi - -0101000 -+266 59 -314 0 -262 59 +260 59 +259 59 * -Fa -0 1.360810573056e-007 19 0 - -0111000 -+258 80 * -Ve -0.00272162114613922 -67.2702472550074 13.0276354036704 -122.160181903778 -0 0 - -0101101 -* -Ed - 1.360810573056e-007 1 1 0 -1 36 0 6747.43362895734 6749.33434059693 -0 - -0101000 -+270 77 -256 77 * -Ve -0.0043384670605219 -67.2702472552123 9.90832438040111 -122.160181903771 -0 0 - -0101101 -* -Ed - 1.360810573056e-007 1 1 0 -1 37 0 -6766.54705499704 -6760.44501485715 -0 - -0101000 --313 77 +254 77 * -Ed - 1.360810573056e-007 1 1 0 -1 38 0 6774.85880011269 6777.97811113596 -0 - -0101000 --254 77 +256 77 * -Wi - -0101000 -+269 59 -312 0 -255 59 -253 59 -252 59 * -Fa -0 1.360810573056e-007 20 0 - -0111000 -+251 80 * -Ve -0.00412002679158181 -83.3213214010619 9.19743047264458 -105.225820228584 -0 0 - -0101101 -* -Ed - 1.360810573056e-007 1 1 0 -1 39 0 -490.114548512383 -474.040450727387 -0 - -0101000 -+249 77 -261 77 * -Ed - 0.00412002679158181 1 1 0 -1 40 0 7.89963426443206 24.1905490890142 -2 52 9 0 7.89963426443206 24.1905490890142 -4 G1 21 0 9 0 -0 - -0101000 -+311 83 -249 83 * -Wi - -0101000 --260 59 -310 0 +248 59 +247 62 * -Fa -0 1.360810573056e-007 21 0 - -0111000 -+246 82 * -Ve -5.48611469774012e-005 -62.5638497393189 10.1167683319468 -121.575033590963 -0 0 - -0101101 -* -Ed - 5.48611469774012e-005 1 1 0 -1 41 0 1.26089076927899 1.48344475380073 -2 53 10 0 1.26089076927899 1.48344475380073 -4 G1 10 0 22 84 -0 - -0101000 -+309 87 -244 87 * -Ve -0.0043384670605219 -86.675234923152 9.04888734909566 -121.575033590963 -0 0 - -0101101 -* -Ed - 0.0043384670605219 1 1 0 -1 42 0 8.92184042202291 26.6576091095014 -2 54 11 0 8.92184042202291 26.6576091095014 -4 G1 22 84 11 0 -0 - -0101000 --242 87 +244 87 * -Ed - 1.360810573056e-007 1 1 0 -1 43 0 474.040450727387 493.473272883514 -0 - -0101000 -+254 77 -242 77 * -Wi - -0101000 -+243 64 +308 0 +241 64 +253 59 -240 59 * -Fa -0 1.360810573056e-007 22 0 - -0111000 -+239 86 * -Ve -0.00367872052004198 -141.811997402444 6.3862467085767 -106.989579163291 -0 0 - -0101101 -* -Ed - 0.00367872052004198 1 1 0 -1 44 0 0 1 -2 55 9 61 0 1 -0 - -0101000 -+249 77 -237 77 * -Ve -2.24385061870199e-005 -141.538655135732 0.214528337753925 -111.722765353502 -0 0 - -0101101 -* -Ed - 2.24385061870199e-005 1 1 0 -1 45 0 9.88428531330413 67.2220914117438 -2 56 9 0 9.88428531330413 67.2220914117438 -4 G1 9 0 23 0 -0 - -0101000 -+307 83 -235 83 * -Ed - 2.24385061870199e-005 1 1 0 -1 46 0 0.263317056481423 1.48344475380072 -2 57 9 0 0.263317056481423 1.48344475380072 -2 58 24 0 0.263317056481423 1.48344475380072 -4 G1 9 0 24 0 -0 - -0101000 -+237 83 -235 83 * -Wi - -0101000 --247 62 +306 0 -236 59 +234 62 -233 62 * -Fa -0 1.360810573056e-007 9 0 - -0111000 -+232 82 * -Ed - 0.000851280905139204 1 1 0 -1 47 0 0 0.872853309674633 -2 59 10 0 0 0.872853309674633 -2 60 11 0 0 0.872853309674633 -4 G1 10 0 11 0 -0 - -0101000 --305 87 +244 87 * -Wi - -0101000 --243 64 +304 0 -230 64 * -Fa -0 5.48611452811192e-006 10 0 - -0111000 -+229 89 * -Ve -2.63234153533509e-005 -141.538655135732 -0.216935140713304 -111.722765353502 -0 0 - -0101101 -* -Ed - 2.63234153533509e-005 1 1 0 -1 48 0 6.04551105760731 6.47697453607733 -2 61 25 0 6.04551105760731 6.47697453607733 -4 G1 23 0 25 0 -0 - -0101000 -+235 83 -227 83 * -Ed - 2.63234153533509e-005 1 1 0 -1 49 0 9.86286123429356 67.222013155676 -2 62 12 0 9.86286123429356 67.222013155676 -4 G1 23 0 12 0 -0 - -0101000 -+303 83 -227 83 * -Wi - -0101000 -+234 62 +302 0 +226 62 -225 62 * -Fa -0 1.360810573056e-007 23 0 - -0111000 -+224 82 * -Ve -1.90345109311249e-006 -137.797795676127 0.382615902974475 -115.179224157154 -0 0 - -0101101 -* -Ed - 1.90345109311249e-006 1 1 0 -1 50 0 9.86286123432055 64.4703247909448 -2 63 11 0 9.86286123432055 64.4703247909448 -4 G1 11 0 26 84 -0 - -0101000 -+301 87 -222 87 * -Ve -0.00073062842375683 -138.072351030518 6.58172424022921 -120.025177631863 -0 0 - -0101101 -* -Ed - 0.00073062842375683 1 1 0 -1 51 0 0 1 -2 64 11 63 0 1 -0 - -0101000 -+242 77 -220 77 * -Ed - 1.90345109311249e-006 1 1 0 -1 52 0 0.245523148517274 1.48344475380073 -2 65 11 0 0.245523148517274 1.48344475380073 -2 66 27 0 0.245523148517274 1.48344475380073 -4 G1 11 0 27 0 -0 - -0101000 -+220 87 -222 87 * -Wi - -0101000 --230 64 -300 0 +241 64 -221 64 +219 59 +218 64 * -Fa -0 1.360810573056e-007 11 0 - -0111000 -+217 89 * -Ve -0.00857717793328288 -86.675234923152 -9.04888734909565 -105.326955919693 -0 0 - -0101101 -* -Ed - 0.00857717793328288 1 1 0 -1 53 0 7.89963426443094 26.6576091095014 -2 67 12 0 7.89963426443094 26.6576091095014 -4 G1 12 0 28 0 -0 - -0101000 -+299 83 -215 83 * -Ve -0.00765930243891794 -141.811915909326 -6.38681350130325 -106.989576705904 -0 0 - -0101101 -* -Ed - 0.00765930243891794 1 1 0 -1 54 0 0 1 -2 68 12 61 0 1 -0 - -0101000 -+215 77 -213 77 * -Ed - 2.63234153533509e-005 1 1 0 -1 55 0 0.263040381266836 1.48344475380073 -2 69 12 0 0.263040381266836 1.48344475380073 -2 70 29 0 0.263040381266836 1.48344475380073 -4 G1 12 0 29 0 -0 - -0101000 -+213 83 -227 83 * -Wi - -0101000 -+214 62 -298 0 +212 59 -225 62 +211 62 * -Fa -0 1.360810573056e-007 12 0 - -0111000 -+210 82 * -Ve -3.17142211348777e-005 -137.797795676127 -0.377496201303271 -115.179224157154 -0 0 - -0101101 -* -Ed - 3.17142211348777e-005 1 1 0 -1 56 0 9.88428531327657 64.4704912556405 -2 71 13 0 9.88428531327657 64.4704912556405 -4 G1 26 84 13 0 -0 - -0101000 -+297 87 -208 87 * -Ed - 1.90345109311249e-006 1 1 0 -1 57 0 5.88254319405957 6.64265529833678 -2 72 30 0 5.88254319405957 6.64265529833678 -4 G1 26 84 30 0 -0 - -0101000 -+208 87 -222 87 * -Wi - -0101000 -+207 64 -296 0 +206 64 -221 64 * -Fa -0 1.360810573056e-007 26 0 - -0111000 -+205 86 * -Ve -0.00857717793328288 -67.2702472552123 -9.90832438040109 -104.741807606885 -0 0 - -0101101 -* -Ed - 1.360810573056e-007 1 1 0 -1 58 0 6761.87561833671 6767.9776584766 -0 - -0101000 -+295 77 -203 77 * -Ed - 1.360810573056e-007 1 1 0 -1 59 0 108.359538470377 127.792360626504 -0 - -0101000 -+215 77 -203 77 * -Wi - -0101000 --202 59 -294 0 +201 59 +214 62 * -Fa -0 1.360810573056e-007 28 0 - -0111000 -+200 82 * -Ve -5.2626140065203e-005 -62.569622611272 -10.1165126543821 -121.705505423723 -0 0 - -0101101 -* -Ed - 0.000910550368407333 1 1 0 -1 60 0 0 0.866000218461187 -2 73 13 0 0 0.866000218461187 -2 74 14 0 0 0.866000218461187 -4 G1 13 0 14 0 -0 - -0101000 --293 87 +198 87 * -Ve -0.00952327541063024 -83.3213214010619 -9.19743047264457 -121.676169282072 -0 0 - -0101101 -* -Ed - 0.00952327541063024 1 1 0 -1 61 0 8.92608681105611 24.1905490890142 -2 75 13 0 8.92608681105611 24.1905490890142 -4 G1 13 0 31 84 -0 - -0101000 --196 87 +198 87 * -Ve -0.00850321380012887 -138.072527648115 -6.58059233774143 -120.025172306042 -0 0 - -0101101 -* -Ed - 0.00850321380012887 1 1 0 -1 62 0 0 1 -2 76 13 63 0 1 -0 - -0101000 -+196 77 -194 77 * -Ed - 3.17142211348777e-005 1 1 0 -1 63 0 0.246125583101628 1.48344475380072 -2 77 13 0 0.246125583101628 1.48344475380072 -2 78 32 0 0.246125583101628 1.48344475380072 -4 G1 13 0 32 0 -0 - -0101000 -+194 87 -208 87 * -Wi - -0101000 -+197 64 +292 0 -195 64 +207 64 -193 59 -192 64 * -Fa -0 1.360810573056e-007 13 0 - -0111000 -+191 89 * -Ve -0.00272162114613922 -65.3713970564218 -13.1117345129041 -104.741807606878 -0 0 - -0101101 -* -Ed - 0.00272162114613922 1 1 0 -1 64 0 1.13566160133833 1.52653576033849 -2 79 15 0 1.13566160133833 1.52653576033849 -0 - -0101000 -+291 77 -189 77 * -Ve -0.00272162114613922 -67.2702472550075 -13.0276354036703 -104.741807606878 -0 0 - -0101101 -* -Ed - 1.360810573056e-007 1 1 0 -1 65 0 6748.8642324369 6750.76494407648 -0 - -0101000 -+189 77 -187 77 * -Ed - 1.360810573056e-007 1 1 0 -1 66 0 -6800.91407092004 -6797.79475989677 -0 - -0101000 --203 77 +187 77 * -Wi - -0101000 -+188 59 -290 0 +186 59 -202 59 +185 59 * -Fa -0 1.360810573056e-007 33 0 - -0111000 -+184 80 * -Ed - 5.2626140065203e-005 1 1 0 -1 67 0 1.25506865117569 1.48344475380072 -2 80 14 0 1.25506865117569 1.48344475380072 -4 G1 14 0 31 84 -0 - -0101000 -+289 87 -198 87 * -Wi - -0101000 --182 64 +288 0 -197 64 * -Fa -0 5.26261426963806e-006 14 0 - -0111000 -+181 89 * -Ve -0.00272162114613922 -65.3713970564218 -13.1117345129041 -122.160181903778 -0 0 - -0101101 -* -Ed - 0.00272162114613922 1 1 0 -1 68 0 1.13566160133859 1.52653576033849 -2 81 15 0 1.13566160133859 1.52653576033849 -0 - -0101000 -+287 77 -179 77 * -Ed - 0.00272162114613922 1 1 0 -1 69 0 13599.3965434116 13616.8149177084 -2 82 15 0 13599.3965434116 13616.8149177084 -4 G1 15 0 34 0 -0 - -0101000 -+179 77 -189 77 * -Wi - -0101000 -+178 59 +286 0 +177 59 -188 59 * -Fa -0 1.360810573056e-007 15 0 - -0111000 -+176 76 * -Ve -0.00952327541063024 -67.2702472552123 -9.90832438039861 -122.160181903771 -0 0 - -0101101 -* -Ed - 1.360810573056e-007 1 1 0 -1 70 0 -6767.9776584766 -6761.87561833673 -0 - -0101000 --285 77 +174 77 * -Ed - 1.360810573056e-007 1 1 0 -1 71 0 -127.792360626504 -111.718262841509 -0 - -0101000 -+174 77 -196 77 * -Wi - -0101000 -+182 64 +284 0 +195 64 +173 59 -172 59 * -Fa -0 1.360810573056e-007 31 0 - -0111000 -+171 86 * -Ve -0.00272162114613922 -67.2702472550075 -13.0276354036703 -122.160181903778 -0 0 - -0101101 -* -Ed - 1.360810573056e-007 1 1 0 -1 72 0 6748.8642324369 6750.76494407648 -0 - -0101000 -+179 77 -169 77 * -Ed - 1.360810573056e-007 1 1 0 -1 73 0 6797.79475989675 6800.91407092004 -0 - -0101000 -+174 77 -169 77 * -Wi - -0101000 -+178 59 -283 0 +168 59 +173 59 -167 59 * -Fa -0 1.360810573056e-007 35 0 - -0111000 -+166 80 * -Ve -0.000220939614797255 -44.9207350639584 13.60810573056 -110 -0 0 - -0101101 -* -Ed - 6.80405289249621e-006 1 1 0 -1 74 0 30.667206216448 36.567206216448 -3 83 84CN 16 0 30.667206216448 36.567206216448 -0 - -0101000 --279 90 +164 90 * -Ed - 1.36081057305597e-007 1 1 0 -1 75 0 3.1415926535898 9.42477796076938 -2 85 16 67 3.1415926535898 9.42477796076938 -2 86 36 91 3.1415926535898 9.42477796076938 -0 - -0101000 -+164 0 -164 0 * -Wi - -0101000 -+163 67 -278 0 +162 0 -163 67 * -Fa -0 1.360810573056e-007 16 0 - -0101000 -+161 90 * -Ve -6.00000002e-006 -11 0 15 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 76 0 11.5 25 -3 87 88CN 17 0 11.5 25 -0 - -0101000 -+274 92 -159 93 * -Ed - 1.09999999999996e-007 1 1 0 -1 77 0 1.5707963267949 7.85398163397448 -2 89 36 0 1.5707963267949 7.85398163397448 -2 90 17 69 1.5707963267949 7.85398163397448 -0 - -0101000 -+159 0 -159 0 * -Wi - -0101000 -+158 74 +273 0 -157 91 -158 74 * -Fa -0 1e-007 17 0 - -0111000 -+156 92 * -Ve -8.45112032594876e-005 -147.58039032214 9.4707400259237 -119.738467161091 -0 0 - -0101101 -* -Ed - 1.360810573056e-007 1 1 0 -1 78 0 -127.502584358108 -47.0772446170459 -0 - -0101000 -+154 77 -256 77 * -Ve -0.000379463294088556 -146.731655344125 9.50833006629643 -114.519978624744 -0 0 - -0101101 -* -Ed - 8.45112032594876e-005 1 1 0 -1 79 0 0.254079498456631 4.1188502383059 -2 91 37 0 0.254079498456631 4.1188502383059 -4 G1 18 0 37 0 -0 - -0101000 -+152 77 -154 77 * -Ve -0.000379463294088556 -146.731655344213 9.50833006629254 -112.382010885922 -0 0 - -0101101 -* -Ed - 0.000379463294088556 1 1 0 -1 80 0 0 1 -2 92 38 0 0 1 -4 G1 18 0 38 0 -0 - -0101000 -+150 77 -152 77 * -Ve -8.45112034271452e-005 -147.58039032214 9.4707400259237 -107.163522349565 -0 0 - -0101101 -* -Ed - 0.000379463294088556 1 1 0 -1 81 0 0.395051958858435 4.25982269870771 -2 93 39 0 0.395051958858435 4.25982269870771 -4 G1 18 0 39 0 -0 - -0101000 -+148 77 -150 77 * -Ed - 1.360810573056e-007 1 1 0 -1 82 0 -127.502584358108 -47.0772446169979 -0 - -0101000 -+148 77 -263 77 * -Wi - -0101100 -+153 0 +151 0 -255 0 +149 0 +267 0 +147 0 +262 0 -146 0 * -Fa -0 1.360810573056e-007 18 0 - -0111000 -+145 0 * -Ve -8.45111747987436e-005 -147.58039032214 -9.47074002592368 -107.163522349562 -0 0 - -0101101 -* -Ed - 1.360810573056e-007 1 1 0 -1 83 0 474.330226995783 554.755566736844 -0 - -0101000 -+143 77 -187 77 * -Ve -9.44122574497723e-006 -156.887108801112 -11.6712378959305 -107.444162085541 -0 0 - -0101101 -* -Ed - 9.44122574497723e-006 1 1 0 -1 84 0 0 1 -2 94 41 0 0 1 -0 - -0101000 -+143 77 -141 77 * -Ve -9.79967497659323e-006 -153.705462175042 -9.1994637097585 -107.348221021981 -0 0 - -0101101 -* -Ed - 9.44122574497723e-006 1 1 0 -1 85 0 0 1 -2 95 42 94 0 1 -0 - -0101000 -+139 77 -141 77 * -Ve -9.79967497659322e-006 -153.705462175042 9.19946370975851 -107.348221021981 -0 0 - -0101101 -* -Ed - 9.79967497659322e-006 1 1 0 -1 86 0 2.38256514860149 3.90062015857784 -2 96 42 94 2.38256514860149 3.90062015857784 -0 - -0101000 -+139 77 -137 77 * -Ve -9.44122540071973e-006 -156.887108801112 11.6712378959307 -107.444162085541 -0 0 - -0101101 -* -Ed - 9.44122540071973e-006 1 1 0 -1 87 0 0 1 -2 97 42 94 0 1 -0 - -0101000 -+137 77 -135 77 * -Ve -0.00185891039868709 -149.248075338961 -0.174798774821827 -107.213810610016 -0 0 - -0101101 -* -Ed - 0.00765930243891794 1 1 0 -1 88 0 0 1 -2 98 29 61 0 1 -0 - -0101000 -+133 77 -213 77 * -Ed - 8.45112034271452e-005 1 1 0 -1 89 0 0 1 -2 99 39 0 0 1 -0 - -0101000 -+135 77 -148 77 * -Ve -0.00367872052004198 -149.248075622 0.136239000065368 -107.213810618551 -0 0 - -0101101 -* -Ed - 0.00185891039868709 1 1 0 -1 90 0 6.12380038163357 6.43483817018729 -2 100 25 61 6.12380038163357 6.43483817018729 -0 - -0101000 -+130 77 -133 77 * -Ed - 0.00367872052004198 1 1 0 -1 91 0 0 1 -2 101 24 61 0 1 -0 - -0101000 -+130 77 -237 77 * -Wi - -0101100 -+142 0 -140 0 +185 0 +138 0 -201 0 -136 0 +212 0 -134 0 -132 0 -131 0 --129 0 -146 0 +128 0 +259 0 -236 0 +248 0 * -Fa -0 1.360810573056e-007 40 0 - -0111000 -+127 0 * -Ve -9.44122536247846e-006 -156.887108801112 11.6712378959307 -119.457827425115 -0 0 - -0101101 -* -Ed - 8.45112032594876e-005 1 1 0 -1 92 0 0 1 -2 102 37 0 0 1 -0 - -0101000 -+125 77 -154 77 * -Ve -9.79967497659322e-006 -153.705462175042 9.19946370975851 -119.553768488675 -0 0 - -0101101 -* -Ed - 9.44122536247846e-006 1 1 0 -1 93 0 0 1 -2 103 44 94 0 1 -0 - -0101000 -+123 77 -125 77 * -Ve -9.79967497659323e-006 -153.705462175042 -9.1994637097585 -119.553768488675 -0 0 - -0101101 -* -Ed - 9.79967497659322e-006 1 1 0 -1 94 0 2.38256514860149 3.90062015857784 -2 104 44 94 2.38256514860149 3.90062015857784 -0 - -0101000 -+121 77 -123 77 * -Ve -9.44122538367212e-006 -156.887108801112 -11.6712378959307 -119.457827425115 -0 0 - -0101101 -* -Ed - 9.44122538367212e-006 1 1 0 -1 95 0 0 1 -2 105 44 94 0 1 -0 - -0101000 -+121 77 -119 77 * -Ve -0.0022395990285642 -147.649668107755 0.203274625193496 -119.736378121919 -0 0 - -0101101 -* -Ed - 0.00073062842375683 1 1 0 -1 96 0 0 1 -2 106 27 63 0 1 -0 - -0101000 -+117 77 -220 77 * -Ve -8.45111915641266e-005 -147.58039032214 -9.47074002592368 -119.738467161094 -0 0 - -0101101 -* -Ed - 9.44122538367212e-006 1 1 0 -1 97 0 0 1 -2 107 45 0 0 1 -0 - -0101000 -+115 77 -119 77 * -Ve -0.00850321380012887 -147.649667425669 -0.180972590741275 -119.736378142487 -0 0 - -0101101 -* -Ed - 0.0022395990285642 1 1 0 -1 98 0 6.07906668266374 6.46331402055895 -2 108 30 63 6.07906668266374 6.46331402055895 -0 - -0101000 -+113 77 -117 77 * -Ed - 1.360810573056e-007 1 1 0 -1 99 0 474.330226995783 554.755566736844 -0 - -0101000 -+115 77 -169 77 * -Ed - 0.00850321380012887 1 1 0 -1 100 0 0 1 -2 109 32 63 0 1 -0 - -0101000 -+113 77 -194 77 * -Wi - -0101100 --153 0 -124 0 -252 0 -122 0 -240 0 -120 0 -219 0 +118 0 +116 0 -114 0 -+112 0 +111 0 -110 0 -167 0 +193 0 +172 0 * -Fa -0 1.360810573056e-007 43 0 - -0111000 -+109 0 * -Ed - 2.24385061870199e-005 1 1 0 -1 101 0 0.42527449594873 1.48344475380072 -2 110 24 0 0.42527449594873 1.48344475380072 -2 111 25 0 0.42527449594873 1.48344475380072 -4 G1 24 0 25 0 -0 - -0101000 -+130 83 -235 83 * -Wi - -0101000 -+107 61 -128 0 -233 61 * -Fa -0 1.20155368752368e-005 24 0 - -0111000 -+106 95 * -Ed - 2.63234153533509e-005 1 1 0 -1 102 0 0.425346456800587 1.48344475380073 -2 112 25 0 0.425346456800587 1.48344475380073 -2 113 29 0 0.425346456800587 1.48344475380073 -4 G1 25 0 29 0 -0 - -0101000 -+133 83 -227 83 * -Wi - -0101000 -+107 61 -129 0 +226 61 -104 61 * -Fa -0 1.360810573056e-007 25 0 - -0111000 -+103 95 * -Ed - 1.90345109311249e-006 1 1 0 -1 103 0 0.617070318470972 1.48344475380073 -2 114 27 0 0.617070318470972 1.48344475380073 -2 115 30 0 0.617070318470972 1.48344475380073 -4 G1 27 0 30 0 -0 - -0101000 -+117 87 -222 87 * -Wi - -0101000 -+101 63 -116 0 -218 63 * -Fa -0 1.03461709550628e-006 27 0 - -0111000 -+100 96 * -Wi - -0101000 -+104 61 -132 0 -211 61 * -Fa -0 1.41552229765373e-005 29 0 - -0111000 -+98 95 * -Ed - 3.17142211348777e-005 1 1 0 -1 104 0 0.617037643217049 1.48344475380072 -2 116 30 0 0.617037643217049 1.48344475380072 -2 117 32 0 0.617037643217049 1.48344475380072 -4 G1 30 0 32 0 -0 - -0101000 -+113 87 -208 87 * -Wi - -0101000 -+96 63 -112 0 +206 63 -101 63 * -Fa -0 1.360810573056e-007 30 0 - -0111000 -+95 96 * -Wi - -0101000 -+96 63 -110 0 -192 63 * -Fa -0 1.72094369546562e-005 32 0 - -0111000 -+93 96 * -Ve -0.00037946329258447 -146.731655344213 -9.50833006629254 -114.519978624734 -0 0 - -0101101 -* -Ed - 8.45111915641266e-005 1 1 0 -1 105 0 0.254079498456579 4.11885023830431 -2 118 45 0 0.254079498456579 4.11885023830431 -4 G1 45 0 34 0 -0 - -0101000 -+91 77 -115 77 * -Ve -0.00037946329258447 -146.731655344125 -9.50833006629643 -112.382010885912 -0 0 - -0101101 -* -Ed - 0.00037946329258447 1 1 0 -1 106 0 0 1 -2 119 46 0 0 1 -4 G1 34 0 46 0 -0 - -0101000 -+91 77 -89 77 * -Ed - 0.00037946329258447 1 1 0 -1 107 0 0.39505195886028 4.25982269870805 -2 120 41 0 0.39505195886028 4.25982269870805 -4 G1 34 0 41 0 -0 - -0101000 -+143 77 -89 77 * -Wi - -0101100 -+111 0 +90 0 -168 0 -88 0 +177 0 +87 0 +186 0 -142 0 * -Fa -0 1.360810573056e-007 34 0 - -0111000 -+86 0 * -Wi - -0101000 --157 0 * -Wi - -0101000 -+162 0 * -Fa -0 1e-007 36 0 - -0111000 -+84 0 +83 97 * -Ve -9.44122540071973e-006 -156.30832569038 11.9452235494198 -113.450994755328 -0 0 - -0101101 -* -Ed - 9.44122540071973e-006 1 1 0 -1 108 0 0 1 -2 121 37 0 0 1 -2 122 38 0 0 1 -4 G1 37 0 38 0 -0 - -0101000 -+152 77 -81 77 * -Ed - 9.44122536247846e-006 1 1 0 -1 109 0 0.254079498456631 4.71029313485404 -2 123 37 0 0.254079498456631 4.71029313485404 -2 124 44 94 0.254079498456631 4.71029313485404 -4 G1 37 0 44 94 -0 - -0101000 -+81 77 -125 77 * -Wi - -0101100 --80 0 +151 0 -79 0 -124 0 * -Fa -0 8.46572453785168e-006 37 0 - -0111000 -+78 0 * -Ed - 9.44122540071973e-006 1 1 0 -1 110 0 0 1 -2 125 38 0 0 1 -2 126 39 0 0 1 -4 G1 38 0 39 0 -0 - -0101000 -+150 77 -81 77 * -Ed - 9.44122540071973e-006 1 1 1 -2 127 38 0 0 1 -0 - -0101000 -+81 77 -81 77 * -Wi - -0101100 -+76 0 -149 0 +75 0 -80 0 * -Fa -0 0.000344966630989596 38 0 - -0111000 -+74 0 * -Ed - 9.44122540071973e-006 1 1 0 -1 111 0 -0.196390937689677 4.25982269870771 -2 128 39 0 -0.196390937689677 4.25982269870771 -2 129 42 94 -0.196390937689677 4.25982269870771 -4 G1 39 0 42 94 -0 - -0101000 -+135 77 -81 77 * -Wi - -0101100 -+131 0 -72 0 +147 0 +76 0 * -Fa -0 8.46572456413321e-006 39 0 - -0111000 -+71 0 * -Ve -9.44122574497723e-006 -156.30832569038 -11.9452235494198 -113.450994755328 -0 0 - -0101101 -* -Ed - 9.44122574497723e-006 1 1 0 -1 112 0 -0.196390937689464 4.25982269870805 -2 130 42 94 -0.196390937689464 4.25982269870805 -2 131 41 0 -0.196390937689464 4.25982269870805 -4 G1 42 94 41 0 -0 - -0101000 -+141 77 -69 77 * -Ed - 9.44122574497723e-006 1 1 0 -1 113 0 0 1 -2 132 46 0 0 1 -2 133 41 0 0 1 -4 G1 46 0 41 0 -0 - -0101000 -+89 77 -69 77 * -Wi - -0101100 -+140 0 -87 0 +68 0 -67 0 * -Fa -0 8.46572457494421e-006 41 0 - -0111000 -+66 0 * -Ve -0.000943654675248751 -176.947266473745 -2.85253191393686 -113.450994755328 -0 0 - -0101101 -* -Ed - 0.000943654675248751 1 1 0 -1 114 0 7.32019404131485 9.21772110861573 -2 134 44 0 7.32019404131485 9.21772110861573 -2 135 42 0 7.32019404131485 9.21772110861573 -0 - -0101000 --64 100 +69 100 * -Ve -0.000943654675248751 -176.947266473745 2.85253191393687 -113.450994755328 -0 0 - -0101101 -* -Ed - 0.000943654675248751 1 1 0 -1 115 0 0 1 -2 136 42 94 0 1 -2 137 47 0 0 1 -0 - -0101000 -+64 77 -62 77 * -Ve -1.360810573056e-007 -163.368146550192 13.8754976926325 -113.450994755328 -0 0 - -0101101 -* -Ed - 1.360810573056e-007 1 1 0 -1 116 0 9.63183481292303 10.9955742875643 -2 138 44 0 9.63183481292303 10.9955742875643 -2 139 42 0 9.63183481292303 10.9955742875643 -0 - -0101000 -+62 100 -60 100 * -Ve -1.360810573056e-007 -163.368146550192 12.8358455746183 -101.567716322295 -0 0 - -0101101 -* -Ed - 1.360810573056e-007 1 1 0 -1 117 0 -11.9286706234803 0 -3 140 141CN 42 0 -11.9286706234803 0 -0 - -0101000 -+60 100 -58 100 * -Ed - 1.360810573056e-007 1 1 0 -1 118 103 4.71238898038469 10.9955742875643 -2 142 42 103 4.71238898038469 10.9955742875643 -0 - -0101100 -+58 104 -58 104 * -Ed - 9.44122540071973e-006 1 1 0 -1 119 0 4.71238898038469 5.24617657304433 -2 143 44 0 4.71238898038469 5.24617657304433 -2 144 42 0 4.71238898038469 5.24617657304433 -0 - -0101000 --81 100 +60 100 * -Wi - -0101000 --63 94 -61 0 -68 0 -59 94 -138 0 -57 94 +136 0 +56 102 +134 0 +57 94 -+72 0 -55 94 * -Fa -0 1.360810573056e-007 42 0 - -0111000 -+54 99 * -Ed - 0.000943654675248751 1 1 0 -1 120 0 0 1 -2 145 44 94 0 1 -2 146 47 0 0 1 -0 - -0101000 -+64 77 -62 77 * -Ed - 9.44122538367212e-006 1 1 0 -1 121 0 0.254079498456579 4.71029313485407 -2 147 44 94 0.254079498456579 4.71029313485407 -2 148 45 0 0.254079498456579 4.71029313485407 -4 G1 44 94 45 0 -0 - -0101000 -+69 77 -119 77 * -Ve -1.360810573056e-007 -163.368146550192 12.8358455746183 -125.334273188361 -0 0 - -0101101 -* -Ed - 1.360810573056e-007 1 1 0 -1 122 0 -11.9286706234803 0 -3 149 150CN 44 0 -11.9286706234803 0 -0 - -0101000 -+60 100 -50 100 * -Ed - 1.360810573056e-007 1 1 0 -1 123 103 4.71238898038469 10.9955742875643 -2 151 44 103 4.71238898038469 10.9955742875643 -0 - -0101100 -+50 104 -50 104 * -Wi - -0101000 --63 94 -52 0 +51 0 -59 94 -118 0 -49 94 +120 0 +48 102 +122 0 +49 94 --79 0 -55 94 * -Fa -0 1.360810573056e-007 44 0 - -0111000 -+47 99 * -Ed - 9.44122574497723e-006 1 1 0 -1 124 0 0 1 -2 152 45 0 0 1 -2 153 46 0 0 1 -4 G1 45 0 46 0 -0 - -0101000 -+91 77 -69 77 * -Wi - -0101100 -+45 0 -90 0 +51 0 -114 0 * -Fa -0 8.46572455147964e-006 45 0 - -0111000 -+44 0 * -Ed - 9.44122574497723e-006 1 1 1 -2 154 46 0 0 1 -0 - -0101000 -+69 77 -69 77 * -Wi - -0101100 -+45 0 -88 0 +42 0 -67 0 * -Fa -0 0.000344966629622244 46 0 - -0111000 -+41 0 * -Ve -0.000255832008039462 -176.20399082704 2.10925632334829 -113.450994755328 -0 0 - -0101101 -* -Ed - 0.000255832008039462 1 1 0 -1 125 0 -1.05115046047106 -3.30488206641277e-017 -3 155 156CN 47 0 -1.05115046047106 -3.30488206641277e-017 -0 - -0101000 -+62 77 -39 77 * -Ed - 0.000255832008039462 1 1 0 -1 126 0 1.5707963267949 7.85398163397448 -2 157 47 0 1.5707963267949 7.85398163397448 -2 158 48 0 1.5707963267949 7.85398163397448 -0 - -0101000 -+39 77 -39 77 * -Wi - -0101000 --38 0 -61 0 +37 0 +52 0 +38 0 * -Fa -0 1.360810573056e-007 47 0 - -0111000 -+36 0 * -Ve -1.360810573056e-007 -163.368146550192 11.3389539118125 -101.567716322295 -0 0 - -0101101 -* -Ed - 1.360810573056e-007 1 1 0 -1 127 0 0 6.28318530717959 -2 159 50 0 0 6.28318530717959 -0 - -0101100 -+34 77 -34 77 * -Wi - -0101100 --33 0 * -Wi - -0101100 -+56 0 * -Fa -0 1.360810573056e-007 49 0 - -0111000 -+32 106 +31 0 * -Ve -1.360810573056e-007 -163.368146550192 11.3389539118125 -125.334273188361 -0 0 - -0101101 -* -Ed - 1.360810573056e-007 1 1 0 -1 128 0 0 6.28318530717959 -2 160 52 0 0 6.28318530717959 -0 - -0101100 -+29 77 -29 77 * -Wi - -0101100 --28 0 * -Wi - -0101100 -+48 0 * -Fa -0 1.360810573056e-007 51 0 - -0111000 -+27 106 +26 0 * -Ve -8.89970115050786e-005 -173.954697851117 2.10925632334829 -113.450994755328 -0 0 - -0101101 -* -Ed - 0.000255832008039462 1 1 0 -1 129 0 10.586551300925 12.8358442768482 -3 161 162CN 48 0 10.586551300925 12.8358442768482 -0 - -0101000 --39 77 +24 77 * -Ve -3.39123294109716e-006 -173.954697851117 -2.10925632334727 -113.450994755328 -0 0 - -0101101 -* -Ed - 3.39123294109716e-006 1 1 0 -1 130 0 0 1 -2 163 48 0 0 1 -2 164 53 0 0 1 -0 - -0101000 -+24 77 -22 77 * -Ed - 8.89970115050786e-005 1 1 0 -1 131 0 0 1 -2 165 48 0 0 1 -2 166 53 0 0 1 -0 - -0101000 -+22 77 -24 77 * -Wi - -0101000 -+23 0 -37 0 -21 0 -23 0 -20 0 * -Fa -0 1.360810573056e-007 48 0 - -0111000 -+19 0 * -Ve -1.360810573056e-007 -163.368146550192 10.7946297150343 -102.112040519073 -0 0 - -0101101 -* -Ed - 1.360810573056e-007 1 1 0 -1 132 0 0 0.769790661411497 -3 167 168C0 50 0 0 0.769790661411497 -0 - -0101000 -+17 77 -34 77 * -Ed - 1.360810573056e-007 1 1 0 -1 133 0 0 6.28318530717959 -2 169 50 0 0 6.28318530717959 -2 170 53 0 0 6.28318530717959 -0 - -0101100 -+17 77 -17 77 * -Wi - -0101100 --16 0 +15 0 -33 0 +16 0 * -Fa -0 1.360810573056e-007 50 0 - -0111000 -+14 0 * -Ve -1.360810573056e-007 -163.368146550192 10.7946297150343 -124.789948991583 -0 0 - -0101101 -* -Ed - 1.360810573056e-007 1 1 0 -1 134 0 -0.769790661411497 0 -3 171 172C0 52 0 -0.769790661411497 0 -0 - -0101000 -+29 77 -12 77 * -Ed - 1.360810573056e-007 1 1 0 -1 135 0 0 6.28318530717959 -2 173 52 0 0 6.28318530717959 -2 174 53 0 0 6.28318530717959 -0 - -0101100 -+12 77 -12 77 * -Wi - -0101100 --11 0 +28 0 -10 0 +11 0 * -Fa -0 1.360810573056e-007 52 0 - -0111000 -+9 0 * -Ed - 1.360810573056e-007 1 1 0 -1 136 0 656.138631847713 678.816540320223 -3 175 176CN 53 0 656.138631847713 678.816540320223 -0 - -0101000 -+17 77 -12 77 * -Wi - -0101000 -+7 0 -15 0 +10 0 -7 0 * -Wi - -0101000 --20 0 -21 0 * -Fa -0 1.360810573056e-007 53 0 - -0111000 -+6 0 +5 0 * -Sh - -0101100 -+281 45 +276 55 -271 56 +264 75 +257 79 -250 79 +245 81 -238 85 +231 81 -228 88 --223 81 +216 88 +209 81 -204 85 -199 81 +190 88 +183 79 +180 88 +175 75 +170 85 --165 79 -160 67 -155 74 +144 75 -126 75 +108 75 -105 81 +102 81 +99 88 +97 81 -+94 88 -92 88 -85 75 +82 91 -77 75 +73 75 -70 75 -65 75 -53 98 +46 98 --43 75 +40 75 +35 75 +30 105 -25 105 +18 75 -13 75 -8 75 -4 75 * -So - -0100000 -+3 0 * -Co - -1100000 -+325 0 +2 0 * - -+1 0 -0 - diff --git a/samples/java/java/data/CylinderHead.rle b/samples/java/java/data/CylinderHead.rle deleted file mode 100755 index ad2cb59998..0000000000 --- a/samples/java/java/data/CylinderHead.rle +++ /dev/null @@ -1,509 +0,0 @@ -DBRep_DrawableShape - -CASCADE Topology V1, (c) Matra-Datavision -Locations 0 -Curve2ds 33 -1 0 0 1 0 -1 0 0 1 0 -1 120 0 0 -1 -1 0 0 0 1 -1 0 -120 1 0 -1 0 0 1 0 -1 0 0 0 -1 -1 0 0 0 1 -2 67.5 -60 1 0 0 1 37.5 -1 4.71238898038469 1.5707963267949 0 -1 -2 67.5 -60 1 0 0 1 37.5 -1 1.5707963267949 -4.71238898038469 0 1 -1 1.5707963267949 -4.71238898038469 0 1 -1 0 0 0 1 -1 0 0 1 0 -1 0 0 1 0 -1 0 60 1 0 -1 120 0 0 1 -1 0 0 1 0 -1 120 0 0 1 -1 0 120 1 0 -1 120 0 0 -1 -1 60 0 0 1 -1 0 0 0 1 -1 0 120 1 0 -1 0 -120 1 0 -1 0 60 1 0 -1 0 0 0 -1 -1 60 0 0 1 -1 0 -1.5707963267949 1 0 -1 6.28318530717959 -6.28318530717959 0 1 -1 0 -6.28318530717959 0 1 -1 0 1.5707963267949 1 0 -Curves 15 -1 210 -60 -180 0 0 1 -1 210 -60 -60 0 1 0 -1 210 60 -180 0 0 1 -1 210 -60 -180 0 1 0 -8 0 3.14159265358979 -2 210 0 -112.5 1 0 0 0 0 1 0 -1 0 37.5 -8 3.14159265358979 6.28318530717959 -2 210 0 -112.5 1 0 0 0 0 1 0 -1 0 37.5 -1 210 -60 -180 1 0 0 -1 270 -60 -180 0 0 1 -1 210 -60 -60 1 0 0 -1 210 60 -60 1 0 0 -1 270 -60 -60 0 1 0 -1 210 60 -180 1 0 0 -1 270 60 -180 0 0 1 -1 270 -60 -180 0 1 0 -2 210 0 -112.5 -2.44921270764475e-016 -1 0 1 -2.44921270764475e-016 0 0 0 1 37.5 -Polygon3D 0 -PolygonOnTriangulations 34 -2 1 2 -p 0.4800000008 1 0 120 -2 1 4 -p 0.4800000008 1 0 120 -2 2 3 -p 0.4800000008 1 0 120 -2 1 2 -p 0.4800000008 1 0 120 -2 4 3 -p 0.4800000008 1 0 120 -2 1 4 -p 0.4800000008 1 0 120 -2 1 4 -p 0.4800000008 1 0 120 -2 1 2 -p 0.4800000008 1 0 120 -14 5 7 8 9 10 11 12 13 14 15 16 17 18 6 -p 0.4800000008 1 0 0.241660973353061 0.483321946706122 0.724982920059183 0.966643893412244 1.2083048667653 1.44996584011837 1.69162681347143 1.93328778682449 2.17494876017755 2.41660973353061 2.65827070688367 2.89993168023673 3.14159265358979 -14 1 2 3 4 5 6 7 8 9 10 11 12 13 14 -p 0.4800000008 1 0 0.241660973353061 0.483321946706122 0.724982920059183 0.966643893412244 1.2083048667653 1.44996584011837 1.69162681347143 1.93328778682449 2.17494876017755 2.41660973353061 2.65827070688367 2.89993168023673 3.14159265358979 -14 6 19 20 21 22 23 24 25 26 27 28 29 30 5 -p 0.4800000008 1 3.14159265358979 3.38325362694285 3.62491460029591 3.86657557364898 4.10823654700204 4.3498975203551 4.59155849370816 4.83321946706122 5.07488044041428 5.31654141376734 5.5582023871204 5.79986336047346 6.04152433382652 6.28318530717959 -14 17 18 19 20 21 22 23 24 25 26 27 28 29 2 -p 0.4800000008 1 3.14159265358979 3.38325362694285 3.62491460029591 3.86657557364898 4.10823654700204 4.3498975203551 4.59155849370816 4.83321946706122 5.07488044041428 5.31654141376734 5.5582023871204 5.79986336047346 6.04152433382652 6.28318530717959 -2 1 2 -p 0.4800000008 1 0 60 -2 1 4 -p 0.4800000008 1 0 60 -2 2 3 -p 0.4800000008 1 0 120 -2 1 2 -p 0.4800000008 1 0 120 -2 4 3 -p 0.4800000008 1 0 60 -2 1 4 -p 0.4800000008 1 0 60 -2 2 3 -p 0.4800000008 1 0 60 -2 4 3 -p 0.4800000008 1 0 60 -2 4 3 -p 0.4800000008 1 0 120 -2 2 3 -p 0.4800000008 1 0 120 -2 1 2 -p 0.4800000008 1 0 60 -2 2 3 -p 0.4800000008 1 0 60 -2 2 3 -p 0.4800000008 1 0 120 -2 4 3 -p 0.4800000008 1 0 120 -2 4 3 -p 0.4800000008 1 0 120 -2 1 4 -p 0.4800000008 1 0 120 -2 14 15 -p 0.4800000008 1 4.71238898038469 6.28318530717959 -15 15 17 18 19 20 21 22 23 24 25 26 27 28 29 16 -p 0.4800000008 1 4.71238898038469 4.93866315055295 5.1649373207212 5.39121149088946 5.61748566105772 5.84375983122598 6.07003400139423 6.29630817156249 6.52258234173075 6.74885651189901 6.97513068206726 7.20140485223552 7.42767902240378 7.64083032818913 7.85398163397448 -15 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 -p 0.4800000008 1 4.71238898038469 4.93866315055295 5.1649373207212 5.39121149088946 5.61748566105772 5.84375983122598 6.07003400139423 6.29630817156249 6.52258234173075 6.74885651189901 6.97513068206726 7.20140485223552 7.42767902240378 7.64083032818913 7.85398163397448 -2 1 16 -p 0.4800000008 1 4.71238898038469 6.28318530717959 -2 1 2 -p 0.4800000008 1 0 1.5707963267949 -2 3 17 -p 0.4800000008 1 0 1.5707963267949 -Surfaces 7 -1 210 -60 -180 1 0 0 0 0 1 0 -1 0 -1 210 -60 -180 0 1 0 0 0 1 1 0 0 -1 210 -60 -60 0 0 1 1 0 0 0 1 0 -1 210 60 -180 0 1 0 0 0 1 1 0 0 -1 210 -60 -180 0 0 1 1 0 0 0 1 0 -4 210 0 -112.5 0 0 1 1 0 0 0 1 0 37.5 -1 270 -60 -180 1 0 0 0 0 1 0 -1 0 -Triangulations 8 -30 30 1 0.4800000008 -210 -60 -180 210 -60 -60 210 60 -60 210 60 -180 210 0 -75 210 0 -150 210 -8.97433741078342 -76.0896818465231 210 -17.4271189516413 -79.2953990380046 210 -24.8670996840298 -84.4308469435837 210 -30.8618949710121 -91.1975719975817 210 -35.0631091007031 -99.2023167359049 210 -37.226582778677 -107.979874490425 210 -37.226582778677 -117.020125509575 210 -35.0631091007031 -125.797683264095 210 -30.8618949710121 -133.802428002418 210 -24.8670996840298 -140.569153056416 210 -17.4271189516413 -145.704600961995 210 -8.97433741078345 -148.910318153477 210 8.97433741078341 -148.910318153477 210 17.4271189516413 -145.704600961995 210 24.8670996840298 -140.569153056416 210 30.8618949710121 -133.802428002418 210 35.063109100703 -125.797683264095 210 37.226582778677 -117.020125509575 210 37.226582778677 -107.979874490425 210 35.0631091007031 -99.202316735905 210 30.8618949710122 -91.1975719975817 210 24.8670996840299 -84.4308469435838 210 17.4271189516414 -79.2953990380047 210 8.97433741078352 -76.0896818465231 0 0 120 0 120 -120 0 -120 105 -60 30 -60 103.910318153477 -51.0256625892166 100.704600961995 -42.5728810483587 95.5691530564163 -35.1329003159702 88.8024280024183 -29.1381050289879 80.7976832640951 -24.9368908992969 72.0201255095746 -22.773417221323 62.9798744904254 -22.773417221323 54.2023167359049 -24.9368908992969 46.1975719975817 -29.1381050289879 39.4308469435837 -35.1329003159702 34.2953990380046 -42.5728810483587 31.0896818465231 -51.0256625892166 31.089681846523 -68.9743374107834 34.2953990380046 -77.4271189516413 39.4308469435837 -84.8670996840298 46.1975719975816 -90.8618949710121 54.2023167359049 -95.063109100703 62.9798744904253 -97.226582778677 72.0201255095746 -97.226582778677 80.797683264095 -95.0631091007031 88.8024280024183 -90.8618949710122 95.5691530564162 -84.8670996840299 100.704600961995 -77.4271189516414 103.910318153477 -68.9743374107835 24 4 3 3 2 5 1 4 6 5 2 7 7 2 8 8 2 9 9 2 10 10 2 11 13 2 1 2 12 11 2 13 12 13 1 14 14 1 15 15 1 16 16 1 17 17 1 18 1 6 18 6 4 19 19 4 20 20 4 21 21 4 22 23 4 24 22 4 23 3 25 24 3 26 25 3 27 26 3 28 27 3 29 28 3 30 29 3 5 30 -4 2 1 0.4800000008 -210 -60 -180 270 -60 -180 270 -60 -60 210 -60 -60 0 0 0 60 120 60 120 0 1 3 2 1 4 3 -4 2 1 0.4800000008 -210 -60 -60 210 60 -60 270 60 -60 270 -60 -60 0 0 0 120 60 120 60 0 1 3 2 3 1 4 -4 2 1 0.4800000008 -210 60 -180 270 60 -180 270 60 -60 210 60 -60 0 0 0 60 120 60 120 0 1 3 2 1 4 3 -4 2 1 0.4800000008 -210 -60 -180 210 60 -180 270 60 -180 270 -60 -180 0 0 0 120 60 120 60 0 1 3 2 3 1 4 -109 187 1 0.4800000008 -210 0 -75 210 -8.97433741078342 -76.0896818465231 210 -17.4271189516413 -79.2953990380046 210 -24.8670996840298 -84.4308469435837 210 -30.8618949710121 -91.1975719975817 210 -35.0631091007031 -99.2023167359049 210 -37.226582778677 -107.979874490425 210 -37.226582778677 -117.020125509575 210 -35.0631091007031 -125.797683264095 210 -30.8618949710121 -133.802428002418 210 -24.8670996840298 -140.569153056416 210 -17.4271189516413 -145.704600961995 210 -8.97433741078345 -148.910318153477 210 0 -150 210 0 -150 210 0 -75 218.413058784729 -2.06053704857212e-015 -149.044089014295 226.397203685954 -4.01602396374782e-015 -146.22509023385 233.545387673139 -5.76676626954738e-015 -141.686721626822 239.493182607553 -7.22350776313065e-015 -135.660357935004 243.937358488209 -8.31198096732168e-015 -128.45323474543 246.651342699281 -8.97669342913208e-015 -120.432785030485 247.496771116907 -9.1837568315176e-015 -112.007906709787 246.43054217778 -8.92261468482075e-015 -103.608116249468 243.507014279563 -8.20658051687397e-015 -95.6616510883885 238.875234485451 -7.07215912379891e-015 -88.5736372716158 232.771339818835 -5.57718548543873e-015 -82.7054353471116 225.506518544642 -3.79787622708669e-015 -78.356217511461 217.932785030485 -1.94290779036789e-015 -75.8486573007194 212.017931448116 -7.53102269056131 -149.180535027518 213.898344202833 -6.75213022469833 -149.180535027518 215.513091242445 -5.51309124244495 -149.180535027518 216.752130224698 -3.898344202833 -149.180535027518 217.531022690561 -2.01793144811638 -149.180535027518 213.947669608841 -14.7329035516888 -146.757954661598 217.626312057671 -13.2091599582618 -146.757954661598 220.785233942848 -10.7852339428482 -146.757954661598 223.209159958262 -7.62631205767128 -146.757954661598 224.732903551689 -3.94766960884066 -146.757954661598 214.90479462397 -21.4893093310788 -142.838137289061 219.563642364856 -19.8591079997883 -142.838137289061 223.742929143274 -17.2330880689751 -142.838137289061 227.233088068975 -13.7429291432745 -142.838137289061 229.859107999788 -9.56364236485559 -142.838137289061 231.489309331079 -4.90479462397009 -142.838137289061 216.201198023626 -27.1692237431776 -137.592397738457 222.0914420844 -25.1081382036716 -137.592397738457 227.375370749597 -21.7880257721789 -137.592397738457 231.788025772179 -17.3753707495966 -137.592397738457 235.108138203672 -12.0914420843999 -137.592397738457 237.169223743178 -6.20119802362621 -137.592397738457 217.226579313 -31.6617127052994 -131.25 224.090787763679 -29.25982228584 -131.25 230.248425277882 -25.3907221985911 -131.25 235.390722198591 -20.2484252778821 -131.25 239.25982228584 -14.0907877636795 -131.25 241.661712705299 -7.22657931300029 -131.25 217.936124409421 -34.7704328924457 -124.088137289061 225.474298402585 -32.1327117299124 -124.088137289061 232.2365264588 -27.883722226722 -124.088137289061 237.883722226722 -22.2365264587996 -124.088137289061 242.132711729912 -15.4742984025848 -124.088137289061 244.770432892446 -7.93612440942137 -124.088137289061 218.298822787401 -36.3595183151438 -116.419817372537 226.181507947375 -33.6012474815296 -116.419817372537 233.252784730775 -29.158069792601 -116.419817372537 239.158069792601 -23.2527847307751 -116.419817372537 243.60124748153 -16.181507947375 -116.419817372537 246.359518315144 -8.29882278740071 -116.419817372537 218.298822787401 -36.3595183151438 -108.580182627463 226.181507947375 -33.6012474815296 -108.580182627463 233.252784730775 -29.158069792601 -108.580182627463 239.158069792601 -23.2527847307751 -108.580182627463 243.60124748153 -16.181507947375 -108.580182627463 246.359518315144 -8.29882278740071 -108.580182627463 217.936124409421 -34.7704328924457 -100.911862710939 225.474298402585 -32.1327117299124 -100.911862710939 232.2365264588 -27.883722226722 -100.911862710939 237.883722226722 -22.2365264587996 -100.911862710939 242.132711729912 -15.4742984025848 -100.911862710939 244.770432892446 -7.93612440942137 -100.911862710939 217.226579313 -31.6617127052994 -93.75 224.090787763679 -29.25982228584 -93.75 230.248425277882 -25.3907221985911 -93.75 235.390722198591 -20.2484252778821 -93.75 239.25982228584 -14.0907877636795 -93.75 241.661712705299 -7.22657931300029 -93.75 216.201198023626 -27.1692237431776 -87.4076022615428 222.0914420844 -25.1081382036716 -87.4076022615428 227.375370749597 -21.7880257721789 -87.4076022615428 231.788025772179 -17.3753707495966 -87.4076022615428 235.108138203672 -12.0914420843999 -87.4076022615428 237.169223743178 -6.20119802362621 -87.4076022615428 214.90479462397 -21.4893093310788 -82.1618627109395 219.563642364856 -19.8591079997883 -82.1618627109395 223.742929143274 -17.2330880689751 -82.1618627109395 227.233088068975 -13.7429291432745 -82.1618627109395 229.859107999788 -9.56364236485559 -82.1618627109395 231.489309331079 -4.90479462397009 -82.1618627109395 213.947669608841 -14.7329035516888 -78.2420453384025 217.626312057671 -13.2091599582618 -78.2420453384025 220.785233942848 -10.7852339428482 -78.2420453384025 223.209159958262 -7.62631205767128 -78.2420453384025 224.732903551689 -3.94766960884066 -78.2420453384025 212.017931448116 -7.53102269056131 -75.8194649724823 213.898344202833 -6.75213022469833 -75.8194649724823 215.513091242445 -5.51309124244495 -75.8194649724823 216.752130224698 -3.898344202833 -75.8194649724823 217.531022690561 -2.01793144811638 -75.8194649724823 4.71238898038469 1.5707963267949 4.71238898038469 1.32913535344184 4.71238898038469 1.08747438008877 4.71238898038469 0.845813406735714 4.71238898038469 0.604152433382652 4.71238898038469 0.362491460029592 4.71238898038469 0.120830486676531 4.71238898038469 -0.12083048667653 4.71238898038469 -0.362491460029591 4.71238898038469 -0.604152433382652 4.71238898038469 -0.845813406735713 4.71238898038469 -1.08747438008877 4.71238898038469 -1.32913535344183 4.71238898038469 -1.5707963267949 6.28318530717959 -1.5707963267949 6.28318530717959 1.5707963267949 6.28318530717959 -1.34452215662664 6.28318530717959 -1.11824798645838 6.28318530717959 -0.891973816290125 6.28318530717959 -0.665699646121867 6.28318530717959 -0.43942547595361 6.28318530717959 -0.213151305785352 6.28318530717959 0.0131228643829049 6.28318530717959 0.239397034551162 6.28318530717959 0.46567120471942 6.28318530717959 0.691945374887677 6.28318530717959 0.918219545055934 6.28318530717959 1.14449371522419 6.28318530717959 1.35764502100954 4.97418836818384 -1.36135681655558 5.23598775598299 -1.36135681655558 5.49778714378214 -1.36135681655558 5.75958653158129 -1.36135681655558 6.02138591938044 -1.36135681655558 4.97418836818384 -1.15191730631626 5.23598775598299 -1.15191730631626 5.49778714378214 -1.15191730631626 5.75958653158129 -1.15191730631626 6.02138591938044 -1.15191730631626 4.9367884556411 -0.942477796076938 5.16118793089752 -0.942477796076938 5.38558740615393 -0.942477796076938 5.60998688141034 -0.942477796076938 5.83438635666676 -0.942477796076938 6.05878583192317 -0.942477796076938 4.9367884556411 -0.733038285837618 5.16118793089752 -0.733038285837618 5.38558740615393 -0.733038285837618 5.60998688141034 -0.733038285837618 5.83438635666676 -0.733038285837618 6.05878583192317 -0.733038285837618 4.9367884556411 -0.523598775598299 5.16118793089752 -0.523598775598299 5.38558740615393 -0.523598775598299 5.60998688141034 -0.523598775598299 5.83438635666676 -0.523598775598299 6.05878583192317 -0.523598775598299 4.9367884556411 -0.314159265358979 5.16118793089752 -0.314159265358979 5.38558740615393 -0.314159265358979 5.60998688141034 -0.314159265358979 5.83438635666676 -0.314159265358979 6.05878583192317 -0.314159265358979 4.9367884556411 -0.10471975511966 5.16118793089752 -0.10471975511966 5.38558740615393 -0.10471975511966 5.60998688141034 -0.10471975511966 5.83438635666676 -0.10471975511966 6.05878583192317 -0.10471975511966 4.9367884556411 0.10471975511966 5.16118793089752 0.10471975511966 5.38558740615393 0.10471975511966 5.60998688141034 0.10471975511966 5.83438635666676 0.10471975511966 6.05878583192317 0.10471975511966 4.9367884556411 0.314159265358979 5.16118793089752 0.314159265358979 5.38558740615393 0.314159265358979 5.60998688141034 0.314159265358979 5.83438635666676 0.314159265358979 6.05878583192317 0.314159265358979 4.9367884556411 0.523598775598299 5.16118793089752 0.523598775598299 5.38558740615393 0.523598775598299 5.60998688141034 0.523598775598299 5.83438635666676 0.523598775598299 6.05878583192317 0.523598775598299 4.9367884556411 0.733038285837618 5.16118793089752 0.733038285837618 5.38558740615393 0.733038285837618 5.60998688141034 0.733038285837618 5.83438635666676 0.733038285837618 6.05878583192317 0.733038285837618 4.9367884556411 0.942477796076938 5.16118793089752 0.942477796076938 5.38558740615393 0.942477796076938 5.60998688141034 0.942477796076938 5.83438635666676 0.942477796076938 6.05878583192317 0.942477796076938 4.97418836818384 1.15191730631626 5.23598775598299 1.15191730631626 5.49778714378214 1.15191730631626 5.75958653158129 1.15191730631626 6.02138591938044 1.15191730631626 4.97418836818384 1.36135681655558 5.23598775598299 1.36135681655558 5.49778714378214 1.36135681655558 5.75958653158129 1.36135681655558 6.02138591938044 1.36135681655558 20 51 19 107 1 106 44 39 45 66 71 65 71 77 76 38 44 43 52 53 58 44 38 39 46 47 52 37 43 42 41 35 36 29 109 104 32 36 31 42 41 36 31 35 30 42 47 41 31 36 35 38 43 37 13 30 35 40 11 12 37 42 36 11 40 46 82 83 88 17 39 34 32 31 14 38 34 39 18 45 39 34 38 33 21 57 20 96 101 95 37 33 38 32 37 36 13 14 30 46 40 41 95 100 94 40 35 41 37 32 33 48 53 47 35 12 13 53 54 59 12 35 40 59 60 65 15 17 34 65 70 64 33 15 34 71 70 65 18 39 17 71 76 70 32 15 33 82 76 77 18 19 45 82 77 83 1 107 16 83 89 88 14 31 30 101 102 106 88 89 94 96 97 102 14 15 32 10 46 52 46 10 11 41 47 46 48 42 43 42 48 47 43 44 49 43 49 48 22 63 21 49 44 50 45 50 44 50 45 51 19 51 45 9 52 58 52 9 10 47 53 52 48 49 54 48 54 53 49 50 55 49 55 54 23 69 22 55 50 56 51 56 50 56 51 57 20 57 51 8 58 64 58 8 9 53 59 58 55 60 54 54 60 59 55 56 61 55 61 60 24 75 23 61 56 62 57 62 56 62 57 63 21 63 57 64 70 8 58 59 64 59 65 64 60 61 66 60 66 65 67 61 62 61 67 66 25 81 24 67 62 68 63 68 62 68 63 69 22 69 63 7 70 76 70 7 8 66 67 72 72 77 71 66 72 71 73 67 68 67 73 72 81 75 24 73 68 74 69 74 68 74 69 75 23 75 69 6 76 82 76 6 7 72 73 78 78 83 77 72 78 77 79 73 74 73 79 78 87 81 25 79 74 80 75 80 74 87 25 26 75 81 80 5 82 88 82 5 6 84 78 79 84 89 83 78 84 83 85 79 80 79 85 84 93 87 26 85 80 86 81 86 80 93 26 27 81 87 86 4 88 94 88 4 5 90 84 85 90 95 89 84 90 89 91 85 86 85 91 90 27 99 93 91 86 92 87 92 86 99 27 28 87 93 92 3 94 100 94 3 4 89 95 94 90 91 96 90 96 95 97 91 92 91 97 96 28 104 99 97 92 98 93 98 92 104 28 29 93 99 98 2 100 105 100 2 3 101 100 95 105 106 1 96 102 101 103 97 98 97 103 102 104 98 99 109 29 16 104 103 98 2 105 1 100 101 105 101 106 105 107 102 103 102 107 106 108 16 107 107 103 108 104 108 103 16 108 109 104 109 108 -109 187 1 0.4800000008 -210 0 -75 210 0 -75 210 0 -150 218.413058784729 -2.06053704857212e-015 -149.044089014295 226.397203685954 -4.01602396374782e-015 -146.22509023385 233.545387673139 -5.76676626954738e-015 -141.686721626822 239.493182607553 -7.22350776313065e-015 -135.660357935004 243.937358488209 -8.31198096732168e-015 -128.45323474543 246.651342699281 -8.97669342913208e-015 -120.432785030485 247.496771116907 -9.1837568315176e-015 -112.007906709787 246.43054217778 -8.92261468482075e-015 -103.608116249468 243.507014279563 -8.20658051687397e-015 -95.6616510883885 238.875234485451 -7.07215912379891e-015 -88.5736372716158 232.771339818835 -5.57718548543873e-015 -82.7054353471116 225.506518544642 -3.79787622708669e-015 -78.356217511461 217.932785030485 -1.94290779036789e-015 -75.8486573007194 210 0 -150 210 8.97433741078341 -148.910318153477 210 17.4271189516413 -145.704600961995 210 24.8670996840298 -140.569153056416 210 30.8618949710121 -133.802428002418 210 35.063109100703 -125.797683264095 210 37.226582778677 -117.020125509575 210 37.226582778677 -107.979874490425 210 35.0631091007031 -99.202316735905 210 30.8618949710122 -91.1975719975817 210 24.8670996840299 -84.4308469435838 210 17.4271189516414 -79.2953990380047 210 8.97433741078352 -76.0896818465231 217.531022690561 2.01793144811636 -149.180535027518 216.752130224698 3.89834420283299 -149.180535027518 215.513091242445 5.51309124244495 -149.180535027518 213.898344202833 6.75213022469833 -149.180535027518 212.017931448116 7.53102269056131 -149.180535027518 224.732903551689 3.94766960884063 -146.757954661598 223.209159958262 7.62631205767126 -146.757954661598 220.785233942848 10.7852339428482 -146.757954661598 217.626312057671 13.2091599582618 -146.757954661598 213.947669608841 14.7329035516888 -146.757954661598 231.489309331079 4.90479462397009 -142.838137289061 229.859107999788 9.56364236485558 -142.838137289061 227.233088068975 13.7429291432745 -142.838137289061 223.742929143274 17.2330880689751 -142.838137289061 219.563642364856 19.8591079997883 -142.838137289061 214.90479462397 21.4893093310788 -142.838137289061 237.169223743178 6.2011980236262 -137.592397738457 235.108138203672 12.0914420843999 -137.592397738457 231.788025772179 17.3753707495966 -137.592397738457 227.375370749597 21.7880257721789 -137.592397738457 222.0914420844 25.1081382036716 -137.592397738457 216.201198023626 27.1692237431776 -137.592397738457 241.661712705299 7.22657931300028 -131.25 239.25982228584 14.0907877636794 -131.25 235.390722198591 20.2484252778821 -131.25 230.248425277882 25.3907221985911 -131.25 224.090787763679 29.25982228584 -131.25 217.226579313 31.6617127052994 -131.25 244.770432892446 7.93612440942136 -124.088137289061 242.132711729912 15.4742984025848 -124.088137289061 237.883722226722 22.2365264587996 -124.088137289061 232.2365264588 27.883722226722 -124.088137289061 225.474298402585 32.1327117299124 -124.088137289061 217.936124409421 34.7704328924457 -124.088137289061 246.359518315144 8.29882278740071 -116.419817372537 243.60124748153 16.181507947375 -116.419817372537 239.158069792601 23.2527847307751 -116.419817372537 233.252784730775 29.1580697926009 -116.419817372537 226.181507947375 33.6012474815295 -116.419817372537 218.298822787401 36.3595183151438 -116.419817372537 246.359518315144 8.29882278740071 -108.580182627463 243.60124748153 16.181507947375 -108.580182627463 239.158069792601 23.2527847307751 -108.580182627463 233.252784730775 29.1580697926009 -108.580182627463 226.181507947375 33.6012474815295 -108.580182627463 218.298822787401 36.3595183151438 -108.580182627463 244.770432892446 7.93612440942136 -100.911862710939 242.132711729912 15.4742984025848 -100.911862710939 237.883722226722 22.2365264587996 -100.911862710939 232.2365264588 27.883722226722 -100.911862710939 225.474298402585 32.1327117299124 -100.911862710939 217.936124409421 34.7704328924457 -100.911862710939 241.661712705299 7.22657931300028 -93.75 239.25982228584 14.0907877636794 -93.75 235.390722198591 20.2484252778821 -93.75 230.248425277882 25.3907221985911 -93.75 224.090787763679 29.25982228584 -93.75 217.226579313 31.6617127052994 -93.75 237.169223743178 6.2011980236262 -87.4076022615428 235.108138203672 12.0914420843999 -87.4076022615428 231.788025772179 17.3753707495966 -87.4076022615428 227.375370749597 21.7880257721789 -87.4076022615428 222.0914420844 25.1081382036716 -87.4076022615428 216.201198023626 27.1692237431776 -87.4076022615428 231.489309331079 4.90479462397009 -82.1618627109395 229.859107999788 9.56364236485558 -82.1618627109395 227.233088068975 13.7429291432745 -82.1618627109395 223.742929143274 17.2330880689751 -82.1618627109395 219.563642364856 19.8591079997883 -82.1618627109395 214.90479462397 21.4893093310788 -82.1618627109395 224.732903551689 3.94766960884063 -78.2420453384025 223.209159958262 7.62631205767126 -78.2420453384025 220.785233942848 10.7852339428482 -78.2420453384025 217.626312057671 13.2091599582618 -78.2420453384025 213.947669608841 14.7329035516888 -78.2420453384025 217.531022690561 2.01793144811636 -75.8194649724823 216.752130224698 3.89834420283299 -75.8194649724823 215.513091242445 5.51309124244495 -75.8194649724823 213.898344202833 6.75213022469833 -75.8194649724823 212.017931448116 7.53102269056131 -75.8194649724823 0 1.5707963267949 1.5707963267949 1.5707963267949 0 -1.5707963267949 0 -1.34452215662664 0 -1.11824798645838 0 -0.891973816290125 0 -0.665699646121867 0 -0.43942547595361 0 -0.213151305785352 0 0.0131228643829049 0 0.239397034551162 0 0.46567120471942 0 0.691945374887677 0 0.918219545055934 0 1.14449371522419 0 1.35764502100954 1.5707963267949 -1.5707963267949 1.5707963267949 -1.32913535344184 1.5707963267949 -1.08747438008878 1.5707963267949 -0.845813406735715 1.5707963267949 -0.604152433382653 1.5707963267949 -0.362491460029593 1.5707963267949 -0.120830486676532 1.5707963267949 0.120830486676529 1.5707963267949 0.36249146002959 1.5707963267949 0.604152433382651 1.5707963267949 0.845813406735711 1.5707963267949 1.08747438008877 1.5707963267949 1.32913535344183 0.261799387799149 -1.36135681655558 0.523598775598299 -1.36135681655558 0.785398163397448 -1.36135681655558 1.0471975511966 -1.36135681655558 1.30899693899575 -1.36135681655558 0.261799387799149 -1.15191730631626 0.523598775598299 -1.15191730631626 0.785398163397448 -1.15191730631626 1.0471975511966 -1.15191730631626 1.30899693899575 -1.15191730631626 0.224399475256414 -0.942477796076938 0.448798950512828 -0.942477796076938 0.673198425769241 -0.942477796076938 0.897597901025655 -0.942477796076938 1.12199737628207 -0.942477796076938 1.34639685153848 -0.942477796076938 0.224399475256414 -0.733038285837618 0.448798950512828 -0.733038285837618 0.673198425769241 -0.733038285837618 0.897597901025655 -0.733038285837618 1.12199737628207 -0.733038285837618 1.34639685153848 -0.733038285837618 0.224399475256414 -0.523598775598299 0.448798950512828 -0.523598775598299 0.673198425769241 -0.523598775598299 0.897597901025655 -0.523598775598299 1.12199737628207 -0.523598775598299 1.34639685153848 -0.523598775598299 0.224399475256414 -0.314159265358979 0.448798950512828 -0.314159265358979 0.673198425769241 -0.314159265358979 0.897597901025655 -0.314159265358979 1.12199737628207 -0.314159265358979 1.34639685153848 -0.314159265358979 0.224399475256414 -0.10471975511966 0.448798950512828 -0.10471975511966 0.673198425769241 -0.10471975511966 0.897597901025655 -0.10471975511966 1.12199737628207 -0.10471975511966 1.34639685153848 -0.10471975511966 0.224399475256414 0.10471975511966 0.448798950512828 0.10471975511966 0.673198425769241 0.10471975511966 0.897597901025655 0.10471975511966 1.12199737628207 0.10471975511966 1.34639685153848 0.10471975511966 0.224399475256414 0.314159265358979 0.448798950512828 0.314159265358979 0.673198425769241 0.314159265358979 0.897597901025655 0.314159265358979 1.12199737628207 0.314159265358979 1.34639685153848 0.314159265358979 0.224399475256414 0.523598775598299 0.448798950512828 0.523598775598299 0.673198425769241 0.523598775598299 0.897597901025655 0.523598775598299 1.12199737628207 0.523598775598299 1.34639685153848 0.523598775598299 0.224399475256414 0.733038285837618 0.448798950512828 0.733038285837618 0.673198425769241 0.733038285837618 0.897597901025655 0.733038285837618 1.12199737628207 0.733038285837618 1.34639685153848 0.733038285837618 0.224399475256414 0.942477796076938 0.448798950512828 0.942477796076938 0.673198425769241 0.942477796076938 0.897597901025655 0.942477796076938 1.12199737628207 0.942477796076938 1.34639685153848 0.942477796076938 0.261799387799149 1.15191730631626 0.523598775598299 1.15191730631626 0.785398163397448 1.15191730631626 1.0471975511966 1.15191730631626 1.30899693899575 1.15191730631626 0.261799387799149 1.36135681655558 0.523598775598299 1.36135681655558 0.785398163397448 1.36135681655558 1.0471975511966 1.36135681655558 1.30899693899575 1.36135681655558 58 59 64 38 33 34 37 33 38 22 57 21 38 34 39 3 30 4 3 17 32 65 70 64 3 31 30 3 32 31 35 4 30 17 33 32 42 36 37 19 39 18 4 35 5 20 45 19 40 6 5 33 17 34 36 31 32 17 18 34 40 35 41 35 40 5 46 47 52 30 31 35 59 58 53 37 32 33 70 71 76 52 53 58 83 77 78 32 37 36 95 89 90 29 109 104 95 100 94 18 39 34 97 102 96 19 45 39 31 36 35 44 39 45 46 40 41 21 51 20 46 41 47 38 44 43 52 47 53 38 39 44 101 102 106 37 43 42 96 101 95 1 106 107 65 66 71 42 41 36 71 72 77 42 47 41 76 77 82 43 37 38 83 84 89 36 41 35 82 83 88 40 46 6 88 89 94 7 46 52 46 7 6 42 43 48 48 53 47 42 48 47 49 43 44 43 49 48 57 51 21 49 44 50 45 50 44 50 45 51 20 51 45 8 52 58 52 8 7 54 48 49 54 59 53 48 54 53 55 49 50 49 55 54 63 57 22 55 50 56 51 56 50 63 22 23 51 57 56 9 58 64 58 9 8 60 54 55 60 65 59 54 60 59 61 55 56 55 61 60 23 69 63 61 56 62 57 62 56 69 23 24 57 63 62 10 64 70 64 10 9 59 65 64 66 60 61 60 66 65 67 61 62 61 67 66 1 107 2 67 62 68 63 68 62 24 25 81 63 69 68 11 70 76 70 11 10 65 71 70 72 66 67 66 72 71 67 68 73 67 73 72 26 87 25 73 68 74 69 74 68 74 69 75 69 24 75 12 76 82 76 12 11 71 77 76 78 72 73 72 78 77 73 74 79 73 79 78 27 93 26 79 74 80 75 80 74 80 75 81 24 81 75 13 82 88 82 13 12 77 83 82 78 79 84 78 84 83 79 80 85 79 85 84 28 99 27 85 80 86 81 86 80 86 81 87 25 87 81 14 88 94 88 14 13 83 89 88 84 85 90 84 90 89 91 85 86 85 91 90 29 104 28 91 86 92 87 92 86 92 87 93 26 93 87 15 94 100 94 15 14 89 95 94 90 91 96 90 96 95 97 91 92 91 97 96 2 109 29 97 92 98 93 98 92 98 93 99 27 99 93 16 100 105 100 16 15 101 100 95 105 106 1 96 102 101 103 97 98 97 103 102 104 98 99 98 104 103 28 104 99 16 105 1 100 101 105 101 106 105 107 102 103 102 107 106 108 2 107 107 103 108 104 108 103 2 108 109 104 109 108 -4 2 1 0.4800000008 -270 -60 -180 270 -60 -60 270 60 -60 270 60 -180 0 0 120 0 120 -120 0 -120 1 3 2 3 1 4 - -TShapes 49 -Ve -1e-007 -210 -60 -60 -0 0 - -0101101 -* -Ve -1e-007 -210 -60 -180 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 1 0 0 120 -2 1 1 0 0 120 -2 2 2 0 0 120 -6 1 1 0 -6 2 2 0 -0 - -0101000 --49 0 +48 0 * -Ve -1e-007 -210 60 -60 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 2 0 0 120 -2 3 1 0 0 120 -2 4 3 0 0 120 -6 3 1 0 -6 4 3 0 -0 - -0101000 --46 0 +49 0 * -Ve -1e-007 -210 60 -180 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 3 0 0 120 -2 5 1 0 0 120 -2 6 4 0 0 120 -6 5 1 0 -6 6 4 0 -0 - -0101000 --46 0 +44 0 * -Ed - 1e-007 1 1 0 -1 4 0 0 120 -2 7 1 0 0 120 -2 8 5 0 0 120 -6 7 1 0 -6 8 5 0 -0 - -0101000 --44 0 +48 0 * -Wi - -0101000 --47 0 -45 0 +43 0 +42 0 * -Ve -3.74999999999999e-007 -210 0 -75 -0 0 - -0101101 -* -Ve -3.74999999999999e-007 -210 0 -150 -0 0 - -0101101 -* -Ed - 3.74999999999999e-007 1 1 0 -1 5 0 0 3.14159265358979 -2 9 1 0 0 3.14159265358979 -3 10 10C0 6 0 0 3.14159265358979 -6 9 1 0 -6 10 6 0 -0 - -0101000 -+40 0 -39 0 * -Ed - 3.74999999999999e-007 1 1 0 -1 6 0 3.14159265358979 6.28318530717959 -2 11 1 0 3.14159265358979 6.28318530717959 -3 12 13C0 6 0 3.14159265358979 6.28318530717959 -6 11 1 0 -6 12 7 0 -0 - -0101000 -+39 0 -40 0 * -Wi - -0101000 --38 0 -37 0 * -Fa -0 1e-007 1 0 -2 1 -0101000 -+41 0 +36 0 * -Ve -1e-007 -270 -60 -180 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 7 0 0 60 -2 14 2 0 0 60 -2 15 5 0 0 60 -6 13 2 0 -6 14 5 0 -0 - -0101000 --34 0 +48 0 * -Ve -1e-007 -270 -60 -60 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 8 0 0 120 -2 16 7 0 0 120 -2 17 2 0 0 120 -6 15 2 0 -6 16 8 0 -0 - -0101000 --32 0 +34 0 * -Ed - 1e-007 1 1 0 -1 9 0 0 60 -2 18 2 0 0 60 -2 19 3 0 0 60 -6 17 2 0 -6 18 3 0 -0 - -0101000 --32 0 +49 0 * -Wi - -0101000 --33 0 -31 0 +30 0 +47 0 * -Fa -0 1e-007 2 0 -2 2 -0101000 -+29 0 * -Ve -1e-007 -270 60 -60 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 10 0 0 60 -2 20 4 0 0 60 -2 21 3 0 0 60 -6 19 3 0 -6 20 4 0 -0 - -0101000 --27 0 +46 0 * -Ed - 1e-007 1 1 0 -1 11 0 0 120 -2 22 7 0 0 120 -2 23 3 0 0 120 -6 21 3 0 -6 22 8 0 -0 - -0101000 --27 0 +32 0 * -Wi - -0101000 --45 0 -26 0 +25 0 +30 0 * -Fa -0 1e-007 3 0 -2 3 -0101000 -+24 0 * -Ve -1e-007 -270 60 -180 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 12 0 0 60 -2 24 4 0 0 60 -2 25 5 0 0 60 -6 23 4 0 -6 24 5 0 -0 - -0101000 --22 0 +44 0 * -Ed - 1e-007 1 1 0 -1 13 0 0 120 -2 26 7 0 0 120 -2 27 4 0 0 120 -6 25 4 0 -6 26 8 0 -0 - -0101000 --27 0 +22 0 * -Wi - -0101000 --21 0 -20 0 +26 0 +43 0 * -Fa -0 1e-007 4 0 -2 4 -0101000 -+19 0 * -Ed - 1e-007 1 1 0 -1 14 0 0 120 -2 28 7 0 0 120 -2 29 5 0 0 120 -6 27 5 0 -6 28 8 0 -0 - -0101000 --22 0 +34 0 * -Wi - -0101000 --42 0 -21 0 +17 0 +33 0 * -Fa -0 1e-007 5 0 -2 5 -0101000 -+16 0 * -Ed - 1e-007 1 1 1 -2 30 6 0 4.71238898038469 6.28318530717959 -6 29 6 0 -0 - -0101000 -+39 0 -39 0 * -Ed - 1e-007 1 1 0 -1 15 0 4.71238898038469 7.85398163397448 -3 31 32CN 6 0 4.71238898038469 7.85398163397448 -6 30 6 0 -6 31 7 0 -0 - -0101000 --40 0 +39 0 * -Ed - 1e-007 1 1 1 -2 33 6 0 4.71238898038469 6.28318530717959 -6 32 6 0 -0 - -0101000 -+40 0 -40 0 * -Wi - -0101100 -+38 0 +14 0 +13 0 -12 0 * -Fa -0 1e-007 6 0 -2 6 -0101000 -+11 0 * -Ed - 1e-007 1 1 1 -2 33 6 0 0 1.5707963267949 -6 33 7 0 -0 - -0101000 --40 0 +40 0 * -Ed - 1e-007 1 1 1 -2 30 6 0 0 1.5707963267949 -6 34 7 0 -0 - -0101000 --39 0 +39 0 * -Wi - -0101100 --9 0 -13 0 +8 0 +37 0 * -Fa -0 1e-007 6 0 -2 7 -0101000 -+7 0 * -Wi - -0101000 --31 0 -25 0 +20 0 +17 0 * -Fa -0 1e-007 7 0 -2 8 -0101000 -+5 0 * -Sh - -0101100 --35 0 -28 0 +23 0 +18 0 -15 0 -10 0 -6 0 +4 0 * -So - -0100000 -+3 0 * -Co - -1100000 -+2 0 * - -+1 0 \ No newline at end of file diff --git a/samples/java/java/data/EngineBlock.rle b/samples/java/java/data/EngineBlock.rle deleted file mode 100755 index 7f6fd855ee..0000000000 --- a/samples/java/java/data/EngineBlock.rle +++ /dev/null @@ -1,842 +0,0 @@ -DBRep_DrawableShape - -CASCADE Topology V1, (c) Matra-Datavision -Locations 0 -Curve2ds 52 -1 90 0 0 -1 -1 157.5 0 0 1 -1 -11.25 -15 1 0 -1 11.25 240 1 0 -1 0 0 1 0 -1 0 157.5 1 0 -2 45 -45 1 0 0 1 37.5 -1 0 210 1 0 -1 0 0 0 -1 -1 157.5 0 0 1 -1 -11.25 -15 1 0 -1 11.25 240 1 0 -1 0 0 1 0 -2 0 0 1 0 0 1 87 -1 30 -15 0 -1 -1 112.5 -15 0 1 -2 0 0 0 1 -1 0 81 -1 -4.71238898038469 4.5 1 0 -1 90 0 0 1 -1 0 0 1 0 -1 15 -30 -1 0 -1 112.5 15 0 1 -1 0.927295218001612 0 0 1 -1 90 30 0 1 -1 3.52100036871752 0 0 1 -1 117 105.239617223907 -1 0 -1 0 0 0 1 -1 0 0 1 0 -1 3.68521716112262 0 0 1 -1 90 21.9580418759451 -1 0 -1 2.21429743558818 0 0 1 -1 45 30 0 1 -7 0 0 8 122 18 3.14159265358979 12 3.16080701744997 11.9999797909182 3.17964694250143 12.0739027274858 3.19740228571645 12.216272372653 3.21390365105847 12.4083814987416 3.22916531066653 12.6344176360161 3.24330969010856 12.8847283076312 3.25658756050663 13.1546226152416 3.28355495588526 13.774638209402 3.29686439027483 14.1248034072148 3.30942744888297 14.4932432213738 3.32135901641536 14.8771461911419 3.33273799946671 15.2746252474893 3.3436311189461 15.6843779535633 3.35410029236694 16.1056093448071 3.38198379709769 17.3007163789377 3.39858151461462 18.0971081333922 3.41424193528751 18.9251910172017 3.42911402461608 19.7842853656532 3.44329490695333 20.674740740788 3.45686201019818 21.5978174663562 3.4698829850921 22.5559424211479 3.4962928473219 24.6597607241966 3.50954793048972 25.8127872406982 3.52224817125104 27.0189330242581 3.53443765521134 28.2847731306695 3.54613192942127 29.620842582694 3.55732843743973 31.0394846084498 3.56800509407664 32.5577900279513 3.58444611751293 35.2618623021964 3.59051984404178 36.3556514861129 3.59634896959829 37.5129944919795 3.60190025842548 38.7534361207991 3.60712994955711 40.0876293796246 3.61187849025763 41.5462448413549 3.61601188297181 43.1430741973901 3.61909660428404 44.9641019803406 3.62106118550529 46.1267814573849 3.62277275545223 47.4717118181115 3.62370680778564 48.9102282778874 3.6236637958079 50.3590466125537 3.62270287037295 51.7548823391268 3.62104293699224 53.0612571243527 3.61893103213643 54.2674924211178 3.61259127946688 57.143363422844 3.60781866332083 58.6941238031503 3.60250602202805 60.1159715555931 3.59676001349516 61.4232348268859 3.59070378352501 62.6441705366966 3.58437528309662 63.7884689249894 3.57779946136668 64.8727313800336 3.56081627710265 67.4429257095453 3.55015972267443 68.8612383654705 3.53902366557805 70.193905876601 3.52741846424885 71.454955499708 3.51533827165304 72.6544174772089 3.50276194291637 73.800548392788 3.48964574245646 74.898871197778 3.4646579707849 76.8197897650717 3.45299681494221 77.6556472406862 3.4408954607032 78.464577119028 3.42830606924437 79.2481259169764 3.41517295407535 80.0071358269557 3.4014266182867 80.741868237817 3.3869672600296 81.4519523415184 3.36168724246075 82.580291626972 3.35137632576094 83.0131475493142 3.34066092745327 83.4346611970696 3.32948451848243 83.8441683962309 3.31778549454397 84.2405567335601 3.30549065752629 84.622203446636 3.29249479326324 84.9867006647273 3.26469354622633 85.6756124968382 3.25016463575371 85.9927617601036 3.23459250328609 86.2874989046128 3.21763875050103 86.5557296969193 3.19908292174853 86.7825432223887 3.17892600261269 86.9474976035085 3.15735655727512 87.0200074845244 3.12562381083631 86.9862538005078 3.11582030085916 86.9562485903218 3.10623588037797 86.9075305420689 3.09694657617767 86.8421374397171 3.08798785546738 86.7625017724124 3.07936597370602 86.6708435235902 3.07106406649296 86.5688193378268 3.05044779381241 86.2825045214838 3.03860234942763 86.0852943347334 3.02739055098728 85.8704399323994 3.01673396727866 85.6412143232933 3.00657175465732 85.3999743165496 2.99684854265703 85.1484258417637 2.98751028781096 84.8877013705371 2.96065051276218 84.0837436007546 2.94417284407053 83.5168068475294 2.9287240823572 82.9231773785556 2.91413680257892 82.3058748841299 2.90028814497714 81.6668234061502 2.88707441411602 81.007091719973 2.87442213514804 80.3266503232632 2.84075043053584 78.3830570266917 2.82082957266059 77.0770503245521 2.80211830580272 75.7029708666701 2.78445267010673 74.2531844755294 2.76770951391614 72.7196433179542 2.75183568216262 71.0846549033169 2.73679676337721 69.3300994941648 2.71657591400601 66.5757739473652 2.71068871421684 65.7202336629327 2.704968483766 64.8290395492922 2.69942213941739 63.8973397914501 2.69406670150022 62.9185931686396 2.68892746205358 61.8850832727626 2.68404082556025 60.7864441660972 2.67566435842423 58.615396725729 2.672132641921 57.5830769755949 2.66883797303549 56.4806241354339 2.66583981648573 55.286882601203 2.66326122010076 53.9905235095749 2.66131029550705 52.584798370984 2.66025605876476 51.072110708432 2.66025758471572 49.5 - 0 9 0.0387197730527824 7 0.082085506097742 7 0.158520629434883 7 0.243312089768462 7 0.296728056195633 8 0.335447829248415 7 0.396828917945813 7 0.4876701831444 7 0.562138382193428 7 0.610476517226323 7 0.65903869197231 7 0.681024844184557 7 0.715548921273537 7 0.784034002922969 7 0.90513042007167 7 0.956886134358473 7 1 9 -7 0 0 8 122 18 0 81 0.0415031851797281 81.0000082457238 0.082196593020992 80.9657907315336 0.120635868901714 80.899861665035 0.156517920373818 80.8112532703177 0.189884031224845 80.7076257095724 0.220985094521487 80.5936244663756 0.250364015892527 80.4715360184142 0.310458088192243 80.1933025277845 0.340379997745075 80.0373843499369 0.368889951670496 79.8747865865931 0.396235984589524 79.7070192013961 0.422588339161174 79.5351414742252 0.448092075448789 79.3599329372922 0.472884231532248 79.1819474020286 0.53971441965959 78.68331136421 0.580425815558936 78.3579839712055 0.619787792838003 78.0275618149762 0.658160692562462 77.6935381854143 0.69580343507779 77.357046085225 0.732947068036424 77.0190082401883 0.769825554464042 76.6801967795336 0.847529836873294 75.9651547122218 0.888288856430971 75.5894497733834 0.92929768623461 75.2147398711145 0.970847571962906 74.8418743627622 1.01330008612251 74.4722571974702 1.05704410442228 74.1077105100186 1.10257831605395 73.7506309749846 1.1815425194813 73.1876190129011 1.21300773538483 72.9762436536116 1.24584772841577 72.7703816787276 1.28058891174689 72.5716121714948 1.31749947761974 72.3818999394996 1.35739165731126 72.2076373015977 1.40062224239298 72.0545550193209 1.44954213976474 71.9397273475842 1.48077462160683 71.8666169336539 1.51677520344752 71.8025204673064 1.55511030131541 71.7673263840049 1.59365988164667 71.7689038584833 1.63085925450659 71.8051169465742 1.66580251179833 71.867428938236 1.69820761045876 71.9460969217787 1.7758579986762 72.1809064767159 1.81814096356011 72.3564219765252 1.85735720875542 72.5496986874426 1.89387913388954 72.7560935622113 1.92845471450282 72.9705449334254 1.96133251804404 73.1912738663628 1.99296219333038 73.4169513880492 2.0691855100339 73.9896127161602 2.1123984078846 74.3402988240301 2.15416518572346 74.6968966109532 2.19490681199665 75.0575147443069 2.23495426560353 75.4206821850038 2.27461131715235 75.7852264779637 2.31414135447866 76.1503223553259 2.38641458618211 76.8144629342324 2.41907063871028 77.1132979359696 2.45198095320746 77.4113487090439 2.48530670191294 77.7080684098013 2.51921197732773 78.0028090732269 2.55388143999576 78.2947874891626 2.58955828016867 78.583008429524 2.65064821465013 79.0499352033566 2.67525465342576 79.2314264509805 2.70052437710776 79.410362597358 2.72658347081288 79.5862420047152 2.75356670838501 79.7583667034524 2.78163267991394 79.9257968775496 2.81100887573558 80.0872109014566 2.87326870278806 80.3948355576676 2.90553032917701 80.5378105280226 2.93986041997337 80.6717513374637 2.97697985712363 80.7945674772586 3.01735544711912 80.8992475221627 3.06097314389807 80.9757060753328 3.10753965844011 81.0092610678285 3.17608715119112 80.9936361470714 3.19726939936927 80.9797477590213 3.21799559514758 80.9572040536633 3.238111262185 80.9269799217876 3.25754627335116 80.8902415605975 3.27629050880895 80.8480552655856 3.29438202228241 80.8012225252864 3.3394276091717 80.6701831856234 3.36542705789571 80.5802670607337 3.39016239959952 80.4827724635022 3.41380434441269 80.3793277974402 3.43648358861078 80.2711187087626 3.45831874296679 80.1590152962469 3.47942657552029 80.043618272491 3.54055646538684 79.6903681194873 3.5786281131984 79.4445593279522 3.61489198242035 79.1910560484813 3.64971618601097 78.931808243227 3.68337587915243 78.6682495565129 3.71610979519189 78.4014433301115 3.7480993642946 78.1320240925247 3.835127723324 77.3800388783028 3.88884255206247 76.8939878145935 3.94166694355543 76.404727855565 3.99422009243496 75.9143934028697 4.04704688802291 75.4251810567049 4.10082309568098 74.9398325863109 4.15619811525685 74.4612471657097 4.2397845147434 73.7949333868978 4.2653591704008 73.5978389824862 4.2916204973804 73.4034593209228 4.31870338503602 73.2123134814378 4.34678445147209 73.0252835869956 4.37606973517699 72.8435720719055 4.40683522694049 72.6688280877262 4.46695222908015 72.366322659901 4.49529898401409 72.2375798335975 4.52534854024361 72.1164978803801 4.55766230295079 72.0054524776325 4.59252694833922 71.9092361700108 4.63012912245308 71.8360588756223 4.67046548329146 71.7965322041322 4.71238898038469 71.7965876626459 - 0 9 0.0387197730527824 7 0.082085506097742 7 0.158520629434883 7 0.243312089768462 7 0.296728056195633 8 0.335447829248415 7 0.396828917945813 7 0.4876701831444 7 0.562138382193428 7 0.610476517226323 7 0.65903869197231 7 0.681024844184557 7 0.715548921273537 7 0.784034002922969 7 0.90513042007167 7 0.956886134358473 7 1 9 -1 0 90 1 0 -2 0 0 1 0 0 1 87 -1 30 -15 0 -1 -1 22.5 -15 0 1 -2 0 0 0 1 -1 0 81 -1 -4.71238898038469 94.5 1 0 -1 15 -30 -1 0 -1 22.5 15 0 1 -1 3.52100036871752 0 0 1 -1 117 105.239617223907 -1 0 -1 1.21874122748589 0 0 1 -1 112.5 -111.663945532897 -1 0 -1 6.28318530717959 0 0 1 -1 0 0 0 1 -1 1.19138861166717 0 0 1 -1 117 -105.239617223907 -1 0 -1 6.28318530717959 0 0 1 -1 0 0 0 1 -Curves 26 -1 210 -45 -67.5 0 1 0 -1 210 -30 -168.75 0 0 1 -1 210 -45 -157.5 0 0 1 -8 0 6.28318530717959 -2 210 0 -112.5 1 0 0 0 0 1 0 -1 0 37.5 -1 210 -45 -157.5 0 1 0 -1 210 -30 -168.75 0 0 1 -2 0 0 -67.5 0 0 -1 -1 0 0 0 1 0 87 -1 -30 -15 -67.5 0 -1 0 -8 4.71238898038469 10.9955742875643 -2 0 0 -67.5 0 0 -1 0 1 0 1 0 0 81 -1 52.5 -45 -67.5 1 0 0 -1 -15 -30 -67.5 1 0 0 -1 0 -30 -90 1 0 0 -1 75.2396172239067 -30 -63 0 0 -1 -1 52.5 -45 -157.5 1 0 0 -1 74.4580418759451 -45 -67.5 0 0 -1 -1 0 -30 -135 1 0 0 -7 0 0 8 122 18 81 1.4210854715202e-014 -75 81.0000082457242 -1.55636170802708 -74.9999797909221 80.9657907315323 -3.08240475587122 -75.0739027274755 80.8998616650365 -4.51968885890028 -75.2162723726637 80.8112532703176 -5.8538534898169 -75.4083814987415 80.7076257095709 -7.08599618536706 -75.6344176360053 80.593624466377 -8.22622694703849 -75.8847283076415 80.4715360184136 -9.29487814711066 -76.1546226152379 80.1933025277846 -11.4614472977398 -76.7746382094015 80.0373843499367 -12.5283386872594 -77.1248034072154 79.8747865865931 -13.5330685626468 -77.4932432213738 79.7070192013963 -14.4850307871177 -77.8771461911414 79.5351414742251 -15.3907084683835 -78.2746252474894 79.359932937292 -16.2555888767231 -78.6843779535639 79.1819474020287 -17.0847528571776 -79.1056093448067 78.68331136421 -19.2875884343937 -80.3007163789386 78.3579839712055 -20.5923689171135 -81.0971081333912 78.0275618149763 -21.8174613896595 -81.9251910172013 77.6935381854143 -22.9752180124314 -82.7842853656539 77.357046085225 -24.07377123474 -83.6747407407883 77.0190082401883 -25.1196403182648 -84.5978174663555 76.6801967795336 -26.1185350498263 -85.555942421148 75.9651547122218 -28.1346938224872 -87.6597607241966 75.5894497733834 -29.1406330716866 -88.8127872406981 75.2147398711145 -30.0988907181743 -90.0189330242582 74.8418743627622 -31.0133363031457 -91.2847731306695 74.4722571974702 -31.8856601269886 -92.6208425826938 74.1077105100186 -32.716204856201 -94.0394846084499 73.7506309749846 -33.5039091984874 -95.5577900279513 73.187619012901 -34.7107660219493 -98.2618623022194 72.9762436536119 -35.1550302926622 -99.3556514860211 72.770381678727 -35.5799689452474 -100.512994492163 72.5716121714954 -35.9833264626262 -101.753436120581 72.3818999394992 -36.3620921056823 -103.087629379785 72.2076373015977 -36.7049905203153 -104.546244841285 72.0545550193209 -37.0027502235944 -106.143074197405 71.9397273475842 -37.2246642584624 -107.964101980341 71.8666169336539 -37.3660064013731 -109.126781457384 71.8025204673064 -37.4889373988355 -110.471711818113 71.7673263840049 -37.5559119550217 -111.910228277887 71.7689038584833 -37.5528052900268 -113.359046612552 71.8051169465741 -37.4839073276414 -114.754882339127 71.867428938236 -37.3647630661936 -116.061257124355 71.9460969217788 -37.2128591324633 -117.267492421117 72.1809064767161 -36.7561676670167 -120.143363422845 72.3564219765248 -36.4117234324969 -121.694123803146 72.5496986874434 -36.0272342768907 -123.115971555602 72.7560935622102 -35.6100512552989 -124.423234826875 72.9705449334264 -35.1688268177422 -125.644170536704 73.1912738663623 -34.7061489080907 -126.788468924986 73.4169513880494 -34.2236599790907 -127.872731380034 73.9896127161602 -32.9728847452725 -130.442925709545 74.3402988240301 -32.1840937770716 -131.861238365472 74.6968966109532 -31.3554345421443 -133.193905876599 75.0575147443069 -30.487163776089 -134.454955499708 75.4206821850038 -29.5783556937783 -135.654417477211 75.7852264779637 -28.6269318857832 -136.800548392787 76.1503223553259 -27.629069639323 -137.898871197778 76.8144629342324 -25.7171240906732 -139.819789765072 77.1132979359696 -24.8210156188733 -140.655647240686 77.4113487090439 -23.887066239149 -141.464577119028 77.7080684098013 -22.9112413827262 -142.248125916976 78.0028090732269 -21.888859797166 -143.007135826956 78.2947874891626 -20.8141104171232 -143.741868237817 78.583008429524 -19.6787148830214 -144.451952341518 79.0499352033567 -17.6849783729393 -145.580291626974 79.2314264509803 -16.8697041238827 -146.013147549312 79.4103625973581 -16.0202985295829 -146.434661197069 79.5862420047154 -15.1321178793935 -146.844168396233 79.7583667034524 -14.2000916934655 -147.240556733561 79.9257968775494 -13.2182015356527 -147.622203446634 80.0872109014567 -12.1778361287684 -147.986700664728 80.3948355576705 -9.94704593729587 -148.675612496835 80.5378105280099 -8.77877943711244 -148.992761760121 80.6717513374919 -7.52432175095954 -149.287498904571 80.7945674772207 -6.15610635624155 -149.555729696979 80.899247522195 -4.65611857842387 -149.782543222335 80.975706075316 -3.02421075089163 -149.947497603539 81.0092610678331 -1.27684595627659 -150.020007484516 80.9936361470715 1.29345782157833 -149.986253800508 80.9797477590213 2.08747409578852 -149.956248590321 80.9572040536632 2.86356817157382 -149.907530542069 80.9269799217877 3.61548320138673 -149.842137439717 80.8902415605976 4.34028264980766 -149.762501772412 80.8480552655856 5.03742934726802 -149.67084352359 80.8012225252864 5.70827816104524 -149.568819337827 80.6701831856234 7.37304712852412 -149.282504521483 80.5802670607337 8.32841693886443 -149.085294334734 80.4827724635022 9.23146266729412 -148.870439932399 80.3793277974402 10.0885525571105 -148.641214323293 80.2711187087626 10.9046525647573 -148.39997431655 80.1590152962469 11.6842883345653 -148.148425841764 80.0436182724911 12.4318687256405 -147.887701370537 79.6903681194873 14.5786419664861 -147.083743600749 79.4445593279522 15.8908315855611 -146.516806847546 79.1910560484813 17.1165911260524 -145.923177378539 78.931808243227 18.2697003283873 -145.305874884129 78.6682495565129 19.3603162511838 -144.666823406167 78.4014433301116 20.397018718253 -144.007091719959 78.1320240925247 21.3859037601451 -143.326650323268 77.3800388783028 24.0075958114885 -141.383057026692 76.8939878145935 25.546835072122 -140.077050324547 76.404727855565 26.9819520712775 -138.702970866687 75.9143934028697 28.326872028431 -137.253184475507 75.4251810567049 29.5922455478965 -135.719643317969 74.9398325863109 30.7832400132401 -134.084654903312 74.4612471657097 31.9035948567256 -132.330099494165 73.7949333868979 33.3998253472711 -129.575773947361 73.5978389824859 33.8340646709903 -128.720233662943 73.4034593209231 34.2546780565518 -127.829039549283 73.2123134814378 34.661260158234 -126.897339791449 73.0252835869954 35.0526778684401 -125.918593168649 72.8435720719056 35.4272143849232 -124.885083272755 72.6688280877262 35.7823760648306 -123.786444166099 72.366322659901 36.3897016394357 -121.615396725732 72.2375798335976 36.6451670489604 -120.583076975586 72.1164978803801 36.8829897917352 -119.480624135445 72.0054524776324 37.0989692481981 -118.286882601199 71.9092361700108 37.2843560192032 -116.990523509564 71.8360588756223 37.4244158790674 -115.584798371001 71.7965322041322 37.5001105662048 -114.072110708422 71.7965876626459 37.5 -112.5 - 0 9 0.0387197730527824 7 0.082085506097742 7 0.158520629434883 7 0.243312089768462 7 0.296728056195633 8 0.335447829248415 7 0.396828917945813 7 0.4876701831444 7 0.562138382193428 7 0.610476517226323 7 0.65903869197231 7 0.681024844184557 7 0.715548921273537 7 0.784034002922969 7 0.90513042007167 7 0.956886134358473 7 1 9 -2 0 0 -157.5 0 0 -1 -1 0 0 0 1 0 87 -1 -30 -15 -157.5 0 -1 0 -8 4.71238898038469 10.9955742875643 -2 0 0 -157.5 0 0 -1 0 1 0 1 0 0 81 -1 -15 -30 -157.5 1 0 0 -1 75.2396172239067 -30 -63 0 0 -1 -1 -30 81.6639455328972 -67.5 0 0 -1 -1 -87 -2.13081505565094e-014 -67.5 0 0 -1 -1 -30 75.2396172239067 -63 0 0 -1 -1 -81 -1.98386229319225e-014 -63 0 0 -1 -Polygon3D 0 -PolygonOnTriangulations 60 -2 1 2 -p 1.21667248650175 1 0 15 -2 22 34 -p 1.21667248650175 1 0 15 -2 3 2 -p 1.21667248650175 1 78.75 101.25 -2 2 4 -p 1.21667248650175 1 78.75 101.25 -2 4 1 -p 1.21667248650175 1 0 90 -2 2 4 -p 1.21667248650175 1 0 90 -4 3 6 7 5 -p 1.21667248650175 1 0.927295218001612 1.35629595719714 1.78529669639266 2.21429743558818 -4 1 2 3 4 -p 1.21667248650175 1 0.927295218001612 1.35629595719714 1.78529669639266 2.21429743558818 -2 4 8 -p 1.21667248650175 1 0 15 -2 22 34 -p 1.21667248650175 1 0 15 -2 8 5 -p 1.21667248650175 1 11.25 33.75 -2 4 2 -p 1.21667248650175 1 11.25 33.75 -6 1 3 4 5 6 2 -p 1.21667248650175 1 0 0.243748245497634 0.487496490995268 0.731244736492903 0.974992981990537 1.21874122748817 -6 8 9 10 11 12 7 -p 1.21667248650175 1 0 0.243748245497634 0.487496490995268 0.731244736492903 0.974992981990537 1.21874122748817 -2 2 7 -p 1.21667248650175 1 -96.6639455329655 -90.2396172238798 -2 1 3 -p 1.21667248650175 1 -96.6639455329655 -90.2396172238798 -11 8 9 10 11 12 13 14 15 16 17 1 -p 1.21667248650175 1 3.68521716112313 3.94501397572878 4.20481079033442 4.46460760494007 4.72440441954571 4.98420123415136 5.24399804875701 5.50379486336265 5.7635916779683 6.02338849257394 6.28318530717959 -11 12 14 15 16 17 18 19 20 21 22 13 -p 1.21667248650175 1 3.68521716112313 3.94501397572878 4.20481079033442 4.46460760494007 4.72440441954571 4.98420123415136 5.24399804875701 5.50379486336265 5.7635916779683 6.02338849257394 6.28318530717959 -5 18 19 20 21 7 -p 1.21667248650175 1 4.71238898038469 5.01023613330126 5.30808328621783 5.60593043913439 5.90377759205096 -5 1 2 3 4 5 -p 1.21667248650175 1 4.71238898038469 5.01023613330126 5.30808328621783 5.60593043913439 5.90377759205096 -2 8 22 -p 1.21667248650175 1 21.9580418759223 157.5 -2 3 4 -p 1.21667248650175 1 21.9580418759223 157.5 -12 23 24 25 26 27 28 29 30 31 32 33 18 -p 1.21667248650175 1 8.23338934910131 8.48449707077976 8.73560479245821 8.98671251413666 9.23782023581512 9.48892795749357 9.74003567917202 9.99114340085047 10.2422511225289 10.4933588442074 10.7444665658858 10.9955742875643 -12 1 2 3 4 5 6 7 8 9 10 11 12 -p 1.21667248650175 1 8.23338934910131 8.48449707077976 8.73560479245821 8.98671251413666 9.23782023581512 9.48892795749357 9.74003567917202 9.99114340085047 10.2422511225289 10.4933588442074 10.7444665658858 10.9955742875643 -2 23 34 -p 1.21667248650175 1 90.2396172239336 225 -2 3 4 -p 1.21667248650175 1 90.2396172239336 225 -2 1 2 -p 1.21667248650175 1 75.2396179472505 210 -2 5 1 -p 1.21667248650175 1 75.2396179472505 210 -2 3 1 -p 1.21667248650175 1 4.5 27.0000018656553 -2 1 13 -p 1.21667248650175 1 4.5 27.0000018656553 -2 1 2 -p 1.21667248650175 1 21.9580418759223 157.5 -2 8 22 -p 1.21667248650175 1 21.9580418759223 157.5 -2 3 1 -p 1.21667248650175 1 0 90 -2 12 1 -p 1.21667248650175 1 0 90 -2 1 2 -p 1.21667248650175 1 75.2396169923328 210 -2 6 4 -p 1.21667248650175 1 75.2396169923328 210 -6 5 7 8 9 10 6 -p 1.21667248650175 1 0.189666449548475 0.267132399795595 0.305865374919154 0.352925939694279 0.40040611169991 0.44788628370554 -6 13 15 16 17 18 19 -p 1.21667248650175 1 0.189666449548475 0.267132400709171 0.30586537922193 0.352925943345194 0.400406130049124 0.44788628370554 -6 1 3 4 5 6 2 -p 1.21667248650175 1 0 0.243748245497634 0.487496490995268 0.731244736492903 0.974992981990537 1.21874122748817 -6 1 2 3 4 5 6 -p 1.21667248650175 1 0 0.243748245497634 0.487496490995268 0.731244736492903 0.974992981990537 1.21874122748817 -2 2 7 -p 1.21667248650175 1 -96.6639455329655 -90.2396172238798 -2 2 4 -p 1.21667248650175 1 -96.6639455329655 -90.2396172238798 -11 8 9 10 11 12 13 14 15 16 17 1 -p 1.21667248650175 1 3.68521716112313 3.94501397572878 4.20481079033442 4.46460760494007 4.72440441954571 4.98420123415136 5.24399804875701 5.50379486336265 5.7635916779683 6.02338849257394 6.28318530717959 -11 1 2 3 4 5 6 7 8 9 10 11 -p 1.21667248650175 1 3.68521716112313 3.94501397572878 4.20481079033442 4.46460760494007 4.72440441954571 4.98420123415136 5.24399804875701 5.50379486336265 5.7635916779683 6.02338849257394 6.28318530717959 -5 18 19 20 21 7 -p 1.21667248650175 1 4.71238898038469 5.01023613330126 5.30808328621783 5.60593043913439 5.90377759205096 -5 7 8 9 10 6 -p 1.21667248650175 1 4.71238898038469 5.01023613330126 5.30808328621783 5.60593043913439 5.90377759205096 -12 23 24 25 26 27 28 29 30 31 32 33 18 -p 1.21667248650175 1 8.23338934910131 8.48449707077976 8.73560479245821 8.98671251413666 9.23782023581512 9.48892795749357 9.74003567917202 9.99114340085047 10.2422511225289 10.4933588442074 10.7444665658858 10.9955742875643 -12 20 21 22 23 24 25 26 27 28 29 30 14 -p 1.21667248650175 1 8.23338934910131 8.48449707077976 8.73560479245821 8.98671251413666 9.23782023581512 9.48892795749357 9.74003567917202 9.99114340085047 10.2422511225289 10.4933588442074 10.7444665658858 10.9955742875643 -2 23 34 -p 1.21667248650175 1 90.2396172239336 225 -2 3 4 -p 1.21667248650175 1 90.2396172239336 225 -2 1 3 -p 1.21667248650175 1 72.0000011651129 94.5 -2 19 20 -p 1.21667248650175 1 72.0000011651129 94.5 -2 1 2 -p 1.21667248650175 1 0 90 -2 7 6 -p 1.21667248650175 1 0 90 -2 8 1 -p 1.21667248650175 1 0 90 -2 13 11 -p 1.21667248650175 1 0 90 -2 3 4 -p 1.21667248650175 1 4.5 94.5 -2 5 6 -p 1.21667248650175 1 4.5 94.5 -2 1 7 -p 1.21667248650175 1 4.5 94.5 -2 12 14 -p 1.21667248650175 1 4.5 94.5 -Surfaces 11 -1 210 -45 -157.5 1 0 0 0 0 1 0 -1 0 -1 52.5 -45 -67.5 0 0 1 1 0 0 0 1 0 -1 -30 -30 -180 0 1 0 0 0 1 1 0 0 -1 52.5 -45 -157.5 0 1 0 0 0 1 1 0 0 -2 0 0 -112.5 1 0 0 0 0 1 0 -1 0 37.5 -1 52.5 -45 -157.5 0 0 1 1 0 0 0 1 0 -1 0 0 -67.5 0 0 -1 -1 0 0 0 1 0 -2 0 0 -67.5 0 0 -1 -1 0 0 0 1 0 87 -1 -30 -30 -180 1 0 0 0 0 1 0 -1 0 -2 0 0 -63 0 0 -1 -1 0 0 0 1 0 81 -1 0 0 -157.5 0 0 -1 -1 0 0 0 1 0 -Triangulations 12 -8 6 1 1.21667248650175 -210 -45 -67.5 210 -30 -67.5 210 -30 -90 210 -45 -157.5 210 -30 -135 210 -36.6406075170854 -104.517777203128 210 -36.6406075170854 -120.482222796872 210 -30 -157.5 90 0 90 -15 67.5 -15 0 0 22.5 -15 52.9822227968722 -8.35939248291462 37.0177772031278 -8.35939248291463 0 -15 1 3 2 3 1 6 1 4 6 6 4 7 4 5 7 5 4 8 -34 32 1 1.21667248650175 --87 -2.13081505565094e-014 -67.5 -29.999999999814 81.6639455329655 -67.5 -84.4282961660061 20.9967332341285 -67.5 -76.8652228389619 40.7521474025201 -67.5 -64.7579061032798 58.09830976129 -67.5 -48.8221260249029 72.0097216381823 -67.5 -30.0000000000675 75.2396172238798 -67.5 74.4580418759223 -45.0000000000378 -67.5 60.3996047302571 -62.6169924894889 -67.5 42.2874110518147 -76.0314071061089 -67.5 21.3370718329984 -84.3429271817944 -67.5 -1.04531805435524 -86.9937199467021 -67.5 -23.3575507790818 -83.8058758178841 -67.5 -44.1021271510351 -74.9933489101129 -67.5 -61.8867621981023 -61.1475973741859 -67.5 -75.5178292264153 -43.1978873202147 -67.5 -84.0804708083219 -22.3489245524461 -67.5 -81 0 -67.5 -77.4336092507253 23.7704892336273 -67.5 -67.0484899159015 45.4477722225992 -67.5 -50.7591455393761 63.1229684355262 -67.5 210 -45 -67.5 75.2396172239336 -29.9999999999325 -67.5 65.4256224618834 -47.7544545092403 -67.5 51.5078411992672 -62.5135368939486 -67.5 34.3592586781688 -73.351491757746 -67.5 15.0555103882606 -79.5885142903734 -67.5 -5.19258658287668 -80.833390653735 -67.5 -25.1149813914668 -77.0080366566132 -67.5 -43.4620526843149 -68.3523955429935 -67.5 -59.0829904169254 -55.4093876828963 -67.5 -70.9979797861513 -38.9908561881532 -67.5 -78.4596595795516 -20.1266444958138 -67.5 210 -30 -67.5 87 0 29.999999999814 81.6639455329656 84.4282961660061 20.9967332341285 76.8652228389619 40.7521474025201 64.7579061032798 58.09830976129 48.8221260249029 72.0097216381823 30 75.2396172238798 -74.4580418759223 -45.0000000000378 -60.3996047302571 -62.6169924894889 -42.2874110518147 -76.0314071061089 -21.3370718329984 -84.3429271817944 1.04531805435525 -86.9937199467021 23.3575507790817 -83.8058758178841 44.1021271510351 -74.9933489101129 61.8867621981022 -61.1475973741859 75.5178292264154 -43.1978873202147 84.0804708083219 -22.3489245524461 81 -1.4210854715202e-014 77.4336092507253 23.7704892336273 67.0484899159014 45.4477722225992 50.7591455393762 63.1229684355262 -210 -45 -75.2396172239336 -29.9999999999324 -65.4256224618833 -47.7544545092403 -51.5078411992672 -62.5135368939486 -34.3592586781687 -73.351491757746 -15.0555103882606 -79.5885142903734 5.19258658287669 -80.833390653735 25.1149813914668 -77.0080366566132 43.4620526843149 -68.3523955429935 59.0829904169254 -55.4093876828963 70.9979797861513 -38.9908561881532 78.4596595795516 -20.1266444958138 -210 -30 4 19 3 6 2 7 23 8 24 1 18 33 3 18 1 3 19 18 20 4 5 4 20 19 21 5 6 5 21 20 6 7 21 22 8 23 9 24 8 10 25 9 24 9 25 11 26 10 25 10 26 12 27 11 11 27 26 13 28 12 12 28 27 14 29 13 13 29 28 15 30 14 14 30 29 16 31 15 15 31 30 32 16 17 16 32 31 32 17 33 1 33 17 34 22 23 -4 2 1 1.21667248650175 -75.2396179472505 -30 -90 210 -30 -90 75.2396172239336 -29.9999999999325 -67.5 210 -30 -67.5 90 105.23961794725 90 240 112.5 105.239617223907 112.5 240 4 2 1 1 3 4 -4 2 1 1.21667248650175 -74.4580418759223 -45.0000000000378 -157.5 210 -45 -157.5 74.4580418759223 -45.0000000000378 -67.5 210 -45 -67.5 0 21.9580418759223 0 157.5 90 21.9580418759451 90 157.5 3 4 2 2 1 3 -10 8 1 1.21667248650175 -210 -30 -90 210 -36.6406075170854 -104.517777203128 210 -36.6406075170854 -120.482222796872 210 -30 -135 75.2396179472505 -30 -90 75.2396169923328 -30 -135 72.6654646166538 -35.787292450254 -101.296442570326 71.8278763958642 -37.4400138217356 -110.379772411215 72.4220710946618 -36.2773113604951 -121.997719750219 73.7559047854883 -33.4823222177958 -129.387394674837 0.927295218001612 210 1.35629595719714 210 1.78529669639266 210 2.21429743558818 210 0.927295218001612 75.2396179472505 2.21429743558818 75.2396169923328 1.2674016760129 72.6654646166538 1.51422675772267 71.8278763958642 1.82685791544065 72.4220710946618 2.03793181693722 73.7559047854883 1 5 2 5 7 2 2 7 8 3 6 4 8 3 2 8 9 3 9 10 3 3 10 6 -34 32 1 1.21667248650175 --87 -2.13081505565094e-014 -157.5 -29.999999999814 81.6639455329655 -157.5 -84.4282961660061 20.9967332341285 -157.5 -76.8652228389619 40.7521474025201 -157.5 -64.7579061032798 58.09830976129 -157.5 -48.8221260249029 72.0097216381823 -157.5 -30.0000000000675 75.2396172238798 -157.5 74.4580418759223 -45.0000000000378 -157.5 60.3996047302571 -62.6169924894889 -157.5 42.2874110518147 -76.0314071061089 -157.5 21.3370718329984 -84.3429271817944 -157.5 -1.04531805435524 -86.9937199467021 -157.5 -23.3575507790818 -83.8058758178841 -157.5 -44.1021271510351 -74.9933489101129 -157.5 -61.8867621981023 -61.1475973741859 -157.5 -75.5178292264153 -43.1978873202147 -157.5 -84.0804708083219 -22.3489245524461 -157.5 -81 0 -157.5 -77.4336092507253 23.7704892336273 -157.5 -67.0484899159015 45.4477722225992 -157.5 -50.7591455393761 63.1229684355262 -157.5 210 -45 -157.5 75.2396172239336 -29.9999999999325 -157.5 65.4256224618834 -47.7544545092403 -157.5 51.5078411992672 -62.5135368939486 -157.5 34.3592586781688 -73.351491757746 -157.5 15.0555103882606 -79.5885142903734 -157.5 -5.19258658287668 -80.833390653735 -157.5 -25.1149813914668 -77.0080366566132 -157.5 -43.4620526843149 -68.3523955429935 -157.5 -59.0829904169254 -55.4093876828963 -157.5 -70.9979797861513 -38.9908561881532 -157.5 -78.4596595795516 -20.1266444958138 -157.5 210 -30 -157.5 87 0 29.999999999814 81.6639455329656 84.4282961660061 20.9967332341285 76.8652228389619 40.7521474025201 64.7579061032798 58.09830976129 48.8221260249029 72.0097216381823 30 75.2396172238798 -74.4580418759223 -45.0000000000378 -60.3996047302571 -62.6169924894889 -42.2874110518147 -76.0314071061089 -21.3370718329984 -84.3429271817944 1.04531805435525 -86.9937199467021 23.3575507790817 -83.8058758178841 44.1021271510351 -74.9933489101129 61.8867621981022 -61.1475973741859 75.5178292264154 -43.1978873202147 84.0804708083219 -22.3489245524461 81 -1.4210854715202e-014 77.4336092507253 23.7704892336273 67.0484899159014 45.4477722225992 50.7591455393762 63.1229684355262 -210 -45 -75.2396172239336 -29.9999999999324 -65.4256224618833 -47.7544545092403 -51.5078411992672 -62.5135368939486 -34.3592586781687 -73.351491757746 -15.0555103882606 -79.5885142903734 5.19258658287669 -80.833390653735 25.1149813914668 -77.0080366566132 43.4620526843149 -68.3523955429935 59.0829904169254 -55.4093876828963 70.9979797861513 -38.9908561881532 78.4596595795516 -20.1266444958138 -210 -30 4 19 3 6 2 7 23 8 24 1 18 33 3 18 1 3 19 18 20 4 5 4 20 19 21 5 6 5 21 20 6 7 21 22 8 23 9 24 8 10 25 9 24 9 25 11 26 10 25 10 26 12 27 11 11 27 26 13 28 12 12 28 27 14 29 13 13 29 28 15 30 14 14 30 29 16 31 15 15 31 30 32 16 17 16 32 31 32 17 33 1 33 17 34 22 23 -4 2 1 1.21667248650175 -75.2396169923328 -30 -135 210 -30 -135 75.2396172239336 -29.9999999999325 -157.5 210 -30 -157.5 45 105.239616992333 45 240 22.5 105.239617223907 22.5 240 3 2 4 1 2 3 -12 10 1 1.21667248650175 --87 -2.13081505565094e-014 -157.5 -84.4282961660061 20.9967332341285 -157.5 -76.8652228389619 40.7521474025201 -157.5 -64.7579061032798 58.09830976129 -157.5 -48.8221260249029 72.0097216381823 -157.5 -29.999999999814 81.6639455329655 -157.5 -29.999999999814 81.6639455329655 -67.5 -87 -2.13081505565094e-014 -67.5 -84.4282961660061 20.9967332341285 -67.5 -76.8652228389619 40.7521474025201 -67.5 -64.7579061032798 58.09830976129 -67.5 -48.8221260249029 72.0097216381823 -67.5 0 90 0.243748245497634 90 0.487496490995268 90 0.731244736492903 90 0.974992981990537 90 1.21874122748817 90 1.21874122748589 0 0 0 0.243748245497634 0 0.487496490995268 0 0.731244736492903 0 0.974992981990537 0 8 2 1 9 2 8 10 3 9 11 5 4 5 7 6 9 3 2 3 10 4 11 4 10 5 11 12 7 5 12 -4 2 1 1.21667248650175 --29.999999999814 81.6639455329655 -67.5 -29.999999999814 81.6639455329655 -157.5 -30.0000000000675 75.2396172238798 -67.5 -30.0000000000675 75.2396172238798 -157.5 112.5 -111.663945532897 22.5 -111.663945532897 112.5 -105.23961722388 22.5 -105.23961722388 4 2 3 3 2 1 -22 20 1 1.21667248650175 -74.4580418759223 -45.0000000000378 -157.5 60.3996047302571 -62.6169924894889 -157.5 42.2874110518147 -76.0314071061089 -157.5 21.3370718329984 -84.3429271817944 -157.5 -1.04531805435524 -86.9937199467021 -157.5 -23.3575507790818 -83.8058758178841 -157.5 -44.1021271510351 -74.9933489101129 -157.5 -61.8867621981023 -61.1475973741859 -157.5 -75.5178292264153 -43.1978873202147 -157.5 -84.0804708083219 -22.3489245524461 -157.5 -87 -2.13081505565094e-014 -157.5 74.4580418759223 -45.0000000000378 -67.5 -87 -2.13081505565094e-014 -67.5 60.3996047302571 -62.6169924894889 -67.5 42.2874110518147 -76.0314071061089 -67.5 21.3370718329984 -84.3429271817944 -67.5 -1.04531805435524 -86.9937199467021 -67.5 -23.3575507790818 -83.8058758178841 -67.5 -44.1021271510351 -74.9933489101129 -67.5 -61.8867621981023 -61.1475973741859 -67.5 -75.5178292264153 -43.1978873202147 -67.5 -84.0804708083219 -22.3489245524461 -67.5 3.68521716112313 90 3.94501397572878 90 4.20481079033442 90 4.46460760494007 90 4.72440441954571 90 4.98420123415136 90 5.24399804875701 90 5.50379486336265 90 5.7635916779683 90 6.02338849257394 90 6.28318530717959 90 3.68521716112262 0 6.28318530717959 0 3.94501397572878 0 4.20481079033442 0 4.46460760494007 0 4.72440441954571 0 4.98420123415136 0 5.24399804875701 0 5.50379486336265 0 5.7635916779683 0 6.02338849257394 0 12 14 1 14 2 1 14 3 2 4 15 16 16 17 5 6 18 7 8 19 20 10 9 21 15 4 3 15 3 14 10 13 11 4 16 5 17 6 5 6 17 18 18 19 7 8 7 19 8 20 9 21 9 20 10 21 22 13 10 22 -10 8 1 1.21667248650175 --81 0 -67.5 -77.4336092507253 23.7704892336273 -67.5 -67.0484899159015 45.4477722225992 -67.5 -50.7591455393761 63.1229684355262 -67.5 -30.0000000000675 75.2396172238798 -67.5 -30.0000000000675 75.2396172238798 -157.5 -81 0 -157.5 -77.4336092507253 23.7704892336273 -157.5 -67.0484899159015 45.4477722225992 -157.5 -50.7591455393761 63.1229684355262 -157.5 0 4.5 0.297847152916568 4.5 0.595694305833137 4.5 0.893541458749705 4.5 1.19138861166627 4.5 1.19138861166717 94.5 0 94.5 0.297847152916568 94.5 0.595694305833137 94.5 0.893541458749705 94.5 3 8 2 2 7 1 9 3 4 5 10 4 5 6 10 2 8 7 3 9 8 9 4 10 -44 56 1 1.21667248650175 -75.2396172239336 -29.9999999999325 -67.5 65.4256224618834 -47.7544545092403 -67.5 51.5078411992672 -62.5135368939486 -67.5 34.3592586781688 -73.351491757746 -67.5 15.0555103882606 -79.5885142903734 -67.5 -5.19258658287668 -80.833390653735 -67.5 -25.1149813914668 -77.0080366566132 -67.5 -43.4620526843149 -68.3523955429935 -67.5 -59.0829904169254 -55.4093876828963 -67.5 -70.9979797861513 -38.9908561881532 -67.5 -78.4596595795516 -20.1266444958138 -67.5 -81 0 -67.5 75.2396179472505 -30 -90 -81 0 -157.5 72.6654646166538 -35.787292450254 -101.296442570326 71.8278763958642 -37.4400138217356 -110.379772411215 72.4220710946618 -36.2773113604951 -121.997719750219 73.7559047854883 -33.4823222177958 -129.387394674837 75.2396169923328 -30 -135 75.2396172239336 -29.9999999999325 -157.5 65.4256224618834 -47.7544545092403 -157.5 51.5078411992672 -62.5135368939486 -157.5 34.3592586781688 -73.351491757746 -157.5 15.0555103882606 -79.5885142903734 -157.5 -5.19258658287668 -80.833390653735 -157.5 -25.1149813914668 -77.0080366566132 -157.5 -43.4620526843149 -68.3523955429935 -157.5 -59.0829904169254 -55.4093876828963 -157.5 -70.9979797861513 -38.9908561881532 -157.5 -78.4596595795516 -20.1266444958138 -157.5 60.6455938482214 -53.694617484405 -97.5 38.8933345301067 -71.0514498735192 -97.5 12.5503432645061 -80.0218025536982 -97.5 -15.2740139593588 -79.546869816287 -97.5 -41.2955197513081 -69.6827098243842 -97.5 -62.4427543062766 -51.5936278492409 -97.5 -76.219627061566 -27.4147487786373 -97.5 60.6455938482214 -53.694617484405 -127.5 38.8933345301067 -71.0514498735192 -127.5 12.5503432645061 -80.0218025536982 -127.5 -15.2740139593588 -79.546869816287 -127.5 -41.2955197513081 -69.6827098243842 -127.5 -62.4427543062766 -51.5936278492409 -127.5 -76.219627061566 -27.4147487786373 -127.5 3.52100036871662 4.5 3.77210809039507 4.5 4.02321581207352 4.5 4.27432353375197 4.5 4.52543125543043 4.5 4.77653897710888 4.5 5.02764669878733 4.5 5.27875442046578 4.5 5.52986214214423 4.5 5.78096986382268 4.5 6.03207758550113 4.5 6.28318530717959 4.5 3.52100036871752 27.0000018656553 6.28318530717959 94.5 3.59921730302644 38.2964427576553 3.622092655272 47.3797714214466 3.6059721319209 58.9977204880447 3.56773594602027 66.3873983151752 3.52100037755842 72.0000002782009 3.52100036871662 94.5 3.77210809039507 94.5 4.02321581207352 94.5 4.27432353375197 94.5 4.52543125543043 94.5 4.77653897710888 94.5 5.02764669878733 94.5 5.27875442046578 94.5 5.52986214214423 94.5 5.78096986382268 94.5 6.03207758550113 94.5 3.86627348602449 34.5 4.21154660333236 34.5 4.55681972064023 34.5 4.9020928379481 34.5 5.24736595525597 34.5 5.59263907256384 34.5 5.93791218987172 34.5 3.86627348602449 64.5 4.21154660333236 64.5 4.55681972064023 64.5 4.9020928379481 64.5 5.24736595525597 64.5 5.59263907256384 64.5 5.93791218987172 64.5 21 38 22 3 31 2 13 1 2 29 28 43 37 43 36 42 35 36 4 32 3 41 35 42 39 33 40 35 41 34 40 41 25 40 34 41 35 8 9 25 24 40 28 27 42 34 40 33 28 42 43 33 39 32 29 43 44 38 32 39 14 30 44 16 38 17 14 37 12 4 5 33 24 23 40 37 11 12 10 37 36 31 13 2 13 31 15 22 39 23 16 15 31 16 31 38 18 17 38 43 37 44 19 18 21 20 19 21 32 31 3 38 21 18 33 5 6 32 38 31 33 32 4 39 22 38 34 6 7 39 40 23 6 34 33 41 26 25 35 7 8 26 42 27 35 34 7 26 41 42 36 9 10 36 43 42 9 36 35 30 29 44 37 10 11 14 44 37 - -TShapes 77 -Ve -0.000246376178516605 -210 -30 -67.5 -0 0 - -0101101 -* -Ve -1e-007 -210 -45 -67.5 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 1 0 0 15 -2 1 1 0 0 15 -2 2 2 0 0 15 -6 1 1 0 -6 2 2 0 -0 - -0101000 --77 0 +76 0 * -Ve -0.03000000002 -210 -30 -90 -0 0 - -0101101 -* -Ed - 1e-008 1 1 0 -1 2 0 78.75 101.25 -2 3 1 0 78.75 101.25 -2 4 3 0 78.75 101.25 -6 3 1 0 -6 4 3 0 -0 - -0101000 -+74 0 -77 0 * -Ve -1e-007 -210 -45 -157.5 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 3 0 0 90 -2 5 1 0 0 90 -2 6 4 0 0 90 -6 5 1 0 -6 6 4 0 -0 - -0101000 --76 0 +72 0 * -Ve -0.03000000002 -210 -30 -135 -0 0 - -0101101 -* -Ed - 3.74999999999999e-007 1 1 0 -1 4 0 0.927295218001612 2.21429743558818 -2 7 1 0 0.927295218001612 2.21429743558818 -2 8 5 0 0.927295218001612 2.21429743558818 -6 7 1 0 -6 8 5 0 -0 - -0101100 -+74 0 -70 0 * -Ve -0.000246376178516605 -210 -30 -157.5 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 5 0 0 15 -2 9 1 0 0 15 -2 10 6 0 0 15 -6 9 1 0 -6 10 6 0 -0 - -0101000 --68 0 +72 0 * -Ed - 1e-008 1 1 0 -1 6 0 11.25 33.75 -2 11 1 0 11.25 33.75 -2 12 3 0 11.25 33.75 -6 11 1 0 -6 12 7 0 -0 - -0101000 -+68 0 -70 0 * -Wi - -0101000 --75 0 +73 0 -71 0 -69 0 +67 0 +66 0 * -Fa -0 1e-007 1 0 -2 1 -0101000 -+65 0 * -Ve -0.000261000000174 --29.999999999814 81.6639455329655 -67.5 -0 0 - -0101101 -* -Ve -1e-007 --87 -2.13081505565094e-014 -67.5 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 7 0 0 1.21874122748817 -2 13 8 0 0 1.21874122748817 -2 14 7 0 0 1.21874122748817 -6 13 2 0 -6 14 8 0 -0 - -0101000 --63 0 +62 0 * -Ve -0.03000000002 --30.0000000000675 75.2396172238798 -67.5 -0 0 - -0101101 -* -Ed - 1e-008 1 1 0 -1 8 0 -96.6639455329655 -90.2396172238798 -2 15 7 0 -96.6639455329655 -90.2396172238798 -2 16 9 0 -96.6639455329655 -90.2396172238798 -6 15 2 0 -6 16 9 0 -0 - -0101000 -+63 0 -60 0 * -Ve -1.88336243050877e-005 -74.4580418759223 -45.0000000000378 -67.5 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 7 0 3.68521716112313 6.28318530717959 -2 13 8 0 3.68521716112313 6.28318530717959 -2 14 7 0 3.68521716112313 6.28318530717959 -6 17 2 0 -6 18 10 0 -0 - -0101100 -+58 0 -62 0 * -Ve -3.04168121625438e-005 --81 0 -67.5 -0 0 - -0101101 -* -Ed - 8.1e-007 1 1 0 -1 9 0 4.71238898038469 5.90377759205096 -2 17 7 0 4.71238898038469 5.90377759205096 -2 18 10 0 4.71238898038469 5.90377759205096 -6 19 2 0 -6 20 11 0 -0 - -0101100 --60 0 +56 0 * -Ed - 1e-007 1 1 0 -1 10 0 21.9580418759223 157.5 -2 19 4 0 21.9580418759223 157.5 -2 20 2 0 21.9580418759223 157.5 -6 21 2 0 -6 22 4 0 -0 - -0101000 -+58 0 -76 0 * -Ve -0.03000000002 -75.2396172239336 -29.9999999999325 -67.5 -0 0 - -0101101 -* -Ed - 8.1e-007 1 1 0 -1 9 0 8.23338934910131 10.9955742875643 -2 17 7 0 8.23338934910131 10.9955742875643 -2 18 10 0 8.23338934910131 10.9955742875643 -6 23 2 0 -6 24 12 0 -0 - -0101100 -+53 0 -56 0 * -Ed - 1e-008 1 1 0 -1 11 0 90.2396172239336 225 -2 21 7 0 90.2396172239336 225 -2 22 3 0 90.2396172239336 225 -6 25 2 0 -6 26 3 0 -0 - -0101000 -+53 0 -77 0 * -Wi - -0101000 -+61 0 +59 0 +57 0 -55 0 -54 0 -52 0 -75 0 +51 0 * -Fa -0 1e-007 7 0 -2 2 -0101000 -+50 0 * -Ve -0.03000000002 -75.2396179472505 -30 -90 -0 0 - -0101101 -* -Ed - 3.74999999999999e-007 1 1 0 -1 12 0 75.2396179472505 210 -2 23 5 0 75.2396179472505 210 -2 24 3 0 75.2396179472505 210 -6 27 3 0 -6 28 5 0 -0 - -0101000 -+48 0 -74 0 * -Ed - 8.1e-007 1 1 0 -1 13 0 4.5 27.0000018656553 -2 25 10 0 4.5 27.0000018656553 -2 26 3 0 4.5 27.0000018656553 -6 29 3 0 -6 30 12 0 -0 - -0101000 -+53 0 -48 0 * -Wi - -0101000 --47 0 -46 0 -73 0 +51 0 * -Fa -0 1e-007 3 0 -2 3 -0101000 -+45 0 * -Ve -1.88336243050877e-005 -74.4580418759223 -45.0000000000378 -157.5 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 14 0 21.9580418759223 157.5 -2 27 4 0 21.9580418759223 157.5 -2 28 6 0 21.9580418759223 157.5 -6 31 4 0 -6 32 6 0 -0 - -0101000 -+43 0 -72 0 * -Ed - 8.7e-007 1 1 0 -1 15 0 0 90 -2 29 8 0 0 90 -2 30 4 0 0 90 -6 33 4 0 -6 34 10 0 -0 - -0101000 -+58 0 -43 0 * -Wi - -0101000 --42 0 -41 0 -71 0 +54 0 * -Fa -0 1e-007 4 0 -2 4 -0101000 -+40 0 * -Ve -0.03000000002 -75.2396169923328 -30 -135 -0 0 - -0101101 -* -Ed - 3.74999999999999e-007 1 1 0 -1 16 0 75.2396169923328 210 -2 31 5 0 75.2396169923328 210 -2 32 3 0 75.2396169923328 210 -6 35 7 0 -6 36 5 0 -0 - -0101000 -+38 0 -70 0 * -Ed - 0.00060747381012796 1 1 0 -1 17 0 0.189666449548475 0.44788628370554 -2 33 10 0 0.189666449548475 0.44788628370554 -2 34 5 0 0.189666449548475 0.44788628370554 -6 37 5 0 -6 38 12 0 -0 - -0101000 -+48 0 -38 0 * -Wi - -0101000 --69 0 -47 0 +37 0 +36 0 * -Fa -0 1e-007 5 0 -2 5 -0101000 -+35 0 * -Ve -0.000261000000174 --29.999999999814 81.6639455329655 -157.5 -0 0 - -0101101 -* -Ve -1e-007 --87 -2.13081505565094e-014 -157.5 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 18 0 0 1.21874122748817 -2 35 8 0 0 1.21874122748817 -2 36 11 0 0 1.21874122748817 -6 39 6 0 -6 40 8 0 -0 - -0101000 --33 0 +32 0 * -Ve -0.03000000002 --30.0000000000675 75.2396172238798 -157.5 -0 0 - -0101101 -* -Ed - 1e-008 1 1 0 -1 19 0 -96.6639455329655 -90.2396172238798 -2 37 11 0 -96.6639455329655 -90.2396172238798 -2 38 9 0 -96.6639455329655 -90.2396172238798 -6 41 6 0 -6 42 9 0 -0 - -0101000 -+33 0 -30 0 * -Ed - 1e-007 1 1 0 -1 18 0 3.68521716112313 6.28318530717959 -2 35 8 0 3.68521716112313 6.28318530717959 -2 36 11 0 3.68521716112313 6.28318530717959 -6 43 6 0 -6 44 10 0 -0 - -0101100 -+43 0 -32 0 * -Ve -3.04168121625438e-005 --81 0 -157.5 -0 0 - -0101101 -* -Ed - 8.1e-007 1 1 0 -1 20 0 4.71238898038469 5.90377759205096 -2 39 11 0 4.71238898038469 5.90377759205096 -2 40 10 0 4.71238898038469 5.90377759205096 -6 45 6 0 -6 46 11 0 -0 - -0101100 --30 0 +27 0 * -Ve -0.03000000002 -75.2396172239336 -29.9999999999325 -157.5 -0 0 - -0101101 -* -Ed - 8.1e-007 1 1 0 -1 20 0 8.23338934910131 10.9955742875643 -2 39 11 0 8.23338934910131 10.9955742875643 -2 40 10 0 8.23338934910131 10.9955742875643 -6 47 6 0 -6 48 12 0 -0 - -0101100 -+25 0 -27 0 * -Ed - 1e-008 1 1 0 -1 21 0 90.2396172239336 225 -2 41 11 0 90.2396172239336 225 -2 42 3 0 90.2396172239336 225 -6 49 6 0 -6 50 7 0 -0 - -0101000 -+25 0 -68 0 * -Wi - -0101000 -+31 0 +29 0 +28 0 -26 0 -42 0 -24 0 -67 0 +23 0 * -Fa -0 1e-007 11 0 -2 6 -0101000 -+22 0 * -Ed - 8.1e-007 1 1 0 -1 22 0 72.0000011651129 94.5 -2 43 10 0 72.0000011651129 94.5 -2 44 3 0 72.0000011651129 94.5 -6 51 7 0 -6 52 12 0 -0 - -0101000 -+38 0 -25 0 * -Wi - -0101000 -+37 0 -20 0 -66 0 -23 0 * -Fa -0 1e-007 3 0 -2 7 -0101000 -+19 0 * -Ed - 8.7e-007 1 1 0 -1 23 0 0 90 -2 45 8 0 0 90 -2 46 9 0 0 90 -6 53 9 0 -6 54 8 0 -0 - -0101000 -+63 0 -33 0 * -Ed - 1e-007 1 1 0 -1 24 0 0 90 -3 47 48CN 8 0 0 90 -6 55 8 0 -6 56 10 0 -0 - -0101000 --32 0 +62 0 * -Wi - -0101000 --31 0 +17 0 -16 0 +61 0 * -Fa -0 1e-007 8 0 -2 8 -0101000 -+15 0 * -Ed - 8.1e-007 1 1 0 -1 25 0 4.5 94.5 -2 49 10 0 4.5 94.5 -2 50 9 0 4.5 94.5 -6 57 9 0 -6 58 11 0 -0 - -0101000 -+60 0 -30 0 * -Wi - -0101000 --17 0 +59 0 -29 0 +13 0 * -Fa -0 1e-007 9 0 -2 9 -0101000 -+12 0 * -Wi - -0101000 --28 0 -41 0 +16 0 +57 0 * -Fa -0 1e-007 8 0 -2 10 -0101000 -+10 0 * -Ed - 1e-007 1 1 0 -1 26 0 4.5 94.5 -3 51 52CN 10 0 4.5 94.5 -6 59 11 0 -6 60 12 0 -0 - -0101000 -+56 0 -27 0 * -Wi - -0101000 -+55 0 +13 0 -8 0 -26 0 * -Fa -0 1e-007 10 0 -2 11 -0101000 -+7 0 * -Wi - -0101000 -+52 0 -46 0 +8 0 -36 0 -24 0 -20 0 * -Fa -0 1e-007 10 0 -2 12 -0101000 -+5 0 * -Sh - -0101100 -+64 0 -49 0 +44 0 -39 0 -34 0 +21 0 +18 0 +14 0 +11 0 +9 0 --6 0 -4 0 * -So - -0100000 -+3 0 * -Co - -1100000 -+2 0 * - -+1 0 \ No newline at end of file diff --git a/samples/java/java/data/Piston.rle b/samples/java/java/data/Piston.rle deleted file mode 100755 index b741537639..0000000000 --- a/samples/java/java/data/Piston.rle +++ /dev/null @@ -1,461 +0,0 @@ -DBRep_DrawableShape - -CASCADE Topology V1, (c) Matra-Datavision -Locations 0 -Curve2ds 34 -1 6.28318530717959 0 0 1 -1 0 0 0 1 -7 0 0 8 23 4 6.00771452445893 22.5 6.00771452445893 21.9338563029588 6.00870984010332 21.3714304292319 6.01067682945827 20.8254058252077 6.01348800352793 20.3021368432782 6.01700364367353 19.8045769815302 6.02110147079215 19.3334852229732 6.02568362338785 18.8877763325393 6.03939644863118 17.7317911414129 6.04939024845228 17.0678728874628 6.06045735977617 16.4560321145361 6.07253412782571 15.8907102725411 6.0855787767868 15.3664437775331 6.09964382763123 14.8809416203208 6.1148212232538 14.4321185390854 6.14594730195988 13.6606652944277 6.16144021274072 13.3323041531801 6.17818106194048 13.0327183827352 6.19637480100163 12.7669948271058 6.21613087365443 12.5465623592558 6.23740563010982 12.3845540327156 6.26002162150306 12.3000000868638 6.28318530717959 12.3 - 0 9 0.235261662859094 7 0.643088154784613 7 1 9 -7 0 0 8 23 4 1.5707963267949 76.4138530735131 1.51529204277125 76.4138530735131 1.46015263984969 76.4037019009453 1.40635861010512 76.3836340074534 1.35429359142393 76.3551698735403 1.30410275671511 76.3200737020451 1.25579366270605 76.2799172827686 1.20921833640712 76.2359471672788 1.08581998113725 76.1074865984558 1.01193342159117 76.0170051198152 0.940453138104225 75.9212469984104 0.870542761079445 75.8223932155924 0.801338217887474 75.7224144572011 0.732081186272261 75.6228566691697 0.661915553175331 75.5251394695077 0.525841454999868 75.3486744792322 0.461031943926655 75.2697774058585 0.393499186610369 75.1948691431848 0.32245673951554 75.1259983446079 0.247399041791999 75.0670759472163 0.168306935371768 75.0229967326239 0.0851606091048738 75.000000023627 0 75 - 0 9 0.235261662859094 7 0.643088154784613 7 1 9 -1 0 0 1 0 -2 0 0 1 0 0 1 37.5 -7 0 0 8 30 5 6.28318530717959 32.7 6.2701601216033 32.7 6.25715916557042 32.6732682212795 6.24441388599496 32.6199805362382 6.2320663812498 32.5426139288743 6.22019707998726 32.4443349148207 6.20884093950833 32.3282152469234 6.19799640943407 32.1968460026085 6.16751946135761 31.7707132529088 6.14925313066889 31.439039897984 6.13241693078833 31.0672320099225 6.11686033839846 30.6593761524244 6.10242852227299 30.2184393675714 6.08903204308698 29.7439626482363 6.07658152522341 29.2336462875555 6.05931097951416 28.4030798297144 6.05382375657603 28.1174322099096 6.04857235107009 27.8207278961292 6.04356199239517 27.5121326348242 6.03880457127275 27.1907668047182 6.03431842166903 26.8556697925856 6.03012924795134 26.5057123104144 6.02214678297678 25.7477163539369 6.01841228667685 25.3383605126234 6.01509865507434 24.9088680653877 6.01227555665461 24.4581944473645 6.01003685667997 23.9870685546676 6.00848783546457 23.4985533512802 6.0077145231831 22.9990593255224 6.00771452445893 22.5 - 0 9 0.202754976009154 7 0.596174730959611 7 0.791298896711974 7 1 9 -7 0 0 8 30 5 3.14159265358979 75 3.09370594191227 75 3.04590839617401 75.0072706823243 2.99889543585727 75.0217665153401 2.9530384126312 75.0427082833905 2.90852841060137 75.0690518525878 2.86543350931928 75.0997667691827 2.82370935659754 75.1339834285555 2.70460536503808 75.2430244902044 2.63074888753185 75.3256315313887 2.55982351356866 75.4148122408136 2.49105261911121 75.5081451691031 2.423624734855 75.6035592910652 2.35684071945071 75.6995942251775 2.28988881657144 75.7950613592746 2.18754987020132 75.935226369155 2.15335509939954 75.9811313857979 2.11876753304683 76.0262924027396 2.08366717622325 76.0704797017189 2.0479373043906 76.1134098261154 2.01145614374092 76.1547367081239 1.974084116644 76.1940369559315 1.89453469467904 76.2700985711967 1.8523114353457 76.3063894893287 1.80867775664027 76.3391375814631 1.76349082852502 76.3674548024068 1.71676635718083 76.390162951684 1.66869346268906 76.4059663207817 1.61972377366245 76.4138528500202 1.5707963267949 76.4138530735131 - 0 9 0.202754976009154 7 0.596174730959611 7 0.791298896711974 7 1 9 -7 0 0 8 58 9 8.88178419700125e-016 12.3 0.0194336215292337 12.2999999271239 0.038298696981367 12.3595101973594 0.0561472794017659 12.472405492615 0.0728512060869893 12.6270382292174 0.0884034949966006 12.8142801642439 0.102900866188289 13.0271058177846 0.116522338630612 13.2625177550337 0.145708969955754 13.8481086224991 0.16073497371216 14.2084052018483 0.174857719612046 14.602415543225 0.188191333883802 15.0321221502526 0.200828354405505 15.4988382453135 0.212807957710177 16.0110207149387 0.224166479597481 16.5745238147699 0.238905537559466 17.4629376253557 0.242839003340938 17.717215916627 0.246672484267769 17.9844361036121 0.250401778764192 18.2663637069969 0.254013370292826 18.5656141029169 0.257486995379191 18.8851836761951 0.260793509040559 19.2290589993748 0.265602554733785 19.8175465434628 0.26724855120514 20.0379731014467 0.268813596912093 20.2700736802292 0.270283749069763 20.5157927770971 0.271632405235525 20.7767733054455 0.272820871732645 21.054308293863 0.273800034280561 21.3491280080409 0.275519105848675 22.1010577205628 0.276036624915611 22.5922101218122 0.275687172598352 23.0774799939931 0.274609856114214 23.5315417423879 0.273062825132328 23.9486850568341 0.271199867894018 24.3271716801384 0.26914225122955 24.6731166616919 0.263641628877284 25.4608707558069 0.260049181884395 25.8715456526876 0.256217550815387 26.2486755761085 0.252191493522754 26.5967334814985 0.248014651841514 26.9220656343909 0.24370324243815 27.2273246355427 0.239265932989474 27.5160880020064 0.22429182495667 28.4162022484117 0.213272472391902 28.9648958401486 0.201666176111117 29.4644808451484 0.189442475043261 29.9208664148807 0.176565887247072 30.3417802966489 0.162954962779136 30.7287994611077 0.148505981669468 31.0838867210452 0.119728265827989 31.681109856242 0.105822569238666 31.9293445982274 0.0910050969637988 32.1539685604448 0.0750802464293434 32.3520058655997 0.0579373298428374 32.516023812982 0.0395734680037547 32.6362922818421 0.0201072397970972 32.7 8.88178419700125e-016 32.7 - 0 9 0.163705480684179 7 0.367634572339036 7 0.444515001950763 7 0.487524241931936 7 0.548203633010543 7 0.634772885798366 7 0.831664139395125 7 1 9 -7 0 0 8 58 9 6.28318530717959 75 6.21173816920447 74.9999999801777 6.14238146239015 75.0161860462526 6.07624580022545 75.046898224349 6.01342122793478 75.0884525927994 5.95380747473323 75.1377185547001 5.89698198467224 75.1923508776618 5.84223856579024 75.251147067149 5.72133348617566 75.3925094053614 5.65647384335376 75.4764244912405 5.59260836205127 75.5642785616644 5.52889162687949 75.6550482470041 5.46467127241174 75.7478599875833 5.39880162235057 75.8418209645874 5.33045168681821 75.9361690308638 5.22864982540304 76.0647950202922 5.20004913143718 76.0998007999117 5.17052056405263 76.1345512387815 5.13988815268549 76.1689547876117 5.10789867790222 76.2028287314801 5.07426502350605 76.2359175367592 5.03860426893797 76.267864855551 4.97843764107096 76.3149018793033 4.95605880430201 76.3311247738875 4.93264910348564 76.3466584081487 4.90802006025778 76.3613484871489 4.88201489159109 76.3749082999808 4.85450750230587 76.3869197999182 4.82541656783815 76.3968526984202 4.75144744301899 76.4143276908007 4.7033071194704 76.4196306026395 4.65587492407241 76.416090265195 4.61132117525512 76.4050069618517 4.57013434288028 76.3892783974273 4.53249222648884 76.3704916276421 4.49782186834068 76.3499325101156 4.41816590655676 76.2955340290417 4.37600644639537 76.2604391060621 4.33666995555539 76.2235789566539 4.29973300449222 76.1855031131192 4.2645864073575 76.1467275070709 4.23097861141419 76.1074778289031 4.19855467293481 76.0679111849891 4.09533530379185 75.9373308339422 4.02885074922111 75.8457475143953 3.96477531889277 75.7545031232039 3.90229970521031 75.6643161348929 3.84037817043446 75.5760038575476 3.77839343556033 75.4903545034382 3.71556628393342 75.4082838773402 3.59546147365983 75.2651862142283 3.53926882696011 75.2035124817287 3.48095404219696 75.1460665014637 3.4197463600506 75.0940788158084 3.35516884459097 75.050046146768 3.28708311792118 75.0173276469396 3.21551632931441 75 3.14159265358979 75 - 0 9 0.163705480684179 7 0.367634572339036 7 0.444515001950763 7 0.487524241931936 7 0.548203633010543 7 0.634772885798366 7 0.831664139395125 7 1 9 -1 0 67.5 1 0 -2 0 0 1 0 0 1 37.5 -7 0 0 8 23 4 2.86612187086914 22.5 2.86612187086914 21.9338563029529 2.86711718651354 21.3714304292252 2.86908417586854 20.8254058251911 2.87189534993823 20.3021368432606 2.87541099008387 19.8045769815123 2.87950881720259 19.333485222947 2.88409096979832 18.8877763325135 2.89780379504128 17.731791141428 2.90779759486171 17.0678728875179 2.91886470618506 16.4560321146108 2.93094147423341 15.8907102726606 2.94398612319401 15.3664437776544 2.95805117403703 14.8809416204738 2.97322856965854 14.4321185392475 3.0043546483636 13.6606652945651 3.01984755914479 13.3323041532905 3.03658840834548 13.0327183828096 3.05478214740689 12.7669948271628 3.07453822006101 12.5465623592825 3.09581297651724 12.3845540327266 3.11842896791185 12.3000000868638 3.14159265358979 12.3 - 0 9 0.235261662860666 7 0.643088154762064 7 1 9 -7 0 0 8 23 4 4.71238898038469 148.586146926487 4.76789326440891 148.586146926487 4.82303266733061 148.596298099055 4.87682669707602 148.616365992547 4.92889171575742 148.644830126461 4.97908255046638 148.679926297956 5.02739164447616 148.720082717234 5.07396697077516 148.764052832724 5.19736532604084 148.892513401543 5.27125188558235 148.982994880178 5.34273216906688 149.078753001578 5.41264254608522 149.177606784387 5.48184708927638 149.277585542775 5.55110412088548 149.377143330799 5.62126975397897 149.474860530457 5.75734385215259 149.651325520735 5.82215336322792 149.730222594114 5.88968612054971 149.805130856795 5.96072856764413 149.874001655378 6.03578626537484 149.932924052776 6.11487837179732 149.977003267373 6.1980246980695 149.999999976373 6.28318530717959 150 - 0 9 0.235261662860666 7 0.643088154762064 7 1 9 -7 0 0 8 121 18 3.14159265358882 12.3 3.15285594713859 12.2999957660763 3.16388847521159 12.3200078740558 3.17425948616596 12.3584917956816 3.18386954664114 12.4102003579317 3.19273367874085 12.4708184589119 3.20093207280179 12.5377974016168 3.20862012514842 12.6099323625726 3.22429431131162 12.7764563563242 3.23204069297385 12.8708099444581 3.23934469203272 12.970147742526 3.2462753847784 13.0737413074688 3.25287979862659 13.1811080225653 3.25919758421285 13.2919186946602 3.26526548793403 13.4059780134711 3.28140509108919 13.7298096231873 3.2909970725616 13.945997517033 3.3000373266754 14.1713470586121 3.30861304639456 14.4057688270717 3.31678088078566 14.6494486865835 3.32458584749312 14.9028246305309 3.3320671372298 15.1666702599032 3.34707926304625 15.7426282401313 3.35454310058752 16.0564467570679 3.3616869132806 16.3856662769939 3.36853496331562 16.7322100652265 3.37509456955677 17.0991358789989 3.38136241732835 17.4899905794706 3.38732376892038 17.9096395211812 3.39639846242654 18.6539197550412 3.39970384686678 18.9515276201707 3.40286864024079 19.2667324018521 3.40587489173268 19.6044882951884 3.40869395620784 19.9680382257933 3.41124197945469 20.364595467492 3.41343900278349 20.7982960618418 3.41613378642582 21.6116681951206 3.41702075655591 21.9792021641144 3.41749943837609 22.369847033736 3.41744223503775 22.7633850363628 3.41688842028124 23.1433091687888 3.41596621002365 23.499435126366 3.41478534004314 23.8288026486779 3.41128968049703 24.6072350433047 3.4086821505051 25.0270307320793 3.40577168650665 25.4122981011416 3.40261903263188 25.7672215574146 3.39928819202411 26.0986258742167 3.39580180127836 26.4093367520921 3.39217382222026 26.7035315660066 3.38271034970299 27.4065431048336 3.37672168092086 27.7958540679754 3.37045152756553 28.1607067710341 3.36390667315348 28.505035677488 3.35708455426646 28.8316743996634 3.34997375454451 29.1429702327193 3.34254977103053 29.4405139395419 3.32830139333256 29.9629633168747 3.3215920690032 30.191441076398 3.31462143721759 30.4119763896378 3.30736144066518 30.6250500398393 3.29977936093694 30.8309436776653 3.29183427695156 31.0297788103981 3.28346718495841 31.2215061506576 3.26881960407641 31.5254945431017 3.2628409412324 31.6419286779282 3.256622768451 31.7551469821723 3.25013124447363 31.8649841251084 3.24332949270283 31.9711545432403 3.23617362335251 32.0732364785529 3.22859999496293 32.1705957040054 3.2124290600842 32.3536524268099 3.20402807232301 32.4371831432641 3.19501458241255 32.5147831151776 3.18516974266632 32.5855078355867 3.17435730714169 32.6452703855039 3.16257619270989 32.6883937342671 3.14996367243135 32.7062824191772 3.131486714928 32.6952638138005 3.12576521336526 32.6865815241918 3.12018229922725 32.6729042662206 3.11478262317469 32.654818584486 3.10958577996744 32.6330060633922 3.10459292886131 32.6080692886216 3.09979052490804 32.5804345769067 3.08780598366127 32.5026678772185 3.08091143484808 32.4490911604089 3.0743939611448 32.3908367039395 3.06820493990582 32.3287603418596 3.06230740318257 32.2634705423353 3.05666807265755 32.1954052540528 3.05125470574431 32.1248534186863 3.03566562335294 31.9068800315628 3.02610580300636 31.7529363778144 3.01715121207742 31.5915398061254 3.00870321265289 31.4234294484866 3.00068958122884 31.2490601446513 2.9930494887624 31.068662460171 2.98574024267359 30.8821732130932 2.96647712286195 30.3528963978177 2.95514718572102 29.9979267829551 2.94451633003929 29.6230788540131 2.93449230159073 29.2259291523194 2.92500681531274 28.8040409091099 2.91603289352157 28.352046562146 2.90755411578622 27.8647000800847 2.89628896328328 27.1008872258711 2.89307386254532 26.8677465860969 2.88995422665467 26.6245896992369 2.88693445141127 26.3700712290443 2.88402472000946 26.1024106473099 2.88123999820031 25.819518717128 2.87860164465474 25.5186126170402 2.87412789791138 24.9275183134942 2.87226306679392 24.6487423594933 2.87053235939876 24.3515418932075 2.86896821024971 24.0305641591155 2.86763544282295 23.6830849552893 2.86664225844186 23.3083170329349 2.86612154968177 22.9090202928836 2.86612187086914 22.5 - 0 9 0.0423506058662399 7 0.090076316138786 7 0.174108233108291 7 0.265681036202995 7 0.322212869948441 7 0.359479972399362 7 0.41751294759096 7 0.504709943312817 7 0.577211980248248 7 0.62427011542655 7 0.671202333301878 7 0.692571846382722 7 0.726404770882003 7 0.793689274878076 7 0.911018055108061 7 0.959845497244295 7 1 9 -7 0 0 8 121 18 -3.5740299608733e-012 150 0.041409325501256 150.000000988553 0.0819691868051757 149.994558686785 0.120200633358343 149.984087965685 0.1558105332853 149.970085242075 0.188863120880633 149.953785442156 0.219634828375593 149.935911642995 0.248698911259716 149.916810743527 0.308438894552275 149.873119358274 0.338265980543761 149.848585133822 0.366694663070279 149.823018856033 0.393978129776028 149.796655856513 0.420288511311449 149.769660457001 0.44577216502219 149.74215360858 0.470567458310514 149.714221498906 0.537425641640091 149.636047900728 0.578215687983313 149.585095280755 0.617733527499287 149.533372131808 0.656340690304108 149.481111620638 0.69429814063356 149.428492366077 0.731840340695541 149.375661752468 0.769207137570928 149.322745406889 0.847418766071617 149.212194028172 0.888212705578771 149.154654769398 0.929373986485653 149.0973227027 0.971196479732074 149.040330870093 1.01405095627115 148.983907751069 1.05833597966195 148.92835291256 1.10456369876043 148.87406183261 1.18436736449423 148.789427594548 1.215807730268 148.758102483433 1.24865689624471 148.727669556704 1.28340374734786 148.698362029973 1.32034980444055 148.670522154463 1.36019567402313 148.645068903861 1.40333895841432 148.622926666032 1.48364941575702 148.59563408162 1.51980179564682 148.586605889537 1.55807479356887 148.581685015756 1.59657115650293 148.582270565448 1.63379796696682 148.587954471398 1.66883117743428 148.597357269871 1.70137286702154 148.609323492577 1.77868763421945 148.644519286709 1.82079302117059 148.670585847178 1.85988643296508 148.699367933078 1.89636928739376 148.730147236099 1.93090408874178 148.762202353084 1.96375750338564 148.795246565567 1.99534386800465 148.829077691722 2.07208087801123 148.915775589638 2.1157632887807 148.969298017872 2.15789790343783 149.023801424203 2.19891132305796 149.078980837091 2.23913807466466 149.134599548761 2.2788844510765 149.190470096219 2.31841414156106 149.246462374013 2.39098440213968 149.349039876026 2.42396772441758 149.395578324562 2.45714849469797 149.442013748237 2.49069128726279 149.488257773535 2.52476254603993 149.534206826207 2.55954881582816 149.579736693949 2.59529557131604 149.624690347664 2.65642788946066 149.69752761892 2.68103153100633 149.725840570595 2.70628092981983 149.753758013084 2.73230436551794 149.781200941619 2.75923869666297 149.808059564506 2.78724515670774 149.834185937354 2.81655728526901 149.859370876948 2.87848192674417 149.907174327686 2.91034380235905 149.929224660689 2.94425420735356 149.949895255601 2.98100430336029 149.968893224488 3.02108359867248 149.985098067525 3.06447397426043 149.996845891886 3.11081195916769 150.001708469797 3.17874998232695 149.998711864293 3.19979485712719 149.996350986618 3.22035136700748 149.992633493832 3.24026632105242 149.987724942265 3.25947467162775 149.981818064038 3.27797547207612 149.975083624909 3.29581996640647 149.967643653066 3.34048872780672 149.946778989642 3.36632380294881 149.932468757979 3.39089307161001 149.916995912075 3.41437623016152 149.900613460937 3.43690797476262 149.883503712387 3.45860925479096 149.865800066301 3.47959844107959 149.847594743048 3.54052065841836 149.791818559584 3.57853770433804 149.753028619116 3.61480187394677 149.71306493613 3.64968199341991 149.672227583923 3.6834536778988 149.630737821677 3.71635635844552 149.588760682135 3.74857184089493 149.546395750154 3.83561328621492 149.429261762257 3.88927880648888 149.354029322348 3.94225589190477 149.27837547611 3.99517025410831 149.202631412386 4.04856561512216 149.127146188004 4.10315273843893 149.052379269467 4.15959462776847 148.978818697242 4.24459078454446 148.877585134384 4.27015170312988 148.848236784711 4.29643628255048 148.819337040217 4.32358029054519 148.790969301473 4.35175898980408 148.763274009858 4.38117617337632 148.736442466735 4.41210331147612 148.710736300837 4.47218764810509 148.666724782296 4.50029532960501 148.64821050651 4.53004547474022 148.630892065271 4.56196308072873 148.615121006928 4.59630003109931 148.601587527319 4.63314324509654 148.591453895989 4.67228862156072 148.586143941253 4.71238898038469 148.586146926487 - 0 9 0.0423506058662399 7 0.090076316138786 7 0.174108233108291 7 0.265681036202995 7 0.322212869948441 7 0.359479972399362 7 0.41751294759096 7 0.504709943312817 7 0.577211980248248 7 0.62427011542655 7 0.671202333301878 7 0.692571846382722 7 0.726404770882003 7 0.793689274878076 7 0.911018055108061 7 0.959845497244295 7 1 9 -1 6.28318530717959 0 0 1 -1 0 0 0 1 -7 0 0 8 58 9 8.88178419700125e-016 19.8 0.0242926040870133 19.7999999271222 0.0478919165808884 19.8595128137941 0.0702394104994051 19.9725640779029 0.091172312402767 20.1275469192179 0.110678302943548 20.3152677871755 0.12887415097954 20.5286404207463 0.145979475720875 20.7645709986223 0.182659656229693 21.3511787992645 0.201564066534582 21.7120324645398 0.219341331216138 22.1062887204264 0.236134025800071 22.5357224138344 0.252057816603543 23.0015447154257 0.267163095075131 23.5118793410624 0.281496319556167 24.0724901541782 0.300154940247479 24.9560892667119 0.305163302262733 25.2102786225335 0.310046064838534 25.4773029057857 0.314798118070418 25.7589130292093 0.319402648745913 26.0577222982949 0.32383439779774 26.3767284952754 0.328056952469691 26.7199292791579 0.334209585575796 27.307603776292 0.336318703780443 27.5279217262571 0.338326139272938 27.7599564959173 0.340214304457503 28.0057093495832 0.34194928053388 28.2668870704762 0.343481404683457 28.5448656276595 0.344746966895567 28.8405091093046 0.346966059316316 29.5930259260132 0.347645763944994 30.0849473662485 0.347209188877389 30.5709362024152 0.345837194097552 31.0251686043333 0.343868899152393 31.4421204530982 0.34149912193908 31.8200421718263 0.338886247041393 32.1651799790135 0.331888865734665 32.9527341958067 0.327314234983363 33.363515402553 0.322438392357978 33.7407406392623 0.317317693033059 34.0888551057212 0.312007806150594 34.4143259526457 0.306528891584712 34.7197745280416 0.300891854929322 35.0088127185997 0.281954057508449 35.9063161873708 0.26805633451232 36.4533793406013 0.253428667157285 36.9521647882068 0.238032467597177 37.4084831774143 0.221822804971355 37.8298546912373 0.204698085275788 38.2177618154766 0.186529033379998 38.5740225070214 0.150343575585514 39.1741109245845 0.132849417644526 39.4239674391734 0.114215999460545 39.6501721146784 0.0942013810113185 39.8496458032563 0.0726700873045418 40.0148511847069 0.0496214811099049 40.1359286930779 0.0252057040414044 40.2 8.88178419700125e-016 40.2 - 0 9 0.163273200251134 7 0.366851179198656 7 0.444179114601689 7 0.487496990969287 7 0.548212924662521 7 0.635159408989137 7 0.831714384024288 7 1 9 -7 0 0 8 58 9 6.28318530717959 82.5 6.21173647162955 82.4999999752215 6.14232690588651 82.5202334967816 6.07610627682788 82.5586764269916 6.01318622025187 82.6107670162493 5.95347760991829 82.6725974550775 5.89656908408209 82.7412281098374 5.84176599296572 82.8151343345513 5.72076075044578 82.9929520849838 5.65586593451366 83.0986140267094 5.59202355144657 83.2092822737735 5.52839825309876 83.3236600353782 5.46433888273391 83.440643771221 5.39872283494531 83.5591215212759 5.33071982942294 83.6781467469403 5.22942149230313 83.8409008317677 5.2008186104704 83.8854531130689 5.17130020862705 83.9296971237517 5.1406910932133 83.973518692729 5.10873759535939 84.016689304751 5.07515183662431 84.0588895491994 5.03954931511955 84.0996736898495 4.97944790623414 84.1598343403376 4.95707396350839 84.1806159972232 4.93366503071321 84.200535388796 4.90902703754229 84.219397979345 4.88299714629389 84.23683857635 4.85544154640805 84.2523210642666 4.82626625200996 84.2651581104354 4.75223504896397 84.2877146774516 4.70401703106609 84.2946783045927 4.6565168038025 84.2902582422423 4.6119479937611 84.2761405491551 4.57078281887788 84.2561292372037 4.5332008220905 84.2322289515458 4.4986170174575 84.2061181581793 4.41899899545475 84.1369020053332 4.37683904750978 84.092200925473 4.3375046434425 84.0452824286359 4.30057457076214 83.9968383925081 4.26542716371354 83.94752594899 4.23181319704259 83.8976269278996 4.19937359657201 83.8473397565356 4.09650308154293 83.6821149905629 4.03027909087405 83.5665188762404 3.9663925621532 83.4513908047201 3.90403743347682 83.3376254891981 3.84218103550829 83.2262444055016 3.78020890368143 83.1182402235388 3.71734866435642 83.0147698290864 3.5970365270657 82.834285344348 3.54066533195685 82.7564462631223 3.48214238748107 82.6839713678949 3.4207034138214 82.6184255494633 3.35587850211925 82.5629561401192 3.28753796952118 82.5217832217508 3.21572707724098 82.5 3.14159265358979 82.5 - 0 9 0.163273200251134 7 0.366851179198656 7 0.444179114601689 7 0.487496990969287 7 0.548212924662521 7 0.635159408989137 7 0.831714384024288 7 1 9 -7 0 0 8 30 5 6.28318530717959 40.2 6.26692069616466 40.2 6.25068427368631 40.1733236573175 6.23476022684814 40.1201342126586 6.21932380158561 40.042870902705 6.20447507887553 39.9446748324647 6.19025862883595 39.8286110772239 6.17667430596913 39.6972806666175 6.13846173817353 39.2711291798233 6.11552926054682 38.9393699111844 6.09437529972373 38.5676593149863 6.07481277957103 38.1602861296107 6.05664967376064 37.7203600451746 6.03977350856517 37.2475573219636 6.02407157276713 36.7396747658347 6.0022268318057 35.9128618474512 5.99526083445051 35.6277440693277 5.98858968155473 35.3317015054098 5.98221979495438 35.0238998943935 5.97616600740485 34.7034537298665 5.97045133471663 34.3693872940039 5.96510824043465 34.0205397841742 5.95488520805617 33.2629169150096 5.9500847524243 32.8526845711951 5.9458174373456 32.4220300946639 5.94217433508454 31.9697596865501 5.93927886067083 31.496519406357 5.93727125430999 31.0052963406325 5.93626838672775 30.5024938431116 5.93626840965242 30 - 0 9 0.202054244690512 7 0.594387715224463 7 0.789866654771242 7 1 9 -7 0 0 8 30 5 3.14159265358979 82.5 3.09375556236943 82.5 3.0460014590869 82.5090695397281 2.99901816150998 82.5271557746624 2.95317707735245 82.5533042126337 2.90867183615537 82.5862287969921 2.86557431607119 82.6246533051922 2.82384583346668 82.6674938204801 2.70469258836746 82.8041610389579 2.63081038434089 82.9078320680175 2.5599113091644 83.0198544163667 2.49122328349011 83.1371768579557 2.42394094273732 83.2572013581448 2.35736701421851 83.3781009086882 2.29069206768387 83.4984026177157 2.18872581373664 83.6755349349723 2.15456658880961 83.7337618560867 2.12002938806297 83.7910853333202 2.08499305658411 83.8472174820053 2.04933937400873 83.9018030496883 2.0129444490654 83.954407633915 1.97566534309434 84.0044979036262 1.89610404115656 84.1018465709745 1.85376876462198 84.1484716983748 1.80999919779874 84.1906281572857 1.76463898484467 84.2271600468158 1.71769683425086 84.2565267153171 1.66935436004388 84.2770098674263 1.62006056938451 84.2872365551151 1.5707963267949 84.287236930779 - 0 9 0.202054244690512 7 0.594387715224463 7 0.789866654771242 7 1 9 -7 0 0 8 23 4 5.93626840965242 30 5.93626840965242 29.4329940243021 5.93754537634681 28.8699320931828 5.94006720594261 28.3236951590922 5.9436652479621 27.8006056776933 5.9481562611275 27.3035296791998 5.95338137668174 26.833125324523 5.95921465505828 26.3881787058146 5.97663280780473 25.2353421478321 5.9892949763436 24.5735076042666 6.00329511745649 23.9630913450352 6.01855352856779 23.3985463293703 6.03501750453458 22.8744240572395 6.05275352659409 22.388532698924 6.07187701073481 21.9388910151481 6.11104907282152 21.1656922406487 6.13053012142026 20.8363271925243 6.15156760994085 20.5356148836082 6.17441299309819 20.268793735966 6.19919833814969 20.0474138541985 6.22586519439603 19.8847897900378 6.25419028011874 19.8000000869851 6.28318530717959 19.8 - 0 9 0.235649278226707 7 0.643434367006125 7 1 9 -7 0 0 8 23 4 1.5707963267949 84.287236930779 1.51520750564804 84.287236930779 1.46000576579114 84.2742132563871 1.40618962856447 84.2484844777196 1.35413976135313 84.2120549722606 1.30399466415123 84.167226363687 1.25575429547619 84.1160279532083 1.20925903430931 84.0600534030156 1.08620293489354 83.8968734927635 1.01256382642757 83.7822201646632 0.941284454076511 83.6610523477867 0.871524204675345 83.5360928989895 0.802412639988908 83.4098105481943 0.73319071934383 83.2841369237444 0.663000740867838 83.1608555507311 0.526822387323395 82.9384428866642 0.461933196073757 82.8390715728205 0.394280527583418 82.7447778929946 0.323087806898099 82.6581607137451 0.247860023097465 82.5841337677687 0.168587899922271 82.5288261926327 0.0852794913554443 82.5000000295749 0 82.5 - 0 9 0.235649278226707 7 0.643434367006125 7 1 9 -2 0 0 1 0 0 1 30 -1 0 7.5 1 0 -7 0 0 8 23 4 2.79467575606263 30 2.79467575606263 29.4329940243638 2.79595272275674 28.8699320933017 2.79847455235201 28.3236951592674 2.80207259437078 27.8006056779152 2.80656360753533 27.3035296794621 2.81178872308861 26.8331253248236 2.81762200146415 26.3881787061457 2.83504015420748 25.2353421482502 2.84770232274407 24.5735076047307 2.86170246385446 23.9630913455365 2.87696087496299 23.3985463299064 2.8934248509267 22.8744240577996 2.91116087298276 22.3885326995053 2.93028435711959 21.9388910157407 2.96945641920366 21.1656922411234 2.98893746780447 20.8363271928953 3.0099749563279 20.5356148838789 3.03282033948789 20.2687937361479 3.05760568454378 20.0474138542982 3.08427254079441 19.8847897900738 3.11259762652282 19.8000000869851 3.14159265358979 19.8 - 0 9 0.235649278201433 7 0.643434366932208 7 1 9 -7 0 0 8 23 4 4.71238898038469 140.712763069221 4.7679778015255 140.712763069221 4.82317954137682 140.72578674361 4.87699567859781 140.751515522272 4.92904554580437 140.787945027724 4.97919064300195 140.832773636289 5.02743101167253 140.883972046759 5.07392627283568 140.939946596943 5.19698237224013 141.103126507168 5.27062148069921 141.217779835251 5.34190085304307 141.33894765211 5.41166110243734 141.463907100889 5.48077266711559 141.590189451669 5.5499945877523 141.715863076104 5.62018456621871 141.839144449106 5.7563629197627 142.061557113193 5.82125211102223 142.160928427063 5.88890477952409 142.255222106917 5.96009750021916 142.341839286195 6.03532528403428 142.415866232197 6.11459740722251 142.471173807355 6.19790581580615 142.499999970425 6.28318530717959 142.5 - 0 9 0.235649278201433 7 0.643434366932208 7 1 9 -7 0 0 8 121 18 3.14159265358979 19.8 3.1556650383535 19.7999957414329 3.16946373148827 19.8199888048936 3.18244617104837 19.8585089058347 3.19448482523645 19.9103331726901 3.2055954468267 19.9711330122169 3.21587655791781 20.0383430470497 3.22552220236881 20.110756853771 3.24517496133513 20.2777844842701 3.25488447134839 20.3723466436729 3.26404225326759 20.4718886353397 3.27273411883649 20.5756710995169 3.281018632605 20.6832023144357 3.2889452147238 20.794145667248 3.2965596855144 20.9082996708275 3.31682287420538 21.2323706318744 3.32887152486658 21.4486191878123 3.34023061793494 21.6738708152874 3.35100933377891 21.9080079796801 3.36127866880333 22.1511898691778 3.37109509552106 22.4038264855737 3.38050783289168 22.666657947396 3.39945575362455 23.2414236293072 3.40890283525988 23.555158971556 3.41794750904374 23.8840272989172 3.42662070560296 24.2299139133428 3.43493223235274 24.5958223073916 3.4428785976039 24.9852462981684 3.45044200656639 25.402991140861 3.46199303471638 26.1447673804506 3.46621726720136 26.4423449413608 3.4702645772301 26.7574394267773 3.4741120273914 27.0950998954825 3.47772471687103 27.458486083341 3.48099458029134 27.8551125329971 3.4838219305576 28.2890348155481 3.48728969923102 29.1023422203014 3.48843436220696 29.4690059805431 3.48906246588303 29.8594223916929 3.48900435847639 30.2531574295497 3.48830817613923 30.6333921772913 3.48713958217153 30.9896835029205 3.48564113992541 31.3189288653675 3.48119619464934 32.0983998779494 3.47787063787793 32.5188247844876 3.47416116384183 32.9045471967108 3.47014450760002 33.2596887919247 3.46590354592025 33.591308424311 3.46146644503611 33.9021868031519 3.45685103502376 34.1965904815231 3.44484408646378 34.8985703035141 3.43726319208772 35.2869387839045 3.4293302005206 35.6511624914231 3.42105339124861 35.9951458366113 3.4124292900537 36.3216953255018 3.40344330168965 36.6331320180713 3.39406439541804 36.9310231762146 3.37610187810894 37.4534893543782 3.36766514205366 37.6816507576347 3.3589027369912 37.9020458520938 3.3497795880087 38.1151386387282 3.34025481160174 38.3211961216257 3.33027730411307 38.5203257746944 3.31977346551702 38.7124639721832 3.30139207649875 39.0173026546356 3.29389088860323 39.1341176282995 3.28609102197044 39.2477547408181 3.27795041523964 39.3580444425154 3.26942322997249 39.4646965262284 3.26045493294536 39.5672839031958 3.25096664934348 39.6651668258391 3.23069373185952 39.8495178795885 3.22014750691599 39.9338182337595 3.20883639274057 40.0121508717952 3.19649054665601 40.0835459107057 3.18294157298026 40.1439181229946 3.1681882414995 40.187593375232 3.15239801892412 40.2060185327827 3.12925387643297 40.1955921208718 3.12208903448819 40.1870836674199 3.11509266393943 40.1735493334677 3.10832160647958 40.1555668174454 3.10180142598724 40.1338151745225 3.09553455608997 40.1088994746646 3.08950492971648 40.0812518485652 3.0744779917523 40.0034990288219 3.06583660474821 39.9499328425851 3.05766491539063 39.8916543187172 3.04990305306694 39.829529571044 3.04250523457223 39.764176639374 3.03543011698735 39.6960410770745 3.02863755964985 39.6254173580915 3.0090819224882 39.4073256955354 2.99708810564965 39.2533583185613 2.98585074179266 39.0919964724802 2.97524658444112 38.9240033008287 2.96518533512018 38.7498536780458 2.95559089223693 38.569795820094 2.94640970713239 38.3837827176884 2.92214160495405 37.8548099767559 2.90784288513508 37.4998126426371 2.89442259341906 37.1253264141983 2.88176389291629 36.7290276985797 2.86977992462908 36.3085492773056 2.85843541213582 35.8586845091229 2.84770846164283 35.3742746048798 2.83340744615223 34.6146938401609 2.82930241514699 34.3816673820839 2.82531770831472 34.1387091589437 2.82145870785383 33.8844802937346 2.81773808708188 33.6171992815425 2.81417452750716 33.3347724668873 2.81079475372811 33.034404206388 2.80504721577393 32.4434718101148 2.80264133224689 32.1639196703122 2.80040594408712 31.8657361247121 2.79838295052282 31.5436082770282 2.79665554170832 31.1947537508893 2.79536200522092 30.8179819153235 2.79467503529885 30.4151525302103 2.79467575606263 30 - 0 9 0.0422445683841575 7 0.0897749950852726 7 0.173502937505932 7 0.265231237310537 7 0.32218191546206 7 0.359434876011978 7 0.417759665033159 7 0.505039875097435 7 0.577319610059641 7 0.624235673951667 7 0.671138510226123 7 0.692462195246707 7 0.72614005946467 7 0.79307557721213 7 0.910291725473931 7 0.959447112003497 7 1 9 -7 0 0 8 121 18 0 142.5 0.0413895170362224 142.500001246045 0.0819730519073936 142.493204823508 0.120254641919132 142.480104226691 0.155929235177693 142.462557935596 0.189052351709235 142.442111608229 0.219896496194604 142.419674041838 0.249034588543128 142.395678864338 0.308870033116656 142.340819300135 0.33872300734825 142.310027742424 0.367173073291895 142.277933063379 0.39447204863822 142.244831717129 0.420791587878606 142.210930961314 0.446277734307327 142.176383330048 0.471068532847533 142.141297411108 0.537915483303721 142.043061840532 0.578682077464691 141.979009707331 0.618153224456236 141.913978350184 0.656690318752314 141.84826130224 0.694553830712252 141.782082756861 0.731977303528243 141.715626978394 0.769198927436651 141.649050174218 0.847262319296681 141.509539519071 0.888049394027433 141.436721602706 0.929170220125499 141.364145532616 0.970918032464256 141.29197865597 1.01366108012947 141.220505185575 1.05779529675386 141.150096700925 1.10382917121212 141.081243245808 1.1833991363496 140.973560793689 1.21484836395321 140.93354354597 1.24769741999098 140.894638137669 1.28244504219103 140.857142258429 1.31938470801765 140.821475107529 1.35924677907013 140.788819157965 1.40242000374798 140.760328718003 1.48273147338785 140.725210606972 1.51880170946455 140.713561004333 1.55705459314584 140.707105040671 1.59556981927405 140.707699306022 1.63282481864973 140.714845023588 1.66787152077562 140.726761222566 1.70039734317097 140.741947008194 1.7778022667875 140.786708162063 1.81996310899491 140.819959169293 1.85909427431969 140.856650318144 1.89559075880797 140.89587399128 1.93013827364616 140.936698379213 1.96299924379735 140.97876591245 1.99459726463504 141.02181908008 2.07119439347255 141.131857739414 2.11474850441722 141.199642318095 2.15678196433788 141.268641871625 2.19772009699153 141.338475727424 2.23789665141032 141.408848293018 2.27761740761683 141.479525105067 2.31714607458281 141.550342888557 2.38962823554396 141.679820705382 2.42251656547378 141.73842648943 2.4556183233206 141.796895878354 2.48909712955056 141.855118761425 2.52311877020717 141.91296570431 2.55786925816926 141.970281148283 2.59359339775332 142.026868163415 2.65470934180912 142.118552558241 2.6793123729828 142.154191886928 2.70456606605729 142.18933252587 2.73059804253472 142.223875348976 2.7575445425197 142.257682558521 2.78556602363466 142.290568515424 2.81489424187444 142.322271161293 2.87691882586312 142.382527093735 2.90888547282318 142.410370426991 2.9429040655714 142.436469674614 2.97975566158513 142.460451409211 3.01992476805987 142.480914074259 3.06339505188824 142.495784850564 3.10980795730107 142.502045928255 3.17788582701054 142.498501421673 3.19896774622653 142.495609310345 3.21957404459607 142.491010621023 3.23954819638325 142.484908913053 3.25882189135695 142.477543883642 3.2773912976929 142.469129576601 3.29530515017512 142.459820313651 3.34008155013114 142.433726492955 3.36596238269462 142.415826428336 3.39057753315943 142.396455527651 3.4141041469801 142.375932769364 3.43667581491429 142.354488676654 3.45841285926289 142.332292058393 3.47943323472907 142.309459551639 3.54041105697127 142.239517307653 3.5784413969874 142.190864535062 3.61470223228908 142.140724400402 3.6495623312717 142.089476196416 3.6832972761057 142.037399338239 3.71614638205443 141.984701881267 3.74829136609645 141.931508920543 3.83532598983699 141.784014157803 3.88900763181282 141.68909945817 3.94194231553691 141.593625195142 3.99475404035377 141.498008989566 4.04798720104388 141.402688032761 4.10234247210028 141.308228992879 4.15847942051212 141.215233212829 4.24307437288779 141.086824009849 4.26864206248327 141.049380681799 4.29492342857301 141.012493236606 4.3220540523007 140.976265813631 4.35020969252326 140.940874246656 4.37959491999022 140.906558096906 4.4104826926171 140.873645264716 4.47057804362784 140.817128314213 4.49877504366323 140.793252137578 4.52863332899651 140.770890081963 4.56067253048496 140.750497505096 4.59515135630552 140.732959456403 4.63219592236374 140.719761567151 4.67168728569249 140.712756137739 4.71238898038469 140.712763069221 - 0 9 0.0422445683841575 7 0.0897749950852726 7 0.173502937505932 7 0.265231237310537 7 0.32218191546206 7 0.359434876011978 7 0.417759665033159 7 0.505039875097435 7 0.577319610059641 7 0.624235673951667 7 0.671138510226123 7 0.692462195246707 7 0.72614005946467 7 0.79307557721213 7 0.910291725473931 7 0.959447112003497 7 1 9 -1 6.28318530717959 0 0 1 -1 0 0 0 1 -1 0 52.5 1 0 -2 0 0 1 0 0 1 30 -Curves 17 -1 142.5 9.18454765366783e-015 -75 1 0 0 -7 0 0 8 23 4 165 10.2000000000001 -76.4138530735131 164.433856302959 10.2000000000001 -76.4138530735131 163.871430429232 10.1640825470868 -76.4037019009453 163.325405825208 10.0931029834256 -76.3836340074534 162.802136843278 9.99159889211472 -76.3551698735403 162.30457698153 9.86451740074479 -76.3200737020451 161.833485222973 9.71618443176084 -76.2799172827686 161.387776332539 9.55007130413983 -76.2359471672788 160.231791141413 9.0521442525307 -76.1074865984558 159.567872887463 8.68844911756458 -76.0170051198152 158.956032114536 8.28458577383694 -75.9212469984104 158.390710272541 7.84254954058385 -75.8223932155925 157.866443777533 7.36358401759833 -75.7224144572011 157.380941620321 6.84550167641377 -75.6228566691697 156.932118539085 6.28467639095216 -75.5251394695077 156.160665294428 5.13086479544861 -75.3486744792322 155.83230415318 4.55519092564112 -75.2697774058585 155.532718382735 3.93174712738115 -75.1948691431847 155.266994827106 3.25270074050057 -75.125998344608 155.046562359256 2.51382869809184 -75.0670759472163 154.884554032716 1.71673834550209 -75.0229967326239 154.800000086864 0.868638212869708 -75.000000023627 154.8 0 -75 - 0 9 0.235261662859094 7 0.643088154784613 7 1 9 -2 142.5 0 -112.5 1 0 0 0 0 1 0 -1 0 37.5 -7 0 0 8 30 5 175.2 9.18454765366783e-015 -75 175.2 0.488444459110703 -75 175.17326822128 0.975980337982759 -75.0072706823243 175.119980536238 1.45380195762116 -75.0217665153401 175.042613928874 1.91645657509981 -75.0427082833906 174.944334914821 2.36085325171328 -75.0690518525878 174.828215246923 2.78565242736866 -75.0997667691827 174.696846002609 3.1909063982979 -75.1339834285555 174.270713252909 4.32857833423844 -75.2430244902044 173.939039897983 5.00878700927407 -75.3256315313886 173.567232009925 5.63402518360327 -75.414812240814 173.159376152421 6.21007684381632 -75.5081451691026 172.718439367574 6.74292034912988 -75.6035592910656 172.243962648235 7.23610732614963 -75.6995942251774 171.733646287556 7.69317261255415 -75.7950613592746 170.903079829714 8.32546876543662 -75.935226369155 170.61743220991 8.52605874613437 -75.981131385798 170.320727896129 8.71774490383753 -76.0262924027397 170.012132634824 8.90037002939482 -76.0704797017189 169.690766804718 9.07353621112566 -76.1134098261154 169.355669792586 9.23661499185818 -76.1547367081239 169.005712310414 9.38871502145589 -76.1940369559315 168.247716353937 9.67823278577349 -76.2700985711968 167.838360512623 9.81349437723257 -76.3063894893284 167.408868065388 9.93336481015837 -76.3391375814634 166.958194447364 10.035374723487 -76.3674548024068 166.487068554667 10.1161967120685 -76.3901629516837 165.998553351281 10.1720938605502 -76.405966320782 165.499059325522 10.2000001219934 -76.4138528500201 165 10.2000000000001 -76.4138530735131 - 0 9 0.202754976009154 7 0.596174730959611 7 0.791298896711974 7 1 9 -7 0 0 8 58 9 154.8 8.88178419700125e-015 -75 154.799999927124 -0.728760807346204 -74.9999999801777 154.859510197359 -1.43620125441592 -75.0161860462526 154.972405492615 -2.10510298693296 -75.0468982243492 155.127038229217 -2.73034731030225 -75.0884525927992 155.314280164244 -3.31163982485162 -75.1377185547003 155.527105817785 -3.85264000489722 -75.1923508776618 155.762517755034 -4.36010187225971 -75.251147067149 156.348108622499 -5.44543317570554 -75.3925094053614 156.708405201848 -6.00273793421106 -75.4764244912404 157.102415543225 -6.52512729885452 -75.5642785616645 157.532122150252 -7.01695102285508 -75.6550482470039 157.998838245314 -7.48175383323238 -75.7478599875834 158.511020714939 -7.92111611676568 -75.8418209645874 159.07452381477 -8.33650899359426 -75.9361690308638 159.962937625356 -8.87404863524474 -76.0647950202923 160.217215916627 -9.01734133040715 -76.0998007999115 160.484436103613 -9.15683599966263 -76.1345512387817 160.766363706997 -9.29238946121578 -76.1689547876117 161.065614102916 -9.42352194047904 -76.2028287314799 161.385183676196 -9.5495118168474 -76.2359175367594 161.729058999375 -9.66932046567171 -76.2678648555509 162.317546543463 -9.84341742549902 -76.3149018793033 162.537973101447 -9.90297237465685 -76.3311247738875 162.770073680229 -9.95956877182268 -76.3466584081487 163.015792777097 -10.0127064688253 -76.3613484871489 163.276773305446 -10.0614294946816 -76.3749082999808 163.554308293863 -10.1043479010832 -76.3869197999183 163.849128008041 -10.1396974811318 -76.3968526984202 164.601057720562 -10.2017489478629 -76.4143276908004 165.092210121818 -10.2204174243477 -76.4196306026409 165.577479993979 -10.2078000938554 -76.4160902651922 166.031541742407 -10.1689509446521 -76.405006961855 166.448685056818 -10.1131096920275 -76.3892783974248 166.827171680146 -10.0458219433755 -76.3704916276432 167.17311666169 -9.97145034063706 -76.3499325101153 167.960870755805 -9.77247925205476 -76.2955340290417 168.371545652695 -9.64241329412915 -76.260439106062 168.748675576093 -9.50353337245087 -76.2235789566541 169.096733481518 -9.35743312753723 -76.185503113119 169.422065634376 -9.20567323418759 -76.1467275070709 169.727324635549 -9.04882837564327 -76.1074778289031 170.016088002005 -8.88719933404244 -76.067911184989 170.916202248412 -8.34106414335897 -75.9373308339422 171.464895840149 -7.93808843023477 -75.8457475143952 171.964480845147 -7.51246642808703 -75.754503123204 172.420866414883 -7.06295333750023 -75.6643161348928 172.841780296647 -6.58811680067782 -75.5760038575476 173.228799461108 -6.08483313734022 -75.4903545034382 173.583886721045 -5.54914866502479 -75.4082838773402 174.181109856242 -4.47951380195587 -75.2651862142283 174.429344598226 -3.9616550074342 -75.2035124817285 174.653968560449 -3.40887046954784 -75.1460665014641 174.852005865594 -2.81377770063597 -75.0940788158079 175.016023812986 -2.17218453127547 -75.0500461467683 175.136292281841 -1.48400520671812 -75.0173276469395 175.2 -0.754021492391098 -75 175.2 0 -75 - 0 9 0.163705480684179 7 0.367634572339036 7 0.444515001950763 7 0.487524241931936 7 0.548203633010543 7 0.634772885798366 7 0.831664139395125 7 1 9 -2 210 0 -112.5 1 0 0 0 0 1 0 -1 0 37.5 -7 0 0 8 23 4 165 -10.2 -148.586146926487 164.433856302953 -10.2 -148.586146926487 163.871430429225 -10.1640825470864 -148.596298099055 163.325405825191 -10.0931029834234 -148.616365992547 162.802136843261 -9.99159889211149 -148.644830126461 162.304576981512 -9.8645174007399 -148.679926297956 161.833485222947 -9.71618443175277 -148.720082717234 161.387776332513 -9.55007130413023 -148.764052832724 160.231791141428 -9.05214425253452 -148.892513401543 159.567872887517 -8.68844911759423 -148.982994880178 158.956032114613 -8.28458577387985 -149.078753001578 158.390710272657 -7.84254954068246 -149.177606784387 157.866443777657 -7.36358401770332 -149.277585542775 157.380941620473 -6.84550167657779 -149.377143330799 156.932118539247 -6.28467639115407 -149.474860530457 156.160665294565 -5.13086479568958 -149.651325520735 155.83230415329 -4.55519092586954 -149.730222594114 155.53271838281 -3.93174712757545 -149.805130856795 155.266994827163 -3.25270074068584 -149.874001655378 155.046562359283 -2.51382869822788 -149.932924052776 154.884554032727 -1.7167383456068 -149.977003267373 154.800000086864 -0.868638212922827 -149.999999976373 154.8 0 -150 - 0 9 0.235261662860666 7 0.643088154762064 7 1 9 -7 0 0 8 121 18 154.8 -3.64579477718507e-011 -150 154.799995766076 0.422373368812092 -150.000000988553 154.820007874056 0.836093960950322 -149.994558686786 154.858491795682 1.22492304512511 -149.984087965685 154.910200357932 1.58507314554243 -149.970085242075 154.970818458912 1.91710469491973 -149.953785442156 155.037797401617 2.22404469411868 -149.935911642995 155.109932362573 2.51172160660549 -149.916810743527 155.276456356324 3.09787777032884 -149.873119358274 155.370809944458 3.38734391377392 -149.848585133822 155.470147742526 3.66006581134069 -149.823018856033 155.573741307469 3.91864222384022 -149.796655856513 155.681108022565 4.16484529745989 -149.769660457001 155.79191869466 4.4001696967264 -149.74215360858 155.905978013471 4.62599958084726 -149.714221498906 156.229809623187 5.22616516765586 -149.636047900728 156.445997517033 5.58226563003226 -149.585095280755 156.671347058612 5.91734010452822 -149.533372131809 156.905768827072 6.23468528321402 -149.481111620638 157.149448686583 6.53645059703163 -149.428492366077 157.402824630531 6.82434777328564 -149.375661752468 157.666670259903 7.09986860985565 -149.322745406889 158.242628240131 7.65186194391733 -149.212194028172 158.556446757068 7.92579025748343 -149.154654769398 158.885666276994 8.18749297438769 -149.0973227027 159.232210065227 8.43790726518054 -149.040330870093 159.599135878999 8.67734769919103 -148.983907751069 159.989990579471 8.90574136283732 -148.92835291256 160.409639521181 9.12260356326351 -148.87406183261 161.15391975504 9.45221215023574 -148.789427594548 161.451527620175 9.57214162727536 -148.758102483432 161.766732401844 9.68685454272361 -148.727669556706 162.104488295197 9.79571428965368 -148.698362029972 162.468038225788 9.89769869659858 -148.670522154464 162.864595467494 9.98979749703966 -148.64506890386 163.298296061841 10.0691547791879 -148.622926666033 164.111668195122 10.16645381775 -148.59563408162 164.479202164111 10.1984665523209 -148.586605889538 164.869847033739 10.2157294699908 -148.581685015755 165.263385036364 10.2136658226389 -148.582270565448 165.643309168786 10.1936906969131 -148.587954471398 165.999435126368 10.1604105629088 -148.597357269871 166.328802648677 10.1177752783446 -148.609323492577 167.107235043305 9.99150129768977 -148.644519286709 167.527030732079 9.89725712111813 -148.670585847178 167.912298101144 9.79197735903695 -148.699367933078 168.26722155741 9.67782820156154 -148.7301472361 168.598625874222 9.55710293394685 -148.762202353084 168.909336752089 9.43060619401208 -148.795246565567 169.203531566007 9.29882903458621 -148.829077691722 169.906543104834 8.95470195873895 -148.915775589638 170.295854067976 8.73659364701927 -148.969298017872 170.660706771033 8.50785784080998 -149.023801424203 171.005035677488 8.26869554728248 -149.078980837091 171.331674399664 8.01896905650101 -149.134599548761 171.642970232719 7.75821663183218 -149.190470096219 171.940513939542 7.48549369369131 -149.246462374013 172.462963316874 6.96111827409938 -149.349039876026 172.691441076398 6.71385400286361 -149.395578324562 172.911976389638 6.4565997811638 -149.442013748237 173.125050039839 6.18828824990114 -149.488257773535 173.330943677665 5.90767630913288 -149.534206826207 173.529778810398 5.61321226693747 -149.579736693949 173.721506150657 5.30266517777944 -149.624690347664 174.025494543102 4.75823140875329 -149.69752761892 174.141928677928 4.5358222489506 -149.725840570595 174.255146982172 4.30430877336404 -149.753758013084 174.364984125108 4.0624158544547 -149.781200941619 174.47115454324 3.80875308720184 -149.808059564506 174.573236478553 3.54166622894781 -149.834185937354 174.670595704005 3.25876034663304 -149.859370876948 174.853652426809 2.65423741760015 -149.907174327686 174.937183143268 2.33996017216843 -149.929224660689 175.01478311517 2.00256535626844 -149.949895255601 175.085507835595 1.63383101009552 -149.968893224488 175.145270385498 1.22863341120273 -149.985098067525 175.18839373427 0.786904414899874 -149.996845891886 175.206282419177 0.313909227572628 -150.001708469797 175.195263813801 -0.378970136617701 -149.998711864293 175.186581524191 -0.593518355190133 -149.996350986618 175.172904266221 -0.802852303659508 -149.992633493832 175.154818584487 -1.005288748582 -149.987724942265 175.133006063392 -1.20008743834864 -149.981818064038 175.108069288621 -1.38720259028843 -149.975083624909 175.080434576907 -1.56714146084232 -149.967643653066 175.002667877219 -2.01607717396282 -149.946778989642 174.949091160409 -2.27423661391024 -149.932468757979 174.89083670394 -2.51816417063568 -149.916995912075 174.828760341859 -2.74968502393069 -149.900613460937 174.763470542335 -2.97018918353008 -149.883503712387 174.695405254053 -3.18092846636468 -149.865800066301 174.624853418686 -3.3831149489298 -149.847594743048 174.40688003156 -3.96503872182398 -149.791818559584 174.252936377821 -4.32145675556321 -149.753028619116 174.091539806118 -4.65489908295933 -149.71306493613 173.923429448487 -4.96908521496206 -149.672227583923 173.749060144659 -5.26674282459376 -149.630737821677 173.568662460164 -5.55017000274044 -149.588760682135 173.382173213095 -5.82098149114382 -149.546395750154 172.852896397818 -6.53378834174868 -149.429261762257 172.497926782954 -6.95199650035562 -149.354029322348 172.123078854015 -7.3434622697253 -149.27837547611 171.725929152316 -7.71170484894801 -149.202631412386 171.304040909112 -8.0593479069072 -149.127146188004 170.852046562145 -8.38748570682133 -149.052379269467 170.364700080085 -8.69682535095355 -148.978818697242 169.600887225871 -9.10695952312127 -148.877585134383 169.367746586096 -9.22390020031094 -148.848236784711 169.124589699237 -9.33726210288102 -148.819337040217 168.870071229044 -9.44689439598126 -148.790969301473 168.602410647309 -9.55243726029796 -148.763274009858 168.319518717129 -9.65335923595771 -148.736442466735 168.01861261704 -9.7489000057824 -148.710736300837 167.427518313493 -9.91078963032307 -148.666724782296 167.148742359498 -9.97822567083649 -148.64821050651 166.851541893202 -10.0407741458002 -148.630892065271 166.530564159116 -10.0972699815585 -148.615121006928 166.183084955295 -10.1453816588078 -148.601587527319 165.808317032928 -10.181220926392 -148.591453895989 165.409020292887 -10.2000116767012 -148.586143941253 165 -10.2 -148.586146926487 - 0 9 0.0423506058662399 7 0.090076316138786 7 0.174108233108291 7 0.265681036202995 7 0.322212869948441 7 0.359479972399362 7 0.41751294759096 7 0.504709943312817 7 0.577211980248248 7 0.62427011542655 7 0.671202333301878 7 0.692571846382722 7 0.726404770882003 7 0.793689274878076 7 0.911018055108061 7 0.959845497244295 7 1 9 -1 154.8 -2.49819696179765e-015 0 0 0 -1 -7 0 0 8 58 9 154.8 7.105427357601e-015 -82.5 154.799999927122 -0.728778122610372 -82.4999999752215 154.859512813794 -1.43675767445388 -82.5202334967815 154.972564077903 -2.10652606845238 -82.5586764269918 155.127546919218 -2.73270746443174 -82.6107670162489 155.315267787176 -3.31487479014547 -82.6725974550777 155.528640420746 -3.85657898113331 -82.7412281098373 155.764570998622 -4.3644712266051 -82.8151343345513 156.351178799265 -5.45041456102667 -82.9929520849838 156.71203246454 -6.00779796999738 -83.0986140267093 157.106288720426 -6.52970699037151 -83.2092822737738 157.535722413835 -7.02052738249503 -83.3236600353778 158.001544715425 -7.4838452962021 -83.4406437712213 158.511879341063 -7.92134470613648 -83.5591215212758 159.072490154178 -8.33458719322178 -83.6781467469403 159.956089266712 -8.87016241973916 -83.8409008317677 160.210278622533 -9.01365887093428 -83.8854531130691 160.477302905787 -9.15330443100811 -83.9296971237515 160.758913029209 -9.2889683907884 -83.973518692729 161.057722298294 -9.42018910574241 -84.0166893047513 161.376728495277 -9.54626919092997 -84.0588895491991 161.719929279157 -9.66620212996139 -84.0996736898495 162.307603776292 -9.84070170808158 -84.1598343403375 162.527921726257 -9.9004653270176 -84.1806159972233 162.759956495917 -9.95729906340725 -84.200535388796 163.005709349583 -10.0107114769608 -84.2193979793448 163.266887070476 -10.0597519979233 -84.23683857635 163.54486562766 -10.103029753602 -84.2523210642667 163.840509109305 -10.1387605980175 -84.2651581104353 164.593025926013 -10.2013955344686 -84.2877146774514 165.084947366252 -10.2205608948452 -84.2946783045934 165.570936202405 -10.2082317353253 -84.2902582422411 166.025168604348 -10.1695690676184 -84.2761405491563 166.442120453086 -10.1140137249456 -84.2561292372031 166.820042171833 -10.0470577672402 -84.232228951546 167.165179979012 -9.97314758839275 -84.2061181581792 167.952734195808 -9.7749655191854 -84.1369020053334 168.363515402548 -9.64520930817827 -84.0922009254718 168.740740639272 -9.50665930558518 -84.0452824286384 169.088855105708 -9.36087118645126 -83.9968383925049 169.414325952657 -9.20939299955383 -83.9475259489926 169.719774528036 -9.05277688385939 -83.8976269278984 170.008812718601 -8.89131139509382 -83.8473397565359 170.906316187371 -8.34773349877989 -83.6821149905629 171.453379340601 -7.94710348225232 -83.5665188762403 171.952164788209 -7.52355087464495 -83.4513908047204 172.408483177411 -7.0757587608477 -83.3376254891977 172.82985469124 -6.60222079031571 -83.2262444055018 173.217761815476 -6.09978120228582 -83.1182402235387 173.574022507021 -5.56446208107104 -83.0147698290864 174.174110924584 -4.49400705119564 -82.834285344348 174.423967439173 -3.97489852919047 -82.756446263122 174.65017211468 -3.42044330175668 -82.6839713678958 174.849645803254 -2.8233093037545 -82.6184255494621 175.014851184708 -2.17936931632878 -82.56295614012 175.135928693078 -1.48864467540584 -82.5217832217505 175.2 -0.756171121242113 -82.5 175.2 0 -82.5 - 0 9 0.163273200251134 7 0.366851179198656 7 0.444179114601689 7 0.487496990969287 7 0.548212924662521 7 0.635159408989137 7 0.831714384024288 7 1 9 -7 0 0 8 30 5 175.2 7.34763812293426e-015 -82.5 175.2 0.487938330447665 -82.5 175.173323657317 0.975031044943115 -82.5090695397281 175.120134212659 1.4525556293572 -82.5271557746623 175.042870902705 1.91506122838112 -82.5533042126337 174.944674832465 2.35942722852128 -82.5862287969922 174.828611077224 2.78426977964333 -82.6246533051922 174.697280666617 3.18958269985974 -82.6674938204801 174.271129179823 4.32778407710982 -82.8041610389579 173.939369911184 5.00825157284211 -82.9078320680176 173.567659314988 5.63324214586374 -83.0198544163665 173.160286129609 6.20858170582538 -83.1371768579559 172.720360045176 6.74029772229447 -83.2572013581447 172.247557321963 7.23207107149745 -83.3781009086883 171.739674765835 7.68756613065737 -83.4984026177157 170.912861847451 8.3185158842178 -83.6755349349723 170.627744069328 8.51922834093447 -83.7337618560868 170.33170150541 8.71098903393264 -83.7910853333202 170.023899894393 8.8936665555626 -83.8472174820053 169.703453729866 9.06689163744177 -83.9018030496883 169.369387294004 9.23006727441067 -83.954407633915 169.020539784174 9.38233492132937 -84.0044979036262 168.26291691501 9.6731658068355 -84.1018465709743 167.852684571195 9.80942635665155 -84.1484716983755 167.422030094664 9.93030939238437 -84.1906281572849 166.96975968655 10.033318256792 -84.2271600468159 166.496519406357 10.1150683233906 -84.2565267153179 166.005296340633 10.1717061787737 -84.2770098674253 165.502493843111 10.2000008989978 -84.2872365551155 165 10.2 -84.287236930779 - 0 9 0.202054244690512 7 0.594387715224463 7 0.789866654771242 7 1 9 -7 0 0 8 23 4 165 10.2 -84.287236930779 164.432994024302 10.2 -84.287236930779 163.869932093183 10.1639726518624 -84.2742132563871 163.323695159092 10.0928274389585 -84.2484844777197 162.800605677693 9.99121832696559 -84.2120549722606 162.3035296792 9.86416057073182 -84.167226363687 161.833125324523 9.71599718622598 -84.1160279532083 161.388178705815 9.55018648782882 -84.0600534030156 160.235342147832 9.05377420204302 -83.8968734927635 159.573507604267 8.69160114324115 -83.7822201646633 158.963091345035 8.28938002313727 -83.6610523477865 158.39854632937 7.84888598114386 -83.5360928989897 157.874424057239 7.37119241488273 -83.4098105481941 157.388532698924 6.8539649625723 -83.2841369237445 156.938891015148 6.29346291959992 -83.1608555507311 156.165692240649 5.13954004081842 -82.9384428866642 155.836327192524 4.56350381419048 -82.8390715728205 155.535614883608 3.93922771582526 -82.7447778929945 155.268793735966 3.25893837542369 -82.6581607137452 155.047413854199 2.51849108749396 -82.5841337677686 154.884789790038 1.71960408647339 -82.5288261926327 154.800000086985 0.869850811825528 -82.5000000295749 154.8 0 -82.5 - 0 9 0.235649278226707 7 0.643434367006125 7 1 9 -8 0 6.28318530717959 -2 142.5 0 -112.5 1 0 0 0 0 1 0 -1 0 30 -7 0 0 8 23 4 165 -10.2 -140.712763069221 164.432994024364 -10.2 -140.712763069221 163.869932093302 -10.16397265187 -140.72578674361 163.323695159267 -10.0928274389816 -140.751515522272 162.800605677915 -9.99121832700857 -140.787945027724 162.303529679462 -9.86416057079874 -140.832773636289 161.833125324824 -9.71599718632071 -140.883972046759 161.388178706146 -9.55018648795217 -140.939946596943 160.23534214825 -9.05377420225634 -141.103126507168 159.57350760473 -8.69160114352116 -141.217779835251 158.963091345537 -8.28938002348695 -141.33894765211 158.398546329905 -7.84888598158122 -141.46390710089 157.874424057801 -7.37119241540524 -141.590189451669 157.388532699505 -6.85396496320133 -141.715863076104 156.938891015741 -6.29346292034527 -141.839144449106 156.165692241123 -5.13954004164831 -142.061557113193 155.836327192895 -4.56350381496126 -142.160928427063 155.535614883879 -3.939227716517 -142.255222106917 155.268793736148 -3.25893837603299 -142.341839286194 155.047413854298 -2.51849108797894 -142.415866232198 154.884789790074 -1.7196040868274 -142.471173807355 154.800000086985 -0.869850812009084 -142.499999970425 154.8 0 -142.5 - 0 9 0.235649278201433 7 0.643434366932208 7 1 9 -7 0 0 8 121 18 154.8 -1.77635683940025e-015 -142.5 154.799995741433 0.422171326605791 -142.500001246045 154.819988804894 0.836133344474686 -142.493204823508 154.858508905835 1.22547578304307 -142.480104226691 154.91033317269 1.5862797493268 -142.462557935596 154.971133012217 1.91901256801681 -142.442111608229 155.03834304705 2.22666064937869 -142.419674041838 155.110756853771 2.51504667714313 -142.395678864338 155.27778448427 3.10207205819951 -142.340819300135 155.372346643673 3.39174855299611 -142.310027742424 155.47188863534 3.6646289370825 -142.277933063379 155.575671099517 3.92330063154682 -142.24483171713 155.683202314436 4.16953403254677 -142.210930961314 155.794145667248 4.40482388406603 -142.176383330048 155.908299670827 4.63055442532697 -142.141297411108 156.232370631874 5.23046055909603 -142.043061840532 156.448619187812 5.58624466159365 -141.979009707331 156.673870815287 5.92080893866591 -141.913978350184 156.90800797968 6.23747088449485 -141.84826130224 157.151189869178 6.53839952846271 -141.782082756861 157.403826485574 6.82532573387867 -141.715626978394 157.666657947396 7.09976043610112 -141.649050174219 158.241423629307 7.65081259212861 -141.509539519071 158.555158971556 7.92473131962046 -141.436721602706 158.884027298917 8.1862125067131 -141.364145532616 159.229913913343 8.43622714223763 -141.29197865597 159.595822307392 8.67513232894278 -141.220505185576 159.985246298168 8.90290376777688 -141.150096700925 160.402991140861 9.11911404420261 -141.081243245808 161.144767380449 9.44848938536236 -140.973560793689 161.442344941365 9.56873412178535 -140.93354354597 161.757439426769 9.6837540504872 -140.89463813767 162.095099895491 9.79291997911747 -140.857142258428 162.458486083335 9.89526562603492 -140.82147510753 162.855112533 9.98776724596446 -140.788819157965 163.289034815548 10.0676598977996 -140.760328718003 164.102342220301 10.1655863709616 -140.725210606972 164.469005980544 10.1978899588763 -140.713561004333 164.859422391691 10.2155926178283 -140.707105040671 165.25315742955 10.2139538372337 -140.707699306022 165.633392177293 10.1943287943817 -140.714845023588 165.989683502919 10.1613581795716 -140.726761222566 166.318928865368 10.1190474227131 -140.741947008194 167.09839987795 9.99343602685341 -140.786708162063 167.518824784484 9.89937312771202 -140.819959169295 167.904547196718 9.79431014092032 -140.856650318141 168.259688791915 9.68037031880333 -140.895873991284 168.591308424318 9.55986571538816 -140.93669837921 168.902186803148 9.43357153806397 -140.978765912452 169.196590481524 9.30197038608246 -141.02181908008 169.898570303514 8.95898113657357 -141.131857739414 170.286938783905 8.7418835144673 -141.199642318095 170.651162491422 8.5141004772929 -141.268641871625 170.995145836611 8.27579633274276 -141.338475727424 171.321695325502 8.02680142090936 -141.408848293018 171.633132018071 7.76662498167491 -141.479525105067 171.931023176215 7.4942956230757 -141.550342888557 172.453489354378 6.97120626508753 -141.679820705382 172.681650757636 6.72497278048285 -141.73842648943 172.902045852094 6.46866472123396 -141.796895878354 173.115138638727 6.20120616122991 -141.855118761425 173.321196121626 5.92134539835399 -141.91296570431 173.520325774695 5.62752255343177 -141.970281148283 173.712463972183 5.31750104257229 -142.026868163415 174.017302654635 4.77373440412034 -142.118552558241 174.1341176283 4.55153208787939 -142.154191886928 174.247754740818 4.32017516038154 -142.18933252587 174.358044442515 4.07839227461063 -142.223875348976 174.464696526228 3.82479649435125 -142.257682558521 174.567283903196 3.55773872747594 -142.290568515424 174.665166825839 3.27483964850098 -142.322271161293 174.849517879582 2.66964442289439 -142.382527093735 174.933818233786 2.35446490373057 -142.41037042699 175.012150871738 2.01610236159207 -142.436469674615 175.08354591078 1.64643786431403 -142.460451409209 175.143918122935 1.24039677616985 -142.48091407426 175.18759337526 0.797900517288916 -142.495784850563 175.206018532776 0.324155355806667 -142.502045928255 175.195592120872 -0.370159774723958 -142.498501421673 175.18708366742 -0.585093246304933 -142.495609310345 175.173549333468 -0.794946052383726 -142.491010621023 175.155566817445 -0.997998888679324 -142.484908913053 175.133815174522 -1.19347605500122 -142.477543883642 175.108899474665 -1.38130072181028 -142.469129576601 175.081251848565 -1.56195371894729 -142.459820313651 175.003499028822 -2.01200604796468 -142.433726492955 174.949932842585 -2.27064497872307 -142.415826428337 174.891654318717 -2.51504897669604 -142.396455527651 174.829529571044 -2.74701684312482 -142.375932769364 174.764176639374 -2.96792779352317 -142.354488676654 174.696041077074 -3.17902814864308 -142.332292058393 174.625417358092 -3.38152676548316 -142.309459551639 174.407325695537 -3.96401186533937 -142.239517307653 174.253358318557 -4.32056863458495 -142.190864535063 174.091996472485 -4.65399036360797 -142.140724400402 173.924003300829 -4.96800657769261 -142.089476196416 173.749853678041 -5.26535637237657 -142.037399338239 173.569795820098 -5.5483493351379 -141.984701881267 173.383782717687 -5.81861335146775 -141.931508920543 172.854809976756 -6.5315592470375 -141.784014157803 172.499812642638 -6.94996827794956 -141.68909945817 172.125326414196 -7.34117904091084 -141.593625195142 171.729027698583 -7.70879031678858 -141.498008989566 171.308549277303 -8.05550655580092 -141.402688032761 170.858684509124 -8.38251444015735 -141.308228992879 170.37427460488 -8.69061274826685 -141.215233212829 169.614693840161 -9.09997593262442 -141.086824009849 169.381667382084 -9.21729823638168 -141.049380681799 169.138709158943 -9.33100815453303 -141.012493236606 168.884480293735 -9.44096635943375 -140.976265813631 168.617199281543 -9.54682756847254 -140.940874246656 168.334772466887 -9.64807847398314 -140.906558096905 168.034404206388 -9.74398178444991 -140.873645264716 167.443471810114 -9.90688239154985 -140.817128314214 167.163919670315 -9.97499574757504 -140.793252137576 166.865736124709 -10.0382196243887 -140.770890081966 166.543608277028 -10.0953811906284 -140.750497505096 166.194753750892 -10.1441457536263 -140.732959456401 165.81798191532 -10.1806385398666 -140.719761567154 165.415152530212 -10.2000204959615 -140.712756137737 165 -10.2 -140.712763069221 - 0 9 0.0422445683841575 7 0.0897749950852726 7 0.173502937505932 7 0.265231237310537 7 0.32218191546206 7 0.359434876011978 7 0.417759665033159 7 0.505039875097435 7 0.577319610059641 7 0.624235673951667 7 0.671138510226123 7 0.692462195246707 7 0.72614005946467 7 0.79307557721213 7 0.910291725473931 7 0.959447112003497 7 1 9 -1 135 7.34763812293426e-015 -82.5 1 0 0 -2 187.5 0 -112.5 1 0 0 0 0 1 0 -1 0 30 -Polygon3D 0 -PolygonOnTriangulations 0 -Surfaces 6 -2 142.5 0 -112.5 1 0 0 0 0 1 0 -1 0 37.5 -2 165 0 0 0 0 -1 -1 0 0 0 1 0 10.2 -1 142.5 0 -112.5 1 0 0 0 0 1 0 -1 0 -1 210 0 -112.5 1 0 0 0 0 1 0 -1 0 -2 135 0 -112.5 1 0 0 0 0 1 0 -1 0 30 -1 187.5 0 -112.5 1 0 0 0 0 1 0 -1 0 -Triangulations 0 - -TShapes 54 -Ve -7.64999999999997e-005 -154.8 1.52953508420015e-010 -75 -0 0 - -0101101 -* -Ve -1e-007 -142.5 9.18454765366783e-015 -75 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 1 0 0 12.3 -3 1 2CN 1 0 0 12.3 -0 - -0101000 --54 0 +53 0 * -Ve -3.82499999999999e-005 -165 10.2000000000001 -76.4138530735131 -0 0 - -0101101 -* -Ed - 3.82499999999999e-005 1 1 0 -1 2 0 0 1 -2 3 1 0 0 1 -2 4 2 0 0 1 -0 - -0101000 -+51 0 -54 0 * -Ed - 1e-007 1 1 0 -1 3 0 0 6.28318530717959 -2 5 1 0 0 6.28318530717959 -2 6 3 0 0 6.28318530717959 -0 - -0101100 -+53 0 -53 0 * -Ve -7.64999999999997e-005 -175.2 9.18454765366783e-015 -75 -0 0 - -0101101 -* -Ed - 3.82499999999999e-005 1 1 0 -1 4 0 0 1 -2 7 1 0 0 1 -2 8 2 0 0 1 -0 - -0101000 -+48 0 -51 0 * -Ve -1e-007 -210 9.18454765366783e-015 -75 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 1 0 32.7 67.5 -3 1 2CN 1 0 32.7 67.5 -0 - -0101000 -+48 0 -46 0 * -Ed - 7.64999999999997e-005 1 1 0 -1 5 0 0 1 -2 9 1 0 0 1 -2 10 2 0 0 1 -0 - -0101000 -+54 0 -48 0 * -Ed - 1e-007 1 1 0 -1 6 0 0 6.28318530717959 -2 11 1 0 0 6.28318530717959 -2 12 4 0 0 6.28318530717959 -0 - -0101100 -+46 0 -46 0 * -Wi - -0101000 -+52 0 -50 0 +49 0 -47 0 -52 0 +45 0 -44 0 -43 0 -45 0 * -Ve -7.64955880249837e-005 -165 -10.2 -148.586146926487 -0 0 - -0101101 -* -Ve -7.64955880249837e-005 -154.8 -3.64587652873938e-011 -150 -0 0 - -0101101 -* -Ed - 3.82499999999999e-005 1 1 0 -1 7 0 0 1 -2 13 1 0 0 1 -2 14 2 0 0 1 -0 - -0101000 -+41 0 -40 0 * -Ed - 7.64955880249837e-005 1 1 0 -1 8 0 0 1 -2 15 1 0 0 1 -2 16 2 0 0 1 -0 - -0101000 -+40 0 -41 0 * -Wi - -0101000 --39 0 -38 0 * -Fa -0 1e-007 1 0 - -0101000 -+42 0 +37 0 * -Ve -6.11999999999996e-005 -154.8 1.4804892663374e-010 -82.5 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 9 0 75 82.5 -3 17 18CN 2 0 75 82.5 -0 - -0101000 -+54 0 -35 0 * -Ve -6.11999999999996e-005 -175.2 7.34763812293426e-015 -82.5 -0 0 - -0101101 -* -Ed - 6.11999999999996e-005 1 1 0 -1 10 0 0 1 -2 19 5 0 0 1 -2 20 2 0 0 1 -0 - -0101000 -+35 0 -33 0 * -Ve -3.05999999999998e-005 -165 10.2 -84.287236930779 -0 0 - -0101101 -* -Ed - 3.05999999999998e-005 1 1 0 -1 11 0 0 1 -2 21 5 0 0 1 -2 22 2 0 0 1 -0 - -0101000 -+33 0 -31 0 * -Ed - 3.05999999999998e-005 1 1 0 -1 12 0 0 1 -2 23 5 0 0 1 -2 24 2 0 0 1 -0 - -0101000 -+31 0 -35 0 * -Wi - -0101000 -+34 0 -44 0 +32 0 -47 0 +30 0 -50 0 +29 0 -34 0 * -Fa -0 1e-007 2 0 - -0101000 -+28 0 * -Wi - -0101000 --49 0 * -Ve -8.11794152219295e-006 -142.5 0 -82.5 -0 0 - -0101101 -* -Ed - 2.99999999999999e-007 1 1 0 -1 13 0 0 6.28318530717959 -2 25 3 0 0 6.28318530717959 -2 26 5 0 0 6.28318530717959 -0 - -0101000 -+25 0 -25 0 * -Wi - -0101000 --24 0 * -Fa -0 1e-007 3 0 - -0101000 --26 0 +23 0 * -Wi - -0101000 -+43 0 * -Fa -0 1e-007 4 0 - -0111000 -+21 0 * -Ve -6.11965502458537e-005 -154.8 -2.49819696179765e-015 -142.5 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 9 0 142.5 150 -3 17 18CN 2 0 142.5 150 -0 - -0101000 -+19 0 -40 0 * -Ve -6.11965502458537e-005 -165 -10.2 -140.712763069221 -0 0 - -0101101 -* -Ed - 3.05999999999998e-005 1 1 0 -1 14 0 0 1 -2 27 5 0 0 1 -2 28 2 0 0 1 -0 - -0101000 -+17 0 -19 0 * -Ed - 6.11965502458537e-005 1 1 0 -1 15 0 0 1 -2 29 5 0 0 1 -2 30 2 0 0 1 -0 - -0101000 -+19 0 -17 0 * -Wi - -0101000 -+18 0 +16 0 -39 0 +15 0 -38 0 -18 0 * -Fa -0 1e-007 2 0 - -0101000 -+14 0 * -Ed - 1e-007 1 1 0 -1 16 0 7.5 19.8 -3 31 32CN 5 0 7.5 19.8 -0 - -0101000 --35 0 +25 0 * -Ve -1e-007 -187.5 7.34763812293426e-015 -82.5 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 16 0 40.2 52.5 -3 31 32CN 5 0 40.2 52.5 -0 - -0101000 -+33 0 -11 0 * -Ed - 1e-007 1 1 0 -1 17 0 0 6.28318530717959 -2 33 5 0 0 6.28318530717959 -2 34 6 0 0 6.28318530717959 -0 - -0101100 -+11 0 -11 0 * -Wi - -0101000 -+12 0 -29 0 +24 0 -30 0 -12 0 +10 0 -32 0 -9 0 -10 0 * -Wi - -0101000 --16 0 -15 0 * -Fa -0 1e-007 5 0 - -0101000 -+8 0 +7 0 * -Wi - -0101000 -+9 0 * -Fa -0 1e-007 6 0 - -0111000 -+5 0 * -Sh - -0101100 -+36 0 -27 0 -22 0 +20 0 -13 0 -6 0 -4 0 * -So - -0100000 -+3 0 * -Co - -1100000 -+2 0 * - -+1 0 \ No newline at end of file diff --git a/samples/java/java/data/Propeller.rle b/samples/java/java/data/Propeller.rle deleted file mode 100755 index 1592a83793..0000000000 --- a/samples/java/java/data/Propeller.rle +++ /dev/null @@ -1,4188 +0,0 @@ -DBRep_DrawableShape - -CASCADE Topology V1, (c) Matra-Datavision -Locations 8 -1 --2.22044604925031e-016 1 0 0 - -1 -2.22044604925031e-016 0 0 - 0 0 1 0 -1 -1.11022302462516e-016 -1 0 0 - 1 1.11022302462516e-016 0 0 - 0 0 1 0 -1 - -1 -1.22460635382238e-016 0 0 -1.22460635382238e-016 -1 0 0 - 0 0 1 0 -1 - 1 0 0 0 - 0 1 0 0 - 0 0 1 0 -2 1 -1 0 -2 2 -1 0 -2 3 -1 0 -2 4 -1 0 -Curve2ds 311 -1 0 1 1 0 -2 0 0 1 0 0 1 15 -2 0 0 0 1 1 0 6.75 -1 -4.71238898038469 30 1 0 -1 0 0 0 1 -7 0 0 10 101 12 2.85210593147734 0.525486698529295 2.82725497721661 0.513716269943771 2.80367596422899 0.502033910398092 2.78116745433888 0.490445372732805 2.75956073051056 0.478958296667543 2.73869685585512 0.467572094176692 2.7184521325313 0.45629417909401 2.69870072711682 0.445125039793022 2.67925531250599 0.434028564395459 2.65997866003331 0.422977938559948 2.62283194037542 0.401497932511457 2.60491331203374 0.390998582154309 2.58899840633593 0.381627459921941 2.57367383767833 0.372682418442912 2.55930143602291 0.364180052764826 2.54570926787084 0.356137033922018 2.53264161239335 0.348279601240737 2.52034717668456 0.340723504750133 2.50870008785336 0.333294786359429 2.49373477885487 0.323085611115322 2.48970283029023 0.320258093472195 2.48580145069631 0.317433189400157 2.48204040131738 0.314602745261776 2.47843298293911 0.311757923558743 2.47499753905985 0.308890271847662 2.47175971524468 0.305991131004753 2.46875547473019 0.303049382852004 2.46603487021702 0.300047537132923 2.46208932462933 0.294897350687326 2.46066651922326 0.292798737525368 2.45943399835383 0.290651663999164 2.45840551432645 0.28845540378159 2.45762633603818 0.286184534153973 2.45716838754122 0.283825556556104 2.45709628832393 0.281379200868115 2.45746620477524 0.278809579296343 2.45845196230074 0.276006082942216 2.4630281546435 0.269771275712181 2.46663662291816 0.266058829497791 2.47219889701329 0.262125827366114 2.48012867603271 0.258192519047544 2.49049131305548 0.254372706186946 2.50370192742347 0.250969117593989 2.51730992013119 0.247988250791347 2.53133648385929 0.245424394862104 2.54477589555243 0.243272169202453 2.56766956050055 0.2398818420879 2.57872906988484 0.238437172218544 2.58948619483791 0.237153120177986 2.60013052568885 0.235971801838352 2.61084963034249 0.234871110590686 2.62165823497232 0.23385084560969 2.63246780487662 0.232907353066134 2.64324659580249 0.232029375033306 2.65408574516683 0.231212130977695 2.67699281042787 0.229607638898383 2.68907211065142 0.228833271399661 2.70119473866879 0.228121633983542 2.71337514712717 0.227467737583643 2.72562921578586 0.226867633744816 2.73796911077203 0.226318209838895 2.75040166259312 0.225817000225387 2.76293026301636 0.225362013365186 2.77556028070637 0.224951574879288 2.80503309443834 0.224102170297252 2.82195548279482 0.223694304645361 2.83910189292947 0.223357546908052 2.8564951307637 0.223089686024875 2.87416008707899 0.222889345931586 2.89212647356961 0.222755962263942 2.9104282838332 0.222689732401327 2.92909997931629 0.222691538852762 2.94816940020879 0.222762845983268 2.99460475884651 0.223103098798747 3.02229638656518 0.223437669622552 3.05099227384749 0.22391160878744 3.08098256222814 0.224543235532315 3.11239873991137 0.225347959508169 3.14526513870879 0.226339439878217 3.1795934434461 0.2275357400131 3.21533292389074 0.228955411680199 3.25198909927289 0.230588442629753 3.32792932211577 0.23428310031686 3.36672638175435 0.236361368089864 3.40253187682677 0.238450851586819 3.43533219851439 0.240484517538418 3.46553009938079 0.242448201102336 3.49343036963508 0.244336426888817 3.51926382914182 0.246142376615457 3.54331820779002 0.247869351432533 3.56598806380547 0.249536210995978 3.63353226633554 0.254614975409339 3.67728748465464 0.258057831964077 3.72070583649028 0.261592992684965 3.76408674752133 0.265236590657116 3.80750084011973 0.268983303498598 3.85102553284302 0.272823235612129 3.89480485919014 0.276752845733226 3.9390333780044 0.280774784655485 3.98393758324912 0.284891840958932 4.02980175611094 0.289110525543265 - -14.5199469043064 11 0 9 14.5291727688715 9 20.1145592564379 9 23.8343337090937 9 27.6020534437338 9 31.1030887497826 9 34.982237474143 9 40.071710010972 9 47.1154888072535 9 55.0406318394778 9 71.0274591887468 11 -1 0 0 0 1 -7 0 0 7 8 2 2.64681506311844 0.415362612637532 2.65284108161844 0.418564850069873 2.66003301558107 0.421497131391167 2.6683810937836 0.424257776834782 2.6782487685882 0.42693518381178 2.68953743453324 0.429425452581263 2.7022242425237 0.431651990213684 2.71585066631416 0.433533568128311 - 0 8 1 8 -1 0 0 0 1 -7 0 0 6 7 2 3.57651897494836 0.2503328826323 3.60183023344831 0.252420403230849 3.62573151367704 0.255473262776368 3.64639090161526 0.259545839945393 3.66211446458499 0.264517419414478 3.67053290804005 0.270211588009932 3.67234484523212 0.275892753379768 - 0 7 1 7 -1 0 0 0 1 -7 0 0 9 66 9 3.62385657959877 0.195661115218674 3.63322632845189 0.203569279825964 3.64136700909257 0.211569884355031 3.64841452247595 0.219667672232154 3.65447086954836 0.227877220503409 3.65959166120792 0.23620196281829 3.6638207633172 0.244632425171103 3.6672185946766 0.253168962070985 3.66983059568026 0.261874280802581 3.67333452030858 0.280474299931078 3.67421331587315 0.290796089803665 3.67375451685055 0.301482865484711 3.67210587176566 0.31255429472939 3.66868254148388 0.324393552383565 3.6632872189687 0.336671309525519 3.65511924108544 0.349600411014512 3.64318880127418 0.362982635118508 3.61865001314703 0.382239466920747 3.61063974465463 0.38786029008997 3.60159652981857 0.393518390851292 3.59139213580973 0.399198011499691 3.57987437408389 0.404879438846111 3.56686394111793 0.410537115403322 3.55216526001704 0.416136848468996 3.53559132305957 0.421632117113639 3.49983809245343 0.43187863396773 3.48095556018241 0.43665433710817 3.46024695495612 0.441242817079856 3.43761063200723 0.445582318673211 3.41306531746568 0.44960564679608 3.38669592115343 0.453249287796114 3.35856028194655 0.456457998005735 3.32868599770941 0.459183751311754 3.26454324380208 0.463666024053917 3.22952579854253 0.465411331566233 3.19301172511466 0.466486491322714 3.15571133910206 0.466833788998429 3.11840866587654 0.466475395843438 3.08191101183119 0.465502602675716 3.04694543606598 0.464053981034781 3.0141404149028 0.462292395773137 2.96548986301859 0.459199256677648 2.94776640287078 0.457944928486379 2.93093611854122 0.456648879594584 2.91491129682687 0.455326520160819 2.89962487051838 0.453989336069432 2.88501884029404 0.452646069905529 2.87103725190129 0.451303346527519 2.85762372871712 0.44996574325033 2.82384667085994 0.446482199589659 2.8043151036581 0.444348277821731 2.7859199984721 0.442245626275087 2.76847527567562 0.440178020760879 2.75188466496832 0.438148789481072 2.73602172291692 0.436156491109904 2.72079951379424 0.434202420107935 2.70633639352013 0.432305789144835 2.64904903142785 0.424721034906954 2.60754799011431 0.418952079157688 2.56634086129878 0.413096241152337 2.52488916127299 0.407099986313461 2.48318039279867 0.40100854334627 2.44110960448503 0.394870861688394 2.39836475133086 0.388698132099839 2.35465718269675 0.382508792213361 2.30960331423812 0.376316124469525 - -15.9068651330268 10 0 8 16.6534726290762 8 23.432073658459 8 29.6912718971229 8 36.2183326056513 8 40.308163539699 8 46.9269097527621 8 68.0206627092101 10 -1 6.28318530717959 0 0 1 -1 0 0 0 1 -1 0 0 0 1 -7 0 0 7 32 6 -3.44998202173103e-018 0.226409163240384 0.00573282348033859 0.226591931773712 0.011491723705775 0.226780314917307 0.0172782124998824 0.226974385186214 0.0230947020938136 0.227174262507286 0.0289445051263024 0.227380114219175 0.0348318346436626 0.227592155072341 0.070962516141173 0.228923404850592 0.10247893545059 0.230210172855258 0.134812952531989 0.231670456993519 0.165856163003162 0.233215386654567 0.195185555395359 0.234777779762982 0.222027472271821 0.236287556610232 0.264671132121395 0.238792118341613 0.281490721805778 0.239815679465745 0.297283831789454 0.240804955404012 0.312379832450295 0.241774238757606 0.326671423174824 0.242712722098741 0.340335507143733 0.243627533900699 0.368625757029395 0.245555437777954 0.383053634025625 0.246560660550315 0.396833576797754 0.247538991717669 0.409988154722933 0.248488571241707 0.422732434123397 0.249422440679655 0.434733489306598 0.250313076602988 0.52201207272272 0.256877313200847 0.593838255892788 0.262716738032927 0.666710195830525 0.268929295591882 0.738958758310063 0.275389686529539 0.812520003964873 0.282109398947308 0.888061431722385 0.289104720251085 0.967747309391063 0.296431660041043 - 41.279068928176 8 42.2537795453814 6 47.2178784149788 6 50.8373147733209 6 55.0406334520179 6 81.3875973179503 8 -1 0 0 1 0 -1 0 0 0 1 -7 0 0 6 7 2 0.43436552919417 0.250290896121185 0.459823697655287 0.252368501249511 0.483846043264778 0.255417129784391 0.504617943890943 0.259489505739316 0.520428722367361 0.264471513018613 0.528931574729052 0.270182325610895 0.530752223116925 0.27589244291213 - 0 7 1 7 -1 0 0 0 1 -7 0 0 11 42 5 0.480420369502392 0.194124218869206 0.488431376061386 0.200721200720066 0.495590242434346 0.207380009175514 0.501966292494586 0.214105633956931 0.507629188582602 0.220900492763056 0.512626929047191 0.227770935035691 0.516987168759872 0.234722891142573 0.520730086785852 0.241755440535768 0.523881025226847 0.248861072384655 0.526471123446572 0.256041412251567 0.528514171701336 0.263347188311838 0.531613063717348 0.279782594519992 0.532516772722512 0.289328418844665 0.53229288502678 0.299232103670011 0.531153619031673 0.309368734381652 0.528430662840737 0.320452433438309 0.524392705853517 0.331376304283562 0.518228604891078 0.343398005752645 0.509499260618094 0.35551119146229 0.497589913537654 0.367843169333238 0.481799202678229 0.380043609635144 0.451696326231485 0.397754124033569 0.440562565091858 0.403569948239988 0.428315526325453 0.409242712420288 0.414910523579637 0.414742457337677 0.400310362106253 0.420041918224116 0.38449524961386 0.4251136896724 0.367470625173539 0.429930140731793 0.349272158879567 0.43446489750185 0.329967175026584 0.438694710627461 0.309651751510051 0.442600524995018 0.265317110972898 0.450054872439092 0.241124370168328 0.453539934921588 0.21602300050179 0.456602196152476 0.190153397780225 0.459234800341231 0.163651158922804 0.461435939959842 0.136657827956007 0.463206694653637 0.109327541385831 0.46455229789423 0.0818280063160069 0.465484763787418 0.054334244723931 0.466024806645634 0.0270135372636287 0.466200985738365 -2.78772160466526e-017 0.466044007797275 - -11.8009947650387 12 0 10 13.7057874909477 10 20.586505000513 10 28.0890252572899 12 -1 0 0 0 1 -7 0 0 11 92 10 5.9963164541436 0.526724057618913 5.97337601478967 0.515903597901558 5.95151234038441 0.505156297042081 5.93057303885088 0.494486341389404 5.91042693409633 0.48389984115009 5.89095170995318 0.473397414118942 5.87204484088326 0.462982161688065 5.85361441856942 0.452658336918564 5.83555023994477 0.442418147419123 5.81771927798426 0.432236278789089 5.80007341298785 0.422113867327813 5.77015250838227 0.40480161619342 5.75761712616088 0.397495205767695 5.74563872035404 0.39048089257846 5.73419377585106 0.383766620631467 5.72320870049933 0.37731590928125 5.71263035140122 0.371092102138487 5.70242771926338 0.365066641105624 5.69257740410168 0.359214091753293 5.68306027155488 0.353507634879401 5.673871433282 0.347919727605166 5.65971420822581 0.339128664300902 5.65452993720399 0.335866645674836 5.64946879040302 0.332631932776721 5.64453565884006 0.329418495189462 5.63973776710226 0.326219972467561 5.63508425291654 0.323029519282989 5.63058673166159 0.319839432668334 5.62626084499928 0.316640561338989 5.62212879450949 0.313421497112073 5.61822285954026 0.310167548408104 5.61326814182791 0.305655946835166 5.61198325082728 0.30444516339025 5.61073683341925 0.303226318104491 5.60953119518815 0.301998419478999 5.60836934070966 0.300760311918457 5.60725497360863 0.299510675736153 5.60619249646767 0.298248027146651 5.60518701093761 0.296970718274197 5.60424431763325 0.295676937145068 5.60337091621073 0.29436470769309 5.60128220012074 0.290871370719783 5.60019161792243 0.28865570038869 5.5993545159038 0.286381242461101 5.5987342967833 0.284002321715689 5.59861530704067 0.281575399137972 5.59865785699054 0.278970571434122 5.59961189715799 0.276256635614788 5.60093205450415 0.273415440533824 5.60351051332956 0.270218877396974 5.60773239629723 0.266871711259464 5.61881957726122 0.260553724299817 5.62520386867226 0.257641749031327 5.63269525052593 0.254900183900154 5.64111704693357 0.252390268083621 5.65006741135058 0.250135903425752 5.65922401075588 0.248123131843848 5.66842734201337 0.246317672438892 5.67757222456878 0.244689838120314 5.68659752035361 0.243214512193952 5.69565722052277 0.241847038952146 5.71542925451842 0.239096651166167 5.72595034040124 0.237763846681226 5.73648325242812 0.236541707669225 5.7470170387591 0.235416211316139 5.75753306484867 0.234377096603385 5.76802406736172 0.233415191872313 5.77849722821371 0.232521953843636 5.78896780129128 0.231690139215767 5.79944982419858 0.230914529956385 5.80995044753866 0.230191633408542 5.84133582468731 0.228180520174923 5.8622834180817 0.227035498397922 5.88331520870123 0.226055630990503 5.90448566432251 0.225222447428886 5.92584577355243 0.224523038314374 5.94742315251288 0.223948155799116 5.96922794796692 0.223490896399269 5.99127029241999 0.223145897732659 6.0135750685561 0.222908980791721 6.03617973870168 0.222777169294081 6.07818400320178 0.222725580206528 6.09748641235869 0.222773884448666 6.1170218622904 0.222893070604508 6.13680620150114 0.223082407529169 6.1568590632392 0.223341965296767 6.17719727133522 0.223672441698808 6.19782665509793 0.224074602455186 6.21873885390648 0.224548794988281 6.23991968906041 0.22509499549292 6.26137568345192 0.225713849150423 6.28318530717959 0.226409163240384 - -13.3621716468339 12 0 10 10.0562883294211 10 16.0851223894755 10 18.2785570824938 10 21.8341495457517 10 24.9220782484525 10 28.4529128143161 10 35.4520028197241 10 41.279068928176 12 -1 0 0 0 1 -7 0 0 7 8 2 5.78844415965853 0.415381324117847 5.79446470320069 0.418577281898619 5.80165287841322 0.421506190228891 5.81000151293863 0.424265135446784 5.81986351644734 0.426939884462351 5.83114159591237 0.42942698157036 5.84381118878123 0.431650725832171 5.85741682440685 0.43353036238109 - 0 8 1 8 -1 0 0 0 1 -7 0 0 8 30 5 6.28318530717959 0.466044007797275 6.28095014813159 0.466031019099721 6.27871720086625 0.466015661042108 6.27648655996155 0.465997954501584 6.27425831999408 0.465977920355183 6.27203257554235 0.465955579480095 6.26980942118295 0.465930952753356 6.26758895149389 0.465904061052112 6.23091978353655 0.465422305134062 6.19784067929096 0.464442348788786 6.16684980985321 0.463056034191826 6.138200825472 0.461430709219064 6.11172953725047 0.459670856892596 6.08715862230964 0.457830669624317 6.06431240700697 0.455955856992938 6.00815629858654 0.450991303465742 5.97721684153383 0.447875244615702 5.94900055260515 0.444799102720907 5.92288482260415 0.441773348469036 5.89873176106365 0.43883735703521 5.87578958242663 0.435952565651643 5.85426019192509 0.43314503197391 5.78557814292468 0.424049046208916 5.73991845528761 0.417654101977553 5.69368738175756 0.41107559845572 5.64727389652892 0.404295749041713 5.60069092786044 0.397485981814077 5.55332008765458 0.390605755510943 5.50485223965002 0.383705702512761 5.45470930270652 0.37679964442451 - 28.0890252572899 9 28.540497915643 7 35.5540557357405 7 46.9269099865807 7 74.6136666880863 9 -1 0 0 0 1 -7 0 0 10 101 12 1.2813096046825 0.52548669852932 1.25645865042179 0.513716269943813 1.23287963743402 0.502033910398034 1.21037112754423 0.490445372732987 1.18876440371538 0.478958296667323 1.16790052906059 0.467572094176944 1.14765580573613 0.456294179093835 1.12790440032213 0.445125039793136 1.10845898571101 0.434028564395423 1.08918233323846 0.422977938559967 1.05203561358046 0.401497932511453 1.0341169852391 0.390998582154287 1.01820207954037 0.381627459921938 1.00287751088472 0.372682418443093 0.988505109226233 0.364180052764403 0.974912941077552 0.356137033922464 0.961845285597631 0.348279601240544 0.94955084988988 0.340723504750141 0.937903761058399 0.333294786359426 0.922938452060043 0.323085611115339 0.918906503495094 0.32025809347219 0.915005123902 0.317433189400251 0.911244074521553 0.314602745261562 0.907636656145271 0.311757923558978 0.90420121226483 0.308890271847905 0.900963388450875 0.305991131005327 0.897959147935574 0.303049382852303 0.895238543421911 0.300047537132733 0.891292997833989 0.294897350687001 0.889870192428549 0.292798737525262 0.888637671558782 0.290651663999554 0.887609187533083 0.288455403782045 0.886830009240786 0.28618453415317 0.886372060747528 0.283825556555693 0.886299961528601 0.281379200868072 0.8866698779805 0.278809579296801 0.887655635505805 0.276006082941924 0.892231827848657 0.26977127571228 0.895840296123072 0.26605882949776 0.901402570218573 0.262125827366254 0.909332349237493 0.258192519047447 0.919694986260625 0.254372706187001 0.932905600628991 0.250969117593945 0.946513593335589 0.247988250791401 0.96054015706495 0.245424394862057 0.973979568757543 0.243272169202445 0.996873233705248 0.239881842087963 1.00793274308984 0.238437172218425 1.01868986804489 0.23715312017809 1.02933419889211 0.235971801838123 1.0400533035487 0.234871110591044 1.0508619081753 0.233850845609453 1.06167147808333 0.232907353066238 1.07245026900823 0.232029375033209 1.0832894183717 0.231212130977719 1.10619648363088 0.229607638898471 1.11827578385409 0.228833271399675 1.13039841187469 0.228121633983634 1.14257882033288 0.227467737583416 1.15483288899575 0.226867633744921 1.16717278397785 0.226318209838699 1.17960533579946 0.225817000225477 1.19213393622047 0.225362013365171 1.20476395391157 0.224951574879293 1.23423676764344 0.224102170297251 1.25115915599977 0.223694304645352 1.26830556613462 0.223357546908084 1.28569880396864 0.223089686024823 1.30336376028408 0.222889345931641 1.32133014677509 0.222755962263901 1.33963195703828 0.222689732401353 1.35830365252145 0.222691538852756 1.37737307341362 0.222762845983263 1.42380843205172 0.223103098798755 1.45150005977024 0.223437669622518 1.48019594705316 0.223911608787532 1.51018623543226 0.224543235532165 1.5416024131175 0.225347959508338 1.57446881191312 0.226339439878085 1.60879711665167 0.227535740013173 1.64453659709566 0.228955411680173 1.68119277247799 0.230588442629754 1.75713299532092 0.234283100316865 1.79593005495878 0.236361368089805 1.83173555003392 0.238450851586986 1.86453587171621 0.24048451753816 1.89473377258909 0.242448201102584 1.92263404283795 0.244336426888644 1.94846750234833 0.246142376615568 1.97252188099428 0.247869351432465 1.99519173701077 0.249536210995993 2.07101301466093 0.255237342881205 2.12248399287695 0.259321364510018 2.17375649878614 0.263546829703592 2.22509506772423 0.267929991352743 2.2765060987845 0.272450839517044 2.32816041618117 0.277092295402702 2.38039278648828 0.2818577990746 2.43358542405557 0.286759621246134 2.48815217017435 0.291800576547681 2.54474968516515 0.297002162773779 - -14.5199469042548 11 0 9 14.5291727688084 9 20.1145592563506 9 23.8343337090006 9 27.602053443644 9 31.1030887496992 9 34.9822374740764 9 40.0717100109291 9 47.1154888072361 9 55.0406318394774 9 73.9577058674298 11 -1 0 0 0 1 -7 0 0 7 8 2 1.07601873632354 0.415362612637533 1.08204471570996 0.418564828152137 1.08923660810153 0.421497102199251 1.09758466717586 0.424257747027827 1.10745232301942 0.426935152292554 1.11874095608937 0.429425419076812 1.13142771276228 0.431651955492493 1.14505405798275 0.43353353399771 - 0 8 1 8 -1 0 0 0 1 -7 0 0 6 7 2 2.00572264815352 0.250332882632305 2.03103391627492 0.252420404680501 2.0549352296558 0.255473268057682 2.07559463017833 0.259545852390737 2.09131816267743 0.264517431338194 2.09973656729811 0.270211594751355 2.10154851916647 0.275892746478889 - 0 7 1 7 -1 0 0 0 1 -7 0 0 9 66 9 2.05306034430696 0.195661192448546 2.06243007233085 0.203569349273988 2.07057073647128 0.211569945347688 2.0776182344497 0.219667726841108 2.08367456796955 0.227877264972535 2.08879535851827 0.236201997807643 2.09302447275192 0.244632466876088 2.09642230577515 0.253169033965057 2.09903427069149 0.261874363456872 2.10253714062122 0.280468632664492 2.10341611495641 0.290784714739271 2.10295873917386 0.301464630001485 2.10131356055353 0.312528670766793 2.09789575369944 0.324360325803564 2.09250941274856 0.336629135595599 2.08435536928674 0.349549036937011 2.07244674356495 0.362921726388214 2.04795190226937 0.382169788711198 2.0399514948579 0.387791111771969 2.03091906341844 0.393449875351172 2.02072647703793 0.399130335877829 2.00922165689798 0.404812805236572 1.99622537918283 0.410471774882534 1.9815420544601 0.416073125297654 1.96498448353145 0.421570420782331 1.92926514090019 0.431821363002508 1.91040032642327 0.436599417180208 1.8897099390906 0.441190727416442 1.86709182813322 0.445533607559706 1.84256410413239 0.449560866591389 1.81621120549251 0.453208937045849 1.78809081110912 0.456422508837565 1.75823058381917 0.459153502050757 1.69412149770478 0.463646510764456 1.65912730498621 0.465397560643025 1.62263294043835 0.466479388151517 1.58534511833708 0.466833902038867 1.548046192431 0.466482553003617 1.51154327275557 0.46551592068084 1.47656431277686 0.464072121735939 1.44373973498696 0.462313932663312 1.3950695493313 0.459225397093641 1.37734644727316 0.457973177194354 1.36051557400832 0.456678985509487 1.34448984686281 0.455358287243193 1.32920247042053 0.454022612564335 1.31459552906415 0.452680732433391 1.30061308494766 0.451339286152514 1.28719878141329 0.450002860643662 1.25335853377703 0.446515862598882 1.23377268319809 0.444377290070836 1.21532979293509 0.442270061648884 1.19784233132352 0.440197999343281 1.1812131724535 0.438164459005694 1.1653151419596 0.436168010008706 1.15006074967997 0.434209954483039 1.13556825827141 0.432309531869301 1.07825154033854 0.424720891216834 1.03675091737746 0.418951947357437 0.995544273084771 0.413096185676951 0.954092586504853 0.407099947516448 0.912383693565785 0.401008488115341 0.870312855122617 0.39487079735792 0.827567920191122 0.388698057088993 0.783860274038303 0.382508707137918 0.738806318111476 0.376316029478797 - -15.9069977001149 10 0 8 16.6441495052613 8 23.423925697616 8 29.683700112056 8 36.2098012622694 8 40.2954566514639 8 46.9269097518373 8 68.0195601066858 10 -1 0 0 0 1 -7 0 0 9 106 14 4.42238119390307 0.525239799363282 4.3948535383958 0.512190823940369 4.36890496179355 0.499251606974674 4.34425005903705 0.486430296933296 4.32065744499059 0.473738102238943 4.29790443453492 0.461169570865651 4.27585002402474 0.448746794120178 4.25426535322316 0.436441622145873 4.23280069223078 0.424148832274236 4.20018360620916 0.405289611335113 4.18843561958481 0.398436505243894 4.1773562050687 0.391942875428147 4.16679339732117 0.38575131562791 4.15665568785535 0.37980356378968 4.14691133013145 0.374071575241936 4.13751457667736 0.368526978152584 4.12844257131081 0.363143601895775 4.10812895968835 0.350986948332012 4.09711295907273 0.344315460489514 4.08660383138068 0.337830430572027 4.0765963014683 0.331508013976644 4.06708740945714 0.325231593785704 4.05820506840431 0.319069612747539 4.04994845824138 0.312795185791638 4.04258820976818 0.306443301544114 4.03467216748521 0.297362236274625 4.03279091863642 0.294947135751003 4.03114822077878 0.292481246769974 4.02975136650676 0.289948217310594 4.02866067060123 0.287321109325295 4.02797532621398 0.284572754886887 4.02780684579704 0.281679219726527 4.0283419985325 0.278599895105026 4.0308836946287 0.273702093144362 4.03191721799724 0.27212544673058 4.03324325138445 0.270480830963248 4.03493426991143 0.268754964605485 4.03707223446695 0.266941708585818 4.03975704640906 0.265045937504181 4.04310209691577 0.263084614208389 4.04717808705378 0.261091853661812 4.05574338564961 0.257516271379301 4.06004090040323 0.255922548883041 4.06466158666591 0.254393430711632 4.06961872577176 0.252926794756134 4.07473651351348 0.251557325746145 4.07990957445248 0.250287154416041 4.08517918958653 0.249083414420594 4.09052367559683 0.247951207906289 4.10275242590244 0.245523693298549 4.10966102699482 0.244269284527336 4.11658542432128 0.24310690620541 4.12351209994084 0.242024238783082 4.13043654576522 0.241011102428669 4.13735337191646 0.240059583059806 4.14425458642536 0.239163610744831 4.15113604627462 0.238317990473231 4.16713509182101 0.236453991673073 4.17624859271294 0.235469426925288 4.18536631529549 0.234552576005149 4.19447873255234 0.233696395847891 4.20357926269729 0.232895391750231 4.21267624864169 0.232144496259284 4.22179071176086 0.231438850567815 4.23093988005494 0.230774488420135 4.25194256893638 0.229343472769591 4.26381435227148 0.228602782571535 4.27573764894344 0.227921879501559 4.28772478099246 0.227296083638792 4.29978555026685 0.226721774073544 4.31192820453461 0.226196155411076 4.32416040356278 0.225717024274221 4.33649018522802 0.225282535807094 4.36789463229138 0.224293780251561 4.38710947389119 0.22379653281961 4.40661133418042 0.223393877216023 4.42643249958527 0.223082089936452 4.44661164554826 0.222859052513495 4.46719819837256 0.22272415812796 4.48824707848869 0.222678146955532 4.50980382520547 0.222722870249566 4.56193370661493 0.223049003563915 4.5928821589273 0.223410458442192 4.62510655505501 0.223947254665781 4.65904189621286 0.224689101449378 4.69480222534609 0.225654576494414 4.73240629548259 0.22686450807704 4.77195618405757 0.228355577103971 4.81312126665331 0.230142043166518 4.89871491961152 0.234258718765609 4.94253058182466 0.236614059187997 4.9822214632264 0.238971537302623 5.01811772136174 0.241236486182453 5.05091302652538 0.243414819856861 5.08086654854055 0.245486083730776 5.10841447011061 0.247451412497946 5.13397676999306 0.249325111693063 5.21864296316258 0.255691285323282 5.27564483034859 0.260245573419481 5.33272133798845 0.264991012153683 5.38988714314399 0.269936685636428 5.44714520394254 0.275038397526613 5.50492329757747 0.280286252286835 5.56377635469309 0.285705346109833 5.62424033481655 0.291295115631997 5.68726166669637 0.297086650334524 - -14.9840058386901 10 0 8 8.74923716318256 8 20.2780534914566 8 24.3478256010862 8 26.1716127801979 8 27.6798627908699 8 29.602076555593 8 32.1524392439394 8 35.4455094900736 8 40.4678818123227 8 47.3051027289389 8 55.0406334182331 8 73.3003937977283 10 -1 0 0 0 1 -7 0 0 7 8 2 4.21760681579082 0.415360265152793 4.22363347540825 0.418563261747068 4.23082585656465 0.421495974094348 4.239173914909 0.424256854931804 4.24904237073588 0.426934608692459 4.26033242483053 0.429425284310245 4.2730214220227 0.43165217576148 4.28665043358755 0.433533998079579 - 0 8 1 8 -1 0 0 0 1 -7 0 0 6 7 2 5.14732778738383 0.250333817192426 5.17263569056648 0.252421549591104 5.19653405829249 0.255474478256634 5.21719086660877 0.259547013141603 5.23291270561285 0.264518361339944 5.24132951955297 0.270212194692855 5.24314116660161 0.275892805280721 - 0 7 1 7 -1 0 0 0 1 -7 0 0 9 66 9 5.1946521406602 0.195660468933045 5.2040220638244 0.203568698662779 5.2121628831097 0.211569373491109 5.21921052425465 0.219667216262411 5.22526698308228 0.227876847753516 5.23038779135641 0.236201668639916 5.23461680910501 0.244632088444257 5.23801463260808 0.253168406784951 5.24062690694683 0.261873652224266 5.24413875982827 0.280516889632912 5.24501619319886 0.290881620664555 5.24454664042938 0.301619918556981 5.24287185811876 0.312747001394197 5.23940681275948 0.324643454861832 5.23394367598021 0.336988576750013 5.22567035497197 0.349986959111074 5.21357483479415 0.363440947562337 5.18870324348079 0.382763689887883 5.18061841589966 0.388380744907379 5.17149367094818 0.394033844829395 5.16120000152484 0.399707123787193 5.14958439329105 0.405380675838864 5.13646696133888 0.411028568630561 5.12165226209084 0.41661605187189 5.10495478031428 0.422095960614136 5.06894598381183 0.4323089047865 5.04992994340954 0.437066752360473 5.02908419748481 0.44163375043504 5.00631096542656 0.445947639900798 4.98163356702312 0.449941209568437 4.95514039239371 0.453551356857948 4.92689049512936 0.456723336531947 4.8969110703958 0.459409526227881 4.83251435996861 0.463810830876134 4.797320755276 0.465512759370077 4.76065814753688 0.466537510418802 4.72326403706765 0.466830349623956 4.68593471702778 0.466418972310672 4.64947844966241 0.465400020588231 4.61461500275168 0.463915402536676 4.58195790501195 0.462128550108572 4.53345670552142 0.459001151188352 4.51572977585272 0.45773093025861 4.49890327080308 0.456420885609729 4.48288530322688 0.455086067237936 4.46760653546684 0.453737616921184 4.45300777442616 0.452384009962534 4.4390324442439 0.451031700821826 4.42562393655788 0.44968517263055 4.39231805602084 0.446227590816668 4.37319251028916 0.444128614276463 4.35515751978943 0.442060593848707 4.33803724568097 0.440026951880113 4.32173938102418 0.438030540048069 4.30614118550238 0.436069599486629 4.2911606875188 0.434145454533146 4.27691952629151 0.432277484934386 4.21985418450614 0.42472212430952 4.17835007245797 0.418953093697614 4.13713934444396 0.413096688924116 4.0956875943252 0.407100315249413 4.0539798183666 0.401009004210407 4.01190946178224 0.394871399666765 3.96916528174963 0.388698758467551 3.92545835857967 0.382509502383623 3.88040521662969 0.376316917072332 - -15.9057469560638 10 0 8 16.7233880328304 8 23.4931185882247 8 29.7479332745432 8 36.2825263467174 8 40.4040511881432 8 46.9269097884096 8 68.0298498307305 10 -1 6.28318530717959 0 0 1 -1 0 0 0 1 -1 0 3.14159265358979 1 0 -1 0 42.3124779769431 1 0 -8 0 1 -7 0 0 1 2 2 0 -0.420603299794028 85.5474060930531 -0.420603299794028 - 0 2 1 2 -8 0 1 -1 0 0 1 0 -1 85.5474060930531 0 0 1 -7 0 0 10 101 12 -0.23055937831312 0.0266681458379082 -0.20578189733033 0.0269326416670835 -0.181546573791591 0.0270927308409888 -0.15772294946829 0.0271466349647189 -0.134181856471483 0.0270915445291375 -0.110820327149679 0.026924433788029 -0.0875753773961285 0.0266439302548772 -0.0643746493549008 0.0262493165072389 -0.0410491268332227 0.025736701287114 -0.0173103640498934 0.0250963561872203 0.031382037193145 0.0235414970239683 0.0571734351888266 0.0225948858096246 0.0804500546001441 0.0216082379578388 0.102783675369455 0.0206077822534116 0.124724644945348 0.0195574581564309 0.146173256772511 0.0184748975323369 0.16740726235196 0.0173721894398525 0.188545297669498 0.0162470017387292 0.209808242321775 0.0151050394795425 0.239785575521091 0.0135080281243344 0.248168198616853 0.0130628709832111 0.256622802762734 0.0126163291553574 0.26516683257987 0.0121688947610357 0.273821249557951 0.0117210772147746 0.282610397735776 0.0112734217437518 0.291562235220322 0.0108267049769752 0.300708931559158 0.0103823076063022 0.310087830951712 0.00994276411827308 0.326172817579485 0.00922593392712858 0.332728908046645 0.00894381641993378 0.339409131993364 0.00866551522221602 0.346295790387389 0.00839526550428288 0.353352921189519 0.00813260143231137 0.360628671263125 0.00787834776989799 0.368220085388597 0.00764029222676242 0.375995707030549 0.00743055839402514 0.383709219755453 0.00725458783010139 0.401958018957881 0.0069424707317744 0.411728364753751 0.00684080137199058 0.421692606417729 0.00680435876150654 0.431340814245862 0.00686879855004035 0.439350168410096 0.00698904181925 0.448209526954868 0.00706445354472285 0.456802784472213 0.00727288614029511 0.464945202442957 0.0074898097348803 0.472303048051246 0.00772380508917059 0.485861032087965 0.0082277637232361 0.491555251571942 0.00845894513853835 0.497413390651684 0.00871602421323364 0.503304187579061 0.00899571223967703 0.509108683013047 0.00928729075544179 0.514859288546228 0.00958576826425229 0.520591567076431 0.00989163895046077 0.526290936369317 0.010204828093811 0.531981534301117 0.0105212387180687 0.5439717927431 0.0111955988484224 0.550272680843103 0.0115541355929605 0.556584267667617 0.0119151515635186 0.562913812480208 0.012277105404337 0.569266810852207 0.0126386695391103 0.575648914900403 0.0129988034233143 0.582066704796212 0.0133567474171535 0.58852731155392 0.0137119372794235 0.59503689109078 0.0140638392820119 0.610206108025779 0.0148681096448191 0.61890390704033 0.0153176758046846 0.627703157330882 0.0157591327334881 0.636613634072417 0.0161914094000401 0.645646293393684 0.016613582247602 0.654814788235914 0.0170247982631924 0.664135283566132 0.0174241743012883 0.673624570945751 0.0178106726626633 0.683296482456113 0.0181829529276393 0.706802912981742 0.0190322424703661 0.720779424924132 0.0194930379956452 0.735237356589919 0.0199228948831802 0.750300929999489 0.0203170132190701 0.766049108094762 0.0206681695889234 0.782523230872875 0.0209660736447141 0.799727779476767 0.0211958544804189 0.81759149577047 0.0213391347340153 0.83585608490582 0.0213811503342504 0.874116106973465 0.0212668684106501 0.893514463374398 0.0210840358675924 0.911561157670266 0.0207959548021467 0.928159600180213 0.0204372272798529 0.943529947157957 0.0200239156468921 0.957740753234517 0.0195777264091633 0.970950755835964 0.0191094787362359 0.983487968140965 0.0186125776248006 0.995159492866197 0.0181080491656162 1.02692924409601 0.016613430361082 1.04688227371223 0.0155153338630977 1.06649520470136 0.0142968388396329 1.08613803795472 0.0129325612663125 1.10586437469736 0.0114145569540856 1.12565196013555 0.00974180813861685 1.14552366404325 0.00790792808125017 1.16553818719913 0.00589998400518802 1.18572840277353 0.00370424313566157 1.20615386186105 0.00129755105827853 - -14.5199469043064 11 0 9 14.5291727688715 9 20.1145592564379 9 23.8343337090937 9 27.6020534437338 9 31.1030887497826 9 34.982237474143 9 40.071710010972 9 47.1154888072535 9 55.0406318394778 9 71.0274591887468 11 -8 0 1 -7 0 0 1 2 2 0 54.6228429263445 85.5474060930531 54.6228429263445 - 0 2 1 2 -8 0 1 -1 0 0 1 0 -1 1 0 0 1 -7 0 0 7 8 2 0 0.0245391618462892 0 0.0247608594847202 0 0.0250291260723713 0 0.025351120924432 0 0.0255471186063712 0 0.025728407419796 0 0.0258705311784017 0 0.0259903496242342 - 0 8 1 8 -8 0 1 -7 0 0 1 2 2 0 45.7286095291016 83.9275278422369 45.7286095291016 - 0 2 1 2 -8 0 1 -1 0 1 1 0 -1 1 0 0 1 -7 0 0 6 7 2 1 0.0178746741230659 1 0.0179150257657736 0.999999999999996 0.0179637599034422 1 0.0180106155359691 0.999999999999998 0.018101713051619 1 0.0181950107401424 1 0.0182680633953028 - 0 7 1 7 -8 0 1 -7 0 0 1 2 2 0 0.942272157243807 83.9275278422369 0.942272157243807 - 0 2 1 2 -8 0 1 -1 0 1 1 0 -1 83.9275278422369 0 0 1 -7 0 0 9 66 9 -0.246955075674904 0.0116574057484138 -0.221027563058622 0.0124831406983361 -0.195346920437665 0.0132756786865802 -0.169826690966864 0.0140360473386028 -0.144361994086041 0.014765514438645 -0.118884828284694 0.0154632571057048 -0.0933608037354975 0.0161284156190443 -0.0677187506350464 0.0167630281896211 -0.0417046490836362 0.0173723429731481 0.0136717760439397 0.0185731998792959 0.0441196397240332 0.0191769186755309 0.0754824734097172 0.0197375307962226 0.1080525579183 0.0202761966110465 0.142814515761566 0.0207719841929144 0.179102700798284 0.0212422273320439 0.217681598299978 0.0216810653535026 0.258003652640576 0.0221293594150585 0.316355232844985 0.0228398143720892 0.333422483060593 0.0230547608710402 0.350641089775424 0.0232822832924675 0.367950605432761 0.0235260504902192 0.385287775159871 0.0237895465548598 0.402607807890163 0.0240756523646425 0.419904801716882 0.0243865072932983 0.437231323486555 0.0247236510750419 0.470863130252022 0.0254252885843231 0.487144587894267 0.0257857578911529 0.503641142523412 0.0261704371763874 0.520503888317996 0.0265804030195729 0.537889977351374 0.0270153552136163 0.555932812228306 0.0274715474327639 0.574742725237614 0.0279402716246037 0.594433028581821 0.0284076492449389 0.63678689340628 0.0293245234877688 0.65964266985393 0.0297761304269655 0.6836044812647 0.0301848200262567 0.708249652555458 0.0305135284648754 0.733011895796473 0.0307355073489122 0.75731299862013 0.0308412841310855 0.780642534696592 0.0308371656364078 0.802551823843111 0.0307407633807943 0.835045595284246 0.0304776712002167 0.846876727912359 0.0303503373514642 0.858109288760874 0.0302011465497923 0.868798391498818 0.0300336318977537 0.878984133696386 0.0298507813015367 0.888702994350238 0.0296550799283779 0.897993237130081 0.0294485446935533 0.906894319375438 0.0292327507778843 0.929270639400743 0.0286465023685383 0.942172984826319 0.0282628591559051 0.954283262042798 0.0278636911287588 0.96573596973483 0.0274506274507313 0.976591529517664 0.0270282543667099 0.986968186372991 0.0265957467387546 0.996939829436691 0.0261516948054126 1.00627044905816 0.0257106161302255 1.04100074580037 0.0239891611563189 1.0650537689063 0.0225910113880211 1.08825512078095 0.0210723913265681 1.11103661629859 0.0193910342080998 1.13333019559518 0.0175414709081503 1.15508318816182 0.0155244697779916 1.1763644780822 0.0133269240580902 1.1971751848496 0.0109326963422475 1.21751638861621 0.00831799673936416 - -15.9068651330268 10 0 8 16.6534726290762 8 23.432073658459 8 29.6912718971229 8 36.2183326056513 8 40.308163539699 8 46.9269097527621 8 68.0206627092101 10 -8 0 54.6412405750099 -1 0 41.279068928176 1 0 -8 0 54.6412405750099 -7 0 0 1 2 2 0 41.279068928176 40.1085283897743 41.279068928176 - 0 2 54.6412405750099 2 -1 40.1085283897743 0 0 1 -7 0 0 7 32 6 0.780661949722845 0.0208419311219674 0.783535208721401 0.0208878945953002 0.786420952617847 0.0209316731691066 0.789319823686639 0.0209732260829069 0.792232707577907 0.0210125077403782 0.795160733317425 0.0210494677093579 0.798105273306636 0.0210840507218395 0.816156510757749 0.0212799126342275 0.832010297711368 0.0213855637239325 0.84814236415916 0.0214102858853563 0.86374934390477 0.0213471823235414 0.878475025587007 0.0212140825982081 0.892007143289477 0.021034496760056 0.913540855575816 0.0206672338250397 0.922048231757687 0.0204948420622996 0.93002406855391 0.0203104020300774 0.937687745334622 0.0201138159091712 0.94496024503746 0.0199088080037722 0.951909912792773 0.0196971651415158 0.966322626452214 0.0192267743385707 0.973684271018043 0.0189661633118319 0.980737599525176 0.0186983608993713 0.987466519533781 0.0184273189089992 0.99397796482617 0.0181509016602953 1.00049085490061 0.0178603695822624 1.04070927714127 0.0159614312835666 1.07299397465174 0.0139889196303947 1.10618286173054 0.0115858261159531 1.1391430356184 0.00872694289299501 1.17249471141737 0.00539955062464558 1.20643352687085 0.00151781763312299 1.24127377536174 -0.00309067969984925 - 41.279068928176 8 42.2537795453814 6 47.2178784149788 6 50.8373147733209 6 55.0406334520179 6 81.3875973179503 8 -8 0 1 -7 0 0 1 2 2 0 54.424973474795 40.1085283897743 54.424973474795 - 0 2 1 2 -8 0 1 -1 0 0 1 0 -1 1 0 0 1 -7 0 0 6 7 2 1 0.0178761504280288 1 0.0179161451539309 0.999999999999996 0.0179646807718409 1 0.0180109662003875 0.999999999999998 0.0181028745324455 1 0.0181956710643083 1 0.0182681481155503 - 0 7 1 7 -8 0 1 -7 0 0 1 2 2 0 0.68423831109989 39.8900200223286 0.68423831109989 - 0 2 1 2 -8 0 1 -1 0 1 1 0 -1 39.8900200223286 0 0 1 -7 0 0 11 42 5 -0.252003207400648 0.0114962095847908 -0.230294322854231 0.0121912281189117 -0.208764981014541 0.0128635470089131 -0.187362365622897 0.0135133713227524 -0.166041759615959 0.0141417320820182 -0.144751183372662 0.0147490612609193 -0.123442407706706 0.0153350052280618 -0.10208577127576 0.0158990083161456 -0.0806662320240423 0.0164411981986881 -0.0591380823396085 0.0169631047600461 -0.0373157575438471 0.0174677441379089 0.0116133450044126 0.0185286838496941 0.039787617484825 0.0190916601001995 0.0688796216734005 0.0196204642246466 0.0987047378117416 0.0201316135263241 0.13121648427951 0.0206101654911528 0.163421031557697 0.0210554218562212 0.199078560265499 0.0214849602840076 0.235297712938226 0.0218827968732317 0.272654107396078 0.0222903519638086 0.30964477202047 0.0227338051119051 0.363568447028256 0.0234746541808964 0.381315798753556 0.0237347382017854 0.398686815838723 0.0240093105618613 0.415593983986896 0.024298908875359 0.432016576471258 0.0246033514278027 0.448006834739348 0.0249222046264738 0.463666315719939 0.0252549751425158 0.479110152833339 0.0256010485796434 0.494436977808754 0.0259593965072691 0.509722250315817 0.0263280736933403 0.541768634106874 0.0271129103840946 0.55853436234352 0.0275303589430693 0.57545895093703 0.0279519467450571 0.592615793915543 0.0283714326349662 0.610037053490016 0.0287802617353419 0.627715703355575 0.0291683762556351 0.645611861415259 0.0295254757951889 0.663660055715791 0.0298423669413858 0.681774067645934 0.0301120419761656 0.699845996189396 0.0303301264923557 0.717736187238335 0.0304943357310758 - -11.8009947650387 12 0 10 13.7057874909477 10 20.586505000513 10 28.0890252572899 12 -8 0 39.8900200223286 -1 0 28.0890252572899 1 0 -8 0 39.8900200223286 -7 0 0 1 2 2 0 28.0890252572899 46.5246414307964 28.0890252572899 - 0 2 39.8900200223286 2 -8 0 1 -7 0 0 1 2 2 0 -0.385519775299606 54.6412405750099 -0.385519775299606 - 0 2 1 2 -8 0 1 -1 0 0 1 0 -1 54.6412405750099 0 0 1 -7 0 0 11 92 10 -0.233165898695258 0.026639832384569 -0.210356455267703 0.0268918692015207 -0.188009610760462 0.0270567974571809 -0.166026669812619 0.0271334076711871 -0.144309600333937 0.0271195335285953 -0.122774572939393 0.0270130132319661 -0.101363293466244 0.0268124124474038 -0.0800297639555311 0.0265169202761366 -0.0587007014736414 0.0261252563287493 -0.0372284381517978 0.0256338536272871 -0.0153757198109157 0.0250350087050407 0.0240283829408577 0.0237750833808076 0.041389325433235 0.0231628145255308 0.0584723258817574 0.0225035725343815 0.0751057491644617 0.0218129413296739 0.0913182655184447 0.0210994429024843 0.107190477554571 0.0203668908742207 0.122808070921623 0.0196167553100649 0.138252009334532 0.0188500009996915 0.153593065392874 0.0180680496278294 0.168889749262068 0.0172727044572895 0.193411369871106 0.0159808769470704 0.202614479376185 0.0154923004516914 0.211843899239333 0.0149996392807651 0.221115215150064 0.0145032967808741 0.230445351082017 0.0140036923167451 0.239852874645769 0.0135012348000146 0.249358752481677 0.0129963526626917 0.258987555680747 0.012489580274368 0.268769115244868 0.0119817008040806 0.278740627577842 0.0114739455261317 0.292663337595675 0.0107842652305977 0.296409109500779 0.0106005848170049 0.300188662455687 0.0104172647874126 0.304004416279369 0.0102344007881137 0.307859073878364 0.0100521276536875 0.311755621252968 0.00987061940720043 0.315697327488245 0.00969008925991371 0.31968774476434 0.00951078961161959 0.323730708347047 0.00933301205033346 0.327830336594686 0.00915708735251778 0.338735582571558 0.00870181199447218 0.345645771279477 0.00842632021292771 0.352697407953921 0.00815757475445971 0.360121312132679 0.00790274555967446 0.367300131272858 0.00765495496802896 0.375748363522224 0.0074283030948061 0.383018975198819 0.0072326480314104 0.392084280143622 0.0070556800086858 0.400425465391591 0.00694273916692901 0.409424420927282 0.00688507677354649 0.425240559877796 0.00687950496728465 0.432370047247813 0.00691458964588641 0.438920464325314 0.00698445317885737 0.445022613346314 0.00706676637495253 0.450915491296762 0.00716434993984132 0.456655740901882 0.00728312382997637 0.462183406547429 0.00742049997973828 0.46752094692823 0.0075732030385311 0.472781108443837 0.00774319326313186 0.477946694984358 0.00792783759460065 0.488909885189723 0.00835200466311588 0.494772017046543 0.00860144804868965 0.500538474678363 0.00886554684081002 0.506211819222559 0.00914086592685737 0.511824392483946 0.0094258113150443 0.517400245840618 0.0097189941166298 0.522947524462667 0.0100187359963999 0.528467652160111 0.0103232572991912 0.533967662127174 0.0106310890595208 0.539462018891285 0.0109412501020249 0.555829520731684 0.0118701705605074 0.566693028831085 0.0124930141174812 0.57759113607851 0.0131142518778961 0.588542979950168 0.0137278059562075 0.599559710317261 0.0143291872463921 0.610653961040248 0.0149154068915206 0.621840351045887 0.015484448089566 0.633131782572867 0.0160346045299814 0.64453630444145 0.0165639917604153 0.656059308048539 0.0170705377783222 0.677420412420626 0.0179542307351195 0.687217214260245 0.0183388151403921 0.697113076351212 0.0187054738924494 0.70711689534908 0.0190532824989545 0.717237453119968 0.0193811134462085 0.727481195343687 0.0196875638869907 0.737850995758059 0.0199710338400302 0.748346948792364 0.0202298607318979 0.75897023307323 0.0204624161059948 0.769731088543046 0.0206670703291907 0.780661949722845 0.0208419311219675 - -13.3621716468339 12 0 10 10.0562883294211 10 16.0851223894755 10 18.2785570824938 10 21.8341495457517 10 24.9220782484525 10 28.4529128143161 10 35.4520028197241 10 41.279068928176 12 -1 1 0 0 1 -7 0 0 7 8 2 0 0.0245388224896329 0 0.0247616705242208 0 0.0250307514688171 0 0.0253508962158645 0 0.0255465410972414 0 0.0257279174965739 0 0.0258701790107945 0 0.0259903033948943 - 0 8 1 8 -8 0 1 -7 0 0 1 2 2 0 45.3389927894818 46.5246414307964 45.3389927894818 - 0 2 1 2 -8 0 1 -1 0 1 1 0 -1 46.5246414307964 0 0 1 -7 0 0 8 30 5 0.717736187238336 0.0304943357310758 0.719216460702841 0.0305079227619821 0.720695451212469 0.0305211266187723 0.72217306776584 0.0305339464371428 0.723649219361571 0.0305463813527897 0.725123814998254 0.0305584305014071 0.726596763674547 0.0305700930186942 0.728067974389023 0.030581368040344 0.752363974058026 0.030761377305512 0.774469308599226 0.030833152223168 0.795113585656828 0.0308085488201616 0.814249328246626 0.0307080838226957 0.831961175152607 0.0305501646808006 0.848351297017221 0.0303477805763393 0.863590507192896 0.0301115942402932 0.900986059832463 0.0294192251174889 0.921526379050773 0.028917937279278 0.940176482009572 0.0283727646038646 0.957380425091689 0.0277885890864822 0.973164972992146 0.0271898232890619 0.988200938135989 0.0265594176288191 1.00236514463253 0.025903921773594 1.04418301873221 0.0238319302185508 1.07029518293997 0.0222745527507714 1.09618519141709 0.0205439563487596 1.12149128064641 0.0185761311346646 1.14597046699112 0.0164242386699346 1.16989266824001 0.0140424742625387 1.19320533704324 0.0114205589710665 1.21592719994952 0.00852153005876152 - 28.0890252572899 9 28.540497915643 7 35.5540557357405 7 46.9269099865807 7 74.6136666880863 9 -8 0 1 -7 0 0 1 2 2 0 -0.420603299792066 88.4776527716846 -0.420603299792066 - 0 2 1 2 -8 0 1 -1 0 0 1 0 -1 88.4776527716846 0 0 1 -7 0 0 10 101 12 -0.230559378313172 0.0266681458379076 -0.205781897330383 0.0269326416670844 -0.181546573791607 0.027092730840984 -0.157722949468376 0.0271466349647286 -0.134181856471438 0.0270915445291242 -0.110820327149783 0.0269244337880433 -0.0875753773960859 0.0266439302548668 -0.0643746493549507 0.0262493165072452 -0.041049126833224 0.0257367012871121 -0.0173103640499173 0.0250963561872214 0.0313820371931439 0.0235414970239682 0.0571734351888907 0.0225948858096238 0.0804500546000957 0.0216082379578328 0.102783675369181 0.0206077822534415 0.124724644946086 0.0195574581563735 0.146173256771629 0.0184748975323969 0.167407262352447 0.017372189439822 0.188545297669407 0.0162470017387345 0.20980824232177 0.0151050394795422 0.239785575521099 0.0135080281243351 0.248168198616837 0.0130628709832057 0.256622802762841 0.0126163291553652 0.265166832579656 0.0121688947610277 0.273821249558102 0.0117210772147886 0.282610397735764 0.0112734217437373 0.29156223522061 0.0108267049769705 0.300708931559292 0.0103823076062913 0.310087830951659 0.00994276411827697 0.326172817579316 0.00922593392713708 0.33272890804658 0.00894381641994407 0.339409131993523 0.00866551522219195 0.34629579038792 0.00839526550427413 0.353352921188894 0.00813260143232786 0.360628671262746 0.00787834776993534 0.368220085388327 0.00764029222675925 0.375995707031222 0.00743055839400206 0.383709219755172 0.00725458783011376 0.401958018957947 0.00694247073177124 0.41172836475368 0.00684080137199223 0.421692606417936 0.00680435876149347 0.43134081424606 0.00686879855006085 0.439350168409534 0.00698904181923856 0.448209526955233 0.00706445354471151 0.456802784472349 0.00727288614032499 0.46494520244261 0.00748980973485451 0.472303048051233 0.00772380508917101 0.485861032088183 0.00822776372324818 0.491555251571646 0.00845894513852869 0.49741339065187 0.00871602421322197 0.503304187578521 0.00899571223967345 0.509108683013964 0.0092872907554687 0.514859288545728 0.00958576826425241 0.520591567076607 0.00989163895045046 0.526290936369035 0.0102048280937963 0.531981534301184 0.0105212387180736 0.543971792743474 0.0111955988484534 0.550272680843341 0.011554135592984 0.556584267667917 0.0119151515635275 0.562913812479611 0.0122771054043077 0.569266810852256 0.0126386695390913 0.575648914899848 0.012998803423287 0.582066704796369 0.0133567474171567 0.588527311553939 0.0137119372794292 0.595036891090787 0.0140638392820118 0.610206108025776 0.014868109644819 0.618903907040317 0.0153176758046839 0.62770315733094 0.0157591327334913 0.636613634072346 0.0161914094000362 0.645646293393744 0.0166135822476062 0.654814788235886 0.0170247982631889 0.664135283566124 0.0174241743012895 0.673624570945764 0.0178106726626629 0.683296482456091 0.0181829529276392 0.706802912981744 0.019032242470365 0.720779424924045 0.0194930379956457 0.735237356590367 0.0199228948831874 0.750300929998698 0.0203170132190569 0.766049108095574 0.0206681695889348 0.782523230872242 0.0209660736447055 0.79972777947719 0.0211958544804255 0.81759149577026 0.0213391347340121 0.835856084905845 0.0213811503342505 0.874116106973479 0.0212668684106511 0.893514463374194 0.021084035867587 0.91156115767071 0.0207959548021581 0.928159600179557 0.0204372272798377 0.943529947158611 0.0200239156469076 0.957740753234045 0.0195777264091516 0.970950755836219 0.0191094787362412 0.983487968140858 0.0186125776247999 0.995159492866216 0.0181080491656163 1.03082240750063 0.0164302751581452 1.05415036241386 0.0151097848418929 1.07725927316867 0.0136137548609717 1.10054942552482 0.0119027624471348 1.12396492193706 0.00997209220211744 1.14745037495567 0.00782320315678 1.17109192021537 0.00543910040763438 1.19502130128144 0.00278917141219843 1.2192829049512 -0.000154498624327224 1.24398475210274 -0.00345086348614969 - -14.5199469042548 11 0 9 14.5291727688084 9 20.1145592563506 9 23.8343337090006 9 27.602053443644 9 31.1030887496992 9 34.9822374740764 9 40.0717100109291 9 47.1154888072361 9 55.0406318394774 9 73.9577058674298 11 -8 0 1 -7 0 0 1 2 2 0 54.622842926337 88.4776527716846 54.622842926337 - 0 2 1 2 -8 0 1 -1 0 0 1 0 -1 1 0 0 1 -7 0 0 7 8 2 0 0.0245391618462893 0 0.0247608623688854 0 0.0250291309494861 0 0.0253511195279105 0 0.0255471164130563 0 0.025728405431183 0 0.0258705296929224 0 0.0259903491167396 - 0 8 1 8 -8 0 1 -7 0 0 1 2 2 0 45.7287153354437 83.9265578068007 45.7287153354437 - 0 2 1 2 -8 0 1 -1 0 1 1 0 -1 1 0 0 1 -7 0 0 6 7 2 1 0.0178746741230697 1 0.0179150256769198 0.999999999999996 0.0179637600808044 1 0.01801061527123 0.999999999999998 0.018101715099647 1 0.0181950129122151 1 0.0182680649532182 - 0 7 1 7 -8 0 1 -7 0 0 1 2 2 0 0.942299044516773 83.9265578068007 0.942299044516773 - 0 2 1 2 -8 0 1 -1 0 1 1 0 -1 83.9265578068007 0 0 1 -7 0 0 9 66 9 -0.24695482247099 0.0116574138123902 -0.221027340138111 0.0124831475784014 -0.19534672797611 0.0132756844983316 -0.169826521959345 0.0140360520763826 -0.144361858294336 0.0147655180117746 -0.11888472100268 0.0154632602836911 -0.0933606765123099 0.0161284197856406 -0.0677185396565324 0.0167630335382712 -0.0417044154813068 0.0173723465099015 0.0136549588440632 0.0185728399580171 0.0440860004594089 0.0191762464154538 0.0754288258199441 0.0197365618197336 0.107977515763315 0.0202749776238355 0.142716609941493 0.0207705668714489 0.17897827203948 0.021240627410024 0.217528208612529 0.0216793155159372 0.257820158043915 0.0221273200754438 0.316143667227266 0.0228371598209378 0.333212096719713 0.0230520072430803 0.35043240128192 0.0232794002988735 0.367744181892979 0.0235230100056006 0.385084118765548 0.0237863255228889 0.402407176761217 0.0240722342893505 0.419707047594016 0.0243828823030353 0.437035828820673 0.0247198145454841 0.470668807218388 0.0254210135700717 0.486949296221967 0.0257812523736843 0.503443788074025 0.0261657028053435 0.520303068745298 0.0265754401443478 0.53768432382321 0.0270101836465703 0.555721285062583 0.0274662261284382 0.574524648460851 0.0279349023645093 0.594207883914382 0.028402365070055 0.636541018206679 0.0293196155187589 0.659381830785158 0.0297715136824749 0.683329601902462 0.03018076412325 0.707964979135305 0.0305103547403634 0.732723565521529 0.0307334561601461 0.757027424273196 0.030840431543941 0.780365413971207 0.0308374343326709 0.802287595557175 0.0307419992770795 0.834794510034685 0.0304802588540821 0.846625496232932 0.0303534772904898 0.857858589603163 0.0302048134534387 0.868548483867719 0.0300378023124652 0.878735100666409 0.0298554350252671 0.888454856888495 0.0296601995050345 0.897745986552171 0.0294541142935133 0.906647917236941 0.0292387557403611 0.929067039944367 0.028652551147146 0.942005773408797 0.0282683710274026 0.954147997669825 0.0278685649214418 0.965629176746607 0.0274547857317749 0.976510244823043 0.0270316481376421 0.986910015722018 0.0265983353293027 0.996902854198691 0.0261534361191965 1.00625255267017 0.0257114989091398 1.04100165059943 0.0239891234066454 1.06505444280894 0.0225909621071273 1.08825534363948 0.0210723709319137 1.11103676490975 0.0193910231680982 1.1333304012218 0.0175414543060967 1.15508339863915 0.0155244492632803 1.17636473187828 0.0133268976780563 1.19717546258327 0.0109326639964507 1.21751669189919 0.00831795736273127 - -15.9069977001149 10 0 8 16.6441495052613 8 23.423925697616 8 29.683700112056 8 36.2098012622694 8 40.2954566514639 8 46.9269097518373 8 68.0195601066858 10 -8 0 1 -7 0 0 1 2 2 0 -0.434472092682603 88.2843996364184 -0.434472092682603 - 0 2 1 2 -8 0 1 -1 0 0 1 0 -1 88.2843996364184 0 0 1 -7 0 0 9 106 14 -0.230039711100399 0.0266736736866678 -0.202578287825913 0.0269647565937905 -0.175788932653039 0.0271258404425597 -0.149486365213216 0.0271543651169694 -0.12348895126998 0.0270461520642472 -0.0976645858979043 0.0267968464917422 -0.071954145307419 0.026406247181625 -0.046195707136647 0.0258722135370613 -0.0199585751441244 0.025180836911204 0.0227697904447752 0.0238166571600059 0.0391755234223101 0.0232404038598544 0.0550297028860445 0.0226306507587286 0.0703241605888741 0.0220017593186699 0.0851794181679721 0.0213577605256003 0.0997011554444863 0.0206983690124681 0.113994469362525 0.0200234657343432 0.128089834997762 0.0193361728185756 0.160458960405193 0.0177160644131366 0.178631316747293 0.0167749281719599 0.196725482005262 0.0158157531264427 0.214730820290551 0.0148474166680475 0.233030205910282 0.0138606860738511 0.251464602020056 0.0128702305111395 0.270437137148818 0.0118741669131751 0.290151738442511 0.0108737598520467 0.318463853654328 0.00956456959228866 0.325999006103346 0.0092272684995653 0.333720586163953 0.00889471633188503 0.34165247668099 0.00856942840729421 0.349830783446947 0.00825434377691687 0.358310595400973 0.00795308286718969 0.367159146873761 0.00767165889171709 0.376441452064356 0.00742122142908685 0.3905795889854 0.00713186930907056 0.395049873231707 0.00705242348727581 0.399636248103506 0.0069846379543935 0.404334541958079 0.00692997395021995 0.409146943661387 0.00689095275842024 0.414057789039398 0.00687014990503156 0.419003219405139 0.0068684864692258 0.423884243384873 0.00688428408138602 0.432632756656572 0.00693957988501451 0.436531163828815 0.00697432592899182 0.440364390220141 0.00701913037568407 0.443929063628292 0.00706859650904014 0.447432713820561 0.00712375756506371 0.45095548621092 0.00718708887337363 0.45434319569284 0.00725767903563166 0.45766661690786 0.00733328752346875 0.465103781549704 0.00752011289654579 0.46918652471706 0.00763509191415062 0.473205980068535 0.00776051357590322 0.477166707814851 0.0078954887463304 0.48107041833116 0.00803894003211062 0.484923288611113 0.00819006324251335 0.48873672205535 0.00834840074683365 0.49252155158878 0.00851352672880432 0.501256612162333 0.00891098242841035 0.506185436801445 0.00914770774325385 0.511069160783351 0.00939260274335663 0.51591976757319 0.00964444240624302 0.520748176578204 0.00990216889453083 0.525561379637776 0.0101646330593477 0.530362760766926 0.0104306027785341 0.535155599159237 0.0106990381298826 0.546140048883151 0.0113190304611127 0.552331295102004 0.0116719033454843 0.558532834092255 0.0120265835878856 0.564752871898839 0.012381719403797 0.570998634215055 0.0127362192330179 0.577276519978951 0.0130891952841463 0.583592254968203 0.0134399070789761 0.589951045396344 0.0137877049969729 0.606128784233775 0.0146570297940242 0.616010754330721 0.0151738937168927 0.626022430737787 0.0156804652481676 0.636178127756487 0.0161750675174578 0.646495123463292 0.0166563191913536 0.656996232095702 0.0171229422337928 0.667707510417333 0.017573505359674 0.678651098055896 0.0180061031815727 0.70505596712727 0.0189786685492245 0.720679138610754 0.0194988107283447 0.736916660857951 0.0199805381144148 0.753945397564698 0.0204159758560255 0.771866073392066 0.0207946136479548 0.790730546996471 0.0210994707973544 0.810525090806169 0.0213038359920168 0.830999363136064 0.0213803713315647 0.874120259583972 0.0212823251622562 0.895994684747896 0.021071491172441 0.916050841598003 0.0207248372664277 0.934224945286877 0.0202991576173664 0.950991604374758 0.0198065467616444 0.966165001710277 0.0192950604925155 0.980529232226681 0.01873918707953 0.993829067981529 0.0181705656371538 1.03366556708845 0.0162965627342182 1.05936982198913 0.0148075091396798 1.08508775068841 0.0130916909166735 1.11110894246513 0.0110916696750219 1.13720108579207 0.00882115899695432 1.16339672630512 0.00627386204028201 1.18994318416875 0.00340095064403836 1.21688775559353 0.000169877049414354 1.24438593714829 -0.00350443497583235 - -14.9840058386901 10 0 8 8.74923716318256 8 20.2780534914566 8 24.3478256010862 8 26.1716127801979 8 27.6798627908699 8 29.602076555593 8 32.1524392439394 8 35.4455094900736 8 40.4678818123227 8 47.3051027289389 8 55.0406334182331 8 73.3003937977283 10 -8 0 1 -7 0 0 1 2 2 0 54.6384411920738 88.2843996364184 54.6384411920738 - 0 2 1 2 -8 0 1 -1 0 0 1 0 -1 1 0 0 1 -7 0 0 7 8 2 0 0.0245392040891962 0 0.0247607656558472 0 0.0250289341268252 0 0.0253511435831045 0 0.0255471866648373 0 0.0257284642412414 0 0.0258705730952466 0 0.0259903566163272 - 0 8 1 8 -8 0 1 -7 0 0 1 2 2 0 45.7277137013037 83.9355967867943 45.7277137013037 - 0 2 1 2 -8 0 1 -1 0 1 1 0 -1 1 0 0 1 -7 0 0 6 7 2 1 0.0178746399383946 1 0.017915000261359 0.999999999999996 0.0179637372674379 1 0.0180106086258582 0.999999999999998 0.0181016733744915 1 0.0181949817989555 1 0.0182680516778122 - 0 7 1 7 -8 0 1 -7 0 0 1 2 2 0 0.94206177105988 83.9355967867943 0.94206177105988 - 0 2 1 2 -8 0 1 -1 0 1 1 0 -1 83.9355967867943 0 0 1 -7 0 0 9 66 9 -0.246957194572528 0.0116573382661799 -0.22102942852925 0.0124830831238115 -0.195348532245749 0.0132756300821269 -0.169828102458256 0.0140360076836384 -0.144363132593041 0.0147654843505159 -0.118885729035327 0.0154632307669074 -0.0933618298120281 0.0161283826042809 -0.0677203811214327 0.0167629869557975 -0.0417064271345018 0.0173723158444685 0.0137981584208011 0.0185759047745957 0.0443725645491281 0.0191819716175742 0.0758856891984231 0.0197448111114626 0.10861688615355 0.0202853566138387 0.143550918966862 0.0207826323058893 0.180038774695132 0.0212542469692456 0.218835923687919 0.0216942105123611 0.259384567758584 0.0221447003708376 0.317947089757231 0.0228598320899748 0.335005422312677 0.0230755357207784 0.352211202914009 0.0233040430616814 0.369503636787666 0.0235490055795601 0.386819989311022 0.0238138683593658 0.404117344097154 0.024101462873699 0.421392888326673 0.0244138793512159 0.438702725314717 0.0247526187432746 0.472326415341647 0.0254575604794516 0.488615541673607 0.0258197651413322 0.505128057554403 0.0262061655457038 0.522017317027895 0.026617845889147 0.539440171230562 0.0270543554293741 0.557527520940452 0.0275116496397267 0.576386941586704 0.0279806974614714 0.596130507918173 0.0284473877328984 0.6386413411506 0.0293613414737203 0.661610783002001 0.0298107060184558 0.685678643776095 0.0302150938749145 0.71039698326279 0.0305370752198284 0.735185528054101 0.0307505399439871 0.759464488743946 0.0308472687059323 0.782729233618284 0.0308347212103724 0.804540837860908 0.030731069787874 0.836936294855066 0.030457820066128 0.848767346256313 0.0303263233830337 0.859995346523178 0.0301731674085854 0.870678835213432 0.0300018610875715 0.880858737253107 0.0298153618531154 0.890571338851854 0.0296161390370557 0.899854728493764 0.0294062100407681 0.908748702988187 0.0291871492661622 0.930802925748684 0.0286006865061395 0.943431678261997 0.0282211614402971 0.955304449594518 0.0278267948379756 0.966546105088786 0.0274190506893878 0.977210321696363 0.0270024003111956 0.987410457662701 0.0265760449783046 0.99721930910987 0.0261385278015081 1.0064057848464 0.0257039401599076 1.04099388337579 0.0239894474037083 1.06504860133284 0.0225913882056755 1.08825333000731 0.0210725528344617 1.11103536525252 0.0193911275019035 1.13332849086645 0.0175416092607 1.15508142205522 0.0155246414890872 1.17636236421099 0.0133271440982553 1.1971728694896 0.0109329661416883 1.21751386124984 0.00831832501703618 - -15.9057469560638 10 0 8 16.7233880328304 8 23.4931185882247 8 29.7479332745432 8 36.2825263467174 8 40.4040511881432 8 46.9269097884096 8 68.0298498307305 10 -8 3.14159265358979 4.71238898038469 -1 6.28318530717959 0 0 1 -8 3.14159265358979 4.71238898038469 -1 0 0 0 1 -1 0 4.71238898038469 1 0 -2 9.75 17.25 -1 0 0 1 7.93752202305694 -1 1 0 0 1 -7 0 0 6 7 2 0 5.55111512312578e-017 0 0.166690124617903 0 0.333276224653389 0 0.499888552220701 0 0.666664466144042 0 0.833326856923655 0 1 - 0 7 1 7 -1 0 1 1 0 -1 0 0 0 1 -7 0 0 6 7 2 1 0 1 0.166690113097609 0.999999999999994 0.333276248249051 1.00000000000001 0.499888531142898 0.999999999999996 0.666664474191938 1 0.833326856657069 1 1 - 0 7 1 7 -1 0 1 1 0 -1 0 0 0 1 -1 9.75 32.757 1 0 -1 0 0 0 1 -7 0 0 8 9 2 10.17 32.757 9.74529594314287 32.7569999999999 9.3206054324126 32.9558195696459 9.002061978607 33.3188270293684 8.85294857012397 33.7531420104553 8.85530426930369 34.1474935540277 8.92222468126371 34.4499254454129 8.97300000000008 34.6849695996034 8.973 34.92 - 0 9 1.5707963267949 9 -1 0 0 0 1 -1 71.034 0 0 1 -1 0 0 0 1 -1 8.973 34.5 0 1 -1 0 0 0 1 -1 9.75 1.743 1 0 -1 0 4.71238898038469 1 0 -2 9.75 17.25 -1.89443439652858e-011 1 -1 -1.89443439652858e-011 41.0415932565253 -1 0 0 0 1 -7 0 0 8 9 2 10.17 1.743 9.74529594314274 1.74299999999999 9.32060543241304 1.54418043035432 9.00206197860617 1.18117297063122 8.85294857012493 0.746857989544928 8.85530426930297 0.352506445972454 8.92222468126406 0.0500745545869119 8.97299999999998 -0.184969599603321 8.973 -0.420000000000004 - 0 9 1.5707963267949 9 -1 0 0 0 1 -1 8.973 -27.75 0 1 -7 0 0 5 6 2 1.11022302462516e-016 0.42 0.282842712474619 0.419999999999999 0.606612105264753 0.420000000000001 0.964184221713278 0.419999999999999 1.28795361432028 0.42 1.5707963267949 0.42 - 0 6 1.5707963267949 6 -8 0 1.5707963267949 -1 0 0 1 0 -1 1.5707963267949 0 0 1 -1 13.257 9.75 0 1 -7 0 0 7 8 2 0 61.284 0.224399475256414 61.2839999999999 0.448798950512818 61.3619999999999 0.673198425769277 61.4868000000005 0.897597901025609 61.6271999999994 1.1219973762821 61.7520000000004 1.34639685153848 61.8299999999999 1.5707963267949 61.83 - 0 8 1.5707963267949 8 -1 1.5707963267949 0 0 1 -7 0 0 8 9 2 -1.32169407946346e-016 1.743 0.196349540849364 1.743 0.392699081698718 1.63950000000001 0.58904862254809 1.46699999999994 0.785398163397507 1.26000000000008 0.981747704246734 1.05299999999992 1.17809724509623 0.880500000000033 1.37444678594554 0.776999999999994 1.5707963267949 0.776999999999995 - 0 9 1.5707963267949 9 -1 1.5707963267949 0 0 1 -7 0 0 5 6 2 0 0.420000000000002 0.282842712474618 0.420000000000001 0.606612105264745 0.420000000000003 0.964184221713269 0.420000000000001 1.28795361432028 0.420000000000002 1.5707963267949 0.420000000000002 - 0 6 1.5707963267949 6 -8 0 1.5707963267949 -1 0 1.5707963267949 1 0 -7 0 0 5 6 2 1.5707963267949 1.743 1.28795361432028 1.743 0.964184221530194 1.74300000000001 0.606612105081606 1.74299999999999 0.28284271247462 1.743 7.7715611723761e-016 1.743 - 0 6 1.5707963267949 6 -8 0 1.5707963267949 -1 0 1.5707963267949 1 0 -1 1.5707963267949 0 0 1 -1 14.034 0 0 -1 -7 0 0 5 6 2 1.5707963267949 32.757 1.28795361432028 32.7569999999999 0.964184221530181 32.7570000000001 0.606612105081598 32.7569999999999 0.28284271247461 32.757 -7.79060958802689e-015 32.757 - 0 6 1.5707963267949 6 -8 0 1.5707963267949 -1 0 0 1 0 -1 1.5707963267949 0 0 1 -1 90.723 -77.25 0 -1 -7 0 0 5 6 2 1.5707963267949 23.784237510085 1.28795361432027 23.7842375100849 0.964184221530168 23.784237510085 0.60661210508159 23.7842375100849 0.282842712474619 23.784237510085 -2.22044604925031e-016 23.784237510085 - 0 6 1.5707963267949 6 -8 0 1.5707963267949 -1 0 1.5707963267949 1 0 -7 0 0 5 6 2 -1.11022302462516e-016 0.42 0.282842712474618 0.419999999999999 0.606612105264749 0.420000000000001 0.964184221713303 0.419999999999999 1.28795361432028 0.420000000000001 1.5707963267949 0.42 - 0 6 1.5707963267949 6 -8 0 1.5707963267949 -1 0 0 1 0 -1 1.5707963267949 0 0 1 -1 13.257 9.75 0 1 -7 0 0 7 8 2 1.5707963267949 61.83 1.34639685153848 61.8300000000001 1.12199737628202 61.7519999999991 0.897597901025759 61.6272000000015 0.673198425769161 61.4867999999987 0.448798950512872 61.3620000000008 0.22439947525641 61.2839999999998 0 61.284 - 0 8 1.5707963267949 8 -1 1.5707963267949 0 0 1 -7 0 0 7 8 2 0.00942140450022934 6.28318530717959 0.00942140450022929 6.05848205659474 0.0106208357665065 5.8337810247555 0.0125537622168224 5.60921090500175 0.0148472622287673 5.38488157887189 0.0170458294369043 5.16089946835242 0.0186038048857123 4.9367640231582 0.0189331446610976 4.71238898038469 - 0 8 1.5707963267949 8 -1 1.5707963267949 0 0 1 -7 0 0 7 8 2 3.12265950889081 4.71238898038469 3.12298884866619 4.93676402315819 3.12454682411499 5.16089946835243 3.12674539132315 5.38488157887189 3.12903889133505 5.60921090500174 3.13097181778542 5.8337810247555 3.13217124905167 6.05848205659476 3.13217124905167 6.28318530717959 - 0 8 1.5707963267949 8 -1 1.5707963267949 0 0 1 -1 0 6.28318530717959 1 0 -1 1.57079632681384 11.0415932565253 1 0 -7 0 0 8 9 2 0 1.743 0.196349540849359 1.74299999999999 0.392699081698722 1.63950000000007 0.589048622548118 1.46699999999985 0.785398163397404 1.26000000000018 0.981747704246834 1.05299999999986 1.17809724509618 0.880500000000065 1.37444678594554 0.776999999999988 1.5707963267949 0.776999999999995 - 0 9 1.5707963267949 9 -1 1.5707963267949 0 0 1 -7 0 0 5 6 2 0 27.33 0.282842712474618 27.3299999999999 0.606612105264765 27.3300000000001 0.964184221713261 27.3299999999999 1.28795361432028 27.33 1.5707963267949 27.33 - 0 6 1.5707963267949 6 -8 0 1.5707963267949 -1 0 1.5707963267949 1 0 -7 0 0 5 6 2 1.5707963267949 3.96576248991503 1.28795361432027 3.96576248991502 0.964184221530186 3.96576248991506 0.606612105081577 3.965762489915 0.282842712474617 3.96576248991504 -2.1094237467878e-015 3.96576248991503 - 0 6 1.5707963267949 6 -8 0 1.5707963267949 -1 0 0 1 0 -1 1.5707963267949 0 0 1 -1 90.723 -15 0 -1 -1 0 0 0 1 -1 15 10.17 -1 0 -1 0 0 0 1 -1 0 71.58 1 0 -1 0 0 0 1 -1 1.743 9.75 0 1 -1 0 0 0 1 -7 0 0 7 8 2 14.034 -32.757 14.0339999999999 -32.9313583922742 14.0662509117291 -33.105838936857 14.1002849180894 -33.3386857979692 14.0502827777594 -33.6436167985349 13.850636579608 -33.9243764265127 13.5538805057643 -34.08 13.257 -34.08 - 0 8 1.5707963267949 8 -7 0 0 5 6 2 1.5707963267949 13.257 1.28795361432027 13.257 0.964184221530121 13.257 0.606612105081633 13.257 0.282842712474611 13.257 -7.67958728556437e-015 13.257 - 0 6 1.5707963267949 6 -8 0 1.5707963267949 -1 0 1.5707963267949 1 0 -7 0 0 8 9 2 1.5707963267949 14.223 1.37444678594553 14.223 1.17809724509618 14.1194999999999 0.981747704246786 13.9470000000003 0.785398163397502 13.7399999999995 0.589048622548024 13.5330000000004 0.392699081698748 13.3604999999998 0.196349540849362 13.2570000000001 -1.32169407946346e-016 13.257 - 0 9 1.5707963267949 9 -1 1.5707963267949 0 0 1 -1 1.5707963267949 0 0 1 -1 91.5 -77.67 -1 0 -7 0 0 5 6 2 1.11022302462516e-016 13.257 0.28284271247462 13.257 0.606612105264698 13.257 0.964184221713392 13.257 1.28795361432027 13.257 1.5707963267949 13.257 - 0 6 1.5707963267949 6 -8 0 1.5707963267949 -1 0 0 1 0 -1 0 0 0 1 -7 0 0 7 8 2 13.257 -0.420000000000002 13.5538805057643 -0.420000000000006 13.850636579608 -0.575623573487396 14.0502827777594 -0.856383201465018 14.1002849180894 -1.16131420203093 14.0662509117291 -1.39416106314289 14.034 -1.56864160772577 14.034 -1.743 - 0 8 1.5707963267949 8 -1 0 0 0 1 -1 0 -0.420000000000002 1 0 -1 1.5707963267949 0 0 1 -1 0 -34.08 1 0 -1 0 0 0 1 -7 0 0 7 8 2 1.743 -0.420000000000002 1.44611949423575 -0.419999999999999 1.14936342039194 -0.575623573487368 0.949717222240685 -0.856383201465086 0.899715081910448 -1.16131420203088 0.933749088271021 -1.39416106314292 0.965999999999994 -1.56864160772577 0.965999999999993 -1.743 - 0 8 1.5707963267949 8 -1 0 0 0 1 -7 0 0 7 8 2 1.74299999999999 -34.08 1.44611949423576 -34.0800000000001 1.14936342039179 -33.9243764265122 0.949717222240957 -33.6436167985358 0.89971508191029 -33.3386857979683 0.933749088271056 -33.1058389368576 0.965999999999989 -32.9313583922741 0.965999999999994 -32.757 - 0 8 1.5707963267949 8 -1 0 0 0 1 -1 0.965999999999994 0 0 -1 -1 0 0 0 1 -7 0 0 7 8 2 87.5415932565253 -104.578021490416 88.3368165221332 -104.578021490416 89.1319093090391 -104.318089055209 89.8136110829948 -103.818380976708 90.2964622690931 -103.164844251269 90.5870550491895 -102.462158425713 90.7230000000003 -101.748143513898 90.723 -101.034237510085 - 0 8 1.5707963267949 8 -1 0 0 0 1 -1 77.277 -77.25 0 -1 -1 0 0 0 1 -1 76.5 -104.578021490416 1 0 -1 0 0 0 1 -7 0 0 7 8 2 77.277 -101.034237510085 77.2770000000001 -101.748143513898 77.4129449508088 -102.462158425712 77.7035377309098 -103.164844251271 78.1863889170026 -103.818380976706 78.8680906909624 -104.31808905521 79.6631834778662 -104.578021490416 80.4584067434747 -104.578021490416 - 1.0578624220219e-018 8 1.5707963267949 8 -7 0 0 5 6 2 0 11.0415932565253 0.284171957116295 11.0415932565253 0.609918649615795 11.0415932565254 0.970299081889195 11.0415932565253 1.29604577419778 11.0415932565253 1.58021773131408 11.0415932565253 - 0 6 1.5707963267949 6 -8 0 1.5707963267949 -1 0 0 1 0 -1 0 0 0 1 -1 15 10.17 -1 0 -1 1.5707963267949 0 0 1 -1 0 71.58 1 0 -1 0 0 0 1 -1 1.743 9.75 0 1 -1 0 0 0 1 -7 0 0 7 8 2 90.723 -18.965762489915 90.7229999999999 -18.2518564861021 90.5870550491904 -17.5378415742876 90.2964622690919 -16.8351557487307 89.8136110829958 -16.1816190232925 89.1319093090385 -15.6819109447908 88.3368165221335 -15.4219785095839 87.5415932565253 -15.4219785095839 - 0 8 1.5707963267949 8 -7 0 0 5 6 2 1.58021773131405 11.0415932565253 1.29604577419776 11.0415932565253 0.97029908169833 11.0415932565254 0.609918649424822 11.0415932565253 0.2841719571163 11.0415932565253 1.11022302462516e-016 11.0415932565253 - 0 6 1.5707963267949 6 -8 0 1.5707963267949 -1 0 1.5707963267949 1 0 -1 1.58021773131408 0 0 1 -1 1.58021773131407 0 0 1 -1 0 0 0 1 -1 4.70296757586552 0 0 1 -1 0 0 1 0 -1 1.57079632681384 3.95840674347468 1 0 -7 0 0 8 9 2 1.5707963267949 14.223 1.37444678594554 14.223 1.17809724509616 14.1194999999999 0.981747704246788 13.9470000000003 0.785398163397516 13.7399999999995 0.589048622548027 13.5330000000004 0.392699081698746 13.3604999999998 0.196349540849361 13.2570000000001 0 13.257 - 0 9 1.5707963267949 9 -1 1.5707963267949 0 0 1 -1 1.5707963267949 0 0 1 -1 91.5 -42.33 -1 0 -1 1.58021773131405 0 0 1 -1 76.5 -15.4219785095839 1 0 -1 0 0 0 1 -1 77.277 -15 0 -1 -1 0 0 0 1 -7 0 0 7 8 2 77.277 -18.965762489915 77.2769999999999 -18.2518564861021 77.4129449508092 -17.5378415742875 77.7035377309093 -16.8351557487308 78.1863889170029 -16.1816190232924 78.8680906909623 -15.6819109447908 79.6631834778662 -15.4219785095839 80.4584067434747 -15.4219785095839 - 0 8 1.5707963267949 8 -7 0 0 5 6 2 1.5707963267949 1.743 1.28795361432027 1.74299999999999 0.964184221530152 1.743 0.606612105081594 1.74299999999999 0.282842712474613 1.743 2.02996189274232e-016 1.743 - 0 6 1.5707963267949 6 -8 0 1.5707963267949 -1 0 0 1 0 -7 0 0 5 6 2 1.5707963267949 0.42 1.28795361432027 0.419999999999999 0.964184221530155 0.420000000000001 0.606612105081622 0.419999999999999 0.282842712474619 0.42 2.22044604925031e-016 0.42 - 0 6 1.5707963267949 6 -8 0 1.5707963267949 -1 0 1.5707963267949 1 0 -1 1.5707963267949 0 0 1 -1 9.75 32.757 1 0 -7 0 0 7 8 2 0 61.83 0.224399475256415 61.8300000000002 0.448798950512857 61.7519999999991 0.673198425769199 61.6272000000015 0.897597901025656 61.4867999999986 1.12199737628208 61.3620000000008 1.34639685153848 61.2839999999997 1.5707963267949 61.284 - 0 8 1.5707963267949 8 -1 1.5707963267949 0 0 1 -7 0 0 5 6 2 1.5707963267949 0.420000000000002 1.28795361432028 0.420000000000001 0.964184221530182 0.420000000000003 0.606612105081524 0.420000000000001 0.282842712474621 0.420000000000002 0 0.420000000000002 - 0 6 1.5707963267949 6 -8 0 1.5707963267949 -1 0 0 1 0 -1 0 0 0 1 -7 0 0 8 9 2 8.973 34.92 8.97300000000005 34.6849695996033 8.92222468126377 34.449925445413 8.85530426930362 34.1474935540276 8.85294857012396 33.7531420104551 9.00206197860711 33.3188270293686 9.32060543241251 32.9558195696457 9.74529594314291 32.757 10.17 32.757 - 0 9 1.5707963267949 9 -7 0 0 5 6 2 0 1.743 0.28284271247462 1.74299999999999 0.606612105264733 1.743 0.964184221713292 1.74299999999999 1.28795361432028 1.743 1.5707963267949 1.743 - 0 6 1.5707963267949 6 -8 0 1.5707963267949 -1 0 0 1 0 -7 0 0 7 8 2 -1.11022302462516e-016 61.83 0.224399475256415 61.8299999999998 0.448798950512785 61.7520000000001 0.673198425769328 61.6271999999999 0.897597901025586 61.4868 1.1219973762821 61.362 1.34639685153848 61.284 1.5707963267949 61.284 - 0 8 1.5707963267949 8 -1 1.5707963267949 0 0 1 -7 0 0 5 6 2 -1.11022302462516e-016 1.743 0.282842712474611 1.743 0.606612105264749 1.74300000000001 0.964184221713296 1.74299999999999 1.28795361432028 1.743 1.5707963267949 1.743 - 0 6 1.5707963267949 6 -8 0 1.5707963267949 -1 0 1.5707963267949 1 0 -7 0 0 5 6 2 0 32.757 0.282842712474612 32.7569999999999 0.606612105264708 32.7570000000001 0.964184221713288 32.7569999999999 1.28795361432028 32.757 1.5707963267949 32.757 - 0 6 1.5707963267949 6 -8 0 1.5707963267949 -1 0 1.5707963267949 1 0 -1 1.5707963267949 0 0 1 -1 71.034 0 0 1 -1 1.5707963267949 0 0 1 -1 8.973 34.5 0 1 -7 0 0 5 6 2 0 23.784237510085 0.282842712474622 23.7842375100849 0.606612105264764 23.784237510085 0.964184221713288 23.7842375100849 1.28795361432028 23.784237510085 1.5707963267949 23.784237510085 - 0 6 1.5707963267949 6 -8 0 1.5707963267949 -1 0 1.0578624220219e-018 1 0 -7 0 0 5 6 2 0 3.95840674347468 0.284171957116293 3.95840674347467 0.609918649615795 3.95840674347469 0.970299081889177 3.95840674347468 1.29604577419779 3.95840674347468 1.58021773131408 3.95840674347468 - 0 6 1.5707963267949 6 -8 0 1.5707963267949 -1 0 1.5707963267949 1 0 -7 0 0 7 8 2 0.0189331446610976 1.5707963267949 0.0186038048857123 1.34642128402138 0.0170458294369042 1.12228583882717 0.0148472622287674 0.898303728307716 0.0125537622168223 0.673974402177789 0.0106208357665066 0.449404282424134 0.00942140450022926 0.224703250584821 0.00942140450022933 1.57765609204882e-016 - 1.0578624220219e-018 8 1.5707963267949 8 -1 1.5707963267949 0 0 1 -7 0 0 5 6 2 1.5707963267949 0.42 1.28795361432028 0.419999999999999 0.964184221530151 0.420000000000001 0.606612105081622 0.419999999999999 0.282842712474621 0.42 0 0.42 - 0 6 1.5707963267949 6 -8 0 1.5707963267949 -1 0 1.5707963267949 1 0 -1 1.5707963267949 0 0 1 -1 9.75 1.743 1 0 -7 0 0 5 6 2 1.58021773131405 3.95840674347468 1.29604577419776 3.95840674347467 0.97029908169828 3.95840674347469 0.60991864942484 3.95840674347468 0.284171957116297 3.95840674347468 0 3.95840674347468 - 0 6 1.5707963267949 6 -8 0 1.5707963267949 -1 0 1.5707963267949 1 0 -7 0 0 7 8 2 3.12265950889081 1.5707963267949 3.1229888486662 1.34642128402138 3.12454682411495 1.12228583882716 3.12674539132323 0.898303728307701 3.12903889133498 0.673974402177809 3.13097181778546 0.449404282424119 3.13217124905166 0.224703250584821 3.13217124905167 -1.57765609204882e-016 - 0 8 1.5707963267949 8 -1 1.5707963267949 0 0 1 -1 0 1.5707963267949 1 0 -2 9.75 17.25 -1.89443439652858e-011 1 -1 -1.89443439652858e-011 41.0415932565253 -7 0 0 5 6 2 1.5707963267949 27.33 1.28795361432028 27.3299999999999 0.964184221530194 27.3300000000001 0.606612105081517 27.33 0.282842712474621 27.33 0 27.33 - 0 6 1.5707963267949 6 -8 0 1.5707963267949 -1 0 0 1 0 -1 0 0 0 1 -7 0 0 8 9 2 8.973 -0.420000000000002 8.97300000000001 -0.184969599603311 8.9222246812639 0.0500745545868912 8.85530426930337 0.35250644597253 8.8529485701243 0.746857989544817 9.00206197860679 1.18117297063133 9.32060543241271 1.54418043035427 9.74529594314285 1.74300000000001 10.17 1.743 - 0 9 1.5707963267949 9 -7 0 0 5 6 2 0 3.96576248991503 0.282842712474622 3.96576248991502 0.606612105264765 3.96576248991505 0.964184221713292 3.96576248991502 1.28795361432028 3.96576248991503 1.5707963267949 3.96576248991503 - 0 6 1.5707963267949 6 -8 0 1.5707963267949 -1 0 0 1 0 -1 1.5707963267949 0 0 1 -1 8.973 -27.75 0 1 -1 0 1.5707963267949 1 0 -2 54.75 17.25 -1 -2.5822196159538e-016 -2.5822196159538e-016 1 13.758371506632 -8 1.5707963267949 3.14159265358979 -1 6.28318530717959 0 0 1 -8 1.5707963267949 3.14159265358979 -1 0 0 0 1 -1 0 3.14159265358979 1 0 -1 0 15.558371506632 1 0 -1 6.28318530717959 0 0 1 -1 0 0 0 1 -1 0 0 1 0 -1 0 35.441628493368 1 0 -8 0 1.5707963267949 -1 6.28318530717959 0 0 1 -8 0 1.5707963267949 -1 0 0 0 1 -1 0 1.5707963267949 1 0 -2 0 0 1 0 0 1 9.64162849336797 -Curves 156 -2 0 0 -75 0 0 1 1 0 0 0 1 0 15 -8 4.71238898038469 10.9955742875643 -2 0 0 -75 0 0 -1 0 1 0 1 0 0 6.75 -7 1 0 10 101 12 -29.0088594295159 8.64040153111304 -14.6175776175105 1 -29.2407255712199 9.49431745022744 -13.0257913447529 1.00000000000002 -29.4248000591358 10.3206949952092 -11.4286182356303 0.999999999999909 -29.5601980803567 11.1193428879692 -9.8259261728664 1.00000000000021 -29.6468726002307 11.8903244859943 -8.21834914524304 0.999999999999692 -29.6834388677216 12.6331864375146 -6.60480760407847 1.00000000000032 -29.6695727465862 13.3471996933684 -4.98583490389387 0.999999999999756 -29.605917985608 14.0327243756019 -3.36148364635642 1.00000000000013 -29.4910778665251 14.6917489473105 -1.72584356196033 0.999999999999963 -29.3219069936796 15.3235930729167 -0.073460378762892 0.999999999999999 -28.8978769659896 16.4961843415993 3.18208844046814 1.00000000000002 -28.6427429568995 17.0386610756945 4.79586848730655 0.99999999999991 -28.3635341597221 17.4922531662176 6.26026497649758 1.0000000000002 -28.0685051628608 17.9104181007026 7.67103825624489 0.99999999999973 -27.7509977883328 18.2766644703392 9.03109351154829 1.00000000000027 -27.4283647688409 18.6037435760389 10.3296418667151 0.999999999999797 -27.088672156414 18.8952470540994 11.6126203158513 1.00000000000012 -26.7450384465358 19.14781312424 12.8585458962056 0.999999999999947 -26.3940160512024 19.3638683201184 14.0955460778449 1.00000000000002 -25.9029550855724 19.6044869547269 15.812453639933 0.999999999999976 -25.7660300153039 19.665048914288 16.2897881858054 1.00000000000014 -25.6286883415277 19.7191546125313 16.7684760666558 0.999999999999669 -25.4909904471 19.7664245476211 17.2499042259119 1.00000000000052 -25.3530166385774 19.8063552621641 17.7355965872991 0.999999999999426 -25.2149313619992 19.8383090771662 18.2270270087022 1.00000000000047 -25.0770008418261 19.8614415426479 18.7257275484644 0.999999999999717 -24.9395641431145 19.8745666054753 19.2336920441673 1.00000000000012 -24.8029576568458 19.8759594938425 19.75407500387 0.999999999999963 -24.5771092086342 19.8545313243819 20.6505586517074 1.00000000000004 -24.4872508631055 19.8396900934452 21.0168073819553 0.999999999999826 -24.398142966075 19.817390471833 21.3925324056345 1.00000000000042 -24.3099897110519 19.7873320238596 21.7778562942978 0.999999999999309 -24.2226857476107 19.7475967432938 22.1773875533248 1.0000000000008 -24.1369561142231 19.6959639633838 22.5936398323377 0.999999999999328 -24.053828109581 19.6308778895409 23.0265677793645 1.0000000000004 -23.9728458097764 19.5498716126905 23.4826835910549 0.999999999999836 -23.8928453835228 19.445217893692 23.9820211638783 1.00000000000003 -23.7512817355551 19.1499784633047 25.0971546673283 0.999999999999978 -23.6795815663065 18.9505115251316 25.7632747115482 1.00000000000006 -23.6298449218469 18.6939108392562 26.4723136362387 0.999999999999902 -23.6150689086222 18.3772876555377 27.1850213274201 1.00000000000012 -23.6407451122696 18.0036951512037 27.8808440579391 0.999999999999893 -23.7202565023673 17.5748132842802 28.5037901935851 1.00000000000007 -23.8135572640275 17.1486650030537 29.0508886108878 0.99999999999997 -23.9227626595202 16.7252187590417 29.522771538112 1.00000000000001 -24.0333397824432 16.3284476336813 29.919661994943 1 -24.2245721792749 15.6602977834942 30.5458187272302 0.999999999999997 -24.3211240996388 15.3432615955207 30.8131523325356 1.00000000000002 -24.4160461667622 15.0381469706209 31.0511233033938 0.999999999999956 -24.510308465717 14.7385355295413 31.2703239963932 1.00000000000008 -24.6057190696855 14.439081938643 31.4747926074581 0.999999999999905 -24.7023305384045 14.1393237687745 31.6645256331413 1.00000000000009 -24.7988591869489 13.8412759023614 31.8401492478432 0.999999999999941 -24.8946150428981 13.5453521183556 32.0037053802429 1.00000000000003 -24.9905378049041 13.2490932504167 32.1560685731499 0.999999999999996 -25.1918385807536 12.6251774529778 32.4554076647096 0.999999999999997 -25.2971871474922 12.2974626318564 32.6000055720198 1.00000000000003 -25.4019066841417 11.9696141153532 32.7329934821168 0.999999999999919 -25.5059572445212 11.6410510440212 32.8552744882123 1.00000000000011 -25.6093290408137 11.3111850065429 32.9675637790085 0.999999999999897 -25.7119807582627 10.9795446795015 33.0704249560382 1.00000000000007 -25.8138166069595 10.6458112994255 33.164303914892 0.99999999999997 -25.91470211066 10.3097649671327 33.2495602901247 1 -26.0145186326942 9.97114178434517 33.3264964640486 1.00000000000001 -26.2428016516781 9.18103640183255 33.4857652913952 0.999999999999981 -26.370440124547 8.72744505817061 33.5622833801941 1.00000000000009 -26.4960143931783 8.26766092684981 33.6254876955256 0.99999999999982 -26.6193294957071 7.8008426897408 33.6757771817466 1.00000000000023 -26.7401663248765 7.32610178093848 33.7133985378033 0.999999999999793 -26.8582796723937 6.84242082219741 33.7384497235307 1.00000000000014 -26.9733811654751 6.34866328822273 33.7508888724975 0.999999999999923 -27.0851070956262 5.84367440181171 33.7505486109636 1.00000000000003 -27.1929711396105 5.32647325884978 33.7371557833767 0.999999999999993 -27.4393108061667 4.06310860100219 33.6732667617858 1.00000000000001 -27.5732236540922 3.30658883427844 33.6104558424763 0.999999999999967 -27.6983879841406 2.51912373545042 33.5214833581324 1.00000000000006 -27.8125501735802 1.69199080295816 33.4029682919087 0.999999999999921 -27.9130700225091 0.820794563591698 33.2520630886683 1.00000000000008 -27.9966323287411 -0.0959455106399605 33.0662604841948 0.999999999999937 -28.0582083896456 -1.05939108153184 32.8422946888876 1.00000000000004 -28.0910202962453 -2.06874054993397 32.5768984613893 0.999999999999968 -28.0892608849211 -3.10991971762558 32.2721776080486 1.00000000000002 -28.0171369077104 -5.27598332905567 31.5840336323925 0.999999999999956 -27.938734935473 -6.38815406562079 31.1976530717934 1.00000000000022 -27.8243217757209 -7.41860724065292 30.8100510046349 0.999999999999513 -27.6860420151623 -8.36389529071731 30.4336702206147 1.00000000000071 -27.5309240465076 -9.23421814573912 30.0710155845348 0.999999999999264 -27.3637834195609 -10.0376142231245 29.723003533043 1.00000000000056 -27.1886666853721 -10.7801093267707 29.3908157083771 0.999999999999685 -27.0082302856498 -11.4697854740295 29.0737266683741 1.00000000000012 -26.8234120861898 -12.1180421412544 28.76818984358 0.99999999999998 -26.2243547193869 -14.0421686758843 27.8389942725946 1.00000000000002 -25.7701211249118 -15.2785680053884 27.2114351739541 0.999999999999969 -25.2577453463977 -16.4918726064963 26.5694677861018 1.00000000000005 -24.6827908210241 -17.6865466186983 25.9104649092444 0.999999999999942 -24.0433837464675 -18.8599920947335 25.2357262866472 1.00000000000006 -23.3384028706627 -20.0094244868027 24.5473447747492 0.999999999999939 -22.5653928844977 -21.1334785228531 23.846232691592 1.00000000000005 -21.7200308240713 -22.2312617834898 23.1321973029272 0.999999999999975 -20.7966915658903 -23.3010425981114 22.4050767393244 1.00000000000001 -19.7873751746304 -24.3402281869656 21.6640699704055 1 - -14.5199469043064 11 0 9 14.5291727688715 9 20.1145592564379 9 23.8343337090937 9 27.6020534437338 9 31.1030887497826 9 34.982237474143 9 40.071710010972 9 47.1154888072535 9 55.0406318394778 9 71.0274591887468 11 -7 1 0 7 8 2 -29.1697097253819 15.7382456318044 1.08158343478944 1 -29.2365832446304 15.5473799282132 0.597990340742279 1 -29.3191288316824 15.3215690323272 0.157247197383298 1.00000000000001 -29.4166131996857 15.061007759907 -0.256183096014942 0.999999999999975 -29.5327528054267 14.7542957399389 -0.65570612728425 1.00000000000002 -29.6654039505672 14.4044666008308 -1.02592292172459 0.999999999999991 -29.8136870896521 14.012225601761 -1.35601518021812 1 -29.9716379535258 13.5914611286584 -1.63438980925443 1 - 0 8 1 8 -7 1 0 6 7 2 -26.7279667795255 -12.4177348949006 28.6225047204278 1 -26.5229379702374 -13.1450243937334 28.2402414925191 1 -26.3601655236766 -13.8542823448179 27.6821333611681 1.00000000000001 -26.2634163065121 -14.5013544127288 26.9400384350806 0.999999999999989 -26.2525063503719 -15.0442274107327 26.0386847029394 1.00000000000001 -26.3634627468035 -15.408745075408 25.0159569853428 1 -26.5611291175064 -15.5894671074197 24.0031604645617 1 - 0 7 1 7 -7 1 0 9 66 9 -22.6981976062883 -11.8823197614311 38.8794395189041 1 -23.1705801731034 -12.4005671785085 37.3649017351924 1.00000000000003 -23.6260875665103 -12.8901309857485 35.8408927161904 0.999999999999905 -24.0650795875023 -13.3504375320521 34.3080789289377 1.00000000000018 -24.4884034837418 -13.7814126639979 32.7650570842054 0.99999999999976 -24.895870197471 -14.1814043538657 31.2128353308191 1.00000000000022 -25.2866015704233 -14.5484125935932 29.6547194833201 0.999999999999866 -25.660519777135 -14.8820068410195 28.0916944105907 1.00000000000005 -26.0202502580015 -15.1833113049095 26.5133907130758 0.999999999999991 -26.7417116760179 -15.7301033287562 23.1796196565172 1 -27.1179539551873 -15.9838144792877 21.3493038339813 1.00000000000002 -27.4787707912679 -16.1812428164404 19.4799923951611 0.99999999999996 -27.8252617415185 -16.3249874554913 17.5687910144403 1.00000000000005 -28.1684273171024 -16.3988579609857 15.5552388835183 0.999999999999966 -28.4935804065255 -16.3834229609389 13.5025324403018 1.00000000000002 -28.8107443252818 -16.2531517714414 11.3792100592221 0.999999999999993 -29.1225071561247 -15.9711296788862 9.2233708037941 1.00000000000001 -29.5706377524159 -15.2845459891042 6.17902228092116 0.999999999999992 -29.7013652007727 -15.0518329981906 5.29709017269247 1.00000000000006 -29.8339305800095 -14.7812114185944 4.41604992851394 0.999999999999842 -29.9691175628935 -14.4687389713856 3.5384051543814 1.00000000000024 -30.1077915352018 -14.1098258484518 2.66716699733869 0.999999999999755 -30.250805367147 -13.6991424623733 1.80610841469859 1.00000000000017 -30.3987639488113 -13.2309557274258 0.960136131461075 0.999999999999927 -30.5516474895883 -12.6998938717507 0.135780286070951 1.00000000000001 -30.8529368404976 -11.5501879342658 -1.39133903312425 1 -31.0007778161291 -10.9413659381897 -2.09853738087235 0.999999999999969 -31.1510386609559 -10.2727245334266 -2.77381320510626 1.00000000000006 -31.302086804012 -9.5415305653019 -3.40869716116756 0.999999999999919 -31.451147820377 -8.74887897822783 -3.99417497808283 1.00000000000007 -31.5947626402614 -7.89786514424378 -4.52195501478516 0.999999999999958 -31.7293705207526 -6.99051384390886 -4.98499138512074 1.00000000000002 -31.8513992032366 -6.02766121790049 -5.37719500866035 0.999999999999998 -32.0655749765079 -3.96101614415334 -6.02081830223901 0.999999999999999 -32.1584698222884 -2.83313736261592 -6.2705614185158 1.00000000000001 -32.2266392093465 -1.65723725138087 -6.42390368696023 0.999999999999996 -32.2639626801592 -0.455688233566694 -6.47335131720794 1 -32.2666563153044 0.746694853796214 -6.42231439612179 0.999999999999995 -32.2339574756619 1.92390207288455 -6.28355347227075 1.00000000000001 -32.168807743012 3.05192057230279 -6.0763870912571 0.999999999999987 -32.0780155033115 4.10961163058871 -5.8237817093927 1.00000000000001 -31.9045619840119 5.67667581156974 -5.37917395003835 0.99999999999998 -31.8311329908873 6.2471554388629 -5.198638652413 1.00000000000011 -31.7522074160886 6.78836284276387 -5.01182390776539 0.999999999999777 -31.6687187148135 7.30304481354189 -4.82091918897408 1.00000000000029 -31.5814560081867 7.79330381340861 -4.62756439367953 0.99999999999974 -31.4910847609967 8.26096926750157 -4.43301553020806 1.00000000000016 -31.3981511479444 8.70781984142057 -4.23823075024249 0.999999999999942 -31.3030701084022 9.1356567052786 -4.0438767282668 1 -31.0491615559692 10.2106723098541 -3.53690979111619 1.00000000000001 -30.8872764237831 10.8298675029347 -3.22554332761994 0.999999999999916 -30.7218417020591 11.4105159542391 -2.91793409273077 1.00000000000018 -30.5532843564489 11.9585289138361 -2.61466582387638 0.999999999999751 -30.3826887049005 12.4771199729854 -2.31627667241061 1.00000000000024 -30.2100931698264 12.9703172894652 -2.02259156272635 0.999999999999841 -30.0355594786632 13.4408621502984 -1.73383137063968 1.00000000000007 -29.8618793687506 13.8853455429822 -1.45289061803672 0.999999999999991 -29.144498174995 15.6353853321146 -0.326943860013408 0.999999999999995 -28.5504137934031 16.8767213346126 0.535669781910123 1.00000000000004 -27.8962242287329 18.0803465971667 1.41750094597479 0.999999999999914 -27.1709259242487 19.2563499001996 2.32725233316262 1.00000000000011 -26.3735733877812 20.3980665654728 3.25891634854533 0.999999999999903 -25.5037416975174 21.5019549391565 4.20550077454288 1.00000000000007 -24.5562043525115 22.5698565639884 5.16538423519156 0.999999999999966 -23.5244235666573 23.5999328596107 6.13603846717161 1.00000000000001 -22.3992981866246 24.5901786762078 7.115466443104 1 - -15.9068651330268 10 0 8 16.6534726290762 8 23.432073658459 8 29.6912718971229 8 36.2183326056513 8 40.308163539699 8 46.9269097527621 8 68.0206627092101 10 -6 0 6 0 0 75 30 0 50 42.5 0 0 42.5 0 -7.5 15 0 -37.5 15 0 -50 15 0 -75 -7 1 0 7 32 6 27.9584970826234 0 33.0534527532866 1 27.9710743910717 0.160281128550201 33.0192353669994 1 27.9829468879754 0.321459682052563 32.9839730611466 0.999999999999997 27.9941002483589 0.483579279577787 32.9476529310381 1.00000000000001 28.0045185114828 0.646709087608782 32.9102532780278 0.999999999999994 28.014184080844 0.810943820036211 32.8717436095149 1 28.0230777241756 0.976403738163659 32.8320846389426 1 28.0724353485352 1.99288697800268 32.5831511674457 0.999999999999998 28.0934064544595 2.88398588441846 32.3427680653473 1.00000000000001 28.0885735955184 3.80302788322386 32.0703056686265 0.999999999999977 28.0535163181065 4.69003364964853 31.7825476276339 1.00000000000002 27.9956723392245 5.53052204997914 31.4920723264937 0.999999999999987 27.9225832034888 6.30132262844809 31.2118282224259 1 27.7779580788049 7.52733825164879 30.7476271422854 0.999999999999995 27.7113245357337 8.01139766151461 30.5581410108437 1.00000000000002 27.6407072125388 8.46611679739716 30.3752069491622 0.999999999999969 27.5660953303897 8.90079445861221 30.1961608641483 1.00000000000003 27.4889525048452 9.31221037123778 30.0229877923583 0.999999999999987 27.4094851097103 9.70536868833742 29.8543504489841 1 27.2335200278683 10.5187902919107 29.4993057565623 0.999999999999997 27.1363658238228 10.9332584112536 29.3144040379174 1.00000000000001 27.0369508444373 11.3286032135236 29.1346577386303 0.999999999999987 26.9364471383251 11.7054930932429 28.9603776560354 1.00000000000001 26.8332282556379 12.0699196960519 28.7891788834058 0.999999999999998 26.7316822703776 12.4125277109986 28.626057365569 1 25.957796129205 14.8988862643784 27.425080368322 1 25.1281052877382 16.9156126862401 26.3635187154712 0.999999999999996 24.1149320090209 18.9132237431268 25.2415427402213 1.00000000000001 22.9110846262789 20.8190468876526 24.0843243025161 0.999999999999988 21.5077255352392 22.6584224889175 22.8907360595941 1.00000000000001 19.8747119276242 24.4145426569249 21.6596762958526 0.999999999999997 17.9511740429072 26.0682450758645 20.3835120121077 1 - 41.279068928176 8 42.2537795453814 6 47.2178784149788 6 50.8373147733209 6 55.0406334520179 6 81.3875973179503 8 -7 1 0 6 7 2 26.7327274516823 12.4017240083575 28.6301933791151 1 26.5258275804037 13.1327760236576 28.2497300158545 1 26.3615851384702 13.84513928229 27.6923650354235 1 26.2635213134052 14.4951627389297 26.9502556938148 0.999999999999998 26.2519741830921 15.0406042927456 26.046945809751 1 26.3624337358892 15.4078311791144 25.0211740191027 1 26.5611162809628 15.589460697284 24.0032158124661 1 - 0 7 1 7 -7 1 0 11 42 5 22.6060163766709 11.7810184134011 39.1739166529444 1 23.0033176103695 12.2183515677981 37.9093163607251 1.00000000000007 23.3890236144469 12.63618540422 36.6383133522751 0.999999999999712 23.7633839016831 13.0340079634098 35.3609197499442 1.00000000000071 24.1266946537699 13.4119160215284 34.0773187179454 0.999999999998771 24.4792191054802 13.7696175367747 32.7871115364273 1.00000000000152 24.8209978572957 14.1062560970221 31.4901293155909 0.999999999998614 25.1517454817041 14.4207410815409 30.1874210738403 1.00000000000093 25.471029788718 14.7122672491761 28.881029903365 0.999999999999553 25.7789301156592 14.9807074661037 27.5711689475428 1.00000000000013 26.077371006853 15.226562285613 26.2494089132874 0.999999999999994 26.714893095312 15.7098270974574 23.3035805179695 0.999999999999964 27.0648756400733 15.9486973807437 21.6091926964257 1.00000000000024 27.4039790066972 16.1415785897727 19.8728063003419 0.999999999999413 27.7280207519544 16.2912294376359 18.1159188012829 1.00000000000093 28.0590135097755 16.3850949085209 16.2209629512777 0.99999999999896 28.3583287805968 16.4075931554915 14.3814277781469 1.00000000000087 28.6677362567146 16.3525339470832 12.3849690973152 0.99999999999946 28.9540354442266 16.1809525246703 10.4122365289277 1.00000000000024 29.2367273307018 15.8823947228403 8.43647477510556 0.999999999999938 29.5162940854199 15.4335280294376 6.51428384203225 0.999999999999993 29.9366852562064 14.5236550907769 3.76492354004851 1.00000000000003 30.0772564821483 14.1799488888539 2.86921235325513 0.999999999999809 30.21811017836 13.7959069198951 2.00228679646947 1.00000000000047 30.3595995563224 13.3708228746355 1.16805937798755 0.999999999999243 30.5018968805435 12.9042826975861 0.369890858744835 1.00000000000085 30.6448062441341 12.3964080663689 -0.38892962544109 0.999999999999294 30.7876857652712 11.8480571560507 -1.10513746409661 1.00000000000043 30.9294621134348 11.2609546842745 -1.77568978251874 0.999999999999796 31.06872027431 10.6377232333125 -2.39801825206315 1.00000000000008 31.2038514622511 9.98178784480378 -2.97014878802567 0.999999999999969 31.474325602407 8.55059178585617 -4.05787356607499 1.00000000000006 31.6086124471728 7.76975461055841 -4.56379178322256 0.999999999999682 31.7339341410842 6.95998940145186 -5.00635851759716 1.00000000000085 31.848419673952 6.12594224571995 -5.38541779015883 0.999999999998481 31.9503822193436 5.27196676548093 -5.70141431052249 1.00000000000199 32.0382919668338 4.40250210998273 -5.95506169435199 0.999999999998049 32.1108106698538 3.52233323482515 -6.14751816158727 1.00000000000145 32.1668635041909 2.63667425459759 -6.28077009048701 0.999999999999194 32.2057238319651 1.75101565588485 -6.35792379967654 1.00000000000032 32.2270864661591 0.870676156790482 -6.38310593339758 0.999999999999926 32.2311050305504 -1.77635683940025e-015 -6.36067282244893 1 - -11.8009947650387 12 0 10 13.7057874909477 10 20.586505000513 10 28.0890252572899 12 -7 1 0 11 92 10 28.9842556127968 -8.55052880310647 -14.7848272198958 1 29.2014119207634 -9.33736904646213 -13.3230127960817 0.999999999999965 29.3786843742196 -10.1012067436303 -11.8566975084505 1.00000000000013 29.5154109873326 -10.8418988830465 -10.385755158489 0.999999999999735 29.6114779741791 -11.5594807909359 -8.91067066376961 1.00000000000035 29.6660939000924 -12.2537345389835 -7.43088216647704 0.999999999999664 29.6787045144015 -12.9241687166767 -5.9462937571977 1.00000000000027 29.6494215538233 -13.5705634920135 -4.45730284773897 0.999999999999817 29.5781756453017 -14.1935831981209 -2.96259401535507 1.0000000000001 29.4636402764762 -14.7943069975521 -1.4578589319354 0.99999999999997 29.3048106415084 -15.3708764898041 0.057490219760842 0.999999999999995 28.9633131149757 -16.3154035669367 2.68138336500844 1.00000000000002 28.796165625448 -16.7000856317431 3.79942369356966 0.999999999999848 28.6126997418515 -17.0554935063817 4.88349176519665 1.00000000000043 28.4164256414656 -17.3831058412077 5.93088634204425 0.99999999999922 28.2095152284981 -17.6859816652303 6.94594052275454 1.00000000000101 27.9933117615715 -17.9662732525753 7.93347912998533 0.999999999999033 27.7689699214419 -18.2253231730315 8.89730785232505 1.00000000000069 27.5376824655743 -18.4642406729165 9.84079975710419 0.999999999999634 27.300449199535 -18.6839347628174 10.7676683366039 1.00000000000014 27.0578435782968 -18.8846636189266 11.6820397961175 0.999999999999967 26.66258615107 -19.175100066134 13.1310685389056 1.00000000000002 26.5128215839265 -19.2770580181917 13.6711514283507 0.999999999999905 26.3615952657028 -19.3720995130034 14.2090636463842 1.00000000000021 26.2090819027329 -19.4600824605335 14.745750814652 0.999999999999686 26.0554599019496 -19.5407817681282 15.2822333465414 1.00000000000033 25.9009043505908 -19.61389908576 15.8196310583136 0.999999999999758 25.7455868478892 -19.6790396876261 16.3592290811973 1.00000000000011 25.5896821890437 -19.7356564896202 16.9025850746031 0.99999999999998 25.4333819011415 -19.7829612032254 17.4516777402559 0.999999999999987 25.276914631336 -19.8198026253116 18.0090966374562 1.00000000000001 25.0636926857783 -19.8535019518444 18.7853534451507 0.999999999999986 25.0068374957719 -19.8608648310838 18.9940042733008 1.00000000000012 24.9500153735589 -19.8665399286563 19.2043723571658 0.999999999999612 24.8932389556302 -19.8704436256138 19.4166348900333 1.0000000000008 24.836525958416 -19.8724694573869 19.6309996849941 0.999999999998861 24.7798991783233 -19.8724881137418 19.8477051750378 1.00000000000118 24.7233864916826 -19.8703474388365 20.0670204129345 0.999999999999103 24.6670208548092 -19.8658724311633 20.289245071349 1.0000000000005 24.6108403039465 -19.8588652435952 20.5147094427549 0.999999999999815 24.5548879553077 -19.8491051833562 20.7437744394842 1.00000000000003 24.4089604057019 -19.8156702694891 21.3546209410239 0.999999999999977 24.3194002349742 -19.7870809273762 21.743088885578 1.00000000000005 24.2312783953631 -19.7491644305717 22.1429546471245 0.99999999999987 24.1424224722163 -19.7015260104716 22.5623047587907 1.00000000000027 24.0593751924861 -19.6385918712965 22.9915148443176 0.999999999999567 23.972262869473 -19.5652689895999 23.4531612607971 1.00000000000054 23.8951124638301 -19.4642919248365 23.9363468031379 0.999999999999497 23.8190146071424 -19.3495470917568 24.443074230444 1.00000000000035 23.7495761709519 -19.1910561801157 25.0158606738308 0.999999999999819 23.6997730871899 -18.9861746421294 25.6182031212212 1.00000000000007 23.651340768697 -18.5209431970348 26.759674709878 0.999999999999908 23.6477429893515 -18.2744799920932 27.2875858867518 1.00000000000047 23.6657975843101 -18.0056297513489 27.7864401477393 0.999999999998808 23.7045111469601 -17.7211730839765 28.2446681202556 1.00000000000202 23.7580532563579 -17.4318160811118 28.6573635565033 0.999999999997506 23.8207877064038 -17.1449176098074 29.0266511860275 1.00000000000231 23.8892302100516 -16.8632297793875 29.3585278245046 0.999999999998376 23.9609906931046 -16.5883646409966 29.6582424326777 1.00000000000085 24.0343457632793 -16.3209925508542 29.9302658434426 0.9999999999997 24.1099940757811 -16.0559152469907 30.1827344831804 1.00000000000005 24.2788536789948 -15.4840998621682 30.6911566603028 0.999999999999978 24.3704904632239 -15.1835163397315 30.9379423756314 1.00000000000001 24.4634925234909 -14.8856658592632 31.1645555094392 1.00000000000004 24.5572599816383 -14.5903236646823 31.3735038638429 0.999999999999861 24.6512104050473 -14.2975768922886 31.5666254106055 1.00000000000026 24.7449649934906 -14.0072783292967 31.7455723616861 0.999999999999672 24.8383649413576 -13.7189521727785 31.9118909499453 1.00000000000031 24.9313873448307 -13.4319635496399 32.0668946917597 0.999999999999785 25.0240300243432 -13.1457635577176 32.2115288994372 1.00000000000011 25.1162346318836 -12.8600215885959 32.3464242152505 0.999999999999963 25.3896580266744 -12.0083881399645 32.7219307485801 1.0000000000001 25.5692887008606 -11.4431759297895 32.936044265606 0.999999999999564 25.7458701512075 -10.8777899587933 33.1194859379379 1.00000000000104 25.9192300932996 -10.310006833748 33.275608291618 0.99999999999828 26.0892239249257 -9.73785031064587 33.4067589000318 1.00000000000211 26.2554688165732 -9.16004028293586 33.5146204185294 0.999999999998035 26.4173831817272 -8.57580671978375 33.60044957905 1.00000000000138 26.5743634981283 -7.98442495547511 33.6652250446085 0.999999999999288 26.7259304511787 -7.38482873136581 33.7097140211155 1.00000000000023 26.8716763706854 -6.77565739134187 33.7344675265027 0.999999999999986 27.1267110280049 -5.64027815054608 33.7441556275999 0.999999999999953 27.2380355511497 -5.1172649248825 33.7350843929528 1.00000000000035 27.3444109768662 -4.58647672364274 33.7127014047264 0.999999999999066 27.4454826328423 -4.0473064236655 33.677146285234 1.00000000000162 27.5408309635917 -3.49904315692081 33.6284119414692 0.999999999997952 27.629928143493 -2.94105118275823 33.5663772915976 1.00000000000195 27.7121474525365 -2.3730082162769 33.4909121955957 0.999999999998583 27.7868028289145 -1.79500994282681 33.4019686229462 1.00000000000077 27.8531960126237 -1.20734744916146 33.2995720912157 0.999999999999703 27.9106486941787 -0.609764301377259 33.1836274084882 1.00000000000007 27.9584970826234 -7.105427357601e-015 33.0534527532866 1 - -13.3621716468339 12 0 10 10.0562883294211 10 16.0851223894755 10 18.2785570824938 10 21.8341495457517 10 24.9220782484525 10 28.4529128143161 10 35.4520028197241 10 41.279068928176 12 -7 1 0 7 8 2 29.1701197894859 -15.7370944029424 1.07875770887412 1 29.2369366370051 -15.5464069006072 0.596123336518001 1 29.3194445116901 -15.3207190132564 0.155890753396395 1.00000000000001 29.4169445936738 -15.0601466873206 -0.257281683805087 0.99999999999997 29.533010094448 -14.7536104781056 -0.6564036238303 1.00000000000003 29.6655358463156 -14.4041109732552 -1.02614840891079 0.999999999999989 29.8136146533064 -14.0124006208082 -1.35582712856931 1 29.9713242594093 -13.5922762932856 -1.63391552632768 1 - 0 8 1 8 -7 1 0 8 30 5 32.2311050305504 -7.105427357601e-015 -6.36067282244893 1 32.2314375353413 -0.0720416460368298 -6.35881665787405 1 32.2316465305823 -0.144013715299437 -6.35662187913694 0.999999999999991 32.2317321597948 -0.215913137041643 -6.35409144149306 1.00000000000001 32.2316945664999 -0.287736840516422 -6.35122830020007 0.999999999999993 32.231533894219 -0.359481754978221 -6.3480354105121 1 32.2312502864734 -0.431144809679527 -6.34451572768746 0.999999999999999 32.2308438867843 -0.502722933874761 -6.34067220698076 1 32.2220961582068 -1.68480104380705 -6.27181444290289 0.999999999999984 32.1843588537183 -2.75152411162155 -6.13171463193052 1.00000000000005 32.1200465968442 -3.75115740233286 -5.93335994479389 0.999999999999898 32.0356102858262 -4.67499414417742 -5.70034485515144 1.00000000000013 31.9364971201571 -5.52786709061942 -5.44745209528168 0.999999999999903 31.8264548650084 -6.31844634286323 -5.18241827687803 1.00000000000004 31.7082329699833 -7.05224805054759 -4.91176625984517 0.999999999999993 31.380615516921 -8.8520500429788 -4.19342014931976 0.999999999999997 31.1603799498466 -9.83948923416876 -3.74089457164326 1.00000000000003 30.9295804956135 -10.7352391763436 -3.29240182756065 0.999999999999945 30.6892803876534 -11.5588859186508 -2.84954304663342 1.00000000000006 30.4460071657769 -12.3155093063881 -2.41823147583923 0.999999999999962 30.1946423324048 -13.0284922268366 -1.99292074541749 1.00000000000002 29.9411360156513 -13.6919282559938 -1.57747409460691 0.999999999999997 29.081139378279 -15.7900889562431 -0.227190491471622 1 28.4152649462424 -17.1514402278126 0.730011456747159 0.999999999999997 27.665486147739 -18.4942303072093 1.72226823143865 1 26.8204183151304 -19.7937754294475 2.75409189209439 1.00000000000001 25.8915227376016 -21.0424390117723 3.80028386890247 0.999999999999993 24.8647066095756 -22.247797466716 4.86713189452423 1 23.7344644227473 -23.4053226812906 5.94739683748956 0.999999999999999 22.4868748168119 -24.5127714152358 7.0390156227469 1 - 28.0890252572899 9 28.540497915643 7 35.5540557357405 7 46.9269099865807 7 74.6136666880863 9 -7 1 0 10 101 12 8.64040153111122 29.0088594295155 -14.6175776175139 1 9.49431745022581 29.2407255712195 -13.025791344756 1.00000000000006 10.3206949952081 29.4248000591357 -11.4286182356327 0.999999999999757 11.119342887967 29.5601980803562 -9.82592617287019 1.00000000000052 11.8903244859956 29.6468726002313 -8.21834914524248 0.999999999999241 12.6331864375105 29.683438867721 -6.6048076040837 1.00000000000079 13.3471996933713 29.6695727465868 -4.98583490389181 0.99999999999939 14.0327243755988 29.6059179856077 -3.36148364635986 1.00000000000034 14.6917489473113 29.4910778665253 -1.72584356196033 0.999999999999873 15.323593072916 29.3219069936798 -0.0734603787645529 1.00000000000002 16.4961843415992 28.8978769659897 3.18208844046781 0.999999999999996 17.0386610756969 28.642742956899 4.79586848731193 0.999999999999981 17.4922531662139 28.3635341597203 6.26026497649515 1.00000000000005 17.9104181007007 28.068505162871 7.67103825621763 0.999999999999911 18.2766644703508 27.7509977883125 9.03109351161739 1.00000000000011 18.6037435760246 27.4283647688612 10.3296418666401 0.999999999999898 18.8952470541056 27.0886721564053 11.6126203158851 1.00000000000006 19.1478131242403 26.7450384465361 12.8585458962035 0.999999999999979 19.363868320118 26.3940160512025 14.0955460778447 0.999999999999996 19.6044869547269 25.9029550855729 15.8124536399318 1.00000000000001 19.665048914287 25.7660300153063 16.2897881857964 0.99999999999993 19.719154612535 25.6286883415268 16.76847606666 1.00000000000013 19.766424547615 25.4909904470961 17.2499042259217 0.999999999999852 19.8063552621672 25.3530166385831 17.7355965872852 1.0000000000001 19.8383090771535 25.2149313620177 18.2270270086424 0.999999999999962 19.8614415426446 25.0770008418549 18.725727548375 0.999999999999999 19.87456660547 24.9395641431319 19.2336920441112 1.00000000000001 19.8759594938451 24.802957656835 19.7540750039045 0.999999999999995 19.8545313243837 24.5771092086176 20.650558651762 1 19.8396900934442 24.4872508630966 21.0168073819845 0.999999999999987 19.81739047183 24.3981429661055 21.3925324055416 1.00000000000003 19.7873320238596 24.3099897110607 21.7778562942579 0.999999999999975 19.7475967433078 24.2226857475798 22.1773875534187 0.999999999999999 19.6959639633644 24.1369561141964 22.5936398324497 1.00000000000003 19.6308778895359 24.0538281095909 23.0265677793499 0.999999999999966 19.5498716127059 23.9728458097879 23.4826835909826 1.00000000000002 19.4452178936833 23.8928453835132 23.9820211639281 0.999999999999994 19.149978463307 23.7512817355584 25.0971546673125 1.00000000000001 18.9505115251334 23.6795815663057 25.7632747115462 0.99999999999998 18.693910839259 23.6298449218495 26.4723136362286 1.00000000000003 18.3772876555402 23.6150689086191 27.1850213274166 0.999999999999982 18.0036951512044 23.640745112269 27.8808440579504 0.999999999999987 17.5748132842707 23.7202565023728 28.5037901935776 1.00000000000004 17.1486650030697 23.8135572640195 29.0508886108859 0.999999999999957 16.7252187590288 23.9227626595258 29.5227715381184 1.00000000000003 16.3284476336798 24.0333397824437 29.9196619949442 0.999999999999977 15.6602977835078 24.2245721792698 30.5458187272203 1.00000000000004 15.3432615955105 24.3211240996419 30.8131523325478 0.999999999999753 15.0381469705996 24.4160461667714 31.0511233033992 1.00000000000062 14.7385355295452 24.5103084657151 31.2703239963954 0.999999999998958 14.4390819386659 24.605719069677 31.4747926074378 1.00000000000123 14.1393237687878 24.7023305383981 31.6645256331475 0.999999999998959 13.8412759023437 24.7988591869569 31.8401492478457 1.00000000000062 13.5453521183296 24.8946150429081 32.0037053802527 0.999999999999763 13.2490932504238 24.9905378049012 32.1560685731465 1.00000000000003 12.625177453034 25.1918385807315 32.4554076646939 1 12.2974626319101 25.2971871474716 32.6000055720101 0.999999999999895 11.9696141153582 25.4019066841403 32.7329934821169 1.00000000000028 11.641051043963 25.5059572445427 32.8552744882276 0.99999999999955 11.3111850064651 25.6093290408432 32.9675637790192 1.00000000000051 10.9795446794421 25.7119807582842 33.0704249560499 0.999999999999582 10.6458112994176 25.8138166069622 33.1643039148901 1.00000000000025 10.3097649671491 25.9147021106535 33.2495602901217 0.9999999999999 9.97114178434409 26.0145186326946 33.3264964640487 1.00000000000002 9.18103640183239 26.2428016516781 33.485765291395 0.999999999999983 8.72744505817293 26.3704401245461 33.562283380195 1.00000000000004 8.26766092685281 26.4960143931776 33.6254876955229 0.999999999999942 7.80084268974199 26.6193294957065 33.6757771817507 1.00000000000006 7.32610178093781 26.7401663248775 33.7133985377996 0.999999999999945 6.84242082219156 26.8582796723946 33.7384497235334 1.00000000000005 6.34866328821956 26.9733811654762 33.7508888724955 0.999999999999948 5.84367440181201 27.0851070956258 33.750548610964 1.00000000000004 5.32647325885676 27.1929711396089 33.7371557833774 0.999999999999981 4.06310860100029 27.4393108061672 33.6732667617854 1.00000000000005 3.30658883427415 27.5732236540929 33.6104558424767 0.999999999999775 2.51912373544931 27.6983879841406 33.5214833581295 1.00000000000053 1.69199080296042 27.8125501735801 33.4029682919137 0.999999999999166 0.820794563592928 27.9130700225086 33.2520630886624 1.00000000000094 -0.0959455106432903 27.9966323287416 33.0662604841995 0.999999999999231 -1.05939108153094 28.0582083896456 32.8422946888847 1.00000000000045 -2.06874054993303 28.0910202962453 32.5768984613908 0.999999999999831 -3.10991971762621 28.0892608849211 32.2721776080481 1.00000000000002 -5.27598332905243 28.0171369077105 31.5840336323938 1 -6.3881540656263 27.938734935473 31.1976530717919 0.999999999999923 -7.41860724065342 27.8243217757202 30.8100510046332 1.0000000000002 -8.36389529071005 27.6860420151629 30.4336702206186 0.999999999999695 -9.23421814573929 27.530924046509 30.0710155845354 1.00000000000031 -10.0376142231312 27.3637834195589 29.7230035330388 0.999999999999771 -10.7801093267717 27.1886666853714 29.3908157083771 1.00000000000012 -11.4697854740201 27.0082302856525 29.0737266683786 0.999999999999957 -12.1180421412574 26.823412086189 28.7681898435786 1.00000000000001 -14.2779570821689 26.1509443800721 27.7251277784389 0.99999999999998 -15.7301067141777 25.6018127561051 26.981200094886 1.00000000000008 -17.1569320040759 24.9700911560323 26.2148919642105 0.99999999999983 -18.558742353329 24.2485412108674 25.4238512527202 1.00000000000026 -19.9280188788296 23.4356667276823 24.6122442652615 0.999999999999693 -21.2611310191423 22.5299051496037 23.7836096120827 1.00000000000027 -22.5575969023603 21.5249803546259 22.9377782302166 0.999999999999819 -23.8158448070893 20.4108014960701 22.0730593080856 1.00000000000008 -25.0309730964695 19.1761073748869 21.1895603414664 0.999999999999978 -26.1965460523144 17.8008706210502 20.2841780294058 1 - -14.5199469042548 11 0 9 14.5291727688084 9 20.1145592563506 9 23.8343337090006 9 27.602053443644 9 31.1030887496992 9 34.9822374740764 9 40.0717100109291 9 47.1154888072361 9 55.0406318394774 9 73.9577058674298 11 -7 1 0 7 8 2 15.7382456318043 29.1697097253819 1.08158343478932 1 15.5473811724182 29.236582820461 0.597993650698559 1 15.3215715533536 29.3191278848495 0.157251577253382 0.999999999999979 15.0610108688217 29.4166120313301 -0.256178640189335 1.00000000000005 14.7542994354079 29.5327514222159 -0.655701427343029 0.999999999999948 14.4044713025777 29.6654021754589 -1.02591794139841 1.00000000000002 14.0122318668694 29.8136846937878 -1.35601003276845 1 13.5914697909388 29.971634621368 -1.63438475971928 1 - 0 8 1 8 -7 1 0 6 7 2 -12.4177348949022 26.727966779525 28.6225047204269 1 -13.1450246861539 26.5229379266479 28.2402412270614 1 -13.8542836147406 26.3601652558041 27.6821323947174 0.999999999999988 -14.501356180321 26.2634160783051 26.940036167059 1.00000000000002 -15.0442283814776 26.2525064638315 26.0386825572099 0.999999999999989 -15.4087448537457 26.3634632169697 25.0159557912213 1 -15.5894669657271 26.561128831722 24.0031616947999 1 - 0 7 1 7 -7 1 0 9 66 9 -11.8823248225437 22.6982022195038 38.8794247281705 0.999999999999999 -12.4005714281853 23.1705841269239 37.3648885063479 0.999999999999995 -12.8901344669964 23.6260908543645 35.8408811790616 1.00000000000003 -13.3504403965502 24.0650824445327 34.3080686419303 0.999999999999933 -13.7814147187702 24.4884056501419 32.7650488141524 1.00000000000009 -14.1814060083987 24.8958717586711 31.2128288750588 0.999999999999912 -14.5484148827158 25.2866034575211 29.6547116964423 1.00000000000006 -14.8820100039079 25.6605229290688 28.0916811600903 0.999999999999974 -15.1833132055649 26.0202533650951 26.5133760499233 1 -15.7299372880574 26.7414919514411 23.180635269629 1 -15.9835394304127 27.1175415985607 21.3513190617947 0.999999999999998 -16.1808954472941 27.4781509212737 19.4831860109413 0.999999999999995 -16.3246621209611 27.8244612087473 17.5732123164471 1.00000000000002 -16.3986503895737 28.1674665454845 15.5608887818151 0.999999999999973 -16.3834729189998 28.4924602764606 13.5095856247894 1.00000000000002 -16.2536704570876 28.8094854613653 11.3876462745002 0.999999999999987 -15.9724117159748 29.1210877311363 9.23318360064675 1 -15.2873894628724 29.5690170650102 6.18996370332236 1 -15.0550495274857 29.6997469715177 5.30787906532403 0.999999999999983 -14.7848274065406 29.8323078011379 4.42666258848621 1.00000000000005 -14.4727832595822 29.9674828797675 3.54881650764581 0.999999999999927 -14.1143299833669 30.106137881342 2.67734906717997 1.00000000000007 -13.7041397981913 30.2491272640661 1.81602692204921 0.999999999999952 -13.2364786222437 30.3970592956101 0.969747104808373 1.00000000000002 -12.7059682337413 30.5499196672689 0.145028558478618 0.999999999999994 -11.5573882142402 30.851174059832 -1.38285202620584 1.00000000000001 -10.9491481779338 30.999001148602 -2.0904437453331 0.999999999999954 -10.2810996807094 31.1492618670828 -2.76617714808856 1.00000000000012 -9.55049370542715 31.3003318289025 -3.40159138548195 0.999999999999828 -8.75840631192705 31.4494430959399 -3.98767144241198 1.00000000000016 -7.90791907065267 31.593139825647 -4.516117144049 0.999999999999905 -7.00105321971309 31.7278619827025 -4.97987308407376 1.00000000000003 -6.03864849797388 31.8500372703347 -5.37284329941961 1 -3.97308144682051 32.0645539338118 -6.01802470713927 0.999999999999987 -2.84595007836354 32.157648376916 -6.26859480751835 1.00000000000007 -1.67068573122797 32.2260826208395 -6.42289121903611 0.999999999999842 -0.469547335998143 32.2637335087735 -6.47336759339448 1.00000000000021 0.73270634852693 32.2667937719071 -6.42333463830434 0.999999999999793 1.91007723032338 32.2344653290408 -6.28545499264759 1.00000000000015 3.03852777615533 32.1696519333467 -6.0789831812278 0.999999999999929 4.09685607519343 32.0791341135008 -5.82687065986651 1.00000000000002 5.66457127710418 31.9060823041862 -5.382935537903 0.999999999999989 6.23504890526572 31.8328338713028 -5.20270870512489 1.00000000000005 6.77628712696413 31.7540797734468 -5.01616734732057 0.9999999999999 7.29101232750872 31.6707552170705 -4.82550868606132 1.00000000000013 7.78131809694359 31.5836509254014 -4.63237884760247 0.999999999999876 8.24903103697964 31.4934333350444 -4.43803780353239 1.00000000000009 8.69592916170818 31.4006489631987 -4.24344568484225 0.999999999999957 9.1238128920942 31.3057129454874 -4.04927046943386 1.00000000000001 10.2009016683628 31.0517144095418 -3.54182156328893 0.999999999999974 10.8218528645457 30.8895596814543 -3.22978766474651 1.0000000000001 11.4040404361202 30.7238321416826 -2.92151811630689 0.999999999999812 11.9534219402868 30.5549645094552 -2.6176035820932 1.00000000000025 12.4732388671004 30.3840472792032 -2.31858653465009 0.999999999999779 12.9675428125345 30.2111212630458 -2.02429369587894 1.00000000000014 13.4390928416198 30.0362498474307 -1.73494731516636 0.999999999999947 13.8844841524903 29.8622319336522 -1.45344619196193 1.00000000000001 15.6354212021353 29.1444844929295 -0.326922620310338 1.00000000000001 16.876742772439 28.5504004333831 0.535689684079355 0.999999999999937 18.0803534122075 27.8962188532265 1.41750951273445 1.00000000000015 19.2563569100345 27.1709217612613 2.32725824726266 0.99999999999979 20.3980769867664 26.3735664435642 3.25892474684009 1.0000000000002 21.5019658789448 25.503732810793 4.20551072751967 0.999999999999857 22.569869191125 24.556193201524 5.1653958939227 1.00000000000007 23.5999465628645 23.5244098216424 6.13605181010793 0.999999999999982 24.5901933784027 22.3992814631416 7.11548146677163 1 - -15.9069977001149 10 0 8 16.6441495052613 8 23.423925697616 8 29.683700112056 8 36.2098012622694 8 40.2954566514639 8 46.9269097518373 8 68.0195601066858 10 -7 1 0 9 106 14 -8.65830926940133 -29.0137139760695 -14.5841845190883 1 -9.6045372440902 -29.269801103632 -12.8191299496589 1.00000000000002 -10.5164844711755 -29.4663845730776 -11.0473710722976 0.999999999999935 -11.393882744455 -29.6022156709276 -9.26872368813754 1.00000000000012 -12.2368632672123 -29.6774007490965 -7.48424588370174 0.999999999999857 -13.0444805170905 -29.6891846880417 -5.69141584409701 1.00000000000012 -13.8156687171399 -29.6388242218533 -3.89339225210964 0.999999999999932 -14.553008818226 -29.5266948005722 -2.08605845761683 1.00000000000003 -15.2596493227073 -29.3450312705213 -0.250921704075362 0.999999999999994 -16.2892515863685 -28.9726995165654 2.60741384453013 1 -16.6502785469784 -28.8171495489824 3.65561745921947 1.00000000000001 -16.9796948237753 -28.6488117019512 4.65861792205519 0.999999999999974 -17.2836989336923 -28.4708590334431 5.62304808465028 1.00000000000003 -17.5656788628029 -28.2842220346548 6.55697538259156 0.999999999999977 -17.8269249751898 -28.0898759516452 7.46418637184601 1.00000000000001 -18.0694409194642 -27.8892606859919 8.34823731186768 0.999999999999997 -18.2941628742014 -27.6829336066076 9.21285010858123 1 -18.7756514049823 -27.193414296226 11.1790958782167 1 -19.0199440972048 -26.9066003988453 12.268762133962 0.999999999999979 -19.2360854879042 -26.6130256846711 13.3378367846333 1.00000000000004 -19.4253175519107 -26.3149729287543 14.3890881597721 0.99999999999996 -19.5860794818605 -26.0110937358291 15.4419168953099 1.00000000000003 -19.7177135240816 -25.7077937292789 16.4836671226777 0.999999999999993 -19.8156222475625 -25.3994844677445 17.5534944603192 0.999999999999996 -19.8738845030087 -25.0932561433824 18.6453275745056 1.00000000000001 -19.8682201740962 -24.6840505023216 20.2209484951922 0.999999999999992 -19.8590361088921 -24.5776609441707 20.6412601573023 1.00000000000006 -19.8406080702752 -24.4723974558054 21.0717615867245 0.99999999999987 -19.812344450535 -24.3679111670264 21.5153463957694 1.00000000000019 -19.77196868696 -24.2642711391896 21.9768882181971 0.999999999999812 -19.7161586769116 -24.1621341534931 22.461385901388 1.00000000000013 -19.6413615294088 -24.0624875833358 22.9732959274782 0.999999999999937 -19.5416884592559 -23.9668866910232 23.5201482528613 1.00000000000002 -19.3376558709524 -23.8397712805121 24.3939405160037 0.99999999999999 -19.2661843976015 -23.8020282227475 24.6757289714581 1.00000000000005 -19.1850379052337 -23.766342205716 24.970214710215 0.999999999999889 -19.0920247416219 -23.7333360367575 25.2798570351639 1.00000000000015 -18.9849232696623 -23.7040373457973 25.6058622705852 0.999999999999867 -18.8614236948451 -23.6801040934645 25.9474799429397 1.00000000000009 -18.7193116518755 -23.663738048752 26.3017731503116 0.999999999999963 -18.5580128450163 -23.6569944028954 26.6626364352453 1.00000000000001 -18.2375686445592 -23.6628431087069 27.311578973091 0.999999999999992 -18.0828492085186 -23.6723336354561 27.6013828547258 1.00000000000004 -17.9221280469318 -23.6884493347584 27.879970082962 0.999999999999912 -17.7550818073507 -23.711219933316 28.147664043277 1.00000000000012 -17.5871168441093 -23.7391097754704 28.3980311920802 0.999999999999878 -17.4208718962081 -23.7705612533992 28.6305802228734 1.00000000000008 -17.2543064651461 -23.80504843393 28.8512402027655 0.999999999999963 -17.0881115294471 -23.8423979362678 29.0590442193283 1.00000000000001 -16.7128244592627 -23.931874318219 29.5050760311971 0.999999999999995 -16.5043853762677 -23.9853192668459 29.7359337594688 1.00000000000001 -16.298334720289 -24.04098172767 29.9501519351092 0.999999999999996 -16.0945960395228 -24.0982398391583 30.1499243966779 0.999999999999988 -15.8929405961853 -24.1566901076965 30.3370728912188 1.00000000000002 -15.6932342144651 -24.215999302872 30.5130156121083 0.99999999999999 -15.4954663112973 -24.2758585801431 30.6788396205145 1 -15.2995611097527 -24.336039830917 30.8354771504127 1 -14.8467920154473 -24.4768438432605 31.1810247106645 0.999999999999986 -14.5909267323307 -24.5577189395195 31.3637599518972 1.00000000000006 -14.3366665607429 -24.6390028672698 31.5341041293898 0.999999999999887 -14.0839984749397 -24.7203550686285 31.6933223471474 1.00000000000014 -13.832887523259 -24.801522672932 31.8424033191726 0.999999999999877 -13.5829418609921 -24.8824471753944 31.982263902532 1.00000000000008 -13.3334603414438 -24.9632262308556 32.113787048896 0.999999999999962 -13.0838626651746 -25.043930562605 32.2376931746697 1.00000000000001 -12.5125236084984 -25.2280193187129 32.5047385182069 0.99999999999999 -12.1907596496127 -25.3312338146151 32.6430798223948 1.00000000000004 -11.8685683249988 -25.4338778843082 32.7703503555721 0.999999999999907 -11.5454327309656 -25.5358933047691 32.8873973217967 1.00000000000012 -11.2209292488862 -25.6372093601285 32.9948759938764 0.999999999999883 -10.8946958481561 -25.7377469821544 33.0932920714136 1.00000000000008 -10.5664003891781 -25.8374228907367 33.1830440389132 0.999999999999965 -10.2357089263205 -25.9361537343708 33.2644655238256 1.00000000000001 -9.39369069072029 -26.1828756982438 33.4498157160675 0.999999999999996 -8.87874858538618 -26.3295025613417 33.5430920675326 1.00000000000001 -8.3559581635337 -26.47349689308 33.6186631652332 0.999999999999991 -7.82409708463903 -26.6145545324178 33.6772017439987 1.00000000000001 -7.28178761800698 -26.7523423856324 33.7190876901474 0.999999999999993 -6.72736194448524 -26.8864852809099 33.7444235183511 1 -6.15899534091401 -27.016508376026 33.7530644524454 0.999999999999998 -5.57510724729995 -27.1417351191137 33.7446631102702 1 -4.15811363591011 -27.4236939764751 33.6834230347636 0.999999999999984 -3.31302475911818 -27.5748867338315 33.6155623150122 1.00000000000007 -2.42867819776429 -27.7153215192027 33.5147796198099 0.999999999999842 -1.4919607572934 -27.8412586544504 33.3755933109635 1.00000000000021 -0.498638989611736 -27.9491493635424 33.1945630253136 0.999999999999812 0.553035272277815 -28.0336803548062 32.9678760297089 1.00000000000012 1.66720613153773 -28.085307880544 32.6889211850152 0.999999999999953 2.83496633086566 -28.093259233957 32.3554076726389 1.00000000000001 5.27497580057237 -28.0223276064045 31.588488305047 0.999999999999993 6.53137166615208 -27.9325660559848 31.1505872629447 1.00000000000002 7.67475959690059 -27.7959556606325 30.7134354390342 0.999999999999966 8.70950454080456 -27.6329924337884 30.2945668914221 1.00000000000004 9.65463294108566 -27.4505384522288 29.8926373859318 0.999999999999974 10.5163571880446 -27.2562191189006 29.5113659622552 1.00000000000001 11.3067129366136 -27.0541997110402 29.1503533293949 0.999999999999994 12.0380620306462 -26.8483143170213 28.8068119224037 1 14.4499404979774 -26.0973969276786 27.6420758702515 0.999999999999995 16.0560640096236 -25.4756673413586 26.8129415989222 1.00000000000002 17.6386404183662 -24.7490244707643 25.953260845798 0.999999999999946 19.1873019235667 -23.9070855661966 25.0623616837011 1.00000000000009 20.6909687495774 -22.9510460160877 24.1489491316157 0.99999999999991 22.1488499148631 -21.8761158403096 23.2154071752127 1.00000000000006 23.5604596736956 -20.6675674869311 22.2579224963897 0.999999999999975 24.9190915069835 -19.3113311237141 21.2774420496544 1.00000000000001 26.2154678938991 -17.7785214754951 20.2694729405154 1 - -14.9840058386901 10 0 8 8.74923716318256 8 20.2780534914566 8 24.3478256010862 8 26.1716127801979 8 27.6798627908699 8 29.602076555593 8 32.1524392439394 8 35.4455094900736 8 40.4678818123227 8 47.3051027289389 8 55.0406334182331 8 73.3003937977283 10 -7 1 0 7 8 2 -15.738390118134 -29.1696582363437 1.08193794596004 1 -15.5475035306869 -29.236538402066 0.598228899462237 1 -15.3216779154652 -29.3190883572877 0.157420477510571 0.999999999999987 -15.0611164605705 -29.4165713436025 -0.25604548169392 1.00000000000004 -14.7543802472259 -29.5327211061218 -0.65562080612485 0.999999999999952 -14.4045078966512 -29.6653886725324 -1.02589813586185 1.00000000000002 -14.012199391151 -29.8136977125901 -1.35604276429416 1 -13.5913551878849 -29.9716784871712 -1.63445341942712 1 - 0 8 1 8 -7 1 0 6 7 2 12.4180913398767 -26.7278606569222 28.6223335854435 1 13.1452946101596 -26.5228741326079 28.2400319273675 1 13.8544770392962 -26.3601359462639 27.6819118391305 1 14.5014803416328 -26.2634156693514 26.9398257358693 0.999999999999999 15.0443017855601 -26.2525172854979 26.0385152025128 1 15.4087668617652 -26.3634825484954 25.0158487725276 1 15.5894681746511 -26.5611312659444 24.0031512120405 1 - 0 7 1 7 -7 1 0 9 66 9 11.8822774082108 -22.6981590012727 38.8795632927817 1 12.4005316158426 -23.1705470861917 37.3650124383886 1.00000000000004 12.8901018400095 -23.6260600118202 35.8409893562669 0.999999999999842 13.3504136118593 -24.0650557662913 34.3081648032984 1.00000000000032 13.7813953678152 -24.4883853158495 32.7651264246794 0.999999999999584 14.1813905648186 -24.8958570173425 31.2128896178267 1.00000000000038 14.5483944964181 -25.2865863667805 29.6547822675248 0.999999999999765 14.8819825671562 -25.660495469658 28.0917967049806 1.0000000000001 15.1832967831354 -26.0202266187761 26.5135022433644 0.999999999999983 15.7313511346844 -26.7433629088084 23.1719872901771 1.00000000000001 15.9858815998003 -27.1210540693839 21.3341514180263 1.00000000000001 16.1838498464392 -27.4834278659862 19.4559915105407 0.999999999999972 16.3274271115006 -27.831279243301 17.5355431801512 1.00000000000003 16.4004037059301 -28.1756477165785 15.5127511078974 0.999999999999983 16.3830206465466 -28.5019986472497 13.4494825096088 0.999999999999996 16.249202027552 -28.8202053025812 11.3157504414381 1.00000000000001 15.9614008848108 -29.1331787706457 9.14955690327584 0.999999999999987 15.2629976492079 -29.5828343420172 6.09673407023453 1.00000000000002 15.027467555074 -29.7135469180653 5.21594987785985 0.999999999999912 14.7538293519415 -29.8461500744658 4.33623678676175 1.00000000000018 14.4381221620187 -29.9814300291108 3.46010899850274 0.999999999999773 14.0757358024227 -30.1202498179139 2.59060010114402 1.00000000000019 13.6613276568822 -30.2634499736553 1.73153139991203 0.999999999999892 13.1891733554043 -30.4116094197379 0.887883485492832 1.00000000000004 12.6539512619091 -30.564666578856 0.0662710398921931 0.999999999999991 11.4957585783308 -30.8662133820024 -1.45508363577317 1.00000000000001 10.8825532218683 -31.014154181131 -2.15929982355589 0.999999999999996 10.2094501683637 -31.164409219345 -2.83110778685702 0.99999999999997 9.47383731369064 -31.3152843537161 -3.46197657119793 1.00000000000009 8.67695035981192 -31.4639570484501 -4.04289949556097 0.999999999999877 7.82198630260702 -31.6069447750221 -4.5656498004017 1.0000000000001 6.91099690931242 -31.7406817383069 -5.02325284044056 0.999999999999945 5.94479406502635 -31.8615957299875 -5.40967104989356 1.00000000000002 3.87001627003235 -32.0731868130073 -6.04154756402159 0.999999999999978 2.73647424956862 -32.1645661331503 -6.28504511368055 1.00000000000008 1.55578153676068 -32.2307234587243 -6.43117535693825 0.999999999999864 0.35116772713399 -32.265563092967 -6.47285985614034 1.00000000000016 -0.852139447493917 -32.2654834156725 -6.41427080554491 0.999999999999869 -2.02805709579818 -32.2299928490837 -6.2689058183207 1.00000000000008 -3.15277660992582 -32.1623166079979 -6.05655349304458 0.999999999999969 -4.20564579334829 -32.0694674134724 -5.80027962148785 1 -5.76775563519668 -31.8930001395755 -5.3506633695492 1 -6.33827366163722 -31.8182076896269 -5.16780207222275 0.999999999999981 -6.8792682770392 -31.7379858695955 -4.97892631713097 1.00000000000005 -7.39362157091407 -31.6532584488522 -4.78617513104993 0.999999999999922 -7.88351022133344 -31.5648036774603 -4.59114005790634 1.00000000000009 -8.35080309416797 -31.4732774118513 -4.3950395300791 0.999999999999933 -8.79729963706462 -31.3792187849376 -4.19880781086608 1.00000000000003 -9.22480906818486 -31.2830384206505 -4.00309850818933 0.999999999999994 -10.2843631570177 -31.0298133118941 -3.49975418181807 1 -10.8904257726415 -30.8699625406349 -3.19340374026377 1.00000000000001 -11.4594774228126 -30.7067482281649 -2.89079181495055 0.999999999999984 -11.9971042758028 -30.5405625203194 -2.59244970862971 1.00000000000002 -12.506390027417 -30.3724262230103 -2.29884420064843 0.99999999999998 -12.9912408849024 -30.2023346637962 -2.00975132042824 1.00000000000001 -13.454236812608 -30.0303386173039 -1.72539382199078 0.999999999999997 -13.891859662952 -29.8592131322641 -1.44868910904815 1 -15.6351133975167 -29.1446018655671 -0.327104888821633 0.999999999999997 -16.8765557274108 -28.5505163135378 0.535516622893024 1.00000000000002 -18.0802898031611 -27.8962677313676 1.41743190429775 0.999999999999961 -19.2562903496809 -27.1709614806198 2.3272022094643 1.00000000000007 -20.3979800392564 -26.3736312972599 3.25884622947141 0.999999999999924 -21.5018634294938 -25.5038158474493 4.20541756370334 1.00000000000006 -22.5697513526136 -24.5562973272922 5.1652868737014 0.999999999999972 -23.59981866465 -23.5245381176605 6.13592708618302 1.00000000000001 -24.5900562090331 -22.3994374980311 7.11534108566141 1 - -15.9057469560638 10 0 8 16.7233880328304 8 23.4931185882247 8 29.7479332745432 8 36.2825263467174 8 40.4040511881432 8 46.9269097884096 8 68.0298498307305 10 -1 -6.75 -1.65321857766021e-015 -45 0 0 -1 -2 0 0 -87.3124779769431 0 0 -1 -1 -1.83690953073357e-016 0 -1.83690953073357e-016 1 0 6.75 -7 1 0 2 3 2 -29.1697097253819 15.7382456318044 1.08158343478944 1 -31.3381943447495 11.9925415914136 3.05747127765955 0.802532240725348 -35.97188250604 13.049673288782 3.27693350342051 1 - 0 3 1 3 -7 1 0 10 101 12 -36.92411668581 5.73465335530148 -12.1898934553887 1 -37.0424213846278 6.63347930884621 -10.6343709291388 1.00000000000002 -37.1140275602561 7.49596023576085 -9.06921282010592 0.999999999999909 -37.1381386075299 8.32341664013197 -7.49588048550912 1.00000000000021 -37.1134972161232 9.1176509913318 -5.91404659742136 0.999999999999692 -37.0387500377234 9.87937448718868 -4.32425958339435 1.00000000000032 -36.91328388951 10.60835508806 -2.72934243856591 0.999999999999756 -36.7367792576103 11.3050121050287 -1.13112642966715 1.00000000000013 -36.5074977775027 11.9720659863535 0.475390321684161 0.999999999999963 -36.2210912811968 12.6137353058182 2.10287992191605 0.999999999999999 -35.525669684758 13.8443681724907 5.40706653903843 1.00000000000002 -35.102298894978 14.4540957439782 7.14077504103338 0.99999999999991 -34.6610349067985 14.9488880232669 8.6751459445042 1.0000000000002 -34.2136088088331 15.3919662171863 10.118070227374 0.99999999999973 -33.7438919687184 15.7870145693035 11.5064210709415 1.00000000000027 -33.2597754316432 16.1334532866365 12.8242593804477 0.999999999999797 -32.7666640769566 16.4377985481774 14.0917469848717 1.00000000000012 -32.2635168699438 16.6993206246316 15.3104085246822 0.999999999999947 -31.7528857161794 16.9185160543973 16.4897466437827 1.00000000000002 -31.0388023324397 17.1580509239923 18.07797364248 0.999999999999976 -30.8397584987089 17.2177447680281 18.5142887227638 1.00000000000014 -30.6400981074096 17.2704091731044 18.9462432955787 0.999999999999669 -30.4400412173597 17.3157599154943 19.3743074068688 1.00000000000052 -30.2398156120768 17.3534328762499 19.7990396093341 0.999999999999426 -30.0396650850796 17.3829567923682 20.2210513262057 1.00000000000047 -29.839936878823 17.4037039605152 20.6409757537608 0.999999999999717 -29.6412482772749 17.4148188935279 21.0594413023079 1.00000000000012 -29.4447323521208 17.4151249295057 21.4770495759277 0.999999999999963 -29.1242479838756 17.3949396487484 22.1722782838355 1.00000000000004 -28.9981184049769 17.3812294347451 22.4501166999049 0.999999999999826 -28.8736960934715 17.3621310681751 22.7279972472775 1.00000000000042 -28.7528743873233 17.3352986147681 23.0075697753086 0.999999999999309 -28.6354449675415 17.3017099743292 23.2881191957229 1.0000000000008 -28.5217765111778 17.2603923284344 23.5709306879404 0.999999999999328 -28.4153505245484 17.2078311978629 23.8573456698423 1.0000000000004 -28.3215867627882 17.1440566056766 24.1419212168085 0.999999999999836 -28.2429175480816 17.0735124889224 24.4180834134046 1.00000000000003 -28.1033833716349 16.8750731300155 25.045218217098 0.999999999999978 -28.0579316648479 16.7543465525698 25.3694048437913 1.00000000000006 -28.041640108571 16.6145674721733 25.6870500535776 0.999999999999902 -28.0704478955358 16.4556595409262 25.976693815774 1.00000000000012 -28.1242032126815 16.3090288414551 26.2083860478582 0.999999999999893 -28.1579164741314 16.1456576747713 26.4604183049912 1.00000000000007 -28.2510973476539 15.9616714007264 26.688888760976 0.99999999999997 -28.348075549181 15.7767474715179 26.8977119793055 1.00000000000001 -28.4526863640029 15.5995190412563 27.0796662842066 1 -28.6779899159956 15.2542560766286 27.4029971826305 0.999999999999997 -28.7813443940741 15.1011543568017 27.5331178965301 1.00000000000002 -28.8962775232582 14.9384499628475 27.6636529877547 0.999999999999956 -29.0213194999033 14.7675500273443 27.7900617585296 1.00000000000008 -29.1516786042272 14.5919314723155 27.909618743595 0.999999999999905 -29.2851232860536 14.4120574858429 28.0238526398335 1.00000000000009 -29.4218745510909 14.2270507929937 28.1335836600765 0.999999999999941 -29.5618991150798 14.0366983546121 28.2379989600863 1.00000000000003 -29.7033653068728 13.8412325213105 28.3381022664412 0.999999999999996 -30.0048724191776 13.4174644402786 28.5397705505811 0.999999999999997 -30.165176200295 13.1879113108089 28.6404074347553 1.00000000000003 -30.3265901446106 12.951288907011 28.7358703066438 0.999999999999919 -30.4884251305198 12.7074749525781 28.826241069733 1.00000000000011 -30.6500875844305 12.4563681858769 28.9115443440397 0.999999999999897 -30.8111122425144 12.1978204519401 28.9917800234821 1.00000000000007 -30.9711594184875 11.9316133634766 29.0669382355547 0.99999999999997 -31.1299767774614 11.6574795311039 29.1369967033417 1 -31.2873256158224 11.3751683626069 29.2019005098115 1.00000000000001 -31.6469492196088 10.7032713742712 29.3397510826094 0.999999999999981 -31.8479721276272 10.3076665597457 29.4089151914039 1.00000000000009 -32.0453716057154 9.8971923981922 29.4687919679331 0.99999999999982 -32.2386685750973 9.47137691162904 29.5191342845917 1.00000000000023 -32.4274498755373 9.02964414330971 29.5596472566241 0.999999999999793 -32.6113338733368 8.57122875587555 29.5899707114313 1.00000000000014 -32.7899254456397 8.09518681812607 29.6096693797102 0.999999999999923 -32.962760340902 7.60050278033441 29.6182308083351 1.00000000000003 -33.129238915673 7.08629263816185 29.6150709950795 0.999999999999993 -33.5090331444145 5.81279059393787 29.5780637232541 1.00000000000001 -33.7150996549532 5.03689243976256 29.5329267298223 0.999999999999967 -33.9073331282641 4.21600166702223 29.4626263098891 1.00000000000006 -34.0835864759486 3.3423560492391 29.3640018605301 0.999999999999921 -34.240628736082 2.41033634602568 29.2335308367509 1.00000000000008 -34.3738571733474 1.41647479928687 29.0674204116269 0.999999999999937 -34.4766203685069 0.359981706151459 28.8617198955851 1.00000000000004 -34.540698750344 -0.754202294025407 28.6136712192734 0.999999999999968 -34.559489023234 -1.90782058107633 28.3255147850365 1.00000000000002 -34.5083795585353 -4.34609171845988 27.6591881473113 0.999999999999956 -34.4266127430634 -5.59523321814838 27.2834659799014 1.00000000000022 -34.2977768152433 -6.76507863553337 26.9011552451361 0.999999999999513 -34.1373475349422 -7.84330084896105 26.5264484404412 1.00000000000071 -33.9525097550419 -8.84138430743263 26.161622120708 0.999999999999264 -33.7529713649408 -9.76282703422307 25.8108676198679 1.00000000000056 -33.5435710943539 -10.6171730605026 25.4743892515194 0.999999999999685 -33.3213604032092 -11.4250315867306 25.1458753551734 1.00000000000012 -33.0957423185859 -12.1740322201872 24.8327761841066 0.99999999999998 -32.4273789723448 -14.2025470163027 23.9646603381991 1.00000000000002 -31.9363452511473 -15.4630704976061 23.3960754864394 0.999999999999969 -31.3914887795675 -16.6861910697493 22.8213924825811 1.00000000000005 -30.781464937815 -17.8923659813922 22.2316857231687 0.999999999999942 -30.102730131984 -19.0813253134243 21.6274475536217 1.00000000000006 -29.3548397129446 -20.2479644302101 21.0122504939331 0.999999999999939 -28.5349497014198 -21.3901419882102 20.388077743926 1.00000000000005 -27.6372916155859 -22.5076266538155 19.7554414204548 0.999999999999975 -26.6557442092951 -23.5975722831954 19.1160873837827 1.00000000000001 -25.5799804406246 -24.6580379211102 18.4707649156211 1 - -14.5199469043064 11 0 9 14.5291727688715 9 20.1145592564379 9 23.8343337090937 9 27.6020534437338 9 31.1030887497826 9 34.982237474143 9 40.071710010972 9 47.1154888072535 9 55.0406318394778 9 71.0274591887468 11 -7 1 0 2 3 2 -26.7279667795255 -12.4177348949006 28.6225047204278 1 -28.6255557356316 -11.2893087727186 24.6714194519968 0.816461604603001 -32.9913821094215 -12.4826328512183 24.6997368589421 1 - 0 3 1 3 -7 1 0 7 8 2 -35.97188250604 13.049673288782 3.27693350342051 1 -36.0710388778126 13.0684335125163 3.27243662992259 1 -36.1910201808892 13.0911265353689 3.26700321330725 1.00000000000001 -36.3350501230786 13.1183501285247 3.26050028744055 0.999999999999975 -36.4226995068698 13.1348974281278 3.25656417777386 1.00000000000002 -36.5037939503909 13.150213582642 3.25291551860048 0.999999999999991 -36.5673601178463 13.1622126727278 3.25006257966124 1 -36.6209520409894 13.1723276501399 3.24765872082811 1 - 0 8 1 8 -7 1 0 2 3 2 -29.9716379535258 13.5914611286584 -1.63438980925443 1 -31.4886409594059 11.4798335174026 3.10535025108523 0.763935282431164 -36.6209520409894 13.1723276501399 3.24765872082811 1 - 0 3 1 3 -7 1 0 6 7 2 -32.9913821094215 -12.4826328512183 24.6997368589421 1 -33.0094266714301 -12.4860848084462 24.7004271028005 1 -33.0312200978205 -12.4902535667643 24.7012603349794 1.00000000000001 -33.0521723476154 -12.49426134518 24.7020613210741 0.999999999999989 -33.0929104194585 -12.5020529178159 24.703617711394 1.00000000000001 -33.1346317085722 -12.5100298880301 24.7052086501772 1 -33.167299934271 -12.5162753196784 24.7064536648613 1 - 0 7 1 7 -7 1 0 2 3 2 -26.5611291175064 -15.5894671074197 24.0031604645617 1 -28.8762759331295 -11.7856824938064 23.7277362294703 0.820347387836606 -33.167299934271 -12.5162753196784 24.7064536648613 1 - 0 3 1 3 -7 1 0 9 66 9 -30.2107130719026 -8.817383125704 39.7620581818298 1 -30.5798691529105 -9.35150479827628 38.2299673097081 1.00000000000003 -30.934194051397 -9.8519346648146 36.6877781107424 0.999999999999905 -31.2741457316402 -10.3187883613445 35.1363435878402 1.00000000000018 -31.6002898507253 -10.7524943939112 33.5742418642309 0.99999999999976 -31.9122573036097 -11.1518520036118 32.0026583620263 1.00000000000022 -32.2096625175234 -11.5151335577244 30.424962500271 0.999999999999866 -32.4934157753062 -11.8418386303007 28.8418692122577 1.00000000000005 -32.7658628472826 -12.1327069357154 27.2430755816126 0.999999999999991 -33.3028199851319 -12.6503573281349 23.872155114545 1 -33.5727752659275 -12.8821251347199 22.0352711165422 1.00000000000002 -33.8234606612933 -13.0543215281661 20.1719648750824 0.99999999999996 -34.0643364019192 -13.1681903915318 18.2754672238823 1.00000000000005 -34.2860424262545 -13.2070852114897 16.3062557631287 0.999999999999966 -34.4963283393615 -13.1539221701263 14.3271674993404 1.00000000000002 -34.6925729311987 -12.9844586177381 12.328997740399 0.999999999999993 -34.8930484699634 -12.6711065630718 10.385916078687 1.00000000000001 -35.2107672396315 -12.0100251708623 7.80981718899919 0.999999999999992 -35.3068929209815 -11.7928718410714 7.08336327908898 1.00000000000006 -35.4086433093378 -11.5488431130002 6.37940639716946 0.999999999999842 -35.5176592867547 -11.2774198065603 5.70255969199523 1.00000000000024 -35.6354991811248 -10.9786270558772 5.05684431119465 0.999999999999755 -35.7634516394504 -10.6527662306718 4.44476227367051 1.00000000000017 -35.9024737839193 -10.2997797960638 3.86692908652907 0.999999999999927 -36.0532546507323 -9.91824911070598 3.32226610655393 1.00000000000001 -36.3670520414412 -9.12154066681802 2.33458658558875 1 -36.5282684194843 -8.71117963303544 1.88700067657698 0.999999999999969 -36.7003143809301 -8.2702109009029 1.46508013094956 1.00000000000006 -36.8836718102064 -7.79367005371383 1.06661404966624 0.999999999999919 -37.0782069856583 -7.27514489326142 0.691149443362352 1.00000000000007 -37.2822449375472 -6.70778548578632 0.340730915901307 0.999999999999958 -37.4918912992578 -6.08488060205978 0.0194666780287776 1.00000000000002 -37.7009386314539 -5.39934237383418 -0.266938441787055 0.999999999999998 -38.1110411035405 -3.85110520453703 -0.764571234019098 0.999999999999999 -38.3130403697858 -2.97826007262569 -0.973157454751846 1.00000000000001 -38.495846295247 -2.02282937224922 -1.12306862875871 0.999999999999996 -38.6428792037189 -0.996804667794994 -1.1971474839993 1 -38.7421725737541 0.0759470211843238 -1.1867648392017 0.999999999999995 -38.7894876303256 1.16501888755145 -1.09513764964936 1.00000000000001 -38.7876450637618 2.23957768228795 -0.935218236830806 0.999999999999987 -38.7445235400756 3.27088907913498 -0.725860846389786 1.00000000000001 -38.6268411433435 4.82591549284006 -0.34216444212198 0.99999999999998 -38.5698842448018 5.39885982473144 -0.183128779420453 1.00000000000011 -38.5031508993869 5.94821393098272 -0.0155892571739678 0.999999999999777 -38.4282216170764 6.47538457660894 0.158206194203132 1.00000000000029 -38.3464330292167 6.98137521779474 0.336435722617278 0.99999999999974 -38.2588968704508 7.46722388236503 0.517659804270725 1.00000000000016 -38.166515402977 7.93419746819062 0.700784300677171 0.999999999999942 -38.0699932831587 8.38374245953284 0.885030322654485 1 -37.8077730808562 9.51866186698131 1.36911095387182 1.00000000000001 -37.6361770322706 10.1780631682308 1.66999307023042 0.999999999999916 -37.4576391542392 10.8004918159254 1.96991187648765 1.00000000000018 -37.2728885284185 11.3917403577784 2.2685496893431 0.999999999999751 -37.083976543717 11.9540885712098 2.56407204866839 1.00000000000024 -36.8905343663904 12.4931201272458 2.85764616709379 0.999999999999841 -36.6919318380045 13.0122856241406 3.15015160356119 1.00000000000007 -36.4946621039288 13.4988474323399 3.43263310644882 0.999999999999991 -35.7247612736568 15.3114272651669 4.50924198466764 0.999999999999995 -35.0994793900912 16.5718568228227 5.32337662123553 1.00000000000004 -34.4203485432648 17.7866566880868 6.15438383951571 0.999999999999914 -33.6684753202691 18.9763114135 7.01592105790962 1.00000000000011 -32.8414285973554 20.1340174562285 7.89971584119428 0.999999999999903 -31.9395678939879 21.2544320750083 8.79632076329545 1.00000000000007 -30.9570491547887 22.3398641484586 9.7037234619581 0.999999999999966 -29.8866806383491 23.3884963079056 10.6171098613527 1.00000000000001 -28.7178572657122 24.399285774228 11.532649738401 1 - -15.9068651330268 10 0 8 16.6534726290762 8 23.432073658459 8 29.6912718971229 8 36.2183326056513 8 40.308163539699 8 46.9269097527621 8 68.0206627092101 10 -7 1 0 2 3 2 27.9584970826234 -7.105427357601e-015 33.0534527532866 1 29.565679108738 -1.09318993101345 28.6810094402171 0.800899271420502 34.3183393335298 -1.50809335066633 29.0503801975633 1 - 0 3 54.6412405750099 3 -7 1 0 7 32 6 34.3183393335298 -1.50809335066634 29.0503801975633 1 34.3388949831951 -1.33393117206797 29.0194173392073 1 34.3584735368795 -1.15846696435148 28.9873767849528 0.999999999999997 34.377056760923 -0.981668865623201 28.9542448604811 1.00000000000001 34.3946242592132 -0.803489670830835 28.9200031210876 0.999999999999994 34.4111534731835 -0.623866831765159 28.8846283516817 1 34.4266196818156 -0.442722457057949 28.8480925667867 1 34.5142130895766 0.67080983059766 28.6182103405987 0.999999999999998 34.5614627491462 1.66179245513905 28.3913908281662 1.00000000000001 34.5725192828573 2.68312650410878 28.1323237934673 0.999999999999977 34.5442976593232 3.68161718464624 27.853846069405 1.00000000000002 34.4847723418129 4.6289013873271 27.5705692862456 0.999999999999987 34.4044579269031 5.50260790225137 27.2947941332122 1 34.2402117586531 6.89573567854373 26.8354029985297 0.999999999999995 34.1631155822523 7.44707098827202 26.647013446987 1.00000000000002 34.080631667327 7.96428387440554 26.4650154726633 0.999999999999969 33.9927163634721 8.46130255364886 26.2857130327858 1.00000000000003 33.9010353388267 8.93275464651625 26.1115597441409 0.999999999999987 33.8063877231891 9.3829252107313 25.941885350689 1 33.5960283119185 10.3155291014162 25.5837081774438 0.999999999999997 33.4794835644376 10.7912366229738 25.396684133264 1.00000000000001 33.3597237673833 11.246185643716 25.2141410818441 0.999999999999987 33.2385163054407 11.6793078112397 25.0370809861052 1.00000000000001 33.1149059256925 12.0975069983623 24.8635408896344 0.999999999999998 32.9849849706861 12.5147101855206 24.6872232601202 1 32.1358184101933 15.0820946769879 23.5875745000302 1 31.2537874955843 17.1047787158191 22.6398864079799 0.999999999999996 30.1792723375278 19.1320924933848 21.6323267773968 1.00000000000001 28.9010476371945 21.0697339910875 20.595201646045 0.999999999999988 27.4134942069469 22.9404493321714 19.5362328942275 1.00000000000001 25.6783106250537 24.7315320100371 18.4569322044435 0.999999999999997 23.6186062503622 26.4237288375759 17.3647188708211 1 - 41.279068928176 8 42.2537795453814 6 47.2178784149788 6 50.8373147733209 6 55.0406334520179 6 81.3875973179503 8 -7 1 0 2 3 2 26.7327274516823 12.4017240083575 28.6301933791151 1 28.6296542304979 11.2741878879875 24.6777396952525 0.816419785868035 32.9920422876737 12.4827591443537 24.6997621120251 1 - 0 3 1 3 -7 1 0 6 7 2 32.9920422876737 12.4827591443537 24.6997621120251 1 33.0099272432958 12.4861805602529 24.7004462410943 1 33.0316319099052 12.4903323274242 24.7012760652282 1 33.0523291401247 12.494291343383 24.7020673227169 0.999999999999998 33.0934298261008 12.5021522400021 24.7036375328953 1 33.1349269971371 12.5100863414438 24.7052199048674 1 33.1673378200969 12.5162825625976 24.7064551087228 1 - 0 7 1 7 -7 1 0 2 3 2 26.5611162809628 15.589460697284 24.0032158124661 1 28.8763885973514 11.7857571778701 23.727215674965 0.820345488996517 33.1673378200969 12.5162825625976 24.7064551087228 1 - 0 3 1 3 -7 1 0 11 42 5 30.1386482953077 8.71290873445126 40.0599395720748 1 30.4493643630303 9.16424300397706 38.7807577637898 1.00000000000007 30.7499392064919 9.59257251474401 37.4947126034846 0.999999999999712 31.0404636959292 9.99781249127049 36.2019922209738 1.00000000000071 31.3213981028136 10.3803285857365 34.902713905627 0.999999999998771 31.5929349144242 10.7400674281784 33.5965173256555 1.00000000000152 31.8549153900759 11.0764031716351 32.2833683017772 0.999999999998614 32.107090470795 11.3884251273654 30.9643835510939 1.00000000000093 32.3495166541816 11.6753915852054 29.6414868154335 0.999999999999553 32.5828774462143 11.9370749141283 28.3147067905559 1.00000000000013 32.8085210017813 12.1737230381378 26.9759272702282 0.999999999999994 33.2829148629921 12.6311623287612 23.9974458599781 0.999999999999964 33.5346514474694 12.8501000283116 22.2962864059813 1.00000000000024 33.7711125429611 13.0202435375603 20.5632535730882 0.999999999999413 33.9996824064839 13.1433285394241 18.8157213926656 1.00000000000093 34.2136800562718 13.20523191905 16.9547618444992 0.99999999999896 34.4127906823458 13.1951987243399 15.1687786380281 1.00000000000087 34.6048757136648 13.1017608469478 13.2588385349303 0.99999999999946 34.7827857167149 12.8961280600081 11.4281138908173 1.00000000000024 34.9650436656308 12.570220159241 9.6652879613052 0.999999999999938 35.1633579228644 12.1315735214545 8.05269388868449 0.999999999999993 35.4946746574282 11.3322708513552 5.89053522202161 1.00000000000003 35.6109882579445 11.0415789323524 5.2115079775827 0.999999999999809 35.7337822188727 10.7294146831432 4.57994568217662 1.00000000000047 35.8632971564282 10.3990654707227 3.9972680100671 0.999999999999243 35.9994520050075 10.0530996282785 3.46177870388803 1.00000000000085 36.1420530565992 9.69256662798412 2.96933775210086 0.999999999999294 36.2908798898268 9.31700218617962 2.51479157515763 1.00000000000043 36.4456579404912 8.92490182477811 2.09353590161738 0.999999999999796 36.6059274654046 8.51432641293997 1.70258601526204 1.00000000000008 36.7708186513846 8.08330321282271 1.34052905453006 0.999999999999969 37.1218416924254 7.13507580954189 0.640681895043532 1.00000000000006 37.3085504620576 6.613635513373 0.308230713181118 0.999999999999682 37.4971129790778 6.06240310689186 0.00669044089864457 1.00000000000085 37.6847379415126 5.47878419423046 -0.263693655269293 0.999999999998481 37.8675989535082 4.8612959153073 -0.501239723829162 1.00000000000199 38.0411970880723 4.20990477473724 -0.703428735635008 0.999999999998049 38.2009246134883 3.52609723639834 -0.867542678453638 1.00000000000145 38.342668742611 2.81282199401102 -0.99127865824935 0.999999999999194 38.4632942627166 2.074442828235 -1.07327602766795 1.00000000000032 38.5608439051888 1.31684096050728 -1.11349366117183 0.999999999999926 38.6342953129211 0.547805814190778 -1.11337449715784 1 - -11.8009947650387 12 0 10 13.7057874909477 10 20.586505000513 10 28.0890252572899 12 -7 1 0 2 3 2 32.2311050305504 -1.77635683940025e-015 -6.36067282244893 1 33.1885424979408 0.440454108513746 -1.01590318841068 0.761488039111754 38.6342953129211 0.547805814190778 -1.11337449715784 1 - 0 3 39.8900200223286 3 -7 1 0 2 3 2 29.1701197894859 -15.7370944029424 1.07875770887412 1 31.3385453542399 -11.9913107361495 3.05437139602574 0.802536928254876 35.9717307255571 -13.0496445721541 3.27694038687638 1 - 0 3 1 3 -7 1 0 11 92 10 36.9114525414578 -5.64001699208661 -12.3533117324822 1 37.0241844446301 -6.46888769678208 -10.9251696120581 0.999999999999965 37.0979549240807 -7.26727600194751 -9.48891232756499 1.00000000000013 37.1322220830441 -8.0362080815438 -8.04565046938946 0.999999999999735 37.1260164212728 -8.77696655651313 -6.59535006185217 1.00000000000035 37.0783708424778 -9.49037228068195 -5.13813771089147 0.999999999999664 36.9886440893068 -10.1765228052435 -3.67548828318235 1.00000000000027 36.8564742433403 -10.8352970922542 -2.20952527265995 0.999999999999817 36.6812898575308 -11.4674177709107 -0.740315728725404 1.0000000000001 36.4614972186351 -12.0753439541073 0.737306661031084 0.99999999999997 36.1936531671758 -12.6627493560197 2.23420502246741 0.999999999999995 35.6301428296739 -13.6583502905996 4.90804498717432 1.00000000000002 35.3563050192831 -14.0769895645532 6.07818760620055 0.999999999999848 35.0614634702233 -14.46646555586 7.21809030657999 1.00000000000043 34.7525892241157 -14.8240006193448 8.31420911820116 0.99999999999922 34.4334943767166 -15.1519882594391 9.36747368120141 1.00000000000101 34.1058850139694 -15.4532000168583 10.3825186711028 0.999999999999033 33.7704190903564 -15.7297386611018 11.3640767874149 1.00000000000069 33.4275286352542 -15.9831778023848 12.3162395305049 0.999999999999634 33.0778499710525 -16.2145543787763 13.2422402996439 1.00000000000014 32.7221899247492 -16.4241068151002 14.1443626531936 0.999999999999967 32.1445279169413 -16.7244484785451 15.5537894511882 1.00000000000002 31.9260558533451 -16.829178371516 16.0745131927009 0.999999999999905 31.7057603478041 -16.9260514175311 16.5881839745127 1.00000000000021 31.4838218423052 -17.0149634342442 17.0952911003696 0.999999999999686 31.2604279304429 -17.0957421714292 17.5963320236782 1.00000000000033 31.0357615252883 -17.1681486757594 18.0918240910594 0.999999999999758 30.8100142598664 -17.2318601595114 18.5823213132326 1.00000000000011 30.5834251201708 -17.2864343731788 19.0684361634026 0.99999999999998 30.3563443107979 -17.3312554819921 19.5508664029609 0.999999999999987 30.1293223531226 -17.3654614463662 20.0304269346681 1.00000000000001 29.8209645538545 -17.3959994573762 20.6818707770141 0.999999999999986 29.738841010563 -17.402573681436 20.8554090080414 1.00000000000012 29.6568790299587 -17.4075260485978 21.0287480490707 0.999999999999612 29.5751213741171 -17.4107948248451 21.2019375028056 1.0000000000008 29.4936283234353 -17.4123060719655 21.3750299019111 0.999999999998861 29.4124776766287 -17.4119736475646 21.5480807089289 1.00000000000118 29.331764750733 -17.4096992050438 21.7211483163963 0.999999999999103 29.2516023811047 -17.4053721936279 21.8942940467126 1.0000000000005 29.1721209214183 -17.3988698583384 22.0675821522602 0.999999999999815 29.0934682436699 -17.3900572400135 22.2410798153161 1.00000000000003 28.8899240677568 -17.3605182214524 22.6965529636709 0.999999999999977 28.7667584233696 -17.3356686058019 22.979111193358 1.00000000000005 28.646609886766 -17.304473925636 23.2616818086719 0.99999999999987 28.5326838331592 -17.2618951638899 23.5501616015691 1.00000000000027 28.4219053175201 -17.2192217835559 23.8271587943492 0.999999999999567 28.3205780955206 -17.1493562912385 24.1359586655939 1.00000000000054 28.2331087363469 -17.0899522015291 24.4019910382483 0.999999999999497 28.1539942361922 -16.9952524467699 24.7161422424175 1.00000000000035 28.1035034998203 -16.8987559375924 24.9979137866439 0.999999999999819 28.0777252635602 -16.7781376859514 25.2892030199307 1.00000000000007 28.0752343620638 -16.5431318699378 25.7841400374568 0.999999999999908 28.0909191285674 -16.4275119848953 25.9999949541977 1.00000000000047 28.1221519329148 -16.3114282574663 26.1911585298856 0.999999999998808 28.1589505088766 -16.1967862107288 26.3644259494268 1.00000000000202 28.2025758928947 -16.0799427760796 26.5272779286794 0.999999999997506 28.2556746874953 -15.9596423954074 26.6813679297487 1.00000000000231 28.3170900029377 -15.8376870279974 26.8256170295134 0.999999999998376 28.3853576902417 -15.7144282695032 26.9612520177591 1.00000000000085 28.4613541757578 -15.5876873395132 27.0914131952055 0.9999999999997 28.5439024655438 -15.4579239041818 27.2157172929626 1.00000000000005 28.7335344990204 -15.1716979345819 27.4722231354293 0.999999999999978 28.845053618436 -15.0118006374252 27.6048473765594 1.00000000000001 28.9631256004997 -14.8477730866537 27.7307555664321 1.00000000000004 29.086214848544 -14.68001222566 27.8502571420079 0.999999999999861 29.2136088408422 -14.508070854253 27.9643149694709 1.00000000000026 29.3446867347098 -14.3315577151613 28.0735790073101 0.999999999999672 29.4786982667355 -14.1503781694471 28.1782360674058 1.00000000000031 29.6148478485536 -13.9645922853228 28.2782969960135 0.999999999999785 29.7524787576855 -13.7741671643657 28.3739425937832 1.00000000000011 29.8911523228711 -13.5789003295913 28.465549596697 0.999999999999963 30.3064780918914 -12.9821189985071 28.7264046628553 1.0000000000001 30.5849599845652 -12.5662798849803 28.8837780952273 0.999999999999564 30.8627289736051 -12.1303381268912 29.0259365432933 1.00000000000104 31.1370674260023 -11.6741915298464 29.1529883119 0.99999999999828 31.4059678715513 -11.1978206722902 29.2648002687936 1.00000000000211 31.6680935112146 -10.7010189391483 29.3611981070674 0.999999999998035 31.9225421061724 -10.1834302987965 29.4420003115275 1.00000000000138 32.168550207702 -9.6447219681688 29.5069677379943 0.999999999999288 32.4052746881733 -9.08471911105196 29.5557507135518 1.00000000000023 32.631788533371 -8.5033287142506 29.5879155667707 0.999999999999986 33.026957565185 -7.39784715678692 29.6158012934373 0.999999999999953 33.198937730412 -6.88046912843445 29.6167129252404 1.00000000000035 33.3629036766481 -6.34772676534781 29.6056241722631 0.999999999999066 33.5184416962604 -5.79929559897955 29.5822964031109 1.00000000000162 33.6650472842877 -5.23483604776969 29.5464321605782 0.999999999997952 33.8020927989474 -4.65413179924725 29.4976942528995 1.00000000000195 33.92886243414 -4.05719308543975 29.4357598711168 0.999999999998583 34.0446123902257 -3.44424178163224 29.3603622545521 1.00000000000077 34.1486141295445 -2.81549525881136 29.2712724253143 0.999999999999703 34.2401386029081 -2.17066592000102 29.1681735139999 1.00000000000007 34.3183393335298 -1.50809335066633 29.0503801975633 1 - -13.3621716468339 12 0 10 10.0562883294211 10 16.0851223894755 10 18.2785570824938 10 21.8341495457517 10 24.9220782484525 10 28.4529128143161 10 35.4520028197241 10 41.279068928176 12 -7 1 0 7 8 2 35.9717307255571 -13.0496445721541 3.27694038687638 1 36.0714016220582 -13.0685021537962 3.27242016736817 1 36.1917473951624 -13.0912640482885 3.26697031485404 1.00000000000001 36.3349491724712 -13.118330864052 3.26050504456877 0.99999999999997 36.4224415666308 -13.1348487788168 3.25657570978438 1.00000000000003 36.5035747036036 -13.1501721735964 3.2529253835526 0.999999999999989 36.5672026017676 -13.1621829422485 3.25006964587043 1 36.6209313637121 -13.1723237474958 3.24765964830489 1 - 0 8 1 8 -7 1 0 2 3 2 29.9713242594093 -13.5922762932856 -1.63391552632768 1 31.4881582021237 -11.4811758923897 3.10611057321817 0.763935432590108 36.6209313637121 -13.1723237474958 3.24765964830489 1 - 0 3 1 3 -7 1 0 8 30 5 38.6342953129211 0.547805814190776 -1.11337449715784 1 38.6403728427529 0.484174167259035 -1.11336463726714 1 38.6462789799819 0.420460755121626 -1.11306773157006 0.999999999999991 38.6520133377644 0.356670753051818 -1.11248500094361 1.00000000000001 38.6575755292579 0.29280933632171 -1.11161766626534 0.999999999999993 38.6629651676182 0.228881680205363 -1.11046694841192 1 38.6681818660032 0.164892959974498 -1.10903406826106 0.999999999999999 38.6732252375688 0.100848350902851 -1.10732024668959 1 38.7537442767522 -0.958957881391308 -1.07435733659682 0.999999999999984 38.7858499720386 -1.95460830805689 -0.976237891699865 1.00000000000005 38.7748446992442 -2.91148363960598 -0.820405186701336 0.999999999999898 38.7299057335321 -3.8172321946776 -0.625948571373728 1.00000000000013 38.6592673528968 -4.66915190017744 -0.40650839684433 0.999999999999903 38.5687402138996 -5.46838701572204 -0.170290501553693 1.00000000000004 38.4630940896571 -6.21935794358873 0.0758312250931583 0.999999999999993 38.1534003916344 -8.07905923040511 0.739925379692892 0.999999999999997 37.9291791606157 -9.11852220498956 1.16900320196878 1.00000000000003 37.68533253611 -10.0717927381462 1.60127775542528 0.999999999999945 37.4240455258811 -10.9580702269948 2.0358229951541 1.00000000000006 37.15623786531 -11.7751405828434 2.45996213306836 0.999999999999962 36.8742840199384 -12.5567014241921 2.88733352716546 1.00000000000002 36.5811158263764 -13.2950149522474 3.31160167185599 0.999999999999997 35.6544415334907 -15.4775325073956 4.6078207159278 1 34.9579536814227 -16.8467743322436 5.50462554002494 0.999999999999997 34.1840329878018 -18.2015487292867 6.44038495503116 1 33.3040714631683 -19.5216609878484 7.42184581061913 1.00000000000001 32.3418662665107 -20.7874573308006 8.41248017673775 0.999999999999993 31.2769543278841 -22.0122765251279 9.42262474904683 1 30.1047730404709 -23.1900677936406 10.4403041423812 0.999999999999999 28.8088410286313 -24.3202780727549 11.4611845540791 1 - 28.0890252572899 9 28.540497915643 7 35.5540557357405 7 46.9269099865807 7 74.6136666880863 9 -7 1 0 2 3 2 15.7382456318043 29.1697097253819 1.08158343478932 1 11.9925415914136 31.3381943447495 3.05747127765962 0.802532240725346 13.049673288782 35.9718825060401 3.2769335034205 1 - 0 3 1 3 -7 1 0 10 101 12 5.73465335529957 36.9241166858098 -12.189893455392 1 6.63347930884458 37.0424213846277 -10.6343709291415 1.00000000000006 7.4959602357595 37.1140275602557 -9.06921282010949 0.999999999999757 8.32341664013039 37.1381386075307 -7.49588048550983 1.00000000000052 9.11765099133182 37.1134972161219 -5.91404659742533 0.999999999999241 9.87937448718633 37.0387500377253 -4.32425958339434 1.00000000000079 10.6083550880613 36.9132838895085 -2.72934243856835 0.99999999999939 11.3050121050269 36.7367792576114 -1.13112642966756 1.00000000000034 11.9720659863538 36.5074977775025 0.475390321682895 0.999999999999873 12.6137353058176 36.2210912811972 2.10287992191465 1.00000000000002 13.8443681724906 35.5256696847581 5.40706653903825 0.999999999999996 14.4540957439805 35.1022988949772 7.14077504103811 0.999999999999981 14.9488880232624 34.6610349067964 8.67514594449919 1.00000000000005 15.391966217188 34.2136088088462 10.1180702273604 0.999999999999911 15.7870145693083 33.7438919686924 11.506421070983 1.00000000000011 16.1334532866278 33.2597754316707 12.8242593803965 0.999999999999898 16.4377985481824 32.7666640769424 14.0917469849004 1.00000000000006 16.6993206246309 32.2635168699462 15.3104085246765 0.999999999999979 16.918516054397 31.7528857161794 16.4897466437827 0.999999999999996 17.1580509239926 31.0388023324398 18.07797364248 1.00000000000001 17.2177447680263 30.839758498708 18.5142887227651 0.99999999999993 17.2704091731086 30.6400981074099 18.9462432955786 1.00000000000013 17.3157599154875 30.4400412173607 19.3743074068663 0.999999999999852 17.3534328762583 30.2398156120783 19.7990396093341 1.0000000000001 17.3829567923618 30.039665085077 20.2210513262107 0.999999999999962 17.4037039605194 29.8399368788186 20.640975753771 0.999999999999999 17.4148188935263 29.641248277271 21.059441302315 1.00000000000001 17.4151249295059 29.4447323521223 21.4770495759249 0.999999999999995 17.3949396487488 29.1242479838795 22.1722782838287 1 17.3812294347439 28.9981184049809 22.4501166999 0.999999999999987 17.3621310681792 28.8736960934622 22.7279972472908 1.00000000000003 17.3352986147595 28.7528743873171 23.0075697753194 0.999999999999975 17.3017099743365 28.6354449675515 23.2881191957084 0.999999999999999 17.2603923284325 28.5217765111923 23.570930687916 1.00000000000003 17.2078311978702 28.4153505245483 23.8573456698414 0.999999999999966 17.1440566056684 28.3215867627773 24.1419212168285 1.00000000000002 17.0735124889254 28.2429175480872 24.4180834133954 0.999999999999994 16.8750731300148 28.1033833716334 25.0452182171 1.00000000000001 16.754346552571 28.0579316648489 25.3694048437899 0.99999999999998 16.6145674721702 28.0416401085646 25.6870500535832 1.00000000000003 16.4556595409236 28.0704478955456 25.9766938157806 0.999999999999982 16.3090288414607 28.124203212676 26.2083860478394 0.999999999999987 16.1456576747722 28.1579164741265 26.4604183050059 1.00000000000004 15.9616714007162 28.2510973476673 26.6888887609757 0.999999999999957 15.7767474715289 28.3480755491694 26.8977119792979 1.00000000000003 15.5995190412562 28.4526863640032 27.0796662842064 0.999999999999977 15.2542560766232 28.6779899160009 27.4029971826353 1.00000000000004 15.1011543568065 28.7813443940705 27.533117896525 0.999999999999753 14.9384499628497 28.8962775232511 27.6636529877535 1.00000000000062 14.7675500273495 29.0213194999051 27.7900617585278 0.999999999998958 14.5919314723007 29.151678604235 27.9096187436032 1.00000000000123 14.4120574858464 29.2851232860573 28.0238526398319 0.999999999998959 14.2270507929949 29.4218745510841 28.1335836600746 1.00000000000062 14.0366983546196 29.5618991150741 28.2379989600832 0.999999999999763 13.8412325213085 29.7033653068748 28.3381022664423 1.00000000000003 13.4174644402649 30.0048724191914 28.5397705505871 1 13.1879113107961 30.1651762003065 28.6404074347604 0.999999999999895 12.9512889070067 30.3265901446121 28.7358703066434 1.00000000000028 12.7074749525896 30.4884251305106 28.8262410697311 0.99999999999955 12.4563681858886 30.6500875844176 28.9115443440334 1.00000000000051 12.1978204519527 30.8111122425058 28.9917800234804 0.999999999999582 11.9316133634764 30.9711594184868 29.0669382355539 1.00000000000025 11.6574795311009 31.1299767774648 29.1369967033432 0.9999999999999 11.375168362607 31.2873256158223 29.2019005098114 1.00000000000002 10.7032713742713 31.6469492196088 29.3397510826096 0.999999999999983 10.3076665597456 31.8479721276273 29.408915191403 1.00000000000004 9.89719239819182 32.0453716057156 29.4687919679352 0.999999999999942 9.47137691162876 32.2386685750976 29.5191342845888 1.00000000000006 9.02964414331023 32.427449875537 29.5596472566272 0.999999999999945 8.57122875587496 32.611333873337 29.5899707114291 1.00000000000005 8.09518681812686 32.7899254456393 29.6096693797112 0.999999999999948 7.60050278033426 32.9627603409021 29.6182308083347 1.00000000000004 7.08629263816239 33.1292389156729 29.6150709950796 0.999999999999981 5.81279059393949 33.5090331444139 29.5780637232541 1.00000000000005 5.03689243975809 33.7150996549546 29.5329267298217 0.999999999999775 4.21600166702039 33.9073331282644 29.4626263098893 1.00000000000053 3.34235604924525 34.0835864759478 29.3640018605306 0.999999999999166 2.4103363460251 34.2406287360811 29.2335308367506 1.00000000000094 1.416474799284 34.3738571733486 29.0674204116268 0.999999999999231 0.359981706150664 34.476620368507 28.8617198955847 1.00000000000045 -0.754202294021992 34.5406987503435 28.6136712192743 0.999999999999831 -1.90782058107692 34.559489023234 28.3255147850362 1.00000000000002 -4.34609171845923 34.5083795585353 27.6591881473115 1 -5.59523321814707 34.4266127430636 27.2834659799014 0.999999999999923 -6.76507863553339 34.2977768152425 26.9011552451373 1.0000000000002 -7.84330084896134 34.1373475349438 26.5264484404388 0.999999999999695 -8.84138430743146 33.9525097550404 26.1616221207115 1.00000000000031 -9.76282703422446 33.7529713649419 25.8108676198644 0.999999999999771 -10.6171730605016 33.543571094353 25.4743892515218 1.00000000000012 -11.4250315867305 33.3213604032101 25.1458753551726 0.999999999999957 -12.1740322201869 33.0957423185858 24.8327761841068 1.00000000000001 -14.4511274824492 32.3454756643277 23.8582787421378 0.99999999999998 -15.9217183523487 31.7549971299127 23.1881700671615 1.00000000000008 -17.3559105652615 31.0860454351914 22.504332240794 0.99999999999983 -18.7734092944837 30.3210039774998 21.7962850080946 1.00000000000026 -20.164506434763 29.457779548121 21.0692045768364 0.999999999999693 -21.5197497506737 28.49704304151 20.3302354730777 1.00000000000027 -22.8384297057956 27.4312174192557 19.581015517563 0.999999999999819 -24.1214662861604 26.2466429063534 18.8208118876298 1.00000000000008 -25.3620351768442 24.9308784859162 18.0534245418735 0.999999999999978 -26.5550296955855 23.4576278469119 17.2797715978137 1 - -14.5199469042548 11 0 9 14.5291727688084 9 20.1145592563506 9 23.8343337090006 9 27.602053443644 9 31.1030887496992 9 34.9822374740764 9 40.0717100109291 9 47.1154888072361 9 55.0406318394774 9 73.9577058674298 11 -7 1 0 2 3 2 -12.4177348949022 26.727966779525 28.6225047204269 1 -11.2893087727185 28.6255557356322 24.6714194519956 0.816461604602928 -12.4826328512187 32.9913821094232 24.6997368589422 1 - 0 3 1 3 -7 1 0 7 8 2 13.049673288782 35.9718825060401 3.2769335034205 1 13.0684337565766 36.0710401677828 3.27243657142072 1 13.0911269479534 36.1910223629719 3.26700311463321 0.999999999999979 13.1183500096383 36.3350494970677 3.26050031631399 1.00000000000005 13.134897243289 36.4226985270055 3.25656422161517 0.999999999999948 13.1502134145877 36.5037930605689 3.25291555863087 1.00000000000002 13.1622125473163 36.5673594534277 3.25006260947291 1 13.1723276072976 36.6209518139992 3.24765873100972 1 - 0 8 1 8 -7 1 0 2 3 2 13.5914697909388 29.971634621368 -1.63438475971928 1 11.4798476300051 31.4886358870137 3.1053582383369 0.763935284879726 13.1723276072976 36.6209518139992 3.24765873100972 1 - 0 3 1 3 -7 1 0 6 7 2 -12.4826328512187 32.9913821094232 24.6997368589422 1 -12.4860848008451 33.0094266316962 24.7004271012806 1 -12.4902535819315 33.0312201771604 24.7012603380024 0.999999999999988 -12.4942613225575 33.0521722291871 24.7020613165811 1.00000000000002 -12.5020530929754 33.0929113353243 24.7036177463742 0.999999999999989 -12.5100300737412 33.1346326798944 24.7052086872134 1 -12.516275452868 33.1673006309512 24.7064536914124 1 - 0 7 1 7 -7 1 0 2 3 2 -15.5894669657271 26.561128831722 24.0031616947999 1 -11.7856842736572 28.8762784091453 23.7277245189694 0.820347352131134 -12.516275452868 33.1673006309512 24.7064536914124 1 - 0 3 1 3 -7 1 0 9 66 9 -8.81738834184627 30.2107166770134 39.7620432196755 0.999999999999999 -9.35150914219154 30.5798722288243 38.2299539231343 0.999999999999995 -9.85193818241304 30.9341966497557 36.6877664439814 1.00000000000003 -10.3187912634604 31.274147849912 35.136333152051 0.999999999999933 -10.7524964658618 31.6002914483018 33.5742334979648 1.00000000000009 -11.1518535813989 31.9122587245136 32.0026518375309 0.999999999999912 -11.5151356293814 32.2096643804734 30.4249546191327 1.00000000000006 -11.8418414863078 32.4934181668582 28.8418560628582 0.999999999999974 -12.1327086578254 32.7658644287507 27.2430614603681 1 -12.6502008914158 33.3026590481108 23.8731787775416 1 -12.8818724528749 33.5724746618254 22.0372989521004 0.999999999999998 -13.0540186436545 33.8230273709142 20.1751546055633 0.999999999999995 -13.1679328845714 34.0637913052685 18.2798381906088 1.00000000000002 -13.2069775498117 34.2854086300243 16.3117961106072 0.999999999999973 -13.1540999939394 34.495612876907 14.3339597966894 1.00000000000002 -12.9851340598828 34.6917904191302 12.3369401625913 0.999999999999987 -12.6725309549995 34.892136484378 10.3947602778487 1 -12.0126862940886 35.2095801052762 7.81885726181972 1 -11.7957908948879 35.305661471547 7.09203723448909 0.999999999999983 -11.5520178837425 35.4073539983845 6.38768187466198 1.00000000000005 -11.2808430413749 35.5162995348194 5.71040849843108 0.999999999999927 -10.9822878864999 35.6340586750915 5.06424738945542 1.00000000000007 -10.6566545411102 35.7619229995659 4.45171463456714 0.999999999999952 -10.3038918914888 35.9008525924457 3.87344188415898 1.00000000000002 -9.92259304489841 36.0515388362608 3.32836303746233 0.999999999999994 -9.12640610769199 36.3651400850225 2.33996866061255 1.00000000000001 -8.71633581759346 36.526253353175 1.89207606448496 0.999999999999954 -8.27569166793844 36.6981969388568 1.46986631498291 1.00000000000012 -7.79952524542312 36.8814521445748 1.07112519270664 0.999999999999828 -7.2814324782617 37.0758939529809 0.695384045541026 1.00000000000016 -6.71456094591902 37.2798649013414 0.344665373957746 0.999999999999905 -6.09219104746733 37.4894897804802 0.0230589219333304 1.00000000000003 -5.40722878866038 37.6985751372372 -0.263740769080087 1 -3.86044803283095 38.1088458218339 -0.762251868877197 0.999999999999987 -2.98855218865356 38.3109753214891 -0.971343082641607 1.00000000000007 -2.03409047342581 38.4940320818884 -1.12190364903709 0.999999999999842 -1.00889891061921 38.6414595738784 -1.1967820944558 1.00000000000021 0.0632829497632361 38.7412550569986 -1.1872739847761 0.999999999999793 1.15211364105031 38.7891062607631 -1.09647973246682 1.00000000000015 2.22676135223128 38.7877652559927 -0.937257179334477 0.999999999999929 3.25843625407304 38.7450763664998 -0.728430058869773 1.00000000000002 4.81378103675053 38.6279986108421 -0.345468633725535 0.999999999999989 5.38661050972416 38.5712887472785 -0.18676047902014 1.00000000000005 5.93589478219098 38.5047911080496 -0.0195183434218471 0.9999999999999 6.46301943299477 38.4300870379954 0.154004537483232 1.00000000000013 6.96897781101193 38.3485146227632 0.331981771027802 0.999999999999876 7.45480347977093 38.2611868252677 0.512970649077662 1.00000000000009 7.92176092258311 38.1690066352483 0.695875118197698 0.999999999999957 8.37129450815615 38.0726792319248 0.879914878257273 1.00000000000001 9.50825688346374 37.810478580658 1.36436518804754 0.999999999999974 10.1694691342122 37.6386423544101 1.66585201397426 1.0000000000001 10.7935089197014 37.4598190517016 1.96638642276001 0.999999999999812 11.386208089181 37.2747483748444 2.265641453881 1.00000000000025 11.9498661158149 37.0854944319726 2.56177088681152 0.999999999999779 12.4900918188523 36.8916921154661 2.85594106187959 1.00000000000014 13.0103576997599 36.692710630721 3.14903451353466 0.999999999999947 13.4979132825445 36.4950569168275 3.43207906983293 1.00000000000001 15.3114743652558 35.7247443897951 4.5092678276313 1.00000000000001 16.5718924969998 35.0994573513653 5.32340303372198 0.999999999999937 17.7866681308232 34.4203394244921 6.15439305523449 1.00000000000015 18.9763190910359 33.6684703838736 7.01592650475215 0.99999999999979 20.1340282601967 32.8414211731794 7.89972407169202 1.0000000000002 21.2544427890066 31.9395587215057 8.79632945112821 0.999999999999857 22.339877093029 30.9570373602788 9.70373429051653 1.00000000000007 23.3885102740031 29.8866661777808 10.6171220639831 0.999999999999982 24.3993008165283 28.7178396635645 11.5326634004976 1 - -15.9069977001149 10 0 8 16.6441495052613 8 23.423925697616 8 29.683700112056 8 36.2098012622694 8 40.2954566514639 8 46.9269097518373 8 68.0195601066858 10 -7 1 0 2 3 2 -15.738390118134 -29.1696582363437 1.08193794596004 1 -11.9926957640741 -31.3381503875662 3.05785953134621 0.802531651129296 -13.0496768634089 -35.9719013995809 3.27693264657341 1 - 0 3 1 3 -7 1 0 9 106 14 -5.75350145484153 -36.9265892031678 -12.1572602762269 1 -6.74934006251154 -37.0567858895086 -10.4323285810799 1.00000000000002 -7.69996915756783 -37.1288371767037 -8.69542776332788 0.999999999999935 -8.60727036149475 -37.1415963346709 -6.9485905254986 1.00000000000012 -9.47387461994359 -37.0931935508393 -5.1910111629185 0.999999999999857 -10.3001508732754 -36.9816813761028 -3.42408541226993 1.00000000000012 -11.085297866598 -36.8069712986092 -1.65365216554636 0.999999999999932 -11.8317861037173 -36.5681084542718 0.122090160226138 1.00000000000003 -12.5467859416407 -36.2588758775542 1.92317039347567 0.999999999999994 -13.6267254874319 -35.6487369709399 4.82265516910875 1 -14.0234863555188 -35.3910069174687 5.92895079752582 1.00000000000001 -14.3858451561933 -35.1182987459195 6.98737095181346 0.999999999999974 -14.717135629309 -34.8370362412281 7.99650165847919 1.00000000000003 -15.0218912459441 -34.5490224615455 8.96422503966882 0.999999999999977 -15.3027419627087 -34.2541301964394 9.89684859610831 1.00000000000001 -15.5623809141342 -33.9523067582421 10.8003060921995 0.999999999999997 -15.8014569787722 -33.6449487599162 11.6758853539024 1 -16.3105458553517 -32.9204498132939 13.6485550276842 1 -16.566180324719 -32.499592560574 14.7273041709667 0.999999999999979 -16.7900594864226 -32.0706804437858 15.7704955866633 1.00000000000004 -16.9819979004938 -31.6376837814775 16.7762472240859 0.99999999999996 -17.1437837170624 -31.1964745850328 17.7628874321583 1.00000000000003 -17.2714784867323 -30.753613105459 18.7184602373877 0.999999999999993 -17.3638747366073 -30.3082568127638 19.6598855054253 0.999999999999996 -17.4149014149467 -29.8609723958578 20.5896376502685 1.00000000000001 -17.4076463155783 -29.2756464042894 21.8421823664263 0.999999999999992 -17.3987277835055 -29.1248439622578 22.1683696969585 1.00000000000006 -17.3820974841946 -28.9761662039162 22.4950352040957 0.99999999999987 -17.3568696009417 -28.830737596948 22.8224710376285 1.00000000000019 -17.3219325751466 -28.6898720223402 23.1513493411938 0.999999999999812 -17.2757533139043 -28.5551879288198 23.4828477808139 1.00000000000013 -17.2161224328138 -28.4293734020072 23.8181562865555 0.999999999999937 -17.1399512992778 -28.3174126617699 24.1577963595362 1.00000000000002 -16.9998886563419 -28.1880553163744 24.6550667495926 0.99999999999999 -16.9524509779024 -28.1525384873376 24.8096670090942 1.00000000000005 -16.9003177151735 -28.122234553467 24.9654613264084 0.999999999999889 -16.8432878972203 -28.0977967359594 25.1221595565114 1.00000000000015 -16.7808236654804 -28.0803521451382 25.2795091638185 0.999999999999867 -16.7125798298659 -28.0710521446452 25.4366603044839 1.00000000000009 -16.6391829374126 -28.0703084928269 25.591442194439 0.999999999999963 -16.5622430019792 -28.0773708815377 25.7409009726092 1.00000000000001 -16.4167015647608 -28.1020911448186 26.0031619792463 0.999999999999992 -16.3489590779818 -28.1176245443459 26.1178987537945 1.00000000000004 -16.2793177123031 -28.1376546220656 26.2285137818745 0.999999999999912 -16.2120194376229 -28.1597687680268 26.3295295138024 1.00000000000012 -16.1436744095986 -28.1844288972976 26.4272100022221 0.999999999999878 -16.0727296779571 -28.212741640038 26.5238557590652 1.00000000000008 -16.0019268948851 -28.244299583456 26.6150258720978 0.999999999999963 -15.9305123424865 -28.278101089497 26.703100926791 1.00000000000001 -15.7658476666445 -28.3616234002885 26.8969017252554 0.999999999999995 -15.6719936567269 -28.4130261620732 27.0009392678064 1.00000000000001 -15.5762421162697 -28.4690976179715 27.1011219257264 0.999999999999996 -15.4786699495511 -28.5294403224277 27.1976990539073 0.999999999999988 -15.3793974837208 -28.5935726664777 27.2908194747366 1.00000000000002 -15.278408255157 -28.6611351778211 27.3807187883521 0.99999999999999 -15.1755331979575 -28.7319233145072 27.467742663596 1 -15.0705992345328 -28.8057467522349 27.5522061096755 1 -14.8219661429841 -28.9834395625491 27.7427292864848 0.999999999999986 -14.6767621186289 -29.0892743929661 27.846877612971 1.00000000000006 -14.5281963466124 -29.1987624691586 27.9468168837418 0.999999999999887 -14.3761075427972 -29.3113561984372 28.0428803793903 1.00000000000014 -14.2203228173477 -29.4265827130142 28.1353450259708 0.999999999999877 -14.060763538149 -29.5439283001911 28.2243843200894 1.00000000000008 -13.8974412276196 -29.6628421325079 28.3100806383777 0.999999999999962 -13.7303434931685 -29.7828592978441 28.3924969314289 1.00000000000001 -13.3382395987378 -30.0600594425766 28.5742153027192 0.99999999999999 -13.1105795375695 -30.2178314122337 28.6714182585655 1.00000000000004 -12.8760717820218 -30.3764131135181 28.7635606739975 0.999999999999907 -12.6345439256214 -30.5352001750319 28.8507322061302 1.00000000000012 -12.3858120752055 -30.6937045431693 28.9329752570187 0.999999999999883 -12.12968374512 -30.8515292463619 29.0102920657862 1.00000000000008 -11.8659607514674 -31.0083431593377 29.0826518007844 0.999999999999965 -11.594442106301 -31.1638557673658 29.1499976517193 1.00000000000001 -10.8886288765155 -31.5525651565276 29.3072030557137 0.999999999999996 -10.443759835867 -31.7836790014975 29.3903191706494 1.00000000000001 -9.97948384033364 -32.0101941244605 29.4612935716547 0.999999999999991 -9.49513288316166 -32.2313604594914 29.519768914927 1.00000000000001 -8.98979541843066 -32.4465600453541 29.5652898185333 0.999999999999993 -8.4621771338569 -32.6552210822834 29.5972729794288 1 -7.91073397848453 -32.8567032158897 29.6149967966289 0.999999999999998 -7.33407744516902 -33.0501540481967 29.6176105007202 1 -5.91153865315029 -33.4850746946216 29.585855709469 0.999999999999984 -5.04596788098723 -33.7176807019838 29.5378076453177 1.00000000000007 -4.12315544788705 -33.9331111090549 29.4580138404889 0.999999999999842 -3.13192071579211 -34.1278434722059 29.3416549989104 1.00000000000021 -2.064758249643 -34.2971766121675 29.1836517693903 0.999999999999812 -0.917100697127955 -34.4335153027668 28.9781243125453 1.00000000000012 0.310426206561568 -34.5249123446789 28.7189203567077 0.999999999999953 1.59995576634174 -34.5591406395712 28.4053751492069 1.00000000000001 4.3447175853659 -34.5152921640401 27.6638482428462 0.999999999999993 5.75434538067894 -34.4210024369511 27.2383686387643 1.00000000000002 7.05653973168949 -34.265971420545 26.8058283781635 0.999999999999966 8.23745179035532 -34.0756002906189 26.3877945687989 1.00000000000004 9.32578783391431 -33.855300399556 25.9809493957454 0.999999999999974 10.3085010675635 -33.6265622868431 25.5990634818934 1.00000000000001 11.2350511011254 -33.3779784887364 25.2250677800085 0.999999999999994 12.0890776201968 -33.1236984236032 24.8691263809694 1 14.6326684687733 -32.2856821652166 23.7805958952126 0.999999999999995 16.250173841993 -31.6198301401193 23.0372311169432 1.00000000000002 17.839823130852 -30.8526056145618 22.2711606952517 0.999999999999946 19.4111186128687 -29.9583426468364 21.4720517232294 1.00000000000009 20.9404786084215 -28.9431969514486 20.6545534972745 0.99999999999991 22.4216876547393 -27.8043816190045 19.8257421704288 1.00000000000006 23.8607875673207 -26.5200994077789 18.9815953040395 0.999999999999975 25.2474735457667 -25.0758499854589 18.1283170285672 1.00000000000001 26.5743970490293 -23.433685055963 17.2672075276505 1 - -14.9840058386901 10 0 8 8.74923716318256 8 20.2780534914566 8 24.3478256010862 8 26.1716127801979 8 27.6798627908699 8 29.602076555593 8 32.1524392439394 8 35.4455094900736 8 40.4678818123227 8 47.3051027289389 8 55.0406334182331 8 73.3003937977283 10 -7 1 0 2 3 2 12.4180913398767 -26.7278606569222 28.6223335854435 1 11.2896447503181 -28.6254646315958 24.671278935995 0.81646252653224 12.4826299268262 -32.9913668226232 24.6997362741887 1 - 0 3 1 3 -7 1 0 7 8 2 -13.0496768634089 -35.9719013995809 3.27693264657341 1 -13.0684255713451 -36.0709969120662 3.27243853456439 1 -13.0911102959398 -36.1909343025768 3.26700709860756 0.999999999999987 -13.1183520759035 -36.3350603110602 3.26049980387326 1.00000000000004 -13.1349031613971 -36.4227299039948 3.25656281860331 0.999999999999952 -13.1502183853518 -36.5038193791199 3.2529143744443 1.00000000000002 -13.1622162114306 -36.5673788662383 3.250061738577 1 -13.1723282404068 -36.6209551683852 3.24765858054917 1 - 0 8 1 8 -7 1 0 2 3 2 -13.5913551878849 -29.9716784871712 -1.63445341942712 1 -11.4797002590209 -31.4886879536036 3.10527495714323 0.76393515064427 -13.1723282404068 -36.6209551683852 3.24765858054917 1 - 0 3 1 3 -7 1 0 6 7 2 12.4826299268262 -32.9913668226232 24.6997362741887 1 12.4860826268148 -33.0094152662777 24.7004266667504 1 12.4902516307485 -33.0312099748713 24.7012599483494 1 12.4942607538947 -33.05216925821 24.7020612025832 0.999999999999999 12.5020495247301 -33.0928926761041 24.7036170340947 1 12.5100274136656 -33.1346187664485 24.7052081568042 1 12.5162743179245 -33.1672946943571 24.7064534651636 1 - 0 7 1 7 -7 1 0 2 3 2 15.5894681746511 -26.5611312659444 24.0031512120405 1 11.7856691089295 -28.8762573099099 23.7278243061972 0.820347656303319 12.5162743179245 -33.1672946943571 24.7064534651636 1 - 0 3 1 3 -7 1 0 9 66 9 8.81733947513004 -30.2106829030488 39.7621833902116 1 9.35146844694427 -30.5798434127096 38.2300793328292 1.00000000000004 9.85190520345063 -30.9341723209655 36.6878758461642 0.999999999999842 10.3187641430195 -31.274128001842 35.1364306856115 1.00000000000032 10.7524769722449 -31.6002763980501 33.5743120175657 0.999999999999584 11.1518388043313 -31.9122455272994 32.0027132383868 1.00000000000038 11.5151171071282 -32.2096477560784 30.4250260481853 0.999999999999765 11.8418166711043 -32.4933973383478 28.8419707914859 1.0000000000001 12.1326937678071 -32.76585071663 27.2431830770509 0.999999999999983 12.651532964321 -33.3040294656979 23.8644622207725 1.00000000000001 12.884023954457 -33.5750347116936 22.0200246124002 1.00000000000001 13.0565939244936 -33.8267161488191 20.1479929076536 0.999999999999972 13.170120008082 -34.0684324970062 18.2426002786241 1.00000000000003 13.2078780966724 -34.290804038321 16.2645959998968 0.999999999999983 13.152558442118 -34.5017033518469 14.2760896258389 0.999999999999996 12.9793289125964 -34.6984513324617 12.2692715906933 1.00000000000001 12.6603120399664 -34.8999088933864 10.3194378252091 0.999999999999987 11.9898941409887 -35.2197193098057 7.74192326227467 1.00000000000002 11.7708001489424 -35.3161836406202 7.01822840319474 0.999999999999912 11.5248480619731 -35.4183745548066 6.31727335281043 1.00000000000018 11.251556642509 -35.5279251629073 5.64363880912385 0.999999999999773 10.9509777068107 -35.6463763533624 5.0012759982182 1.00000000000019 10.6234057563716 -35.774994682385 4.39258043332829 0.999999999999892 10.2687333471972 -35.9147152971574 3.81804643025817 1.00000000000004 9.88545219683004 -36.0662098923549 3.27650237911447 0.999999999999991 9.08480102027774 -36.381485324052 2.29418631279666 1.00000000000001 8.67224010538666 -36.5434779713 1.8489023915317 0.999999999999996 8.22881341591018 -36.7162938626615 1.42915364314102 0.99999999999997 7.74943701932388 -36.9004182922679 1.0327567855691 1.00000000000009 7.22763920354788 -37.0956502151897 0.659378017178526 0.999999999999877 6.65659046696938 -37.3001812858722 0.311228209093219 1.0000000000001 6.02964420643906 -37.5099726493432 -0.00744587443884726 0.999999999999945 5.33976109536264 -37.7187127871983 -0.290862094703432 1.00000000000002 3.78050933027435 -38.1275094021754 -0.781844458895307 0.999999999999978 2.90046472863381 -38.328505879849 -0.986600943792673 1.00000000000008 1.93770839267953 -38.5093878547658 -1.13157862699535 0.999999999999864 0.905425006687936 -38.653411841653 -1.19959586995892 1.00000000000016 -0.171561713459712 -38.7488968016875 -1.18260924534288 0.999999999999869 -1.26237462131449 -38.7921645810411 -1.08472054682728 1.00000000000008 -2.33619318266452 -38.786551635094 -0.919586647532025 0.999999999999969 -3.36472040004739 -38.7401875183774 -0.706274104032037 1 -4.91736317133113 -38.6179616576713 -0.317063166212876 1 -5.49111093250808 -38.5591427415413 -0.155577955789997 0.999999999999981 -6.04095874030117 -38.4906358147065 0.0141868495859327 1.00000000000005 -6.56848766012105 -38.4140105832981 0.190032475742523 0.999999999999922 -7.07475432229283 -38.33059004875 0.370169282496072 1.00000000000009 -7.56079760966524 -38.2414788625576 0.553171647537038 0.999999999999933 -8.02788113548111 -38.1475795039633 0.737948204474275 1.00000000000003 -8.47747151151744 -38.0495962805369 0.923727434971804 0.999999999999994 -9.59699329973903 -37.7872805612359 1.40495237092264 1 -10.242767452712 -37.6175267004764 1.70124456479597 1.00000000000001 -10.8532142922772 -37.4411365878208 1.99656470149225 0.999999999999984 -11.4337120429123 -37.2587654070229 2.2906294923349 1.00000000000002 -11.9862366331894 -37.0724131366319 2.58160513215584 0.99999999999998 -12.5161462346103 -36.8817227427875 2.87062089403418 1.00000000000001 -13.0268581789166 -36.6860429708904 3.1585971298379 0.999999999999997 -13.5059116475058 -36.4916763516283 3.43682290043098 1 -15.3110700410133 -35.7248893002414 4.50904601123773 0.999999999999997 -16.5715833298312 -35.0996479054323 5.32317454050795 1.00000000000002 -17.7865646501947 -34.4204207566071 6.1543103212838 0.999999999999961 -18.976246737128 -33.668517035832 7.0158750173452 1.00000000000007 -20.1339280108553 -32.8414904660389 7.89964765581289 0.999999999999924 -21.2543420962443 -31.9396446691938 8.79624785225314 1.00000000000006 -22.3397563673012 -30.9571475346533 9.70363326040403 0.999999999999972 -23.3883798884488 -29.8868012553543 10.6170081279644 1.00000000000001 -24.3991604313456 -28.7180040124426 11.5325358832613 1 - -15.9057469560638 10 0 8 16.7233880328304 8 23.4931185882247 8 29.7479332745432 8 36.2825263467174 8 40.4040511881432 8 46.9269097884096 8 68.0298498307305 10 -2 -7.93752202305694 -1.45805098545609e-015 -87.3124779769431 -1.83690953073357e-016 1 0 -1 -1.83690953073357e-016 0 0 0 1 1.18752202305694 -2 0 0 -88.5 0 0 -1 -1 -1.83690953073357e-016 0 -1.83690953073357e-016 1 0 7.93752202305694 -7 0 0 6 7 2 10.9312845412859 -25 24.3673062865478 25.603716167169 -99.4955175866594 27.725629551355 35.6321768490299 -174.387857973692 25.0664529858953 41.1461988596406 -249.515677894887 26.204792128835 42.5533051918511 -324.810093064158 24.511853602375 39.9175589302023 -399.99031214803 24.2646330462175 33.1166934228064 -474.999999999975 23.2972619228411 - 0 7 1 7 -7 0 0 7 8 2 -33.1166934221002 -475.000000000025 0.644157553174443 -26.1646423446124 -475.000000000026 6.71361040751708 -17.6787441379202 -474.999999999991 12.7821162574953 -7.86761010825323 -475.000000000026 17.9375237803562 2.88531880280147 -474.999999999987 21.374210359363 13.8010459500139 -474.999999999986 23.0912068929787 24.1110052959324 -474.999999999984 23.5590414476863 33.1166934228064 -474.999999999975 23.2972619228411 - 0 8 1 8 -7 0 0 6 7 2 -10.9312845413564 -25 3.82346289402989 -25.6037231116567 -99.4955175866544 -0.238321494510684 -35.6321728187635 -174.387857973711 1.71364674996403 -41.1462100594092 -249.515677894843 -0.134124347568128 -42.5532929471374 -324.810093064225 0.847809066406004 -39.9175554829606 -399.990312147961 0.385102862449855 -33.1166934221002 -475.000000000025 0.644157553174443 - 0 7 1 7 -7 0 0 6 7 2 33.1166934228064 -474.999999999975 23.2972619228411 24.5467688055002 -474.999999999977 17.3375633852217 14.3913559868673 -475.000000000004 11.3760079441225 2.95982233470768 -474.999999999981 6.25163300015281 -9.32817442354434 -475.000000000023 2.77635102776166 -21.6723628733705 -475.000000000012 1.06748181665988 -33.1166934221002 -475.000000000025 0.644157553174445 - 0 7 1 7 -1 0 15.507 -88.5 1 0 0 -7 1 0 8 9 2 0.42 15.507 -88.5 1 -0.00470405685716957 15.507 -88.5 1 -0.429394567587243 15.7058195696457 -88.5 0.999999999999993 -0.74793802139333 16.0688270293687 -88.5 1.00000000000001 -0.897051429875599 16.5031420104552 -88.5 0.999999999999978 -0.89469573069668 16.8974935540275 -88.5 1.00000000000002 -0.827775318736082 17.1999254454131 -88.5 0.999999999999987 -0.776999999999992 17.4349695996033 -88.5 1 -0.776999999999999 17.67 -88.5 1 - 0 9 1.5707963267949 9 -1 61.284 -17.25 -88.5 0 1 0 -1 -0.777 17.25 -88.5 0 1 0 -1 0 -15.507 -88.5 1 0 0 -2 0 0 -88.5 0 0 1 -1.89443403726761e-011 1 0 -1 -1.89443403726761e-011 0 41.0415932565253 -7 1 0 8 9 2 0.42 -15.507 -88.5 1 -0.00470405685716691 -15.507 -88.5 0.999999999999993 -0.429394567587231 -15.7058195696457 -88.5 1.00000000000002 -0.747938021393385 -16.0688270293688 -88.5 0.999999999999959 -0.897051429875493 -16.5031420104551 -88.5 1.00000000000004 -0.894695730696774 -16.8974935540276 -88.5 0.999999999999973 -0.82777531873604 -17.1999254454131 -88.5 1.00000000000001 -0.776999999999999 -17.4349695996033 -88.5 0.999999999999998 -0.776999999999999 -17.67 -88.5 1 - 0 9 1.5707963267949 9 -1 -0.777 -45 -88.5 0 1 0 -7 1 0 2 3 2 0.42 15.507 -88.5 1 0.42 17.25 -88.5 0.707106781186548 0.42 17.25 -90.243 1 - 0 3 1.5707963267949 3 -1 0 17.25 -90.243 1 0 0 -7 1 0 7 8 2 61.284 15.507 -88.5 1 61.284 15.8981282853719 -88.5 0.999999999999996 61.362 16.2892546786662 -88.6023993092595 1.00000000000001 61.4868 16.6482239178544 -88.8071815752016 0.99999999999999 61.6272 16.9428184247985 -89.1017760821455 1.00000000000001 61.752 17.1476006907405 -89.4607453213339 0.999999999999995 61.83 17.25 -89.8518717146281 1 61.83 17.25 -90.243 1 - 0 8 1.5707963267949 8 -7 1 0 8 9 2 0.42 17.25 -90.243 1 0.337533192843267 17.25 -90.243 1 0.255066359728235 17.2685055313637 -90.1395 0.999999999999993 0.17744444157926 17.305516412334 -89.967 1.00000000000001 0.109511322572448 17.3595113225725 -89.76 0.999999999999978 0.0555164123340016 17.4274444415792 -89.553 1.00000000000002 0.0185055313637008 17.5050663597283 -89.3805 0.999999999999987 -6.66133814775094e-016 17.5875331928433 -89.277 1 0 17.67 -89.277 1 - 0 9 1.5707963267949 9 -7 1 0 2 3 2 -0.776999999999999 17.67 -88.5 1 -2.4980018054066e-016 17.67 -88.5 0.707106781186548 0 17.67 -89.277 1 - 0 3 1.5707963267949 3 -7 1 0 2 3 2 62.25 -15.507 -89.466 1 62.25 -15.507 -88.5 0.707106781186548 61.284 -15.507 -88.5 1 - 0 3 1.5707963267949 3 -1 62.25 -17.25 -89.466 0 1 0 -7 1 0 2 3 2 62.25 15.507 -89.466 1 62.25 15.507 -88.5 0.707106781186548 61.284 15.507 -88.5 1 - 0 3 1.5707963267949 3 -1 1.11022302462516e-016 17.25 -89.277 0 1 0 -7 1 0 2 3 2 0 41.034237510085 -89.277 1 -3.33066907387547e-016 41.034237510085 -88.5 0.707106781186548 -0.777 41.034237510085 -88.5 1 - 0 3 1.5707963267949 3 -7 1 0 2 3 2 0.42 -15.507 -88.5 1 0.42 -17.25 -88.5 0.707106781186548 0.42 -17.25 -90.243 1 - 0 3 1.5707963267949 3 -1 0 -17.25 -90.243 1 0 0 -7 1 0 7 8 2 61.83 -17.25 -90.243 1 61.83 -17.25 -89.8518717146281 1 61.752 -17.1476006907405 -89.4607453213338 0.999999999999989 61.6272 -16.9428184247985 -89.1017760821456 1.00000000000002 61.4868 -16.6482239178544 -88.8071815752016 0.999999999999981 61.362 -16.2892546786662 -88.6023993092595 1.00000000000001 61.284 -15.8981282853719 -88.5 0.999999999999997 61.284 -15.507 -88.5 1 - 0 8 1.5707963267949 8 -7 1 0 7 8 2 -0.423956931359354 44.9980028503527 -92.4584067434747 1 -0.423956931359354 44.9980028503527 -91.568939881079 0.999999999999998 -0.475734187145862 44.7643271232343 -90.6795254142516 1 -0.558303897538464 44.2972064506561 -89.8637072072105 1 -0.651726709266949 43.6258587651757 -89.1963977954777 0.999999999999997 -0.732484541788461 42.8107965980783 -88.7325433618894 1 -0.780300596040509 41.9225019061721 -88.5 0.999999999999999 -0.777 41.034237510085 -88.5 1 - 0 8 1.5707963267949 8 -7 1 0 7 8 2 -0.777000000000002 -41.034237510085 -88.5 1 -0.780300596040509 -41.9225019061721 -88.5 0.999999999999998 -0.732484541788434 -42.8107965980784 -88.7325433618895 1 -0.651726709267067 -43.6258587651756 -89.1963977954775 1 -0.558303897538341 -44.2972064506561 -89.8637072072107 0.999999999999997 -0.475734187145913 -44.7643271232343 -90.6795254142516 1 -0.423956931359349 -44.9980028503527 -91.568939881079 0.999999999999999 -0.423956931359349 -44.9980028503527 -92.4584067434747 1 - 0 8 1.5707963267949 8 -2 0 0 -92.4584067434747 0 0 1 -1.89443403726761e-011 1 0 -1 -1.89443403726761e-011 0 45 -7 1 0 8 9 2 0.42 -17.25 -90.243 1 0.337533192843269 -17.25 -90.243 0.999999999999993 0.255066359728233 -17.2685055313637 -90.1395000000001 1.00000000000002 0.177444441579254 -17.305516412334 -89.9669999999999 0.999999999999959 0.109511322572473 -17.3595113225725 -89.7600000000001 1.00000000000004 0.055516412333981 -17.4274444415793 -89.5529999999999 0.999999999999973 0.0185055313637079 -17.5050663597282 -89.3805 1.00000000000001 1.66533453693773e-016 -17.5875331928433 -89.277 0.999999999999998 0 -17.67 -89.277 1 - 0 9 1.5707963267949 9 -7 1 0 2 3 2 -0.776999999999999 -17.67 -88.5 1 -2.77555756156289e-016 -17.67 -88.5 0.707106781186548 0 -17.67 -89.277 1 - 0 3 1.5707963267949 3 -7 1 0 2 3 2 0 -41.034237510085 -89.277 1 -2.05391259555654e-015 -41.034237510085 -88.5 0.707106781186548 -0.777000000000002 -41.034237510085 -88.5 1 - 0 3 1.5707963267949 3 -1 1.11022302462516e-016 -45 -89.277 0 1 0 -1 0.42 17.25 -88.5 0 0 -1 -1 61.83 17.25 -103.5 0 0 1 -1 0 17.25 -101.757 1 0 0 -7 1 0 7 8 2 62.25 15.507 -89.466 1 62.25 15.6813583922742 -89.466 0.999999999999996 62.25 15.8558389368571 -89.433749088271 1.00000000000001 62.25 16.088685797969 -89.3997150819104 0.99999999999999 62.25 16.393616798535 -89.4497172222408 1.00000000000001 62.25 16.6743764265126 -89.6493634203919 0.999999999999995 62.25 16.83 -89.9461194942358 1 62.25 16.83 -90.243 1 - 0 8 1.5707963267949 8 -7 1 0 2 3 2 62.25 16.83 -90.243 1 62.25 17.25 -90.243 0.707106781186548 61.83 17.25 -90.243 1 - 0 3 1.5707963267949 3 -7 1 0 8 9 2 0 17.67 -102.723 1 1.94289029309402e-016 17.5875331928433 -102.723 1 0.0185055313637023 17.5050663597282 -102.6195 0.999999999999992 0.0555164123340075 17.4274444415793 -102.447 1.00000000000002 0.109511322572426 17.3595113225725 -102.24 0.999999999999977 0.177444441579293 17.305516412334 -102.033 1.00000000000002 0.255066359728225 17.2685055313637 -101.8605 0.999999999999987 0.337533192843266 17.25 -101.757 1 0.42 17.25 -101.757 1 - 0 9 1.5707963267949 9 -1 0 17.67 -88.5 0 0 -1 -7 1 0 2 3 2 62.25 -16.83 -90.243 1 62.25 -17.25 -90.243 0.707106781186548 61.83 -17.25 -90.243 1 - 0 3 1.5707963267949 3 -7 1 0 7 8 2 62.25 -16.83 -90.243 1 62.25 -16.83 -89.9461194942358 1 62.25 -16.6743764265126 -89.6493634203918 0.999999999999989 62.25 -16.393616798535 -89.4497172222409 1.00000000000002 62.25 -16.088685797969 -89.3997150819103 0.999999999999981 62.25 -15.8558389368571 -89.433749088271 1.00000000000001 62.25 -15.6813583922742 -89.466 0.999999999999997 62.25 -15.507 -89.466 1 - 0 8 1.5707963267949 8 -1 62.25 -16.83 -103.5 0 0 1 -1 62.25 16.83 -103.5 0 0 1 -7 1 0 7 8 2 62.25 -16.83 -101.757 1 62.25 -16.83 -102.053880505764 0.999999999999998 62.25 -16.6743764265126 -102.350636579608 1 62.25 -16.3936167985349 -102.550282777759 0.999999999999999 62.25 -16.0886857979691 -102.60028491809 0.999999999999999 62.25 -15.8558389368571 -102.566250911729 1 62.25 -15.6813583922742 -102.534 1 62.25 -15.507 -102.534 1 - 0 8 1.5707963267949 8 -7 1 0 7 8 2 62.25 16.83 -101.757 1 62.25 16.83 -102.053880505764 1 62.25 16.6743764265126 -102.350636579608 0.999999999999989 62.25 16.393616798535 -102.550282777759 1.00000000000002 62.25 16.0886857979691 -102.60028491809 0.999999999999981 62.25 15.8558389368571 -102.566250911729 1.00000000000001 62.25 15.6813583922742 -102.534 0.999999999999997 62.25 15.507 -102.534 1 - 0 8 1.5707963267949 8 -1 62.25 -17.25 -102.534 0 1 0 -7 1 0 7 8 2 0 44.5780214904161 -92.4584067434747 1 3.33066907387547e-016 44.5780214904161 -91.6631834778663 0.999999999999998 -5.55111512312578e-016 44.3180890552093 -90.8680906909621 1 8.32667268468867e-016 43.8183809767075 -90.1863889170034 1 -7.7715611723761e-016 43.1648442512693 -89.7035377309087 0.999999999999997 3.88578058618805e-016 42.4621584257124 -89.4129449508094 1 -1.11022302462516e-016 41.7481435138979 -89.277 0.999999999999999 0 41.034237510085 -89.277 1 - 0 8 1.5707963267949 8 -1 1.11022302462516e-016 17.25 -102.723 0 1 0 -1 0 44.5780214904161 -103.5 0 0 1 -7 1 0 7 8 2 0 41.034237510085 -102.723 1 -2.22044604925031e-016 41.7481435138979 -102.723 1 8.88178419700125e-016 42.4621584257123 -102.587055049191 0.999999999999989 -1.27675647831893e-015 43.1648442512694 -102.296462269091 1.00000000000002 8.32667268468867e-016 43.8183809767075 -101.813611082996 0.999999999999981 -1.66533453693773e-016 44.3180890552092 -101.131909309038 1.00000000000001 5.55111512312578e-017 44.5780214904161 -100.336816522134 0.999999999999997 0 44.5780214904161 -99.5415932565253 1 - 1.0578624220219e-018 8 1.5707963267949 8 -7 1 0 2 3 2 0 44.5780214904161 -92.4584067434747 1 1.11022302462516e-016 45.0019972382869 -92.4584067434747 0.703767978405767 -0.423956931359354 44.9980028503527 -92.4584067434747 1 - 0 3 1.5707963267949 3 -1 0.42 -17.25 -88.5 0 0 -1 -1 61.83 -17.25 -103.5 0 0 1 -1 0 -17.25 -101.757 1 0 0 -7 1 0 7 8 2 0 -41.034237510085 -89.277 1 -5.55111512312578e-017 -41.7481435138979 -89.277 0.999999999999998 -1.66533453693773e-016 -42.4621584257123 -89.4129449508095 1 1.16573417585641e-015 -43.1648442512694 -89.7035377309086 1 -1.72084568816899e-015 -43.8183809767074 -90.1863889170034 0.999999999999997 1.49880108324396e-015 -44.3180890552093 -90.8680906909621 1 -6.10622663543836e-016 -44.5780214904161 -91.6631834778663 0.999999999999999 0 -44.5780214904161 -92.4584067434747 1 - 0 8 1.5707963267949 8 -7 1 0 2 3 2 0 -44.5780214904161 -92.4584067434747 1 4.32986979603811e-015 -45.0019972382869 -92.4584067434747 0.703767978405767 -0.423956931359349 -44.9980028503527 -92.4584067434747 1 - 0 3 1.5707963267949 3 -1 -0.423956931359358 44.9980028503527 -103.5 0 0 1 -1 -0.423956931359349 -44.9980028503527 -103.5 0 0 1 -2 0 0 -99.5415932565253 0 0 1 -1.89443403726761e-011 1 0 -1 -1.89443403726761e-011 0 45 -7 1 0 8 9 2 -2.77555756156289e-017 -17.67 -102.723 1 4.44089209850063e-016 -17.5875331928433 -102.723 1 0.0185055313637018 -17.5050663597282 -102.6195 0.999999999999992 0.0555164123340146 -17.4274444415792 -102.447 1.00000000000002 0.109511322572421 -17.3595113225725 -102.24 0.999999999999977 0.17744444157929 -17.3055164123339 -102.033 1.00000000000002 0.255066359728227 -17.2685055313637 -101.8605 0.999999999999987 0.337533192843266 -17.25 -101.757 1 0.42 -17.25 -101.757 1 - 0 9 1.5707963267949 9 -1 0 -17.67 -88.5 0 0 -1 -1 0 -44.5780214904161 -103.5 0 0 1 -1 1.11022302462516e-016 -45 -102.723 0 1 0 -7 1 0 7 8 2 0 -41.034237510085 -102.723 1 -5.55111512312578e-017 -41.7481435138979 -102.723 1 -5.55111512312578e-017 -42.4621584257123 -102.587055049191 0.999999999999989 1.60982338570648e-015 -43.1648442512695 -102.296462269091 1.00000000000002 -2.60902410786912e-015 -43.8183809767073 -101.813611082997 0.999999999999981 2.22044604925031e-015 -44.3180890552093 -101.131909309038 1.00000000000001 -7.7715611723761e-016 -44.5780214904161 -100.336816522134 0.999999999999997 0 -44.5780214904161 -99.5415932565253 1 - 0 8 1.5707963267949 8 -7 1 0 2 3 2 62.25 16.83 -101.757 1 62.25 17.25 -101.757 0.707106781186548 61.83 17.25 -101.757 1 - 0 3 1.5707963267949 3 -7 1 0 2 3 2 0.42 15.507 -103.5 1 0.42 17.25 -103.5 0.707106781186548 0.42 17.25 -101.757 1 - 0 3 1.5707963267949 3 -1 0 15.507 -103.5 1 0 0 -7 1 0 7 8 2 61.83 17.25 -101.757 1 61.83 17.25 -102.148128285372 1 61.752 17.1476006907405 -102.539254678666 0.999999999999989 61.6272 16.9428184247985 -102.898223917854 1.00000000000002 61.4868 16.6482239178544 -103.192818424798 0.999999999999981 61.362 16.2892546786661 -103.397600690741 1.00000000000001 61.284 15.8981282853719 -103.5 0.999999999999997 61.284 15.507 -103.5 1 - 0 8 1.5707963267949 8 -7 1 0 2 3 2 -0.776999999999999 17.67 -103.5 1 -3.05311331771918e-016 17.67 -103.5 0.707106781186548 0 17.67 -102.723 1 - 0 3 1.5707963267949 3 -7 1 0 8 9 2 -0.776999999999999 17.67 -103.5 1 -0.776999999999995 17.4349695996033 -103.5 1 -0.827775318736075 17.1999254454131 -103.5 0.999999999999992 -0.894695730696685 16.8974935540275 -103.5 1.00000000000002 -0.89705142987562 16.5031420104551 -103.5 0.999999999999977 -0.747938021393283 16.0688270293687 -103.5 1.00000000000002 -0.429394567587257 15.7058195696457 -103.5 0.999999999999987 -0.00470405685716868 15.507 -103.5 1 0.42 15.507 -103.5 1 - 0 9 1.5707963267949 9 -7 1 0 2 3 2 62.25 -16.83 -101.757 1 62.25 -17.25 -101.757 0.707106781186548 61.83 -17.25 -101.757 1 - 0 3 1.5707963267949 3 -7 1 0 7 8 2 61.83 -17.25 -101.757 1 61.83 -17.25 -102.148128285372 0.999999999999998 61.752 -17.1476006907405 -102.539254678666 1 61.6272 -16.9428184247984 -102.898223917855 0.999999999999999 61.4868 -16.6482239178544 -103.192818424798 0.999999999999999 61.362 -16.2892546786661 -103.397600690741 1 61.284 -15.8981282853719 -103.5 1 61.284 -15.507 -103.5 1 - 0 8 1.5707963267949 8 -7 1 0 2 3 2 62.25 -15.507 -102.534 1 62.25 -15.507 -103.5 0.707106781186548 61.284 -15.507 -103.5 1 - 0 3 1.5707963267949 3 -7 1 0 2 3 2 62.25 15.507 -102.534 1 62.25 15.507 -103.5 0.707106781186548 61.284 15.507 -103.5 1 - 0 3 1.5707963267949 3 -1 61.284 -17.25 -103.5 0 1 0 -1 -0.777 17.25 -103.5 0 1 0 -7 1 0 2 3 2 0 41.034237510085 -102.723 1 -1.11022302462516e-016 41.034237510085 -103.5 0.707106781186548 -0.777 41.034237510085 -103.5 1 - 0 3 1.5707963267949 3 -7 1 0 2 3 2 0 44.5780214904161 -99.5415932565253 1 1.66533453693773e-016 45.0019972382869 -99.5415932565253 0.703767978405767 -0.423956931359354 44.9980028503527 -99.5415932565253 1 - 0 3 1.5707963267949 3 -7 1 0 7 8 2 -0.777 41.034237510085 -103.5 1 -0.780300596040507 41.9225019061721 -103.5 1 -0.732484541788464 42.8107965980783 -103.267456638111 0.999999999999989 -0.651726709266946 43.6258587651758 -102.803602204523 1.00000000000002 -0.558303897538463 44.297206450656 -102.136292792789 0.999999999999981 -0.475734187145863 44.7643271232343 -101.320474585748 1.00000000000001 -0.423956931359352 44.9980028503527 -100.431060118921 0.999999999999997 -0.423956931359354 44.9980028503527 -99.5415932565253 1 - 1.0578624220219e-018 8 1.5707963267949 8 -7 1 0 2 3 2 0.42 -15.507 -103.5 1 0.42 -17.25 -103.5 0.707106781186548 0.42 -17.25 -101.757 1 - 0 3 1.5707963267949 3 -1 0 -15.507 -103.5 1 0 0 -7 1 0 2 3 2 0 -44.5780214904161 -99.5415932565253 1 4.49640324973188e-015 -45.0019972382869 -99.5415932565253 0.703767978405767 -0.42395693135935 -44.9980028503527 -99.5415932565253 1 - 0 3 1.5707963267949 3 -7 1 0 7 8 2 -0.777000000000002 -41.034237510085 -103.5 1 -0.780300596040508 -41.9225019061722 -103.5 1 -0.732484541788425 -42.8107965980783 -103.267456638111 0.999999999999989 -0.65172670926709 -43.6258587651757 -102.803602204522 1.00000000000002 -0.558303897538328 -44.297206450656 -102.136292792789 0.999999999999981 -0.475734187145905 -44.7643271232343 -101.320474585748 1.00000000000001 -0.423956931359348 -44.9980028503527 -100.431060118921 0.999999999999997 -0.42395693135935 -44.9980028503527 -99.5415932565253 1 - 0 8 1.5707963267949 8 -2 0 0 -103.5 0 0 1 -1.89443403726761e-011 1 0 -1 -1.89443403726761e-011 0 41.0415932565253 -7 1 0 2 3 2 -0.776999999999999 -17.67 -103.5 1 -2.22044604925031e-016 -17.67 -103.5 0.707106781186548 -2.77555756156289e-017 -17.67 -102.723 1 - 0 3 1.5707963267949 3 -7 1 0 8 9 2 -0.776999999999999 -17.67 -103.5 1 -0.776999999999997 -17.4349695996033 -103.5 1 -0.82777531873607 -17.1999254454131 -103.5 0.999999999999992 -0.894695730696698 -16.8974935540275 -103.5 1.00000000000002 -0.897051429875597 -16.5031420104551 -103.5 0.999999999999977 -0.747938021393309 -16.0688270293687 -103.5 1.00000000000002 -0.429394567587243 -15.7058195696457 -103.5 0.999999999999987 -0.00470405685717024 -15.507 -103.5 1 0.42 -15.507 -103.5 1 - 0 9 1.5707963267949 9 -7 1 0 2 3 2 0 -41.034237510085 -102.723 1 -1.88737914186277e-015 -41.034237510085 -103.5 0.707106781186548 -0.777000000000002 -41.034237510085 -103.5 1 - 0 3 1.5707963267949 3 -1 -0.777 -45 -103.5 0 1 0 -2 45 0 -103.5 0 0 -1 -1 -1.83690953073357e-016 0 -1.83690953073357e-016 1 0 13.758371506632 -2 31.241628493368 -2.52728837479055e-015 -105.558371506632 -1.83690953073357e-016 1 0 -1 -1.83690953073357e-016 0 0 0 1 2.05837150663203 -2 45 0 -105.558371506632 0 0 -1 -1 -1.83690953073357e-016 0 -1.83690953073357e-016 1 0 11.7 -1 33.3 -2.86557886794436e-015 -90 0 0 -1 -2 45 0 -125.441628493368 0 0 -1 -1 0 0 0 1 0 11.7 -2 35.358371506632 0 -125.441628493368 0 -1 0 -1 0 0 0 0 -1 2.05837150663203 -2 45 0 -127.5 0 0 -1 -1 0 0 0 1 0 9.64162849336797 -Polygon3D 0 -PolygonOnTriangulations 0 -Surfaces 66 -1 0 0 -75 0 0 1 1 0 0 0 1 0 -7 0 0 0 0 0 1 -6 0 6 0 0 75 30 0 50 42.5 0 0 42.5 0 -7.5 15 0 -37.5 15 0 -50 15 0 -75 -2 0 0 -45 0 0 -1 -1 0 0 0 1 0 6.75 -9 1 1 0 0 2 10 3 101 2 12 -29.0088594295159 8.64040153111304 -14.6175776175105 1 -29.2407255712199 9.49431745022744 -13.0257913447529 1.00000000000002 -29.4248000591358 10.3206949952092 -11.4286182356303 0.999999999999909 -29.5601980803567 11.1193428879692 -9.8259261728664 1.00000000000021 -29.6468726002307 11.8903244859943 -8.21834914524304 0.999999999999692 -29.6834388677216 12.6331864375146 -6.60480760407847 1.00000000000032 -29.6695727465862 13.3471996933684 -4.98583490389387 0.999999999999756 -29.605917985608 14.0327243756019 -3.36148364635642 1.00000000000013 -29.4910778665251 14.6917489473105 -1.72584356196033 0.999999999999963 -29.3219069936796 15.3235930729167 -0.073460378762892 0.999999999999999 -28.8978769659896 16.4961843415993 3.18208844046814 1.00000000000002 -28.6427429568995 17.0386610756945 4.79586848730655 0.99999999999991 -28.3635341597221 17.4922531662176 6.26026497649758 1.0000000000002 -28.0685051628608 17.9104181007026 7.67103825624489 0.99999999999973 -27.7509977883328 18.2766644703392 9.03109351154829 1.00000000000027 -27.4283647688409 18.6037435760389 10.3296418667151 0.999999999999797 -27.088672156414 18.8952470540994 11.6126203158513 1.00000000000012 -26.7450384465358 19.14781312424 12.8585458962056 0.999999999999947 -26.3940160512024 19.3638683201184 14.0955460778449 1.00000000000002 -25.9029550855724 19.6044869547269 15.812453639933 0.999999999999976 -25.7660300153039 19.665048914288 16.2897881858054 1.00000000000014 -25.6286883415277 19.7191546125313 16.7684760666558 0.999999999999669 -25.4909904471 19.7664245476211 17.2499042259119 1.00000000000052 -25.3530166385774 19.8063552621641 17.7355965872991 0.999999999999426 -25.2149313619992 19.8383090771662 18.2270270087022 1.00000000000047 -25.0770008418261 19.8614415426479 18.7257275484644 0.999999999999717 -24.9395641431145 19.8745666054753 19.2336920441673 1.00000000000012 -24.8029576568458 19.8759594938425 19.75407500387 0.999999999999963 -24.5771092086342 19.8545313243819 20.6505586517074 1.00000000000004 -24.4872508631055 19.8396900934452 21.0168073819553 0.999999999999826 -24.398142966075 19.817390471833 21.3925324056345 1.00000000000042 -24.3099897110519 19.7873320238596 21.7778562942978 0.999999999999309 -24.2226857476107 19.7475967432938 22.1773875533248 1.0000000000008 -24.1369561142231 19.6959639633838 22.5936398323377 0.999999999999328 -24.053828109581 19.6308778895409 23.0265677793645 1.0000000000004 -23.9728458097764 19.5498716126905 23.4826835910549 0.999999999999836 -23.8928453835228 19.445217893692 23.9820211638783 1.00000000000003 -23.7512817355551 19.1499784633047 25.0971546673283 0.999999999999978 -23.6795815663065 18.9505115251316 25.7632747115482 1.00000000000006 -23.6298449218469 18.6939108392562 26.4723136362387 0.999999999999902 -23.6150689086222 18.3772876555377 27.1850213274201 1.00000000000012 -23.6407451122696 18.0036951512037 27.8808440579391 0.999999999999893 -23.7202565023673 17.5748132842802 28.5037901935851 1.00000000000007 -23.8135572640275 17.1486650030537 29.0508886108878 0.99999999999997 -23.9227626595202 16.7252187590417 29.522771538112 1.00000000000001 -24.0333397824432 16.3284476336813 29.919661994943 1 -24.2245721792749 15.6602977834942 30.5458187272302 0.999999999999997 -24.3211240996388 15.3432615955207 30.8131523325356 1.00000000000002 -24.4160461667622 15.0381469706209 31.0511233033938 0.999999999999956 -24.510308465717 14.7385355295413 31.2703239963932 1.00000000000008 -24.6057190696855 14.439081938643 31.4747926074581 0.999999999999905 -24.7023305384045 14.1393237687745 31.6645256331413 1.00000000000009 -24.7988591869489 13.8412759023614 31.8401492478432 0.999999999999941 -24.8946150428981 13.5453521183556 32.0037053802429 1.00000000000003 -24.9905378049041 13.2490932504167 32.1560685731499 0.999999999999996 -25.1918385807536 12.6251774529778 32.4554076647096 0.999999999999997 -25.2971871474922 12.2974626318564 32.6000055720198 1.00000000000003 -25.4019066841417 11.9696141153532 32.7329934821168 0.999999999999919 -25.5059572445212 11.6410510440212 32.8552744882123 1.00000000000011 -25.6093290408137 11.3111850065429 32.9675637790085 0.999999999999897 -25.7119807582627 10.9795446795015 33.0704249560382 1.00000000000007 -25.8138166069595 10.6458112994255 33.164303914892 0.99999999999997 -25.91470211066 10.3097649671327 33.2495602901247 1 -26.0145186326942 9.97114178434517 33.3264964640486 1.00000000000001 -26.2428016516781 9.18103640183255 33.4857652913952 0.999999999999981 -26.370440124547 8.72744505817061 33.5622833801941 1.00000000000009 -26.4960143931783 8.26766092684981 33.6254876955256 0.99999999999982 -26.6193294957071 7.8008426897408 33.6757771817466 1.00000000000023 -26.7401663248765 7.32610178093848 33.7133985378033 0.999999999999793 -26.8582796723937 6.84242082219741 33.7384497235307 1.00000000000014 -26.9733811654751 6.34866328822273 33.7508888724975 0.999999999999923 -27.0851070956262 5.84367440181171 33.7505486109636 1.00000000000003 -27.1929711396105 5.32647325884978 33.7371557833767 0.999999999999993 -27.4393108061667 4.06310860100219 33.6732667617858 1.00000000000001 -27.5732236540922 3.30658883427844 33.6104558424763 0.999999999999967 -27.6983879841406 2.51912373545042 33.5214833581324 1.00000000000006 -27.8125501735802 1.69199080295816 33.4029682919087 0.999999999999921 -27.9130700225091 0.820794563591698 33.2520630886683 1.00000000000008 -27.9966323287411 -0.0959455106399605 33.0662604841948 0.999999999999937 -28.0582083896456 -1.05939108153184 32.8422946888876 1.00000000000004 -28.0910202962453 -2.06874054993397 32.5768984613893 0.999999999999968 -28.0892608849211 -3.10991971762558 32.2721776080486 1.00000000000002 -28.0171369077104 -5.27598332905567 31.5840336323925 0.999999999999956 -27.938734935473 -6.38815406562079 31.1976530717934 1.00000000000022 -27.8243217757209 -7.41860724065292 30.8100510046349 0.999999999999513 -27.6860420151623 -8.36389529071731 30.4336702206147 1.00000000000071 -27.5309240465076 -9.23421814573912 30.0710155845348 0.999999999999264 -27.3637834195609 -10.0376142231245 29.723003533043 1.00000000000056 -27.1886666853721 -10.7801093267707 29.3908157083771 0.999999999999685 -27.0082302856498 -11.4697854740295 29.0737266683741 1.00000000000012 -26.8234120861898 -12.1180421412544 28.76818984358 0.99999999999998 -26.2243547193869 -14.0421686758843 27.8389942725946 1.00000000000002 -25.7701211249118 -15.2785680053884 27.2114351739541 0.999999999999969 -25.2577453463977 -16.4918726064963 26.5694677861018 1.00000000000005 -24.6827908210241 -17.6865466186983 25.9104649092444 0.999999999999942 -24.0433837464675 -18.8599920947335 25.2357262866472 1.00000000000006 -23.3384028706627 -20.0094244868027 24.5473447747492 0.999999999999939 -22.5653928844977 -21.1334785228531 23.846232691592 1.00000000000005 -21.7200308240713 -22.2312617834898 23.1321973029272 0.999999999999975 -20.7966915658903 -23.3010425981114 22.4050767393244 1.00000000000001 -19.7873751746304 -24.3402281869656 21.6640699704055 1 --31.2665794362456 3.66382940962281 -12.078919496664 0.728080067159203 -31.5110961443279 4.67431962031965 -10.5796378342755 0.737447281215362 -31.7010036752624 5.64703896329888 -9.06200984908632 0.746153578691013 -31.836399016297 6.58298387782852 -7.52872039452109 0.754328342195809 -31.9181478890617 7.48339751759718 -5.98292055149104 0.762077448330685 -31.94547753796 8.34937720530728 -4.42495430826704 0.769500090739537 -31.9185116485488 9.18177489778302 -2.85628974550305 0.776684281575224 -31.8382993990319 9.98218528386539 -1.27777421986097 0.783695613018102 -31.7038038549255 10.7534882190002 0.315702636868744 0.790584522228242 -31.5117023248884 11.4961969270925 1.9281232259666 0.797447964947393 -31.0340992046071 12.8814673543666 5.07239315133099 0.811740703788615 -30.7487773111822 13.5279698595821 6.6049554173442 0.819509240930042 -30.4378522431891 14.0845507902444 8.01019927739882 0.826701585219222 -30.1124554289978 14.5971020643768 9.36105453885238 0.833452639313477 -29.7623414618642 15.0599788252655 10.6594351257172 0.840392317646552 -29.4057252879362 15.4805862647714 11.8980372295586 0.847146719465014 -29.0319128371965 15.8654238378692 13.1139615002709 0.854016334524032 -28.6523830239172 16.2111934961755 14.2896081776961 0.860943874486666 -28.2648922860785 16.5210290901457 15.4466741279331 0.868045512551369 -27.7243487319411 16.8925390017085 17.0298355827848 0.878174525381404 -27.5749020538171 16.9889561682671 17.4643726777997 0.881018761140436 -27.4250223606251 17.0793114029818 17.8980277428895 0.883898597439994 -27.2748766372287 17.1632812283463 18.331635326683 0.886815541036523 -27.1246333785443 17.2404485757815 18.7661750047314 0.889770901662176 -26.9744932995868 17.3102825982889 19.2026888841587 0.892766118996623 -26.8247426260072 17.3720522310789 19.6422938587885 0.895801143528992 -26.6758261326659 17.4246759740234 20.0862931217044 0.898870871368424 -26.528437224049 17.4665097686118 20.5363915335918 0.901959632945755 -26.2877230806386 17.5139896404269 21.2987342890916 0.907081036898312 -26.1930121291246 17.526987775299 21.6062357504335 0.90911965433727 -26.0993881489577 17.533840989263 21.9183102546397 0.911150848918723 -26.007941784856 17.5325407291717 22.2360450303065 0.913148857395886 -25.9183529816183 17.5229541100942 22.5607714350823 0.915105349829947 -25.8309878671607 17.5035282141958 22.8944039351433 0.917011231854509 -25.7479947064447 17.4706491046847 23.2377855747211 0.918811889173107 -25.6716218465358 17.421854160869 23.5894894206159 0.920386886716452 -25.6018325279601 17.3558727878406 23.9522152931396 0.921620050124574 -25.4756431644024 17.1518580994226 24.7691311616199 0.923674650619343 -25.4219893673738 17.0102202118102 25.2238541988881 0.924114195055354 -25.3875729941016 16.827331874741 25.690841046128 0.923843661535204 -25.3859496647654 16.5968800317453 26.1403425617499 0.922580968878132 -25.4072691913345 16.3475408709722 26.5340941510427 0.920439607854095 -25.4395581700668 16.0748300999574 26.9201085665094 0.918886460904036 -25.5038250779335 15.7784272204012 27.2479896317839 0.916052450263412 -25.574822876213 15.4876580115196 27.5312604866295 0.913217118351587 -25.6499981049772 15.2131063265369 27.766910467903 0.910305310922469 -25.8011616026633 14.7129379404746 28.147385619355 0.904402508069471 -25.8729010897662 14.4856083671296 28.3013625411649 0.901695315938312 -25.9495634267596 14.255954770024 28.4415932856025 0.898790050669758 -26.030613699556 14.0229351481593 28.5688652774568 0.895694281648742 -26.1142476500536 13.7883774917388 28.6838131371025 0.892506214800233 -26.1994563456614 13.5531307265469 28.7881788568011 0.88928271769443 -26.2860564671504 13.3171221426293 28.8828948795078 0.886023574395739 -26.3739196802546 13.0801467613635 28.9682636508053 0.882728460755712 -26.4625135770419 12.8420255837102 29.0458690283201 0.879442347811142 -26.6514840068715 12.3350776918562 29.1943953961937 0.872532132744816 -26.7520036034397 12.0659135462833 29.2635469388573 0.86891208638043 -26.8530297157968 11.7948534827693 29.3244009041419 0.865323266253568 -26.954300750716 11.5216843471041 29.3777184721898 0.86178398945159 -27.05560579426 11.2461667650922 29.4241267694469 0.858310076758764 -27.1567790779179 10.9680329211276 29.4641357904405 0.854914005021237 -27.2576912749877 10.6869860022066 29.4981562048224 0.851604877785974 -27.3582368258806 10.4027031953151 29.5265178467839 0.848389214238263 -27.4583164979281 10.1148442492279 29.5494888010684 0.845272556413371 -27.6894403245239 9.43707621203035 29.5908510909895 0.838311883711015 -27.8199605881712 9.04453417636757 29.6053535867129 0.83454317876214 -27.9491540087418 8.64452099393356 29.6112893561258 0.83096774541023 -28.0767849749275 8.23630507725044 29.6090045225763 0.827593106815324 -28.2026323169557 7.81905157534461 29.5986901932715 0.824423705909867 -28.3264901225145 7.39168103013733 29.5803800199952 0.821462040744563 -28.4481399576416 6.95288349392837 29.5539603411808 0.818709573011789 -28.567294137598 6.50129162362983 29.5191933843005 0.81616740974605 -28.6835098895568 6.03581519372778 29.4757538501324 0.813836758203704 -28.9528350833619 4.88812654729721 29.350201136363 0.808788410890138 -29.1020158123006 4.19371955408645 29.2597304454777 0.80627758403296 -29.244126238183 3.46597654254045 29.1509515365158 0.804154492304891 -29.3771047815295 2.6957219383493 29.0205099122013 0.8024261857868 -29.4985531034676 1.87795355089871 28.8658426563148 0.801111267259747 -29.6053591623677 1.01024930944431 28.6847242298854 0.80023342108101 -29.6924731916831 0.0896202648227389 28.4738857381441 0.799820644145269 -29.7526613520647 -0.885739627791626 28.2295025013571 0.799894673686231 -29.7790756794565 -1.90351297298631 27.9523084022557 0.800435106705978 -29.7649670849291 -4.03376959833379 27.3318269204714 0.802278864617854 -29.7157315813085 -5.13919885918178 26.9862128225433 0.803708836265491 -29.6272940021646 -6.1711125409188 26.6405598550223 0.805377263146767 -29.5115270468286 -7.125949745652 26.3043530728764 0.807137276764247 -29.3753994393668 -8.0112404579667 25.9793066672118 0.808914314372732 -29.2242172406913 -8.83269583660315 25.6665662565235 0.810676012504776 -29.0624834793154 -9.59579457765813 25.3671387763244 0.81239486078486 -28.8928042197218 -10.308363337404 25.0799696340879 0.814053129982468 -28.716661400192 -10.9801008563727 24.8028949113705 0.815685736191522 -28.148440304083 -12.9553145306901 23.9684483328353 0.820635297120419 -27.7146093000478 -14.221993210937 23.4065125708169 0.8239758183205 -27.2229134980022 -15.4651829799127 22.8316890069805 0.827349305287166 -26.6683930924384 -16.6912301556025 22.2419945631027 0.830824721192309 -26.0485119121334 -17.8984258650905 21.6390402266672 0.8344417827627 -25.3617271011018 -19.0841980231857 21.0251829259987 0.838219946774931 -24.6053056437622 -20.2473565387155 20.4019438521719 0.842188301030969 -23.7745062546928 -21.3874371741618 19.7700781899736 0.846394729868566 -22.8627346846178 -22.5034101622745 19.1303984768599 0.8508958131865 -21.8601882380247 -23.5936828194268 18.4835064702306 0.855772006866603 --36.92411668581 5.73465335530148 -12.1898934553887 1 -37.0424213846278 6.63347930884621 -10.6343709291388 1.00000000000002 -37.1140275602561 7.49596023576085 -9.06921282010592 0.999999999999909 -37.1381386075299 8.32341664013197 -7.49588048550912 1.00000000000021 -37.1134972161232 9.1176509913318 -5.91404659742136 0.999999999999692 -37.0387500377234 9.87937448718868 -4.32425958339435 1.00000000000032 -36.91328388951 10.60835508806 -2.72934243856591 0.999999999999756 -36.7367792576103 11.3050121050287 -1.13112642966715 1.00000000000013 -36.5074977775027 11.9720659863535 0.475390321684161 0.999999999999963 -36.2210912811968 12.6137353058182 2.10287992191605 0.999999999999999 -35.525669684758 13.8443681724907 5.40706653903843 1.00000000000002 -35.102298894978 14.4540957439782 7.14077504103338 0.99999999999991 -34.6610349067985 14.9488880232669 8.6751459445042 1.0000000000002 -34.2136088088331 15.3919662171863 10.118070227374 0.99999999999973 -33.7438919687184 15.7870145693035 11.5064210709415 1.00000000000027 -33.2597754316432 16.1334532866365 12.8242593804477 0.999999999999797 -32.7666640769566 16.4377985481774 14.0917469848717 1.00000000000012 -32.2635168699438 16.6993206246316 15.3104085246822 0.999999999999947 -31.7528857161794 16.9185160543973 16.4897466437827 1.00000000000002 -31.0388023324397 17.1580509239923 18.07797364248 0.999999999999976 -30.8397584987089 17.2177447680281 18.5142887227638 1.00000000000014 -30.6400981074096 17.2704091731044 18.9462432955787 0.999999999999669 -30.4400412173597 17.3157599154943 19.3743074068688 1.00000000000052 -30.2398156120768 17.3534328762499 19.7990396093341 0.999999999999426 -30.0396650850796 17.3829567923682 20.2210513262057 1.00000000000047 -29.839936878823 17.4037039605152 20.6409757537608 0.999999999999717 -29.6412482772749 17.4148188935279 21.0594413023079 1.00000000000012 -29.4447323521208 17.4151249295057 21.4770495759277 0.999999999999963 -29.1242479838756 17.3949396487484 22.1722782838355 1.00000000000004 -28.9981184049769 17.3812294347451 22.4501166999049 0.999999999999826 -28.8736960934715 17.3621310681751 22.7279972472775 1.00000000000042 -28.7528743873233 17.3352986147681 23.0075697753086 0.999999999999309 -28.6354449675415 17.3017099743292 23.2881191957229 1.0000000000008 -28.5217765111778 17.2603923284344 23.5709306879404 0.999999999999328 -28.4153505245484 17.2078311978629 23.8573456698423 1.0000000000004 -28.3215867627882 17.1440566056766 24.1419212168085 0.999999999999836 -28.2429175480816 17.0735124889224 24.4180834134046 1.00000000000003 -28.1033833716349 16.8750731300155 25.045218217098 0.999999999999978 -28.0579316648479 16.7543465525698 25.3694048437913 1.00000000000006 -28.041640108571 16.6145674721733 25.6870500535776 0.999999999999902 -28.0704478955358 16.4556595409262 25.976693815774 1.00000000000012 -28.1242032126815 16.3090288414551 26.2083860478582 0.999999999999893 -28.1579164741314 16.1456576747713 26.4604183049912 1.00000000000007 -28.2510973476539 15.9616714007264 26.688888760976 0.99999999999997 -28.348075549181 15.7767474715179 26.8977119793055 1.00000000000001 -28.4526863640029 15.5995190412563 27.0796662842066 1 -28.6779899159956 15.2542560766286 27.4029971826305 0.999999999999997 -28.7813443940741 15.1011543568017 27.5331178965301 1.00000000000002 -28.8962775232582 14.9384499628475 27.6636529877547 0.999999999999956 -29.0213194999033 14.7675500273443 27.7900617585296 1.00000000000008 -29.1516786042272 14.5919314723155 27.909618743595 0.999999999999905 -29.2851232860536 14.4120574858429 28.0238526398335 1.00000000000009 -29.4218745510909 14.2270507929937 28.1335836600765 0.999999999999941 -29.5618991150798 14.0366983546121 28.2379989600863 1.00000000000003 -29.7033653068728 13.8412325213105 28.3381022664412 0.999999999999996 -30.0048724191776 13.4174644402786 28.5397705505811 0.999999999999997 -30.165176200295 13.1879113108089 28.6404074347553 1.00000000000003 -30.3265901446106 12.951288907011 28.7358703066438 0.999999999999919 -30.4884251305198 12.7074749525781 28.826241069733 1.00000000000011 -30.6500875844305 12.4563681858769 28.9115443440397 0.999999999999897 -30.8111122425144 12.1978204519401 28.9917800234821 1.00000000000007 -30.9711594184875 11.9316133634766 29.0669382355547 0.99999999999997 -31.1299767774614 11.6574795311039 29.1369967033417 1 -31.2873256158224 11.3751683626069 29.2019005098115 1.00000000000001 -31.6469492196088 10.7032713742712 29.3397510826094 0.999999999999981 -31.8479721276272 10.3076665597457 29.4089151914039 1.00000000000009 -32.0453716057154 9.8971923981922 29.4687919679331 0.99999999999982 -32.2386685750973 9.47137691162904 29.5191342845917 1.00000000000023 -32.4274498755373 9.02964414330971 29.5596472566241 0.999999999999793 -32.6113338733368 8.57122875587555 29.5899707114313 1.00000000000014 -32.7899254456397 8.09518681812607 29.6096693797102 0.999999999999923 -32.962760340902 7.60050278033441 29.6182308083351 1.00000000000003 -33.129238915673 7.08629263816185 29.6150709950795 0.999999999999993 -33.5090331444145 5.81279059393787 29.5780637232541 1.00000000000001 -33.7150996549532 5.03689243976256 29.5329267298223 0.999999999999967 -33.9073331282641 4.21600166702223 29.4626263098891 1.00000000000006 -34.0835864759486 3.3423560492391 29.3640018605301 0.999999999999921 -34.240628736082 2.41033634602568 29.2335308367509 1.00000000000008 -34.3738571733474 1.41647479928687 29.0674204116269 0.999999999999937 -34.4766203685069 0.359981706151459 28.8617198955851 1.00000000000004 -34.540698750344 -0.754202294025407 28.6136712192734 0.999999999999968 -34.559489023234 -1.90782058107633 28.3255147850365 1.00000000000002 -34.5083795585353 -4.34609171845988 27.6591881473113 0.999999999999956 -34.4266127430634 -5.59523321814838 27.2834659799014 1.00000000000022 -34.2977768152433 -6.76507863553337 26.9011552451361 0.999999999999513 -34.1373475349422 -7.84330084896105 26.5264484404412 1.00000000000071 -33.9525097550419 -8.84138430743263 26.161622120708 0.999999999999264 -33.7529713649408 -9.76282703422307 25.8108676198679 1.00000000000056 -33.5435710943539 -10.6171730605026 25.4743892515194 0.999999999999685 -33.3213604032092 -11.4250315867306 25.1458753551734 1.00000000000012 -33.0957423185859 -12.1740322201872 24.8327761841066 0.99999999999998 -32.4273789723448 -14.2025470163027 23.9646603381991 1.00000000000002 -31.9363452511473 -15.4630704976061 23.3960754864394 0.999999999999969 -31.3914887795675 -16.6861910697493 22.8213924825811 1.00000000000005 -30.781464937815 -17.8923659813922 22.2316857231687 0.999999999999942 -30.102730131984 -19.0813253134243 21.6274475536217 1.00000000000006 -29.3548397129446 -20.2479644302101 21.0122504939331 0.999999999999939 -28.5349497014198 -21.3901419882102 20.388077743926 1.00000000000005 -27.6372916155859 -22.5076266538155 19.7554414204548 0.999999999999975 -26.6557442092951 -23.5975722831954 19.1160873837827 1.00000000000001 -25.5799804406246 -24.6580379211102 18.4707649156211 1 - -0 3 -85.5474060930531 3 - --14.5199469043064 11 -0 9 -14.5291727688715 9 -20.1145592564379 9 -23.8343337090937 9 -27.6020534437338 9 -31.1030887497826 9 -34.982237474143 9 -40.071710010972 9 -47.1154888072535 9 -55.0406318394778 9 -71.0274591887468 11 - -9 1 1 0 0 2 7 3 8 2 2 -29.1697097253819 15.7382456318044 1.08158343478944 1 -29.2365832446304 15.5473799282132 0.597990340742279 1 -29.3191288316824 15.3215690323272 0.157247197383298 1.00000000000001 -29.4166131996857 15.061007759907 -0.256183096014942 0.999999999999975 -29.5327528054267 14.7542957399389 -0.65570612728425 1.00000000000002 -29.6654039505672 14.4044666008308 -1.02592292172459 0.999999999999991 -29.8136870896521 14.012225601761 -1.35601518021812 1 -29.9716379535258 13.5914611286584 -1.63438980925443 1 --31.3381943447495 11.9925415914136 3.05747127765955 0.802532240725348 -31.380968524107 11.8752254571821 2.95677384373076 0.797149323598519 -31.4315576314817 11.7415940405357 2.90710651298216 0.79055266483138 -31.4849140509364 11.6046786487601 2.92474635163564 0.782627087479718 -31.5018933533543 11.5370805835435 2.971881538497 0.777231174033703 -31.508889843098 11.4901904790444 3.01867736308705 0.772060970952459 -31.501932843758 11.4752679938131 3.06636759495978 0.767712682489713 -31.4886409594059 11.4798335174026 3.10535025108523 0.763935282431164 --35.97188250604 13.049673288782 3.27693350342051 1 -36.0710388778126 13.0684335125163 3.27243662992259 1 -36.1910201808892 13.0911265353689 3.26700321330725 1.00000000000001 -36.3350501230786 13.1183501285247 3.26050028744055 0.999999999999975 -36.4226995068698 13.1348974281278 3.25656417777386 1.00000000000002 -36.5037939503909 13.150213582642 3.25291551860048 0.999999999999991 -36.5673601178463 13.1622126727278 3.25006257966124 1 -36.6209520409894 13.1723276501399 3.24765872082811 1 - -0 3 -1 3 - -0 8 -1 8 - -9 1 1 0 0 2 6 3 7 2 2 -26.7279667795255 -12.4177348949006 28.6225047204278 1 -26.5229379702374 -13.1450243937334 28.2402414925191 1 -26.3601655236766 -13.8542823448179 27.6821333611681 1.00000000000001 -26.2634163065121 -14.5013544127288 26.9400384350806 0.999999999999989 -26.2525063503719 -15.0442274107327 26.0386847029394 1.00000000000001 -26.3634627468035 -15.408745075408 25.0159569853428 1 -26.5611291175064 -15.5894671074197 24.0031604645617 1 --28.6255557356316 -11.2893087727186 24.6714194519968 0.816461604603001 -28.6396203873416 -11.3805561871103 24.5977540093392 0.817597980717261 -28.6687345828951 -11.473380478698 24.5072816582523 0.819241698811718 -28.7164967204412 -11.5554753240389 24.3944741336596 0.821320738206869 -28.7481531626006 -11.6632092682924 24.2721411217595 0.82191117936126 -28.8020935672566 -11.7556378615799 24.0162372977495 0.821533071351212 -28.8762759331295 -11.7856824938064 23.7277362294703 0.820347387836606 --32.9913821094215 -12.4826328512183 24.6997368589421 1 -33.0094266714301 -12.4860848084462 24.7004271028005 1 -33.0312200978205 -12.4902535667643 24.7012603349794 1.00000000000001 -33.0521723476154 -12.49426134518 24.7020613210741 0.999999999999989 -33.0929104194585 -12.5020529178159 24.703617711394 1.00000000000001 -33.1346317085722 -12.5100298880301 24.7052086501772 1 -33.167299934271 -12.5162753196784 24.7064536648613 1 - -0 3 -1 3 - -0 7 -1 7 - -9 1 1 0 0 2 9 3 66 2 9 -22.6981976062883 -11.8823197614311 38.8794395189041 1 -23.1705801731034 -12.4005671785085 37.3649017351924 1.00000000000003 -23.6260875665103 -12.8901309857485 35.8408927161904 0.999999999999905 -24.0650795875023 -13.3504375320521 34.3080789289377 1.00000000000018 -24.4884034837418 -13.7814126639979 32.7650570842054 0.99999999999976 -24.895870197471 -14.1814043538657 31.2128353308191 1.00000000000022 -25.2866015704233 -14.5484125935932 29.6547194833201 0.999999999999866 -25.660519777135 -14.8820068410195 28.0916944105907 1.00000000000005 -26.0202502580015 -15.1833113049095 26.5133907130758 0.999999999999991 -26.7417116760179 -15.7301033287562 23.1796196565172 1 -27.1179539551873 -15.9838144792877 21.3493038339813 1.00000000000002 -27.4787707912679 -16.1812428164404 19.4799923951611 0.99999999999996 -27.8252617415185 -16.3249874554913 17.5687910144403 1.00000000000005 -28.1684273171024 -16.3988579609857 15.5552388835183 0.999999999999966 -28.4935804065255 -16.3834229609389 13.5025324403018 1.00000000000002 -28.8107443252818 -16.2531517714414 11.3792100592221 0.999999999999993 -29.1225071561247 -15.9711296788862 9.2233708037941 1.00000000000001 -29.5706377524159 -15.2845459891042 6.17902228092116 0.999999999999992 -29.7013652007727 -15.0518329981906 5.29709017269247 1.00000000000006 -29.8339305800095 -14.7812114185944 4.41604992851394 0.999999999999842 -29.9691175628935 -14.4687389713856 3.5384051543814 1.00000000000024 -30.1077915352018 -14.1098258484518 2.66716699733869 0.999999999999755 -30.250805367147 -13.6991424623733 1.80610841469859 1.00000000000017 -30.3987639488113 -13.2309557274258 0.960136131461075 0.999999999999927 -30.5516474895883 -12.6998938717507 0.135780286070951 1.00000000000001 -30.8529368404976 -11.5501879342658 -1.39133903312425 1 -31.0007778161291 -10.9413659381897 -2.09853738087235 0.999999999999969 -31.1510386609559 -10.2727245334266 -2.77381320510626 1.00000000000006 -31.302086804012 -9.5415305653019 -3.40869716116756 0.999999999999919 -31.451147820377 -8.74887897822783 -3.99417497808283 1.00000000000007 -31.5947626402614 -7.89786514424378 -4.52195501478516 0.999999999999958 -31.7293705207526 -6.99051384390886 -4.98499138512074 1.00000000000002 -31.8513992032366 -6.02766121790049 -5.37719500866035 0.999999999999998 -32.0655749765079 -3.96101614415334 -6.02081830223901 0.999999999999999 -32.1584698222884 -2.83313736261592 -6.2705614185158 1.00000000000001 -32.2266392093465 -1.65723725138087 -6.42390368696023 0.999999999999996 -32.2639626801592 -0.455688233566694 -6.47335131720794 1 -32.2666563153044 0.746694853796214 -6.42231439612179 0.999999999999995 -32.2339574756619 1.92390207288455 -6.28355347227075 1.00000000000001 -32.168807743012 3.05192057230279 -6.0763870912571 0.999999999999987 -32.0780155033115 4.10961163058871 -5.8237817093927 1.00000000000001 -31.9045619840119 5.67667581156974 -5.37917395003835 0.99999999999998 -31.8311329908873 6.2471554388629 -5.198638652413 1.00000000000011 -31.7522074160886 6.78836284276387 -5.01182390776539 0.999999999999777 -31.6687187148135 7.30304481354189 -4.82091918897408 1.00000000000029 -31.5814560081867 7.79330381340861 -4.62756439367953 0.99999999999974 -31.4910847609967 8.26096926750157 -4.43301553020806 1.00000000000016 -31.3981511479444 8.70781984142057 -4.23823075024249 0.999999999999942 -31.3030701084022 9.1356567052786 -4.0438767282668 1 -31.0491615559692 10.2106723098541 -3.53690979111619 1.00000000000001 -30.8872764237831 10.8298675029347 -3.22554332761994 0.999999999999916 -30.7218417020591 11.4105159542391 -2.91793409273077 1.00000000000018 -30.5532843564489 11.9585289138361 -2.61466582387638 0.999999999999751 -30.3826887049005 12.4771199729854 -2.31627667241061 1.00000000000024 -30.2100931698264 12.9703172894652 -2.02259156272635 0.999999999999841 -30.0355594786632 13.4408621502984 -1.73383137063968 1.00000000000007 -29.8618793687506 13.8853455429822 -1.45289061803672 0.999999999999991 -29.144498174995 15.6353853321146 -0.326943860013408 0.999999999999995 -28.5504137934031 16.8767213346126 0.535669781910123 1.00000000000004 -27.8962242287329 18.0803465971667 1.41750094597479 0.999999999999914 -27.1709259242487 19.2563499001996 2.32725233316262 1.00000000000011 -26.3735733877812 20.3980665654728 3.25891634854533 0.999999999999903 -25.5037416975174 21.5019549391565 4.20550077454288 1.00000000000007 -24.5562043525115 22.5698565639884 5.16538423519156 0.999999999999966 -23.5244235666573 23.5999328596107 6.13603846717161 1.00000000000001 -22.3992981866246 24.5901786762078 7.115466443104 1 --25.3084354873642 -7.29215063337637 38.457219212676 0.770350765616423 -25.7545631267461 -7.92030872895204 36.9748074263428 0.777003237206828 -26.182750728755 -8.51290183522089 35.4756877163529 0.78325227580054 -26.5935966864949 -9.06965207487168 33.961455365695 0.789129006811502 -26.9877435616145 -9.59075245362865 32.4325986145835 0.794681990619607 -27.3654010423655 -10.0752957495105 30.889332874802 0.799941139823851 -27.7263396985339 -10.5215386065092 29.3334007698523 0.804895527862067 -28.0703340585834 -10.9279184604782 27.767628518602 0.809510862612388 -28.3979640741268 -11.2937293338653 26.1905836439825 0.813812398563672 -29.0365598104314 -11.9546905388261 22.920147544621 0.822505045895682 -29.3458640969078 -12.2493369652348 21.2222061316854 0.827209867524952 -29.6498485220329 -12.5012212481882 19.4424190653389 0.831816608568952 -29.9390363162508 -12.6902222192087 17.6170079548274 0.835932279805685 -30.2136479530234 -12.811259442412 15.7389526407017 0.840404687920376 -30.4755274559616 -12.8407349276209 13.8074787462258 0.844157315398377 -30.721464948062 -12.7540265963934 11.8509641353074 0.847681949736633 -30.960577511498 -12.5119392334653 9.91320042896582 0.850159836852784 -31.2945806142983 -11.9150211267498 7.31262595755804 0.851049151301146 -31.3911091116849 -11.7119570900086 6.57370368992447 0.850998307565123 -31.4880590411908 -11.4762443874873 5.85142712039628 0.850583702196715 -31.5858703200106 -11.2058787671796 5.15071841519255 0.849735609695228 -31.6848115948052 -10.8993919974096 4.47671071584349 0.84838123085431 -31.7849024515836 -10.5559790101563 3.83413892299409 0.846454059125508 -31.8859253551138 -10.1753545729472 3.22699840563421 0.843901612068376 -31.9875290889255 -9.75733895750666 2.65845235650282 0.840691527902427 -32.1843602331009 -8.87617437705654 1.63955291374752 0.833237482342919 -32.2798443395162 -8.41682389603404 1.18234282471663 0.829091092859984 -32.3754742800976 -7.92245110951381 0.762107403338566 0.824369082662789 -32.4711593379996 -7.39187878226264 0.380565846718753 0.819080553509147 -32.5664626843297 -6.8238049154758 0.0407870341691634 0.813254167908454 -32.6604369651917 -6.21797340856256 -0.2534697126639 0.806964030320035 -32.7517217711386 -5.57541867888253 -0.499493218199483 0.800355570383837 -32.8386848755351 -4.89583611112926 -0.696457585938852 0.793648231955294 -33.0050131384828 -3.39972819032175 -0.998998643505459 0.780254727715449 -33.0834481697757 -2.57708835550994 -1.09805070439405 0.77349831558174 -33.1506981740262 -1.70688114194555 -1.13474280636067 0.767213748002564 -33.2011093600961 -0.801967193980769 -1.1073913645422 0.761902063291311 -33.2291953028782 0.123360162924238 -1.01850754486968 0.757833158653737 -33.2313106280903 1.05382711177006 -0.874703515907953 0.75499469442841 -33.2068312786734 1.97066048882765 -0.686273838385461 0.75320033760562 -33.15868157089 2.85047495738556 -0.466773466715093 0.752226812879636 -33.0520840045486 4.18619378517575 -0.0861175278457793 0.75161263724979 -33.0043311383193 4.67719733230977 0.0661884489270186 0.751607289290807 -32.9504939535287 5.14924770840083 0.223081152727175 0.751778854236521 -32.8912887483306 5.60387728352284 0.383299717540257 0.752087095694349 -32.827436406284 6.04144057694601 0.545638895897053 0.752501887820384 -32.759576757444 6.4624438977297 0.709138300241221 0.753000190288206 -32.6882244921934 6.8680590285431 0.87315311338728 0.753563982668482 -32.6137666238223 7.25981770368802 1.03730572457277 0.754179158243901 -32.4117445473812 8.24991060090571 1.46614234728486 0.755897364165517 -32.2797442327701 8.82712556712916 1.73046128244444 0.757065713483343 -32.1418315547308 9.37466540661843 1.99307711666974 0.758301679871335 -31.9989934660368 9.89602134757725 2.25329524610038 0.759563468564914 -31.8519974844582 10.3937548765607 2.51067071167112 0.760859154022644 -31.7015656275134 10.8698047844566 2.76470299262145 0.762169817361419 -31.5484651207971 11.3256007702853 3.01478411189995 0.763469530933526 -31.3929621589166 11.7630555239472 3.26107683291032 0.764784341849621 -30.722975697342 13.5443542347659 4.29085945640556 0.769656250707259 -30.1556805571157 14.8247272905097 5.09308283652905 0.773174477309021 -29.5242480779847 16.0697009052561 5.92249805942913 0.776402532740346 -28.8217581760182 17.2843927876453 6.7792904140729 0.779577146983104 -28.0467842340102 18.4652211445484 7.6559681016079 0.782862696963305 -27.1981190678414 19.6110413767282 8.54615194650575 0.786301543519602 -26.2710465284497 20.723495753899 9.44718135552785 0.789922257374868 -25.2584266437474 21.80282670857 10.3555548388568 0.793830046164852 -24.1499500294374 22.848659555193 11.2678926928903 0.798129614377546 --30.2107130719026 -8.817383125704 39.7620581818298 1 -30.5798691529105 -9.35150479827628 38.2299673097081 1.00000000000003 -30.934194051397 -9.8519346648146 36.6877781107424 0.999999999999905 -31.2741457316402 -10.3187883613445 35.1363435878402 1.00000000000018 -31.6002898507253 -10.7524943939112 33.5742418642309 0.99999999999976 -31.9122573036097 -11.1518520036118 32.0026583620263 1.00000000000022 -32.2096625175234 -11.5151335577244 30.424962500271 0.999999999999866 -32.4934157753062 -11.8418386303007 28.8418692122577 1.00000000000005 -32.7658628472826 -12.1327069357154 27.2430755816126 0.999999999999991 -33.3028199851319 -12.6503573281349 23.872155114545 1 -33.5727752659275 -12.8821251347199 22.0352711165422 1.00000000000002 -33.8234606612933 -13.0543215281661 20.1719648750824 0.99999999999996 -34.0643364019192 -13.1681903915318 18.2754672238823 1.00000000000005 -34.2860424262545 -13.2070852114897 16.3062557631287 0.999999999999966 -34.4963283393615 -13.1539221701263 14.3271674993404 1.00000000000002 -34.6925729311987 -12.9844586177381 12.328997740399 0.999999999999993 -34.8930484699634 -12.6711065630718 10.385916078687 1.00000000000001 -35.2107672396315 -12.0100251708623 7.80981718899919 0.999999999999992 -35.3068929209815 -11.7928718410714 7.08336327908898 1.00000000000006 -35.4086433093378 -11.5488431130002 6.37940639716946 0.999999999999842 -35.5176592867547 -11.2774198065603 5.70255969199523 1.00000000000024 -35.6354991811248 -10.9786270558772 5.05684431119465 0.999999999999755 -35.7634516394504 -10.6527662306718 4.44476227367051 1.00000000000017 -35.9024737839193 -10.2997797960638 3.86692908652907 0.999999999999927 -36.0532546507323 -9.91824911070598 3.32226610655393 1.00000000000001 -36.3670520414412 -9.12154066681802 2.33458658558875 1 -36.5282684194843 -8.71117963303544 1.88700067657698 0.999999999999969 -36.7003143809301 -8.2702109009029 1.46508013094956 1.00000000000006 -36.8836718102064 -7.79367005371383 1.06661404966624 0.999999999999919 -37.0782069856583 -7.27514489326142 0.691149443362352 1.00000000000007 -37.2822449375472 -6.70778548578632 0.340730915901307 0.999999999999958 -37.4918912992578 -6.08488060205978 0.0194666780287776 1.00000000000002 -37.7009386314539 -5.39934237383418 -0.266938441787055 0.999999999999998 -38.1110411035405 -3.85110520453703 -0.764571234019098 0.999999999999999 -38.3130403697858 -2.97826007262569 -0.973157454751846 1.00000000000001 -38.495846295247 -2.02282937224922 -1.12306862875871 0.999999999999996 -38.6428792037189 -0.996804667794994 -1.1971474839993 1 -38.7421725737541 0.0759470211843238 -1.1867648392017 0.999999999999995 -38.7894876303256 1.16501888755145 -1.09513764964936 1.00000000000001 -38.7876450637618 2.23957768228795 -0.935218236830806 0.999999999999987 -38.7445235400756 3.27088907913498 -0.725860846389786 1.00000000000001 -38.6268411433435 4.82591549284006 -0.34216444212198 0.99999999999998 -38.5698842448018 5.39885982473144 -0.183128779420453 1.00000000000011 -38.5031508993869 5.94821393098272 -0.0155892571739678 0.999999999999777 -38.4282216170764 6.47538457660894 0.158206194203132 1.00000000000029 -38.3464330292167 6.98137521779474 0.336435722617278 0.99999999999974 -38.2588968704508 7.46722388236503 0.517659804270725 1.00000000000016 -38.166515402977 7.93419746819062 0.700784300677171 0.999999999999942 -38.0699932831587 8.38374245953284 0.885030322654485 1 -37.8077730808562 9.51866186698131 1.36911095387182 1.00000000000001 -37.6361770322706 10.1780631682308 1.66999307023042 0.999999999999916 -37.4576391542392 10.8004918159254 1.96991187648765 1.00000000000018 -37.2728885284185 11.3917403577784 2.2685496893431 0.999999999999751 -37.083976543717 11.9540885712098 2.56407204866839 1.00000000000024 -36.8905343663904 12.4931201272458 2.85764616709379 0.999999999999841 -36.6919318380045 13.0122856241406 3.15015160356119 1.00000000000007 -36.4946621039288 13.4988474323399 3.43263310644882 0.999999999999991 -35.7247612736568 15.3114272651669 4.50924198466764 0.999999999999995 -35.0994793900912 16.5718568228227 5.32337662123553 1.00000000000004 -34.4203485432648 17.7866566880868 6.15438383951571 0.999999999999914 -33.6684753202691 18.9763114135 7.01592105790962 1.00000000000011 -32.8414285973554 20.1340174562285 7.89971584119428 0.999999999999903 -31.9395678939879 21.2544320750083 8.79632076329545 1.00000000000007 -30.9570491547887 22.3398641484586 9.7037234619581 0.999999999999966 -29.8866806383491 23.3884963079056 10.6171098613527 1.00000000000001 -28.7178572657122 24.399285774228 11.532649738401 1 - -0 3 -83.9275278422369 3 - --15.9068651330268 10 -0 8 -16.6534726290762 8 -23.432073658459 8 -29.6912718971229 8 -36.2183326056513 8 -40.308163539699 8 -46.9269097527621 8 -68.0206627092101 10 - -9 1 1 0 0 2 7 3 32 2 6 27.9584970826234 0 33.0534527532866 1 27.9710743910717 0.160281128550201 33.0192353669994 1 27.9829468879754 0.321459682052563 32.9839730611466 0.999999999999997 27.9941002483589 0.483579279577787 32.9476529310381 1.00000000000001 28.0045185114828 0.646709087608782 32.9102532780278 0.999999999999994 28.014184080844 0.810943820036211 32.8717436095149 1 28.0230777241756 0.976403738163659 32.8320846389426 1 28.0724353485352 1.99288697800268 32.5831511674457 0.999999999999998 28.0934064544595 2.88398588441846 32.3427680653473 1.00000000000001 28.0885735955184 3.80302788322386 32.0703056686265 0.999999999999977 28.0535163181065 4.69003364964853 31.7825476276339 1.00000000000002 27.9956723392245 5.53052204997914 31.4920723264937 0.999999999999987 27.9225832034888 6.30132262844809 31.2118282224259 1 27.7779580788049 7.52733825164879 30.7476271422854 0.999999999999995 27.7113245357337 8.01139766151461 30.5581410108437 1.00000000000002 27.6407072125388 8.46611679739716 30.3752069491622 0.999999999999969 27.5660953303897 8.90079445861221 30.1961608641483 1.00000000000003 27.4889525048452 9.31221037123778 30.0229877923583 0.999999999999987 27.4094851097103 9.70536868833742 29.8543504489841 1 27.2335200278683 10.5187902919107 29.4993057565623 0.999999999999997 27.1363658238228 10.9332584112536 29.3144040379174 1.00000000000001 27.0369508444373 11.3286032135236 29.1346577386303 0.999999999999987 26.9364471383251 11.7054930932429 28.9603776560354 1.00000000000001 26.8332282556379 12.0699196960519 28.7891788834058 0.999999999999998 26.7316822703776 12.4125277109986 28.626057365569 1 25.957796129205 14.8988862643784 27.425080368322 1 25.1281052877382 16.9156126862401 26.3635187154712 0.999999999999996 24.1149320090209 18.9132237431268 25.2415427402213 1.00000000000001 22.9110846262789 20.8190468876526 24.0843243025161 0.999999999999988 21.5077255352392 22.6584224889175 22.8907360595941 1.00000000000001 19.8747119276242 24.4145426569249 21.6596762958526 0.999999999999997 17.9511740429072 26.0682450758645 20.3835120121077 1 -29.565679108738 -1.09318993101345 28.6810094402171 0.800899271420501 29.58237213556 -0.940614144169006 28.6478994889126 0.800771401845229 29.5984089588467 -0.78693410218909 28.6139938845604 0.800657989877934 29.6137756352983 -0.632096472662365 28.5792753622271 0.800558951255594 29.6284567817006 -0.476018949173636 28.5437178682963 0.800474251741918 29.6424355717056 -0.318590296038824 28.5072865702071 0.80040390712738 29.6556937336377 -0.159670402006309 28.4699378693463 0.800347983229182 29.7319835639199 0.818984796263864 28.2364060554747 0.800095814523262 29.7769222928226 1.67991122091977 28.0156767514357 0.800220937703475 29.7971753979343 2.5793189293934 27.7687904602922 0.800769249071973 29.7860552238953 3.4527746919523 27.5104256883765 0.801622625382029 29.7502617740223 4.2887662186413 27.2499211267482 0.802669574004326 29.6966380266113 5.05979655355362 26.9987945475502 0.803791574169991 29.581807212117 6.29157750877849 26.5830755121779 0.805786612318326 29.5266159985513 6.77941899841826 26.413578637404 0.806644773795758 29.466329317571 7.23955214134458 26.2497740522608 0.807504173064112 29.4012263907921 7.68078447529995 26.0892736694051 0.80836586447838 29.3326852821532 8.09975167508233 25.9338329971256 0.809217960400276 29.2610579305244 8.50125797452008 25.7822433130987 0.810061295470125 29.1007186955337 9.33309163407754 25.4630172417074 0.81186072862783 29.0111122682541 9.75797130074153 25.2966298917975 0.812813446685361 28.9184569759759 10.1644665842208 25.1345502128113 0.813748381516746 28.8238253216255 10.5531122991603 24.9771235331429 0.814668434673908 28.7261496415117 10.9294787723303 24.8222565071134 0.815568684724909 28.628466212832 11.2863433338042 24.6735380403069 0.816441399388357 27.8980814613587 13.825576204542 23.6007776229681 0.822852343264839 27.1045103355657 15.8879878940262 22.6521044620217 0.828442559994215 26.128761971826 17.9353174778286 21.6494583994274 0.834296068300794 24.9579933829558 19.9016055700871 20.6182542958602 0.840647680992434 23.582717949936 21.8089960053671 19.5609802465225 0.847555369179275 21.9715773877163 23.6461264617267 18.4814144823558 0.855346145613891 20.0426046059465 25.4023059452925 17.3812115990599 0.864617289961564 -34.3183393335298 -1.50809335066634 29.0503801975633 1 34.3388949831951 -1.33393117206797 29.0194173392073 1 34.3584735368795 -1.15846696435148 28.9873767849528 0.999999999999997 34.377056760923 -0.981668865623201 28.9542448604811 1.00000000000001 34.3946242592132 -0.803489670830835 28.9200031210876 0.999999999999994 34.4111534731835 -0.623866831765159 28.8846283516817 1 34.4266196818156 -0.442722457057949 28.8480925667867 1 34.5142130895766 0.67080983059766 28.6182103405987 0.999999999999998 34.5614627491462 1.66179245513905 28.3913908281662 1.00000000000001 34.5725192828573 2.68312650410878 28.1323237934673 0.999999999999977 34.5442976593232 3.68161718464624 27.853846069405 1.00000000000002 34.4847723418129 4.6289013873271 27.5705692862456 0.999999999999987 34.4044579269031 5.50260790225137 27.2947941332122 1 34.2402117586531 6.89573567854373 26.8354029985297 0.999999999999995 34.1631155822523 7.44707098827202 26.647013446987 1.00000000000002 34.080631667327 7.96428387440554 26.4650154726633 0.999999999999969 33.9927163634721 8.46130255364886 26.2857130327858 1.00000000000003 33.9010353388267 8.93275464651625 26.1115597441409 0.999999999999987 33.8063877231891 9.3829252107313 25.941885350689 1 33.5960283119185 10.3155291014162 25.5837081774438 0.999999999999997 33.4794835644376 10.7912366229738 25.396684133264 1.00000000000001 33.3597237673833 11.246185643716 25.2141410818441 0.999999999999987 33.2385163054407 11.6793078112397 25.0370809861052 1.00000000000001 33.1149059256925 12.0975069983623 24.8635408896344 0.999999999999998 32.9849849706861 12.5147101855206 24.6872232601202 1 32.1358184101933 15.0820946769879 23.5875745000302 1 31.2537874955843 17.1047787158191 22.6398864079799 0.999999999999996 30.1792723375278 19.1320924933848 21.6323267773968 1.00000000000001 28.9010476371945 21.0697339910875 20.595201646045 0.999999999999988 27.4134942069469 22.9404493321714 19.5362328942275 1.00000000000001 25.6783106250537 24.7315320100371 18.4569322044435 0.999999999999997 23.6186062503622 26.4237288375759 17.3647188708211 1 - -0 3 -40.1085283897743 3 - -41.279068928176 8 -42.2537795453814 6 -47.2178784149788 6 -50.8373147733209 6 -55.0406334520179 6 -81.3875973179503 8 - -9 1 1 0 0 2 6 3 7 2 2 26.7327274516823 12.4017240083575 28.6301933791151 1 26.5258275804037 13.1327760236576 28.2497300158545 1 26.3615851384702 13.84513928229 27.6923650354235 1 26.2635213134052 14.4951627389297 26.9502556938148 0.999999999999998 26.2519741830921 15.0406042927456 26.046945809751 1 26.3624337358892 15.4078311791144 25.0211740191027 1 26.5611162809628 15.589460697284 24.0032158124661 1 -28.6296542304979 11.2741878879875 24.6777396952525 0.816419785868035 28.6412077626075 11.3714816427489 24.6043468205314 0.81754146780811 28.6684331157875 11.4701101599012 24.5118902646518 0.819178345137555 28.7147998737177 11.5575258559595 24.3951144464182 0.821271136524449 28.7483773457106 11.6653236566068 24.2667006332072 0.821888317985854 28.8029327890574 11.7563504377111 24.0119919939466 0.821516921033414 28.8763885973514 11.7857571778701 23.727215674965 0.820345488996517 -32.9920422876737 12.4827591443537 24.6997621120251 1 33.0099272432958 12.4861805602529 24.7004462410943 1 33.0316319099052 12.4903323274242 24.7012760652282 1 33.0523291401247 12.494291343383 24.7020673227169 0.999999999999998 33.0934298261008 12.5021522400021 24.7036375328953 1 33.1349269971371 12.5100863414438 24.7052199048674 1 33.1673378200969 12.5162825625976 24.7064551087228 1 - -0 3 -1 3 - -0 7 -1 7 - -9 1 1 0 0 2 11 3 42 2 5 22.6060163766709 11.7810184134011 39.1739166529444 1 23.0033176103695 12.2183515677981 37.9093163607251 1.00000000000007 23.3890236144469 12.63618540422 36.6383133522751 0.999999999999712 23.7633839016831 13.0340079634098 35.3609197499442 1.00000000000071 24.1266946537699 13.4119160215284 34.0773187179454 0.999999999998771 24.4792191054802 13.7696175367747 32.7871115364273 1.00000000000152 24.8209978572957 14.1062560970221 31.4901293155909 0.999999999998614 25.1517454817041 14.4207410815409 30.1874210738403 1.00000000000093 25.471029788718 14.7122672491761 28.881029903365 0.999999999999553 25.7789301156592 14.9807074661037 27.5711689475428 1.00000000000013 26.077371006853 15.226562285613 26.2494089132874 0.999999999999994 26.714893095312 15.7098270974574 23.3035805179695 0.999999999999964 27.0648756400733 15.9486973807437 21.6091926964257 1.00000000000024 27.4039790066972 16.1415785897727 19.8728063003419 0.999999999999413 27.7280207519544 16.2912294376359 18.1159188012829 1.00000000000093 28.0590135097755 16.3850949085209 16.2209629512777 0.99999999999896 28.3583287805968 16.4075931554915 14.3814277781469 1.00000000000087 28.6677362567146 16.3525339470832 12.3849690973152 0.99999999999946 28.9540354442266 16.1809525246703 10.4122365289277 1.00000000000024 29.2367273307018 15.8823947228403 8.43647477510556 0.999999999999938 29.5162940854199 15.4335280294376 6.51428384203225 0.999999999999993 29.9366852562064 14.5236550907769 3.76492354004851 1.00000000000003 30.0772564821483 14.1799488888539 2.86921235325513 0.999999999999809 30.21811017836 13.7959069198951 2.00228679646947 1.00000000000047 30.3595995563224 13.3708228746355 1.16805937798755 0.999999999999243 30.5018968805435 12.9042826975861 0.369890858744835 1.00000000000085 30.6448062441341 12.3964080663689 -0.38892962544109 0.999999999999294 30.7876857652712 11.8480571560507 -1.10513746409661 1.00000000000043 30.9294621134348 11.2609546842745 -1.77568978251874 0.999999999999796 31.06872027431 10.6377232333125 -2.39801825206315 1.00000000000008 31.2038514622511 9.98178784480378 -2.97014878802567 0.999999999999969 31.474325602407 8.55059178585617 -4.05787356607499 1.00000000000006 31.6086124471728 7.76975461055841 -4.56379178322256 0.999999999999682 31.7339341410842 6.95998940145186 -5.00635851759716 1.00000000000085 31.848419673952 6.12594224571995 -5.38541779015883 0.999999999998481 31.9503822193436 5.27196676548093 -5.70141431052249 1.00000000000199 32.0382919668338 4.40250210998273 -5.95506169435199 0.999999999998049 32.1108106698538 3.52233323482515 -6.14751816158727 1.00000000000145 32.1668635041909 2.63667425459759 -6.28077009048701 0.999999999999194 32.2057238319651 1.75101565588485 -6.35792379967654 1.00000000000032 32.2270864661591 0.870676156790482 -6.38310593339758 0.999999999999926 32.2311050305504 -1.77635683940025e-015 -6.36067282244893 1 -25.2205639226343 7.16824956791442 38.7478933385519 0.769049749277822 25.5968092591387 7.69950867235488 37.5088752515179 0.774669467183589 25.9604636849761 8.20609383190858 36.2590825594328 0.78000671184948 26.3120008763264 8.68801511666044 34.9986551656416 0.785089402074366 26.6517014774544 9.14528386654348 33.7288327153718 0.789928837742763 26.9798475406484 9.5778051667965 32.4498129448198 0.794543494387264 27.2966440571127 9.9851998525953 31.1612080951522 0.798954082218319 27.6021046654897 10.3667312387256 29.86331497413 0.803167690013836 27.8960638996531 10.7214162757249 28.5577255157526 0.807168834006705 28.1784180033153 11.0483303709014 27.2460935516046 0.810935232203889 28.4496488865056 11.3470695847407 25.9261438712925 0.814496124286949 29.01309601204 11.9303946277755 23.0403609137234 0.82217957451513 29.3017607609807 12.2080581921872 21.465850251206 0.826548695202738 29.5869433433289 12.4506133321935 19.8155318496379 0.830897985884325 29.8602358685575 12.6442280848082 18.131935294718 0.834664689225009 30.1236330116759 12.7808520944763 16.3708955973055 0.839140467664992 30.3701457247006 12.8476090690121 14.6228229728547 0.842477508970601 30.610705212357 12.8324282417709 12.7791736111313 0.846283818209546 30.8326598065973 12.702107679246 10.9656922540516 0.849123901210555 31.0476278577215 12.4397485127495 9.20340029155051 0.851193614597452 31.2565471514872 12.0402057794411 7.56439770891155 0.851681182432005 31.5614690360692 11.2564008090985 5.34393335624571 0.849684137187961 31.6623261226554 10.9623811394644 4.63905949588563 0.848558260163357 31.7620029120062 10.6379292484935 3.97814123973623 0.846933913245439 31.8602341374266 10.2858530880431 3.36481486039179 0.844790425133063 31.9567322288233 9.90906515889571 2.8002105615499 0.84213022694892 32.0512975614317 9.50993772273598 2.28338348176585 0.83897538922824 32.1438158744779 9.09023102947917 1.81230245585147 0.835360746658906 32.2341956358267 8.65132701266858 1.38492151757267 0.831327360927623 32.3222950829252 8.19451402412212 0.999865519309079 0.826920072139578 32.4078870983118 7.72107863462693 0.656249573039087 0.822192889182249 32.582172090763 6.69183859122015 0.0162786684590799 0.811810194781927 32.6703636505651 6.13178949865061 -0.271722060476968 0.806107693358864 32.7549814637245 5.55314940580225 -0.513756282566082 0.800212668473539 32.835288617572 4.95726375120133 -0.711173935689111 0.79423760031551 32.9103537351327 4.34585032149559 -0.865631303667403 0.788323568221341 32.9791462404021 3.72079198812373 -0.979271870698874 0.782629152588858 33.0405539169479 3.08368015525665 -1.0545187235767 0.777307486096385 33.0933819077502 2.43549824861099 -1.09372845061716 0.772481023612863 33.1363863609036 1.77692228054982 -1.09896128437636 0.768223600461482 33.1683920008912 1.10980105564104 -1.07214103639154 0.764559348425549 33.1885424979408 0.440454108513746 -1.01590318841068 0.761488039111754 -30.1386482953077 8.71290873445126 40.0599395720748 1 30.4493643630303 9.16424300397706 38.7807577637898 1.00000000000007 30.7499392064919 9.59257251474401 37.4947126034846 0.999999999999712 31.0404636959292 9.99781249127049 36.2019922209738 1.00000000000071 31.3213981028136 10.3803285857365 34.902713905627 0.999999999998771 31.5929349144242 10.7400674281784 33.5965173256555 1.00000000000152 31.8549153900759 11.0764031716351 32.2833683017772 0.999999999998614 32.107090470795 11.3884251273654 30.9643835510939 1.00000000000093 32.3495166541816 11.6753915852054 29.6414868154335 0.999999999999553 32.5828774462143 11.9370749141283 28.3147067905559 1.00000000000013 32.8085210017813 12.1737230381378 26.9759272702282 0.999999999999994 33.2829148629921 12.6311623287612 23.9974458599781 0.999999999999964 33.5346514474694 12.8501000283116 22.2962864059813 1.00000000000024 33.7711125429611 13.0202435375603 20.5632535730882 0.999999999999413 33.9996824064839 13.1433285394241 18.8157213926656 1.00000000000093 34.2136800562718 13.20523191905 16.9547618444992 0.99999999999896 34.4127906823458 13.1951987243399 15.1687786380281 1.00000000000087 34.6048757136648 13.1017608469478 13.2588385349303 0.99999999999946 34.7827857167149 12.8961280600081 11.4281138908173 1.00000000000024 34.9650436656308 12.570220159241 9.6652879613052 0.999999999999938 35.1633579228644 12.1315735214545 8.05269388868449 0.999999999999993 35.4946746574282 11.3322708513552 5.89053522202161 1.00000000000003 35.6109882579445 11.0415789323524 5.2115079775827 0.999999999999809 35.7337822188727 10.7294146831432 4.57994568217662 1.00000000000047 35.8632971564282 10.3990654707227 3.9972680100671 0.999999999999243 35.9994520050075 10.0530996282785 3.46177870388803 1.00000000000085 36.1420530565992 9.69256662798412 2.96933775210086 0.999999999999294 36.2908798898268 9.31700218617962 2.51479157515763 1.00000000000043 36.4456579404912 8.92490182477811 2.09353590161738 0.999999999999796 36.6059274654046 8.51432641293997 1.70258601526204 1.00000000000008 36.7708186513846 8.08330321282271 1.34052905453006 0.999999999999969 37.1218416924254 7.13507580954189 0.640681895043532 1.00000000000006 37.3085504620576 6.613635513373 0.308230713181118 0.999999999999682 37.4971129790778 6.06240310689186 0.00669044089864457 1.00000000000085 37.6847379415126 5.47878419423046 -0.263693655269293 0.999999999998481 37.8675989535082 4.8612959153073 -0.501239723829162 1.00000000000199 38.0411970880723 4.20990477473724 -0.703428735635008 0.999999999998049 38.2009246134883 3.52609723639834 -0.867542678453638 1.00000000000145 38.342668742611 2.81282199401102 -0.99127865824935 0.999999999999194 38.4632942627166 2.074442828235 -1.07327602766795 1.00000000000032 38.5608439051888 1.31684096050728 -1.11349366117183 0.999999999999926 38.6342953129211 0.547805814190778 -1.11337449715784 1 - -0 3 -39.8900200223286 3 - --11.8009947650387 12 -0 10 -13.7057874909477 10 -20.586505000513 10 -28.0890252572899 12 - -9 1 1 0 0 2 11 3 92 2 10 28.9842556127968 -8.55052880310647 -14.7848272198958 1 29.2014119207634 -9.33736904646213 -13.3230127960817 0.999999999999965 29.3786843742196 -10.1012067436303 -11.8566975084505 1.00000000000013 29.5154109873326 -10.8418988830465 -10.385755158489 0.999999999999735 29.6114779741791 -11.5594807909359 -8.91067066376961 1.00000000000035 29.6660939000924 -12.2537345389835 -7.43088216647704 0.999999999999664 29.6787045144015 -12.9241687166767 -5.9462937571977 1.00000000000027 29.6494215538233 -13.5705634920135 -4.45730284773897 0.999999999999817 29.5781756453017 -14.1935831981209 -2.96259401535507 1.0000000000001 29.4636402764762 -14.7943069975521 -1.4578589319354 0.99999999999997 29.3048106415084 -15.3708764898041 0.057490219760842 0.999999999999995 28.9633131149757 -16.3154035669367 2.68138336500844 1.00000000000002 28.796165625448 -16.7000856317431 3.79942369356966 0.999999999999848 28.6126997418515 -17.0554935063817 4.88349176519665 1.00000000000043 28.4164256414656 -17.3831058412077 5.93088634204425 0.99999999999922 28.2095152284981 -17.6859816652303 6.94594052275454 1.00000000000101 27.9933117615715 -17.9662732525753 7.93347912998533 0.999999999999033 27.7689699214419 -18.2253231730315 8.89730785232505 1.00000000000069 27.5376824655743 -18.4642406729165 9.84079975710419 0.999999999999634 27.300449199535 -18.6839347628174 10.7676683366039 1.00000000000014 27.0578435782968 -18.8846636189266 11.6820397961175 0.999999999999967 26.66258615107 -19.175100066134 13.1310685389056 1.00000000000002 26.5128215839265 -19.2770580181917 13.6711514283507 0.999999999999905 26.3615952657028 -19.3720995130034 14.2090636463842 1.00000000000021 26.2090819027329 -19.4600824605335 14.745750814652 0.999999999999686 26.0554599019496 -19.5407817681282 15.2822333465414 1.00000000000033 25.9009043505908 -19.61389908576 15.8196310583136 0.999999999999758 25.7455868478892 -19.6790396876261 16.3592290811973 1.00000000000011 25.5896821890437 -19.7356564896202 16.9025850746031 0.99999999999998 25.4333819011415 -19.7829612032254 17.4516777402559 0.999999999999987 25.276914631336 -19.8198026253116 18.0090966374562 1.00000000000001 25.0636926857783 -19.8535019518444 18.7853534451507 0.999999999999986 25.0068374957719 -19.8608648310838 18.9940042733008 1.00000000000012 24.9500153735589 -19.8665399286563 19.2043723571658 0.999999999999612 24.8932389556302 -19.8704436256138 19.4166348900333 1.0000000000008 24.836525958416 -19.8724694573869 19.6309996849941 0.999999999998861 24.7798991783233 -19.8724881137418 19.8477051750378 1.00000000000118 24.7233864916826 -19.8703474388365 20.0670204129345 0.999999999999103 24.6670208548092 -19.8658724311633 20.289245071349 1.0000000000005 24.6108403039465 -19.8588652435952 20.5147094427549 0.999999999999815 24.5548879553077 -19.8491051833562 20.7437744394842 1.00000000000003 24.4089604057019 -19.8156702694891 21.3546209410239 0.999999999999977 24.3194002349742 -19.7870809273762 21.743088885578 1.00000000000005 24.2312783953631 -19.7491644305717 22.1429546471245 0.99999999999987 24.1424224722163 -19.7015260104716 22.5623047587907 1.00000000000027 24.0593751924861 -19.6385918712965 22.9915148443176 0.999999999999567 23.972262869473 -19.5652689895999 23.4531612607971 1.00000000000054 23.8951124638301 -19.4642919248365 23.9363468031379 0.999999999999497 23.8190146071424 -19.3495470917568 24.443074230444 1.00000000000035 23.7495761709519 -19.1910561801157 25.0158606738308 0.999999999999819 23.6997730871899 -18.9861746421294 25.6182031212212 1.00000000000007 23.651340768697 -18.5209431970348 26.759674709878 0.999999999999908 23.6477429893515 -18.2744799920932 27.2875858867518 1.00000000000047 23.6657975843101 -18.0056297513489 27.7864401477393 0.999999999998808 23.7045111469601 -17.7211730839765 28.2446681202556 1.00000000000202 23.7580532563579 -17.4318160811118 28.6573635565033 0.999999999997506 23.8207877064038 -17.1449176098074 29.0266511860275 1.00000000000231 23.8892302100516 -16.8632297793875 29.3585278245046 0.999999999998376 23.9609906931046 -16.5883646409966 29.6582424326777 1.00000000000085 24.0343457632793 -16.3209925508542 29.9302658434426 0.9999999999997 24.1099940757811 -16.0559152469907 30.1827344831804 1.00000000000005 24.2788536789948 -15.4840998621682 30.6911566603028 0.999999999999978 24.3704904632239 -15.1835163397315 30.9379423756314 1.00000000000001 24.4634925234909 -14.8856658592632 31.1645555094392 1.00000000000004 24.5572599816383 -14.5903236646823 31.3735038638429 0.999999999999861 24.6512104050473 -14.2975768922886 31.5666254106055 1.00000000000026 24.7449649934906 -14.0072783292967 31.7455723616861 0.999999999999672 24.8383649413576 -13.7189521727785 31.9118909499453 1.00000000000031 24.9313873448307 -13.4319635496399 32.0668946917597 0.999999999999785 25.0240300243432 -13.1457635577176 32.2115288994372 1.00000000000011 25.1162346318836 -12.8600215885959 32.3464242152505 0.999999999999963 25.3896580266744 -12.0083881399645 32.7219307485801 1.0000000000001 25.5692887008606 -11.4431759297895 32.936044265606 0.999999999999564 25.7458701512075 -10.8777899587933 33.1194859379379 1.00000000000104 25.9192300932996 -10.310006833748 33.275608291618 0.99999999999828 26.0892239249257 -9.73785031064587 33.4067589000318 1.00000000000211 26.2554688165732 -9.16004028293586 33.5146204185294 0.999999999998035 26.4173831817272 -8.57580671978375 33.60044957905 1.00000000000138 26.5743634981283 -7.98442495547511 33.6652250446085 0.999999999999288 26.7259304511787 -7.38482873136581 33.7097140211155 1.00000000000023 26.8716763706854 -6.77565739134187 33.7344675265027 0.999999999999986 27.1267110280049 -5.64027815054608 33.7441556275999 0.999999999999953 27.2380355511497 -5.1172649248825 33.7350843929528 1.00000000000035 27.3444109768662 -4.58647672364274 33.7127014047264 0.999999999999066 27.4454826328423 -4.0473064236655 33.677146285234 1.00000000000162 27.5408309635917 -3.49904315692081 33.6284119414692 0.999999999997952 27.629928143493 -2.94105118275823 33.5663772915976 1.00000000000195 27.7121474525365 -2.3730082162769 33.4909121955957 0.999999999998583 27.7868028289145 -1.79500994282681 33.4019686229462 1.00000000000077 27.8531960126237 -1.20734744916146 33.2995720912157 0.999999999999703 27.9106486941787 -0.609764301377259 33.1836274084882 1.00000000000007 27.9584970826234 -7.105427357601e-015 33.0534527532866 1 -31.240268515492 -3.55605528792172 -12.2384456814234 0.727092390301593 31.4700249159866 -4.48898317056802 -10.8608195730858 0.73575540780116 31.6539110356695 -5.38977899486831 -9.46822838470756 0.743856954477893 31.7920896837115 -6.25934615404222 -8.06257255716867 0.751496348580282 31.8852088443567 -7.09866435801224 -6.64619070836754 0.758753917108015 31.933040793599 -7.90868602698939 -5.21976464037409 0.765706671690114 31.9354417615142 -8.69018152303473 -3.78400111988678 0.772425956249505 31.8928650703493 -9.44402858369585 -2.33986477882081 0.77896857905653 31.8055740781117 -10.1716824905747 -0.886566685520899 0.785374676666371 31.6724804485894 -10.874862690104 0.579381453302499 0.791687292153033 31.492217913222 -11.5528397094671 2.05688198500264 0.798010384922368 31.106317793759 -12.671554353914 4.59483375544866 0.809600882933949 30.9192084753185 -13.1283454839759 5.66386500503283 0.814776788312033 30.7143210244042 -13.5561055305647 6.70118520075206 0.819943626275878 30.4958106305921 -13.9551755073202 7.70435086122229 0.825020851021252 30.2661352914617 -14.3282060940082 8.67665256788832 0.830005271236995 30.0266781837918 -14.67752552134 9.62190512151262 0.834927020478273 29.7785485578337 -15.0048134006266 10.5430977193678 0.839820464754234 29.5229047207922 -15.3114166662325 11.4428285751017 0.844712794110092 29.2607433479912 -15.5984314397389 12.3240285926472 0.849626739368297 28.9926494646202 -15.866435409478 13.1900779764744 0.85458754895368 28.5572773704475 -16.2634056594428 14.5512174104123 0.862633888100972 28.3932824032148 -16.4046131463617 15.0541057289313 0.865674680741648 28.2276890852615 -16.5391374663637 15.5532998761938 0.868745776130081 28.0606947187388 -16.666888786023 16.0494532778878 0.871851476500494 27.8925003185054 -16.7877058738396 16.5432738753867 0.874996002160235 27.7233037301493 -16.9013654173356 17.0355407107643 0.878183890206834 27.5533077615631 -17.0075574347936 17.5271397039948 0.881419833042179 27.3827421954123 -17.1058281734627 18.0191202742737 0.884707956605332 27.2118985475787 -17.1954917648943 18.5127743674664 0.888050538404294 27.0411764463294 -17.2755117659511 19.0097394219807 0.891446165278699 26.8096013801115 -17.3692686081084 19.6939502732655 0.896139309693771 26.7481641180096 -17.3926999924381 19.8764836153819 0.897396955755475 26.6868450014123 -17.4145934682575 20.0598231956876 0.898660300316027 26.6256704211316 -17.434872832565 20.2440777930549 0.899928988999016 26.564676712763 -17.4534400636865 20.4293689772109 0.901202281851623 26.5039099555678 -17.4701755094179 20.6158314140089 0.902479053363551 26.4434257743451 -17.4849380619146 20.8036131765756 0.903757792439366 26.3832891454591 -17.4975653166653 20.9928760646271 0.905036602430286 26.3235742082883 -17.5078737124255 21.1837959351043 0.906313201105149 26.2643640837649 -17.5156586482539 21.3765630471928 0.90758492067149 26.1110829869951 -17.5288282026634 21.8860393303322 0.910897326705315 26.0180037525694 -17.5296674211321 22.2062266193545 0.912923080792387 25.9268653929844 -17.5227634333422 22.5316818400406 0.914916985208279 25.8385075004004 -17.5039488089731 22.869418541336 0.916831731502822 25.7532974471055 -17.4789676734767 23.204112462538 0.918672631922774 25.6714946969555 -17.4311899554077 23.5735573210937 0.920423499390911 25.5985725674042 -17.3759265242109 23.9231206343243 0.921806213892731 25.5304323566798 -17.2920591195886 24.3146381201418 0.923135112273645 25.476228546631 -17.1823048702345 24.709484132808 0.923758439525319 25.4395877466521 -17.033713053923 25.1196176451547 0.923810987045981 25.4057183474131 -16.7077798578628 25.8550867348238 0.922761798440681 25.403753264946 -16.5365378107873 26.1857495980151 0.921865438462555 25.4162367659397 -16.3530217869636 26.4873868787055 0.920593700330125 25.4384349589003 -16.1643012445034 26.7604553030908 0.919185735612673 25.4692129717876 -15.9721254007115 27.0078137005984 0.917658509915273 25.5078441925335 -15.7779302770125 27.2309879512362 0.915971258995671 25.5523723437792 -15.5843021484887 27.4314060306803 0.914139115507845 25.6012132167753 -15.3924268774638 27.6119889452157 0.912189471503776 25.6542466869824 -15.2008074387347 27.7766094564926 0.910109488040837 25.7109079644857 -15.0082934809525 27.9278960392748 0.907905984855119 25.8401403983217 -14.5894382937399 28.229769882191 0.902941269943948 25.9145084915333 -14.3622041004938 28.3761544082818 0.900100608356958 25.9921445380216 -14.1342371889477 28.5080967589768 0.897144128977747 26.0721327593297 -13.9061228780195 28.6271342513833 0.894105770468246 26.1540071464289 -13.6777337191711 28.7348731739772 0.891003488824344 26.2374217976115 -13.4488517479753 28.8326186218642 0.887852948249768 26.3220326361194 -13.2193737318351 28.9213385818699 0.884671996279847 26.4075105069894 -12.9892599533143 29.0018097957682 0.881479470386523 26.4936013511196 -12.7583984241534 29.0747834714984 0.8782918832593 26.5801440917441 -12.5265687400832 29.1410005499671 0.875121533984083 26.8408898916485 -11.8271019323041 29.3208588298217 0.865751395554434 27.0158856628537 -11.356384319585 29.4154637968568 0.859633387095617 27.1905040858395 -10.8808392797328 29.4887715155481 0.853708904046473 27.3637063723845 -10.3996425183027 29.5437730124644 0.848047924560553 27.5347598148296 -9.91180624306651 29.5826207792748 0.842699164794457 27.70313307819 -9.41620215938289 29.606834642421 0.83769043068038 27.8683862551654 -8.91163677617613 29.617464122723 0.83303399834161 28.0300723268927 -8.39694278997894 29.6152090439807 0.828733796719141 28.1876733127949 -7.87103361477873 29.6005013047672 0.824791166251652 28.3406004109254 -7.33285029566872 29.5735504974109 0.821205967200397 28.6121475887629 -6.31842071828123 29.5014845183909 0.815275562036284 28.7321638484117 -5.84680836914919 29.4600533634967 0.812823536427646 28.8479741663206 -5.36551263552527 29.4100483175251 0.810610125033689 28.9592420336494 -4.87390733578739 29.3514500488135 0.808630019457767 29.065568997873 -4.37119668288988 29.2841007248021 0.806878493433734 29.1664500967026 -3.85655653597085 29.2077268521544 0.805351568543862 29.2612695809579 -3.32944370125391 29.1220351605845 0.804045044989297 29.3493274072274 -2.78979353416373 29.0267980929912 0.802953378029643 29.429885514566 -2.23782733435323 28.9218448425967 0.802069380366198 29.5022218008259 -1.67319550992559 28.8068744734005 0.801385731073904 29.565679108738 -1.09318993101345 28.6810094402171 0.800899271420502 -36.9114525414578 -5.64001699208661 -12.3533117324822 1 37.0241844446301 -6.46888769678208 -10.9251696120581 0.999999999999965 37.0979549240807 -7.26727600194751 -9.48891232756499 1.00000000000013 37.1322220830441 -8.0362080815438 -8.04565046938946 0.999999999999735 37.1260164212728 -8.77696655651313 -6.59535006185217 1.00000000000035 37.0783708424778 -9.49037228068195 -5.13813771089147 0.999999999999664 36.9886440893068 -10.1765228052435 -3.67548828318235 1.00000000000027 36.8564742433403 -10.8352970922542 -2.20952527265995 0.999999999999817 36.6812898575308 -11.4674177709107 -0.740315728725404 1.0000000000001 36.4614972186351 -12.0753439541073 0.737306661031084 0.99999999999997 36.1936531671758 -12.6627493560197 2.23420502246741 0.999999999999995 35.6301428296739 -13.6583502905996 4.90804498717432 1.00000000000002 35.3563050192831 -14.0769895645532 6.07818760620055 0.999999999999848 35.0614634702233 -14.46646555586 7.21809030657999 1.00000000000043 34.7525892241157 -14.8240006193448 8.31420911820116 0.99999999999922 34.4334943767166 -15.1519882594391 9.36747368120141 1.00000000000101 34.1058850139694 -15.4532000168583 10.3825186711028 0.999999999999033 33.7704190903564 -15.7297386611018 11.3640767874149 1.00000000000069 33.4275286352542 -15.9831778023848 12.3162395305049 0.999999999999634 33.0778499710525 -16.2145543787763 13.2422402996439 1.00000000000014 32.7221899247492 -16.4241068151002 14.1443626531936 0.999999999999967 32.1445279169413 -16.7244484785451 15.5537894511882 1.00000000000002 31.9260558533451 -16.829178371516 16.0745131927009 0.999999999999905 31.7057603478041 -16.9260514175311 16.5881839745127 1.00000000000021 31.4838218423052 -17.0149634342442 17.0952911003696 0.999999999999686 31.2604279304429 -17.0957421714292 17.5963320236782 1.00000000000033 31.0357615252883 -17.1681486757594 18.0918240910594 0.999999999999758 30.8100142598664 -17.2318601595114 18.5823213132326 1.00000000000011 30.5834251201708 -17.2864343731788 19.0684361634026 0.99999999999998 30.3563443107979 -17.3312554819921 19.5508664029609 0.999999999999987 30.1293223531226 -17.3654614463662 20.0304269346681 1.00000000000001 29.8209645538545 -17.3959994573762 20.6818707770141 0.999999999999986 29.738841010563 -17.402573681436 20.8554090080414 1.00000000000012 29.6568790299587 -17.4075260485978 21.0287480490707 0.999999999999612 29.5751213741171 -17.4107948248451 21.2019375028056 1.0000000000008 29.4936283234353 -17.4123060719655 21.3750299019111 0.999999999998861 29.4124776766287 -17.4119736475646 21.5480807089289 1.00000000000118 29.331764750733 -17.4096992050438 21.7211483163963 0.999999999999103 29.2516023811047 -17.4053721936279 21.8942940467126 1.0000000000005 29.1721209214183 -17.3988698583384 22.0675821522602 0.999999999999815 29.0934682436699 -17.3900572400135 22.2410798153161 1.00000000000003 28.8899240677568 -17.3605182214524 22.6965529636709 0.999999999999977 28.7667584233696 -17.3356686058019 22.979111193358 1.00000000000005 28.646609886766 -17.304473925636 23.2616818086719 0.99999999999987 28.5326838331592 -17.2618951638899 23.5501616015691 1.00000000000027 28.4219053175201 -17.2192217835559 23.8271587943492 0.999999999999567 28.3205780955206 -17.1493562912385 24.1359586655939 1.00000000000054 28.2331087363469 -17.0899522015291 24.4019910382483 0.999999999999497 28.1539942361922 -16.9952524467699 24.7161422424175 1.00000000000035 28.1035034998203 -16.8987559375924 24.9979137866439 0.999999999999819 28.0777252635602 -16.7781376859514 25.2892030199307 1.00000000000007 28.0752343620638 -16.5431318699378 25.7841400374568 0.999999999999908 28.0909191285674 -16.4275119848953 25.9999949541977 1.00000000000047 28.1221519329148 -16.3114282574663 26.1911585298856 0.999999999998808 28.1589505088766 -16.1967862107288 26.3644259494268 1.00000000000202 28.2025758928947 -16.0799427760796 26.5272779286794 0.999999999997506 28.2556746874953 -15.9596423954074 26.6813679297487 1.00000000000231 28.3170900029377 -15.8376870279974 26.8256170295134 0.999999999998376 28.3853576902417 -15.7144282695032 26.9612520177591 1.00000000000085 28.4613541757578 -15.5876873395132 27.0914131952055 0.9999999999997 28.5439024655438 -15.4579239041818 27.2157172929626 1.00000000000005 28.7335344990204 -15.1716979345819 27.4722231354293 0.999999999999978 28.845053618436 -15.0118006374252 27.6048473765594 1.00000000000001 28.9631256004997 -14.8477730866537 27.7307555664321 1.00000000000004 29.086214848544 -14.68001222566 27.8502571420079 0.999999999999861 29.2136088408422 -14.508070854253 27.9643149694709 1.00000000000026 29.3446867347098 -14.3315577151613 28.0735790073101 0.999999999999672 29.4786982667355 -14.1503781694471 28.1782360674058 1.00000000000031 29.6148478485536 -13.9645922853228 28.2782969960135 0.999999999999785 29.7524787576855 -13.7741671643657 28.3739425937832 1.00000000000011 29.8911523228711 -13.5789003295913 28.465549596697 0.999999999999963 30.3064780918914 -12.9821189985071 28.7264046628553 1.0000000000001 30.5849599845652 -12.5662798849803 28.8837780952273 0.999999999999564 30.8627289736051 -12.1303381268912 29.0259365432933 1.00000000000104 31.1370674260023 -11.6741915298464 29.1529883119 0.99999999999828 31.4059678715513 -11.1978206722902 29.2648002687936 1.00000000000211 31.6680935112146 -10.7010189391483 29.3611981070674 0.999999999998035 31.9225421061724 -10.1834302987965 29.4420003115275 1.00000000000138 32.168550207702 -9.6447219681688 29.5069677379943 0.999999999999288 32.4052746881733 -9.08471911105196 29.5557507135518 1.00000000000023 32.631788533371 -8.5033287142506 29.5879155667707 0.999999999999986 33.026957565185 -7.39784715678692 29.6158012934373 0.999999999999953 33.198937730412 -6.88046912843445 29.6167129252404 1.00000000000035 33.3629036766481 -6.34772676534781 29.6056241722631 0.999999999999066 33.5184416962604 -5.79929559897955 29.5822964031109 1.00000000000162 33.6650472842877 -5.23483604776969 29.5464321605782 0.999999999997952 33.8020927989474 -4.65413179924725 29.4976942528995 1.00000000000195 33.92886243414 -4.05719308543975 29.4357598711168 0.999999999998583 34.0446123902257 -3.44424178163224 29.3603622545521 1.00000000000077 34.1486141295445 -2.81549525881136 29.2712724253143 0.999999999999703 34.2401386029081 -2.17066592000102 29.1681735139999 1.00000000000007 34.3183393335298 -1.50809335066633 29.0503801975633 1 - -0 3 -54.6412405750099 3 - --13.3621716468339 12 -0 10 -10.0562883294211 10 -16.0851223894755 10 -18.2785570824938 10 -21.8341495457517 10 -24.9220782484525 10 -28.4529128143161 10 -35.4520028197241 10 -41.279068928176 12 - -9 1 1 0 0 2 7 3 8 2 2 29.1701197894859 -15.7370944029424 1.07875770887412 1 29.2369366370051 -15.5464069006072 0.596123336518001 1 29.3194445116901 -15.3207190132564 0.155890753396395 1.00000000000001 29.4169445936738 -15.0601466873206 -0.257281683805087 0.99999999999997 29.533010094448 -14.7536104781056 -0.6564036238303 1.00000000000003 29.6655358463156 -14.4041109732552 -1.02614840891079 0.999999999999989 29.8136146533064 -14.0124006208082 -1.35582712856931 1 29.9713242594093 -13.5922762932856 -1.63391552632768 1 -31.3385453542399 -11.9913107361495 3.05437139602574 0.802536928254876 31.3814047663058 -11.874033389005 2.95535324144458 0.797127288600429 31.431919951417 -11.7407524269614 2.9071593466183 0.790514060143182 31.4846696418161 -11.6051385260291 2.92557691915183 0.782629442855665 31.5015032857644 -11.5379052802829 2.97248512240209 0.77724181044904 31.5084075445449 -11.4913318785093 3.0194948276577 0.772070283824699 31.5014302051825 -11.4765579664204 3.06713118426054 0.767719469811263 31.4881582021237 -11.4811758923897 3.10611057321817 0.763935432590108 -35.9717307255571 -13.0496445721541 3.27694038687638 1 36.0714016220582 -13.0685021537962 3.27242016736817 1 36.1917473951624 -13.0912640482885 3.26697031485404 1.00000000000001 36.3349491724712 -13.118330864052 3.26050504456877 0.99999999999997 36.4224415666308 -13.1348487788168 3.25657570978438 1.00000000000003 36.5035747036036 -13.1501721735964 3.2529253835526 0.999999999999989 36.5672026017676 -13.1621829422485 3.25006964587043 1 36.6209313637121 -13.1723237474958 3.24765964830489 1 - -0 3 -1 3 - -0 8 -1 8 - -9 1 1 0 0 2 8 3 30 2 5 32.2311050305504 -7.105427357601e-015 -6.36067282244893 1 32.2314375353413 -0.0720416460368298 -6.35881665787405 1 32.2316465305823 -0.144013715299437 -6.35662187913694 0.999999999999991 32.2317321597948 -0.215913137041643 -6.35409144149306 1.00000000000001 32.2316945664999 -0.287736840516422 -6.35122830020007 0.999999999999993 32.231533894219 -0.359481754978221 -6.3480354105121 1 32.2312502864734 -0.431144809679527 -6.34451572768746 0.999999999999999 32.2308438867843 -0.502722933874761 -6.34067220698076 1 32.2220961582068 -1.68480104380705 -6.27181444290289 0.999999999999984 32.1843588537183 -2.75152411162155 -6.13171463193052 1.00000000000005 32.1200465968442 -3.75115740233286 -5.93335994479389 0.999999999999898 32.0356102858262 -4.67499414417742 -5.70034485515144 1.00000000000013 31.9364971201571 -5.52786709061942 -5.44745209528168 0.999999999999903 31.8264548650084 -6.31844634286323 -5.18241827687803 1.00000000000004 31.7082329699833 -7.05224805054759 -4.91176625984517 0.999999999999993 31.380615516921 -8.8520500429788 -4.19342014931976 0.999999999999997 31.1603799498466 -9.83948923416876 -3.74089457164326 1.00000000000003 30.9295804956135 -10.7352391763436 -3.29240182756065 0.999999999999945 30.6892803876534 -11.5588859186508 -2.84954304663342 1.00000000000006 30.4460071657769 -12.3155093063881 -2.41823147583923 0.999999999999962 30.1946423324048 -13.0284922268366 -1.99292074541749 1.00000000000002 29.9411360156513 -13.6919282559938 -1.57747409460691 0.999999999999997 29.081139378279 -15.7900889562431 -0.227190491471622 1 28.4152649462424 -17.1514402278126 0.730011456747159 0.999999999999997 27.665486147739 -18.4942303072093 1.72226823143865 1 26.8204183151304 -19.7937754294475 2.75409189209439 1.00000000000001 25.8915227376016 -21.0424390117723 3.80028386890247 0.999999999999993 24.8647066095756 -22.247797466716 4.86713189452423 1 23.7344644227473 -23.4053226812906 5.94739683748956 0.999999999999999 22.4868748168119 -24.5127714152358 7.0390156227469 1 -33.1885424979408 0.440454108513743 -1.01590318841068 0.761488039111754 33.1902170776104 0.384828940220592 -1.01122961849033 0.761233912273972 33.191806347028 0.329196093340624 -1.00634570527889 0.760984002586987 33.1933099641241 0.273560157246907 -1.00125351515483 0.760738302581347 33.194727589289 0.217925725207923 -0.995955123910921 0.760496804787585 33.1960588853868 0.162297394147711 -0.990452616635416 0.760259501736223 33.1973035177698 0.106679764388046 -0.984748087590043 0.760026385957838 33.1984611542921 0.0510774394106068 -0.978843640090203 0.759797449982927 33.2162403101522 -0.872213425897051 -0.87747785331893 0.756081017994096 33.2112276040833 -1.73158692681452 -0.735064026325525 0.753664537881306 33.1838316819737 -2.54671162056937 -0.557098593226869 0.752256005751507 33.1378440924171 -3.31924326802091 -0.357137625363513 0.751568069393091 33.0766160092246 -4.04944388893105 -0.143299457224544 0.751375213794736 33.0027766877432 -4.73555505416842 0.0796558825195479 0.751542303305064 32.9190645186675 -5.38358027339853 0.307004364925421 0.751963065909255 32.6773785700203 -6.99135723058291 0.910461783957276 0.7535590747016 32.5058855315352 -7.89436931581493 1.29054992323221 0.755036790356525 32.3183210753941 -8.7297211600527 1.6708964041878 0.756734790165114 32.1181488732109 -9.50725398883047 2.04854402387726 0.758511900931672 31.9081757570032 -10.235681360972 2.42141635801953 0.760417315739831 31.6897645061858 -10.9219922767047 2.78911667524453 0.762251479294158 31.466742896765 -11.5667278343579 3.14763521269227 0.764235714572553 30.6655118669299 -13.6974208794308 4.37925246239356 0.770103237135167 30.025988353246 -15.1102476898589 5.2742063123511 0.773997475024231 29.3011069879489 -16.4969859654904 6.21111092178096 0.777402546112885 28.4834339837532 -17.8370200692464 7.17916675637884 0.7810665504039 27.5777807982837 -19.132343456494 8.16470954329279 0.78480472396587 26.5743543235057 -20.3858238619553 9.16689524988738 0.788751288051504 25.4655304246845 -21.5975684522106 10.1791500418097 0.793029154860154 24.2357487171833 -22.7673787128057 11.1970761507761 0.797794014610908 -38.6342953129211 0.547805814190776 -1.11337449715784 1 38.6403728427529 0.484174167259035 -1.11336463726714 1 38.6462789799819 0.420460755121626 -1.11306773157006 0.999999999999991 38.6520133377644 0.356670753051818 -1.11248500094361 1.00000000000001 38.6575755292579 0.29280933632171 -1.11161766626534 0.999999999999993 38.6629651676182 0.228881680205363 -1.11046694841192 1 38.6681818660032 0.164892959974498 -1.10903406826106 0.999999999999999 38.6732252375688 0.100848350902851 -1.10732024668959 1 38.7537442767522 -0.958957881391308 -1.07435733659682 0.999999999999984 38.7858499720386 -1.95460830805689 -0.976237891699865 1.00000000000005 38.7748446992442 -2.91148363960598 -0.820405186701336 0.999999999999898 38.7299057335321 -3.8172321946776 -0.625948571373728 1.00000000000013 38.6592673528968 -4.66915190017744 -0.40650839684433 0.999999999999903 38.5687402138996 -5.46838701572204 -0.170290501553693 1.00000000000004 38.4630940896571 -6.21935794358873 0.0758312250931583 0.999999999999993 38.1534003916344 -8.07905923040511 0.739925379692892 0.999999999999997 37.9291791606157 -9.11852220498956 1.16900320196878 1.00000000000003 37.68533253611 -10.0717927381462 1.60127775542528 0.999999999999945 37.4240455258811 -10.9580702269948 2.0358229951541 1.00000000000006 37.15623786531 -11.7751405828434 2.45996213306836 0.999999999999962 36.8742840199384 -12.5567014241921 2.88733352716546 1.00000000000002 36.5811158263764 -13.2950149522474 3.31160167185599 0.999999999999997 35.6544415334907 -15.4775325073956 4.6078207159278 1 34.9579536814227 -16.8467743322436 5.50462554002494 0.999999999999997 34.1840329878018 -18.2015487292867 6.44038495503116 1 33.3040714631683 -19.5216609878484 7.42184581061913 1.00000000000001 32.3418662665107 -20.7874573308006 8.41248017673775 0.999999999999993 31.2769543278841 -22.0122765251279 9.42262474904683 1 30.1047730404709 -23.1900677936406 10.4403041423812 0.999999999999999 28.8088410286313 -24.3202780727549 11.4611845540791 1 - -0 3 -46.5246414307964 3 - -28.0890252572899 9 -28.540497915643 7 -35.5540557357405 7 -46.9269099865807 7 -74.6136666880863 9 - -9 1 1 0 0 2 10 3 101 2 12 8.64040153111122 29.0088594295155 -14.6175776175139 1 9.49431745022581 29.2407255712195 -13.025791344756 1.00000000000006 10.3206949952081 29.4248000591357 -11.4286182356327 0.999999999999757 11.119342887967 29.5601980803562 -9.82592617287019 1.00000000000052 11.8903244859956 29.6468726002313 -8.21834914524248 0.999999999999241 12.6331864375105 29.683438867721 -6.6048076040837 1.00000000000079 13.3471996933713 29.6695727465868 -4.98583490389181 0.99999999999939 14.0327243755988 29.6059179856077 -3.36148364635986 1.00000000000034 14.6917489473113 29.4910778665253 -1.72584356196033 0.999999999999873 15.323593072916 29.3219069936798 -0.0734603787645529 1.00000000000002 16.4961843415992 28.8978769659897 3.18208844046781 0.999999999999996 17.0386610756969 28.642742956899 4.79586848731193 0.999999999999981 17.4922531662139 28.3635341597203 6.26026497649515 1.00000000000005 17.9104181007007 28.068505162871 7.67103825621763 0.999999999999911 18.2766644703508 27.7509977883125 9.03109351161739 1.00000000000011 18.6037435760246 27.4283647688612 10.3296418666401 0.999999999999898 18.8952470541056 27.0886721564053 11.6126203158851 1.00000000000006 19.1478131242403 26.7450384465361 12.8585458962035 0.999999999999979 19.363868320118 26.3940160512025 14.0955460778447 0.999999999999996 19.6044869547269 25.9029550855729 15.8124536399318 1.00000000000001 19.665048914287 25.7660300153063 16.2897881857964 0.99999999999993 19.719154612535 25.6286883415268 16.76847606666 1.00000000000013 19.766424547615 25.4909904470961 17.2499042259217 0.999999999999852 19.8063552621672 25.3530166385831 17.7355965872852 1.0000000000001 19.8383090771535 25.2149313620177 18.2270270086424 0.999999999999962 19.8614415426446 25.0770008418549 18.725727548375 0.999999999999999 19.87456660547 24.9395641431319 19.2336920441112 1.00000000000001 19.8759594938451 24.802957656835 19.7540750039045 0.999999999999995 19.8545313243837 24.5771092086176 20.650558651762 1 19.8396900934442 24.4872508630966 21.0168073819845 0.999999999999987 19.81739047183 24.3981429661055 21.3925324055416 1.00000000000003 19.7873320238596 24.3099897110607 21.7778562942579 0.999999999999975 19.7475967433078 24.2226857475798 22.1773875534187 0.999999999999999 19.6959639633644 24.1369561141964 22.5936398324497 1.00000000000003 19.6308778895359 24.0538281095909 23.0265677793499 0.999999999999966 19.5498716127059 23.9728458097879 23.4826835909826 1.00000000000002 19.4452178936833 23.8928453835132 23.9820211639281 0.999999999999994 19.149978463307 23.7512817355584 25.0971546673125 1.00000000000001 18.9505115251334 23.6795815663057 25.7632747115462 0.99999999999998 18.693910839259 23.6298449218495 26.4723136362286 1.00000000000003 18.3772876555402 23.6150689086191 27.1850213274166 0.999999999999982 18.0036951512044 23.640745112269 27.8808440579504 0.999999999999987 17.5748132842707 23.7202565023728 28.5037901935776 1.00000000000004 17.1486650030697 23.8135572640195 29.0508886108859 0.999999999999957 16.7252187590288 23.9227626595258 29.5227715381184 1.00000000000003 16.3284476336798 24.0333397824437 29.9196619949442 0.999999999999977 15.6602977835078 24.2245721792698 30.5458187272203 1.00000000000004 15.3432615955105 24.3211240996419 30.8131523325478 0.999999999999753 15.0381469705996 24.4160461667714 31.0511233033992 1.00000000000062 14.7385355295452 24.5103084657151 31.2703239963954 0.999999999998958 14.4390819386659 24.605719069677 31.4747926074378 1.00000000000123 14.1393237687878 24.7023305383981 31.6645256331475 0.999999999998959 13.8412759023437 24.7988591869569 31.8401492478457 1.00000000000062 13.5453521183296 24.8946150429081 32.0037053802527 0.999999999999763 13.2490932504238 24.9905378049012 32.1560685731465 1.00000000000003 12.625177453034 25.1918385807315 32.4554076646939 1 12.2974626319101 25.2971871474716 32.6000055720101 0.999999999999895 11.9696141153582 25.4019066841403 32.7329934821169 1.00000000000028 11.641051043963 25.5059572445427 32.8552744882276 0.99999999999955 11.3111850064651 25.6093290408432 32.9675637790192 1.00000000000051 10.9795446794421 25.7119807582842 33.0704249560499 0.999999999999582 10.6458112994176 25.8138166069622 33.1643039148901 1.00000000000025 10.3097649671491 25.9147021106535 33.2495602901217 0.9999999999999 9.97114178434409 26.0145186326946 33.3264964640487 1.00000000000002 9.18103640183239 26.2428016516781 33.485765291395 0.999999999999983 8.72744505817293 26.3704401245461 33.562283380195 1.00000000000004 8.26766092685281 26.4960143931776 33.6254876955229 0.999999999999942 7.80084268974199 26.6193294957065 33.6757771817507 1.00000000000006 7.32610178093781 26.7401663248775 33.7133985377996 0.999999999999945 6.84242082219156 26.8582796723946 33.7384497235334 1.00000000000005 6.34866328821956 26.9733811654762 33.7508888724955 0.999999999999948 5.84367440181201 27.0851070956258 33.750548610964 1.00000000000004 5.32647325885676 27.1929711396089 33.7371557833774 0.999999999999981 4.06310860100029 27.4393108061672 33.6732667617854 1.00000000000005 3.30658883427415 27.5732236540929 33.6104558424767 0.999999999999775 2.51912373544931 27.6983879841406 33.5214833581295 1.00000000000053 1.69199080296042 27.8125501735801 33.4029682919137 0.999999999999166 0.820794563592928 27.9130700225086 33.2520630886624 1.00000000000094 -0.0959455106432903 27.9966323287416 33.0662604841995 0.999999999999231 -1.05939108153094 28.0582083896456 32.8422946888847 1.00000000000045 -2.06874054993303 28.0910202962453 32.5768984613908 0.999999999999831 -3.10991971762621 28.0892608849211 32.2721776080481 1.00000000000002 -5.27598332905243 28.0171369077105 31.5840336323938 1 -6.3881540656263 27.938734935473 31.1976530717919 0.999999999999923 -7.41860724065342 27.8243217757202 30.8100510046332 1.0000000000002 -8.36389529071005 27.6860420151629 30.4336702206186 0.999999999999695 -9.23421814573929 27.530924046509 30.0710155845354 1.00000000000031 -10.0376142231312 27.3637834195589 29.7230035330388 0.999999999999771 -10.7801093267717 27.1886666853714 29.3908157083771 1.00000000000012 -11.4697854740201 27.0082302856525 29.0737266683786 0.999999999999957 -12.1180421412574 26.823412086189 28.7681898435786 1.00000000000001 -14.2779570821689 26.1509443800721 27.7251277784389 0.99999999999998 -15.7301067141777 25.6018127561051 26.981200094886 1.00000000000008 -17.1569320040759 24.9700911560323 26.2148919642105 0.99999999999983 -18.558742353329 24.2485412108674 25.4238512527202 1.00000000000026 -19.9280188788296 23.4356667276823 24.6122442652615 0.999999999999693 -21.2611310191423 22.5299051496037 23.7836096120827 1.00000000000027 -22.5575969023603 21.5249803546259 22.9377782302166 0.999999999999819 -23.8158448070893 20.4108014960701 22.0730593080856 1.00000000000008 -25.0309730964695 19.1761073748869 21.1895603414664 0.999999999999978 -26.1965460523144 17.8008706210502 20.2841780294058 1 -3.66382940962063 31.266579436245 -12.0789194966673 0.728080067159183 4.67431962031798 31.5110961443275 -10.5796378342785 0.737447281215371 5.64703896329651 31.7010036752622 -9.06200984908828 0.746153578690899 6.58298387782857 31.8363990162968 -7.52872039452539 0.754328342196008 7.48339751759415 31.9181478890618 -5.98292055148947 0.762077448330375 8.34937720530837 31.9454775379598 -4.42495430827342 0.769500090739837 9.18177489778077 31.9185116485491 -2.85628974549988 0.776684281574984 9.98218528386576 31.8382993990316 -1.27777421986504 0.783695613018233 10.7534882189994 31.7038038549258 0.315702636868958 0.79058452222818 11.4961969270919 31.5117023248886 1.92812322596481 0.797447964947403 12.8814673543668 31.0340992046071 5.07239315133137 0.811740703788594 13.5279698595834 30.7487773111813 6.60495541734873 0.819509240930127 14.0845507902405 30.4378522431918 8.01019927738352 0.826701585219147 14.5971020643809 30.1124554289943 9.36105453887503 0.833452639313321 15.0599788252648 29.762341461866 10.6594351256991 0.840392317647014 15.4805862647675 29.4057252879379 11.8980372295614 0.847146719464526 15.8654238378731 29.0319128371944 13.1139615002748 0.854016334524223 16.211193496174 28.6523830239179 14.2896081776944 0.860943874486694 16.5210290901459 28.2648922860785 15.4466741279331 0.868045512551331 16.8925390017085 27.7243487319411 17.0298355827849 0.87817452538144 16.9889561682678 27.5749020538168 17.4643726777999 0.881018761140217 17.0793114029801 27.4250223606254 17.8980277428889 0.883898597440543 17.1632812283493 27.2748766372286 18.3316353266849 0.886815541035671 17.2404485757769 27.1246333785447 18.7661750047287 0.889770901663032 17.310282598294 26.9744932995848 19.2026888841606 0.892766118995815 17.3720522310766 26.8247426260055 19.6422938587863 0.8958011435294 17.4246759740257 26.6758261326642 20.0862931217052 0.898870871368228 17.4665097686112 26.5284372240494 20.5363915335932 0.901959632945823 17.5139896404261 26.2877230806396 21.2987342890929 0.907081036898251 17.5269877752985 26.1930121291256 21.6062357504348 0.909119654337398 17.5338409892641 26.0993881489546 21.9183102546371 0.911150848918343 17.5325407291732 26.0079417848553 22.2360450303101 0.913148857396751 17.5229541100928 25.9183529816205 22.5607714350809 0.915105349829014 17.5035282141918 25.8309878671642 22.8944039351445 0.917011231854954 17.4706491046866 25.7479947064436 23.2377855747187 0.918811889172534 17.4218541608694 25.6716218465342 23.589489420619 0.920386886716966 17.3558727878396 25.6018325279607 23.9522152931409 0.921620050124379 17.1518580994227 25.4756431644022 24.7691311616193 0.923674650619419 17.0102202118124 25.4219893673745 25.2238541988857 0.924114195055211 16.8273318747391 25.3875729940994 25.6908410461301 0.923843661535611 16.5968800317449 25.3859496647694 26.1403425617529 0.922580968877613 16.3475408709736 25.4072691913312 26.5340941510348 0.920439607854492 16.0748300999581 25.4395581700671 26.9201085665171 0.918886460903948 15.7784272203979 25.503825077936 27.2479896317791 0.916052450263226 15.4876580115231 25.5748228762102 27.5312604866309 0.913217118351801 15.2131063265371 25.6499981049771 27.7669104679024 0.910305310922448 14.7129379404739 25.8011616026648 28.1473856193544 0.904402508069418 14.485608367129 25.8729010897652 28.3013625411659 0.901695315938177 14.2559547700239 25.9495634267581 28.4415932856052 0.898790050670363 14.0229351481592 26.0306136995566 28.5688652774558 0.895694281647898 13.7883774917388 26.1142476500554 28.6838131370995 0.892506214801076 13.5531307265474 26.1994563456621 28.7881788568018 0.889282717693521 13.3171221426284 26.286056467149 28.8828948795083 0.886023574396371 13.0801467613628 26.3739196802537 28.9682636508079 0.882728460755613 12.8420255837108 26.4625135770422 29.045869028319 0.879442347811132 12.3350776918576 26.651484006874 29.1943953961902 0.872532132744583 12.0659135462835 26.7520036034417 29.2635469388528 0.868912086380098 11.7948534827666 26.853029715798 29.3244009041474 0.865323266253858 11.5216843471007 26.9543007507148 29.3777184721855 0.861783989451246 11.2461667650869 27.0556057942591 29.4241267694599 0.858310076759542 10.9680329211265 27.1567790779166 29.4641357904355 0.854914005020939 10.6869860022052 27.257691274988 29.4981562048269 0.851604877786255 10.4027031953162 27.358236825881 29.5265178467812 0.8483892142381 10.1148442492278 27.4583164979281 29.5494888010687 0.845272556413389 9.43707621203034 27.6894403245239 29.5908510909893 0.838311883711016 9.04453417636798 27.8199605881712 29.6053535867131 0.834543178762102 8.6445209939328 27.9491540087419 29.6112893561252 0.830967745410322 8.23630507725159 28.0767849749274 29.6090045225771 0.827593106815189 7.81905157534326 28.2026323169557 29.5986901932706 0.824423705909982 7.39168103013813 28.3264901225145 29.5803800199961 0.821462040744509 6.95288349392784 28.4481399576416 29.5539603411802 0.818709573011807 6.5012916236305 28.5672941375979 29.5191933843007 0.81616740974606 6.03581519372856 28.6835098895565 29.4757538501324 0.813836758203688 4.88812654729722 28.9528350833619 29.3502011363631 0.808788410890177 4.1937195540857 29.1020158123008 29.2597304454775 0.806277584032823 3.46597654253984 29.2441262381833 29.1509515365157 0.804154492305168 2.69572193834954 29.377104781529 29.0205099122012 0.802426185786365 1.87795355090011 29.4985531034677 28.8658426563157 0.801111267260274 1.01024930944366 29.6053591623678 28.6847242298846 0.800233421080579 0.0896202648230608 29.6924731916831 28.4738857381446 0.799820644145494 -0.885739627792728 29.7526613520645 28.2295025013567 0.799894673686166 -1.90351297298555 29.7790756794566 27.9523084022559 0.800435106705975 -4.03376959833275 29.764967084929 27.3318269204717 0.80227886461789 -5.13919885918269 29.7157315813087 26.9862128225429 0.803708836265253 -6.17111254091782 29.6272940021646 26.6405598550232 0.805377263147379 -7.12594974565299 29.5115270468284 26.3043530728746 0.807137276763306 -8.01124045796399 29.3753994393671 25.979306667215 0.808914314373698 -8.83269583660657 29.2242172406911 25.6665662565201 0.810676012504047 -9.59579457765622 29.0624834793157 25.3671387763265 0.812394860785306 -10.3083633374041 28.8928042197216 25.0799696340873 0.814053129982252 -10.9801008563724 28.7166614001922 24.8028949113707 0.815685736191566 -13.195725736545 28.0792798275816 23.8668844814021 0.821241831598354 -14.6823801938199 27.5545117855037 23.2013505600428 0.825201119012494 -16.143353595572 26.9480701646693 22.5157608365489 0.829208432660737 -17.5822942796362 26.251206637511 21.8088334187315 0.833394703238444 -18.9924804265185 25.4615212361007 21.0851156841691 0.837805716243491 -20.3700987311478 24.5771106594168 20.3486395892691 0.84245909618184 -21.7150725538996 23.5912732356522 19.6006939201249 0.847421510278965 -23.0269599566876 22.4930190239303 18.8416757773425 0.852802831989092 -24.30235956844 21.2688418123725 18.0734612593503 0.858709183921446 -25.53713931995 19.8934657222396 17.2965597782641 0.865341959165727 -5.73465335529957 36.9241166858098 -12.189893455392 1 6.63347930884458 37.0424213846277 -10.6343709291415 1.00000000000006 7.4959602357595 37.1140275602557 -9.06921282010949 0.999999999999757 8.32341664013039 37.1381386075307 -7.49588048550983 1.00000000000052 9.11765099133182 37.1134972161219 -5.91404659742533 0.999999999999241 9.87937448718633 37.0387500377253 -4.32425958339434 1.00000000000079 10.6083550880613 36.9132838895085 -2.72934243856835 0.99999999999939 11.3050121050269 36.7367792576114 -1.13112642966756 1.00000000000034 11.9720659863538 36.5074977775025 0.475390321682895 0.999999999999873 12.6137353058176 36.2210912811972 2.10287992191465 1.00000000000002 13.8443681724906 35.5256696847581 5.40706653903825 0.999999999999996 14.4540957439805 35.1022988949772 7.14077504103811 0.999999999999981 14.9488880232624 34.6610349067964 8.67514594449919 1.00000000000005 15.391966217188 34.2136088088462 10.1180702273604 0.999999999999911 15.7870145693083 33.7438919686924 11.506421070983 1.00000000000011 16.1334532866278 33.2597754316707 12.8242593803965 0.999999999999898 16.4377985481824 32.7666640769424 14.0917469849004 1.00000000000006 16.6993206246309 32.2635168699462 15.3104085246765 0.999999999999979 16.918516054397 31.7528857161794 16.4897466437827 0.999999999999996 17.1580509239926 31.0388023324398 18.07797364248 1.00000000000001 17.2177447680263 30.839758498708 18.5142887227651 0.99999999999993 17.2704091731086 30.6400981074099 18.9462432955786 1.00000000000013 17.3157599154875 30.4400412173607 19.3743074068663 0.999999999999852 17.3534328762583 30.2398156120783 19.7990396093341 1.0000000000001 17.3829567923618 30.039665085077 20.2210513262107 0.999999999999962 17.4037039605194 29.8399368788186 20.640975753771 0.999999999999999 17.4148188935263 29.641248277271 21.059441302315 1.00000000000001 17.4151249295059 29.4447323521223 21.4770495759249 0.999999999999995 17.3949396487488 29.1242479838795 22.1722782838287 1 17.3812294347439 28.9981184049809 22.4501166999 0.999999999999987 17.3621310681792 28.8736960934622 22.7279972472908 1.00000000000003 17.3352986147595 28.7528743873171 23.0075697753194 0.999999999999975 17.3017099743365 28.6354449675515 23.2881191957084 0.999999999999999 17.2603923284325 28.5217765111923 23.570930687916 1.00000000000003 17.2078311978702 28.4153505245483 23.8573456698414 0.999999999999966 17.1440566056684 28.3215867627773 24.1419212168285 1.00000000000002 17.0735124889254 28.2429175480872 24.4180834133954 0.999999999999994 16.8750731300148 28.1033833716334 25.0452182171 1.00000000000001 16.754346552571 28.0579316648489 25.3694048437899 0.99999999999998 16.6145674721702 28.0416401085646 25.6870500535832 1.00000000000003 16.4556595409236 28.0704478955456 25.9766938157806 0.999999999999982 16.3090288414607 28.124203212676 26.2083860478394 0.999999999999987 16.1456576747722 28.1579164741265 26.4604183050059 1.00000000000004 15.9616714007162 28.2510973476673 26.6888887609757 0.999999999999957 15.7767474715289 28.3480755491694 26.8977119792979 1.00000000000003 15.5995190412562 28.4526863640032 27.0796662842064 0.999999999999977 15.2542560766232 28.6779899160009 27.4029971826353 1.00000000000004 15.1011543568065 28.7813443940705 27.533117896525 0.999999999999753 14.9384499628497 28.8962775232511 27.6636529877535 1.00000000000062 14.7675500273495 29.0213194999051 27.7900617585278 0.999999999998958 14.5919314723007 29.151678604235 27.9096187436032 1.00000000000123 14.4120574858464 29.2851232860573 28.0238526398319 0.999999999998959 14.2270507929949 29.4218745510841 28.1335836600746 1.00000000000062 14.0366983546196 29.5618991150741 28.2379989600832 0.999999999999763 13.8412325213085 29.7033653068748 28.3381022664423 1.00000000000003 13.4174644402649 30.0048724191914 28.5397705505871 1 13.1879113107961 30.1651762003065 28.6404074347604 0.999999999999895 12.9512889070067 30.3265901446121 28.7358703066434 1.00000000000028 12.7074749525896 30.4884251305106 28.8262410697311 0.99999999999955 12.4563681858886 30.6500875844176 28.9115443440334 1.00000000000051 12.1978204519527 30.8111122425058 28.9917800234804 0.999999999999582 11.9316133634764 30.9711594184868 29.0669382355539 1.00000000000025 11.6574795311009 31.1299767774648 29.1369967033432 0.9999999999999 11.375168362607 31.2873256158223 29.2019005098114 1.00000000000002 10.7032713742713 31.6469492196088 29.3397510826096 0.999999999999983 10.3076665597456 31.8479721276273 29.408915191403 1.00000000000004 9.89719239819182 32.0453716057156 29.4687919679352 0.999999999999942 9.47137691162876 32.2386685750976 29.5191342845888 1.00000000000006 9.02964414331023 32.427449875537 29.5596472566272 0.999999999999945 8.57122875587496 32.611333873337 29.5899707114291 1.00000000000005 8.09518681812686 32.7899254456393 29.6096693797112 0.999999999999948 7.60050278033426 32.9627603409021 29.6182308083347 1.00000000000004 7.08629263816239 33.1292389156729 29.6150709950796 0.999999999999981 5.81279059393949 33.5090331444139 29.5780637232541 1.00000000000005 5.03689243975809 33.7150996549546 29.5329267298217 0.999999999999775 4.21600166702039 33.9073331282644 29.4626263098893 1.00000000000053 3.34235604924525 34.0835864759478 29.3640018605306 0.999999999999166 2.4103363460251 34.2406287360811 29.2335308367506 1.00000000000094 1.416474799284 34.3738571733486 29.0674204116268 0.999999999999231 0.359981706150664 34.476620368507 28.8617198955847 1.00000000000045 -0.754202294021992 34.5406987503435 28.6136712192743 0.999999999999831 -1.90782058107692 34.559489023234 28.3255147850362 1.00000000000002 -4.34609171845923 34.5083795585353 27.6591881473115 1 -5.59523321814707 34.4266127430636 27.2834659799014 0.999999999999923 -6.76507863553339 34.2977768152425 26.9011552451373 1.0000000000002 -7.84330084896134 34.1373475349438 26.5264484404388 0.999999999999695 -8.84138430743146 33.9525097550404 26.1616221207115 1.00000000000031 -9.76282703422446 33.7529713649419 25.8108676198644 0.999999999999771 -10.6171730605016 33.543571094353 25.4743892515218 1.00000000000012 -11.4250315867305 33.3213604032101 25.1458753551726 0.999999999999957 -12.1740322201869 33.0957423185858 24.8327761841068 1.00000000000001 -14.4511274824492 32.3454756643277 23.8582787421378 0.99999999999998 -15.9217183523487 31.7549971299127 23.1881700671615 1.00000000000008 -17.3559105652615 31.0860454351914 22.504332240794 0.99999999999983 -18.7734092944837 30.3210039774998 21.7962850080946 1.00000000000026 -20.164506434763 29.457779548121 21.0692045768364 0.999999999999693 -21.5197497506737 28.49704304151 20.3302354730777 1.00000000000027 -22.8384297057956 27.4312174192557 19.581015517563 0.999999999999819 -24.1214662861604 26.2466429063534 18.8208118876298 1.00000000000008 -25.3620351768442 24.9308784859162 18.0534245418735 0.999999999999978 -26.5550296955855 23.4576278469119 17.2797715978137 1 - -0 3 -88.4776527716846 3 - --14.5199469042548 11 -0 9 -14.5291727688084 9 -20.1145592563506 9 -23.8343337090006 9 -27.602053443644 9 -31.1030887496992 9 -34.9822374740764 9 -40.0717100109291 9 -47.1154888072361 9 -55.0406318394774 9 -73.9577058674298 11 - -9 1 1 0 0 2 7 3 8 2 2 15.7382456318043 29.1697097253819 1.08158343478932 1 15.5473811724182 29.236582820461 0.597993650698559 1 15.3215715533536 29.3191278848495 0.157251577253382 0.999999999999979 15.0610108688217 29.4166120313301 -0.256178640189335 1.00000000000005 14.7542994354079 29.5327514222159 -0.655701427343029 0.999999999999948 14.4044713025777 29.6654021754589 -1.02591794139841 1.00000000000002 14.0122318668694 29.8136846937878 -1.35601003276845 1 13.5914697909388 29.971634621368 -1.63438475971928 1 -11.9925415914136 31.3381943447495 3.05747127765962 0.802532240725346 11.8752229624395 31.3809696954242 2.95677046459932 0.797149270711941 11.7415897321455 31.431559707123 2.90710225125646 0.790552564778664 11.6046764713411 31.484915022094 2.92474344753202 0.782627122241872 11.5370800068922 31.5018937006234 2.97188089458522 0.777231242679268 11.4901935582261 31.5088888099261 3.01868055286974 0.77206103297963 11.4752761796811 31.5019299176557 3.06637368720332 0.767712725042001 11.4798476300051 31.4886358870137 3.1053582383369 0.763935284879726 -13.049673288782 35.9718825060401 3.2769335034205 1 13.0684337565766 36.0710401677828 3.27243657142072 1 13.0911269479534 36.1910223629719 3.26700311463321 0.999999999999979 13.1183500096383 36.3350494970677 3.26050031631399 1.00000000000005 13.134897243289 36.4226985270055 3.25656422161517 0.999999999999948 13.1502134145877 36.5037930605689 3.25291555863087 1.00000000000002 13.1622125473163 36.5673594534277 3.25006260947291 1 13.1723276072976 36.6209518139992 3.24765873100972 1 - -0 3 -1 3 - -0 8 -1 8 - -9 1 1 0 0 2 6 3 7 2 2 -12.4177348949022 26.727966779525 28.6225047204269 1 -13.1450246861539 26.5229379266479 28.2402412270614 1 -13.8542836147406 26.3601652558041 27.6821323947174 0.999999999999988 -14.501356180321 26.2634160783051 26.940036167059 1.00000000000002 -15.0442283814776 26.2525064638315 26.0386825572099 0.999999999999989 -15.4087448537457 26.3634632169697 25.0159557912213 1 -15.5894669657271 26.561128831722 24.0031616947999 1 --11.2893087727185 28.6255557356322 24.6714194519956 0.816461604602928 -11.3805542591465 28.6396209994354 24.5977548402185 0.817597988422228 -11.473377437641 28.6687354495015 24.5072837253098 0.819241708257795 -11.5554713573879 28.7164977238939 24.3944782095238 0.821320749737952 -11.6632085259113 28.7481523581554 24.2721457493509 0.821911131338057 -11.7556395962575 28.802093699126 24.016233825854 0.821533038998674 -11.7856842736572 28.8762784091453 23.7277245189694 0.820347352131134 --12.4826328512187 32.9913821094232 24.6997368589422 1 -12.4860848008451 33.0094266316962 24.7004271012806 1 -12.4902535819315 33.0312201771604 24.7012603380024 0.999999999999988 -12.4942613225575 33.0521722291871 24.7020613165811 1.00000000000002 -12.5020530929754 33.0929113353243 24.7036177463742 0.999999999999989 -12.5100300737412 33.1346326798944 24.7052086872134 1 -12.516275452868 33.1673006309512 24.7064536914124 1 - -0 3 -1 3 - -0 7 -1 7 - -9 1 1 0 0 2 9 3 66 2 9 -11.8823248225437 22.6982022195038 38.8794247281705 0.999999999999999 -12.4005714281853 23.1705841269239 37.3648885063479 0.999999999999995 -12.8901344669964 23.6260908543645 35.8408811790616 1.00000000000003 -13.3504403965502 24.0650824445327 34.3080686419303 0.999999999999933 -13.7814147187702 24.4884056501419 32.7650488141524 1.00000000000009 -14.1814060083987 24.8958717586711 31.2128288750588 0.999999999999912 -14.5484148827158 25.2866034575211 29.6547116964423 1.00000000000006 -14.8820100039079 25.6605229290688 28.0916811600903 0.999999999999974 -15.1833132055649 26.0202533650951 26.5133760499233 1 -15.7299372880574 26.7414919514411 23.180635269629 1 -15.9835394304127 27.1175415985607 21.3513190617947 0.999999999999998 -16.1808954472941 27.4781509212737 19.4831860109413 0.999999999999995 -16.3246621209611 27.8244612087473 17.5732123164471 1.00000000000002 -16.3986503895737 28.1674665454845 15.5608887818151 0.999999999999973 -16.3834729189998 28.4924602764606 13.5095856247894 1.00000000000002 -16.2536704570876 28.8094854613653 11.3876462745002 0.999999999999987 -15.9724117159748 29.1210877311363 9.23318360064675 1 -15.2873894628724 29.5690170650102 6.18996370332236 1 -15.0550495274857 29.6997469715177 5.30787906532403 0.999999999999983 -14.7848274065406 29.8323078011379 4.42666258848621 1.00000000000005 -14.4727832595822 29.9674828797675 3.54881650764581 0.999999999999927 -14.1143299833669 30.106137881342 2.67734906717997 1.00000000000007 -13.7041397981913 30.2491272640661 1.81602692204921 0.999999999999952 -13.2364786222437 30.3970592956101 0.969747104808373 1.00000000000002 -12.7059682337413 30.5499196672689 0.145028558478618 0.999999999999994 -11.5573882142402 30.851174059832 -1.38285202620584 1.00000000000001 -10.9491481779338 30.999001148602 -2.0904437453331 0.999999999999954 -10.2810996807094 31.1492618670828 -2.76617714808856 1.00000000000012 -9.55049370542715 31.3003318289025 -3.40159138548195 0.999999999999828 -8.75840631192705 31.4494430959399 -3.98767144241198 1.00000000000016 -7.90791907065267 31.593139825647 -4.516117144049 0.999999999999905 -7.00105321971309 31.7278619827025 -4.97987308407376 1.00000000000003 -6.03864849797388 31.8500372703347 -5.37284329941961 1 -3.97308144682051 32.0645539338118 -6.01802470713927 0.999999999999987 -2.84595007836354 32.157648376916 -6.26859480751835 1.00000000000007 -1.67068573122797 32.2260826208395 -6.42289121903611 0.999999999999842 -0.469547335998143 32.2637335087735 -6.47336759339448 1.00000000000021 0.73270634852693 32.2667937719071 -6.42333463830434 0.999999999999793 1.91007723032338 32.2344653290408 -6.28545499264759 1.00000000000015 3.03852777615533 32.1696519333467 -6.0789831812278 0.999999999999929 4.09685607519343 32.0791341135008 -5.82687065986651 1.00000000000002 5.66457127710418 31.9060823041862 -5.382935537903 0.999999999999989 6.23504890526572 31.8328338713028 -5.20270870512489 1.00000000000005 6.77628712696413 31.7540797734468 -5.01616734732057 0.9999999999999 7.29101232750872 31.6707552170705 -4.82550868606132 1.00000000000013 7.78131809694359 31.5836509254014 -4.63237884760247 0.999999999999876 8.24903103697964 31.4934333350444 -4.43803780353239 1.00000000000009 8.69592916170818 31.4006489631987 -4.24344568484225 0.999999999999957 9.1238128920942 31.3057129454874 -4.04927046943386 1.00000000000001 10.2009016683628 31.0517144095418 -3.54182156328893 0.999999999999974 10.8218528645457 30.8895596814543 -3.22978766474651 1.0000000000001 11.4040404361202 30.7238321416826 -2.92151811630689 0.999999999999812 11.9534219402868 30.5549645094552 -2.6176035820932 1.00000000000025 12.4732388671004 30.3840472792032 -2.31858653465009 0.999999999999779 12.9675428125345 30.2111212630458 -2.02429369587894 1.00000000000014 13.4390928416198 30.0362498474307 -1.73494731516636 0.999999999999947 13.8844841524903 29.8622319336522 -1.45344619196193 1.00000000000001 15.6354212021353 29.1444844929295 -0.326922620310338 1.00000000000001 16.876742772439 28.5504004333831 0.535689684079355 0.999999999999937 18.0803534122075 27.8962188532265 1.41750951273445 1.00000000000015 19.2563569100345 27.1709217612613 2.32725824726266 0.99999999999979 20.3980769867664 26.3735664435642 3.25892474684009 1.0000000000002 21.5019658789448 25.503732810793 4.20551072751967 0.999999999999857 22.569869191125 24.556193201524 5.1653958939227 1.00000000000007 23.5999465628645 23.5244098216424 6.13605181010793 0.999999999999982 24.5901933784027 22.3992814631416 7.11548146677163 1 --7.2921568208601 25.3084398818123 38.4572046106089 0.770350830584171 -7.92031391395324 25.7545668733953 36.9747943089931 0.777003291424063 -8.51290605200653 26.1827538584326 35.4756761823685 0.783252316617702 -9.06965558183705 26.5935993004079 33.9614452574762 0.789129049658998 -9.59075507516293 26.9877456174234 32.4325901222076 0.794682021719591 -10.0752975348139 27.3654025408727 30.8893264470134 0.799941144994306 -10.5215401830581 27.7263408968869 29.3333957767199 0.80489552568603 -10.9279205034473 28.0703354360083 27.7676222033305 0.809510896172017 -11.2937313674749 28.3979657433862 26.1905742693585 0.813812465914946 -11.9544971971236 29.0363748236031 22.9210985809741 0.822502305111631 -12.2490020974372 29.3455076679269 21.224154049995 0.827204898165228 -12.5008007257631 29.6493399502747 19.4454032643944 0.831808752069114 -12.6897843018676 29.9383774581357 17.6211670467249 0.835922346907358 -12.8109240231978 30.2128696182257 15.7442684859436 0.840392715993854 -12.8406312370663 30.474640079893 13.8140314545453 0.844143971497561 -12.7543704868215 30.7204882803227 11.8587277846774 0.847668130646978 -12.5130362245329 30.959492916885 9.92199076978625 0.850148514150777 -11.9175009622034 31.2933829059742 7.32181203497539 0.851049369591717 -11.7147589982615 31.3899237282209 6.58258429760333 0.851002470290816 -11.4793774084995 31.4868816551922 5.85996565948106 0.850592319505135 -11.2093475337467 31.5846978954443 5.15887775548788 0.849749210075963 -10.9031960028666 31.6836429335426 4.4844564495502 0.848400302834895 -10.560113514178 31.7837381938641 3.84144302497378 0.84647898092741 -10.1798125731642 31.8847675612136 3.23384148247769 0.843932593625459 -9.7621137589787 31.9863804986955 2.66482275965374 0.840728589624889 -8.88159493290586 32.1832250031107 1.64503876653615 0.833286280478891 -8.42258117252459 32.2787128747178 1.18741022430156 0.829145660234791 -7.92854976753656 32.3743496937143 0.766741623567263 0.82442923120706 -7.39832743222598 32.4700437259035 0.384750878123587 0.819146012224903 -6.83061006511422 32.5653607725248 0.0445014483129142 0.813324385587745 -6.22513253497188 32.659358684711 -0.250250288723411 0.807037950503354 -5.582920400323 32.7506812385523 -0.49678691713418 0.800431549397921 -4.90367475636641 32.8376978492067 -0.694269462185716 0.793724183260844 -3.40851612076184 33.0041581732822 -0.99785584512372 0.780327838489959 -2.58651281552856 33.0826780107827 -1.09746684555053 0.773568777538018 -1.71691372124483 33.1500581680527 -1.13477387273677 0.767277942619284 -0.812510304411888 33.2006571119002 -1.10806447711719 0.7619561388203 0.112463782872883 33.2289866616207 -1.01980955453898 0.75787498347441 1.04278268332303 33.2313817311553 -0.876578416315812 0.755024560847514 1.95970200272498 33.2071844405574 -0.688621013553156 0.753220025053219 2.83982375961428 33.1592851072746 -0.469458604244537 0.752238045202359 4.17577093029904 33.0530668513186 -0.0893046402438671 0.75161354757375 4.66666851676695 33.0054773957251 0.0627619453441639 0.75160468357998 5.13864244875091 32.9518007476669 0.219435404068243 0.751773109976383 5.59320821318353 32.8927535785386 0.379449632095298 0.75207856215269 6.0307176000967 32.8290566515554 0.541597233496233 0.752490860228478 6.45167673379115 32.7613496579802 0.704916624913938 0.752986914666895 6.85725446973477 32.6901473810579 0.868761606589125 0.753548672952273 7.24897796039112 32.6158371739637 1.03275288387574 0.75416200734427 8.24078867752097 32.4138292545025 1.46196643993914 0.755878925791538 8.81955725393339 32.2816496414647 1.72683215774268 0.757048721967942 9.36849148048787 32.1435227013072 1.98999580352272 0.758286688324726 9.89110914605564 32.0004438018894 2.25075573117207 0.759550748770877 10.3899914605319 31.8531863537737 2.50866310073548 0.760848913804032 10.8670920264161 31.702476880064 2.76321448644559 0.762162143159673 11.3238523278239 31.5490865774672 3.01379958343968 0.763464398523211 11.7621985712378 31.3932836041434 3.26058214953295 0.764781834313144 13.5443818432907 30.7229658728383 4.2908751332737 0.769656285706063 14.8247417111197 30.155671697226 5.09309343210306 0.773174704955023 16.0697071355634 29.5242436788279 5.92250256853897 0.776402715644135 17.2843997848588 28.8217543484529 6.77929512274219 0.779577203883683 18.4652308740037 28.0467780629063 7.65597533634497 0.782862723024957 19.6110525350272 27.1981106617191 8.54616061930107 0.786301607122406 20.7235083297209 26.2710360620127 9.44719153776639 0.789922317850544 21.8028406104086 25.258413582861 10.3555665363686 0.793830121134181 22.8486746576177 24.1499340040541 11.267905864393 0.798129703323952 --8.81738834184627 30.2107166770134 39.7620432196755 0.999999999999999 -9.35150914219154 30.5798722288243 38.2299539231343 0.999999999999995 -9.85193818241304 30.9341966497557 36.6877664439814 1.00000000000003 -10.3187912634604 31.274147849912 35.136333152051 0.999999999999933 -10.7524964658618 31.6002914483018 33.5742334979648 1.00000000000009 -11.1518535813989 31.9122587245136 32.0026518375309 0.999999999999912 -11.5151356293814 32.2096643804734 30.4249546191327 1.00000000000006 -11.8418414863078 32.4934181668582 28.8418560628582 0.999999999999974 -12.1327086578254 32.7658644287507 27.2430614603681 1 -12.6502008914158 33.3026590481108 23.8731787775416 1 -12.8818724528749 33.5724746618254 22.0372989521004 0.999999999999998 -13.0540186436545 33.8230273709142 20.1751546055633 0.999999999999995 -13.1679328845714 34.0637913052685 18.2798381906088 1.00000000000002 -13.2069775498117 34.2854086300243 16.3117961106072 0.999999999999973 -13.1540999939394 34.495612876907 14.3339597966894 1.00000000000002 -12.9851340598828 34.6917904191302 12.3369401625913 0.999999999999987 -12.6725309549995 34.892136484378 10.3947602778487 1 -12.0126862940886 35.2095801052762 7.81885726181972 1 -11.7957908948879 35.305661471547 7.09203723448909 0.999999999999983 -11.5520178837425 35.4073539983845 6.38768187466198 1.00000000000005 -11.2808430413749 35.5162995348194 5.71040849843108 0.999999999999927 -10.9822878864999 35.6340586750915 5.06424738945542 1.00000000000007 -10.6566545411102 35.7619229995659 4.45171463456714 0.999999999999952 -10.3038918914888 35.9008525924457 3.87344188415898 1.00000000000002 -9.92259304489841 36.0515388362608 3.32836303746233 0.999999999999994 -9.12640610769199 36.3651400850225 2.33996866061255 1.00000000000001 -8.71633581759346 36.526253353175 1.89207606448496 0.999999999999954 -8.27569166793844 36.6981969388568 1.46986631498291 1.00000000000012 -7.79952524542312 36.8814521445748 1.07112519270664 0.999999999999828 -7.2814324782617 37.0758939529809 0.695384045541026 1.00000000000016 -6.71456094591902 37.2798649013414 0.344665373957746 0.999999999999905 -6.09219104746733 37.4894897804802 0.0230589219333304 1.00000000000003 -5.40722878866038 37.6985751372372 -0.263740769080087 1 -3.86044803283095 38.1088458218339 -0.762251868877197 0.999999999999987 -2.98855218865356 38.3109753214891 -0.971343082641607 1.00000000000007 -2.03409047342581 38.4940320818884 -1.12190364903709 0.999999999999842 -1.00889891061921 38.6414595738784 -1.1967820944558 1.00000000000021 0.0632829497632361 38.7412550569986 -1.1872739847761 0.999999999999793 1.15211364105031 38.7891062607631 -1.09647973246682 1.00000000000015 2.22676135223128 38.7877652559927 -0.937257179334477 0.999999999999929 3.25843625407304 38.7450763664998 -0.728430058869773 1.00000000000002 4.81378103675053 38.6279986108421 -0.345468633725535 0.999999999999989 5.38661050972416 38.5712887472785 -0.18676047902014 1.00000000000005 5.93589478219098 38.5047911080496 -0.0195183434218471 0.9999999999999 6.46301943299477 38.4300870379954 0.154004537483232 1.00000000000013 6.96897781101193 38.3485146227632 0.331981771027802 0.999999999999876 7.45480347977093 38.2611868252677 0.512970649077662 1.00000000000009 7.92176092258311 38.1690066352483 0.695875118197698 0.999999999999957 8.37129450815615 38.0726792319248 0.879914878257273 1.00000000000001 9.50825688346374 37.810478580658 1.36436518804754 0.999999999999974 10.1694691342122 37.6386423544101 1.66585201397426 1.0000000000001 10.7935089197014 37.4598190517016 1.96638642276001 0.999999999999812 11.386208089181 37.2747483748444 2.265641453881 1.00000000000025 11.9498661158149 37.0854944319726 2.56177088681152 0.999999999999779 12.4900918188523 36.8916921154661 2.85594106187959 1.00000000000014 13.0103576997599 36.692710630721 3.14903451353466 0.999999999999947 13.4979132825445 36.4950569168275 3.43207906983293 1.00000000000001 15.3114743652558 35.7247443897951 4.5092678276313 1.00000000000001 16.5718924969998 35.0994573513653 5.32340303372198 0.999999999999937 17.7866681308232 34.4203394244921 6.15439305523449 1.00000000000015 18.9763190910359 33.6684703838736 7.01592650475215 0.99999999999979 20.1340282601967 32.8414211731794 7.89972407169202 1.0000000000002 21.2544427890066 31.9395587215057 8.79632945112821 0.999999999999857 22.339877093029 30.9570373602788 9.70373429051653 1.00000000000007 23.3885102740031 29.8866661777808 10.6171220639831 0.999999999999982 24.3993008165283 28.7178396635645 11.5326634004976 1 - -0 3 -83.9265578068007 3 - --15.9069977001149 10 -0 8 -16.6441495052613 8 -23.423925697616 8 -29.683700112056 8 -36.2098012622694 8 -40.2954566514639 8 -46.9269097518373 8 -68.0195601066858 10 - -9 1 1 0 0 2 9 3 106 2 14 -8.65830926940133 -29.0137139760695 -14.5841845190883 1 -9.6045372440902 -29.269801103632 -12.8191299496589 1.00000000000002 -10.5164844711755 -29.4663845730776 -11.0473710722976 0.999999999999935 -11.393882744455 -29.6022156709276 -9.26872368813754 1.00000000000012 -12.2368632672123 -29.6774007490965 -7.48424588370174 0.999999999999857 -13.0444805170905 -29.6891846880417 -5.69141584409701 1.00000000000012 -13.8156687171399 -29.6388242218533 -3.89339225210964 0.999999999999932 -14.553008818226 -29.5266948005722 -2.08605845761683 1.00000000000003 -15.2596493227073 -29.3450312705213 -0.250921704075362 0.999999999999994 -16.2892515863685 -28.9726995165654 2.60741384453013 1 -16.6502785469784 -28.8171495489824 3.65561745921947 1.00000000000001 -16.9796948237753 -28.6488117019512 4.65861792205519 0.999999999999974 -17.2836989336923 -28.4708590334431 5.62304808465028 1.00000000000003 -17.5656788628029 -28.2842220346548 6.55697538259156 0.999999999999977 -17.8269249751898 -28.0898759516452 7.46418637184601 1.00000000000001 -18.0694409194642 -27.8892606859919 8.34823731186768 0.999999999999997 -18.2941628742014 -27.6829336066076 9.21285010858123 1 -18.7756514049823 -27.193414296226 11.1790958782167 1 -19.0199440972048 -26.9066003988453 12.268762133962 0.999999999999979 -19.2360854879042 -26.6130256846711 13.3378367846333 1.00000000000004 -19.4253175519107 -26.3149729287543 14.3890881597721 0.99999999999996 -19.5860794818605 -26.0110937358291 15.4419168953099 1.00000000000003 -19.7177135240816 -25.7077937292789 16.4836671226777 0.999999999999993 -19.8156222475625 -25.3994844677445 17.5534944603192 0.999999999999996 -19.8738845030087 -25.0932561433824 18.6453275745056 1.00000000000001 -19.8682201740962 -24.6840505023216 20.2209484951922 0.999999999999992 -19.8590361088921 -24.5776609441707 20.6412601573023 1.00000000000006 -19.8406080702752 -24.4723974558054 21.0717615867245 0.99999999999987 -19.812344450535 -24.3679111670264 21.5153463957694 1.00000000000019 -19.77196868696 -24.2642711391896 21.9768882181971 0.999999999999812 -19.7161586769116 -24.1621341534931 22.461385901388 1.00000000000013 -19.6413615294088 -24.0624875833358 22.9732959274782 0.999999999999937 -19.5416884592559 -23.9668866910232 23.5201482528613 1.00000000000002 -19.3376558709524 -23.8397712805121 24.3939405160037 0.99999999999999 -19.2661843976015 -23.8020282227475 24.6757289714581 1.00000000000005 -19.1850379052337 -23.766342205716 24.970214710215 0.999999999999889 -19.0920247416219 -23.7333360367575 25.2798570351639 1.00000000000015 -18.9849232696623 -23.7040373457973 25.6058622705852 0.999999999999867 -18.8614236948451 -23.6801040934645 25.9474799429397 1.00000000000009 -18.7193116518755 -23.663738048752 26.3017731503116 0.999999999999963 -18.5580128450163 -23.6569944028954 26.6626364352453 1.00000000000001 -18.2375686445592 -23.6628431087069 27.311578973091 0.999999999999992 -18.0828492085186 -23.6723336354561 27.6013828547258 1.00000000000004 -17.9221280469318 -23.6884493347584 27.879970082962 0.999999999999912 -17.7550818073507 -23.711219933316 28.147664043277 1.00000000000012 -17.5871168441093 -23.7391097754704 28.3980311920802 0.999999999999878 -17.4208718962081 -23.7705612533992 28.6305802228734 1.00000000000008 -17.2543064651461 -23.80504843393 28.8512402027655 0.999999999999963 -17.0881115294471 -23.8423979362678 29.0590442193283 1.00000000000001 -16.7128244592627 -23.931874318219 29.5050760311971 0.999999999999995 -16.5043853762677 -23.9853192668459 29.7359337594688 1.00000000000001 -16.298334720289 -24.04098172767 29.9501519351092 0.999999999999996 -16.0945960395228 -24.0982398391583 30.1499243966779 0.999999999999988 -15.8929405961853 -24.1566901076965 30.3370728912188 1.00000000000002 -15.6932342144651 -24.215999302872 30.5130156121083 0.99999999999999 -15.4954663112973 -24.2758585801431 30.6788396205145 1 -15.2995611097527 -24.336039830917 30.8354771504127 1 -14.8467920154473 -24.4768438432605 31.1810247106645 0.999999999999986 -14.5909267323307 -24.5577189395195 31.3637599518972 1.00000000000006 -14.3366665607429 -24.6390028672698 31.5341041293898 0.999999999999887 -14.0839984749397 -24.7203550686285 31.6933223471474 1.00000000000014 -13.832887523259 -24.801522672932 31.8424033191726 0.999999999999877 -13.5829418609921 -24.8824471753944 31.982263902532 1.00000000000008 -13.3334603414438 -24.9632262308556 32.113787048896 0.999999999999962 -13.0838626651746 -25.043930562605 32.2376931746697 1.00000000000001 -12.5125236084984 -25.2280193187129 32.5047385182069 0.99999999999999 -12.1907596496127 -25.3312338146151 32.6430798223948 1.00000000000004 -11.8685683249988 -25.4338778843082 32.7703503555721 0.999999999999907 -11.5454327309656 -25.5358933047691 32.8873973217967 1.00000000000012 -11.2209292488862 -25.6372093601285 32.9948759938764 0.999999999999883 -10.8946958481561 -25.7377469821544 33.0932920714136 1.00000000000008 -10.5664003891781 -25.8374228907367 33.1830440389132 0.999999999999965 -10.2357089263205 -25.9361537343708 33.2644655238256 1.00000000000001 -9.39369069072029 -26.1828756982438 33.4498157160675 0.999999999999996 -8.87874858538618 -26.3295025613417 33.5430920675326 1.00000000000001 -8.3559581635337 -26.47349689308 33.6186631652332 0.999999999999991 -7.82409708463903 -26.6145545324178 33.6772017439987 1.00000000000001 -7.28178761800698 -26.7523423856324 33.7190876901474 0.999999999999993 -6.72736194448524 -26.8864852809099 33.7444235183511 1 -6.15899534091401 -27.016508376026 33.7530644524454 0.999999999999998 -5.57510724729995 -27.1417351191137 33.7446631102702 1 -4.15811363591011 -27.4236939764751 33.6834230347636 0.999999999999984 -3.31302475911818 -27.5748867338315 33.6155623150122 1.00000000000007 -2.42867819776429 -27.7153215192027 33.5147796198099 0.999999999999842 -1.4919607572934 -27.8412586544504 33.3755933109635 1.00000000000021 -0.498638989611736 -27.9491493635424 33.1945630253136 0.999999999999812 0.553035272277815 -28.0336803548062 32.9678760297089 1.00000000000012 1.66720613153773 -28.085307880544 32.6889211850152 0.999999999999953 2.83496633086566 -28.093259233957 32.3554076726389 1.00000000000001 5.27497580057237 -28.0223276064045 31.588488305047 0.999999999999993 6.53137166615208 -27.9325660559848 31.1505872629447 1.00000000000002 7.67475959690059 -27.7959556606325 30.7134354390342 0.999999999999966 8.70950454080456 -27.6329924337884 30.2945668914221 1.00000000000004 9.65463294108566 -27.4505384522288 29.8926373859318 0.999999999999974 10.5163571880446 -27.2562191189006 29.5113659622552 1.00000000000001 11.3067129366136 -27.0541997110402 29.1503533293949 0.999999999999994 12.0380620306462 -26.8483143170213 28.8068119224037 1 14.4499404979774 -26.0973969276786 27.6420758702515 0.999999999999995 16.0560640096236 -25.4756673413586 26.8129415989222 1.00000000000002 17.6386404183662 -24.7490244707643 25.953260845798 0.999999999999946 19.1873019235667 -23.9070855661966 25.0623616837011 1.00000000000009 20.6909687495774 -22.9510460160877 24.1489491316157 0.99999999999991 22.1488499148631 -21.8761158403096 23.2154071752127 1.00000000000006 23.5604596736956 -20.6675674869311 22.2579224963897 0.999999999999975 24.9190915069835 -19.3113311237141 21.2774420496544 1.00000000000001 26.2154678938991 -17.7785214754951 20.2694729405154 1 --3.68529122525807 -31.2717634939158 -12.0470611251129 0.728276439121111 -4.80327805871712 -31.5413294614502 -10.3867106313556 0.73864881143244 -5.87507831106722 -31.7432702557381 -8.7026308153295 0.748201185632731 -6.90181134379435 -31.877560917054 -6.99889406319921 0.75711677901677 -7.88511223321893 -31.945473183949 -5.28019463353616 0.765540273097026 -8.82632487611248 -31.9449114188409 -3.54560086086514 0.773610602760058 -9.72644970771575 -31.8776275591349 -1.79948459862339 0.781441673794292 -10.5892959188579 -31.7445671264656 -0.038815048642757 0.789099095931462 -11.419263135621 -31.5382176298702 1.75345094224963 0.796671783405254 -12.6404981605574 -31.1171980405302 4.52558229771038 0.809210382363217 -13.0695644913426 -30.9425901327786 5.52707192226884 0.814112565433554 -13.4668373593672 -30.7539998957705 6.4877353560609 0.818925413440058 -13.8368359828201 -30.5555099758328 7.41263429284081 0.823582176878145 -14.1832926264658 -30.34801104768 8.30849348705785 0.828133128596805 -14.5081052179226 -30.132286917362 9.17838704217743 0.832628055449732 -14.8132904018967 -29.9097967192554 10.0249183643173 0.83708790194543 -15.1000869147726 -29.6810852821777 10.8514552790688 0.841533270996028 -15.7201292296602 -29.1422480465113 12.7136774167149 0.851848548778592 -16.0413024994435 -28.8283719442333 13.7372392968866 0.857722023407882 -16.3349621955989 -28.5067356546643 14.7377479237426 0.863651737650874 -16.601213502131 -28.1806975676536 15.7147764082891 0.869649300955389 -16.8415694721666 -27.8478886739038 16.6858043226099 0.875806773992879 -17.0532483837633 -27.5143145430498 17.6406988226523 0.882121550817601 -17.2337148790086 -27.1781455357407 18.6027532796031 0.888627987887259 -17.3783810935627 -26.8420952972928 19.5753475665214 0.895421309186512 -17.49464620363 -26.4014261437029 20.9349959043901 0.904647662148715 -17.5176159928799 -26.2884855199897 21.2913324446276 0.907056794678617 -17.532423005773 -26.1770204693641 21.6531173743735 0.90946337782754 -17.5379968150047 -26.0674854181832 22.0217006490416 0.911851048901538 -17.5324389274629 -25.9604714191988 22.399367041135 0.91419253898128 -17.5131026949983 -25.8568543481208 22.7888434725725 0.916451437083235 -17.476503579928 -25.758146289031 23.1927212353594 0.918571881786369 -17.4170387380751 -25.6670887835482 23.6139797317155 0.920443333070128 -17.2816536233104 -25.5533929003551 24.2577573319742 0.922447898433412 -17.2329876671948 -25.5207250964514 24.4615261470429 0.922970867173721 -17.1763974878248 -25.4909648566782 24.6708353337444 0.923377691932683 -17.1107215254558 -25.4645465881071 24.8863548458951 0.923647480813242 -17.0344529011264 -25.4422916263997 25.1081847582072 0.92374924660445 -16.9462020837834 -25.4252666612359 25.3351828137997 0.923650329668975 -16.8454917216294 -25.4143807539458 25.5645068724734 0.923332517259194 -16.7334792852403 -25.4099927916064 25.7917276637698 0.9228071380232 -16.5135883940361 -25.4132950769376 26.1942106765621 0.92155249501831 -16.4082684530004 -25.419018397624 26.3718145929936 0.920876049850144 -16.2986950473372 -25.4291027484081 26.5416989563338 0.920098895716205 -16.1880863466711 -25.4423230211109 26.7007390525834 0.919264426120968 -16.0763521481047 -25.4586281715505 26.8505059602934 0.918388118741136 -15.9632821324502 -25.4780404735882 26.9920605423115 0.917453323554408 -15.8499151163455 -25.4999639400322 27.124728056695 0.916452082437082 -15.7363332895935 -25.5239526103026 27.2499168971525 0.915414024568856 -15.4769476576383 -25.5832577843009 27.5189846822668 0.912934053264203 -15.3309275665675 -25.6198445877953 27.6585032860677 0.911462871432544 -15.1844656016247 -25.6593419005249 27.7878779688823 0.909907583590906 -15.0376958981791 -25.7013148116457 27.9081626562234 0.908275292203961 -14.8907342985308 -25.7453777957007 28.0202372584834 0.906575104585617 -14.743626855511 -25.7912335985201 28.1248563849955 0.904813965660365 -14.5963419285943 -25.8386711933798 28.2226848441075 0.902995963509014 -14.4488104135499 -25.8875210760283 28.314316720748 0.901125107692005 -14.1039576204356 -26.0042942509494 28.5148905200096 0.896672742684567 -13.9063426238335 -26.0731802751279 28.6194768874431 0.894058130273112 -13.7082159369733 -26.1437542271026 28.7151597084721 0.891386276263875 -13.5095831419147 -26.215682097954 28.8028169255678 0.888670271592624 -13.3103991442638 -26.2887055395215 28.8831853042807 0.885921967840902 -13.1105717798515 -26.3626035358303 28.9569211950362 0.88315398961633 -12.9099801521264 -26.4371773926262 29.0246171349618 0.880379556449869 -12.7085045671021 -26.5122608057307 29.0867747563878 0.877610114222026 -12.2427744907479 -26.685945994573 29.2178144624364 0.871287873355512 -11.9778385389597 -26.7848216299933 29.2831318596909 0.86774276960392 -11.7110403798387 -26.8840900872374 29.3405647057668 0.864235121080544 -11.4421433936418 -26.9835183730506 29.3908314765419 0.860781171219121 -11.1708898536867 -27.0829230071517 29.4345132735654 0.857394201675639 -10.8970007061247 -27.1821582820576 29.4720763546213 0.854084983348003 -10.6201762003118 -27.2811039281398 29.5038947446613 0.850862227391087 -10.3400974035669 -27.379652161369 29.5302730528455 0.847733036236122 -9.61985600823271 -27.6285828773376 29.5840915175278 0.840082685133441 -9.17520221941867 -27.7781457715146 29.604414975638 0.835693270479237 -8.72107110813267 -27.9260292117504 29.6133213945047 0.831556277537463 -8.25642528407938 -28.0718644876079 29.6114100753772 0.827683952036016 -7.77993019647599 -28.2153319987476 29.5989751554766 0.824082843471145 -7.28972596059776 -28.3561461331207 29.5760138552685 0.820756350798028 -6.78364051288767 -28.4939591768123 29.5422678334642 0.817706588871453 -6.25985395512503 -28.6281833551571 29.4972988748867 0.814935575644368 -4.97503195791129 -28.9353722829356 29.3628508830027 0.809056195405632 -4.19976375952679 -29.1035192756297 29.2632342430972 0.806204461276973 -3.38255448820968 -29.2629916699248 29.1406530817683 0.80384156948822 -2.50929830060289 -29.4103546969787 28.9897285045437 0.80198394805383 -1.57499729887562 -29.5424744105613 28.807523998789 0.800658850827254 -0.576203287976221 -29.654321733072 28.5905977298924 0.799904088862577 0.495142727047113 -29.7360622480224 28.3319840342696 0.799768306471319 1.63413012021123 -29.7756501563383 28.0277649968839 0.800258044898271 4.03092118456822 -29.7702073283423 27.3356307319705 0.802218475192204 5.28029651933123 -29.7134621146172 26.9442511950843 0.803864230595186 6.42644794719991 -29.6055353694759 26.5548516796654 0.805795631122228 7.47524679468569 -29.4667720587618 26.1802991546984 0.80779926346594 8.43916788303504 -29.303880740952 25.8194393802826 0.809800502786566 9.32307833191364 -29.1258709085586 25.4764375184391 0.81176780439156 10.1389837353417 -28.9366856735792 25.1496266155004 0.813643712396745 10.897427301729 -28.7404464615407 24.8378207803091 0.815480055160304 13.3708713789403 -28.0288950307473 23.7928927973 0.821684077237197 15.0145523380651 -27.434399362749 23.0515435143756 0.826096815452452 16.634611495284 -26.7365693727365 22.2826382393729 0.830569932511659 18.2259342047148 -25.9219926035459 21.487173005745 0.835323037522193 19.7771395284421 -24.9910905694535 20.6738143168657 0.840359977419529 21.2871468138955 -23.9387215883159 19.846191449698 0.845721254293137 22.7571148750319 -22.7491606871109 19.0037632264256 0.851576879087998 24.1823334524382 -21.4056913159513 18.1495293084586 0.858056213964625 25.5570319724025 -19.8712850293678 17.2840396696992 0.865449754973778 --5.75350145484153 -36.9265892031678 -12.1572602762269 1 -6.74934006251154 -37.0567858895086 -10.4323285810799 1.00000000000002 -7.69996915756783 -37.1288371767037 -8.69542776332788 0.999999999999935 -8.60727036149475 -37.1415963346709 -6.9485905254986 1.00000000000012 -9.47387461994359 -37.0931935508393 -5.1910111629185 0.999999999999857 -10.3001508732754 -36.9816813761028 -3.42408541226993 1.00000000000012 -11.085297866598 -36.8069712986092 -1.65365216554636 0.999999999999932 -11.8317861037173 -36.5681084542718 0.122090160226138 1.00000000000003 -12.5467859416407 -36.2588758775542 1.92317039347567 0.999999999999994 -13.6267254874319 -35.6487369709399 4.82265516910875 1 -14.0234863555188 -35.3910069174687 5.92895079752582 1.00000000000001 -14.3858451561933 -35.1182987459195 6.98737095181346 0.999999999999974 -14.717135629309 -34.8370362412281 7.99650165847919 1.00000000000003 -15.0218912459441 -34.5490224615455 8.96422503966882 0.999999999999977 -15.3027419627087 -34.2541301964394 9.89684859610831 1.00000000000001 -15.5623809141342 -33.9523067582421 10.8003060921995 0.999999999999997 -15.8014569787722 -33.6449487599162 11.6758853539024 1 -16.3105458553517 -32.9204498132939 13.6485550276842 1 -16.566180324719 -32.499592560574 14.7273041709667 0.999999999999979 -16.7900594864226 -32.0706804437858 15.7704955866633 1.00000000000004 -16.9819979004938 -31.6376837814775 16.7762472240859 0.99999999999996 -17.1437837170624 -31.1964745850328 17.7628874321583 1.00000000000003 -17.2714784867323 -30.753613105459 18.7184602373877 0.999999999999993 -17.3638747366073 -30.3082568127638 19.6598855054253 0.999999999999996 -17.4149014149467 -29.8609723958578 20.5896376502685 1.00000000000001 -17.4076463155783 -29.2756464042894 21.8421823664263 0.999999999999992 -17.3987277835055 -29.1248439622578 22.1683696969585 1.00000000000006 -17.3820974841946 -28.9761662039162 22.4950352040957 0.99999999999987 -17.3568696009417 -28.830737596948 22.8224710376285 1.00000000000019 -17.3219325751466 -28.6898720223402 23.1513493411938 0.999999999999812 -17.2757533139043 -28.5551879288198 23.4828477808139 1.00000000000013 -17.2161224328138 -28.4293734020072 23.8181562865555 0.999999999999937 -17.1399512992778 -28.3174126617699 24.1577963595362 1.00000000000002 -16.9998886563419 -28.1880553163744 24.6550667495926 0.99999999999999 -16.9524509779024 -28.1525384873376 24.8096670090942 1.00000000000005 -16.9003177151735 -28.122234553467 24.9654613264084 0.999999999999889 -16.8432878972203 -28.0977967359594 25.1221595565114 1.00000000000015 -16.7808236654804 -28.0803521451382 25.2795091638185 0.999999999999867 -16.7125798298659 -28.0710521446452 25.4366603044839 1.00000000000009 -16.6391829374126 -28.0703084928269 25.591442194439 0.999999999999963 -16.5622430019792 -28.0773708815377 25.7409009726092 1.00000000000001 -16.4167015647608 -28.1020911448186 26.0031619792463 0.999999999999992 -16.3489590779818 -28.1176245443459 26.1178987537945 1.00000000000004 -16.2793177123031 -28.1376546220656 26.2285137818745 0.999999999999912 -16.2120194376229 -28.1597687680268 26.3295295138024 1.00000000000012 -16.1436744095986 -28.1844288972976 26.4272100022221 0.999999999999878 -16.0727296779571 -28.212741640038 26.5238557590652 1.00000000000008 -16.0019268948851 -28.244299583456 26.6150258720978 0.999999999999963 -15.9305123424865 -28.278101089497 26.703100926791 1.00000000000001 -15.7658476666445 -28.3616234002885 26.8969017252554 0.999999999999995 -15.6719936567269 -28.4130261620732 27.0009392678064 1.00000000000001 -15.5762421162697 -28.4690976179715 27.1011219257264 0.999999999999996 -15.4786699495511 -28.5294403224277 27.1976990539073 0.999999999999988 -15.3793974837208 -28.5935726664777 27.2908194747366 1.00000000000002 -15.278408255157 -28.6611351778211 27.3807187883521 0.99999999999999 -15.1755331979575 -28.7319233145072 27.467742663596 1 -15.0705992345328 -28.8057467522349 27.5522061096755 1 -14.8219661429841 -28.9834395625491 27.7427292864848 0.999999999999986 -14.6767621186289 -29.0892743929661 27.846877612971 1.00000000000006 -14.5281963466124 -29.1987624691586 27.9468168837418 0.999999999999887 -14.3761075427972 -29.3113561984372 28.0428803793903 1.00000000000014 -14.2203228173477 -29.4265827130142 28.1353450259708 0.999999999999877 -14.060763538149 -29.5439283001911 28.2243843200894 1.00000000000008 -13.8974412276196 -29.6628421325079 28.3100806383777 0.999999999999962 -13.7303434931685 -29.7828592978441 28.3924969314289 1.00000000000001 -13.3382395987378 -30.0600594425766 28.5742153027192 0.99999999999999 -13.1105795375695 -30.2178314122337 28.6714182585655 1.00000000000004 -12.8760717820218 -30.3764131135181 28.7635606739975 0.999999999999907 -12.6345439256214 -30.5352001750319 28.8507322061302 1.00000000000012 -12.3858120752055 -30.6937045431693 28.9329752570187 0.999999999999883 -12.12968374512 -30.8515292463619 29.0102920657862 1.00000000000008 -11.8659607514674 -31.0083431593377 29.0826518007844 0.999999999999965 -11.594442106301 -31.1638557673658 29.1499976517193 1.00000000000001 -10.8886288765155 -31.5525651565276 29.3072030557137 0.999999999999996 -10.443759835867 -31.7836790014975 29.3903191706494 1.00000000000001 -9.97948384033364 -32.0101941244605 29.4612935716547 0.999999999999991 -9.49513288316166 -32.2313604594914 29.519768914927 1.00000000000001 -8.98979541843066 -32.4465600453541 29.5652898185333 0.999999999999993 -8.4621771338569 -32.6552210822834 29.5972729794288 1 -7.91073397848453 -32.8567032158897 29.6149967966289 0.999999999999998 -7.33407744516902 -33.0501540481967 29.6176105007202 1 -5.91153865315029 -33.4850746946216 29.585855709469 0.999999999999984 -5.04596788098723 -33.7176807019838 29.5378076453177 1.00000000000007 -4.12315544788705 -33.9331111090549 29.4580138404889 0.999999999999842 -3.13192071579211 -34.1278434722059 29.3416549989104 1.00000000000021 -2.064758249643 -34.2971766121675 29.1836517693903 0.999999999999812 -0.917100697127955 -34.4335153027668 28.9781243125453 1.00000000000012 0.310426206561568 -34.5249123446789 28.7189203567077 0.999999999999953 1.59995576634174 -34.5591406395712 28.4053751492069 1.00000000000001 4.3447175853659 -34.5152921640401 27.6638482428462 0.999999999999993 5.75434538067894 -34.4210024369511 27.2383686387643 1.00000000000002 7.05653973168949 -34.265971420545 26.8058283781635 0.999999999999966 8.23745179035532 -34.0756002906189 26.3877945687989 1.00000000000004 9.32578783391431 -33.855300399556 25.9809493957454 0.999999999999974 10.3085010675635 -33.6265622868431 25.5990634818934 1.00000000000001 11.2350511011254 -33.3779784887364 25.2250677800085 0.999999999999994 12.0890776201968 -33.1236984236032 24.8691263809694 1 14.6326684687733 -32.2856821652166 23.7805958952126 0.999999999999995 16.250173841993 -31.6198301401193 23.0372311169432 1.00000000000002 17.839823130852 -30.8526056145618 22.2711606952517 0.999999999999946 19.4111186128687 -29.9583426468364 21.4720517232294 1.00000000000009 20.9404786084215 -28.9431969514486 20.6545534972745 0.99999999999991 22.4216876547393 -27.8043816190045 19.8257421704288 1.00000000000006 23.8607875673207 -26.5200994077789 18.9815953040395 0.999999999999975 25.2474735457667 -25.0758499854589 18.1283170285672 1.00000000000001 26.5743970490293 -23.433685055963 17.2672075276505 1 - -0 3 -88.2843996364184 3 - --14.9840058386901 10 -0 8 -8.74923716318256 8 -20.2780534914566 8 -24.3478256010862 8 -26.1716127801979 8 -27.6798627908699 8 -29.602076555593 8 -32.1524392439394 8 -35.4455094900736 8 -40.4678818123227 8 -47.3051027289389 8 -55.0406334182331 8 -73.3003937977283 10 - -9 1 1 0 0 2 7 3 8 2 2 -15.738390118134 -29.1696582363437 1.08193794596004 1 -15.5475035306869 -29.236538402066 0.598228899462237 1 -15.3216779154652 -29.3190883572877 0.157420477510571 0.999999999999987 -15.0611164605705 -29.4165713436025 -0.25604548169392 1.00000000000004 -14.7543802472259 -29.5327211061218 -0.65562080612485 0.999999999999952 -14.4045078966512 -29.6653886725324 -1.02589813586185 1.00000000000002 -14.012199391151 -29.8136977125901 -1.35604276429416 1 -13.5913551878849 -29.9716784871712 -1.63445341942712 1 --11.9926957640741 -31.3381503875662 3.05785953134621 0.802531651129296 -11.8753681884681 -31.3809168737 2.95694303309847 0.797151934356294 -11.7416883910585 -31.4315172579869 2.90708856636212 0.790557250279249 -11.6046148990269 -31.4849468036687 2.92463295571544 0.782626896280876 -11.5369742989552 -31.5019430771589 2.9718036231391 0.777229950066404 -11.4900541308142 -31.5089472313564 3.01858219433063 0.772059899907325 -11.4751260038857 -31.5019878815127 3.06628688884594 0.767711845874286 -11.4797002590209 -31.4886879536036 3.10527495714323 0.76393515064427 --13.0496768634089 -35.9719013995809 3.27693264657341 1 -13.0684255713451 -36.0709969120662 3.27243853456439 1 -13.0911102959398 -36.1909343025768 3.26700709860756 0.999999999999987 -13.1183520759035 -36.3350603110602 3.26049980387326 1.00000000000004 -13.1349031613971 -36.4227299039948 3.25656281860331 0.999999999999952 -13.1502183853518 -36.5038193791199 3.2529143744443 1.00000000000002 -13.1622162114306 -36.5673788662383 3.250061738577 1 -13.1723282404068 -36.6209551683852 3.24765858054917 1 - -0 3 -1 3 - -0 8 -1 8 - -9 1 1 0 0 2 6 3 7 2 2 12.4180913398767 -26.7278606569222 28.6223335854435 1 13.1452946101596 -26.5228741326079 28.2400319273675 1 13.8544770392962 -26.3601359462639 27.6819118391305 1 14.5014803416328 -26.2634156693514 26.9398257358693 0.999999999999999 15.0443017855601 -26.2525172854979 26.0385152025128 1 15.4087668617652 -26.3634825484954 25.0158487725276 1 15.5894681746511 -26.5611312659444 24.0031512120405 1 -11.2896447503181 -28.6254646315958 24.671278935995 0.81646252653224 11.3807704158929 -28.6395810888848 24.5976020941195 0.817599204534398 11.4734728172342 -28.6687356602309 24.5071658395713 0.819243076255323 11.5554557715944 -28.7165276488281 24.3944338387921 0.821321789346717 11.6631676659278 -28.7481531323519 24.2722319418847 0.821911993110903 11.7556106632682 -28.8020739494907 24.0163547510226 0.821533642023826 11.7856691089295 -28.8762573099099 23.7278243061972 0.820347656303319 -12.4826299268262 -32.9913668226232 24.6997362741887 1 12.4860826268148 -33.0094152662777 24.7004266667504 1 12.4902516307485 -33.0312099748713 24.7012599483494 1 12.4942607538947 -33.05216925821 24.7020612025832 0.999999999999999 12.5020495247301 -33.0928926761041 24.7036170340947 1 12.5100274136656 -33.1346187664485 24.7052081568042 1 12.5162743179245 -33.1672946943571 24.7064534651636 1 - -0 3 -1 3 - -0 7 -1 7 - -9 1 1 0 0 2 9 3 66 2 9 11.8822774082108 -22.6981590012727 38.8795632927817 1 12.4005316158426 -23.1705470861917 37.3650124383886 1.00000000000004 12.8901018400095 -23.6260600118202 35.8409893562669 0.999999999999842 13.3504136118593 -24.0650557662913 34.3081648032984 1.00000000000032 13.7813953678152 -24.4883853158495 32.7651264246794 0.999999999999584 14.1813905648186 -24.8958570173425 31.2128896178267 1.00000000000038 14.5483944964181 -25.2865863667805 29.6547822675248 0.999999999999765 14.8819825671562 -25.660495469658 28.0917967049806 1.0000000000001 15.1832967831354 -26.0202266187761 26.5135022433644 0.999999999999983 15.7313511346844 -26.7433629088084 23.1719872901771 1.00000000000001 15.9858815998003 -27.1210540693839 21.3341514180263 1.00000000000001 16.1838498464392 -27.4834278659862 19.4559915105407 0.999999999999972 16.3274271115006 -27.831279243301 17.5355431801512 1.00000000000003 16.4004037059301 -28.1756477165785 15.5127511078974 0.999999999999983 16.3830206465466 -28.5019986472497 13.4494825096088 0.999999999999996 16.249202027552 -28.8202053025812 11.3157504414381 1.00000000000001 15.9614008848108 -29.1331787706457 9.14955690327584 0.999999999999987 15.2629976492079 -29.5828343420172 6.09673407023453 1.00000000000002 15.027467555074 -29.7135469180653 5.21594987785985 0.999999999999912 14.7538293519415 -29.8461500744658 4.33623678676175 1.00000000000018 14.4381221620187 -29.9814300291108 3.46010899850274 0.999999999999773 14.0757358024227 -30.1202498179139 2.59060010114402 1.00000000000019 13.6613276568822 -30.2634499736553 1.73153139991203 0.999999999999892 13.1891733554043 -30.4116094197379 0.887883485492832 1.00000000000004 12.6539512619091 -30.564666578856 0.0662710398921931 0.999999999999991 11.4957585783308 -30.8662133820024 -1.45508363577317 1.00000000000001 10.8825532218683 -31.014154181131 -2.15929982355589 0.999999999999996 10.2094501683637 -31.164409219345 -2.83110778685702 0.99999999999997 9.47383731369064 -31.3152843537161 -3.46197657119793 1.00000000000009 8.67695035981192 -31.4639570484501 -4.04289949556097 0.999999999999877 7.82198630260702 -31.6069447750221 -4.5656498004017 1.0000000000001 6.91099690931242 -31.7406817383069 -5.02325284044056 0.999999999999945 5.94479406502635 -31.8615957299875 -5.40967104989356 1.00000000000002 3.87001627003235 -32.0731868130073 -6.04154756402159 0.999999999999978 2.73647424956862 -32.1645661331503 -6.28504511368055 1.00000000000008 1.55578153676068 -32.2307234587243 -6.43117535693825 0.999999999999864 0.35116772713399 -32.265563092967 -6.47285985614034 1.00000000000016 -0.852139447493917 -32.2654834156725 -6.41427080554491 0.999999999999869 -2.02805709579818 -32.2299928490837 -6.2689058183207 1.00000000000008 -3.15277660992582 -32.1623166079979 -6.05655349304458 0.999999999999969 -4.20564579334829 -32.0694674134724 -5.80027962148785 1 -5.76775563519668 -31.8930001395755 -5.3506633695492 1 -6.33827366163722 -31.8182076896269 -5.16780207222275 0.999999999999981 -6.8792682770392 -31.7379858695955 -4.97892631713097 1.00000000000005 -7.39362157091407 -31.6532584488522 -4.78617513104993 0.999999999999922 -7.88351022133344 -31.5648036774603 -4.59114005790634 1.00000000000009 -8.35080309416797 -31.4732774118513 -4.3950395300791 0.999999999999933 -8.79729963706462 -31.3792187849376 -4.19880781086608 1.00000000000003 -9.22480906818486 -31.2830384206505 -4.00309850818933 0.999999999999994 -10.2843631570177 -31.0298133118941 -3.49975418181807 1 -10.8904257726415 -30.8699625406349 -3.19340374026377 1.00000000000001 -11.4594774228126 -30.7067482281649 -2.89079181495055 0.999999999999984 -11.9971042758028 -30.5405625203194 -2.59244970862971 1.00000000000002 -12.506390027417 -30.3724262230103 -2.29884420064843 0.99999999999998 -12.9912408849024 -30.2023346637962 -2.00975132042824 1.00000000000001 -13.454236812608 -30.0303386173039 -1.72539382199078 0.999999999999997 -13.891859662952 -29.8592131322641 -1.44868910904815 1 -15.6351133975167 -29.1446018655671 -0.327104888821633 0.999999999999997 -16.8765557274108 -28.5505163135378 0.535516622893024 1.00000000000002 -18.0802898031611 -27.8962677313676 1.41743190429775 0.999999999999961 -19.2562903496809 -27.1709614806198 2.3272022094643 1.00000000000007 -20.3979800392564 -26.3736312972599 3.25884622947141 0.999999999999924 -21.5018634294938 -25.5038158474493 4.20541756370334 1.00000000000006 -22.5697513526136 -24.5562973272922 5.1652868737014 0.999999999999972 -23.59981866465 -23.5245381176605 6.13592708618302 1.00000000000001 -24.5900562090331 -22.3994374980311 7.11534108566141 1 -7.29209885428923 -25.3083987130689 38.4573414076734 0.770350221943467 7.92026533894577 -25.7545317734189 36.9749171969548 0.777002783491557 8.5128665093221 -26.1827245257068 35.4757842851531 0.783251930911266 9.06962280523167 -26.5935748383477 33.9615398793193 0.789128653997995 9.59073049471777 -26.9877263522299 32.4326696258247 0.794681732647613 10.0752806682771 -27.3653884345702 30.8893869868599 0.799941082351334 10.5215256244072 -27.7263297305864 29.3334426783305 0.804895530728747 10.9279024335764 -28.0703230953293 27.7676789158996 0.809510602506145 11.293713752205 -28.3979512300292 26.1906555975657 0.813811890288976 11.9561435339728 -29.0379500390836 22.9130002812542 0.822525641347451 12.2518530771087 -29.3485425673962 21.2075651778453 0.827247241454916 12.5043789020484 -29.6536708549401 19.4199843535184 0.831875616754649 12.693507397135 -29.9439867411221 17.5857401664044 0.83600695685201 12.8137663346671 -30.2194970844306 15.6989760310184 0.840494657404215 12.8414877592659 -30.4821944505921 13.7581999800916 0.844257537998545 12.7513908999826 -30.7288026326814 11.7925730498978 0.847785683682477 12.5036003332008 -30.9687297173944 9.84710728978013 0.850244410772324 11.8962297031938 -31.3035898124015 7.24361020251221 0.851045953703186 11.6907386962179 -31.4000278593132 6.50699188014421 0.850965266596293 11.4525315061402 -31.496919605774 5.7872951127778 0.85051696783463 11.1796374462817 -31.594695020928 5.08944541760733 0.849631209667107 10.8706270739723 -31.6936087958282 4.41855466189946 0.848235512429461 10.5247267976543 -31.7936667648677 3.77930920265409 0.846264213399388 10.141667648339 -31.8946409614957 3.17563944704109 0.84366610220652 9.72126690662632 -31.9961753043551 2.61065090236893 0.840410242782716 8.83523892035906 -32.1929050481377 1.59841349750262 0.832867901876701 8.37335207374806 -32.2883600396108 1.14435740088734 0.828678141409345 7.87640748260898 -32.3839373144859 0.727387300884732 0.823914226308652 7.34319903494135 -32.4795533944844 0.349233265726905 0.81858589287451 6.77244161811875 -32.5747511961621 0.0130042643986705 0.812723959298927 6.16394733718424 -32.6685439816988 -0.277520212780836 0.806406386268501 5.51881628222155 -32.7595399228772 -0.51967724525171 0.799783034288748 4.83670000145868 -32.8460944461796 -0.712738512845764 0.793076625290998 3.33341166177683 -33.0114156323443 -1.00740458734177 0.779705707485735 2.50593780655751 -33.0892036279442 -1.10223849522139 0.772969840073864 1.6311290610779 -33.155459501107 -1.13428627526741 0.76673339464733 0.722372177484651 -33.2044380554472 -1.10208870699769 0.761498709817077 -0.205590233849456 -33.2306713808598 -1.00846820017344 0.757522383050032 -1.13712970904762 -33.2306685859207 -0.860363297858701 0.754773806492535 -2.05327219760743 -33.2040624992491 -0.668400601213843 0.7530556582455 -2.93074742878768 -33.154030125114 -0.446379156254061 0.752145269789953 -4.26472286573998 -33.0445748745823 -0.0619633323423265 0.751607979579066 -4.75650784400914 -32.9955892526204 0.092137957185777 0.751629244970292 -5.22913332440463 -32.9405397982708 0.250679755892612 0.751824427400202 -5.68425080524658 -32.8801399561646 0.412438951512151 0.752153465975023 -6.12222346955987 -32.8151128765632 0.576221732258698 0.752586781219894 -6.54355497048654 -32.7461004386453 0.741074433672411 0.753101841344707 -6.94944546145078 -32.6736164492265 0.906364571186607 0.753680911490653 -7.3414708856407 -32.5980441260577 1.07173119373936 0.75430998594623 -8.3186970171108 -32.3959368822258 1.4977141321035 0.756037553663244 -8.88426470409473 -32.2653015942204 1.75791190938416 0.757194857143954 -9.42135184577338 -32.129006409524 2.01640983877687 0.758415286866525 -9.93319629515037 -31.9879901143026 2.27253529323943 0.759659570987963 -10.4222246580155 -31.8429846023123 2.52586987017739 0.760936443470661 -10.890311512349 -31.6946683311863 2.77595892570652 0.762227781870683 -11.3388179601736 -31.5437650631219 3.02222821043654 0.763508336124076 -11.7695352967377 -31.3905315959049 3.26481732865593 0.764803307965336 -13.5441464664399 -30.7230495394572 4.29074152345736 0.76965598380356 -14.8246160468935 -30.15574823376 5.09300154750444 0.773172723808225 -16.0696492621071 -29.5242835565902 5.92246097634114 0.776401112350319 -17.2843337988758 -28.8217906413509 6.77925051560748 0.779576680578529 -18.4651402249269 -28.0468357127951 7.65590796388176 0.782862458809216 -19.6109484989769 -27.1981889534908 8.54607974823204 0.786301012677623 -20.7233910802811 -26.2711336722255 9.44709660896239 0.789921741917424 -21.8027110220853 -25.2585353403889 10.355457497525 0.793829411311547 -22.8485338997974 -24.1500833717347 11.2677831051239 0.798128862364456 -8.81733947513004 -30.2106829030488 39.7621833902116 1 9.35146844694427 -30.5798434127096 38.2300793328292 1.00000000000004 9.85190520345063 -30.9341723209655 36.6878758461642 0.999999999999842 10.3187641430195 -31.274128001842 35.1364306856115 1.00000000000032 10.7524769722449 -31.6002763980501 33.5743120175657 0.999999999999584 11.1518388043313 -31.9122455272994 32.0027132383868 1.00000000000038 11.5151171071282 -32.2096477560784 30.4250260481853 0.999999999999765 11.8418166711043 -32.4933973383478 28.8419707914859 1.0000000000001 12.1326937678071 -32.76585071663 27.2431830770509 0.999999999999983 12.651532964321 -33.3040294656979 23.8644622207725 1.00000000000001 12.884023954457 -33.5750347116936 22.0200246124002 1.00000000000001 13.0565939244936 -33.8267161488191 20.1479929076536 0.999999999999972 13.170120008082 -34.0684324970062 18.2426002786241 1.00000000000003 13.2078780966724 -34.290804038321 16.2645959998968 0.999999999999983 13.152558442118 -34.5017033518469 14.2760896258389 0.999999999999996 12.9793289125964 -34.6984513324617 12.2692715906933 1.00000000000001 12.6603120399664 -34.8999088933864 10.3194378252091 0.999999999999987 11.9898941409887 -35.2197193098057 7.74192326227467 1.00000000000002 11.7708001489424 -35.3161836406202 7.01822840319474 0.999999999999912 11.5248480619731 -35.4183745548066 6.31727335281043 1.00000000000018 11.251556642509 -35.5279251629073 5.64363880912385 0.999999999999773 10.9509777068107 -35.6463763533624 5.0012759982182 1.00000000000019 10.6234057563716 -35.774994682385 4.39258043332829 0.999999999999892 10.2687333471972 -35.9147152971574 3.81804643025817 1.00000000000004 9.88545219683004 -36.0662098923549 3.27650237911447 0.999999999999991 9.08480102027774 -36.381485324052 2.29418631279666 1.00000000000001 8.67224010538666 -36.5434779713 1.8489023915317 0.999999999999996 8.22881341591018 -36.7162938626615 1.42915364314102 0.99999999999997 7.74943701932388 -36.9004182922679 1.0327567855691 1.00000000000009 7.22763920354788 -37.0956502151897 0.659378017178526 0.999999999999877 6.65659046696938 -37.3001812858722 0.311228209093219 1.0000000000001 6.02964420643906 -37.5099726493432 -0.00744587443884726 0.999999999999945 5.33976109536264 -37.7187127871983 -0.290862094703432 1.00000000000002 3.78050933027435 -38.1275094021754 -0.781844458895307 0.999999999999978 2.90046472863381 -38.328505879849 -0.986600943792673 1.00000000000008 1.93770839267953 -38.5093878547658 -1.13157862699535 0.999999999999864 0.905425006687936 -38.653411841653 -1.19959586995892 1.00000000000016 -0.171561713459712 -38.7488968016875 -1.18260924534288 0.999999999999869 -1.26237462131449 -38.7921645810411 -1.08472054682728 1.00000000000008 -2.33619318266452 -38.786551635094 -0.919586647532025 0.999999999999969 -3.36472040004739 -38.7401875183774 -0.706274104032037 1 -4.91736317133113 -38.6179616576713 -0.317063166212876 1 -5.49111093250808 -38.5591427415413 -0.155577955789997 0.999999999999981 -6.04095874030117 -38.4906358147065 0.0141868495859327 1.00000000000005 -6.56848766012105 -38.4140105832981 0.190032475742523 0.999999999999922 -7.07475432229283 -38.33059004875 0.370169282496072 1.00000000000009 -7.56079760966524 -38.2414788625576 0.553171647537038 0.999999999999933 -8.02788113548111 -38.1475795039633 0.737948204474275 1.00000000000003 -8.47747151151744 -38.0495962805369 0.923727434971804 0.999999999999994 -9.59699329973903 -37.7872805612359 1.40495237092264 1 -10.242767452712 -37.6175267004764 1.70124456479597 1.00000000000001 -10.8532142922772 -37.4411365878208 1.99656470149225 0.999999999999984 -11.4337120429123 -37.2587654070229 2.2906294923349 1.00000000000002 -11.9862366331894 -37.0724131366319 2.58160513215584 0.99999999999998 -12.5161462346103 -36.8817227427875 2.87062089403418 1.00000000000001 -13.0268581789166 -36.6860429708904 3.1585971298379 0.999999999999997 -13.5059116475058 -36.4916763516283 3.43682290043098 1 -15.3110700410133 -35.7248893002414 4.50904601123773 0.999999999999997 -16.5715833298312 -35.0996479054323 5.32317454050795 1.00000000000002 -17.7865646501947 -34.4204207566071 6.1543103212838 0.999999999999961 -18.976246737128 -33.668517035832 7.0158750173452 1.00000000000007 -20.1339280108553 -32.8414904660389 7.89964765581289 0.999999999999924 -21.2543420962443 -31.9396446691938 8.79624785225314 1.00000000000006 -22.3397563673012 -30.9571475346533 9.70363326040403 0.999999999999972 -23.3883798884488 -29.8868012553543 10.6170081279644 1.00000000000001 -24.3991604313456 -28.7180040124426 11.5325358832613 1 - -0 3 -83.9355967867943 3 - --15.9057469560638 10 -0 8 -16.7233880328304 8 -23.4931185882247 8 -29.7479332745432 8 -36.2825263467174 8 -40.4040511881432 8 -46.9269097884096 8 -68.0298498307305 10 - -5 0 0 -87.3124779769431 0 0 1 -1 -1.83690953073357e-016 0 -1.83690953073357e-016 1 0 7.93752202305694 1.18752202305694 -9 0 0 0 0 7 6 8 7 2 2 -10.9312845413564 -25 3.82346289402989 -25.6037231116567 -99.4955175866544 -0.238321494510684 -35.6321728187635 -174.387857973711 1.71364674996403 -41.1462100594092 -249.515677894843 -0.134124347568128 -42.5532929471374 -324.810093064225 0.847809066406004 -39.9175554829606 -399.990312147961 0.385102862449855 -33.1166934221002 -475.000000000025 0.644157553174443 --16.0923639205877 -24.9999999999998 13.240126732478 -22.9127835817803 -99.4955175866545 10.8750322137206 -29.5814683007329 -174.38785797368 10.1877296577964 -32.2666784619468 -249.515677894893 7.47590330200863 -34.0145628416903 -324.810093064194 9.00940512727334 -31.4201733061207 -399.99031214794 7.4515665472006 -26.1646423446124 -475.000000000026 6.71361040751708 --19.6857324420945 -25.0000000000009 22.0989704371278 -18.653884994805 -99.4955175867179 21.4717366783098 -21.6769176387798 -174.387857973645 18.3452017384238 -21.5158352048229 -249.515677894919 15.0060999670938 -23.4487819230322 -324.810093064113 16.9107343758557 -21.0907014278793 -399.990312148141 14.4218765546852 -17.6787441379202 -474.999999999991 12.7821162574953 --20.0821541430767 -24.9999999999981 28.6817229225552 -12.3770340825362 -99.495517586489 29.6011055724711 -11.8174241137717 -174.387857973988 24.7407712435741 -9.2079604224157 -249.515677894489 21.2699456042581 -11.0342000251598 -324.810093064578 23.1841351925941 -9.2073877818882 -399.990312147645 20.1822643903739 -7.86761010825323 -475.000000000026 17.9375237803562 --16.046011298115 -25.0000000000023 31.5429866911762 -3.8883251297233 -99.4955175869151 33.6070923313685 -0.154399996611854 -174.38785797315 28.1388557712677 4.13634412961068 -249.515677895613 25.229697795752 2.80852076620486 -324.810093063515 26.6552833888271 3.74608763044932 -399.990312148431 23.7613719022345 2.88531880280147 -474.999999999987 21.374210359363 --8.37057040620805 -24.9999999999986 30.9632107149893 6.01697497377395 -99.4955175864811 33.7488759004897 12.3712012658972 -174.387857974097 28.6978870962234 17.5665983141669 -249.515677894334 26.9239971764811 17.050054781792 -324.810093064646 27.4541308142637 16.8392131648275 -399.990312147749 25.2062416579828 13.8010459500139 -474.999999999986 23.0912068929787 -1.20930804423307 -25.0000000000004 28.1463341631857 16.2114703539958 -99.4955175867147 31.3266330524197 24.6484694553665 -174.387857973564 27.3433852742113 30.1759400004965 -249.515677895056 27.0097950677608 30.6245000357002 -324.810093064019 26.4340177415323 29.1689625835682 -399.990312148097 25.1456623152145 24.1110052959324 -474.999999999984 23.5590414476863 -10.9312845412859 -25 24.3673062865478 25.603716167169 -99.4955175866594 27.725629551355 35.6321768490299 -174.387857973692 25.0664529858953 41.1461988596406 -249.515677894887 26.204792128835 42.5533051918511 -324.810093064158 24.511853602375 39.9175589302023 -399.99031214803 24.2646330462175 33.1166934228064 -474.999999999975 23.2972619228411 - -0 8 -1 8 - -0 7 -1 7 - -9 0 0 0 0 6 6 7 7 2 2 10.9312845412859 -25 24.3673062865478 25.601279797867 -99.4850816799591 27.7257222604442 35.6399901841247 -174.413170878122 25.0665171935773 41.1451197273586 -249.566309832393 26.2042312205633 42.552170969823 -324.810924944548 24.5118430946477 39.9176439456238 -399.993258630591 24.2646083697649 33.1166934228064 -474.999999999975 23.2972619228411 -13.0196429429888 -24.9999999999996 14.3324666827379 18.4597283801543 -99.4850816800301 16.3681346204534 27.8052334520503 -174.413170877922 17.513716181238 29.6893910285025 -249.56630983268 18.3523720751897 31.7988217116135 -324.810924944345 16.9242670205316 29.3770387123361 -399.993258630666 17.3530202654438 24.5467688055002 -474.999999999977 17.3375633852217 -13.7072663218087 -25.0000000000015 5.12210632153639 10.1846497653653 -99.485081679832 5.7221118288679 18.0164903652323 -174.41317087848 10.210402054963 16.408019266064 -249.566309831849 10.6629862873553 18.9621668538021 -324.81092494494 9.57776466172639 16.962946658855 -399.993258630413 10.5517531585709 14.3913559868673 -475.000000000004 11.3760079441225 -11.9058304271618 -24.9999999999975 -1.38192557585365 1.14023960113942 -99.4850816801603 -2.20804052542506 6.27063061135632 -174.413170877564 4.36264207572576 1.88103868624787 -249.56630983321 4.33497707662814 4.37718720973776 -324.810924943997 3.67853659653939 3.09928642576952 -399.993258630797 4.89760767141976 2.95982233470768 -474.999999999981 6.25163300015281 -6.66869823586523 -25.0000000000021 -3.42151418496854 -8.23510315977423 -99.4850816798622 -5.53716009462218 -7.28706042974333 -174.413170878392 1.11837353498075 -13.1917933197747 -249.566309831969 0.515955111606914 -11.4738924260077 -324.810924944853 0.375287688667968 -11.6615954756796 -399.993258630431 1.38531819542347 -9.32817442354434 -475.000000000023 2.77635102776166 --1.48606691719948 -24.9999999999992 -1.12934549200199 -17.3493869681 -99.485081679998 -4.327003800779 -21.7236558592728 -174.413170878021 0.525789304459859 -27.8579301795979 -249.566309832529 -0.705317106180494 -27.5494536769031 -324.810924944488 -0.279751967811292 -26.3659630151015 -399.993258630581 0.106063970030991 -21.6723628733705 -475.000000000012 1.06748181665988 --10.9312845413565 -25 3.82346289402989 -25.6012867411756 -99.4850816799761 -0.238315657343122 -35.6399861579536 -174.41317087808 1.71334351255166 -41.1451309203281 -249.566309832431 -0.134041556662055 -42.5521587274871 -324.810924944554 0.847811718697027 -39.9176404982465 -399.993258630544 0.385099715266066 -33.1166934221002 -475.000000000025 0.644157553174445 - -0 7 -1 7 - -0 7 -1 7 - -1 -9.75 -17.25 -88.5 0 0 1 1 0 0 0 1 0 -2 0 15.507 -90.243 1 0 0 0 0 1 0 1 0 1.743 -9 1 1 0 0 2 8 3 9 2 2 0.42 15.507 -88.5 1 -0.00470405685716957 15.507 -88.5 1 -0.429394567587243 15.7058195696457 -88.5 0.999999999999993 -0.74793802139333 16.0688270293687 -88.5 1.00000000000001 -0.897051429875599 16.5031420104552 -88.5 0.999999999999978 -0.89469573069668 16.8974935540275 -88.5 1.00000000000002 -0.827775318736082 17.1999254454131 -88.5 0.999999999999987 -0.776999999999992 17.4349695996033 -88.5 1 -0.776999999999999 17.67 -88.5 1 -0.42 17.25 -88.5 0.707106781186548 0.337533192843266 17.25 -88.5 0.70710678118655 0.255066359728237 17.2685055313638 -88.5 0.70710678118654 0.177444441579257 17.3055164123339 -88.5000000000001 0.70710678118656 0.109511322572447 17.3595113225726 -88.4999999999999 0.707106781186534 0.0555164123340048 17.4274444415791 -88.5000000000001 0.707106781186558 0.0185055313636971 17.5050663597283 -88.5 0.707106781186542 8.60422844084496e-016 17.5875331928433 -88.5 0.707106781186549 -2.4980018054066e-016 17.67 -88.5 0.707106781186548 -0.42 17.25 -90.243 1 0.337533192843267 17.25 -90.243 1 0.255066359728235 17.2685055313637 -90.1395 0.999999999999993 0.17744444157926 17.305516412334 -89.967 1.00000000000001 0.109511322572448 17.3595113225725 -89.76 0.999999999999978 0.0555164123340016 17.4274444415792 -89.553 1.00000000000002 0.0185055313637008 17.5050663597283 -89.3805 0.999999999999987 -6.66133814775094e-016 17.5875331928433 -89.277 1 0 17.67 -89.277 1 - -0 3 -1.5707963267949 3 - -0 9 -1.5707963267949 9 - -2 61.284 -17.25 -89.466 0 1 0 0 0 1 1 0 0 0.966 -2 -0.777 17.25 -89.277 0 1 0 0 0 1 1 0 0 0.777 -2 0 -15.507 -90.243 1 0 0 0 0 1 0 -1 0 1.743 -5 0 0 -92.4584067434747 0 0 -1 -1.89443403726761e-011 1 0 -1 -1.89443403726761e-011 0 41.0415932565253 3.95840674347468 -9 1 1 0 0 2 8 3 9 2 2 0.42 -15.507 -88.5 1 -0.00470405685716691 -15.507 -88.5 0.999999999999993 -0.429394567587231 -15.7058195696457 -88.5 1.00000000000002 -0.747938021393385 -16.0688270293688 -88.5 0.999999999999959 -0.897051429875493 -16.5031420104551 -88.5 1.00000000000004 -0.894695730696774 -16.8974935540276 -88.5 0.999999999999973 -0.82777531873604 -17.1999254454131 -88.5 1.00000000000001 -0.776999999999999 -17.4349695996033 -88.5 0.999999999999998 -0.776999999999999 -17.67 -88.5 1 -0.42 -17.25 -88.5 0.707106781186548 0.337533192843266 -17.25 -88.5 0.707106781186544 0.255066359728243 -17.2685055313637 -88.4999999999999 0.707106781186561 0.177444441579236 -17.3055164123339 -88.5000000000003 0.707106781186524 0.109511322572491 -17.3595113225726 -88.4999999999996 0.707106781186572 0.0555164123339668 -17.4274444415792 -88.5000000000003 0.70710678118653 0.0185055313637145 -17.5050663597283 -88.4999999999999 0.707106781186555 -1.74860126378462e-015 -17.5875331928433 -88.5 0.707106781186546 -2.77555756156289e-016 -17.67 -88.5 0.707106781186548 -0.42 -17.25 -90.243 1 0.337533192843269 -17.25 -90.243 0.999999999999993 0.255066359728233 -17.2685055313637 -90.1395000000001 1.00000000000002 0.177444441579254 -17.305516412334 -89.9669999999999 0.999999999999959 0.109511322572473 -17.3595113225725 -89.7600000000001 1.00000000000004 0.055516412333981 -17.4274444415793 -89.5529999999999 0.999999999999973 0.0185055313637079 -17.5050663597282 -89.3805 1.00000000000001 1.66533453693773e-016 -17.5875331928433 -89.277 0.999999999999998 0 -17.67 -89.277 1 - -0 3 -1.5707963267949 3 - -0 9 -1.5707963267949 9 - -2 -0.777 -45 -89.277 0 1 0 0 0 1 1 0 0 0.777 -1 -33.1166934221002 -475.000000000025 0.644157553174443 6.94461264078969e-013 -1 1.77710170724169e-013 0.946188858707717 7.14601181028962e-013 0.323614962041912 -0.323614962041912 -5.65906719962391e-014 0.946188858707717 -1 -9.75 17.25 -103.5 0 1 0 0 0 1 1 0 0 -9 1 1 0 0 2 7 3 8 2 2 62.25 15.507 -89.466 1 62.25 15.6813583922742 -89.466 0.999999999999996 62.25 15.8558389368571 -89.433749088271 1.00000000000001 62.25 16.088685797969 -89.3997150819104 0.99999999999999 62.25 16.393616798535 -89.4497172222408 1.00000000000001 62.25 16.6743764265126 -89.6493634203919 0.999999999999995 62.25 16.83 -89.9461194942358 1 62.25 16.83 -90.243 1 -62.25 15.507 -88.5 0.707106781186548 62.25 15.8981282853719 -88.5 0.707106781186546 62.2500000000001 16.2892546786662 -88.6023993092594 0.70710678118655 62.2499999999999 16.6482239178544 -88.8071815752018 0.707106781186545 62.2500000000001 16.9428184247985 -89.1017760821454 0.707106781186549 62.25 17.1476006907405 -89.4607453213339 0.707106781186546 62.25 17.25 -89.8518717146281 0.707106781186548 62.25 17.25 -90.243 0.707106781186548 -61.284 15.507 -88.5 1 61.284 15.8981282853719 -88.5 0.999999999999996 61.362 16.2892546786662 -88.6023993092595 1.00000000000001 61.4868 16.6482239178544 -88.8071815752016 0.99999999999999 61.6272 16.9428184247985 -89.1017760821455 1.00000000000001 61.752 17.1476006907405 -89.4607453213339 0.999999999999995 61.83 17.25 -89.8518717146281 1 61.83 17.25 -90.243 1 - -0 3 -1.5707963267949 3 - -0 8 -1.5707963267949 8 - -2 0.42 17.67 -88.5 0 0 -1 0 -1 0 -1 0 0 0.42 -9 1 1 0 0 2 7 3 8 2 2 62.25 -16.83 -90.243 1 62.25 -16.83 -89.9461194942358 1 62.25 -16.6743764265126 -89.6493634203918 0.999999999999989 62.25 -16.393616798535 -89.4497172222409 1.00000000000002 62.25 -16.088685797969 -89.3997150819103 0.999999999999981 62.25 -15.8558389368571 -89.433749088271 1.00000000000001 62.25 -15.6813583922742 -89.466 0.999999999999997 62.25 -15.507 -89.466 1 -62.25 -17.25 -90.243 0.707106781186548 62.25 -17.25 -89.8518717146281 0.707106781186549 62.25 -17.1476006907405 -89.4607453213338 0.707106781186539 62.2500000000001 -16.9428184247985 -89.1017760821456 0.707106781186564 62.2499999999999 -16.6482239178543 -88.8071815752016 0.707106781186532 62.2500000000001 -16.2892546786662 -88.6023993092594 0.707106781186557 62.25 -15.8981282853719 -88.5 0.707106781186544 62.25 -15.507 -88.5 0.707106781186548 -61.83 -17.25 -90.243 1 61.83 -17.25 -89.8518717146281 1 61.752 -17.1476006907405 -89.4607453213338 0.999999999999989 61.6272 -16.9428184247985 -89.1017760821456 1.00000000000002 61.4868 -16.6482239178544 -88.8071815752016 0.999999999999981 61.362 -16.2892546786662 -88.6023993092595 1.00000000000001 61.284 -15.8981282853719 -88.5 0.999999999999997 61.284 -15.507 -88.5 1 - -0 3 -1.5707963267949 3 - -0 8 -1.5707963267949 8 - -1 62.25 -17.25 -103.5 1 0 0 0 0 1 0 -1 0 -1 0 -60 -180 1 0 0 0 0 1 0 -1 0 -9 1 1 0 0 2 7 3 8 2 2 0 44.5780214904161 -92.4584067434747 1 3.33066907387547e-016 44.5780214904161 -91.6631834778663 0.999999999999998 -5.55111512312578e-016 44.3180890552093 -90.8680906909621 1 8.32667268468867e-016 43.8183809767075 -90.1863889170034 1 -7.7715611723761e-016 43.1648442512693 -89.7035377309087 0.999999999999997 3.88578058618805e-016 42.4621584257124 -89.4129449508094 1 -1.11022302462516e-016 41.7481435138979 -89.277 0.999999999999999 0 41.034237510085 -89.277 1 -1.11022302462516e-016 45.0019972382869 -92.4584067434747 0.703767978405767 6.66133814775094e-016 45.0019972382869 -91.5680435425226 0.703767978405765 -3.05311331771918e-015 44.768832212209 -90.6770865958958 0.703538881003184 7.71605002114484e-015 44.3015600211315 -89.8599203953232 0.703247966328361 -9.27036225562006e-015 43.6320012302769 -89.1917464885104 0.703309407114087 6.21724893790088e-015 42.8155496863934 -88.7269259199965 0.704162036931774 -1.33226762955019e-015 41.9243925381935 -88.4966923787848 0.705604931867243 -3.33066907387547e-016 41.034237510085 -88.5 0.707106781186548 --0.423956931359354 44.9980028503527 -92.4584067434747 1 -0.423956931359354 44.9980028503527 -91.568939881079 0.999999999999998 -0.475734187145862 44.7643271232343 -90.6795254142516 1 -0.558303897538464 44.2972064506561 -89.8637072072105 1 -0.651726709266949 43.6258587651757 -89.1963977954777 0.999999999999997 -0.732484541788461 42.8107965980783 -88.7325433618894 1 -0.780300596040509 41.9225019061721 -88.5 0.999999999999999 -0.777 41.034237510085 -88.5 1 - -0 3 -1.5707963267949 3 - -0 8 -1.5707963267949 8 - -1 -9.75 -17.25 -103.5 0 1 0 0 0 1 1 0 0 -9 1 1 0 0 2 7 3 8 2 2 0 -41.034237510085 -89.277 1 -5.55111512312578e-017 -41.7481435138979 -89.277 0.999999999999998 -1.66533453693773e-016 -42.4621584257123 -89.4129449508095 1 1.16573417585641e-015 -43.1648442512694 -89.7035377309086 1 -1.72084568816899e-015 -43.8183809767074 -90.1863889170034 0.999999999999997 1.49880108324396e-015 -44.3180890552093 -90.8680906909621 1 -6.10622663543836e-016 -44.5780214904161 -91.6631834778663 0.999999999999999 0 -44.5780214904161 -92.4584067434747 1 --2.05391259555654e-015 -41.034237510085 -88.5 0.707106781186548 -1.55431223447522e-015 -41.9243925381935 -88.4966923787848 0.705604931867241 3.09752223870419e-014 -42.8155496863934 -88.7269259199966 0.704162036931777 -1.22124532708767e-013 -43.6320012302769 -89.1917464885102 0.703309407114084 1.22291066162461e-013 -44.3015600211315 -89.8599203953233 0.703247966328363 -4.96269692007445e-014 -44.7688322122091 -90.6770865958957 0.703538881003183 3.1641356201817e-015 -45.0019972382869 -91.5680435425226 0.703767978405767 4.32986979603811e-015 -45.0019972382869 -92.4584067434747 0.703767978405767 --0.777000000000002 -41.034237510085 -88.5 1 -0.780300596040509 -41.9225019061721 -88.5 0.999999999999998 -0.732484541788434 -42.8107965980784 -88.7325433618895 1 -0.651726709267067 -43.6258587651756 -89.1963977954775 1 -0.558303897538341 -44.2972064506561 -89.8637072072107 0.999999999999997 -0.475734187145913 -44.7643271232343 -90.6795254142516 1 -0.423956931359349 -44.9980028503527 -91.568939881079 0.999999999999999 -0.423956931359349 -44.9980028503527 -92.4584067434747 1 - -0 3 -1.5707963267949 3 - -0 8 -1.5707963267949 8 - -2 0 0 -103.5 0 0 1 1 0 0 0 1 0 45 -2 0.42 -17.67 -88.5 0 0 -1 0 1 0 -1 0 0 0.42 -2 61.83 16.83 -103.5 0 0 1 0 1 0 1 0 0 0.42 -2 0 15.507 -101.757 1 0 0 0 1 0 0 0 -1 1.743 -9 1 1 0 0 2 8 3 9 2 2 -0.776999999999999 17.67 -103.5 1 -0.776999999999995 17.4349695996033 -103.5 1 -0.827775318736075 17.1999254454131 -103.5 0.999999999999992 -0.894695730696685 16.8974935540275 -103.5 1.00000000000002 -0.89705142987562 16.5031420104551 -103.5 0.999999999999977 -0.747938021393283 16.0688270293687 -103.5 1.00000000000002 -0.429394567587257 15.7058195696457 -103.5 0.999999999999987 -0.00470405685716868 15.507 -103.5 1 0.42 15.507 -103.5 1 --3.05311331771918e-016 17.67 -103.5 0.707106781186548 -1.11022302462516e-015 17.5875331928433 -103.5 0.70710678118655 0.0185055313637057 17.5050663597283 -103.5 0.70710678118654 0.0555164123340016 17.4274444415792 -103.5 0.70710678118656 0.109511322572433 17.3595113225725 -103.5 0.707106781186534 0.177444441579287 17.305516412334 -103.5 0.707106781186558 0.255066359728228 17.2685055313637 -103.5 0.707106781186542 0.337533192843265 17.25 -103.5 0.707106781186549 0.42 17.25 -103.5 0.707106781186548 -0 17.67 -102.723 1 1.94289029309402e-016 17.5875331928433 -102.723 1 0.0185055313637023 17.5050663597282 -102.6195 0.999999999999992 0.0555164123340075 17.4274444415793 -102.447 1.00000000000002 0.109511322572426 17.3595113225725 -102.24 0.999999999999977 0.177444441579293 17.305516412334 -102.033 1.00000000000002 0.255066359728225 17.2685055313637 -101.8605 0.999999999999987 0.337533192843266 17.25 -101.757 1 0.42 17.25 -101.757 1 - -0 3 -1.5707963267949 3 - -0 9 -1.5707963267949 9 - -2 61.83 -16.83 -103.5 0 0 1 1 0 0 0 -1 0 0.42 -9 1 1 0 0 2 7 3 8 2 2 62.25 -16.83 -101.757 1 62.25 -16.83 -102.053880505764 0.999999999999998 62.25 -16.6743764265126 -102.350636579608 1 62.25 -16.3936167985349 -102.550282777759 0.999999999999999 62.25 -16.0886857979691 -102.60028491809 0.999999999999999 62.25 -15.8558389368571 -102.566250911729 1 62.25 -15.6813583922742 -102.534 1 62.25 -15.507 -102.534 1 -62.25 -17.25 -101.757 0.707106781186548 62.25 -17.25 -102.148128285372 0.707106781186546 62.25 -17.1476006907405 -102.539254678666 0.707106781186549 62.2500000000001 -16.9428184247983 -102.898223917855 0.707106781186549 62.2499999999999 -16.6482239178545 -103.192818424798 0.707106781186545 62.25 -16.2892546786661 -103.397600690741 0.707106781186549 62.25 -15.8981282853719 -103.5 0.707106781186547 62.25 -15.507 -103.5 0.707106781186548 -61.83 -17.25 -101.757 1 61.83 -17.25 -102.148128285372 0.999999999999998 61.752 -17.1476006907405 -102.539254678666 1 61.6272 -16.9428184247984 -102.898223917855 0.999999999999999 61.4868 -16.6482239178544 -103.192818424798 0.999999999999999 61.362 -16.2892546786661 -103.397600690741 1 61.284 -15.8981282853719 -103.5 1 61.284 -15.507 -103.5 1 - -0 3 -1.5707963267949 3 - -0 8 -1.5707963267949 8 - -9 1 1 0 0 2 7 3 8 2 2 62.25 16.83 -101.757 1 62.25 16.83 -102.053880505764 1 62.25 16.6743764265126 -102.350636579608 0.999999999999989 62.25 16.393616798535 -102.550282777759 1.00000000000002 62.25 16.0886857979691 -102.60028491809 0.999999999999981 62.25 15.8558389368571 -102.566250911729 1.00000000000001 62.25 15.6813583922742 -102.534 0.999999999999997 62.25 15.507 -102.534 1 -62.25 17.25 -101.757 0.707106781186548 62.25 17.25 -102.148128285372 0.707106781186549 62.25 17.1476006907405 -102.539254678666 0.707106781186539 62.2500000000001 16.9428184247985 -102.898223917855 0.707106781186564 62.2499999999999 16.6482239178544 -103.192818424798 0.707106781186532 62.2500000000001 16.2892546786662 -103.397600690741 0.707106781186557 62.25 15.8981282853719 -103.5 0.707106781186544 62.25 15.507 -103.5 0.707106781186548 -61.83 17.25 -101.757 1 61.83 17.25 -102.148128285372 1 61.752 17.1476006907405 -102.539254678666 0.999999999999989 61.6272 16.9428184247985 -102.898223917854 1.00000000000002 61.4868 16.6482239178544 -103.192818424798 0.999999999999981 61.362 16.2892546786661 -103.397600690741 1.00000000000001 61.284 15.8981282853719 -103.5 0.999999999999997 61.284 15.507 -103.5 1 - -0 3 -1.5707963267949 3 - -0 8 -1.5707963267949 8 - -2 61.284 -17.25 -102.534 0 1 0 1 0 0 0 0 -1 0.966 -2 -0.777 17.25 -102.723 0 1 0 1 0 0 0 0 -1 0.777 -2 -0.42 44.5780214904161 -103.5 0 0 1 1 0 0 0 1 0 0.42 -9 1 1 0 0 2 7 3 8 2 2 0 41.034237510085 -102.723 1 -2.22044604925031e-016 41.7481435138979 -102.723 1 8.88178419700125e-016 42.4621584257123 -102.587055049191 0.999999999999989 -1.27675647831893e-015 43.1648442512694 -102.296462269091 1.00000000000002 8.32667268468867e-016 43.8183809767075 -101.813611082996 0.999999999999981 -1.66533453693773e-016 44.3180890552092 -101.131909309038 1.00000000000001 5.55111512312578e-017 44.5780214904161 -100.336816522134 0.999999999999997 0 44.5780214904161 -99.5415932565253 1 --1.11022302462516e-016 41.034237510085 -103.5 0.707106781186548 5.55111512312578e-016 41.9243925381935 -103.503307621215 0.705604931867243 -1.16573417585641e-015 42.8155496863933 -103.273074080003 0.70416203693177 3.5527136788005e-015 43.632001230277 -102.80825351149 0.703309407114096 -4.94049245958195e-015 44.3015600211315 -102.140079604677 0.703247966328353 3.49720252756924e-015 44.768832212209 -101.322913404104 0.703538881003188 -1.27675647831893e-015 45.0019972382869 -100.431956457477 0.703767978405766 1.66533453693773e-016 45.0019972382869 -99.5415932565253 0.703767978405767 --0.777 41.034237510085 -103.5 1 -0.780300596040507 41.9225019061721 -103.5 1 -0.732484541788464 42.8107965980783 -103.267456638111 0.999999999999989 -0.651726709266946 43.6258587651758 -102.803602204523 1.00000000000002 -0.558303897538463 44.297206450656 -102.136292792789 0.999999999999981 -0.475734187145863 44.7643271232343 -101.320474585748 1.00000000000001 -0.423956931359352 44.9980028503527 -100.431060118921 0.999999999999997 -0.423956931359354 44.9980028503527 -99.5415932565253 1 - -0 3 -1.5707963267949 3 - -1.0578624220219e-018 8 -1.5707963267949 8 - -2 0 -15.507 -101.757 1 0 0 0 -1 0 0 0 -1 1.743 -2 -0.42 -44.5780214904161 -103.5 0 0 1 -0.00942126514130826 -0.999955618896727 0 0.999955618896727 -0.00942126514130826 0 0.42 -5 0 0 -99.5415932565253 0 0 -1 -1.89443403726761e-011 1 0 -1 -1.89443403726761e-011 0 41.0415932565253 3.95840674347468 -9 1 1 0 0 2 8 3 9 2 2 -0.776999999999999 -17.67 -103.5 1 -0.776999999999997 -17.4349695996033 -103.5 1 -0.82777531873607 -17.1999254454131 -103.5 0.999999999999992 -0.894695730696698 -16.8974935540275 -103.5 1.00000000000002 -0.897051429875597 -16.5031420104551 -103.5 0.999999999999977 -0.747938021393309 -16.0688270293687 -103.5 1.00000000000002 -0.429394567587243 -15.7058195696457 -103.5 0.999999999999987 -0.00470405685717024 -15.507 -103.5 1 0.42 -15.507 -103.5 1 --2.22044604925031e-016 -17.67 -103.5 0.707106781186548 -8.88178419700125e-016 -17.5875331928433 -103.5 0.70710678118655 0.0185055313637051 -17.5050663597283 -103.5 0.70710678118654 0.0555164123340078 -17.4274444415792 -103.5 0.70710678118656 0.109511322572429 -17.3595113225726 -103.5 0.707106781186534 0.177444441579283 -17.3055164123339 -103.5 0.707106781186558 0.25506635972823 -17.2685055313637 -103.5 0.707106781186542 0.337533192843266 -17.25 -103.5 0.707106781186549 0.42 -17.25 -103.5 0.707106781186548 --2.77555756156289e-017 -17.67 -102.723 1 4.44089209850063e-016 -17.5875331928433 -102.723 1 0.0185055313637018 -17.5050663597282 -102.6195 0.999999999999992 0.0555164123340146 -17.4274444415792 -102.447 1.00000000000002 0.109511322572421 -17.3595113225725 -102.24 0.999999999999977 0.17744444157929 -17.3055164123339 -102.033 1.00000000000002 0.255066359728227 -17.2685055313637 -101.8605 0.999999999999987 0.337533192843266 -17.25 -101.757 1 0.42 -17.25 -101.757 1 - -0 3 -1.5707963267949 3 - -0 9 -1.5707963267949 9 - -2 -0.777 -45 -102.723 0 1 0 1 0 0 0 0 -1 0.777 -9 1 1 0 0 2 7 3 8 2 2 0 -41.034237510085 -102.723 1 -5.55111512312578e-017 -41.7481435138979 -102.723 1 -5.55111512312578e-017 -42.4621584257123 -102.587055049191 0.999999999999989 1.60982338570648e-015 -43.1648442512695 -102.296462269091 1.00000000000002 -2.60902410786912e-015 -43.8183809767073 -101.813611082997 0.999999999999981 2.22044604925031e-015 -44.3180890552093 -101.131909309038 1.00000000000001 -7.7715611723761e-016 -44.5780214904161 -100.336816522134 0.999999999999997 0 -44.5780214904161 -99.5415932565253 1 --1.88737914186277e-015 -41.034237510085 -103.5 0.707106781186548 -2.77555756156289e-015 -41.9243925381935 -103.503307621215 0.705604931867245 4.53526105559376e-014 -42.8155496863933 -103.273074080003 0.704162036931762 -1.5271117703719e-013 -43.6320012302771 -102.80825351149 0.703309407114109 1.4255263636187e-013 -44.3015600211315 -102.140079604677 0.70324796632834 -4.54081217071689e-014 -44.768832212209 -101.322913404104 0.703538881003196 4.71844785465692e-015 -45.0019972382869 -100.431956457477 0.703767978405763 4.49640324973188e-015 -45.0019972382869 -99.5415932565253 0.703767978405767 --0.777000000000002 -41.034237510085 -103.5 1 -0.780300596040508 -41.9225019061722 -103.5 1 -0.732484541788425 -42.8107965980783 -103.267456638111 0.999999999999989 -0.65172670926709 -43.6258587651757 -102.803602204522 1.00000000000002 -0.558303897538328 -44.297206450656 -102.136292792789 0.999999999999981 -0.475734187145905 -44.7643271232343 -101.320474585748 1.00000000000001 -0.423956931359348 -44.9980028503527 -100.431060118921 0.999999999999997 -0.42395693135935 -44.9980028503527 -99.5415932565253 1 - -0 3 -1.5707963267949 3 - -0 8 -1.5707963267949 8 - -1 -9.75 -17.25 -103.5 0 0 1 1 0 0 0 1 0 -5 45 0 -105.558371506632 0 0 1 -1 -1.83690953073357e-016 0 -1.83690953073357e-016 1 0 13.758371506632 2.05837150663203 -2 45 0 -90 0 0 -1 -1 0 0 0 1 0 11.7 -5 45 0 -125.441628493368 0 0 -1 -1 0 0 0 1 0 9.64162849336797 2.05837150663203 -1 45 0 -127.5 0 0 -1 -1 0 0 0 1 0 -Triangulations 0 - -TShapes 414 -Ve -1e-007 -15 0 -75 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 1 0 0 6.28318530717959 -2 1 2 0 0 6.28318530717959 -2 2 1 0 0 6.28318530717959 -0 - -0101100 -+414 0 -414 0 * -Wi - -0101000 -+413 0 * -Ve -4.11249561538861e-006 --6.75 0 -75 -0 0 - -0101101 -* -Ed - 6.74999999999938e-008 1 1 0 -1 2 0 4.71238898038469 10.9955742875643 -2 3 1 0 4.71238898038469 10.9955742875643 -2 4 3 0 4.71238898038469 10.9955742875643 -0 - -0101000 -+411 0 -411 0 * -Wi - -0101000 -+410 0 * -Fa -0 1e-007 1 0 - -0101000 -+412 0 +409 0 * -Ve -9.89580380368483e-005 --29.1697097253819 15.7382456318044 1.08158343478944 -0 0 - -0101101 -* -Ve -0.000394037021258874 --26.7279667795255 -12.4177348949006 28.6225047204278 -0 0 - -0101101 -* -Ed - 9.80491494772757e-005 1 1 0 -1 3 0 -0.420603299794028 54.6228429263445 -2 5 4 0 -0.420603299794028 54.6228429263445 -2 6 2 0 -0.420603299794028 54.6228429263445 -4 G1 4 0 2 0 -0 - -0101000 -+407 0 -406 0 * -Ve -0.000138481133758762 --29.9716379535258 13.5914611286584 -1.63438980925443 -0 0 - -0101101 -* -Ed - 9.89580380368483e-005 1 1 0 -1 4 0 0 1 -2 7 5 0 0 1 -2 8 2 0 0 1 -4 G1 5 0 2 0 -0 - -0101000 -+407 0 -404 0 * -Ve -0.000394037021258874 --26.5611291175064 -15.5894671074197 24.0031604645617 -0 0 - -0101101 -* -Ed - 0.000394037021258874 1 1 0 -1 5 0 0 1 -2 9 6 0 0 1 -2 10 2 0 0 1 -4 G1 6 0 2 0 -0 - -0101000 -+406 0 -402 0 * -Ed - 6.88069552925314e-005 1 1 0 -1 6 0 0.942272157243807 45.7286095291016 -2 11 7 0 0.942272157243807 45.7286095291016 -2 12 2 0 0.942272157243807 45.7286095291016 -4 G1 7 0 2 0 -0 - -0101000 -+402 0 -404 0 * -Wi - -0101100 --405 0 +403 0 -401 0 -400 0 * -Ve -0.0001 -27.9584970826234 -6.847630634141e-015 33.0534527532866 -0 0 - -0101101 -* -Ve -1e-007 -0 0 75 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 7 0 0 0.226409163240384 -3 13 14CN 2 0 0 0.226409163240384 -0 - -0101000 --398 0 +397 0 * -Ve -0.000386627331149612 -26.7327274516823 12.4017240083575 28.6301933791151 -0 0 - -0101101 -* -Ed - 5.35858490465957e-005 1 1 0 -1 8 0 41.279068928176 54.424973474795 -2 15 8 0 41.279068928176 54.424973474795 -2 16 2 0 41.279068928176 54.424973474795 -4 G1 8 0 2 0 -0 - -0101000 -+398 0 -395 0 * -Ed - 1e-007 1 1 1 -2 17 2 0 0 6.28318530717959 -0 - -0101100 -+397 0 -397 0 * -Ve -0.000386627331149612 -26.5611162809628 15.589460697284 24.0032158124661 -0 0 - -0101101 -* -Ed - 0.000386627331149612 1 1 0 -1 9 0 0 1 -2 18 9 0 0 1 -2 19 2 0 0 1 -4 G1 9 0 2 0 -0 - -0101000 -+395 0 -392 0 * -Ve -0.0001 -32.2311050305504 0 -6.36067282244892 -0 0 - -0101101 -* -Ed - 8.27565056530142e-005 1 1 0 -1 10 0 0.68423831109989 28.0890252572899 -2 20 10 0 0.68423831109989 28.0890252572899 -2 21 2 0 0.68423831109989 28.0890252572899 -4 G1 10 0 2 0 -0 - -0101000 -+392 0 -390 0 * -Ve -9.1554227256584e-005 -29.1701197894859 -15.7370944029424 1.07875770887412 -0 0 - -0101101 -* -Ed - 9.09728162869401e-005 1 1 0 -1 11 0 -0.385519775299606 41.279068928176 -2 22 11 0 -0.385519775299606 41.279068928176 -2 23 2 0 -0.385519775299606 41.279068928176 -4 G1 11 0 2 0 -0 - -0101000 -+388 0 -398 0 * -Ed - 1e-007 1 1 0 -1 7 0 0.466044007797275 1 -3 13 14CN 2 0 0.466044007797275 1 -0 - -0101000 -+390 0 -414 0 * -Ve -0.000135271348701012 -29.9713242594093 -13.5922762932856 -1.63391552632768 -0 0 - -0101101 -* -Ed - 9.1554227256584e-005 1 1 0 -1 12 0 0 1 -2 24 12 0 0 1 -2 25 2 0 0 1 -4 G1 12 0 2 0 -0 - -0101000 -+388 0 -385 0 * -Ed - 7.64084824499673e-005 1 1 0 -1 13 0 28.0890252572899 45.3389927894818 -2 26 13 0 28.0890252572899 45.3389927894818 -2 27 2 0 28.0890252572899 45.3389927894818 -4 G1 13 0 2 0 -0 - -0101000 -+390 0 -385 0 * -Wi - -0101100 --396 0 -394 0 +393 0 -391 0 +396 0 -389 0 -387 0 -386 0 +384 0 -413 0 --383 0 +386 0 * -Ve -9.893662368483e-005 -15.7382456318043 29.1697097253819 1.08158343478932 -0 0 - -0101101 -* -Ve -0.000394070246866315 --12.4177348949022 26.727966779525 28.6225047204269 -0 0 - -0101101 -* -Ed - 9.80491498033151e-005 1 1 0 -1 14 0 -0.420603299792066 54.622842926337 -2 28 14 0 -0.420603299792066 54.622842926337 -2 29 2 0 -0.420603299792066 54.622842926337 -4 G1 14 0 2 0 -0 - -0101000 -+381 0 -380 0 * -Ve -0.000138451646550423 -13.5914697909388 29.971634621368 -1.63438475971928 -0 0 - -0101101 -* -Ed - 9.893662368483e-005 1 1 0 -1 15 0 0 1 -2 30 15 0 0 1 -2 31 2 0 0 1 -4 G1 15 0 2 0 -0 - -0101000 -+381 0 -378 0 * -Ve -0.000394070246866315 --15.5894669657271 26.561128831722 24.0031616947999 -0 0 - -0101101 -* -Ed - 0.000394070246866315 1 1 0 -1 16 0 0 1 -2 32 16 0 0 1 -2 33 2 0 0 1 -4 G1 16 0 2 0 -0 - -0101000 -+380 0 -376 0 * -Ed - 6.91900047965571e-005 1 1 0 -1 17 0 0.942299044516773 45.7287153354437 -2 34 17 0 0.942299044516773 45.7287153354437 -2 35 2 0 0.942299044516773 45.7287153354437 -4 G1 17 0 2 0 -0 - -0101000 -+376 0 -378 0 * -Wi - -0101100 --379 0 +377 0 -375 0 -374 0 * -Ve -9.98664800816088e-005 --15.738390118134 -29.1696582363437 1.08193794596004 -0 0 - -0101101 -* -Ve -0.000393967114785675 -12.4180913398767 -26.7278606569222 28.6223335854435 -0 0 - -0101101 -* -Ed - 8.72712619340438e-005 1 1 0 -1 18 0 -0.434472092682603 54.6384411920738 -2 36 18 0 -0.434472092682603 54.6384411920738 -2 37 2 0 -0.434472092682603 54.6384411920738 -4 G1 18 0 2 0 -0 - -0101000 -+372 0 -371 0 * -Ve -0.000138723119300663 --13.5913551878849 -29.9716784871712 -1.63445341942712 -0 0 - -0101101 -* -Ed - 9.98664800816088e-005 1 1 0 -1 19 0 0 1 -2 38 19 0 0 1 -2 39 2 0 0 1 -4 G1 19 0 2 0 -0 - -0101000 -+372 0 -369 0 * -Ve -0.000393967114785675 -15.5894681746511 -26.5611312659444 24.0031512120405 -0 0 - -0101101 -* -Ed - 0.000393967114785675 1 1 0 -1 20 0 0 1 -2 40 20 0 0 1 -2 41 2 0 0 1 -4 G1 20 0 2 0 -0 - -0101000 -+371 0 -367 0 * -Ed - 6.60128016703809e-005 1 1 0 -1 21 0 0.94206177105988 45.7277137013037 -2 42 21 0 0.94206177105988 45.7277137013037 -2 43 2 0 0.94206177105988 45.7277137013037 -4 G1 21 0 2 0 -0 - -0101000 -+367 0 -369 0 * -Wi - -0101100 --370 0 +368 0 -366 0 -365 0 * -Fa -0 1e-007 2 0 - -0111000 -+399 0 +382 0 +373 0 +364 0 * -Ve -1e-007 --6.75 -1.23991393324516e-015 -87.3124779769431 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 22 0 30 42.3124779769431 -3 44 45CN 3 0 30 42.3124779769431 -0 - -0101000 -+411 0 -362 0 * -Ed - 1e-007 1 1 0 -1 23 0 0 6.28318530717959 -2 46 22 0 0 6.28318530717959 -2 47 3 0 0 6.28318530717959 -4 G1 22 0 3 0 -0 - -0101100 -+362 0 -362 0 * -Wi - -0101000 -+361 0 +410 0 -360 0 -361 0 * -Fa -0 1e-007 3 0 - -0101000 -+359 0 * -Ve -9.07733898113905e-005 --35.9718809480099 13.0496729940052 3.27693357407924 -0 0 - -0101101 -* -Ed - 1.70058817129132e-005 1 1 0 -1 24 0 0 1 -2 48 4 0 0 1 -2 49 5 0 0 1 -4 G1 5 0 4 0 -0 - -0101000 -+407 0 -357 0 * -Ve -9.07733898113905e-005 --32.9913789291057 -12.4826322428182 24.6997367372881 -0 0 - -0101101 -* -Ed - 9.07733898113905e-005 1 1 0 -1 25 0 -0.420603299794028 54.6228429263445 -2 50 4 0 -0.420603299794028 54.6228429263445 -2 51 23 1 -0.420603299794028 54.6228429263445 -4 G1 4 0 23 1 -0 - -0101000 -+357 0 -355 0 * -Ed - 1.4836105318907e-005 1 1 0 -1 26 0 0 1 -2 52 4 0 0 1 -2 53 6 0 0 1 -4 G1 6 0 4 0 -0 - -0101000 -+406 0 -355 0 * -Wi - -0101100 -+356 0 -405 0 +354 0 -353 0 * -Fa -0 3.79060116561569e-005 4 0 - -0101000 -+352 0 * -Ve -0.000138481133758762 --36.6209576561956 13.172289135301 3.24760362540627 -0 0 - -0101101 -* -Ed - 8.12076234206026e-007 1 1 0 -1 27 0 0 1 -2 54 5 0 0 1 -2 55 23 1 0 1 -4 G1 5 0 23 1 -0 - -0101000 -+357 0 -350 0 * -Ed - 0.000138481133758762 1 1 0 -1 28 0 0 1 -2 56 7 0 0 1 -2 57 5 0 0 1 -4 G1 5 0 7 0 -0 - -0101000 -+404 0 -350 0 * -Wi - -0101100 -+356 0 -403 0 +349 0 -348 0 * -Fa -0 8.99618527607712e-005 5 0 - -0101000 -+347 0 * -Ve -0.000123158362284895 --33.1673117422325 -12.51624605448 24.7064986653797 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 29 0 0 1 -2 58 6 0 0 1 -2 59 23 1 0 1 -4 G1 6 0 23 1 -0 - -0101000 -+355 0 -345 0 * -Ed - 0.000123158362284895 1 1 0 -1 30 0 0 1 -2 60 7 0 0 1 -2 61 6 0 0 1 -4 G1 6 0 7 0 -0 - -0101000 -+402 0 -345 0 * -Wi - -0101100 -+353 0 -401 0 +344 0 -343 0 * -Fa -0 0.000358215473871703 6 0 - -0101000 -+342 0 * -Ed - 8.77410695010841e-005 1 1 0 -1 31 0 0.942272157243807 45.7286095291016 -2 62 7 0 0.942272157243807 45.7286095291016 -2 63 24 1 0.942272157243807 45.7286095291016 -4 G1 7 0 24 1 -0 - -0101000 -+345 0 -350 0 * -Wi - -0101100 -+343 0 -400 0 +340 0 -348 0 * -Fa -0 3.33703015417347e-005 7 0 - -0101000 -+339 0 * -Ve -8.61610314375069e-005 -34.3183393335298 -1.50809335066634 29.0503801975633 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 32 0 0 54.6412405750099 -2 64 11 0 0 54.6412405750099 -2 65 8 0 0 54.6412405750099 -4 G1 11 0 8 0 -0 - -0101000 -+398 0 -337 0 * -Ve -8.61610314375069e-005 -32.9920406828028 12.4827588373397 24.6997620506361 -0 0 - -0101101 -* -Ed - 8.61610314375069e-005 1 1 0 -1 33 0 41.279068928176 54.424973474795 -2 66 8 0 41.279068928176 54.424973474795 -2 67 23 2 41.279068928176 54.424973474795 -4 G1 8 0 23 2 -0 - -0101000 -+337 0 -335 0 * -Ed - 2.18534863012762e-005 1 1 0 -1 34 0 0 1 -2 68 8 0 0 1 -2 69 9 0 0 1 -4 G1 9 0 8 0 -0 - -0101000 -+395 0 -335 0 * -Wi - -0101100 -+336 0 -394 0 +334 0 -333 0 * -Fa -0 4.84458335237816e-005 8 0 - -0101000 -+332 0 * -Ve -0.000105619054665886 -33.1673434367287 12.5162521136692 24.7064998733986 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 35 0 0 1 -2 70 9 0 0 1 -2 71 23 2 0 1 -4 G1 9 0 23 2 -0 - -0101000 -+335 0 -330 0 * -Ed - 0.000105619054665886 1 1 0 -1 36 0 0 1 -2 72 10 0 0 1 -2 73 9 0 0 1 -4 G1 9 0 10 0 -0 - -0101000 -+392 0 -330 0 * -Wi - -0101100 -+333 0 -391 0 +329 0 -328 0 * -Fa -0 0.000351479391954193 9 0 - -0101000 -+327 0 * -Ve -8.58132890195598e-005 -38.6342953129211 0.547805814190778 -1.11337449715784 -0 0 - -0101101 -* -Ed - 8.58132890195598e-005 1 1 0 -1 37 0 0.68423831109989 28.0890252572899 -2 74 10 0 0.68423831109989 28.0890252572899 -2 75 24 2 0.68423831109989 28.0890252572899 -4 G1 10 0 24 2 -0 - -0101000 -+330 0 -325 0 * -Ed - 1e-007 1 1 0 -1 38 0 0 39.8900200223286 -2 76 10 0 0 39.8900200223286 -2 77 13 0 0 39.8900200223286 -4 G1 10 0 13 0 -0 - -0101000 -+390 0 -325 0 * -Wi - -0101100 -+328 0 -389 0 +324 0 -323 0 * -Fa -0 3.24641357915257e-005 10 0 - -0101000 -+322 0 * -Ve -7.85849778351658e-005 -35.9717285847098 -13.0496441671091 3.27694048396691 -0 0 - -0101101 -* -Ed - 1.92851898976058e-005 1 1 0 -1 39 0 0 1 -2 78 11 0 0 1 -2 79 12 0 0 1 -4 G1 12 0 11 0 -0 - -0101000 -+388 0 -320 0 * -Ed - 7.85849778351658e-005 1 1 0 -1 40 0 -0.385519775299606 41.279068928176 -2 80 11 0 -0.385519775299606 41.279068928176 -2 81 23 2 -0.385519775299606 41.279068928176 -4 G1 11 0 23 2 -0 - -0101000 -+320 0 -337 0 * -Wi - -0101100 -+319 0 -387 0 +318 0 -336 0 * -Fa -0 3.80924825736229e-005 11 0 - -0101000 -+317 0 * -Ve -0.000135271348701012 -36.6209361526554 -13.1722850767494 3.24760458999617 -0 0 - -0101101 -* -Ed - 7.62192779788999e-007 1 1 0 -1 41 0 0 1 -2 82 12 0 0 1 -2 83 23 2 0 1 -4 G1 12 0 23 2 -0 - -0101000 -+320 0 -315 0 * -Ed - 0.000135271348701012 1 1 0 -1 42 0 0 1 -2 84 13 0 0 1 -2 85 12 0 0 1 -4 G1 12 0 13 0 -0 - -0101000 -+385 0 -315 0 * -Wi - -0101100 -+319 0 -384 0 +314 0 -313 0 * -Fa -0 8.32311156878036e-005 12 0 - -0101000 -+312 0 * -Ed - 6.49912106648587e-005 1 1 0 -1 43 0 28.0890252572899 45.3389927894818 -2 86 13 0 28.0890252572899 45.3389927894818 -2 87 24 2 28.0890252572899 45.3389927894818 -4 G1 13 0 24 2 -0 - -0101000 -+325 0 -315 0 * -Wi - -0101100 -+323 0 -383 0 +310 0 -313 0 * -Fa -0 2.22060831882996e-005 13 0 - -0101000 -+309 0 * -Ve -9.07733902955345e-005 -13.0496729940052 35.9718809480099 3.27693357407924 -0 0 - -0101101 -* -Ed - 1.70058816348407e-005 1 1 0 -1 44 0 0 1 -2 88 14 0 0 1 -2 89 15 0 0 1 -4 G1 15 0 14 0 -0 - -0101000 -+381 0 -307 0 * -Ve -9.07733902955345e-005 --12.4826322428182 32.9913789291056 24.6997367372881 -0 0 - -0101101 -* -Ed - 9.07733902955345e-005 1 1 0 -1 45 0 -0.420603299792066 54.622842926337 -2 90 14 0 -0.420603299792066 54.622842926337 -2 91 23 3 -0.420603299792066 54.622842926337 -4 G1 14 0 23 3 -0 - -0101000 -+307 0 -305 0 * -Ed - 1.48360930487703e-005 1 1 0 -1 46 0 0 1 -2 92 14 0 0 1 -2 93 16 0 0 1 -4 G1 16 0 14 0 -0 - -0101000 -+380 0 -305 0 * -Wi - -0101100 -+306 0 -379 0 +304 0 -303 0 * -Fa -0 3.78049986482605e-005 14 0 - -0101000 -+302 0 * -Ve -0.000138451646550423 -13.1722890919605 36.6209574265636 3.24760363570692 -0 0 - -0101101 -* -Ed - 8.11922769247882e-007 1 1 0 -1 47 0 0 1 -2 94 15 0 0 1 -2 95 23 3 0 1 -4 G1 15 0 23 3 -0 - -0101000 -+307 0 -300 0 * -Ed - 0.000138451646550423 1 1 0 -1 48 0 0 1 -2 96 17 0 0 1 -2 97 15 0 0 1 -4 G1 15 0 17 0 -0 - -0101000 -+378 0 -300 0 * -Wi - -0101100 -+306 0 -377 0 +299 0 -298 0 * -Fa -0 8.99423851680272e-005 15 0 - -0101000 -+297 0 * -Ve -0.000123243749167823 --12.5162461906187 33.1673124543483 24.7064986925216 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 49 0 0 1 -2 98 16 0 0 1 -2 99 23 3 0 1 -4 G1 16 0 23 3 -0 - -0101000 -+305 0 -295 0 * -Ed - 0.000123243749167823 1 1 0 -1 50 0 0 1 -2 100 17 0 0 1 -2 101 16 0 0 1 -4 G1 16 0 17 0 -0 - -0101000 -+376 0 -295 0 * -Wi - -0101100 -+303 0 -375 0 +294 0 -293 0 * -Fa -0 0.000358245678969378 16 0 - -0101000 -+292 0 * -Ed - 8.75251719225022e-005 1 1 0 -1 51 0 0.942299044516773 45.7287153354437 -2 102 17 0 0.942299044516773 45.7287153354437 -2 103 24 3 0.942299044516773 45.7287153354437 -4 G1 17 0 24 3 -0 - -0101000 -+295 0 -300 0 * -Wi - -0101100 -+293 0 -374 0 +290 0 -298 0 * -Fa -0 3.34518578267338e-005 17 0 - -0101000 -+289 0 * -Ve -9.0610744033368e-005 --13.0496765849012 -35.9718999275398 3.27693271333241 -0 0 - -0101101 -* -Ed - 1.61669404582885e-005 1 1 0 -1 52 0 0 1 -2 104 18 0 0 1 -2 105 19 0 0 1 -4 G1 19 0 18 0 -0 - -0101000 -+372 0 -287 0 * -Ve -9.0610744033368e-005 -12.4826292928012 -32.9913635083576 24.6997361474107 -0 0 - -0101101 -* -Ed - 9.0610744033368e-005 1 1 0 -1 53 0 -0.434472092682603 54.6384411920738 -2 106 18 0 -0.434472092682603 54.6384411920738 -2 107 23 4 -0.434472092682603 54.6384411920738 -4 G1 18 0 23 4 -0 - -0101000 -+287 0 -285 0 * -Ed - 1.48477590652529e-005 1 1 0 -1 54 0 0 1 -2 108 18 0 0 1 -2 109 20 0 0 1 -4 G1 20 0 18 0 -0 - -0101000 -+371 0 -285 0 * -Wi - -0101100 -+286 0 -370 0 +284 0 -283 0 * -Fa -0 3.72440508617504e-005 18 0 - -0101000 -+282 0 * -Ve -0.000138723119300663 --13.1722897297711 -36.6209608058939 3.24760348411945 -0 0 - -0101101 -* -Ed - 8.18081880600566e-007 1 1 0 -1 55 0 0 1 -2 110 19 0 0 1 -2 111 23 4 0 1 -4 G1 19 0 23 4 -0 - -0101000 -+287 0 -280 0 * -Ed - 0.000138723119300663 1 1 0 -1 56 0 0 1 -2 112 21 0 0 1 -2 113 19 0 0 1 -4 G1 19 0 21 0 -0 - -0101000 -+369 0 -280 0 * -Wi - -0101100 -+286 0 -368 0 +279 0 -278 0 * -Fa -0 9.07877091650989e-005 19 0 - -0101000 -+277 0 * -Ve -0.000122530065545457 -12.51624503103 -33.1673063887552 24.7064984613347 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 57 0 0 1 -2 114 20 0 0 1 -2 115 23 4 0 1 -4 G1 20 0 23 4 -0 - -0101000 -+285 0 -275 0 * -Ed - 0.000122530065545457 1 1 0 -1 58 0 0 1 -2 116 21 0 0 1 -2 117 20 0 0 1 -4 G1 20 0 21 0 -0 - -0101000 -+367 0 -275 0 * -Wi - -0101100 -+283 0 -366 0 +274 0 -273 0 * -Fa -0 0.000358151922532431 20 0 - -0101000 -+272 0 * -Ed - 8.93044152820617e-005 1 1 0 -1 59 0 0.94206177105988 45.7277137013037 -2 118 21 0 0.94206177105988 45.7277137013037 -2 119 24 4 0.94206177105988 45.7277137013037 -4 G1 21 0 24 4 -0 - -0101000 -+275 0 -280 0 * -Wi - -0101100 -+273 0 -365 0 +270 0 -278 0 * -Fa -0 3.27498250807075e-005 21 0 - -0101000 -+269 0 * -Ve -1e-007 --7.93752202305694 -1.45805098545609e-015 -88.5 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 60 0 3.14159265358979 4.71238898038469 -3 120 121G1 22 0 3.14159265358979 4.71238898038469 -0 - -0101000 -+362 0 -267 0 * -Ed - 1e-007 1 1 0 -1 61 0 0 6.28318530717959 -2 122 22 0 0 6.28318530717959 -2 123 25 0 0 6.28318530717959 -4 G1 22 0 25 0 -0 - -0101100 -+267 0 -267 0 * -Wi - -0101100 --266 0 +360 0 -265 0 +266 0 * -Fa -0 0 22 0 - -0101000 -+264 0 * -Ve -8.95249212442437e-005 -33.1166934228064 -474.999999999975 23.2972619228411 -0 0 - -0101101 -* -Ed - 8.95249212442437e-005 1 1 0 -1 62 0 0.0182680633953028 1 -2 124 23 0 0.0182680633953028 1 -2 125 24 0 0.0182680633953028 1 -0 - -0101000 -+345 5 -262 0 * -Ve -8.95756897211691e-005 --33.1166934221002 -475.000000000025 0.644157553174443 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 63 0 0 1 -2 126 23 0 0 1 -0 - -0101000 -+260 0 -262 0 * -Ed - 8.95756897211691e-005 1 1 0 -1 64 0 0.0259903496242342 1 -2 127 23 0 0.0259903496242342 1 -2 128 24 0 0.0259903496242342 1 -0 - -0101000 -+350 5 -260 0 * -Wi - -0101100 -+261 1 +344 0 -259 1 +354 0 -258 1 -349 0 * -Fa -0 1e-007 23 0 - -0101000 -+257 5 * -Ed - 1e-007 1 1 0 -1 65 0 0 1 -2 129 24 0 0 1 -0 - -0101000 -+262 0 -260 0 * -Wi - -0101100 -+258 1 +340 0 -255 1 -261 1 * -Fa -0 1e-007 24 0 - -0101000 -+254 5 * -Ed - 8.95249212442437e-005 1 1 0 -1 62 0 0.0182681481155503 1 -2 124 23 0 0.0182681481155503 1 -2 125 24 0 0.0182681481155503 1 -0 - -0101000 -+330 6 -262 0 * -Ed - 8.95756897211691e-005 1 1 0 -1 64 0 0.0259903033948943 1 -2 127 23 0 0.0259903033948943 1 -2 128 24 0 0.0259903033948943 1 -0 - -0101000 -+315 6 -260 0 * -Wi - -0101100 -+252 2 +329 0 -259 2 +334 0 -251 2 +318 0 -314 0 * -Fa -0 1e-007 23 0 - -0101000 -+250 6 * -Wi - -0101100 -+251 2 +310 0 -255 2 +324 0 -252 2 * -Fa -0 1e-007 24 0 - -0101000 -+248 6 * -Ed - 8.95249212442437e-005 1 1 0 -1 62 0 0.0182680649532182 1 -2 124 23 0 0.0182680649532182 1 -2 125 24 0 0.0182680649532182 1 -0 - -0101000 -+295 7 -262 0 * -Ed - 8.95756897211691e-005 1 1 0 -1 64 0 0.0259903491167396 1 -2 127 23 0 0.0259903491167396 1 -2 128 24 0 0.0259903491167396 1 -0 - -0101000 -+300 7 -260 0 * -Wi - -0101100 -+246 3 +294 0 -259 3 +304 0 -245 3 -299 0 * -Fa -0 1e-007 23 0 - -0101000 -+244 7 * -Wi - -0101100 -+245 3 +290 0 -255 3 -246 3 * -Fa -0 1e-007 24 0 - -0101000 -+242 7 * -Ed - 8.95249212442437e-005 1 1 0 -1 62 0 0.0182680516778122 1 -2 124 23 0 0.0182680516778122 1 -2 125 24 0 0.0182680516778122 1 -0 - -0101000 -+275 8 -262 0 * -Ed - 8.95756897211691e-005 1 1 0 -1 64 0 0.0259903566163272 1 -2 127 23 0 0.0259903566163272 1 -2 128 24 0 0.0259903566163272 1 -0 - -0101000 -+280 8 -260 0 * -Wi - -0101100 -+240 4 +274 0 -259 4 +284 0 -239 4 -279 0 * -Fa -0 1e-007 23 0 - -0101000 -+238 8 * -Wi - -0101100 -+239 4 +270 0 -255 4 -240 4 * -Fa -0 1e-007 24 0 - -0101000 -+236 8 * -Wi - -0101100 -+265 0 * -Ve -7.00746697651362e-005 -0.42 15.507 -88.5 -0 0 - -0101101 -* -Ve -3.88365639729966e-005 -61.284 15.507 -88.5 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 66 0 0.42 61.284 -2 130 26 0 0.42 61.284 -2 131 25 0 0.42 61.284 -4 G1 26 0 25 0 -0 - -0101000 -+233 0 -232 0 * -Ve -3.12381058091669e-005 --0.776999999999999 17.67 -88.5 -0 0 - -0101101 -* -Ed - 8.58133682927913e-006 1 1 0 -1 67 0 0 1.5707963267949 -2 132 27 0 0 1.5707963267949 -2 133 25 0 0 1.5707963267949 -4 G1 27 0 25 0 -0 - -0101000 -+233 0 -230 0 * -Ve -3.88365639793889e-005 -61.284 -15.507 -88.5 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 68 0 1.743 32.757 -2 134 28 0 1.743 32.757 -2 135 25 0 1.743 32.757 -4 G1 28 0 25 0 -0 - -0101000 -+228 0 -232 0 * -Ve -3.12381058131605e-005 --0.777 41.034237510085 -88.5 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 69 0 0.420000000000002 23.784237510085 -2 136 29 0 0.420000000000002 23.784237510085 -2 137 25 0 0.420000000000002 23.784237510085 -4 G1 29 0 25 0 -0 - -0101000 -+230 0 -226 0 * -Ve -7.00746697667343e-005 -0.42 -15.507 -88.5 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 70 0 0.42 61.284 -2 138 30 0 0.42 61.284 -2 139 25 0 0.42 61.284 -4 G1 30 0 25 0 -0 - -0101000 -+224 0 -228 0 * -Ve -3.12381058144586e-005 --0.777000000000002 -41.034237510085 -88.5 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 71 0 0.0189331446610974 3.12265950889081 -2 140 31 0 0.0189331446610974 3.12265950889081 -2 141 25 0 0.0189331446610974 3.12265950889081 -4 G1 31 0 25 0 -0 - -0101100 -+226 0 -222 0 * -Ve -3.12381058090436e-005 --0.776999999999999 -17.67 -88.5 -0 0 - -0101101 -* -Ed - 8.58133683695272e-006 1 1 0 -1 72 0 0 1.5707963267949 -2 142 32 0 0 1.5707963267949 -2 143 25 0 0 1.5707963267949 -4 G1 32 0 25 0 -0 - -0101000 -+224 0 -220 0 * -Ed - 1e-007 1 1 0 -1 73 0 3.96576248991503 27.33 -2 144 33 0 3.96576248991503 27.33 -2 145 25 0 3.96576248991503 27.33 -4 G1 33 0 25 0 -0 - -0101000 -+222 0 -220 0 * -Wi - -0101100 --231 0 +229 0 +227 0 +225 0 +223 0 +221 0 -219 0 +218 0 * -Fa -0 1e-007 25 0 - -0111000 -+234 0 +217 0 * -Wi - -0101000 -+259 0 +255 0 * -Fa -0 1e-007 34 0 - -0111000 --215 0 * -Ve -7.00746697651362e-005 -0.42 17.25 -90.243 -0 0 - -0101101 -* -Ed - 7.00746697651362e-005 1 1 0 -1 74 0 0 1.5707963267949 -2 146 26 0 0 1.5707963267949 -2 147 27 0 0 1.5707963267949 -4 G1 27 0 26 0 -0 - -0101000 -+233 0 -213 0 * -Ve -1.68854625854232e-005 -61.83 17.25 -90.243 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 75 0 0.42 61.83 -2 148 26 0 0.42 61.83 -2 149 35 0 0.42 61.83 -4 G1 26 0 35 0 -0 - -0101000 -+213 0 -211 0 * -Ed - 7.96490451324443e-006 1 1 0 -1 76 0 0 1.5707963267949 -2 150 26 0 0 1.5707963267949 -2 151 36 0 0 1.5707963267949 -4 G1 36 0 26 0 -0 - -0101000 -+232 0 -211 0 * -Wi - -0101100 -+212 0 -231 0 +210 0 -209 0 * -Fa -0 0 26 0 - -0101000 -+208 0 * -Ve -3.12381058091669e-005 -0 17.67 -89.277 -0 0 - -0101101 -* -Ed - 8.58133698860507e-007 1 1 0 -1 77 0 0 1.5707963267949 -2 152 37 0 0 1.5707963267949 -2 153 27 0 0 1.5707963267949 -4 G1 27 0 37 0 -0 - -0101000 -+213 0 -206 0 * -Ed - 3.12381058091669e-005 1 1 0 -1 78 0 0 1.5707963267949 -2 154 29 0 0 1.5707963267949 -2 155 27 0 0 1.5707963267949 -4 G1 27 0 29 0 -0 - -0101000 -+230 0 -206 0 * -Wi - -0101100 -+212 0 -229 0 +205 0 -204 0 * -Fa -0 8.58133685030305e-007 27 0 - -0101000 -+203 0 * -Ve -7.96490450926996e-005 -62.25 -15.507 -89.466 -0 0 - -0101101 -* -Ed - 3.88365639793889e-005 1 1 0 -1 79 0 0 1.5707963267949 -2 156 28 0 0 1.5707963267949 -2 157 38 0 0 1.5707963267949 -4 G1 38 0 28 0 -0 - -0101000 -+201 0 -228 0 * -Ve -7.96490449686895e-005 -62.25 15.507 -89.466 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 80 0 1.743 32.757 -2 158 28 0 1.743 32.757 -2 159 39 0 1.743 32.757 -4 G1 28 0 39 0 -0 - -0101000 -+201 0 -199 0 * -Ed - 3.88365639729966e-005 1 1 0 -1 81 0 0 1.5707963267949 -2 160 28 0 0 1.5707963267949 -2 161 36 0 0 1.5707963267949 -4 G1 36 0 28 0 -0 - -0101000 -+199 0 -232 0 * -Wi - -0101100 --200 0 +198 0 -227 0 +197 0 * -Fa -0 0 28 0 - -0101000 -+196 0 * -Ve -7.84362205302432e-005 -0 41.034237510085 -89.277 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 82 0 0.420000000000002 23.784237510085 -2 162 29 0 0.420000000000002 23.784237510085 -2 163 40 0 0.420000000000002 23.784237510085 -4 G1 29 0 40 0 -0 - -0101000 -+206 0 -194 0 * -Ed - 3.12381058131605e-005 1 1 0 -1 83 0 0 1.5707963267949 -2 164 29 0 0 1.5707963267949 -2 165 41 0 0 1.5707963267949 -4 G1 41 0 29 0 -0 - -0101000 -+194 0 -226 0 * -Wi - -0101100 -+204 0 -225 0 +193 0 +192 0 * -Fa -0 0 29 0 - -0101000 -+191 0 * -Ve -7.00746697667343e-005 -0.42 -17.25 -90.243 -0 0 - -0101101 -* -Ed - 7.00746697667343e-005 1 1 0 -1 84 0 0 1.5707963267949 -2 166 30 0 0 1.5707963267949 -2 167 32 0 0 1.5707963267949 -4 G1 32 0 30 0 -0 - -0101000 -+224 0 -189 0 * -Ve -1.68854625870213e-005 -61.83 -17.25 -90.243 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 85 0 0.42 61.83 -2 168 30 0 0.42 61.83 -2 169 42 0 0.42 61.83 -4 G1 30 0 42 0 -0 - -0101000 -+189 0 -187 0 * -Ed - 7.96490453609445e-006 1 1 0 -1 86 0 0 1.5707963267949 -2 170 30 0 0 1.5707963267949 -2 171 38 0 0 1.5707963267949 -4 G1 38 0 30 0 -0 - -0101000 -+187 0 -228 0 * -Wi - -0101100 -+188 0 -223 0 +186 0 +185 0 * -Fa -0 0 30 0 - -0101000 -+184 0 * -Ve -1.76172015689973e-005 --0.423956931359354 44.9980028503527 -92.4584067434747 -0 0 - -0101101 -* -Ed - 7.99159764765323e-006 1 1 0 -1 87 0 0 1.5707963267949 -2 172 31 0 0 1.5707963267949 -2 173 41 0 0 1.5707963267949 -4 G1 41 0 31 0 -0 - -0101000 -+182 0 -226 0 * -Ve -1.76172015690446e-005 --0.42395693135935 -44.9980028503527 -92.4584067434747 -0 0 - -0101101 -* -Ed - 7.99159766235209e-006 1 1 0 -1 88 0 0 1.5707963267949 -2 174 31 0 0 1.5707963267949 -2 175 43 0 0 1.5707963267949 -4 G1 43 0 31 0 -0 - -0101000 -+222 0 -180 0 * -Ed - 1e-007 1 1 0 -1 89 0 0.00942140450022944 3.13217124905168 -2 176 31 0 0.00942140450022944 3.13217124905168 -2 177 44 0 0.00942140450022944 3.13217124905168 -4 G1 31 0 44 0 -0 - -0101100 -+182 0 -180 0 * -Wi - -0101100 -+221 0 +181 0 +179 0 -178 0 * -Fa -0 0 31 0 - -0101000 -+177 0 * -Ve -3.12381058090436e-005 -0 -17.67 -89.277 -0 0 - -0101101 -* -Ed - 8.58133699264381e-007 1 1 0 -1 90 0 0 1.5707963267949 -2 178 45 0 0 1.5707963267949 -2 179 32 0 0 1.5707963267949 -4 G1 32 0 45 0 -0 - -0101000 -+189 0 -175 0 * -Ed - 3.12381058090436e-005 1 1 0 -1 91 0 0 1.5707963267949 -2 180 33 0 0 1.5707963267949 -2 181 32 0 0 1.5707963267949 -4 G1 32 0 33 0 -0 - -0101000 -+220 0 -175 0 * -Wi - -0101100 -+188 0 -219 0 +174 0 -173 0 * -Fa -0 8.58133681010683e-007 32 0 - -0101000 -+172 0 * -Ve -7.84362207839534e-005 -0 -41.034237510085 -89.277 -0 0 - -0101101 -* -Ed - 3.12381058144586e-005 1 1 0 -1 92 0 0 1.5707963267949 -2 182 33 0 0 1.5707963267949 -2 183 43 0 0 1.5707963267949 -4 G1 43 0 33 0 -0 - -0101000 -+170 0 -222 0 * -Ed - 1e-007 1 1 0 -1 93 0 3.96576248991503 27.33 -2 184 33 0 3.96576248991503 27.33 -2 185 40 0 3.96576248991503 27.33 -4 G1 33 0 40 0 -0 - -0101000 -+170 0 -175 0 * -Wi - -0101100 --169 0 +168 0 -218 0 -173 0 * -Fa -0 0 33 0 - -0101000 -+167 0 * -Ve -7.00746697928298e-005 -0.42 17.25 -101.757 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 94 0 1.743 13.257 -2 186 37 0 1.743 13.257 -2 187 35 0 1.743 13.257 -4 G1 37 0 35 0 -0 - -0101000 -+213 0 -165 0 * -Ve -1.68854626131168e-005 -61.83 17.25 -101.757 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 95 0 1.743 13.257 -2 188 46 0 1.743 13.257 -2 189 35 0 1.743 13.257 -4 G1 46 0 35 0 -0 - -0101000 -+163 0 -211 0 * -Ed - 1e-007 1 1 0 -1 96 0 0.42 61.83 -2 190 47 0 0.42 61.83 -2 191 35 0 0.42 61.83 -4 G1 47 0 35 0 -0 - -0101000 -+165 0 -163 0 * -Wi - -0101100 -+210 0 -164 0 -162 0 -161 0 * -Fa -0 1e-007 35 0 - -0111000 -+160 0 * -Ve -7.96490449686895e-005 -62.25 16.83 -90.243 -0 0 - -0101101 -* -Ed - 7.96490449686895e-005 1 1 0 -1 97 0 0 1.5707963267949 -2 192 36 0 0 1.5707963267949 -2 193 39 0 0 1.5707963267949 -4 G1 36 0 39 0 -0 - -0101000 -+199 0 -158 0 * -Ed - 1.68854625854232e-005 1 1 0 -1 98 0 0 1.5707963267949 -2 194 46 0 0 1.5707963267949 -2 195 36 0 0 1.5707963267949 -4 G1 36 0 46 0 -0 - -0101000 -+158 0 -211 0 * -Wi - -0101100 -+197 0 -157 0 +209 0 -156 0 * -Fa -0 7.96490448758968e-006 36 0 - -0101000 -+155 0 * -Ve -3.12381058100143e-005 -0 17.67 -102.723 -0 0 - -0101101 -* -Ed - 8.58133705537789e-007 1 1 0 -1 99 0 0 1.5707963267949 -2 196 37 0 0 1.5707963267949 -2 197 48 0 0 1.5707963267949 -4 G1 48 0 37 0 -0 - -0101000 -+153 0 -165 0 * -Ed - 1e-007 1 1 0 -1 100 0 0.777000000000001 14.223 -2 198 37 0 0.777000000000001 14.223 -2 199 40 0 0.777000000000001 14.223 -4 G1 37 0 40 0 -0 - -0101000 -+206 0 -153 0 * -Wi - -0101100 --164 0 +205 0 +152 0 +151 0 * -Fa -0 0 37 0 - -0101000 -+150 0 * -Ve -7.96490450926996e-005 -62.25 -16.83 -90.243 -0 0 - -0101101 -* -Ed - 1.68854625870213e-005 1 1 0 -1 101 0 0 1.5707963267949 -2 200 49 0 0 1.5707963267949 -2 201 38 0 0 1.5707963267949 -4 G1 38 0 49 0 -0 - -0101000 -+148 0 -187 0 * -Ed - 7.96490450926996e-005 1 1 0 -1 102 0 0 1.5707963267949 -2 202 38 0 0 1.5707963267949 -2 203 39 0 0 1.5707963267949 -4 G1 38 0 39 0 -0 - -0101000 -+148 0 -201 0 * -Wi - -0101100 -+147 0 -146 0 +185 0 -200 0 * -Fa -0 7.96490451179742e-006 38 0 - -0101000 -+145 0 * -Ve -7.96490450478473e-005 -62.25 -16.83 -101.757 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 103 0 1.743 13.257 -2 204 49 0 1.743 13.257 -2 205 39 0 1.743 13.257 -4 G1 49 0 39 0 -0 - -0101000 -+143 0 -148 0 * -Ve -7.96490448328585e-005 -62.25 16.83 -101.757 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 104 0 1.743 13.257 -2 206 46 0 1.743 13.257 -2 207 39 0 1.743 13.257 -4 G1 46 0 39 0 -0 - -0101000 -+141 0 -158 0 * -Ve -7.96490450478473e-005 -62.25 -15.507 -102.534 -0 0 - -0101101 -* -Ed - 7.96490450478473e-005 1 1 0 -1 105 0 0 1.5707963267949 -2 208 50 0 0 1.5707963267949 -2 209 39 0 0 1.5707963267949 -4 G1 50 0 39 0 -0 - -0101000 -+143 0 -139 0 * -Ve -7.96490448328585e-005 -62.25 15.507 -102.534 -0 0 - -0101101 -* -Ed - 7.96490448328585e-005 1 1 0 -1 106 0 0 1.5707963267949 -2 210 51 0 0 1.5707963267949 -2 211 39 0 0 1.5707963267949 -4 G1 51 0 39 0 -0 - -0101000 -+141 0 -137 0 * -Ed - 1e-007 1 1 0 -1 107 0 1.743 32.757 -2 212 52 0 1.743 32.757 -2 213 39 0 1.743 32.757 -4 G1 52 0 39 0 -0 - -0101000 -+139 0 -137 0 * -Wi - -0101100 --198 0 -146 0 -157 0 -142 0 +140 0 +138 0 -136 0 +135 0 * -Fa -0 1e-007 39 0 - -0111000 -+134 0 * -Ve -7.84362205302432e-005 -0 44.5780214904161 -92.4584067434747 -0 0 - -0101101 -* -Ed - 7.84362205302432e-005 1 1 0 -1 108 0 0 1.5707963267949 -2 214 41 0 0 1.5707963267949 -2 215 40 0 0 1.5707963267949 -4 G1 41 0 40 0 -0 - -0101000 -+132 0 -194 0 * -Ve -7.84362205774661e-005 -0 41.034237510085 -102.723 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 109 0 0.420000000000002 23.784237510085 -2 216 53 0 0.420000000000002 23.784237510085 -2 217 40 0 0.420000000000002 23.784237510085 -4 G1 53 0 40 0 -0 - -0101000 -+153 0 -130 0 * -Ve -7.84362205774661e-005 -0 44.5780214904161 -99.5415932565253 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 110 0 3.95840674347468 11.0415932565253 -2 218 54 0 3.95840674347468 11.0415932565253 -2 219 40 0 3.95840674347468 11.0415932565253 -4 G1 54 0 40 0 -0 - -0101000 -+128 0 -132 0 * -Ed - 7.84362205774661e-005 1 1 0 -1 111 0 1.0578624220219e-018 1.5707963267949 -2 220 55 0 1.0578624220219e-018 1.5707963267949 -2 221 40 0 1.0578624220219e-018 1.5707963267949 -4 G1 55 0 40 0 -0 - -0101000 -+130 0 -128 0 * -Wi - -0101100 --193 0 +151 0 +131 0 +129 0 +127 0 +126 0 * -Fa -0 1e-007 40 0 - -0111000 -+125 0 * -Ed - 1.76172015689973e-005 1 1 0 -1 112 0 0 1.5707963267949 -2 222 54 0 0 1.5707963267949 -2 223 41 0 0 1.5707963267949 -4 G1 41 0 54 0 -0 - -0101000 -+132 0 -182 0 * -Wi - -0101100 -+123 0 -131 0 +181 0 -192 0 * -Fa -0 7.84362205684364e-006 41 0 - -0101000 -+122 0 * -Ve -7.00746697928298e-005 -0.42 -17.25 -101.757 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 113 0 1.743 13.257 -2 224 45 0 1.743 13.257 -2 225 42 0 1.743 13.257 -4 G1 45 0 42 0 -0 - -0101000 -+189 0 -120 0 * -Ve -1.68854625854232e-005 -61.83 -17.25 -101.757 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 114 0 1.743 13.257 -2 226 49 0 1.743 13.257 -2 227 42 0 1.743 13.257 -4 G1 49 0 42 0 -0 - -0101000 -+118 0 -187 0 * -Ed - 1e-007 1 1 0 -1 115 0 0.42 61.83 -2 228 56 0 0.42 61.83 -2 229 42 0 0.42 61.83 -4 G1 56 0 42 0 -0 - -0101000 -+120 0 -118 0 * -Wi - -0101100 -+186 0 -119 0 -117 0 -116 0 * -Fa -0 1e-007 42 0 - -0111000 -+115 0 * -Ve -7.84362207839534e-005 -0 -44.5780214904161 -92.4584067434747 -0 0 - -0101101 -* -Ed - 7.84362207839534e-005 1 1 0 -1 116 0 0 1.5707963267949 -2 230 43 0 0 1.5707963267949 -2 231 40 0 0 1.5707963267949 -4 G1 43 0 40 0 -0 - -0101000 -+170 0 -113 0 * -Ed - 1.76172015690446e-005 1 1 0 -1 117 0 0 1.5707963267949 -2 232 57 0 0 1.5707963267949 -2 233 43 0 0 1.5707963267949 -4 G1 43 0 57 0 -0 - -0101000 -+113 0 -180 0 * -Wi - -0101100 -+169 0 -112 0 +179 0 -111 0 * -Fa -0 7.84362206787724e-006 43 0 - -0101000 -+110 0 * -Ve -1.76172015707787e-005 --0.423956931359354 44.9980028503527 -99.5415932565253 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 118 0 3.95840674347468 11.0415932565253 -2 234 54 0 3.95840674347468 11.0415932565253 -2 235 44 0 3.95840674347468 11.0415932565253 -4 G1 54 0 44 0 -0 - -0101000 -+108 0 -182 0 * -Ve -1.76172015660711e-005 --0.42395693135935 -44.9980028503527 -99.5415932565253 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 119 0 3.95840674347468 11.0415932565253 -2 236 57 0 3.95840674347468 11.0415932565253 -2 237 44 0 3.95840674347468 11.0415932565253 -4 G1 57 0 44 0 -0 - -0101000 -+106 0 -180 0 * -Ed - 1e-007 1 1 0 -1 120 0 0.00942140450022944 3.13217124905168 -2 238 58 0 0.00942140450022944 3.13217124905168 -2 239 44 0 0.00942140450022944 3.13217124905168 -4 G1 58 0 44 0 -0 - -0101100 -+108 0 -106 0 * -Wi - -0101100 --178 0 -107 0 +105 0 +104 0 * -Fa -0 1e-007 44 0 - -0111000 -+103 0 * -Ve -3.1238105810044e-005 -0 -17.67 -102.723 -0 0 - -0101101 -* -Ed - 8.58133699615203e-007 1 1 0 -1 121 0 0 1.5707963267949 -2 240 45 0 0 1.5707963267949 -2 241 59 0 0 1.5707963267949 -4 G1 59 0 45 0 -0 - -0101000 -+101 0 -120 0 * -Ed - 1e-007 1 1 0 -1 122 0 0.777000000000001 14.223 -2 242 45 0 0.777000000000001 14.223 -2 243 40 0 0.777000000000001 14.223 -4 G1 45 0 40 0 -0 - -0101000 -+175 0 -101 0 * -Wi - -0101100 --119 0 +174 0 +100 0 +99 0 * -Fa -0 0 45 0 - -0101000 -+98 0 * -Ve -7.84362206239078e-005 -0 -44.5780214904161 -99.5415932565253 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 123 0 3.95840674347468 11.0415932565253 -2 244 57 0 3.95840674347468 11.0415932565253 -2 245 40 0 3.95840674347468 11.0415932565253 -4 G1 57 0 40 0 -0 - -0101000 -+96 0 -113 0 * -Ve -7.84362206239078e-005 -0 -41.034237510085 -102.723 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 124 0 3.96576248991503 27.33 -2 246 60 0 3.96576248991503 27.33 -2 247 40 0 3.96576248991503 27.33 -4 G1 60 0 40 0 -0 - -0101000 -+94 0 -101 0 * -Ed - 7.84362206239078e-005 1 1 0 -1 125 0 0 1.5707963267949 -2 248 61 0 0 1.5707963267949 -2 249 40 0 0 1.5707963267949 -4 G1 61 0 40 0 -0 - -0101000 -+94 0 -96 0 * -Wi - -0101100 --168 0 +112 0 -99 0 -95 0 +93 0 -92 0 * -Fa -0 1e-007 40 0 - -0111000 -+91 0 * -Ed - 1.68854626131168e-005 1 1 0 -1 126 0 0 1.5707963267949 -2 250 46 0 0 1.5707963267949 -2 251 51 0 0 1.5707963267949 -4 G1 51 0 46 0 -0 - -0101000 -+141 0 -163 0 * -Wi - -0101100 --89 0 +140 0 -162 0 +156 0 * -Fa -0 0 46 0 - -0101000 -+88 0 * -Ve -7.00746697928298e-005 -0.42 15.507 -103.5 -0 0 - -0101101 -* -Ed - 7.00746697928298e-005 1 1 0 -1 127 0 0 1.5707963267949 -2 252 47 0 0 1.5707963267949 -2 253 48 0 0 1.5707963267949 -4 G1 48 0 47 0 -0 - -0101000 -+86 0 -165 0 * -Ve -3.88365639793889e-005 -61.284 15.507 -103.5 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 128 0 0.42 61.284 -2 254 47 0 0.42 61.284 -2 255 62 0 0.42 61.284 -4 G1 47 0 62 0 -0 - -0101000 -+86 0 -84 0 * -Ed - 7.96490450696794e-006 1 1 0 -1 129 0 0 1.5707963267949 -2 256 47 0 0 1.5707963267949 -2 257 51 0 0 1.5707963267949 -4 G1 51 0 47 0 -0 - -0101000 -+163 0 -84 0 * -Wi - -0101100 --85 0 +83 0 -161 0 -82 0 * -Fa -0 0 47 0 - -0101000 -+81 0 * -Ve -3.12381058100143e-005 --0.776999999999999 17.67 -103.5 -0 0 - -0101101 -* -Ed - 3.12381058100143e-005 1 1 0 -1 130 0 0 1.5707963267949 -2 258 53 0 0 1.5707963267949 -2 259 48 0 0 1.5707963267949 -4 G1 48 0 53 0 -0 - -0101000 -+79 0 -153 0 * -Ed - 8.58133690657245e-006 1 1 0 -1 131 0 0 1.5707963267949 -2 260 48 0 0 1.5707963267949 -2 261 62 0 0 1.5707963267949 -4 G1 48 0 62 0 -0 - -0101000 -+79 0 -86 0 * -Wi - -0101100 -+78 0 -77 0 +152 0 -85 0 * -Fa -0 8.5813368782692e-007 48 0 - -0101000 -+76 0 * -Ed - 1.68854625854232e-005 1 1 0 -1 132 0 0 1.5707963267949 -2 262 49 0 0 1.5707963267949 -2 263 50 0 0 1.5707963267949 -4 G1 50 0 49 0 -0 - -0101000 -+143 0 -118 0 * -Wi - -0101100 -+74 0 -142 0 +117 0 -147 0 * -Fa -0 0 49 0 - -0101000 -+73 0 * -Ve -3.88365639793889e-005 -61.284 -15.507 -103.5 -0 0 - -0101101 -* -Ed - 7.96490454265033e-006 1 1 0 -1 133 0 0 1.5707963267949 -2 264 56 0 0 1.5707963267949 -2 265 50 0 0 1.5707963267949 -4 G1 50 0 56 0 -0 - -0101000 -+118 0 -71 0 * -Ed - 3.88365639793889e-005 1 1 0 -1 134 0 0 1.5707963267949 -2 266 52 0 0 1.5707963267949 -2 267 50 0 0 1.5707963267949 -4 G1 50 0 52 0 -0 - -0101000 -+139 0 -71 0 * -Wi - -0101100 -+74 0 -138 0 +70 0 -69 0 * -Fa -0 7.96490451673332e-006 50 0 - -0101000 -+68 0 * -Ed - 3.88365639793889e-005 1 1 0 -1 135 0 0 1.5707963267949 -2 268 52 0 0 1.5707963267949 -2 269 51 0 0 1.5707963267949 -4 G1 51 0 52 0 -0 - -0101000 -+137 0 -84 0 * -Wi - -0101100 -+89 0 -136 0 +82 0 -66 0 * -Fa -0 7.96490447582242e-006 51 0 - -0101000 -+65 0 * -Ed - 1e-007 1 1 0 -1 136 0 1.743 32.757 -2 270 52 0 1.743 32.757 -2 271 62 0 1.743 32.757 -4 G1 52 0 62 0 -0 - -0101000 -+71 0 -84 0 * -Wi - -0101100 -+69 0 -135 0 +63 0 -66 0 * -Fa -0 0 52 0 - -0101000 -+62 0 * -Ve -3.12381058080663e-005 --0.777 41.034237510085 -103.5 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 137 0 0.420000000000002 23.784237510085 -2 272 53 0 0.420000000000002 23.784237510085 -2 273 62 0 0.420000000000002 23.784237510085 -4 G1 53 0 62 0 -0 - -0101000 -+79 0 -60 0 * -Ed - 3.12381058080663e-005 1 1 0 -1 138 0 0 1.5707963267949 -2 274 53 0 0 1.5707963267949 -2 275 55 0 0 1.5707963267949 -4 G1 55 0 53 0 -0 - -0101000 -+130 0 -60 0 * -Wi - -0101100 --78 0 +59 0 -129 0 -58 0 * -Fa -0 0 53 0 - -0101000 -+57 0 * -Ed - 1.76172015707787e-005 1 1 0 -1 139 0 0 1.5707963267949 -2 276 54 0 0 1.5707963267949 -2 277 55 0 0 1.5707963267949 -4 G1 55 0 54 0 -0 - -0101000 -+128 0 -108 0 * -Wi - -0101100 -+55 0 -127 0 +107 0 -123 0 * -Fa -0 0 54 0 - -0101000 -+54 0 * -Ed - 7.99159765379749e-006 1 1 0 -1 140 0 1.0578624220219e-018 1.5707963267949 -2 278 58 0 1.0578624220219e-018 1.5707963267949 -2 279 55 0 1.0578624220219e-018 1.5707963267949 -4 G1 55 0 58 0 -0 - -0101000 -+60 0 -108 0 * -Wi - -0101100 -+58 0 -126 0 +52 0 -55 0 * -Fa -0 7.8436220629859e-006 55 0 - -0101000 -+51 0 * -Ve -7.00746697928298e-005 -0.42 -15.507 -103.5 -0 0 - -0101101 -* -Ed - 7.00746697928298e-005 1 1 0 -1 141 0 0 1.5707963267949 -2 280 56 0 0 1.5707963267949 -2 281 59 0 0 1.5707963267949 -4 G1 59 0 56 0 -0 - -0101000 -+49 0 -120 0 * -Ed - 1e-007 1 1 0 -1 142 0 0.42 61.284 -2 282 56 0 0.42 61.284 -2 283 62 0 0.42 61.284 -4 G1 56 0 62 0 -0 - -0101000 -+49 0 -71 0 * -Wi - -0101100 --48 0 +47 0 -116 0 -70 0 * -Fa -0 0 56 0 - -0101000 -+46 0 * -Ed - 1.76172015660711e-005 1 1 0 -1 143 0 0 1.5707963267949 -2 284 57 0 0 1.5707963267949 -2 285 61 0 0 1.5707963267949 -4 G1 61 0 57 0 -0 - -0101000 -+96 0 -106 0 * -Wi - -0101100 --44 0 +95 0 -105 0 +111 0 * -Fa -0 0 57 0 - -0101000 -+43 0 * -Ve -3.12381058056864e-005 --0.777000000000002 -41.034237510085 -103.5 -0 0 - -0101101 -* -Ed - 7.9915976520524e-006 1 1 0 -1 144 0 0 1.5707963267949 -2 286 58 0 0 1.5707963267949 -2 287 61 0 0 1.5707963267949 -4 G1 61 0 58 0 -0 - -0101000 -+41 0 -106 0 * -Ed - 1e-007 1 1 0 -1 145 0 0.0189331446610974 3.12265950889081 -2 288 58 0 0.0189331446610974 3.12265950889081 -2 289 62 0 0.0189331446610974 3.12265950889081 -4 G1 58 0 62 0 -0 - -0101100 -+60 0 -41 0 * -Wi - -0101100 -+104 0 +52 0 -40 0 -39 0 * -Fa -0 0 58 0 - -0101000 -+38 0 * -Ve -3.1238105810044e-005 --0.776999999999999 -17.67 -103.5 -0 0 - -0101101 -* -Ed - 3.1238105810044e-005 1 1 0 -1 146 0 0 1.5707963267949 -2 290 60 0 0 1.5707963267949 -2 291 59 0 0 1.5707963267949 -4 G1 59 0 60 0 -0 - -0101000 -+36 0 -101 0 * -Ed - 8.58133684878276e-006 1 1 0 -1 147 0 0 1.5707963267949 -2 292 59 0 0 1.5707963267949 -2 293 62 0 0 1.5707963267949 -4 G1 59 0 62 0 -0 - -0101000 -+36 0 -49 0 * -Wi - -0101100 -+35 0 -34 0 +100 0 -48 0 * -Fa -0 8.58133683552654e-007 59 0 - -0101000 -+33 0 * -Ed - 3.12381058056864e-005 1 1 0 -1 148 0 0 1.5707963267949 -2 294 60 0 0 1.5707963267949 -2 295 61 0 0 1.5707963267949 -4 G1 61 0 60 0 -0 - -0101000 -+94 0 -41 0 * -Ed - 1e-007 1 1 0 -1 149 0 3.96576248991503 27.33 -2 296 60 0 3.96576248991503 27.33 -2 297 62 0 3.96576248991503 27.33 -4 G1 60 0 62 0 -0 - -0101000 -+41 0 -36 0 * -Wi - -0101100 -+31 0 -93 0 +30 0 +35 0 * -Fa -0 0 60 0 - -0101000 -+29 0 * -Wi - -0101100 -+31 0 -92 0 +40 0 -44 0 * -Fa -0 7.8436220594134e-006 61 0 - -0101000 -+27 0 * -Wi - -0101100 --83 0 -77 0 +63 0 +59 0 +47 0 +39 0 +34 0 +30 0 * -Ve -1e-007 -31.241628493368 -2.52728837479055e-015 -103.5 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 150 0 0 6.28318530717959 -2 298 63 0 0 6.28318530717959 -2 299 62 0 0 6.28318530717959 -4 G1 63 0 62 0 -0 - -0101100 -+24 0 -24 0 * -Wi - -0101100 -+23 0 * -Fa -0 1e-007 62 0 - -0111000 -+25 0 +22 0 * -Ve -1e-007 -33.3 -2.14918415095827e-015 -105.558371506632 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 151 0 1.5707963267949 3.14159265358979 -3 300 301G1 63 0 1.5707963267949 3.14159265358979 -0 - -0101000 -+24 0 -20 0 * -Ed - 1e-007 1 1 0 -1 152 0 0 6.28318530717959 -2 302 63 0 0 6.28318530717959 -2 303 64 0 0 6.28318530717959 -4 G1 63 0 64 0 -0 - -0101100 -+20 0 -20 0 * -Wi - -0101100 --19 0 +23 0 -18 0 +19 0 * -Fa -0 0 63 0 - -0101000 -+17 0 * -Ve -1e-007 -33.3 0 -125.441628493368 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 153 0 15.558371506632 35.441628493368 -3 304 305CN 64 0 15.558371506632 35.441628493368 -0 - -0101000 -+20 0 -15 0 * -Ed - 1e-007 1 1 0 -1 154 0 0 6.28318530717959 -2 306 65 0 0 6.28318530717959 -2 307 64 0 0 6.28318530717959 -4 G1 65 0 64 0 -0 - -0101100 -+15 0 -15 0 * -Wi - -0101100 -+14 0 +18 0 -13 0 -14 0 * -Fa -0 1e-007 64 0 - -0101000 -+12 0 * -Ve -1e-007 -35.358371506632 0 -127.5 -0 0 - -0101101 -* -Ed - 1e-007 1 1 0 -1 155 0 0 1.5707963267949 -3 308 309G1 65 0 0 1.5707963267949 -0 - -0101000 -+15 0 -10 0 * -Ed - 1e-007 1 1 0 -1 156 0 0 6.28318530717959 -2 310 65 0 0 6.28318530717959 -2 311 66 0 0 6.28318530717959 -4 G1 65 0 66 0 -0 - -0101100 -+10 0 -10 0 * -Wi - -0101100 --9 0 +13 0 -8 0 +9 0 * -Fa -0 0 65 0 - -0101000 -+7 0 * -Wi - -0101100 -+8 0 * -Fa -0 1e-007 66 0 - -0111000 -+5 0 * -Sh - -0101100 --408 0 -363 0 +358 0 +351 0 -346 0 +341 0 +338 0 +331 0 +326 0 +321 0 -+316 0 -311 0 +308 0 +301 0 -296 0 +291 0 +288 0 +281 0 -276 0 +271 0 -+268 0 +263 0 -256 1 -253 1 -249 2 -247 2 -243 3 -241 3 -237 4 -235 4 -+216 0 +214 1 +214 2 +214 3 +214 4 -207 0 +202 0 +195 0 +190 0 +183 0 --176 0 -171 0 +166 0 +159 0 -154 0 -149 0 -144 0 +133 0 +124 0 +121 0 --114 0 +109 0 +102 0 +97 0 +90 0 -87 0 -80 0 +75 0 -72 0 +67 0 --64 0 +61 0 +56 0 +53 0 +50 0 +45 0 +42 0 -37 0 -32 0 +28 0 --26 0 -21 0 +16 0 +11 0 +6 0 +4 0 * -So - -0100000 -+3 0 * -Co - -1100000 -+2 0 * - -+1 0 \ No newline at end of file diff --git a/samples/java/java/icon/ambient-light.gif b/samples/java/java/icon/ambient-light.gif deleted file mode 100755 index b36110ec80..0000000000 Binary files a/samples/java/java/icon/ambient-light.gif and /dev/null differ diff --git a/samples/java/java/icon/antialiasing.gif b/samples/java/java/icon/antialiasing.gif deleted file mode 100755 index 9675cef5d1..0000000000 Binary files a/samples/java/java/icon/antialiasing.gif and /dev/null differ diff --git a/samples/java/java/icon/axo.gif b/samples/java/java/icon/axo.gif deleted file mode 100755 index f3de3592dd..0000000000 Binary files a/samples/java/java/icon/axo.gif and /dev/null differ diff --git a/samples/java/java/icon/back.gif b/samples/java/java/icon/back.gif deleted file mode 100755 index f4e8130bc8..0000000000 Binary files a/samples/java/java/icon/back.gif and /dev/null differ diff --git a/samples/java/java/icon/blend.gif b/samples/java/java/icon/blend.gif deleted file mode 100755 index 467ce8e7f3..0000000000 Binary files a/samples/java/java/icon/blend.gif and /dev/null differ diff --git a/samples/java/java/icon/bmatra.gif b/samples/java/java/icon/bmatra.gif deleted file mode 100755 index 254544c5fa..0000000000 Binary files a/samples/java/java/icon/bmatra.gif and /dev/null differ diff --git a/samples/java/java/icon/bmatra16.gif b/samples/java/java/icon/bmatra16.gif deleted file mode 100755 index 7a515fac14..0000000000 Binary files a/samples/java/java/icon/bmatra16.gif and /dev/null differ diff --git a/samples/java/java/icon/bottom.gif b/samples/java/java/icon/bottom.gif deleted file mode 100755 index 3cb5238c37..0000000000 Binary files a/samples/java/java/icon/bottom.gif and /dev/null differ diff --git a/samples/java/java/icon/box.gif b/samples/java/java/icon/box.gif deleted file mode 100755 index ba1a78d3ae..0000000000 Binary files a/samples/java/java/icon/box.gif and /dev/null differ diff --git a/samples/java/java/icon/builder.gif b/samples/java/java/icon/builder.gif deleted file mode 100755 index e46c0e9ad1..0000000000 Binary files a/samples/java/java/icon/builder.gif and /dev/null differ diff --git a/samples/java/java/icon/cascadelogo.gif b/samples/java/java/icon/cascadelogo.gif deleted file mode 100755 index 1b3184f633..0000000000 Binary files a/samples/java/java/icon/cascadelogo.gif and /dev/null differ diff --git a/samples/java/java/icon/chamfer.gif b/samples/java/java/icon/chamfer.gif deleted file mode 100755 index 36eba15b37..0000000000 Binary files a/samples/java/java/icon/chamfer.gif and /dev/null differ diff --git a/samples/java/java/icon/circle.gif b/samples/java/java/icon/circle.gif deleted file mode 100755 index e7325faa55..0000000000 Binary files a/samples/java/java/icon/circle.gif and /dev/null differ diff --git a/samples/java/java/icon/circline.gif b/samples/java/java/icon/circline.gif deleted file mode 100755 index 43dc2209a8..0000000000 Binary files a/samples/java/java/icon/circline.gif and /dev/null differ diff --git a/samples/java/java/icon/circpoint.gif b/samples/java/java/icon/circpoint.gif deleted file mode 100755 index e700de6869..0000000000 Binary files a/samples/java/java/icon/circpoint.gif and /dev/null differ diff --git a/samples/java/java/icon/clear-lights.gif b/samples/java/java/icon/clear-lights.gif deleted file mode 100755 index 4551f58150..0000000000 Binary files a/samples/java/java/icon/clear-lights.gif and /dev/null differ diff --git a/samples/java/java/icon/clear.gif b/samples/java/java/icon/clear.gif deleted file mode 100755 index 3678168193..0000000000 Binary files a/samples/java/java/icon/clear.gif and /dev/null differ diff --git a/samples/java/java/icon/close.gif b/samples/java/java/icon/close.gif deleted file mode 100755 index 2bf357a44e..0000000000 Binary files a/samples/java/java/icon/close.gif and /dev/null differ diff --git a/samples/java/java/icon/color.gif b/samples/java/java/icon/color.gif deleted file mode 100755 index 31d1bd4638..0000000000 Binary files a/samples/java/java/icon/color.gif and /dev/null differ diff --git a/samples/java/java/icon/common.gif b/samples/java/java/icon/common.gif deleted file mode 100755 index fa6e400d32..0000000000 Binary files a/samples/java/java/icon/common.gif and /dev/null differ diff --git a/samples/java/java/icon/compound.gif b/samples/java/java/icon/compound.gif deleted file mode 100755 index 60197f2458..0000000000 Binary files a/samples/java/java/icon/compound.gif and /dev/null differ diff --git a/samples/java/java/icon/cone.gif b/samples/java/java/icon/cone.gif deleted file mode 100755 index 8a9a3f2ae8..0000000000 Binary files a/samples/java/java/icon/cone.gif and /dev/null differ diff --git a/samples/java/java/icon/cube-parties-cachees.gif b/samples/java/java/icon/cube-parties-cachees.gif deleted file mode 100755 index 810852a0e0..0000000000 Binary files a/samples/java/java/icon/cube-parties-cachees.gif and /dev/null differ diff --git a/samples/java/java/icon/cube-transparent.gif b/samples/java/java/icon/cube-transparent.gif deleted file mode 100755 index 430002ba2b..0000000000 Binary files a/samples/java/java/icon/cube-transparent.gif and /dev/null differ diff --git a/samples/java/java/icon/cur-zoom-tmp.gif b/samples/java/java/icon/cur-zoom-tmp.gif deleted file mode 100755 index c8dedad065..0000000000 Binary files a/samples/java/java/icon/cur-zoom-tmp.gif and /dev/null differ diff --git a/samples/java/java/icon/cursor-pan.gif b/samples/java/java/icon/cursor-pan.gif deleted file mode 100755 index 72c8053306..0000000000 Binary files a/samples/java/java/icon/cursor-pan.gif and /dev/null differ diff --git a/samples/java/java/icon/cursor-rotate-main.gif b/samples/java/java/icon/cursor-rotate-main.gif deleted file mode 100755 index 5d76e9cab4..0000000000 Binary files a/samples/java/java/icon/cursor-rotate-main.gif and /dev/null differ diff --git a/samples/java/java/icon/cursor-rotate-new-1.gif b/samples/java/java/icon/cursor-rotate-new-1.gif deleted file mode 100755 index a937eaec5b..0000000000 Binary files a/samples/java/java/icon/cursor-rotate-new-1.gif and /dev/null differ diff --git a/samples/java/java/icon/cursor-rotate-new.gif b/samples/java/java/icon/cursor-rotate-new.gif deleted file mode 100755 index 8c2a11de5b..0000000000 Binary files a/samples/java/java/icon/cursor-rotate-new.gif and /dev/null differ diff --git a/samples/java/java/icon/cursor-rotate.gif b/samples/java/java/icon/cursor-rotate.gif deleted file mode 100755 index 6e5e0b9816..0000000000 Binary files a/samples/java/java/icon/cursor-rotate.gif and /dev/null differ diff --git a/samples/java/java/icon/cursor-rotate_2.gif b/samples/java/java/icon/cursor-rotate_2.gif deleted file mode 100755 index 1fd18a1e20..0000000000 Binary files a/samples/java/java/icon/cursor-rotate_2.gif and /dev/null differ diff --git a/samples/java/java/icon/cursor-rotate_3.gif b/samples/java/java/icon/cursor-rotate_3.gif deleted file mode 100755 index 7d9693776d..0000000000 Binary files a/samples/java/java/icon/cursor-rotate_3.gif and /dev/null differ diff --git a/samples/java/java/icon/cursor-zoom-main.gif b/samples/java/java/icon/cursor-zoom-main.gif deleted file mode 100755 index e951ebdded..0000000000 Binary files a/samples/java/java/icon/cursor-zoom-main.gif and /dev/null differ diff --git a/samples/java/java/icon/cursor-zoom-new-1.gif b/samples/java/java/icon/cursor-zoom-new-1.gif deleted file mode 100755 index a188090040..0000000000 Binary files a/samples/java/java/icon/cursor-zoom-new-1.gif and /dev/null differ diff --git a/samples/java/java/icon/cursor-zoom-new.gif b/samples/java/java/icon/cursor-zoom-new.gif deleted file mode 100755 index a6659ebef5..0000000000 Binary files a/samples/java/java/icon/cursor-zoom-new.gif and /dev/null differ diff --git a/samples/java/java/icon/cursor-zoom.gif b/samples/java/java/icon/cursor-zoom.gif deleted file mode 100755 index 28d6f85454..0000000000 Binary files a/samples/java/java/icon/cursor-zoom.gif and /dev/null differ diff --git a/samples/java/java/icon/cursor-zoom_3.gif b/samples/java/java/icon/cursor-zoom_3.gif deleted file mode 100755 index e58287d111..0000000000 Binary files a/samples/java/java/icon/cursor-zoom_3.gif and /dev/null differ diff --git a/samples/java/java/icon/cursor_zoom_2.gif b/samples/java/java/icon/cursor_zoom_2.gif deleted file mode 100755 index 9cc253a114..0000000000 Binary files a/samples/java/java/icon/cursor_zoom_2.gif and /dev/null differ diff --git a/samples/java/java/icon/cut.gif b/samples/java/java/icon/cut.gif deleted file mode 100755 index e1efbc56aa..0000000000 Binary files a/samples/java/java/icon/cut.gif and /dev/null differ diff --git a/samples/java/java/icon/cylinder.gif b/samples/java/java/icon/cylinder.gif deleted file mode 100755 index 2b46dc9924..0000000000 Binary files a/samples/java/java/icon/cylinder.gif and /dev/null differ diff --git a/samples/java/java/icon/cylinder2.gif b/samples/java/java/icon/cylinder2.gif deleted file mode 100755 index e43308e943..0000000000 Binary files a/samples/java/java/icon/cylinder2.gif and /dev/null differ diff --git a/samples/java/java/icon/deform.gif b/samples/java/java/icon/deform.gif deleted file mode 100755 index e5f4dabd63..0000000000 Binary files a/samples/java/java/icon/deform.gif and /dev/null differ diff --git a/samples/java/java/icon/delete.gif b/samples/java/java/icon/delete.gif deleted file mode 100755 index 06817def08..0000000000 Binary files a/samples/java/java/icon/delete.gif and /dev/null differ diff --git a/samples/java/java/icon/deviation.gif b/samples/java/java/icon/deviation.gif deleted file mode 100755 index 6dd313b364..0000000000 Binary files a/samples/java/java/icon/deviation.gif and /dev/null differ diff --git a/samples/java/java/icon/directional-light.gif b/samples/java/java/icon/directional-light.gif deleted file mode 100755 index 6fe03a07bd..0000000000 Binary files a/samples/java/java/icon/directional-light.gif and /dev/null differ diff --git a/samples/java/java/icon/displacement.gif b/samples/java/java/icon/displacement.gif deleted file mode 100755 index 428a00dcb2..0000000000 Binary files a/samples/java/java/icon/displacement.gif and /dev/null differ diff --git a/samples/java/java/icon/display.gif b/samples/java/java/icon/display.gif deleted file mode 100755 index cc2eb98dc8..0000000000 Binary files a/samples/java/java/icon/display.gif and /dev/null differ diff --git a/samples/java/java/icon/displayall.gif b/samples/java/java/icon/displayall.gif deleted file mode 100755 index 2c4c673c52..0000000000 Binary files a/samples/java/java/icon/displayall.gif and /dev/null differ diff --git a/samples/java/java/icon/dprism.gif b/samples/java/java/icon/dprism.gif deleted file mode 100755 index f2c698c469..0000000000 Binary files a/samples/java/java/icon/dprism.gif and /dev/null differ diff --git a/samples/java/java/icon/draft.gif b/samples/java/java/icon/draft.gif deleted file mode 100755 index e64abd786a..0000000000 Binary files a/samples/java/java/icon/draft.gif and /dev/null differ diff --git a/samples/java/java/icon/dsg-axe-2pts.gif b/samples/java/java/icon/dsg-axe-2pts.gif deleted file mode 100755 index cdbe236d52..0000000000 Binary files a/samples/java/java/icon/dsg-axe-2pts.gif and /dev/null differ diff --git a/samples/java/java/icon/dynpan.gif b/samples/java/java/icon/dynpan.gif deleted file mode 100755 index 93ce6298c5..0000000000 Binary files a/samples/java/java/icon/dynpan.gif and /dev/null differ diff --git a/samples/java/java/icon/dynrotate.gif b/samples/java/java/icon/dynrotate.gif deleted file mode 100755 index cd5767b971..0000000000 Binary files a/samples/java/java/icon/dynrotate.gif and /dev/null differ diff --git a/samples/java/java/icon/dynzoom.gif b/samples/java/java/icon/dynzoom.gif deleted file mode 100755 index 83ba9d7a69..0000000000 Binary files a/samples/java/java/icon/dynzoom.gif and /dev/null differ diff --git a/samples/java/java/icon/edge.gif b/samples/java/java/icon/edge.gif deleted file mode 100755 index b3816a023a..0000000000 Binary files a/samples/java/java/icon/edge.gif and /dev/null differ diff --git a/samples/java/java/icon/edges.gif b/samples/java/java/icon/edges.gif deleted file mode 100755 index 4c172d2140..0000000000 Binary files a/samples/java/java/icon/edges.gif and /dev/null differ diff --git a/samples/java/java/icon/editgrid.gif b/samples/java/java/icon/editgrid.gif deleted file mode 100755 index dc7db20631..0000000000 Binary files a/samples/java/java/icon/editgrid.gif and /dev/null differ diff --git a/samples/java/java/icon/erase-object.gif b/samples/java/java/icon/erase-object.gif deleted file mode 100755 index 3da2395f61..0000000000 Binary files a/samples/java/java/icon/erase-object.gif and /dev/null differ diff --git a/samples/java/java/icon/erase.gif b/samples/java/java/icon/erase.gif deleted file mode 100755 index feb1cca84c..0000000000 Binary files a/samples/java/java/icon/erase.gif and /dev/null differ diff --git a/samples/java/java/icon/eraseall.gif b/samples/java/java/icon/eraseall.gif deleted file mode 100755 index 02cecc08ae..0000000000 Binary files a/samples/java/java/icon/eraseall.gif and /dev/null differ diff --git a/samples/java/java/icon/erasegrid.gif b/samples/java/java/icon/erasegrid.gif deleted file mode 100755 index 5a11367d12..0000000000 Binary files a/samples/java/java/icon/erasegrid.gif and /dev/null differ diff --git a/samples/java/java/icon/evolved.gif b/samples/java/java/icon/evolved.gif deleted file mode 100755 index c31b9613a5..0000000000 Binary files a/samples/java/java/icon/evolved.gif and /dev/null differ diff --git a/samples/java/java/icon/evolvedblend.gif b/samples/java/java/icon/evolvedblend.gif deleted file mode 100755 index f739c86cfe..0000000000 Binary files a/samples/java/java/icon/evolvedblend.gif and /dev/null differ diff --git a/samples/java/java/icon/explorer.gif b/samples/java/java/icon/explorer.gif deleted file mode 100755 index 81c6c155e9..0000000000 Binary files a/samples/java/java/icon/explorer.gif and /dev/null differ diff --git a/samples/java/java/icon/export-brep.gif b/samples/java/java/icon/export-brep.gif deleted file mode 100755 index e4dbd6f883..0000000000 Binary files a/samples/java/java/icon/export-brep.gif and /dev/null differ diff --git a/samples/java/java/icon/export-csfdb.gif b/samples/java/java/icon/export-csfdb.gif deleted file mode 100755 index a937d46b5a..0000000000 Binary files a/samples/java/java/icon/export-csfdb.gif and /dev/null differ diff --git a/samples/java/java/icon/export-iges.gif b/samples/java/java/icon/export-iges.gif deleted file mode 100755 index d02b7b2fc8..0000000000 Binary files a/samples/java/java/icon/export-iges.gif and /dev/null differ diff --git a/samples/java/java/icon/export-image.gif b/samples/java/java/icon/export-image.gif deleted file mode 100755 index da09e59c52..0000000000 Binary files a/samples/java/java/icon/export-image.gif and /dev/null differ diff --git a/samples/java/java/icon/export-image2d.gif b/samples/java/java/icon/export-image2d.gif deleted file mode 100755 index 33dc00acc7..0000000000 Binary files a/samples/java/java/icon/export-image2d.gif and /dev/null differ diff --git a/samples/java/java/icon/export-image3d.gif b/samples/java/java/icon/export-image3d.gif deleted file mode 100755 index cec8be5ce8..0000000000 Binary files a/samples/java/java/icon/export-image3d.gif and /dev/null differ diff --git a/samples/java/java/icon/export-step.gif b/samples/java/java/icon/export-step.gif deleted file mode 100755 index ec473924a6..0000000000 Binary files a/samples/java/java/icon/export-step.gif and /dev/null differ diff --git a/samples/java/java/icon/face.gif b/samples/java/java/icon/face.gif deleted file mode 100755 index 8bacc32be0..0000000000 Binary files a/samples/java/java/icon/face.gif and /dev/null differ diff --git a/samples/java/java/icon/faces.gif b/samples/java/java/icon/faces.gif deleted file mode 100755 index fdfbd8ea84..0000000000 Binary files a/samples/java/java/icon/faces.gif and /dev/null differ diff --git a/samples/java/java/icon/fillet.gif b/samples/java/java/icon/fillet.gif deleted file mode 100755 index 66609014f4..0000000000 Binary files a/samples/java/java/icon/fillet.gif and /dev/null differ diff --git a/samples/java/java/icon/fitall.gif b/samples/java/java/icon/fitall.gif deleted file mode 100755 index 72d9e58a9c..0000000000 Binary files a/samples/java/java/icon/fitall.gif and /dev/null differ diff --git a/samples/java/java/icon/frm-exo-2.gif b/samples/java/java/icon/frm-exo-2.gif deleted file mode 100755 index 2c2c8000bb..0000000000 Binary files a/samples/java/java/icon/frm-exo-2.gif and /dev/null differ diff --git a/samples/java/java/icon/frm-exo-3.gif b/samples/java/java/icon/frm-exo-3.gif deleted file mode 100755 index 8c428b47f9..0000000000 Binary files a/samples/java/java/icon/frm-exo-3.gif and /dev/null differ diff --git a/samples/java/java/icon/front.gif b/samples/java/java/icon/front.gif deleted file mode 100755 index 4cf2d7502d..0000000000 Binary files a/samples/java/java/icon/front.gif and /dev/null differ diff --git a/samples/java/java/icon/fuse.gif b/samples/java/java/icon/fuse.gif deleted file mode 100755 index a0852268a9..0000000000 Binary files a/samples/java/java/icon/fuse.gif and /dev/null differ diff --git a/samples/java/java/icon/geometry.gif b/samples/java/java/icon/geometry.gif deleted file mode 100755 index cb12cff07a..0000000000 Binary files a/samples/java/java/icon/geometry.gif and /dev/null differ diff --git a/samples/java/java/icon/globpan.gif b/samples/java/java/icon/globpan.gif deleted file mode 100755 index 6f594736a7..0000000000 Binary files a/samples/java/java/icon/globpan.gif and /dev/null differ diff --git a/samples/java/java/icon/glue.gif b/samples/java/java/icon/glue.gif deleted file mode 100755 index d02dadacc1..0000000000 Binary files a/samples/java/java/icon/glue.gif and /dev/null differ diff --git a/samples/java/java/icon/hiddenoff.gif b/samples/java/java/icon/hiddenoff.gif deleted file mode 100755 index 3398b8538c..0000000000 Binary files a/samples/java/java/icon/hiddenoff.gif and /dev/null differ diff --git a/samples/java/java/icon/hiddenon.gif b/samples/java/java/icon/hiddenon.gif deleted file mode 100755 index bc80de46c7..0000000000 Binary files a/samples/java/java/icon/hiddenon.gif and /dev/null differ diff --git a/samples/java/java/icon/hlr-dialog.gif b/samples/java/java/icon/hlr-dialog.gif deleted file mode 100755 index 4284c290c5..0000000000 Binary files a/samples/java/java/icon/hlr-dialog.gif and /dev/null differ diff --git a/samples/java/java/icon/import-brep.gif b/samples/java/java/icon/import-brep.gif deleted file mode 100755 index d0453cb411..0000000000 Binary files a/samples/java/java/icon/import-brep.gif and /dev/null differ diff --git a/samples/java/java/icon/import-csfdb.gif b/samples/java/java/icon/import-csfdb.gif deleted file mode 100755 index bc710fbe45..0000000000 Binary files a/samples/java/java/icon/import-csfdb.gif and /dev/null differ diff --git a/samples/java/java/icon/import-iges.gif b/samples/java/java/icon/import-iges.gif deleted file mode 100755 index aed2738138..0000000000 Binary files a/samples/java/java/icon/import-iges.gif and /dev/null differ diff --git a/samples/java/java/icon/import-step.gif b/samples/java/java/icon/import-step.gif deleted file mode 100755 index 7acd982a4e..0000000000 Binary files a/samples/java/java/icon/import-step.gif and /dev/null differ diff --git a/samples/java/java/icon/isos.gif b/samples/java/java/icon/isos.gif deleted file mode 100755 index ffd465968f..0000000000 Binary files a/samples/java/java/icon/isos.gif and /dev/null differ diff --git a/samples/java/java/icon/lamp.gif b/samples/java/java/icon/lamp.gif deleted file mode 100755 index 13feaac94e..0000000000 Binary files a/samples/java/java/icon/lamp.gif and /dev/null differ diff --git a/samples/java/java/icon/left.gif b/samples/java/java/icon/left.gif deleted file mode 100755 index da4eac5713..0000000000 Binary files a/samples/java/java/icon/left.gif and /dev/null differ diff --git a/samples/java/java/icon/light.gif b/samples/java/java/icon/light.gif deleted file mode 100755 index ad021d0850..0000000000 Binary files a/samples/java/java/icon/light.gif and /dev/null differ diff --git a/samples/java/java/icon/line.gif b/samples/java/java/icon/line.gif deleted file mode 100755 index 094f278324..0000000000 Binary files a/samples/java/java/icon/line.gif and /dev/null differ diff --git a/samples/java/java/icon/linear.gif b/samples/java/java/icon/linear.gif deleted file mode 100755 index 0bb15a259d..0000000000 Binary files a/samples/java/java/icon/linear.gif and /dev/null differ diff --git a/samples/java/java/icon/material.gif b/samples/java/java/icon/material.gif deleted file mode 100755 index 205e40a204..0000000000 Binary files a/samples/java/java/icon/material.gif and /dev/null differ diff --git a/samples/java/java/icon/mesh.gif b/samples/java/java/icon/mesh.gif deleted file mode 100755 index d95a09511f..0000000000 Binary files a/samples/java/java/icon/mesh.gif and /dev/null differ diff --git a/samples/java/java/icon/mirror.gif b/samples/java/java/icon/mirror.gif deleted file mode 100755 index 2812092dba..0000000000 Binary files a/samples/java/java/icon/mirror.gif and /dev/null differ diff --git a/samples/java/java/icon/mirroraxis.gif b/samples/java/java/icon/mirroraxis.gif deleted file mode 100755 index d1dceee19b..0000000000 Binary files a/samples/java/java/icon/mirroraxis.gif and /dev/null differ diff --git a/samples/java/java/icon/model-clipping.gif b/samples/java/java/icon/model-clipping.gif deleted file mode 100755 index fb041629a8..0000000000 Binary files a/samples/java/java/icon/model-clipping.gif and /dev/null differ diff --git a/samples/java/java/icon/neutral.gif b/samples/java/java/icon/neutral.gif deleted file mode 100755 index c0791141fe..0000000000 Binary files a/samples/java/java/icon/neutral.gif and /dev/null differ diff --git a/samples/java/java/icon/new.gif b/samples/java/java/icon/new.gif deleted file mode 100755 index 79ad4c6748..0000000000 Binary files a/samples/java/java/icon/new.gif and /dev/null differ diff --git a/samples/java/java/icon/offset.gif b/samples/java/java/icon/offset.gif deleted file mode 100755 index f0e1f15258..0000000000 Binary files a/samples/java/java/icon/offset.gif and /dev/null differ diff --git a/samples/java/java/icon/open.gif b/samples/java/java/icon/open.gif deleted file mode 100755 index c1c7176b3e..0000000000 Binary files a/samples/java/java/icon/open.gif and /dev/null differ diff --git a/samples/java/java/icon/opencascade.gif b/samples/java/java/icon/opencascade.gif deleted file mode 100755 index cbf41890c9..0000000000 Binary files a/samples/java/java/icon/opencascade.gif and /dev/null differ diff --git a/samples/java/java/icon/pipe.gif b/samples/java/java/icon/pipe.gif deleted file mode 100755 index 35ead91190..0000000000 Binary files a/samples/java/java/icon/pipe.gif and /dev/null differ diff --git a/samples/java/java/icon/point.gif b/samples/java/java/icon/point.gif deleted file mode 100755 index f2755258eb..0000000000 Binary files a/samples/java/java/icon/point.gif and /dev/null differ diff --git a/samples/java/java/icon/positional-light.gif b/samples/java/java/icon/positional-light.gif deleted file mode 100755 index c7de499a85..0000000000 Binary files a/samples/java/java/icon/positional-light.gif and /dev/null differ diff --git a/samples/java/java/icon/prism.gif b/samples/java/java/icon/prism.gif deleted file mode 100755 index 27a290ff40..0000000000 Binary files a/samples/java/java/icon/prism.gif and /dev/null differ diff --git a/samples/java/java/icon/prism2.gif b/samples/java/java/icon/prism2.gif deleted file mode 100755 index 13b9f0ecff..0000000000 Binary files a/samples/java/java/icon/prism2.gif and /dev/null differ diff --git a/samples/java/java/icon/properties.gif b/samples/java/java/icon/properties.gif deleted file mode 100755 index 3f186bdc29..0000000000 Binary files a/samples/java/java/icon/properties.gif and /dev/null differ diff --git a/samples/java/java/icon/psection.gif b/samples/java/java/icon/psection.gif deleted file mode 100755 index 346e395bc6..0000000000 Binary files a/samples/java/java/icon/psection.gif and /dev/null differ diff --git a/samples/java/java/icon/rectangle.gif b/samples/java/java/icon/rectangle.gif deleted file mode 100755 index 215ade8f85..0000000000 Binary files a/samples/java/java/icon/rectangle.gif and /dev/null differ diff --git a/samples/java/java/icon/rectline.gif b/samples/java/java/icon/rectline.gif deleted file mode 100755 index 084541b52d..0000000000 Binary files a/samples/java/java/icon/rectline.gif and /dev/null differ diff --git a/samples/java/java/icon/rectpoint.gif b/samples/java/java/icon/rectpoint.gif deleted file mode 100755 index e41ef662ef..0000000000 Binary files a/samples/java/java/icon/rectpoint.gif and /dev/null differ diff --git a/samples/java/java/icon/resetview.gif b/samples/java/java/icon/resetview.gif deleted file mode 100755 index b35e482668..0000000000 Binary files a/samples/java/java/icon/resetview.gif and /dev/null differ diff --git a/samples/java/java/icon/restart.gif b/samples/java/java/icon/restart.gif deleted file mode 100755 index e107f2337b..0000000000 Binary files a/samples/java/java/icon/restart.gif and /dev/null differ diff --git a/samples/java/java/icon/revol.gif b/samples/java/java/icon/revol.gif deleted file mode 100755 index 04f623573a..0000000000 Binary files a/samples/java/java/icon/revol.gif and /dev/null differ diff --git a/samples/java/java/icon/revol2.gif b/samples/java/java/icon/revol2.gif deleted file mode 100755 index 5f44806ee4..0000000000 Binary files a/samples/java/java/icon/revol2.gif and /dev/null differ diff --git a/samples/java/java/icon/rib.gif b/samples/java/java/icon/rib.gif deleted file mode 100755 index 3c9b3de15a..0000000000 Binary files a/samples/java/java/icon/rib.gif and /dev/null differ diff --git a/samples/java/java/icon/right.gif b/samples/java/java/icon/right.gif deleted file mode 100755 index 92e0bb76a5..0000000000 Binary files a/samples/java/java/icon/right.gif and /dev/null differ diff --git a/samples/java/java/icon/rotate.gif b/samples/java/java/icon/rotate.gif deleted file mode 100755 index e5675047d9..0000000000 Binary files a/samples/java/java/icon/rotate.gif and /dev/null differ diff --git a/samples/java/java/icon/save.gif b/samples/java/java/icon/save.gif deleted file mode 100755 index 1b39301cea..0000000000 Binary files a/samples/java/java/icon/save.gif and /dev/null differ diff --git a/samples/java/java/icon/scale.gif b/samples/java/java/icon/scale.gif deleted file mode 100755 index bd63580427..0000000000 Binary files a/samples/java/java/icon/scale.gif and /dev/null differ diff --git a/samples/java/java/icon/section.gif b/samples/java/java/icon/section.gif deleted file mode 100755 index 18f87a9446..0000000000 Binary files a/samples/java/java/icon/section.gif and /dev/null differ diff --git a/samples/java/java/icon/segment.gif b/samples/java/java/icon/segment.gif deleted file mode 100755 index 9d317b7c40..0000000000 Binary files a/samples/java/java/icon/segment.gif and /dev/null differ diff --git a/samples/java/java/icon/select.gif b/samples/java/java/icon/select.gif deleted file mode 100755 index 49315f8d38..0000000000 Binary files a/samples/java/java/icon/select.gif and /dev/null differ diff --git a/samples/java/java/icon/sewing.gif b/samples/java/java/icon/sewing.gif deleted file mode 100755 index 228df6e053..0000000000 Binary files a/samples/java/java/icon/sewing.gif and /dev/null differ diff --git a/samples/java/java/icon/shading-model.gif b/samples/java/java/icon/shading-model.gif deleted file mode 100755 index 98d24ebd42..0000000000 Binary files a/samples/java/java/icon/shading-model.gif and /dev/null differ diff --git a/samples/java/java/icon/shading.gif b/samples/java/java/icon/shading.gif deleted file mode 100755 index dca18b434e..0000000000 Binary files a/samples/java/java/icon/shading.gif and /dev/null differ diff --git a/samples/java/java/icon/shading2.gif b/samples/java/java/icon/shading2.gif deleted file mode 100755 index 3d8b20313e..0000000000 Binary files a/samples/java/java/icon/shading2.gif and /dev/null differ diff --git a/samples/java/java/icon/shell.gif b/samples/java/java/icon/shell.gif deleted file mode 100755 index 6a1ceb4abe..0000000000 Binary files a/samples/java/java/icon/shell.gif and /dev/null differ diff --git a/samples/java/java/icon/sphere.gif b/samples/java/java/icon/sphere.gif deleted file mode 100755 index 0f3ea832d4..0000000000 Binary files a/samples/java/java/icon/sphere.gif and /dev/null differ diff --git a/samples/java/java/icon/sphere2.gif b/samples/java/java/icon/sphere2.gif deleted file mode 100755 index 4374fa4278..0000000000 Binary files a/samples/java/java/icon/sphere2.gif and /dev/null differ diff --git a/samples/java/java/icon/split.gif b/samples/java/java/icon/split.gif deleted file mode 100755 index dd282560c3..0000000000 Binary files a/samples/java/java/icon/split.gif and /dev/null differ diff --git a/samples/java/java/icon/spot-light.gif b/samples/java/java/icon/spot-light.gif deleted file mode 100755 index 4497fe19bb..0000000000 Binary files a/samples/java/java/icon/spot-light.gif and /dev/null differ diff --git a/samples/java/java/icon/stop.gif b/samples/java/java/icon/stop.gif deleted file mode 100755 index 05cdce4db8..0000000000 Binary files a/samples/java/java/icon/stop.gif and /dev/null differ diff --git a/samples/java/java/icon/surface.gif b/samples/java/java/icon/surface.gif deleted file mode 100755 index 98d47a9970..0000000000 Binary files a/samples/java/java/icon/surface.gif and /dev/null differ diff --git a/samples/java/java/icon/test1.gif b/samples/java/java/icon/test1.gif deleted file mode 100755 index 9f18d3336d..0000000000 Binary files a/samples/java/java/icon/test1.gif and /dev/null differ diff --git a/samples/java/java/icon/test10.gif b/samples/java/java/icon/test10.gif deleted file mode 100755 index 81564688b3..0000000000 Binary files a/samples/java/java/icon/test10.gif and /dev/null differ diff --git a/samples/java/java/icon/test11.gif b/samples/java/java/icon/test11.gif deleted file mode 100755 index 50550e9d23..0000000000 Binary files a/samples/java/java/icon/test11.gif and /dev/null differ diff --git a/samples/java/java/icon/test12.gif b/samples/java/java/icon/test12.gif deleted file mode 100755 index a5a4c069a8..0000000000 Binary files a/samples/java/java/icon/test12.gif and /dev/null differ diff --git a/samples/java/java/icon/test13.gif b/samples/java/java/icon/test13.gif deleted file mode 100755 index 9ab52a5376..0000000000 Binary files a/samples/java/java/icon/test13.gif and /dev/null differ diff --git a/samples/java/java/icon/test14.gif b/samples/java/java/icon/test14.gif deleted file mode 100755 index 470a563049..0000000000 Binary files a/samples/java/java/icon/test14.gif and /dev/null differ diff --git a/samples/java/java/icon/test15.gif b/samples/java/java/icon/test15.gif deleted file mode 100755 index de701b9b8b..0000000000 Binary files a/samples/java/java/icon/test15.gif and /dev/null differ diff --git a/samples/java/java/icon/test16.gif b/samples/java/java/icon/test16.gif deleted file mode 100755 index 657380f01b..0000000000 Binary files a/samples/java/java/icon/test16.gif and /dev/null differ diff --git a/samples/java/java/icon/test17.gif b/samples/java/java/icon/test17.gif deleted file mode 100755 index cd2973d1a0..0000000000 Binary files a/samples/java/java/icon/test17.gif and /dev/null differ diff --git a/samples/java/java/icon/test18.gif b/samples/java/java/icon/test18.gif deleted file mode 100755 index 56f8419a4f..0000000000 Binary files a/samples/java/java/icon/test18.gif and /dev/null differ diff --git a/samples/java/java/icon/test19.gif b/samples/java/java/icon/test19.gif deleted file mode 100755 index ec57caee9b..0000000000 Binary files a/samples/java/java/icon/test19.gif and /dev/null differ diff --git a/samples/java/java/icon/test2.gif b/samples/java/java/icon/test2.gif deleted file mode 100755 index 5363c4cfba..0000000000 Binary files a/samples/java/java/icon/test2.gif and /dev/null differ diff --git a/samples/java/java/icon/test20.gif b/samples/java/java/icon/test20.gif deleted file mode 100755 index 99a5c65d5a..0000000000 Binary files a/samples/java/java/icon/test20.gif and /dev/null differ diff --git a/samples/java/java/icon/test21.gif b/samples/java/java/icon/test21.gif deleted file mode 100755 index 1d810291c6..0000000000 Binary files a/samples/java/java/icon/test21.gif and /dev/null differ diff --git a/samples/java/java/icon/test22.gif b/samples/java/java/icon/test22.gif deleted file mode 100755 index 6fba00481e..0000000000 Binary files a/samples/java/java/icon/test22.gif and /dev/null differ diff --git a/samples/java/java/icon/test23.gif b/samples/java/java/icon/test23.gif deleted file mode 100755 index b362db08ea..0000000000 Binary files a/samples/java/java/icon/test23.gif and /dev/null differ diff --git a/samples/java/java/icon/test24.gif b/samples/java/java/icon/test24.gif deleted file mode 100755 index 2747788dc6..0000000000 Binary files a/samples/java/java/icon/test24.gif and /dev/null differ diff --git a/samples/java/java/icon/test25.gif b/samples/java/java/icon/test25.gif deleted file mode 100755 index a71c2558c6..0000000000 Binary files a/samples/java/java/icon/test25.gif and /dev/null differ diff --git a/samples/java/java/icon/test26.gif b/samples/java/java/icon/test26.gif deleted file mode 100755 index 0dda600cdc..0000000000 Binary files a/samples/java/java/icon/test26.gif and /dev/null differ diff --git a/samples/java/java/icon/test27.gif b/samples/java/java/icon/test27.gif deleted file mode 100755 index 5f509620a2..0000000000 Binary files a/samples/java/java/icon/test27.gif and /dev/null differ diff --git a/samples/java/java/icon/test28.gif b/samples/java/java/icon/test28.gif deleted file mode 100755 index 9a371eb735..0000000000 Binary files a/samples/java/java/icon/test28.gif and /dev/null differ diff --git a/samples/java/java/icon/test29.gif b/samples/java/java/icon/test29.gif deleted file mode 100755 index 8f4302a86d..0000000000 Binary files a/samples/java/java/icon/test29.gif and /dev/null differ diff --git a/samples/java/java/icon/test3.gif b/samples/java/java/icon/test3.gif deleted file mode 100755 index 25f877b2ef..0000000000 Binary files a/samples/java/java/icon/test3.gif and /dev/null differ diff --git a/samples/java/java/icon/test30.gif b/samples/java/java/icon/test30.gif deleted file mode 100755 index 19af0d55aa..0000000000 Binary files a/samples/java/java/icon/test30.gif and /dev/null differ diff --git a/samples/java/java/icon/test31.gif b/samples/java/java/icon/test31.gif deleted file mode 100755 index 6323beba8f..0000000000 Binary files a/samples/java/java/icon/test31.gif and /dev/null differ diff --git a/samples/java/java/icon/test32.gif b/samples/java/java/icon/test32.gif deleted file mode 100755 index e16d86a53e..0000000000 Binary files a/samples/java/java/icon/test32.gif and /dev/null differ diff --git a/samples/java/java/icon/test33.gif b/samples/java/java/icon/test33.gif deleted file mode 100755 index a5719fed3d..0000000000 Binary files a/samples/java/java/icon/test33.gif and /dev/null differ diff --git a/samples/java/java/icon/test34.gif b/samples/java/java/icon/test34.gif deleted file mode 100755 index 6f51d4af1b..0000000000 Binary files a/samples/java/java/icon/test34.gif and /dev/null differ diff --git a/samples/java/java/icon/test35.gif b/samples/java/java/icon/test35.gif deleted file mode 100755 index 17e9c22072..0000000000 Binary files a/samples/java/java/icon/test35.gif and /dev/null differ diff --git a/samples/java/java/icon/test36.gif b/samples/java/java/icon/test36.gif deleted file mode 100755 index d3b6f20571..0000000000 Binary files a/samples/java/java/icon/test36.gif and /dev/null differ diff --git a/samples/java/java/icon/test37.gif b/samples/java/java/icon/test37.gif deleted file mode 100755 index 4a8ff75aa4..0000000000 Binary files a/samples/java/java/icon/test37.gif and /dev/null differ diff --git a/samples/java/java/icon/test38.gif b/samples/java/java/icon/test38.gif deleted file mode 100755 index 17c39e807b..0000000000 Binary files a/samples/java/java/icon/test38.gif and /dev/null differ diff --git a/samples/java/java/icon/test39.gif b/samples/java/java/icon/test39.gif deleted file mode 100755 index b17ac30de6..0000000000 Binary files a/samples/java/java/icon/test39.gif and /dev/null differ diff --git a/samples/java/java/icon/test4.gif b/samples/java/java/icon/test4.gif deleted file mode 100755 index 75a440185c..0000000000 Binary files a/samples/java/java/icon/test4.gif and /dev/null differ diff --git a/samples/java/java/icon/test40.gif b/samples/java/java/icon/test40.gif deleted file mode 100755 index c87c72bf9a..0000000000 Binary files a/samples/java/java/icon/test40.gif and /dev/null differ diff --git a/samples/java/java/icon/test41.gif b/samples/java/java/icon/test41.gif deleted file mode 100755 index f0e9ebb598..0000000000 Binary files a/samples/java/java/icon/test41.gif and /dev/null differ diff --git a/samples/java/java/icon/test42.gif b/samples/java/java/icon/test42.gif deleted file mode 100755 index 5d66404d0c..0000000000 Binary files a/samples/java/java/icon/test42.gif and /dev/null differ diff --git a/samples/java/java/icon/test43.gif b/samples/java/java/icon/test43.gif deleted file mode 100755 index b5fd8c136d..0000000000 Binary files a/samples/java/java/icon/test43.gif and /dev/null differ diff --git a/samples/java/java/icon/test44.gif b/samples/java/java/icon/test44.gif deleted file mode 100755 index f371b1d585..0000000000 Binary files a/samples/java/java/icon/test44.gif and /dev/null differ diff --git a/samples/java/java/icon/test45.gif b/samples/java/java/icon/test45.gif deleted file mode 100755 index bc222944fa..0000000000 Binary files a/samples/java/java/icon/test45.gif and /dev/null differ diff --git a/samples/java/java/icon/test46.gif b/samples/java/java/icon/test46.gif deleted file mode 100755 index a7d7242c73..0000000000 Binary files a/samples/java/java/icon/test46.gif and /dev/null differ diff --git a/samples/java/java/icon/test47.gif b/samples/java/java/icon/test47.gif deleted file mode 100755 index f05907ce06..0000000000 Binary files a/samples/java/java/icon/test47.gif and /dev/null differ diff --git a/samples/java/java/icon/test48.gif b/samples/java/java/icon/test48.gif deleted file mode 100755 index 255459f3df..0000000000 Binary files a/samples/java/java/icon/test48.gif and /dev/null differ diff --git a/samples/java/java/icon/test49.gif b/samples/java/java/icon/test49.gif deleted file mode 100755 index 6482c3de4a..0000000000 Binary files a/samples/java/java/icon/test49.gif and /dev/null differ diff --git a/samples/java/java/icon/test5.gif b/samples/java/java/icon/test5.gif deleted file mode 100755 index 22d115916f..0000000000 Binary files a/samples/java/java/icon/test5.gif and /dev/null differ diff --git a/samples/java/java/icon/test50.gif b/samples/java/java/icon/test50.gif deleted file mode 100755 index 5726d70a7e..0000000000 Binary files a/samples/java/java/icon/test50.gif and /dev/null differ diff --git a/samples/java/java/icon/test6.gif b/samples/java/java/icon/test6.gif deleted file mode 100755 index 8f24256fd6..0000000000 Binary files a/samples/java/java/icon/test6.gif and /dev/null differ diff --git a/samples/java/java/icon/test7.gif b/samples/java/java/icon/test7.gif deleted file mode 100755 index 6b44004da1..0000000000 Binary files a/samples/java/java/icon/test7.gif and /dev/null differ diff --git a/samples/java/java/icon/test8.gif b/samples/java/java/icon/test8.gif deleted file mode 100755 index b8a70b04a8..0000000000 Binary files a/samples/java/java/icon/test8.gif and /dev/null differ diff --git a/samples/java/java/icon/test9.gif b/samples/java/java/icon/test9.gif deleted file mode 100755 index b641506059..0000000000 Binary files a/samples/java/java/icon/test9.gif and /dev/null differ diff --git a/samples/java/java/icon/thick.gif b/samples/java/java/icon/thick.gif deleted file mode 100755 index bc72968b91..0000000000 Binary files a/samples/java/java/icon/thick.gif and /dev/null differ diff --git a/samples/java/java/icon/thread.gif b/samples/java/java/icon/thread.gif deleted file mode 100755 index 7c16be53bf..0000000000 Binary files a/samples/java/java/icon/thread.gif and /dev/null differ diff --git a/samples/java/java/icon/thru.gif b/samples/java/java/icon/thru.gif deleted file mode 100755 index 36cd736093..0000000000 Binary files a/samples/java/java/icon/thru.gif and /dev/null differ diff --git a/samples/java/java/icon/top.gif b/samples/java/java/icon/top.gif deleted file mode 100755 index e3e5c683a0..0000000000 Binary files a/samples/java/java/icon/top.gif and /dev/null differ diff --git a/samples/java/java/icon/torus.gif b/samples/java/java/icon/torus.gif deleted file mode 100755 index dc286c42c9..0000000000 Binary files a/samples/java/java/icon/torus.gif and /dev/null differ diff --git a/samples/java/java/icon/translation.gif b/samples/java/java/icon/translation.gif deleted file mode 100755 index d8e835ebff..0000000000 Binary files a/samples/java/java/icon/translation.gif and /dev/null differ diff --git a/samples/java/java/icon/transparency.gif b/samples/java/java/icon/transparency.gif deleted file mode 100755 index 79a2e6ab96..0000000000 Binary files a/samples/java/java/icon/transparency.gif and /dev/null differ diff --git a/samples/java/java/icon/v3d-front-view.gif b/samples/java/java/icon/v3d-front-view.gif deleted file mode 100755 index ad6a36cab1..0000000000 Binary files a/samples/java/java/icon/v3d-front-view.gif and /dev/null differ diff --git a/samples/java/java/icon/v3d-grid-bdd.gif b/samples/java/java/icon/v3d-grid-bdd.gif deleted file mode 100755 index adef911b0a..0000000000 Binary files a/samples/java/java/icon/v3d-grid-bdd.gif and /dev/null differ diff --git a/samples/java/java/icon/v3d-grid-circ-line.gif b/samples/java/java/icon/v3d-grid-circ-line.gif deleted file mode 100755 index f9ebcd6174..0000000000 Binary files a/samples/java/java/icon/v3d-grid-circ-line.gif and /dev/null differ diff --git a/samples/java/java/icon/v3d-grid-circ-point.gif b/samples/java/java/icon/v3d-grid-circ-point.gif deleted file mode 100755 index e3c3c61ac1..0000000000 Binary files a/samples/java/java/icon/v3d-grid-circ-point.gif and /dev/null differ diff --git a/samples/java/java/icon/v3d-grid-erase.gif b/samples/java/java/icon/v3d-grid-erase.gif deleted file mode 100755 index f820b0fb9b..0000000000 Binary files a/samples/java/java/icon/v3d-grid-erase.gif and /dev/null differ diff --git a/samples/java/java/icon/v3d-grid-rect-line.gif b/samples/java/java/icon/v3d-grid-rect-line.gif deleted file mode 100755 index 24c2a7aa4f..0000000000 Binary files a/samples/java/java/icon/v3d-grid-rect-line.gif and /dev/null differ diff --git a/samples/java/java/icon/v3d-grid-rect-point.gif b/samples/java/java/icon/v3d-grid-rect-point.gif deleted file mode 100755 index c668804c3a..0000000000 Binary files a/samples/java/java/icon/v3d-grid-rect-point.gif and /dev/null differ diff --git a/samples/java/java/icon/v3d-previous2d.gif b/samples/java/java/icon/v3d-previous2d.gif deleted file mode 100755 index 616b5850eb..0000000000 Binary files a/samples/java/java/icon/v3d-previous2d.gif and /dev/null differ diff --git a/samples/java/java/icon/v3d-reset3d.gif b/samples/java/java/icon/v3d-reset3d.gif deleted file mode 100755 index ea8b1d6c06..0000000000 Binary files a/samples/java/java/icon/v3d-reset3d.gif and /dev/null differ diff --git a/samples/java/java/icon/v3d-rot-axe-disc.gif b/samples/java/java/icon/v3d-rot-axe-disc.gif deleted file mode 100755 index bc63d04759..0000000000 Binary files a/samples/java/java/icon/v3d-rot-axe-disc.gif and /dev/null differ diff --git a/samples/java/java/icon/v3d-view-change-to-back.gif b/samples/java/java/icon/v3d-view-change-to-back.gif deleted file mode 100755 index bd03b0d590..0000000000 Binary files a/samples/java/java/icon/v3d-view-change-to-back.gif and /dev/null differ diff --git a/samples/java/java/icon/v3d-view-change-to-bottom.gif b/samples/java/java/icon/v3d-view-change-to-bottom.gif deleted file mode 100755 index 631883f174..0000000000 Binary files a/samples/java/java/icon/v3d-view-change-to-bottom.gif and /dev/null differ diff --git a/samples/java/java/icon/v3d-view-change-to-front.gif b/samples/java/java/icon/v3d-view-change-to-front.gif deleted file mode 100755 index 86107954be..0000000000 Binary files a/samples/java/java/icon/v3d-view-change-to-front.gif and /dev/null differ diff --git a/samples/java/java/icon/v3d-view-change-to-left.gif b/samples/java/java/icon/v3d-view-change-to-left.gif deleted file mode 100755 index fef82aec8a..0000000000 Binary files a/samples/java/java/icon/v3d-view-change-to-left.gif and /dev/null differ diff --git a/samples/java/java/icon/v3d-view-change-to-right.gif b/samples/java/java/icon/v3d-view-change-to-right.gif deleted file mode 100755 index bf1ec0f662..0000000000 Binary files a/samples/java/java/icon/v3d-view-change-to-right.gif and /dev/null differ diff --git a/samples/java/java/icon/v3d-view-change-to-top.gif b/samples/java/java/icon/v3d-view-change-to-top.gif deleted file mode 100755 index 0b5765779c..0000000000 Binary files a/samples/java/java/icon/v3d-view-change-to-top.gif and /dev/null differ diff --git a/samples/java/java/icon/v3d-view-create-axo.gif b/samples/java/java/icon/v3d-view-create-axo.gif deleted file mode 100755 index 765847468e..0000000000 Binary files a/samples/java/java/icon/v3d-view-create-axo.gif and /dev/null differ diff --git a/samples/java/java/icon/v3d-view-create-pers.gif b/samples/java/java/icon/v3d-view-create-pers.gif deleted file mode 100755 index 93ab2c4e4b..0000000000 Binary files a/samples/java/java/icon/v3d-view-create-pers.gif and /dev/null differ diff --git a/samples/java/java/icon/valid.gif b/samples/java/java/icon/valid.gif deleted file mode 100755 index 0a17fb2b5f..0000000000 Binary files a/samples/java/java/icon/valid.gif and /dev/null differ diff --git a/samples/java/java/icon/vertex.gif b/samples/java/java/icon/vertex.gif deleted file mode 100755 index ab2530a995..0000000000 Binary files a/samples/java/java/icon/vertex.gif and /dev/null differ diff --git a/samples/java/java/icon/vertices.gif b/samples/java/java/icon/vertices.gif deleted file mode 100755 index 36dbf4e2b9..0000000000 Binary files a/samples/java/java/icon/vertices.gif and /dev/null differ diff --git a/samples/java/java/icon/volume.gif b/samples/java/java/icon/volume.gif deleted file mode 100755 index 57c12ce83e..0000000000 Binary files a/samples/java/java/icon/volume.gif and /dev/null differ diff --git a/samples/java/java/icon/vw-camera-dump.gif b/samples/java/java/icon/vw-camera-dump.gif deleted file mode 100755 index 3c5e6b99c8..0000000000 Binary files a/samples/java/java/icon/vw-camera-dump.gif and /dev/null differ diff --git a/samples/java/java/icon/vw-camera-settings.gif b/samples/java/java/icon/vw-camera-settings.gif deleted file mode 100755 index f5dab28e71..0000000000 Binary files a/samples/java/java/icon/vw-camera-settings.gif and /dev/null differ diff --git a/samples/java/java/icon/vw-pann-2pts.gif b/samples/java/java/icon/vw-pann-2pts.gif deleted file mode 100755 index e2230a6ec5..0000000000 Binary files a/samples/java/java/icon/vw-pann-2pts.gif and /dev/null differ diff --git a/samples/java/java/icon/vw-pann-glob.gif b/samples/java/java/icon/vw-pann-glob.gif deleted file mode 100755 index ae84d3bcb4..0000000000 Binary files a/samples/java/java/icon/vw-pann-glob.gif and /dev/null differ diff --git a/samples/java/java/icon/vw-reset2d.gif b/samples/java/java/icon/vw-reset2d.gif deleted file mode 100755 index 8accdd821f..0000000000 Binary files a/samples/java/java/icon/vw-reset2d.gif and /dev/null differ diff --git a/samples/java/java/icon/vw-view-del.gif b/samples/java/java/icon/vw-view-del.gif deleted file mode 100755 index e184a6ff35..0000000000 Binary files a/samples/java/java/icon/vw-view-del.gif and /dev/null differ diff --git a/samples/java/java/icon/vw-view-print.gif b/samples/java/java/icon/vw-view-print.gif deleted file mode 100755 index c7096ca7f7..0000000000 Binary files a/samples/java/java/icon/vw-view-print.gif and /dev/null differ diff --git a/samples/java/java/icon/vw-view-zoom.gif b/samples/java/java/icon/vw-view-zoom.gif deleted file mode 100755 index ab5c792d25..0000000000 Binary files a/samples/java/java/icon/vw-view-zoom.gif and /dev/null differ diff --git a/samples/java/java/icon/vw-viewer.gif b/samples/java/java/icon/vw-viewer.gif deleted file mode 100755 index 7f4966dbb6..0000000000 Binary files a/samples/java/java/icon/vw-viewer.gif and /dev/null differ diff --git a/samples/java/java/icon/vw-zoom-all.gif b/samples/java/java/icon/vw-zoom-all.gif deleted file mode 100755 index ad3881c3ff..0000000000 Binary files a/samples/java/java/icon/vw-zoom-all.gif and /dev/null differ diff --git a/samples/java/java/icon/vw-zoom-disc.gif b/samples/java/java/icon/vw-zoom-disc.gif deleted file mode 100755 index 4da0484dfe..0000000000 Binary files a/samples/java/java/icon/vw-zoom-disc.gif and /dev/null differ diff --git a/samples/java/java/icon/vw-zoom-win.gif b/samples/java/java/icon/vw-zoom-win.gif deleted file mode 100755 index 9f16426da4..0000000000 Binary files a/samples/java/java/icon/vw-zoom-win.gif and /dev/null differ diff --git a/samples/java/java/icon/wedge.gif b/samples/java/java/icon/wedge.gif deleted file mode 100755 index 9a054510ff..0000000000 Binary files a/samples/java/java/icon/wedge.gif and /dev/null differ diff --git a/samples/java/java/icon/wire.gif b/samples/java/java/icon/wire.gif deleted file mode 100755 index cb32c33f4e..0000000000 Binary files a/samples/java/java/icon/wire.gif and /dev/null differ diff --git a/samples/java/java/icon/wireframe.gif b/samples/java/java/icon/wireframe.gif deleted file mode 100755 index 7b242f45a4..0000000000 Binary files a/samples/java/java/icon/wireframe.gif and /dev/null differ diff --git a/samples/java/java/icon/wireframe2.gif b/samples/java/java/icon/wireframe2.gif deleted file mode 100755 index 9522e81aee..0000000000 Binary files a/samples/java/java/icon/wireframe2.gif and /dev/null differ diff --git a/samples/java/java/icon/zclipping.gif b/samples/java/java/icon/zclipping.gif deleted file mode 100755 index 18f7c24e72..0000000000 Binary files a/samples/java/java/icon/zclipping.gif and /dev/null differ diff --git a/samples/java/java/icon/zcueing.gif b/samples/java/java/icon/zcueing.gif deleted file mode 100755 index e181f7c6c0..0000000000 Binary files a/samples/java/java/icon/zcueing.gif and /dev/null differ diff --git a/samples/java/java/icon/zoom.gif b/samples/java/java/icon/zoom.gif deleted file mode 100755 index 59de31c942..0000000000 Binary files a/samples/java/java/icon/zoom.gif and /dev/null differ diff --git a/samples/java/java/properties/AppRes.properties b/samples/java/java/properties/AppRes.properties deleted file mode 100755 index fa9d425f64..0000000000 --- a/samples/java/java/properties/AppRes.properties +++ /dev/null @@ -1,2 +0,0 @@ -language=en -VisualID=34 diff --git a/samples/java/java/properties/Buttons.properties b/samples/java/java/properties/Buttons.properties deleted file mode 100755 index bf362c1164..0000000000 --- a/samples/java/java/properties/Buttons.properties +++ /dev/null @@ -1,10 +0,0 @@ -#Fri May 28 14:10:29 GMT 1999 - -BTN_OK=icon/db-ok.gif -BTN_CANCEL=icon/db-cancel.gif -BTN_CLOSE=icon/db-close.gif -BTN_LOOP=icon/db-ok-loop.gif -BTN_YES=icon/db-yes.gif -BTN_NO=icon/db-no.gif -BTN_HELP=icon/db-help.gif - diff --git a/samples/java/java/properties/DesktopIcon.properties b/samples/java/java/properties/DesktopIcon.properties deleted file mode 100755 index 628feb11ae..0000000000 --- a/samples/java/java/properties/DesktopIcon.properties +++ /dev/null @@ -1,18 +0,0 @@ -#Wed Jul 20 15:36:21 GMT 1999 - -# Standard menu buttons -IC_NEW=icon/new.gif -IC_OPEN=icon/open.gif -IC_SAVE=icon/save.gif -IC_CLOSE=icon/close.gif - -# About dialog -AD_MATRA=icon/opencascade.gif -MF_MATRALOGO=icon/lamp.gif - -#Sketch toolbar buttons -IC_SELECT=icon/select.gif -IC_POINT=icon/point.gif -IC_SEGMENT=icon/segment.gif -IC_CIRCLE=icon/circle.gif -IC_RECTANGLE=icon/rectangle.gif diff --git a/samples/java/java/properties/Desktop_en.properties b/samples/java/java/properties/Desktop_en.properties deleted file mode 100755 index 65785bc57c..0000000000 --- a/samples/java/java/properties/Desktop_en.properties +++ /dev/null @@ -1,89 +0,0 @@ -#Wed Jul 20 15:47:59 GMT 1999 - -# Desktop properties -DESK_APP-Title=Matra Datavision -DESK_APP-Untitled=Untitled - -# Desktop menu -DESK_APP-File=File -DESK_APP-FileNew=New -DESK_APP-FileOpen=Open... -DESK_APP-FileSave=Save -DESK_APP-FileSaveAs=Save As... -DESK_APP-FileClose=Close -DESK_APP-FileExit=Exit -DESK_APP-Edit=Edit -DESK_APP-EditUndo=Undo -DESK_APP-EditRedo=Redo -DESK_APP-View=View -DESK_APP-ViewStatus=Status line -DESK_APP-ViewToolbars=Toolbars -DESK_APP-ViewStandardToolbar=Standard -DESK_APP-Window=Window -DESK_APP-WindowCascade=Cascade -DESK_APP-WindowTileVertical=Tile Vertical -DESK_APP-WindowTileHorizontal=Tile Horizontal -DESK_APP-Help=Help -DESK_APP-HelpTopics=Help Topics -DESK_APP-HelpIndex=Help Index -DESK_APP-HelpAbout=About Java Application Template - -# Toolbar tooltips -DESK_APP-TooltipNew=New document -DESK_APP-TooltipOpen=Open document -DESK_APP-TooltipSave=Save document -DESK_APP-TooltipClose=Close document -DESK_APP-TooltipHelp=Help - -# Popup menus -MENU-Shading=Shading -MENU-Wireframe=Wireframe -MENU-ChangeColor=Color... -MENU-ChangeTransparency=Transparency... -MENU-Material=Material -MENU-MaterialBrass=Brass -MENU-MaterialBronze=Bronze -MENU-MaterialCopper=Copper -MENU-MaterialGold=Gold -MENU-MaterialPewter=Pewter -MENU-MaterialPlastic=Plastic -MENU-MaterialSilver=Silver -MENU-MaterialSteel=Steel -MENU-MaterialStone=Stone -MENU-MaterialChrome=Chrome -MENU-MaterialAluminium=Aluminium -MENU-MaterialObsidian=Obsidian -MENU-MaterialNone=None - -# Dialogs name -Dlg-NewDocument=New Document -Dlg-ColorChooser=Choose the color -Dlg-Transparency=Transparency -Lbl-Transparency=Choose a value between 0 and 1 -Dlg-About=About -Lbl-Copyright=Copyright (C) 1999, Matra Datavision -HELP_JADApplication=JAD Application - -# Buttons name -BTN_OK=OK -BTN_CANCEL=Cancel -BTN_HELP=Help - -# StatusBar messages -Info_Ready=Ready. -Info_DesktopLoad=Desktop loading... -Info_AppLoad=Application loading... -Info_AppLoaded=Java Application is loaded. -Ask_Quit=Do you really want to quit? -Info_DocumentCreate=Creating new document... -Info_DocumentOpen=Openning document: -Info_DocumentSaved=Document is saved -Ask_DocumentReopen=The document is opened already. Do you want to reopen? -Alert_NoDocumentFormats=No document formats was registered -Ask_DocumentSave=Do you want to save the document before closing? -Alert_DocumentIsReadOnly=Document is "read only". -Alert_CompleteOperation=Please complete the previous operation. -Info_OperationCancelled=Operation is cancelled -Alert_NoResources=Resources file is missing -Alert_NoIcon=Icon not found - diff --git a/samples/java/java/properties/ViewerIcon.properties b/samples/java/java/properties/ViewerIcon.properties deleted file mode 100755 index df3c6d6069..0000000000 --- a/samples/java/java/properties/ViewerIcon.properties +++ /dev/null @@ -1,39 +0,0 @@ -#Wed Apr 28 08:36:21 GMT 1999 - -MF_MATRALOGO=icon/lamp.gif - -# Zoom buttons -IC_FIT_ALL=icon/fitall.gif -IC_ZOOM=icon/zoom.gif -IC_DYN_ZOOM=icon/dynzoom.gif - -# Pann buttons -IC_DYN_PAN=icon/dynpan.gif -IC_GLOB_PAN=icon/globpan.gif - -# Projections -IC_FRONT=icon/front.gif -IC_BACK=icon/back.gif -IC_BOTTOM=icon/bottom.gif -IC_LEFT=icon/left.gif -IC_RIGHT=icon/right.gif -IC_TOP=icon/top.gif -IC_AXO=icon/axo.gif - -# Viewer buttons -IC_RESET=icon/resetview.gif -IC_ROTATE=icon/dynrotate.gif - -# Degenerate mode -IC_HIDDEN_OFF=icon/hiddenoff.gif -IC_HIDDEN_ON=icon/hiddenon.gif - -# Grid buttons -IC_RECT_LINE=icon/rectline.gif -IC_RECT_POINT=icon/rectpoint.gif -IC_CIRC_LINE=icon/circline.gif -IC_CIRC_POINT=icon/circpoint.gif -IC_EDIT_GRID=icon/editgrid.gif -IC_ERASE_GRID=icon/erasegrid.gif - - diff --git a/samples/java/java/properties/Viewer_en.properties b/samples/java/java/properties/Viewer_en.properties deleted file mode 100755 index 485decf7c0..0000000000 --- a/samples/java/java/properties/Viewer_en.properties +++ /dev/null @@ -1,70 +0,0 @@ -#Wed Apr 28 11:47:59 GMT 1999 - -NM_VIEW3D=View 3D # -NM_VIEW2D=View 2D # - -# Viewer toolbar tooltips -TT_RESET=Resets the view -TT_ROTATE=Activates rotation - -TT_DYN_PAN=Activates panning -TT_GLOB_PAN=Activates global panning - -TT_FIT_ALL=Zooms the whole view -TT_ZOOM=Zooms the area inside a user-defined window -TT_DYN_ZOOM=Activates zooming - -TT_FRONT=Displays a front view -TT_BACK=Displays a back view -TT_TOP=Displays a top view -TT_LEFT=Displays a left view -TT_RIGHT=Displays a right view -TT_BOTTOM=Displays a bottom view -TT_AXO=Displays an axo view - -TT_HIDDEN_OFF=Disable the computed mode -TT_HIDDEN_ON=Enable the computed mode - -TT_RECT_LINE=Activates a line rctangular grid -TT_RECT_POINT=Activates a point rctangular grid -TT_CIRC_LINE=Activates a line circular grid -TT_CIRC_POINT=Activates a point circular grid -TT_EDIT_GRID=Edits the parameter of the grid -TT_ERASE_GRID=Deactivates the grid - -# Messages -MS_CANTDEL=Can't delete last view - -# Header for popup menu -VIEW_POPUP=View -MN_BACKGROUND=Change Background Color... - -# Help strings -Help_Menu=Displays/erases the view menu -Help_PrintView=Plot -Help_DynPan=Press and drag MB1 to pan the view -Help_Rotate=Press and drag MB1 to rotate the view -Help_DynZoom=Press and drag MB1 to zoom the view. -Help_GlobPan=Click MB1 to define the new center of the view -Help_MagnifyView=Magnify View: Press and drag MB1 in the view to define a window. -Help_Zoom=Zoom Window: Press and drag MB1 in the view to define a window. -Help_LastView=This is the only remaining view: you cannot delete it. -Help_PsFileCreation=File created. -Help_SlowView=Enable the computed mode -Help_PlaneView=Displays a view according to a plane. -Help_PlaneView2=Select this option again to reverse the view. - -# Grid Edit dialog -BT_CLOSE=Close -BT_HELP=Help -TXT_XORIGIN=X Origin -TXT_YORIGIN=Y Origin -TXT_XSTEP=X Step -TXT_YSTEP=Y Step -TXT_ANGLE=Angle -TXT_RADSTEP=Radius step -TXT_DIVISION=Division -DLG_RECTEDIT=Rectangular Grid -DLG_CIRCEDIT=Circular Grid -DLG_CHANGECOLOR=Choose the color - diff --git a/samples/java/java/setup.java b/samples/java/java/setup.java deleted file mode 100755 index 360c12a7a1..0000000000 --- a/samples/java/java/setup.java +++ /dev/null @@ -1,57 +0,0 @@ - -//Title: Setup program -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface group -//Company: MatraDatavision -//Description:Sets graphics configuration. - -import javax.swing.UIManager; -import java.awt.*; -import java.util.*; - -public class setup -{ - boolean packFrame = false; - - //Construct the application - public setup() - { - ResourceBundle AppRes = ResourceBundle.getBundle("properties.AppRes"); - Locale aLocale = new Locale(AppRes.getString("language"), ""); - - Locale.setDefault(aLocale); - - SetupFrame frame = new SetupFrame(); - //Validate frames that have preset sizes - //Pack frames that have useful preferred size info, e.g. from their layout - if (packFrame) - frame.pack(); - else - frame.validate(); - //Center the window - Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); - Dimension frameSize = frame.getSize(); - if (frameSize.height > screenSize.height) - frameSize.height = screenSize.height; - if (frameSize.width > screenSize.width) - frameSize.width = screenSize.width; - frame.setLocation((screenSize.width - frameSize.width) / 2, (screenSize.height - frameSize.height) / 2); - frame.setVisible(true); - } - - //Main method - public static void main(String[] args) - { - try - { - UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel"); -// UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); - } - catch(Exception e) - { - } - new setup(); - } -} - \ No newline at end of file diff --git a/samples/java/java/util/ExtensionFileFilter.java b/samples/java/java/util/ExtensionFileFilter.java deleted file mode 100755 index ba0307a44c..0000000000 --- a/samples/java/java/util/ExtensionFileFilter.java +++ /dev/null @@ -1,178 +0,0 @@ - -//Title: Testing viewer -//Version: -//Copyright: Copyright (c) 1998 -//Author: User Interface Group (Nizhny Novgorod) -//Company: EQCC -//Description: - - -package util; - -import java.io.File; -import java.util.*; -import javax.swing.*; -import javax.swing.filechooser.*; - - -public class ExtensionFileFilter extends FileFilter -{ - private Hashtable filters = null; - private String description = null; - private String fullDescription = null; - private boolean useExtensionsInDescription = true; - - -//=======================================================================// -// Constructors -//=======================================================================// - public ExtensionFileFilter() - { - this.filters = new Hashtable(); - } - - public ExtensionFileFilter(String extension, String description) - { - this(); - if(extension != null) addExtension(extension); - if(description != null) setDescription(description); - } - - public ExtensionFileFilter(String[] filters) - { - this(filters, null); - } - - public ExtensionFileFilter(String[] filters, String description) - { - this(); - for (int i = 0; i < filters.length; i++) - { - // add filters one by one - addExtension(filters[i]); - } - if(description != null) setDescription(description); - } - - -//=======================================================================// -// Overriden function -//=======================================================================// - public boolean accept(File f) - { - if (f != null) - { - if(f.isDirectory()) return true; - - String extension = getExtension(f); - if (extension != null && filters.get(getExtension(f)) != null) - return true; - } - - return false; - } - - public String getDescription() - { - if (fullDescription == null) - { - if (description == null || isExtensionListInDescription()) - { - fullDescription = (description == null) ? "(" : description + " ("; - - // build the description from the extension list - Enumeration extensions = filters.keys(); - if (extensions != null) - { - fullDescription += "." + (String) extensions.nextElement(); - while (extensions.hasMoreElements()) - fullDescription += ", " + (String) extensions.nextElement(); - } - - fullDescription += ")"; - } - else - fullDescription = description; - } - - return fullDescription; - } - - - public String[] getExtensions() - - { - - if (filters.size() == 0) - - return null; - - - String[] ext = new String[filters.size()]; - - - Enumeration anEnum = filters.keys(); - - int i = 0; - - while (anEnum.hasMoreElements()) - - ext[i] = new String((String) anEnum.nextElement()); - - - return ext; - - } - -//=======================================================================// -// Additional function -//=======================================================================// - public String getExtension(File f) - { - if (f != null) - return getExtension(f.getName()); - else - return null; - } - - public String getExtension(String filename) - { - if (filename != null) - { - int k = filename.lastIndexOf(System.getProperty("file.separator")); - String name = filename.substring(k+1); - int i = name.lastIndexOf('.'); - if (i>0 && i 0) - { - if (myVal > maxVal) myVal = maxVal; - if (myVal < minVal) myVal = minVal; - } - txtFld.setText("" + myVal); - txtFld.setCaretPosition(0); - } - -//********************************************************************* - public void setValue(String aStr) - { - if (aStr.equals("") || aStr.equals("-")) - setValue(0); - else - setValue((new Integer(aStr)).intValue()); - } - -//********************************************************************* - protected void IncreaseValue() - { - myVal += myStep; - if ((maxVal - minVal) > 0) - if (myVal > maxVal) myVal = maxVal; - txtFld.setText("" + myVal); - txtFld.setCaretPosition(0); - } - -//********************************************************************* - protected void DecreaseValue() - { - myVal -= myStep; - if ((maxVal - minVal) > 0) - if (myVal < minVal) myVal = minVal; - txtFld.setText("" + myVal); - txtFld.setCaretPosition(0); - } - -//********************************************************************* - public void setMaxValue(int aMax) - { - maxVal = aMax; - } - -//********************************************************************* - public void setMinValue(int aMin) - { - minVal = aMin; - } - -//********************************************************************* -// KeyListener -//********************************************************************* - public void keyPressed(KeyEvent e) - { - int aKod = e.getKeyCode(); - - if (aKod == e.VK_MINUS) - { - String aStr = txtFld.getText(); - int aPos = aStr.indexOf("-"); - - if (aPos == -1) // Minus not present - { - if ((txtFld.getCaretPosition()) != 0) - if (!isWrong) - { - isWrong = true; - strBuf = txtFld.getText(); - } - } - else if (!isWrong) - { - isWrong = true; - strBuf = txtFld.getText(); - } - } - else if (aKod == e.VK_UP) - { - setValue(txtFld.getText()); - IncreaseValue(); - } - else if (aKod == e.VK_DOWN) - { - setValue(txtFld.getText()); - DecreaseValue(); - } - else if (!e.isActionKey() && aKod != e.VK_BACK_SPACE) - { - if (!Character.isDigit(e.getKeyChar())) - if (!isWrong) - { - isWrong = true; - strBuf = txtFld.getText(); - } - } - } - -//********************************************************************* - public void keyReleased(KeyEvent e) - { - if (isWrong) - { - txtFld.setText(strBuf); - strBuf = ""; - isWrong = false; - } - } - -//********************************************************************* -// FocusListener -//********************************************************************* - public void focusLost(FocusEvent e) - { - setValue(txtFld.getText()); -// txtFld.setCaretPosition(0); - } -} \ No newline at end of file diff --git a/samples/java/java/util/JFontChooser.java b/samples/java/java/util/JFontChooser.java deleted file mode 100755 index 087fbe62e1..0000000000 --- a/samples/java/java/util/JFontChooser.java +++ /dev/null @@ -1,331 +0,0 @@ - -//Title: FontChooser dialog -//Version: -//Copyright: Copyright (c) 1998 -//Author: LamaSoft -//Company: -//Description: - -package util; - -import javax.swing.*; -import java.awt.*; -import java.awt.event.*; -import java.util.*; -import javax.swing.event.*; -import javax.swing.border.*; -import java.awt.font.*; -import java.awt.geom.*; - - -/** - * A simple FontChooser dialog that implements similar functionality to - * the JFileChooser, JOptionPane and JColorChooser components provided - * with Swing.

- * Upon initialization, the JFontChooser polls the system for all available - * fonts, initializes the various JList components to the values of the - * default font and provides a preview of the font. As options are changed/selected - * the preview is updated to display the current font.

- * JFileChooser can either be created and added to a GUI as a typical - * JComponent or it can display a JDialog using the {@link #showDialog(Component, String) showDialog} - * method (just like the JFileChooser component). Objects - * that extend JFontChooser should use the {@link #acceptSelection() acceptSelection} and - * {@link #cancelSelection() cancelSelection} methods to determine either - * an accept or cancel selection.

- * Example: - *

- * - * JFontChooser chooser = new JFontChooser(new Font("Arial", Font.BOLD, 12)); - * if (chooser.showDialog(this, "Choose a font...") == JFontChooser.ACCEPT_OPTION) { - * Font f = chooser.getSelectedFont(); - * // Process font here... - * } - *
- *

- */ - -public class JFontChooser extends JComponent implements ActionListener, ListSelectionListener { - - private Font font; - private JList fontNames, fontSizes, fontStyles; - private JTextField currentSize; - private JButton okay, cancel; - private Font[] availableFonts; - private JFontPreviewPanel preview; - private JDialog dialog; - private int returnValue; - - /** - * Value returned by {@link #showDialog(Component, String) showDialog} upon an error. - */ - public static final int ERROR_OPTION=0; - - /** - * Value returned by {@link #showDialog(Component, String) showDialog} upon a selected font. - */ - public static final int ACCEPT_OPTION=2; - - /** - * Value returned by {@link #showDialog(Component, String) showDialog} upon a cancel. - */ - public static final int CANCEL_OPTION=4; - - /** - * Constructs a new JFontChooser component initialized to the supplied font object. - * @see com.lamasoft.JFontChooser#showDialog(Component, String) - */ - public JFontChooser(Font font) { - super(); - this.font = font; - setup(); - } - - private void setup() { - setLayout(new BorderLayout()); - - Font[] fontList = GraphicsEnvironment.getLocalGraphicsEnvironment().getAllFonts(); - Vector fonts = new Vector(1, 1); - Vector names = new Vector(1, 1); - for (int i = 0; i < fontList.length; i++) { - String fontName = fontList[i].getFamily(); - if (! names.contains(fontName)) { - names.addElement(fontName); - fonts.addElement(fontList[i]); - } - } - availableFonts = new Font[fonts.size()]; - for (int i = 0; i < fonts.size(); i++) - availableFonts[i] = (Font) fonts.elementAt(i); - fontNames = new JList(names); - JScrollPane fontNamesScroll = new JScrollPane(fontNames); - fontNames.addListSelectionListener(this); - - Object[] styles = {"Regular", "Bold", "Italic", "BoldItalic"}; - fontStyles = new JList(styles); - JScrollPane fontStylesScroll = new JScrollPane(fontStyles); - fontStyles.setSelectedIndex(0); - fontStyles.addListSelectionListener(this); - - String[] sizes = new String[69]; - for (int i = 3; i < 72; i++) - sizes[i - 3] = (new Integer(i + 1)).toString(); - fontSizes = new JList(sizes); - JScrollPane fontSizesScroll = new JScrollPane(fontSizes); - fontSizes.addListSelectionListener(this); - - currentSize = new JTextField(5); - currentSize.setText((new Integer(font.getSize())).toString()); - currentSize.addActionListener(this); - - GridBagLayout g2 = new GridBagLayout(); - GridBagConstraints c2 = new GridBagConstraints(); - JPanel sizePane = new JPanel(g2); - c2.gridx = 0; - c2.gridy = 0; - c2.insets = new Insets(2, 5, 2, 5); - c2.anchor = c2.WEST; - sizePane.add(currentSize); - g2.setConstraints(currentSize, c2); - - sizePane.add(fontSizesScroll); - c2.gridy++; - c2.fill = c2.HORIZONTAL; - g2.setConstraints(fontSizesScroll, c2); - - preview = new JFontPreviewPanel(this.font); - - okay = new JButton("Ok"); - okay.addActionListener(this); - cancel = new JButton("Cancel"); - cancel.addActionListener(this); - - GridBagLayout g = new GridBagLayout(); - GridBagConstraints c = new GridBagConstraints(); - JPanel top = new JPanel(g); - c.anchor = c.WEST; - c.fill = c.VERTICAL; - c.insets = new Insets(2, 5, 2, 5); - c.gridx = 0; - c.gridy = 0; - top.add(fontNamesScroll); - g.setConstraints(fontNamesScroll, c); - c.gridx++; - top.add(fontStylesScroll); - g.setConstraints(fontStylesScroll, c); - c.gridx++; - top.add(sizePane); - g.setConstraints(sizePane, c); - - add("North", top); - add("Center", preview); - - JPanel buttons = new JPanel(new FlowLayout(FlowLayout.RIGHT)); - - buttons.add(okay); - buttons.add(cancel); - - add("South", buttons); - - fontSizes.setSelectedValue((new Integer(font.getSize())).toString(), true); - fontNames.setSelectedValue(font.getFamily(), true); - if (font.getStyle() == Font.PLAIN) - fontStyles.setSelectedValue("Regular", false); - else if (font.getStyle() == Font.ITALIC) - fontStyles.setSelectedValue("Italic", false); - else if (font.getStyle() == Font.BOLD) - fontStyles.setSelectedValue("Bold", false); - else if (font.getStyle() == (Font.BOLD | Font.ITALIC)) - fontStyles.setSelectedValue("BoldItalic", false); - } - - private void updateFont(Font f) { - this.font = f; - preview.setFont(this.font); - } - - private void updateFontSize(int size) { - updateFont(font.deriveFont((new Integer(size)).floatValue())); - } - - private void updateFontStyle(int style) { - updateFont(font.deriveFont(style)); - } - - /** - * Returns the currently selected font. Typically called after receipt - * of an ACCEPT_OPTION (using the {@link #showDialog(Component, String) showDialog} option) or from within the - * approveSelection method (using the component option). - * @return java.awt.Font A font class that represents the currently selected font. - */ - public Font getSelectedFont() { - return font; - } - - /** - * Processes action events from the okay and cancel buttons - * as well as the current size TextField. - */ - public void actionPerformed(ActionEvent e) { - if (e.getSource() == okay) { - returnValue = ACCEPT_OPTION; - if (dialog != null) - dialog.setVisible(false); - acceptSelection(); - - } - if (e.getSource() == cancel) { - returnValue = CANCEL_OPTION; - if (dialog != null) - dialog.setVisible(false); - cancelSelection(); - } - if (e.getSource() == currentSize) { - fontSizes.setSelectedValue(currentSize.getText(), true); - } - } - - /** - * Processes events received from the various JList objects. - */ - public void valueChanged(ListSelectionEvent e) { - if (e.getSource() == fontNames) { - Font f = availableFonts[fontNames.getSelectedIndex()]; - f = new Font(f.getFontName(), font.getStyle(), font.getSize()); - updateFont(f); - } - if (e.getSource() == fontSizes) { - currentSize.setText((String) fontSizes.getSelectedValue()); - updateFontSize((new Integer(currentSize.getText())).intValue()); - } - if (e.getSource() == fontStyles) { - int style = Font.PLAIN; - String selection = (String) fontStyles.getSelectedValue(); - if (selection.equals("Regular")) - style = Font.PLAIN; - if (selection.equals("Bold")) - style = Font.BOLD; - if (selection.equals("Italic")) - style = Font.ITALIC; - if (selection.equals("BoldItalic")) - style = (Font.BOLD | Font.ITALIC); - updateFontStyle(style); - } - } - - /** - * Pops up a Font chooser dialog with the supplied title, centered - * about the component parent. - * @return int An integer that equates to the static variables ERROR_OPTION, ACCEPT_OPTION or CANCEL_OPTION. - */ - public int showDialog(Component parent, String title) { - returnValue = ERROR_OPTION; - Frame frame = parent instanceof Frame ? (Frame) parent : (Frame)SwingUtilities.getAncestorOfClass(Frame.class, parent); - dialog = new JDialog(frame, title, true); - dialog.getContentPane().add("Center", this); - dialog.pack(); - dialog.setLocationRelativeTo(parent); - dialog.show(); - return returnValue; - } - - /** - * This method is called when the user presses the okay button, selecting - * the currently displayed font. Children of JFontChooser should override this - * method to process this event. - */ - public void acceptSelection() { - } - - /** - * This method is called when the user presses the cancel button. Children of - * JFontChooser should override this method to process this event. - */ - public void cancelSelection() { - } -} - - - -class JFontPreviewPanel extends JPanel { - - private Font font; - - public JFontPreviewPanel(Font f) { - super(); - setFont(f); - setBorder(new TitledBorder(new EtchedBorder(EtchedBorder.LOWERED), "Preview")); - } - - public void setFont(Font f) { - this.font = f; - repaint(); - } - - public void update(Graphics g) { - paintComponent(g); - paintBorder(g); - } - - public void paintComponent(Graphics g) { - Image osi = createImage(getSize().width, getSize().height); - Graphics osg = osi.getGraphics(); - osg.setFont(this.font); - Rectangle2D bounds = font.getStringBounds(font.getFontName(), 0, font.getFontName().length(), new FontRenderContext(null, true, false)); - int width = (new Double(bounds.getWidth())).intValue(); - int height = (new Double(bounds.getHeight())).intValue(); - osg.drawString(font.getFontName(), 5, (((getSize().height - height) / 2) + height)); - - g.drawImage(osi, 0, 0, this); - } - - public Dimension getPreferredSize() { - return new Dimension(getSize().width, 75); - } - - public Dimension getMinimumSize() { - return getPreferredSize(); - } -} - - - \ No newline at end of file diff --git a/samples/java/java/util/Position.java b/samples/java/java/util/Position.java deleted file mode 100755 index e601af939e..0000000000 --- a/samples/java/java/util/Position.java +++ /dev/null @@ -1,357 +0,0 @@ - -//Title: JAD test application -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface group -//Company: Matra Datavision -//Description: A simple application for testing new JAD architecture. - - -package util; - -import java.awt.*; - -/** - * The set of static methods to support window management. - */ - -public class Position -{ - /** - * Contains the screen size - */ - static private Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); - - /** - * Defines top-left point of area enabled to locate windows. - */ - static private Point startPoint = new Point(100, 100); - - /** - * Defines bottom-right point of area enabled to locate windows. - */ - static private Point lastPoint = new Point(screenSize.width-100, screenSize.height-30); - - /** - * Defines default size of new window - */ - static private Dimension defaultSize = new Dimension(600, 800); - - /** - * Defines size of area enabled to locate window. - */ - static private Dimension enabledArea = new Dimension(lastPoint.x - startPoint.x, - lastPoint.y - startPoint.y); - - /** - * Defines horisontal indent to locate next window. - */ - static private int indentX = 30; - - /** - * Defines vertical indent to locate next window. - */ - static private int indentY = 30; - - - /** - * Defines current location of new window. - */ - static private Point currentLocation = new Point(startPoint); - - -//=======================================================================// -// Setting Display Area // -//=======================================================================// - static - { - changeLocation(); - } - -//=======================================================================// - /** - * Sets the area enabled to locate windows. - */ - static public void setEnabledArea(Rectangle rect) - { - startPoint = new Point(rect.getLocation()); - lastPoint = new Point(rect.x + rect.width, rect.y + rect.height); - changeLocation(); - } - - /** - * Sets the area enabled to locate windows. - */ - static public void setEnabledArea(Point pnt, Dimension size) - { - startPoint = new Point(pnt); - lastPoint = new Point(pnt.x + size.width, pnt.y + size.height); - changeLocation(); - } - - /** - * Sets the area enabled to locate windows. - */ - static public void setEnabledArea(int x, int y, int width, int height) - { - startPoint = new Point(x, y); - lastPoint = new Point(x + width, y + height); - changeLocation(); - } - -//=======================================================================// - /** - * Returns the area enabled to locate windows. - */ - static public Rectangle getEnabledArea() - { - return new Rectangle(startPoint, enabledArea); - } - -//=======================================================================// - /** - * Sets top-left point of enabled area. - */ - static public void setStartPoint(Point pnt) - { - startPoint = new Point(pnt); - changeLocation(); - } - - /** - * Sets top-left point of enabled area. - */ - static public void setStartPoint(int x, int y) - { - startPoint = new Point(x, y); - changeLocation(); - } - -//=======================================================================// - /** - * Returns top-left point of enabled area. - */ - static public Point getStartPoint() - { - return startPoint; - } - -//=======================================================================// - /** - * Sets bottom-right point of enabled area. - */ - static public void setLastPoint(Point pnt) - { - lastPoint = new Point(pnt); - changeLocation(); - } - - /** - * Sets bottom-right point of enabled area. - */ - static public void setLastPoint(int x, int y) - { - lastPoint = new Point(x, y); - changeLocation(); - } - -//=======================================================================// - /** - * Returns bottom-right point of enabled area. - */ - static public Point getLastPoint() - { - return lastPoint; - } - -//=======================================================================// - /** - * Sets vertical indent to locate next window. - */ - static public void setIndent(int y) - { - indentY = y; - changeLocation(); - } - -//=======================================================================// - /** - * Returns horisontal and vertical indents to locate next window. - */ - static public Dimension getIndent() - { - return new Dimension(indentX, indentY); - } - -//=======================================================================// - /** - * Returns default size of new window. - */ - static public Dimension getDefaultSize() - { - return defaultSize; - } - -//=======================================================================// - /** - * Recalculates dependent parameters according to new values. - */ - static private void changeLocation() - { - currentLocation = new Point(startPoint); - enabledArea = new Dimension(lastPoint.x - startPoint.x, - lastPoint.y - startPoint.y); - - indentX = indentY * (enabledArea.width/enabledArea.height); - - defaultSize.width = enabledArea.width - indentX*10; - defaultSize.height = enabledArea.height - indentY*10; - } - -//=======================================================================// -// Windows Arrangement // -//=======================================================================// -/** - * Locates window in the center of enabled area - */ - static public void centerWindow(Window w) - { - Dimension wndSize = w.getSize(); - w.setLocation(startPoint.x + ((enabledArea.width - wndSize.width) / 2), - startPoint.y + ((enabledArea.height - wndSize.height) / 2)); - } - -//=======================================================================// -/** - * Locates new window with indention from previous one - */ - static public void locateWindow(Window w) - { - Dimension wndSize = w.getSize(); - - if (wndSize.height > screenSize.height) - currentLocation.y = 0; - else if (wndSize.height > (screenSize.height - startPoint.y)) - currentLocation.y = screenSize.height - wndSize.height; - else if (wndSize.height > (enabledArea.height - currentLocation.y + startPoint.y)) - currentLocation.y = startPoint.y; - - if (wndSize.width > screenSize.width) - currentLocation.x = 0; - else if (wndSize.width > (screenSize.width - startPoint.x)) - currentLocation.x = screenSize.width - wndSize.width; - else if (wndSize.width > (enabledArea.width - currentLocation.x + startPoint.x)) - currentLocation.x = startPoint.x; - - w.setLocation(currentLocation); - currentLocation.translate(indentX, indentY); - } - -//=======================================================================// -/** - * Locates windows by cascade - * List of windows should be sorted so that the active window would be first - */ - static public void arrangeCascade(Window[] wlist) - { - Point currentPoint = new Point(startPoint); - - for (int i = wlist.length; i > 0; i--) - { - Window w = wlist[i-1]; - if (w == null) continue; - - w.setSize(defaultSize); - - if (defaultSize.height > (lastPoint.y - currentPoint.y)) - currentPoint.y = startPoint.y; - if (defaultSize.width > (lastPoint.x - currentPoint.x)) - currentPoint.x = startPoint.x; - - w.setLocation(currentPoint); - - if (w instanceof Frame) - { - Frame fr = (Frame) w; - if (fr.getState() == Frame.ICONIFIED) - fr.setState(Frame.NORMAL); - } - - currentPoint.translate(indentX, indentY); - } - } - -//=======================================================================// -/** - * Locates windows by vertical or horizontal tile - * List of windows should be sorted so that the active window would be first - */ - static public void arrangeTile(Window[] wlist, boolean isVert) - { - Point currentPoint = new Point(startPoint); - - int count = wlist.length; - if (count == 0) return; - - // find counts of frames along horizontal and vertical sides - int k, cntX, cntY; - for (k = 1; k < 10; k++) - { - if (count <= k*k) break; - } - - if (count == k*k) - { - cntX = k; cntY = k; - } - else - { - if (isVert) - { - cntX = k; - if (count > k*(k-1)) - cntY = k; - else - cntY = k-1; - } - else - { - cntY = k; - if (count > k*(k-1)) - cntX = k; - else - cntX = k-1; - } - } - - // find size of each frame - Dimension rectSize = new Dimension(); - rectSize.width = enabledArea.width/cntX; - rectSize.height = enabledArea.height/cntY; - - // arrange windows - for (int i = 0; i < count; i++) - { - Window w = wlist[i]; - if (w == null) continue; - - w.setSize(rectSize); - w.setLocation(currentPoint); - - if (w instanceof Frame) - { - Frame fr = (Frame) w; - if (fr.getState() == Frame.ICONIFIED) - fr.setState(Frame.NORMAL); - } - - currentPoint.x = currentPoint.x + rectSize.width; - if (currentPoint.x >= rectSize.width*cntX) - { - currentPoint.x = startPoint.x; - currentPoint.y = currentPoint.y + rectSize.height; - } - } - } - -} diff --git a/samples/java/java/util/RealField.java b/samples/java/java/util/RealField.java deleted file mode 100755 index 03ec89235c..0000000000 --- a/samples/java/java/util/RealField.java +++ /dev/null @@ -1,139 +0,0 @@ - -//Title: Open CASCADE Technology Samples -//Version: -//Copyright: Copyright (c) 1999 -//Author: Natalia Kopnova -//Company: Matra Datavision (Nizhny Novgorod branch) -//Description: - -package util; - -import java.awt.event.*; -import javax.swing.*; -import javax.swing.event.*; - -public class RealField extends JTextField - implements InputMethodListener, - KeyListener -{ - private boolean consume = false; - private String str = new String(""); - -//=======================================================================// -// Construction -//=======================================================================// - public RealField() - { - addInputMethodListener(this); - addKeyListener(this); - } - - public RealField(int columns) - { - super(columns); - addInputMethodListener(this); - addKeyListener(this); - } - - public RealField(String text) - { - super(text); - addInputMethodListener(this); - addKeyListener(this); - } - - public RealField(String text, int columns) - { - super(text, columns); - addInputMethodListener(this); - addKeyListener(this); - } - -//=======================================================================// - /** Returns integer contents of this component */ - public double getValue() - { - Double value; - String newValue; - - newValue = getText(); - value = new Double((newValue.equals("") || newValue.equals("-")) ? - "0." : newValue); - - return value.doubleValue(); - } - -//=======================================================================// -// Key listener interface -//=======================================================================// - public void keyTyped(KeyEvent event) - { - } - -//=======================================================================// - public void keyPressed(KeyEvent event) - { - int aKod = event.getKeyCode(); - if (aKod == event.VK_MINUS) - { - String aStr = getText(); - int aPos = aStr.indexOf("-"); - - if (aPos == -1) // Minus is not present - { - if ((getCaretPosition()) != 0) - consume = true; - } - else - consume = true; - } - else if ((aKod == event.VK_DECIMAL) || (aKod == event.VK_PERIOD)) - { - String aStr = getText(); - int aPos = aStr.indexOf("."); - if (aPos != -1) // the point is present in the string - consume = true; - } - else if (!event.isActionKey() && aKod != event.VK_BACK_SPACE && - aKod != event.VK_DELETE) - { - if (!Character.isDigit(event.getKeyChar())) - consume = true; - } - } - -//=======================================================================// - public void keyReleased(KeyEvent event) - { - String newValue = getText(); - - if (!newValue.equals(str)) - { - if (consume) - { - setText(str); - consume = false; - } - else - str = newValue; - } - } - -//=======================================================================// -// InputMethod listener interface -//=======================================================================// - public void inputMethodTextChanged(InputMethodEvent event) - { - if (consume) - { - event.consume(); - consume = false; - } - } - - public void caretPositionChanged(InputMethodEvent event) - { - } - - -} \ No newline at end of file diff --git a/samples/java/java/util/RealSpin.java b/samples/java/java/util/RealSpin.java deleted file mode 100755 index 09e6576794..0000000000 --- a/samples/java/java/util/RealSpin.java +++ /dev/null @@ -1,233 +0,0 @@ - -//Title: Geological editor -//Version: -//Copyright: Copyright (c) 1998 -//Author: User Interface Group (Nizhny Novgorod) -//Company: EQCC -//Description: Prototype of BRGM project - - -package util; - -import java.awt.*; -import java.math.BigDecimal; -import java.awt.event.*; -import javax.swing.*; - -public class RealSpin extends SpinBox -{ - BigDecimal myStep = new BigDecimal("1"); - BigDecimal myVal = new BigDecimal("0"); - - BigDecimal maxValue = new BigDecimal("0"); - BigDecimal minValue = new BigDecimal("0"); - - boolean isWrong = false; // true if in the strBuf was putted any string - String strBuf; - -//********************************************************************* - public RealSpin() - { - super(); - txtFld.setText(myVal.toString()); - } - - public RealSpin(double aStartVal, double aStep, double aMin, double aMax) - { - this("" + aStartVal, "" + aStep, "" + aMin, "" + aMax); - } - - public RealSpin(double aStartVal, double aStep) - { - this("" + aStartVal, "" + aStep); - } - - public RealSpin(String aStartVal, String aStep) - { - this(aStartVal, aStep, "0.0", "0.0"); - } - - public RealSpin(String aStartVal, String aStep, String aMin, String aMax) - { - super(); - myVal = new BigDecimal(aStartVal); - txtFld.setText(myVal.toString()); - - myStep = new BigDecimal(aStep); - maxValue = new BigDecimal(aMax); - minValue = new BigDecimal(aMin); - } - -//********************************************************************* - public double getStep() - { - return myStep.doubleValue(); - } - -//********************************************************************* - public void setStep(double aStep) - { - myStep = new BigDecimal(aStep); - } - -//********************************************************************* - public double getValue() - { - return myVal.doubleValue(); - } - -//********************************************************************* - public void setValue(double aVal) - { - setValue("" + aVal); - } - -//********************************************************************* - public void setValue(String aStr) - { - if (aStr.equals("") || aStr.equals("-")) - myVal = new BigDecimal(0.0); - else - { - myVal = new BigDecimal(aStr); - if (maxValue.subtract(minValue).doubleValue() > 0) - { - if (myVal.doubleValue() > maxValue.doubleValue()) - myVal = new BigDecimal(maxValue.doubleValue()); - else if (myVal.doubleValue() < minValue.doubleValue()) - myVal = new BigDecimal(minValue.doubleValue()); - } - } - - txtFld.setText("" + myVal.toString()); - txtFld.setCaretPosition(0); - } - -//********************************************************************* - protected void IncreaseValue() - { - myVal = myVal.add(myStep); - if (maxValue.subtract(minValue).doubleValue() > 0) - if (myVal.doubleValue() > maxValue.doubleValue()) - myVal = new BigDecimal(maxValue.doubleValue()); - - txtFld.setText("" + myVal.toString()); - txtFld.setCaretPosition(0); - } - -//********************************************************************* - protected void DecreaseValue() - { - myVal = myVal.subtract(myStep); - if (maxValue.subtract(minValue).doubleValue() > 0) - if (myVal.doubleValue() < minValue.doubleValue()) - myVal = new BigDecimal(minValue.doubleValue()); - - txtFld.setText("" + myVal.toString()); - txtFld.setCaretPosition(0); - } - -//********************************************************************* - public void setMaxValue(String aMax) - { - maxValue = new BigDecimal(aMax); - } - -//********************************************************************* - public void setMaxValue(double aMax) - { - setMaxValue("" + aMax); - } - -//********************************************************************* - public void setMinValue(String aMin) - { - maxValue = new BigDecimal(aMin); - } - -//********************************************************************* - public void setMinValue(double aMin) - { - setMinValue("" + aMin); - } - -//********************************************************************* -// KeyListener -//********************************************************************* - public void keyPressed(KeyEvent e) - { - int aKod = e.getKeyCode(); - - if (aKod == e.VK_MINUS) - { - String aStr = txtFld.getText(); - int aPos = aStr.indexOf("-"); - - if (aPos == -1) // Minus not present - { - if ((txtFld.getCaretPosition()) != 0) - if (!isWrong) - { - isWrong = true; - strBuf = txtFld.getText(); - } - } - else if (!isWrong) - { - isWrong = true; - strBuf = txtFld.getText(); - } - } - else if ((aKod == e.VK_DECIMAL) || (aKod == e.VK_PERIOD)) - { - String aStr = txtFld.getText(); - int aPos = aStr.indexOf("."); - if ((aPos != -1) && (!isWrong)) // the point is present in the string - if (!isWrong) - { - isWrong = true; - strBuf = txtFld.getText(); - } - } - else if (aKod == e.VK_UP) - { - setValue(txtFld.getText()); - IncreaseValue(); - } - else if (aKod == e.VK_DOWN) - { - setValue(txtFld.getText()); - DecreaseValue(); - } - else if (!e.isActionKey() && aKod != e.VK_BACK_SPACE) - { - if (!Character.isDigit(e.getKeyChar())) - if (!isWrong) - { - isWrong = true; - strBuf = txtFld.getText(); - } - } - } - -//********************************************************************* - public void keyReleased(KeyEvent e) - { - if (isWrong) - { - txtFld.setText(strBuf); - strBuf = ""; - isWrong = false; - } - } - -//********************************************************************* -// FocusListener -//********************************************************************* - public void focusLost(FocusEvent e) - { - setValue(txtFld.getText()); -// txtFld.setCaretPosition(0); - } - -} diff --git a/samples/java/java/util/SpinBox.java b/samples/java/java/util/SpinBox.java deleted file mode 100755 index 5008428e59..0000000000 --- a/samples/java/java/util/SpinBox.java +++ /dev/null @@ -1,176 +0,0 @@ - -//Title: Geological editor -//Version: -//Copyright: Copyright (c) 1998 -//Author: User Interface Group (Nizhny Novgorod) -//Company: EQCC -//Description: Prototype of BRGM project - - -package util; - -import java.awt.*; -import java.awt.event.*; -import java.awt.image.*; -import javax.swing.*; - - - -public abstract class SpinBox extends JPanel implements ActionListener, - KeyListener, - FocusListener -{ - protected JButton btnUp = new JButton(); - protected JButton btnDown = new JButton(); - protected JTextField txtFld = new JTextField(1); - JPanel pnlBtn = new JPanel(new GridLayout(2, 1)); - - static Icon imgUp = getUpIcon(); - static Icon imgDown = getDownIcon(); - - -//********************************************************************* - public SpinBox() - { - super(); - try - { - jbInit(); - } - catch (Exception e) - { - e.printStackTrace(); - } - txtFld.setCaretPosition(0); - } - -//********************************************************************* - private void jbInit() throws Exception - { - this.setLayout(new BorderLayout()); - this.add(txtFld, BorderLayout.CENTER); - - Insets aIns = new Insets(1, 1, 1, 1); - btnUp.setMargin(aIns); - btnDown.setMargin(aIns); - - btnUp.setIcon(imgUp); - btnDown.setIcon(imgDown); - btnUp.setFocusPainted(false); - btnDown.setFocusPainted(false); - - btnUp.addActionListener(this); - btnDown.addActionListener(this); - - pnlBtn.add(btnUp); - pnlBtn.add(btnDown); - this.add(pnlBtn, BorderLayout.EAST); - - txtFld.addKeyListener(this); - txtFld.addFocusListener(this); - } - -//********************************************************************* - private static Icon getUpIcon() - { - BufferedImage aImg = new BufferedImage(8, 4, BufferedImage.TYPE_INT_RGB); - Graphics2D aGr = aImg.createGraphics(); - - aGr.setColor(SystemColor.menu); - aGr.fillRect(0, 0, 8, 4); - int aX[] = {0, 8, 4}; - int aY[] = {4, 4, 0}; - aGr.setColor(Color.black); - aGr.fillPolygon(aX, aY, 3); - ImageIcon aNew = new ImageIcon(aImg); - return aNew; - } - -//********************************************************************* - private static Icon getDownIcon() - { - BufferedImage aImg = new BufferedImage(8, 4, BufferedImage.TYPE_INT_RGB); - Graphics2D aGr = aImg.createGraphics(); - - aGr.setColor(SystemColor.menu); - aGr.fillRect(0, 0, 8, 4); - int aX[] = {1, 3, 7}; - int aY[] = {0, 3, 0}; - aGr.setColor(Color.black); - aGr.fillPolygon(aX, aY, 3); - ImageIcon aNew = new ImageIcon(aImg); - return aNew; - } - - protected abstract void IncreaseValue(); - protected abstract void DecreaseValue(); - -//********************************************************************* - public void setColumns(int aColumns) - { - txtFld.setColumns(aColumns); - } - -//********************************************************************* - public int getColumns() - { - return txtFld.getColumns(); - } - -//********************************************************************* - public void setEnabled(boolean aState) - { - super.setEnabled(aState); - txtFld.setEnabled(aState); - btnDown.setEnabled(aState); - btnUp.setEnabled(aState); - } - -//********************************************************************* - public void addFocusListener(FocusListener l) - { - super.addFocusListener(l); - if (txtFld != null) txtFld.addFocusListener(l); - if (btnUp != null) btnUp.addFocusListener(l); - if (btnDown != null) btnDown.addFocusListener(l); - } - -//********************************************************************* -// ActionListener -//********************************************************************* - public void actionPerformed(ActionEvent e) - { - if (e.getSource() instanceof JButton) - { - JButton aBtn = (JButton)e.getSource(); - if (aBtn == btnUp) IncreaseValue(); - else if (aBtn == btnDown) DecreaseValue(); - } - } - -//********************************************************************* -// KeyListener -//********************************************************************* - public void keyPressed(KeyEvent e) - { - } - - public void keyReleased(KeyEvent e) - { - } - - public void keyTyped(KeyEvent e) - { - } - -//********************************************************************* -// FocusListener -//********************************************************************* - public void focusGained(FocusEvent e) - { - } - - public void focusLost(FocusEvent e) - { - } -} diff --git a/samples/java/java/util/StandardDlg.java b/samples/java/java/util/StandardDlg.java deleted file mode 100755 index 6f234b6e83..0000000000 --- a/samples/java/java/util/StandardDlg.java +++ /dev/null @@ -1,146 +0,0 @@ - -//Title: Geological editor -//Version: -//Copyright: Copyright (c) 1998 -//Author: User Interface Group (Nizhny Novgorod) -//Company: DNN CC -//Description: Prototipe of BRGM project - -package util; - -import java.awt.*; -import java.util.*; -import javax.swing.*; -import java.awt.event.ActionEvent; -import java.awt.event.ActionListener; - -public class StandardDlg extends JDialog implements ActionListener -{ - static private ResourceBundle res = - ResourceBundle.getBundle("properties.Desktop", Locale.getDefault()); - -// static private StandardDlg PreviousDlg = null; - - public JPanel ControlsPanel = new JPanel(); - - public JButton OkBtn = new JButton(res.getString("BTN_OK")); - public JButton CancelBtn = new JButton(res.getString("BTN_CANCEL")); - public JButton HlpBtn = new JButton(res.getString("BTN_HELP")); - - final public String OkAction = "OkAction"; - final public String CancelAction = "CancelAction"; - final public String HelpAction = "HelpAction"; - - -//********************************************************************** - public StandardDlg(Frame frame, String title, boolean isOk, - boolean isCancel, boolean isHelp) - { - super(frame, title, false); - CreateDlg(isOk, isCancel, isHelp); - } - -//********************************************************************** - public StandardDlg(Frame frame, String title, boolean isOk, - boolean isCancel, boolean isHelp, boolean isModal) - { - super(frame, title, isModal); - CreateDlg(isOk, isCancel, isHelp); - } - -//********************************************************************** - public StandardDlg(Dialog frame, String title, boolean isOk, - boolean isCancel, boolean isHelp) - { - super(frame, title, false); - CreateDlg(isOk, isCancel, isHelp); - } - -//********************************************************************** - public StandardDlg(Dialog frame, String title, boolean isOk, - boolean isCancel, boolean isHelp, boolean isModal) - { - super(frame, title, isModal); - CreateDlg(isOk, isCancel, isHelp); - } - -//********************************************************************** - private void CreateDlg(boolean isOk, boolean isCancel, boolean isHelp) - { - InitDlg(isOk, isCancel, isHelp); - pack(); -// if (PreviousDlg != null) PreviousDlg.dispose(); -// PreviousDlg = this; - } - -//********************************************************************** - void InitDlg(boolean isOk, boolean isCancel, boolean isHelp) - { - getContentPane().setLayout(new BorderLayout()); - JPanel actionPane = new JPanel(new FlowLayout()); - JPanel helpPane = new JPanel(new FlowLayout()); - JPanel BtnPanel = new JPanel(new BorderLayout()); - - if (isOk) - { - OkBtn.setActionCommand(OkAction); - OkBtn.addActionListener(this); - actionPane.add(OkBtn); - } - if (isCancel) - { - CancelBtn.setActionCommand(CancelAction); - CancelBtn.addActionListener(this); - actionPane.add(CancelBtn); - } - if (isHelp) - { - HlpBtn.setActionCommand(HelpAction); - HlpBtn.addActionListener(this); - helpPane.add(HlpBtn); - } - - BtnPanel.add(actionPane, BorderLayout.WEST); - BtnPanel.add(helpPane, BorderLayout.EAST); - - ControlsPanel.setBorder(BorderFactory.createLoweredBevelBorder()); - getContentPane().add(ControlsPanel, BorderLayout.CENTER); - getContentPane().add(BtnPanel, BorderLayout.SOUTH); - } - -//********************************************************************** - public void OkAction() - { - } - -//********************************************************************** - public void CancelAction() - { - } - -//********************************************************************** - public void HelpAction() - { - } - -//********************************************************************** - public void UpdateBox() - { - } - -//********************************************************************** -// ActionListener -//********************************************************************** - public void actionPerformed(ActionEvent e) - { - String strAction = e.getActionCommand(); - - if (strAction.equals(OkAction)) OkAction(); - else if (strAction.equals(CancelAction)) CancelAction(); - else if (strAction.equals(HelpAction)) HelpAction(); - } - - - -} - diff --git a/samples/java/java/util/ToolbarLayout.java b/samples/java/java/util/ToolbarLayout.java deleted file mode 100755 index 24e7e29092..0000000000 --- a/samples/java/java/util/ToolbarLayout.java +++ /dev/null @@ -1,325 +0,0 @@ - -//Title: JAD demo application -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface group -//Company: MatraDatavision -//Description: Example of using JAD architecture -package util; - -import java.awt.*; - - -public class ToolbarLayout implements LayoutManager -{ -//=======================================================================// -// Constants -//=======================================================================// - // Alignment - public static final int CENTER = 0; - public static final int LEFT = 1; - public static final int RIGHT = 2; - public static final int TOP = 3; - public static final int BOTTOM = 4; - - -//=======================================================================// -// Internal variables -//=======================================================================// - private int xAlign; // horizontal alignment of components - private int yAlign; // vertical alignment of components - private int hgap; // horizontal gap between components - private int vgap; // vertical gap between components - - -//=======================================================================// -// Constructors -//=======================================================================// - public ToolbarLayout() - { - this(CENTER, CENTER, 1, 1); - } - - public ToolbarLayout(int xAlign, int yAlign) - { - this(xAlign, yAlign, 1, 1); - } - - public ToolbarLayout(int xAlign, int yAlign, int hgap, int vgap) - { - this.xAlign = xAlign; - this.yAlign = yAlign; - this.hgap = hgap; - this.vgap = vgap; - } - -//=======================================================================// -// Setting/Getting parameters -//=======================================================================// - public int getAlignmentX() - { - return xAlign; - } - - public void setAlignmentX(int xAlign) - { - this.xAlign = xAlign; - } - - public int getAlignmentY() - { - return yAlign; - } - - public void setAlignmentY(int yAlign) - { - this.yAlign = yAlign; - } - - public int getHgap() - { - return hgap; - } - - public void setHgap(int hgap) - { - this.hgap = hgap; - } - - public int getVgap() - { - return vgap; - } - - public void setVgap(int vgap) - { - this.vgap = vgap; - } - -//=======================================================================// -// LayoutManager interface implementation -//=======================================================================// - public void addLayoutComponent(String name, Component comp) - { - } - - public void removeLayoutComponent(Component comp) - { - } - - public Dimension preferredLayoutSize(Container parent) - { - synchronized (parent.getTreeLock()) - { - Dimension dim = new Dimension(0, 0); - Insets insets = parent.getInsets(); - int maxWidth = parent.getWidth() - (insets.left + insets.right + hgap*2); - int compCount = parent.getComponentCount(); - int maxRowWidth = 0, maxRowHeight = 0; - int x = 0; - - for (int i = 0 ; i < compCount ; i++) - { - Component m = parent.getComponent(i); - if (m.isVisible()) - { - Dimension d = m.getPreferredSize(); - if ((x == 0) || ((x + d.width) <= maxWidth)) - { - if (x > 0) x += hgap; - x += d.width; - maxRowHeight = Math.max(maxRowHeight, d.height); - } - else - { - // It's time to start new line - if (dim.height > 0) dim.height += vgap; - dim.height += maxRowHeight; - maxRowWidth = Math.max(maxRowWidth, x); - - x = d.width; - maxRowHeight = d.height; - } - } - } - // Process the last row - if (dim.height > 0) dim.height += vgap; - dim.height += maxRowHeight; - maxRowWidth = Math.max(maxRowWidth, x); - - dim.width = maxRowWidth; - - dim.width += insets.left + insets.right + hgap*2; - dim.height += insets.top + insets.bottom + vgap*2; - - return dim; - } - } - - - public Dimension minimumLayoutSize(Container parent) - { - synchronized (parent.getTreeLock()) - { - Dimension dim = new Dimension(0, 0); - Insets insets = parent.getInsets(); - int maxWidth = parent.getWidth() - (insets.left + insets.right + hgap*2); - int compCount = parent.getComponentCount(); - int maxRowWidth = 0, maxRowHeight = 0; - int x = 0; - - for (int i = 0 ; i < compCount ; i++) - { - Component m = parent.getComponent(i); - if (m.isVisible()) - { - Dimension d = m.getMinimumSize(); - if ((x == 0) || ((x + d.width) <= maxWidth)) - { - if (x > 0) x += hgap; - x += d.width; - maxRowHeight = Math.max(maxRowHeight, d.height); - } - else - { - // It's time to start new line - if (dim.height > 0) dim.height += vgap; - dim.height += maxRowHeight; - maxRowWidth = Math.max(maxRowWidth, x); - - x = d.width; - maxRowHeight = d.height; - } - } - } - // Process the last row - if (dim.height > 0) dim.height += vgap; - dim.height += maxRowHeight; - maxRowWidth = Math.max(maxRowWidth, x); - - dim.width = maxRowWidth; - - dim.width += insets.left + insets.right + hgap*2; - dim.height += insets.top + insets.bottom + vgap*2; - - return dim; - } -/* - synchronized (parent.getTreeLock()) - { - Dimension dim = new Dimension(0, 0); - int nmembers = parent.getComponentCount(); - - for (int i = 0 ; i < nmembers ; i++) - { - Component m = parent.getComponent(i); - if (m.isVisible()) - { - Dimension d = m.getMinimumSize(); - dim.height = Math.max(dim.height, d.height); - if (i > 0) dim.width += hgap; - dim.width += d.width; - } - } - Insets insets = parent.getInsets(); - dim.width += insets.left + insets.right + hgap*2; - dim.height += insets.top + insets.bottom + vgap*2; - return dim; - } -*/ - } - - public void layoutContainer(Container parent) - { - synchronized (parent.getTreeLock()) - { - Insets insets = parent.getInsets(); - int maxwidth = parent.getWidth() - (insets.left + insets.right + hgap*2); - int compCount = parent.getComponentCount(); - int x = 0, y = insets.top + vgap; - int rowHeight = 0, start = 0; - - boolean ltr = parent.getComponentOrientation().isLeftToRight(); - - for (int i = 0; i < compCount; i++) - { - Component m = parent.getComponent(i); - if (m.isVisible()) - { - Dimension d = m.getPreferredSize(); - m.setSize(d.width, d.height); - - if ((x == 0) || ((x + d.width) <= maxwidth)) - { - if (x > 0) x += hgap; - x += d.width; - rowHeight = Math.max(rowHeight, d.height); - } - else - { - layoutRow(parent, insets.left + hgap, y, maxwidth - x, - rowHeight, start, i, ltr); - x = d.width; - y += vgap + rowHeight; - rowHeight = d.height; - start = i; - } - } - } - layoutRow(parent, insets.left + hgap, y, maxwidth - x, - rowHeight, start, compCount, ltr); - } - } - - - private void layoutRow(Container parent, - int x, int y, int freeWidth, int rowHeight, - int rowStart, int rowEnd, boolean ltr) - { - synchronized (parent.getTreeLock()) - { - switch (xAlign) - { - case LEFT: - x += ltr ? 0 : freeWidth; - break; - case CENTER: - x += freeWidth/2; - break; - case RIGHT: - x += ltr ? freeWidth : 0; - break; - } - for (int i = rowStart; i < rowEnd; i++) - { - Component m = parent.getComponent(i); - if (m.isVisible()) - { - int y2 = y; - switch (yAlign) - { - case TOP: - y2 += 0; - break; - case CENTER: - y2 += (rowHeight - m.getHeight())/2; - break; - case BOTTOM: - y2 += rowHeight - m.getHeight(); - break; - } - if (ltr) - m.setLocation(x, y2); - else - m.setLocation(parent.getWidth() - x - m.getWidth(), y2); - x += m.getWidth() + hgap; - } - } - } - } - - -} - - - diff --git a/samples/java/java/util/TracePanel.java b/samples/java/java/util/TracePanel.java deleted file mode 100755 index 5422fdf1d7..0000000000 --- a/samples/java/java/util/TracePanel.java +++ /dev/null @@ -1,159 +0,0 @@ - -//Title: OpenCASCADE Samples -//Version: -//Copyright: Copyright (c) 1999 -//Author: User Interface group -//Company: Matra Datavision -//Description: -package util; - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import javax.swing.border.*; -import java.util.*; -import java.awt.datatransfer.*; - - -public class TracePanel extends JPanel implements ActionListener - -{ - //-----------------------------------------------------------// - // GUI components - //-----------------------------------------------------------// - JLabel titleLbl = new JLabel(); - JEditorPane traceTxt = new JEditorPane(); - static private Clipboard clip = Toolkit.getDefaultToolkit().getSystemClipboard(); - - TextArea copyArea = new TextArea("",1,1,TextArea.SCROLLBARS_NONE); - -//=======================================================================// -// Construction -//=======================================================================// - public TracePanel() - { - try - { - jbInit(); - } - catch(Exception ex) - { - ex.printStackTrace(); - } - } - - void jbInit() throws Exception - { - setLayout(new BorderLayout()); - - titleLbl.setBorder(BorderFactory.createEmptyBorder(10, 10, 0, 10)); - add(titleLbl, BorderLayout.NORTH); - - JPanel textPanel = new JPanel() { - public Dimension getPreferredSize() { - return new Dimension(300, super.getPreferredSize().height); - } - }; - textPanel.setBorder(BorderFactory.createCompoundBorder( - BorderFactory.createEmptyBorder(10, 10, 10, 10), - BorderFactory.createLoweredBevelBorder())); - textPanel.setLayout(new GridBagLayout()); - - traceTxt.setEditable(false); - traceTxt.setAutoscrolls(false); - JScrollPane scrollPane = new JScrollPane(traceTxt); - - textPanel.add(scrollPane, new GridBagConstraints(0, 0, 1, 1, 1.0, 1.0, - GridBagConstraints.CENTER, GridBagConstraints.BOTH, - new Insets(0, 0, 0, 0), 0, 0)); - add(textPanel, BorderLayout.CENTER); - - JPanel controlPanel = new JPanel(); - controlPanel.setLayout(new GridBagLayout()); - - JButton copySel = new JButton("Copy Selection To Clipboard"); - copySel.addActionListener(this); - copySel.setActionCommand("CopySelection"); - controlPanel.add(copySel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 10, 5, 10), 0, 0)); - - JButton copyAll = new JButton("Copy All To Clipboard"); - copyAll.addActionListener(this); - copyAll.setActionCommand("CopyAll"); - controlPanel.add(copyAll, new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0, - GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, - new Insets(5, 10, 5, 10), 0, 0)); - - copyArea.setVisible(false); - copyArea.setEnabled(false); - controlPanel.add(copyArea); - - add(controlPanel, BorderLayout.SOUTH); - } - - - public Dimension getMinimumSize() - { - return new Dimension(400, super.getMinimumSize().height); - } - - - -//=======================================================================// -// Commands -//=======================================================================// - private void copySelection() - { - String text = traceTxt.getSelectedText(); - if (text == null) - return; - StringSelection clipString = new StringSelection(text); - clip.setContents(clipString, clipString); - - // Add selected text to the copyArea - copyArea.setText(text); - copyArea.selectAll(); - } - - private void copyAll() - { - String text = traceTxt.getText(); - if (text == null) - return; - StringSelection clipString = new StringSelection(text); - clip.setContents(clipString, clipString); - - // Add selected text to the copyArea - copyArea.setText(text); - copyArea.selectAll(); - } - - public void setText(String text) - { - traceTxt.setText(text); - traceTxt.setCaretPosition(0); - validate(); - } - - public void setTitle(String text) - { - titleLbl.setText(text); - validate(); - } - - -//=======================================================================// -// Action listener interface -//=======================================================================// - public void actionPerformed(ActionEvent e) - { - String nameAction = e.getActionCommand(); - if (nameAction.equals("CopySelection")) - copySelection(); - else if (nameAction.equals("CopyAll")) - copyAll(); - } - -} - diff --git a/samples/java/java/util/handleAccess.java b/samples/java/java/util/handleAccess.java deleted file mode 100755 index 3e17c732fa..0000000000 --- a/samples/java/java/util/handleAccess.java +++ /dev/null @@ -1,18 +0,0 @@ - -//Title: Geological editor -//Version: -//Copyright: Copyright (c) 1998 -//Author: User Interface Group (Nizhny Novgorod) -//Company: EQCC -//Description: Prototype of BRGM project - - -package util; - - -public interface handleAccess -{ - public int getWinHandle(java.awt.Component c, java.awt.Graphics g); - public int getWinDepth(java.awt.Component c, java.awt.Graphics g); - public int getVisualId(java.awt.GraphicsConfiguration gc); -} diff --git a/samples/java/java/util/win32/WinHandleAccess.java b/samples/java/java/util/win32/WinHandleAccess.java deleted file mode 100755 index 6448b0ef8c..0000000000 --- a/samples/java/java/util/win32/WinHandleAccess.java +++ /dev/null @@ -1,97 +0,0 @@ - -//Title: Geological editor -//Version: -//Copyright: Copyright (c) 1998 -//Author: User Interface Group (Nizhny Novgorod) -//Company: EQCC -//Description: Prototype of BRGM project - - -package util.win32; - -import sun.awt.DrawingSurface; -import sun.awt.Win32DrawingSurface; -import sun.awt.DrawingSurfaceInfo; -import java.awt.peer.ComponentPeer; -import java.awt.Component; - - -public class WinHandleAccess implements util.handleAccess -{ - - protected DrawingSurfaceInfo dsi; - protected Win32DrawingSurface wds; - protected int window, depth; - - protected void achieveData(java.awt.Component c, java.awt.Graphics g) - { -// System.out.println(">>> achieveData: Start..."); -// System.out.println(">>> achieveData: Component = " + c); -// System.out.println(">>> achieveData: Graphics = " + g); - - dsi=null; - wds=null; - window=0; depth=0; - - ComponentPeer peer = c.getPeer(); -// System.out.println(">>> achieveData: Peer = " + peer); - - DrawingSurface ds = (DrawingSurface) peer; -// System.out.println(">>> achieveData: DrawingSurface = " + ds); - - dsi = ds.getDrawingSurfaceInfo(); -// System.out.println(">>> achieveData: DrawingSurface = " + dsi); - - if(dsi!=null) - { - dsi.lock(); - wds = (Win32DrawingSurface)dsi.getSurface(); - dsi.unlock(); - } -// System.out.println(">>> achieveData: Win32DrawingSurface = " + wds); - - if(wds!=null) - { - dsi.lock(); - - //window = wds.getHDC(); - window = wds.getHWnd(); - depth = wds.getDepth(); - -/* - System.out.println("WinHandleAccess:"); - System.out.println("\t wds = " + wds); - System.out.println("\t wds.Depth = " + wds.getDepth()); - System.out.println("\t wds.HDC = " + wds.getHDC()); - System.out.println("\t wds.HWnd = " + wds.getHWnd()); -*/ - - dsi.unlock(); - } - - if (wds==null) - System.out.println("Win32HandleAccess.getWinHandle failed, because the given Component is NOT a Window-Component\n"); - } - - public int getWinHandle(java.awt.Component c, java.awt.Graphics g) - { - achieveData(c, g); - return window; - } - - public int getWinDepth(java.awt.Component c, java.awt.Graphics g) - { - achieveData(c, g); - return depth; - } - - public int getVisualId(java.awt.GraphicsConfiguration gc) - { - return -1; - } // Not avalaible under Windows - - public WinHandleAccess() - { - } - -} diff --git a/samples/java/java/util/win32/WinHandleAccess.java_wnt_only b/samples/java/java/util/win32/WinHandleAccess.java_wnt_only deleted file mode 100755 index 6448b0ef8c..0000000000 --- a/samples/java/java/util/win32/WinHandleAccess.java_wnt_only +++ /dev/null @@ -1,97 +0,0 @@ - -//Title: Geological editor -//Version: -//Copyright: Copyright (c) 1998 -//Author: User Interface Group (Nizhny Novgorod) -//Company: EQCC -//Description: Prototype of BRGM project - - -package util.win32; - -import sun.awt.DrawingSurface; -import sun.awt.Win32DrawingSurface; -import sun.awt.DrawingSurfaceInfo; -import java.awt.peer.ComponentPeer; -import java.awt.Component; - - -public class WinHandleAccess implements util.handleAccess -{ - - protected DrawingSurfaceInfo dsi; - protected Win32DrawingSurface wds; - protected int window, depth; - - protected void achieveData(java.awt.Component c, java.awt.Graphics g) - { -// System.out.println(">>> achieveData: Start..."); -// System.out.println(">>> achieveData: Component = " + c); -// System.out.println(">>> achieveData: Graphics = " + g); - - dsi=null; - wds=null; - window=0; depth=0; - - ComponentPeer peer = c.getPeer(); -// System.out.println(">>> achieveData: Peer = " + peer); - - DrawingSurface ds = (DrawingSurface) peer; -// System.out.println(">>> achieveData: DrawingSurface = " + ds); - - dsi = ds.getDrawingSurfaceInfo(); -// System.out.println(">>> achieveData: DrawingSurface = " + dsi); - - if(dsi!=null) - { - dsi.lock(); - wds = (Win32DrawingSurface)dsi.getSurface(); - dsi.unlock(); - } -// System.out.println(">>> achieveData: Win32DrawingSurface = " + wds); - - if(wds!=null) - { - dsi.lock(); - - //window = wds.getHDC(); - window = wds.getHWnd(); - depth = wds.getDepth(); - -/* - System.out.println("WinHandleAccess:"); - System.out.println("\t wds = " + wds); - System.out.println("\t wds.Depth = " + wds.getDepth()); - System.out.println("\t wds.HDC = " + wds.getHDC()); - System.out.println("\t wds.HWnd = " + wds.getHWnd()); -*/ - - dsi.unlock(); - } - - if (wds==null) - System.out.println("Win32HandleAccess.getWinHandle failed, because the given Component is NOT a Window-Component\n"); - } - - public int getWinHandle(java.awt.Component c, java.awt.Graphics g) - { - achieveData(c, g); - return window; - } - - public int getWinDepth(java.awt.Component c, java.awt.Graphics g) - { - achieveData(c, g); - return depth; - } - - public int getVisualId(java.awt.GraphicsConfiguration gc) - { - return -1; - } // Not avalaible under Windows - - public WinHandleAccess() - { - } - -} diff --git a/samples/java/java/util/x11/X11HandleAccess.java b/samples/java/java/util/x11/X11HandleAccess.java deleted file mode 100755 index 0c244e32a0..0000000000 --- a/samples/java/java/util/x11/X11HandleAccess.java +++ /dev/null @@ -1,107 +0,0 @@ - -//Title: Geological editor -//Version: -//Copyright: Copyright (c) 1998 -//Author: User Interface Group (Nizhny Novgorod) -//Company: EQCC -//Description: Prototype of BRGM project - - -package util.x11; - -//import sun.awt.DrawingSurface; -//import sun.awt.X11DrawingSurface; -//import sun.awt.X11GraphicsConfig; -//import sun.awt.DrawingSurfaceInfo; -//import java.awt.peer.ComponentPeer; -import java.awt.Component; - -public class X11HandleAccess implements util.handleAccess -{ - -// protected DrawingSurfaceInfo dsi; -// protected X11DrawingSurface wds; - protected int window, depth; - protected int visualID; - - protected void achieveData(java.awt.Component c, java.awt.Graphics g) - { -// System.out.println(">>> achieveData: Start..."); -// System.out.println(">>> achieveData: Component = " + c); -// System.out.println(">>> achieveData: Graphics = " + g); -/* - dsi = null; - wds = null; - window = 0; depth = 0; - visualID = 0; - - ComponentPeer peer = c.getPeer(); -// System.out.println(">>> achieveData: Peer = " + peer); - - DrawingSurface ds = (DrawingSurface) peer; -// System.out.println(">>> achieveData: DrawingSurface = " + ds); - - dsi = ds.getDrawingSurfaceInfo(); -// System.out.println(">>> achieveData: DrawingSurface = " + dsi); - - if(dsi!=null) - { - dsi.lock(); - wds = (X11DrawingSurface)dsi.getSurface(); - dsi.unlock(); - } -// System.out.println(">>> achieveData: X11DrawingSurface = " + wds); - - if(wds!=null) - { - dsi.lock(); - - window = wds.getDrawable(); -// window = wds.getDisplay(); - depth = wds.getDepth(); - visualID = wds.getVisualID(); -*/ -/* - System.out.println("X11HandleAccess:"); - System.out.println("\t wds ="+wds); - System.out.println("\t wds.Depth ="+wds.getDepth()); - System.out.println("\t wds.Drawable ="+wds.getDrawable()); - System.out.println("\t wds.Display ="+wds.getDisplay()); - System.out.println("\t wds.VisualID ="+wds.getVisualID()); -*/ -/* - dsi.unlock(); - }*/ - -// if(wds==null) -// System.out.println("X11HandleAccess.getWinHandle failed, because the given Component is NOT a Window-Component\n"); - } - - public int getWinHandle(java.awt.Component c, java.awt.Graphics g) - { - //achieveData(c, g); - return 0; //window; - } - - public int getWinDepth(java.awt.Component c, java.awt.Graphics g) - { - //achieveData(c, g); - return 1;// depth; - } - - public int getVisualId(java.awt.GraphicsConfiguration gc) - { -// return visualID; - -/* X11GraphicsConfig X11GC = (X11GraphicsConfig) gc; - if (X11GC != null) - return X11GC.getVisual(); - else*/ - return -1; - } - - public X11HandleAccess() - { - } - -} diff --git a/samples/java/readme_unix.txt b/samples/java/readme_unix.txt deleted file mode 100755 index b4b5dd313f..0000000000 --- a/samples/java/readme_unix.txt +++ /dev/null @@ -1,53 +0,0 @@ - -1. Description of the tree structure created: ---------------------------------------------- - - - | - |-- $STATION - | | - | |-- lib .so for each package> - | | - | `-- obj - | - |-- adm - | | - | `- $STATION - | - |-- drv - | | - | |-- ... - | - |-- inc - | - |-- java - | | - | |-- ... - | - `-- src - | - |-- ... - - - -2. Launching the Open CASCADE Technology samples: ---------------------------------- - - -You can use JRE from version 1.3 and higher - -To run the Open CASCADE Technology samples use run.csh file. - - -3. Modifying and rebuilding the executables: --------------------------------------------- - -You can rebuild all the Sample distribution with : REBUILD.COMP - > csh -f REBUILD.COMP - -To modify Java source files go to the java directory and edit .java files. -To recompile changed files use build.csh file. - -To modify C++ source files go to the src directory and find the package -you want to modify. - diff --git a/samples/java/readme_win32.txt b/samples/java/readme_win32.txt deleted file mode 100755 index d73279abe7..0000000000 --- a/samples/java/readme_win32.txt +++ /dev/null @@ -1,54 +0,0 @@ - -1. Description of the tree structure created: ---------------------------------------------- - - - | - |-- win32 - | | - | `-- lib .dll for each package> - | - |-- adm - | | - | `- win32 - | - |-- drv - | | - | |-- ... - | - |-- inc - | - |-- java - | | - | |-- ... - | - `-- src - | - |-- ... - - - -2. Launching the Open CASCADE Technology samples: ---------------------------------- - - -You can use JRE from version 1.6 and higher - -To run the Open CASCADE Technology samples use run.bat file. - - -3. Modifying and rebuilding the executables: --------------------------------------------- - -You can rebuild all the Sample distribution with : - > use the Samples.sln delivered on adm/win32 - - -To modify Java source files go to the java directory and edit .java files. -To recompile changed files use build.bat file. - -To modify C++ source files go to the src directory and find the package -you want to modify. - - - diff --git a/samples/java/run.csh b/samples/java/run.csh deleted file mode 100755 index 7f5526b485..0000000000 --- a/samples/java/run.csh +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/csh -f - -setenv STATION `uname` - -if (${STATION} == "IRIX64") setenv STATION IRIX - -## CASCADE part - -if (! ($?CASROOT)) then - echo -n "Please define CASROOT to the folder containing OpenCascade '"'src'"', '"'drv'"' and '"'inc'"' folders. : " - set res = $< - setenv CASROOT ${res} -endif - -if (! -d ${STATION}/obj) then - setenv JAVAHOME "${CASROOT}/../3rdparty/${STATION}/java" -endif - -if ( !($?JAVAHOME) ) then - echo -n "JAVAHOME not setted . Please define it : " - set res = $< - setenv JAVAHOME ${res} -else - setenv JDK ${JAVAHOME} -endif - -## Common part -if (!($?LD_LIBRARY_PATH)) then - setenv LD_LIBRARY_PATH "" -endif -cd java -setenv LD_LIBRARY_PATH "${cwd}:${cwd}/../${STATION}:${cwd}/../${STATION}/lib:${CASROOT}/${STATION}/lib:${LD_LIBRARY_PATH}" - -## Start up -echo 'LD_LIBRARY_PATH = ' $LD_LIBRARY_PATH -${JAVAHOME}/bin/java -classpath .:${cwd}/../${STATION}/CASCADESamples.jar SamplesStarter - - - diff --git a/samples/java/src/ISession/ISession_Curve.cxx b/samples/java/src/ISession/ISession_Curve.cxx deleted file mode 100755 index c51291b6a8..0000000000 --- a/samples/java/src/ISession/ISession_Curve.cxx +++ /dev/null @@ -1,39 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include - - - -ISession_Curve::ISession_Curve(const Handle(Geom_Curve)& aCurve) - :AIS_InteractiveObject(),myCurve(aCurve) -{ -} - - void ISession_Curve::Compute(const Handle(PrsMgr_PresentationManager3d)& ,const Handle(Prs3d_Presentation)& aPresentation,const Standard_Integer aMode) -{ - GeomAdaptor_Curve anAdaptorCurve(myCurve); - Handle(AIS_Drawer) aDrawer = new AIS_Drawer(); - aDrawer->LineAspect()->SetColor(Quantity_NOC_RED); - - switch (aMode) - { - case 1 : - StdPrs_PoleCurve::Add(aPresentation, anAdaptorCurve,aDrawer); - case 0 : - StdPrs_Curve::Add( aPresentation, anAdaptorCurve ,myDrawer); - break; - } -} - - void ISession_Curve::Compute(const Handle(Prs3d_Projector)& ,const Handle(Prs3d_Presentation)& ) -{ -} - - void ISession_Curve::ComputeSelection(const Handle(SelectMgr_Selection)& ,const Standard_Integer ) -{ -} - diff --git a/samples/java/src/ISession/ISession_Direction.cxx b/samples/java/src/ISession/ISession_Direction.cxx deleted file mode 100755 index b8dc87e539..0000000000 --- a/samples/java/src/ISession/ISession_Direction.cxx +++ /dev/null @@ -1,90 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include - -ISession_Direction::ISession_Direction() -{ -} - -ISession_Direction::ISession_Direction(const gp_Pnt& aPnt,const gp_Dir& aDir,const Standard_Real aLength,const Standard_Real anArrowLength) - :myPnt(aPnt),myDir(aDir),myLength(aLength),myArrowLength(anArrowLength) -{ -} - -ISession_Direction::ISession_Direction(const gp_Pnt& aPnt,const gp_Vec& aVec,const Standard_Real aLength) - :myPnt(aPnt),myDir(aVec),myArrowLength(aLength) -{ - myLength = aVec.Magnitude(); -} - -ISession_Direction::ISession_Direction(const gp_Pnt2d& aPnt2d,const gp_Dir2d& aDir2d,const Standard_Real aLength) - :myPnt(gp_Pnt(aPnt2d.X(),aPnt2d.Y(),0)),myDir(gp_Dir(aDir2d.X(),aDir2d.Y(),0)),myLength(aLength) -{ -} - -ISession_Direction::ISession_Direction(const gp_Pnt2d& aPnt2d,const gp_Vec2d& aVec2d) - :myPnt(gp_Pnt(aPnt2d.X(),aPnt2d.Y(),0)),myDir(gp_Dir(aVec2d.X(),aVec2d.Y(),0)) -{ - myLength = aVec2d.Magnitude(); -} - - void ISession_Direction::SetText(const TCollection_ExtendedString& aText) -{ - myText = aText; -} - - void ISession_Direction::Compute(const Handle(PrsMgr_PresentationManager3d)& ,const Handle(Prs3d_Presentation)& aPresentation,const Standard_Integer ) -{ - Handle(Prs3d_ArrowAspect) anArrowAspect = myDrawer->ArrowAspect(); - anArrowAspect->SetLength(myArrowLength); - myDrawer->SetArrowAspect(anArrowAspect); - - gp_Pnt LastPoint = myPnt; - LastPoint.Translate (myLength*gp_Vec(myDir)); - - if (myText.Length() == 0) - DsgPrs_LengthPresentation::Add(aPresentation,myDrawer,myPnt,LastPoint,DsgPrs_AS_LASTAR); - else - { - gp_Pnt OffsetPoint = myPnt; - OffsetPoint.Translate ((myLength) *gp_Vec(myDir)); - DsgPrs_LengthPresentation::Add(aPresentation,myDrawer,myText,myPnt,LastPoint, -myDir, OffsetPoint, DsgPrs_AS_LASTAR); - } -} - - void ISession_Direction::Compute(const Handle(Prs3d_Projector)& ,const Handle(Prs3d_Presentation)& ) -{ -} - - void ISession_Direction::Compute(const Handle(PrsMgr_PresentationManager2d)& ,const Handle(Graphic2d_GraphicObject)& aGrObj,const Standard_Integer ) -{ - Handle(Graphic2d_SetOfSegments) segment; - segment = new Graphic2d_SetOfSegments(aGrObj); - - segment->Add(myPnt.X(), - myPnt.Y(), - myPnt.X()+myLength*myDir.X(), - myPnt.Y()+myLength*myDir.Y()); - - gp_Dir2d aFirstDir = gp_Dir2d(myDir.X(),myDir.Y()).Rotated (200*PI180); - segment->Add(myPnt.X()+myLength*myDir.X(), - myPnt.Y()+myLength*myDir.Y(), - myPnt.X()+myLength*myDir.X()+ myLength*aFirstDir.X()/5, - myPnt.Y()+myLength*myDir.Y()+ myLength*aFirstDir.Y()/5); - - gp_Dir2d aSecondDir = gp_Dir2d(myDir.X(),myDir.Y()).Rotated (-200*PI180); - segment->Add(myPnt.X()+myLength*myDir.X(), - myPnt.Y()+myLength*myDir.Y(), - myPnt.X()+myLength*myDir.X()+ myLength*aSecondDir.X()/5, - myPnt.Y()+myLength*myDir.Y()+ myLength*aSecondDir.Y()/5); -} - - void ISession_Direction::ComputeSelection(const Handle(SelectMgr_Selection)& ,const Standard_Integer ) -{ -} - diff --git a/samples/java/src/ISession/ISession_Point.cxx b/samples/java/src/ISession/ISession_Point.cxx deleted file mode 100755 index ce64c0d06f..0000000000 --- a/samples/java/src/ISession/ISession_Point.cxx +++ /dev/null @@ -1,45 +0,0 @@ -#include -#include -#include -#include - - -ISession_Point::ISession_Point() -{ -} - -ISession_Point::ISession_Point(const Standard_Real X,const Standard_Real Y,const Standard_Real Z) - :myPoint(gp_Pnt(X,Y,Z)) -{ -} - -ISession_Point::ISession_Point(const gp_Pnt2d& aPoint,const Standard_Real Elevation) - :myPoint(gp_Pnt(aPoint.X(),aPoint.Y(),Elevation)) -{ -} - -ISession_Point::ISession_Point(const gp_Pnt& aPoint) - :myPoint(aPoint) -{ -} - - void ISession_Point::Compute(const Handle(PrsMgr_PresentationManager3d)& ,const Handle(Prs3d_Presentation)& aPresentation,const Standard_Integer ) -{ - Handle(Geom_CartesianPoint) aGeomPoint = new Geom_CartesianPoint(myPoint); - StdPrs_Point::Add(aPresentation,aGeomPoint,myDrawer); -} - - void ISession_Point::Compute(const Handle(Prs3d_Projector)& ,const Handle(Prs3d_Presentation)& ) -{ -} - - void ISession_Point::Compute(const Handle(PrsMgr_PresentationManager2d)& ,const Handle(Graphic2d_GraphicObject)& aGrObj,const Standard_Integer ) -{ - Handle(Graphic2d_CircleMarker) aCircleMarker; - aCircleMarker = new Graphic2d_CircleMarker(aGrObj,myPoint.X(),myPoint.Y(),0,0,1); -} - - void ISession_Point::ComputeSelection(const Handle(SelectMgr_Selection)& ,const Standard_Integer ) -{ -} - diff --git a/samples/java/src/ISession/ISession_Surface.cxx b/samples/java/src/ISession/ISession_Surface.cxx deleted file mode 100755 index c23c166908..0000000000 --- a/samples/java/src/ISession/ISession_Surface.cxx +++ /dev/null @@ -1,49 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -ISession_Surface::ISession_Surface() -{ -} - -ISession_Surface::ISession_Surface(const Handle(Geom_Surface)& aSurface) - :AIS_InteractiveObject(),mySurface(aSurface) -{ -} - - void ISession_Surface::Compute(const Handle(PrsMgr_PresentationManager3d)& ,const Handle(Prs3d_Presentation)& aPresentation,const Standard_Integer aMode) -{ - GeomAdaptor_Surface anAdaptorSurface(mySurface); - Handle(GeomAdaptor_HSurface) anAdaptorHSurface = new GeomAdaptor_HSurface(mySurface); - - Handle(AIS_Drawer) aDrawer = new AIS_Drawer(); - aDrawer->LineAspect()->SetColor(Quantity_NOC_YELLOW3); - - switch (aMode) - { - case 2: - StdPrs_ShadedSurface::Add(aPresentation,anAdaptorSurface,myDrawer); - break; - case 1 : - StdPrs_WFPoleSurface::Add(aPresentation,anAdaptorSurface,aDrawer); - case 0 : - StdPrs_WFSurface::Add(aPresentation,anAdaptorHSurface,myDrawer); - break; - } -} - - void ISession_Surface::Compute(const Handle(Prs3d_Projector)& ,const Handle(Prs3d_Presentation)& ) -{ -} - - void ISession_Surface::ComputeSelection(const Handle(SelectMgr_Selection)& ,const Standard_Integer ) -{ -} - diff --git a/samples/java/src/ISession/ISession_Text.cxx b/samples/java/src/ISession/ISession_Text.cxx deleted file mode 100755 index 33c0881c5d..0000000000 --- a/samples/java/src/ISession/ISession_Text.cxx +++ /dev/null @@ -1,56 +0,0 @@ -#include -#include -#include -#include - - - -ISession_Text::ISession_Text() -{ -} - -ISession_Text::ISession_Text(const TCollection_AsciiString& aText,const Standard_Real anX,const Standard_Real anY,const Standard_Real aZ,const Aspect_TypeOfText aType,const Quantity_PlaneAngle anAngle,const Standard_Real aSlant,const Standard_Integer aColorIndex,const Standard_Integer aFontIndex,const Quantity_Factor aScale) - : AIS_InteractiveObject(),MyText(aText),MyX(anX),MyY(anY),MyZ(aZ), - MyTypeOfText(aType),MyAngle(anAngle),MySlant(aSlant), - MyColorIndex(aColorIndex),MyFontIndex(aFontIndex), - MyScale(aScale),MyWidth(0),MyHeight(0) -{ -} - -ISession_Text::ISession_Text(const TCollection_AsciiString& aText,const gp_Pnt& aPoint,const Aspect_TypeOfText aType,const Quantity_PlaneAngle anAngle,const Standard_Real aSlant,const Standard_Integer aColorIndex,const Standard_Integer aFontIndex,const Quantity_Factor aScale) - :AIS_InteractiveObject(),MyText(aText),MyX(aPoint.X()),MyY(aPoint.Y()),MyZ(aPoint.Z()), - MyTypeOfText(aType),MyAngle(anAngle),MySlant(aSlant), - MyColorIndex(aColorIndex),MyFontIndex(aFontIndex), - MyScale(aScale),MyWidth(0),MyHeight(0) -{ -} - - void ISession_Text::Compute(const Handle(PrsMgr_PresentationManager3d)& ,const Handle(Prs3d_Presentation)& aPresentation,const Standard_Integer ) -{ - Prs3d_Text::Draw(aPresentation,myDrawer,MyText,gp_Pnt(MyX,MyY,MyZ)); -} - - void ISession_Text::Compute(const Handle(Prs3d_Projector)& ,const Handle(Prs3d_Presentation)& ) -{ -} - - void ISession_Text::Compute(const Handle(PrsMgr_PresentationManager2d)& ,const Handle(Graphic2d_GraphicObject)& aGrObj,const Standard_Integer ) -{ - Handle(Graphic2d_Text) text; - text = new Graphic2d_Text(aGrObj, MyText, MyX, MyY, MyAngle, MyTypeOfText, MyScale); - text->SetFontIndex(MyFontIndex); - - text->SetColorIndex(MyColorIndex); - - text->SetSlant(MySlant); - text->SetUnderline(Standard_False); - text->SetZoomable(Standard_True); - aGrObj->Display(); - Quantity_Length anXoffset,anYoffset; - text->TextSize(MyWidth, MyHeight,anXoffset,anYoffset); -} - - void ISession_Text::ComputeSelection(const Handle(SelectMgr_Selection)& ,const Standard_Integer ) -{ -} - diff --git a/samples/java/src/ISession2D/ISession2D_Curve.cxx b/samples/java/src/ISession2D/ISession2D_Curve.cxx deleted file mode 100755 index 280fe5430a..0000000000 --- a/samples/java/src/ISession2D/ISession2D_Curve.cxx +++ /dev/null @@ -1,113 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -ISession2D_Curve::ISession2D_Curve(const Handle(Geom2d_Curve)& aGeom2dCurve,const Aspect_TypeOfLine aTypeOfLine,const Aspect_WidthOfLine aWidthOfLine,const Standard_Integer aColorIndex) - :AIS_InteractiveObject() -{ - myGeom2dCurve = aGeom2dCurve; - myTypeOfLine = aTypeOfLine; - myWidthOfLine = aWidthOfLine; - myColorIndex = aColorIndex; - myDisplayPole = Standard_True; - myDisplayCurbure = Standard_False; - myDiscretisation = 20; - myradiusmax = 10; - myradiusratio = 1; -} - - void ISession2D_Curve::Compute(const Handle(PrsMgr_PresentationManager2d)& ,const Handle(Graphic2d_GraphicObject)& aGrObj,const Standard_Integer ) -{ - Handle(GGraphic2d_SetOfCurves) segment; - segment = new GGraphic2d_SetOfCurves(aGrObj); - - segment->Add(myGeom2dCurve); - - segment->SetColorIndex (myColorIndex); - segment->SetWidthIndex (myWidthOfLine + 1); - segment->SetTypeIndex (myTypeOfLine + 1); - - Geom2dAdaptor_Curve anAdaptor(myGeom2dCurve); - if (myDisplayPole) - { - if (anAdaptor.GetType() == GeomAbs_BezierCurve) - { - Handle(Geom2d_BezierCurve) aBezier = anAdaptor.Bezier(); - Graphic2d_Array1OfVertex anArrayOfVertex(1,aBezier->NbPoles()); - for (int i=1;i<=aBezier->NbPoles();i++) - { - gp_Pnt2d CurrentPoint = aBezier->Pole(i); - Graphic2d_Vertex aVertex(CurrentPoint.X(),CurrentPoint.Y()); - anArrayOfVertex(i) = aVertex; - } - Handle(Graphic2d_Polyline) aPolyline = new Graphic2d_Polyline(aGrObj, anArrayOfVertex); - } - - if (anAdaptor.GetType() == GeomAbs_BSplineCurve) - { - Handle(Geom2d_BSplineCurve) aBSpline = anAdaptor.BSpline(); - Graphic2d_Array1OfVertex anArrayOfVertex(1,aBSpline->NbPoles()); - for (int i=1;i<=aBSpline->NbPoles();i++) - { - gp_Pnt2d CurrentPoint = aBSpline->Pole(i); - Graphic2d_Vertex aVertex(CurrentPoint.X(),CurrentPoint.Y()); - anArrayOfVertex(i) = aVertex; - } - Handle(Graphic2d_Polyline) aPolyline = new Graphic2d_Polyline(aGrObj,anArrayOfVertex); - } - } - - if (myDisplayCurbure && (anAdaptor.GetType() != GeomAbs_Line)) - { - Standard_Integer ii; - Standard_Integer intrv, nbintv = anAdaptor.NbIntervals(GeomAbs_CN); - TColStd_Array1OfReal TI(1,nbintv+1); - anAdaptor.Intervals(TI,GeomAbs_CN); - Standard_Real Resolution = 1.0e-9, Curvature; - Geom2dLProp_CLProps2d LProp(myGeom2dCurve, 2, Resolution); - gp_Pnt2d P1, P2; - - for (intrv=1; intrv<=nbintv; intrv++) - { - Standard_Real t = TI(intrv); - Standard_Real step = (TI(intrv+1) - t) / GetDiscretisation(); - Standard_Real LRad, ratio; - for (ii = 1; ii <= myDiscretisation; ii++) - { - LProp.SetParameter(t); - if (LProp.IsTangentDefined()) - { - Curvature = Abs(LProp.Curvature()); - if (Curvature > Resolution) - { - myGeom2dCurve->D0(t, P1); - LRad = 1./Curvature; - ratio = ((LRad>myradiusmax)?myradiusmax/LRad:1); - ratio *= myradiusratio; - LProp.CentreOfCurvature(P2); - gp_Vec2d V(P1,P2); - gp_Pnt2d P3 = P1.Translated(ratio*V); - Handle(Graphic2d_Segment) aSegment = new Graphic2d_Segment(aGrObj,P1.X(),P1.Y(),P3.X(),P3.Y()); - } - } - t += step; - } - } - } -} - - void ISession2D_Curve::ComputeSelection(const Handle(SelectMgr_Selection)& ,const Standard_Integer ) -{ -} - diff --git a/samples/java/src/ISession2D/ISession2D_InteractiveContext.cxx b/samples/java/src/ISession2D/ISession2D_InteractiveContext.cxx deleted file mode 100755 index 520431468f..0000000000 --- a/samples/java/src/ISession2D/ISession2D_InteractiveContext.cxx +++ /dev/null @@ -1,429 +0,0 @@ -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -ISession2D_InteractiveContext::ISession2D_InteractiveContext() -{ -} - -ISession2D_InteractiveContext::ISession2D_InteractiveContext(const Handle(V2d_Viewer)& aViewer) -{ - Initialize(aViewer); -} - - void ISession2D_InteractiveContext::Initialize(const Handle(V2d_Viewer)& aViewer) -{ - myViewer = aViewer; - myPrsmgr = new PrsMgr_PresentationManager2d(myViewer->View()); - mySelectionManager = new SelectMgr_SelectionManager(); - mySelector = new StdSelect_ViewerSelector2d(); - - mySelector->Set(3); - // set Sensitivity very very important for SensitiveCurve !! - mySelector->SetSensitivity (0.5); // en mm - mySelectionManager->Add(mySelector); - - myHilightColorIndex = 5; // for dynamic highlight - IsAreasDisplayed = Standard_False; - - myPrsmgr->SetHighlightColor(8); // For Static highlight -} - - void ISession2D_InteractiveContext::Display(const Handle(AIS_InteractiveObject)& anObject, - const Standard_Boolean Redraw) -{ - myObjects.Add(anObject); - - Standard_Integer DispMode ,HiMode,SelMode; - GetDefModes(anObject,DispMode ,HiMode,SelMode); - - myPrsmgr->Display(anObject,DispMode); - - mySelectionManager->Load(anObject,mySelector); - mySelectionManager->Activate(anObject,SelMode,mySelector); - - if (Redraw) - myViewer->Update(); -} - - void ISession2D_InteractiveContext::Display(const Handle(AIS_InteractiveObject)& anObject, - const Standard_Integer aDisplayMode, - const Standard_Integer aSelectionMode, - const Standard_Boolean Redraw) -{ - myObjects.Add(anObject); - anObject->SetDisplayMode(aDisplayMode); - - anObject->SetSelectionMode(aSelectionMode); - - myObjects.Add(anObject); - myPrsmgr->Display(anObject,aDisplayMode); - - mySelectionManager->Load(anObject,mySelector); - mySelectionManager->Activate(anObject,aSelectionMode,mySelector); - if (Redraw) myViewer->Update(); -} - - void ISession2D_InteractiveContext::Erase(const Handle(AIS_InteractiveObject)& anObject, - const Standard_Boolean Redraw) -{ - if (myObjects.Contains(anObject)) { - Standard_Integer DispMode ,HiMode,SelMode; - GetDefModes(anObject,DispMode ,HiMode,SelMode); - myPrsmgr->Erase(anObject,DispMode); - mySelectionManager->Deactivate(anObject,mySelector); - if (Redraw) myViewer->Update(); - } -} - - void ISession2D_InteractiveContext::DisplayAll(const Standard_Boolean Redraw) -{ - TColStd_MapIteratorOfMapOfTransient It(myObjects); - for(;It.More();It.Next()){ - Handle(AIS_InteractiveObject) anObject = Handle(AIS_InteractiveObject)::DownCast(It.Key()); - Standard_Integer DispMode ,HiMode,SelMode; - GetDefModes(anObject,DispMode ,HiMode,SelMode); - myPrsmgr->Display(anObject,DispMode); - mySelectionManager->Load(anObject,mySelector); - mySelectionManager->Activate(anObject,HiMode,mySelector); - } - if (Redraw) myViewer->Update(); -} - - void ISession2D_InteractiveContext::EraseAll(const Standard_Boolean Redraw) -{ - TColStd_MapIteratorOfMapOfTransient It(myObjects); - for(;It.More();It.Next()){ - Handle(AIS_InteractiveObject) anObject = Handle(AIS_InteractiveObject)::DownCast(It.Key()); - Standard_Integer DispMode ,HiMode,SelMode; - GetDefModes(anObject,DispMode ,HiMode,SelMode); - myPrsmgr->Erase(anObject,DispMode); - mySelectionManager->Deactivate(anObject,mySelector); - } - if (Redraw) myViewer->Update(); -} - - Standard_Boolean ISession2D_InteractiveContext::IsDisplayed(const Handle(AIS_InteractiveObject)& anObject, - const Standard_Integer aMode) -{ - return myPrsmgr->IsDisplayed(anObject,aMode); -} - - void ISession2D_InteractiveContext::Redisplay(const Handle(AIS_InteractiveObject)& anObject, - const Standard_Boolean Redraw, - const Standard_Boolean ) -{ - if (myObjects.Contains(anObject)) { - Standard_Integer DispMode ,HiMode,SelMode; - GetDefModes(anObject,DispMode ,HiMode,SelMode); - myPrsmgr->Update(anObject,DispMode); - - // WARNING : IMPLEMENTATION IS NOT FINISH !!!!!!!! - // NEED TO UPDATE THE OTHER MODES, AND SELECTION !!!!! - - // mySelectionManager->Load(anObject,mySelector); - // mySelectionManager->Activate(anObject,SelMode,mySelector); - - if (Redraw) myViewer->Update(); - } -} - - void ISession2D_InteractiveContext::Clear(const Handle(AIS_InteractiveObject)& , - const Standard_Boolean ) -{ - Standard_Failure::Raise("NotYetImplemented"); -} - - void ISession2D_InteractiveContext::Remove(const Handle(AIS_InteractiveObject)& anObject, - const Standard_Boolean Redraw) -{ - if (myObjects.Contains(anObject)) { - Erase(anObject,Redraw); - myObjects.Remove(anObject); - } -} - - void ISession2D_InteractiveContext::Highlight(const Handle(AIS_InteractiveObject)& anObject, - const Standard_Boolean Redraw) -{ - if (myObjects.Contains(anObject)) { - Standard_Integer DispMode ,HiMode,SelMode; - GetDefModes(anObject,DispMode ,HiMode,SelMode); - myPrsmgr->Highlight(anObject,HiMode); - if(Redraw) myViewer->Update(); - } -} - - void ISession2D_InteractiveContext::Unhighlight(const Handle(AIS_InteractiveObject)& anObject, - const Standard_Boolean Redraw) -{ - if (myObjects.Contains(anObject)) { - Standard_Integer DispMode ,HiMode,SelMode; - GetDefModes(anObject,DispMode ,HiMode,SelMode); - myPrsmgr->Unhighlight(anObject,HiMode); - if(Redraw) myViewer->Update(); - } -} - - Standard_Boolean ISession2D_InteractiveContext::IsHilighted(const Handle(AIS_InteractiveObject)& anObject) -{ - if (myObjects.Contains(anObject)) { - Standard_Integer DispMode ,HiMode,SelMode; - GetDefModes(anObject,DispMode ,HiMode,SelMode); - return myPrsmgr->IsHighlighted(anObject,HiMode); - } - return Standard_False; -} - - Standard_Boolean ISession2D_InteractiveContext::NewProjector(const Handle(V2d_View)& aView, - Handle(Select2D_Projector)& NewProjector) -{ - // to be changed : here we build a new projector each time. - // or we have to define a new one only if we change : - // the View - // the view zoom factor - // the view panning - // the fonts changes. - NewProjector = new StdSelect_TextProjector2d(aView); - return Standard_True; -} - -// Manage Detected : update The Display - void ISession2D_InteractiveContext::ManageDetected(TColStd_MapOfTransient& aNewMapOfDetectedOwner) -{ - Standard_Boolean NeedRedraw = Standard_False; - //====================================================================== - // Treatement on the old Selection : - // for each owner : - // if the object is decomposed : Unhighlight the Owner, - // else Unhighlight the Object,except if selected - //====================================================================== - - TColStd_MapIteratorOfMapOfTransient anIterator(myMapOfDetectedOwner); - for (;anIterator.More();anIterator.Next()) - { - // for all owner : - Handle(ISession2D_ObjectOwner) TheOwner = - Handle(ISession2D_ObjectOwner)::DownCast(anIterator.Key()); - - Handle(AIS_InteractiveObject) TheObject = - Handle(AIS_InteractiveObject)::DownCast(TheOwner->Selectable()); - - // if the owner is not still detected - if (!aNewMapOfDetectedOwner.Contains(TheOwner)) - { - NeedRedraw = Standard_True; - // if the corresponding object is a Shape and is not Decomposed - Handle(AIS_Shape) anAISShape = Handle(AIS_Shape)::DownCast(TheObject); - Standard_Boolean TreatementOnCompleteObject = Standard_True; - if (!anAISShape.IsNull()) - if (anAISShape->AcceptShapeDecomposition() && anAISShape->HasSelectionMode()) - TreatementOnCompleteObject = Standard_False; - if(TreatementOnCompleteObject) - { - // if the corresponding object is not Selected - if (!myMapOfSelectedOwner.Contains(TheOwner)) - { - Standard_Integer DispMode ,HiMode,SelMode; - GetDefModes(TheObject,DispMode ,HiMode,SelMode); - if ( myPrsmgr->IsHighlighted(TheObject)) - myPrsmgr->Unhighlight(TheObject,HiMode); - } - } - else - { - // UnHighlight the old detected Owner, - TheOwner->Unhilight(myPrsmgr); - } - } - } - - //====================================================================== - // Treatement on the New Selection - //====================================================================== - - anIterator.Initialize(aNewMapOfDetectedOwner); - - for (;anIterator.More();anIterator.Next()) - { - // for all owner : - Handle(ISession2D_ObjectOwner) TheOwner = - Handle(ISession2D_ObjectOwner)::DownCast(anIterator.Key()); - Handle(AIS_InteractiveObject) TheObject = - Handle(AIS_InteractiveObject)::DownCast(TheOwner->Selectable()); - - // if the owner is not alwraidy detected - if (!myMapOfDetectedOwner.Contains(TheOwner)) - { - NeedRedraw = Standard_True; - - // if the corresponding object is a Shape and is not Decomposed - Handle(AIS_Shape) anAISShape = Handle(AIS_Shape)::DownCast(TheObject); - Standard_Boolean TreatementOnCompleteObject = Standard_True; - if (!anAISShape.IsNull()) - if (anAISShape->AcceptShapeDecomposition() && anAISShape->HasSelectionMode()) - TreatementOnCompleteObject = Standard_False; - if(TreatementOnCompleteObject) - { - // if the corresponding object is not Selected - if (!myMapOfSelectedOwner.Contains(TheOwner)) - { - Standard_Integer DispMode ,HiMode,SelMode; - GetDefModes(TheObject,DispMode ,HiMode,SelMode); - if (!myPrsmgr->IsHighlighted(TheObject)) - myPrsmgr->ColorHighlight(TheObject,myHilightColorIndex,HiMode); - } - } - else - { - // The Object Is Decomposed --> Specific Treatement on the owner - TheOwner->Hilight(myPrsmgr); - } - } - } - //====================================================================== - // set the new detected map - //====================================================================== - - // set The new detected Owner - myMapOfDetectedOwner = aNewMapOfDetectedOwner; - - if (NeedRedraw) myViewer->Update(); -} - - void ISession2D_InteractiveContext::Move(const Standard_Integer x1, - const Standard_Integer y1, - const Handle(V2d_View)& aView) -{ - Handle(Select2D_Projector) aProjector; - if (NewProjector(aView,aProjector)) // if we need a new projector - mySelector->Set(aProjector); - - mySelector->Pick(x1,y1,aView); - TColStd_MapOfTransient aNewMapOfDetectedOwner; - mySelector->Init(); - if(mySelector->More()) - { - Handle(SelectMgr_EntityOwner) aOwner = mySelector->OnePicked(); - if (aOwner->IsKind(STANDARD_TYPE(ISession2D_ObjectOwner))) { - Handle(ISession2D_ObjectOwner) aNewDetectedObjectOwner = - Handle(ISession2D_ObjectOwner)::DownCast(aOwner); - aNewMapOfDetectedOwner.Add(aNewDetectedObjectOwner); - } - } - - ManageDetected(aNewMapOfDetectedOwner); -} - - void ISession2D_InteractiveContext::Move(const Standard_Integer x1, - const Standard_Integer y1, - const Standard_Integer x2, - const Standard_Integer y2, - const Handle(V2d_View)& aView) -{ - Handle(Select2D_Projector) aProjector; - if (NewProjector(aView,aProjector)) // if we need a new projector - mySelector->Set(aProjector); - - mySelector->Pick(x1,y1,x2,y2,aView); - TColStd_MapOfTransient aNewMapOfDetectedOwner; - for(mySelector->Init();mySelector->More();mySelector->Next()) - { - Handle(SelectMgr_EntityOwner) aOwner = mySelector->Picked(); - if (aOwner->IsKind(STANDARD_TYPE(ISession2D_ObjectOwner))) { - Handle(ISession2D_ObjectOwner) aNewDetectedObjectOwner = - Handle(ISession2D_ObjectOwner)::DownCast(aOwner); - aNewMapOfDetectedOwner.Add(aNewDetectedObjectOwner); - } - } - ManageDetected(aNewMapOfDetectedOwner); -} - - void ISession2D_InteractiveContext::Pick(const Standard_Boolean MultiSelection) -{ - // We have a Map of all the seletected owners : myMapOfSelectedOwner; - // if we are not in MultiSelection. - // UnHighLight and keep out the map all the last selected objects - - if (!MultiSelection) - { - TColStd_MapIteratorOfMapOfTransient anIterator(myMapOfSelectedOwner); - for (;anIterator.More();anIterator.Next()) - { - Handle(ISession2D_ObjectOwner) TheOwner = - Handle(ISession2D_ObjectOwner)::DownCast(anIterator.Key()); - Handle(AIS_InteractiveObject) TheObject = - Handle(AIS_InteractiveObject)::DownCast(TheOwner->Selectable()); - - // UnHighLight The Last Selected ObjectObject. - Unhighlight(TheObject, // Object - Standard_False); // Redraw - } - myMapOfSelectedOwner.Clear(); - } - - TColStd_MapIteratorOfMapOfTransient anIterator(myMapOfDetectedOwner); - for (;anIterator.More();anIterator.Next()) - { - // for all owner : - Handle(ISession2D_ObjectOwner) TheOwner = - Handle(ISession2D_ObjectOwner)::DownCast(anIterator.Key()); - myMapOfSelectedOwner.Add(TheOwner); - - Handle(AIS_InteractiveObject) TheObject = - Handle(AIS_InteractiveObject)::DownCast(TheOwner->Selectable()); - Highlight(TheObject, // Object - Standard_False); // Redraw - } - myViewer->Update(); -} - - void ISession2D_InteractiveContext::GetDefModes(const Handle(AIS_InteractiveObject)& anObject, - Standard_Integer& DispMode, - Standard_Integer& HiMode, - Standard_Integer& SelMode) const -{ - DispMode = anObject->HasDisplayMode() ? anObject->DisplayMode() : - anObject->DefaultDisplayMode(); - - HiMode = anObject->HasHilightMode() ? anObject->HilightMode() : DispMode; - - SelMode = anObject->HasSelectionMode() ? anObject->SelectionMode() : 0; - -} - - void ISession2D_InteractiveContext::DisplayAreas() -{ - if (IsAreasDisplayed) return; - myViewer->InitActiveViews(); - while(myViewer->MoreActiveViews()) - { - Handle(V2d_View) aView = myViewer->ActiveView(); - mySelector->DisplayAreas(aView); - myViewer->NextActiveViews(); - } - myViewer->Update(); - IsAreasDisplayed= Standard_True; -} - - void ISession2D_InteractiveContext::ClearAreas() -{ - if (!IsAreasDisplayed) return; - mySelector->ClearAreas(); - myViewer->Update(); - IsAreasDisplayed= Standard_False; -} - diff --git a/samples/java/src/ISession2D/ISession2D_ObjectOwner.cxx b/samples/java/src/ISession2D/ISession2D_ObjectOwner.cxx deleted file mode 100755 index cb44273c13..0000000000 --- a/samples/java/src/ISession2D/ISession2D_ObjectOwner.cxx +++ /dev/null @@ -1,43 +0,0 @@ -#include -#include -#include - - -ISession2D_ObjectOwner::ISession2D_ObjectOwner(const Standard_Integer aPriority) -:SelectMgr_EntityOwner(aPriority) -{ -} - -ISession2D_ObjectOwner::ISession2D_ObjectOwner(const Handle(SelectMgr_SelectableObject)& aSO, - const Standard_Integer aPriority) -:SelectMgr_EntityOwner(aSO,aPriority) -{ -} - -// Presentation Management - void ISession2D_ObjectOwner::Hilight(const Handle(PrsMgr_PresentationManager)& aPM, - const Standard_Integer ) -{ - if (aPM->IsKind(STANDARD_TYPE(PrsMgr_PresentationManager2d))) { - if (myGo.IsNull()) - { - Handle(Graphic2d_View) aView = Handle(PrsMgr_PresentationManager2d)::DownCast(aPM)->StructureManager(); - myGo = new Graphic2d_GraphicObject(aView); - } - - Handle(Graphic2d_Text) text; - text = new Graphic2d_Text(myGo, myDumpMessage, 0, 0, 0,Aspect_TOT_SOLID,1.5); - text->SetZoomable(Standard_False); - myGo->Display(); - } -} - - void ISession2D_ObjectOwner::Unhilight(const Handle(PrsMgr_PresentationManager)& , - const Standard_Integer ) -{ - if (myGo.IsNull()) return; - myGo->RemovePrimitives(); - myGo->Display(); - myGo->Remove(); -} - diff --git a/samples/java/src/ISession2D/ISession2D_SensitiveCurve.cxx b/samples/java/src/ISession2D/ISession2D_SensitiveCurve.cxx deleted file mode 100755 index 3dd5af66c1..0000000000 --- a/samples/java/src/ISession2D/ISession2D_SensitiveCurve.cxx +++ /dev/null @@ -1,99 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include - - -ISession2D_SensitiveCurve::ISession2D_SensitiveCurve(const Handle(SelectBasics_EntityOwner)& OwnerId,const Handle(Geom2d_Curve)& C,const Standard_Real CDeflect,const Standard_Integer MaxRect) - :Select2D_SensitiveEntity(OwnerId), - myCDeflect(CDeflect), - myMaxRect(MaxRect), - myCurve(C) -{ - Compute(); -} - - void ISession2D_SensitiveCurve::Compute() -{ - Geom2dAdaptor_Curve Curve (myCurve); - Standard_Real ADeflect = 180; //Angular deflection - - GCPnts_TangentialDeflection PointsOnCurve; - PointsOnCurve.Initialize (Curve, ADeflect, myCDeflect,myMaxRect,1.0e-9); - - - myPolyP2d = new TColgp_HArray1OfPnt2d(1,PointsOnCurve.NbPoints()); - - gp_Pnt P; - for (Standard_Integer i=1; i<=PointsOnCurve.NbPoints();i++) - { - P = PointsOnCurve.Value (i); - myPolyP2d->SetValue(i,gp_Pnt2d(P.X(),P.Y())); - } -} - - void ISession2D_SensitiveCurve::Areas(SelectBasics_ListOfBox2d& aSeq) -{ - // calcul des Areas --> le nombre voulu est myMaxRect - // mais il y a myPolyP2d->Length() segments - Standard_Integer NbSeg = myPolyP2d->Length()-1; - Standard_Integer nbPerBoxes= NbSeg/myMaxRect; - - Standard_Integer CurrentPoint =1; - for (Standard_Integer i=1;i<=myMaxRect-1;i++) - { - Bnd_Box2d abox; - abox.Set(myPolyP2d->Value(CurrentPoint)); - for(Standard_Integer j=1;j<=nbPerBoxes;j++) - { - CurrentPoint++; - abox.Add(myPolyP2d->Value(CurrentPoint)); - } - aSeq.Append(abox); - } - Bnd_Box2d abox; - abox.Set(myPolyP2d->Value(CurrentPoint)); - for(Standard_Integer j=CurrentPoint;j<=myPolyP2d->Length()-1;j++) - { - CurrentPoint++; - abox.Add(myPolyP2d->Value(CurrentPoint)); - } - aSeq.Append(abox); -} - - Standard_Boolean ISession2D_SensitiveCurve::Matches(const Standard_Real XMin,const Standard_Real YMin,const Standard_Real XMax,const Standard_Real YMax,const Standard_Real aTol) -{ - Bnd_Box2d BoundBox; - BoundBox.Update(XMin-aTol,YMin-aTol,XMax+aTol,YMax+aTol); - - for(Standard_Integer j=1;j<=myPolyP2d->Length()-1;j++) - { - if(BoundBox.IsOut(myPolyP2d->Value(j))) return Standard_False; - } - return Standard_True; -} - - Standard_Boolean ISession2D_SensitiveCurve::Matches(const Standard_Real X,const Standard_Real Y,const Standard_Real aTol,Standard_Real& DMin) -{ - // VERY VERY IMPORTANT : set the selector sensibility !!! ( it's aTol !! ) - - Standard_Integer Rank = 0; - Standard_Boolean Result = SelectBasics_BasicTool::MatchPolyg2d(myPolyP2d->Array1(), - X,Y, - aTol, - DMin, - Rank); - - - return Result; -} - - Handle(TColgp_HArray1OfPnt2d) ISession2D_SensitiveCurve::SensitivePolygon() -{ - return myPolyP2d; -} - diff --git a/samples/java/src/ISession2D/ISession2D_Shape.cxx b/samples/java/src/ISession2D/ISession2D_Shape.cxx deleted file mode 100755 index e0f5e7d5f8..0000000000 --- a/samples/java/src/ISession2D/ISession2D_Shape.cxx +++ /dev/null @@ -1,278 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -ISession2D_Shape::ISession2D_Shape() - :AIS_InteractiveObject(PrsMgr_TOP_ProjectorDependant) -{ -} - - void ISession2D_Shape::Add(const TopoDS_Shape& aShape) -{ - myListOfShape.Append(aShape); - myAlgo.Nullify(); - myPolyAlgo.Nullify(); - Update(); // protected method used to specify that the presentation are not up to date -} - - void ISession2D_Shape::SetProjector(HLRAlgo_Projector& aProjector) -{ - myProjector= aProjector; - myAlgo.Nullify(); - myPolyAlgo.Nullify(); - Update(); // protected method used to specify that the presentation are not up to date -} - - void ISession2D_Shape::SetNbIsos(const Standard_Integer aNbIsos) -{ - myNbIsos= aNbIsos; - myAlgo.Nullify(); - - Standard_Integer i; - // declare the mode 100 to 110 as non valid - for (i=100;i<=110;i++) - Update(i,Standard_False); // protected method used to specify that the presentation are not up to date - - // declare the mode 1100 to 1110 as non valid - for (i=1100;i<=1110;i++) - Update(i,Standard_False); // protected method used to specify that the presentation are not up to date -} - - void ISession2D_Shape::BuildAlgo() -{ - myAlgo = new HLRBRep_Algo(); - TopTools_ListIteratorOfListOfShape anIterator(myListOfShape); - for (;anIterator.More();anIterator.Next()) myAlgo->Add(anIterator.Value(),myNbIsos); - myAlgo->Projector(myProjector); - myAlgo->Update(); - myAlgo->Hide(); -} - - void ISession2D_Shape::BuildPolyAlgo() -{ - myPolyAlgo = new HLRBRep_PolyAlgo(); - TopTools_ListIteratorOfListOfShape anIterator(myListOfShape); - for (;anIterator.More();anIterator.Next()) myPolyAlgo->Load(anIterator.Value()); - myPolyAlgo->Projector(myProjector); - myPolyAlgo->Update(); -} - - void ISession2D_Shape::Compute(const Handle(PrsMgr_PresentationManager3d)& , - const Handle(Prs3d_Presentation)& , - const Standard_Integer ) -{ -} - - void ISession2D_Shape::Compute(const Handle(Prs3d_Projector)& , - const Handle(Prs3d_Presentation)& ) -{ -} - - void ISession2D_Shape::Compute(const Handle(PrsMgr_PresentationManager2d)& , - const Handle(Graphic2d_GraphicObject)& aGrObj, - const Standard_Integer aMode) -{ - Standard_Integer TheMode = aMode; - - Standard_Boolean DrawHiddenLine= Standard_True; - if (TheMode >= 1000) - { - DrawHiddenLine = Standard_False; - TheMode -= 1000; - } - - Standard_Boolean UsePolyAlgo= Standard_True; - if (TheMode >= 100) - { - UsePolyAlgo = Standard_False; - TheMode -= 100; - } - - TopoDS_Shape VCompound; - TopoDS_Shape Rg1LineVCompound; - TopoDS_Shape RgNLineVCompound; - TopoDS_Shape OutLineVCompound; - TopoDS_Shape IsoLineVCompound; // only fro Exact algo - TopoDS_Shape HCompound; - TopoDS_Shape Rg1LineHCompound; - TopoDS_Shape RgNLineHCompound; - TopoDS_Shape OutLineHCompound; - TopoDS_Shape IsoLineHCompound; // only fro Exact algo - - if (UsePolyAlgo) - { - if (myPolyAlgo.IsNull()) BuildPolyAlgo(); - HLRBRep_PolyHLRToShape aPolyHLRToShape; - aPolyHLRToShape.Update(myPolyAlgo); - - VCompound = aPolyHLRToShape.VCompound(); - Rg1LineVCompound = aPolyHLRToShape.Rg1LineVCompound(); - RgNLineVCompound = aPolyHLRToShape.RgNLineVCompound(); - OutLineVCompound = aPolyHLRToShape.OutLineVCompound(); - HCompound = aPolyHLRToShape.HCompound(); - Rg1LineHCompound = aPolyHLRToShape.Rg1LineHCompound(); - RgNLineHCompound = aPolyHLRToShape.RgNLineHCompound(); - OutLineHCompound = aPolyHLRToShape.OutLineHCompound(); - } - else - { - if (myAlgo.IsNull()) BuildAlgo(); - HLRBRep_HLRToShape aHLRToShape(myAlgo); - - VCompound = aHLRToShape.VCompound(); - Rg1LineVCompound = aHLRToShape.Rg1LineVCompound(); - RgNLineVCompound = aHLRToShape.RgNLineVCompound(); - OutLineVCompound = aHLRToShape.OutLineVCompound(); - IsoLineVCompound = aHLRToShape.IsoLineVCompound(); - HCompound = aHLRToShape.HCompound(); - Rg1LineHCompound = aHLRToShape.Rg1LineHCompound(); - RgNLineHCompound = aHLRToShape.RgNLineHCompound(); - OutLineHCompound = aHLRToShape.OutLineHCompound(); - IsoLineHCompound = aHLRToShape.IsoLineHCompound(); - } - - if (UsePolyAlgo) - { - Handle(Graphic2d_SetOfSegments) aSetOfVSegmentsHighLighted = new Graphic2d_SetOfSegments(aGrObj); - Handle(Graphic2d_SetOfSegments) aSetOfVSegments = new Graphic2d_SetOfSegments(aGrObj); - - if (TheMode == 1) DrawCompound(VCompound , aSetOfVSegmentsHighLighted); - else DrawCompound(VCompound , aSetOfVSegments); - if (TheMode == 2) DrawCompound(Rg1LineVCompound , aSetOfVSegmentsHighLighted); - else DrawCompound(Rg1LineVCompound , aSetOfVSegments); - if (TheMode == 3) DrawCompound(RgNLineVCompound , aSetOfVSegmentsHighLighted); - else DrawCompound(RgNLineVCompound , aSetOfVSegments); - if (TheMode == 4) DrawCompound(OutLineVCompound , aSetOfVSegmentsHighLighted); - else DrawCompound(OutLineVCompound , aSetOfVSegments); - - aSetOfVSegmentsHighLighted->SetColorIndex (1); - aSetOfVSegmentsHighLighted->SetWidthIndex (1); - aSetOfVSegmentsHighLighted->SetTypeIndex (1); - aSetOfVSegments->SetColorIndex (2); - aSetOfVSegments->SetWidthIndex (2); - - if (DrawHiddenLine) - { - Handle(Graphic2d_SetOfSegments) aSetOfHSegmentsHighLighted = new Graphic2d_SetOfSegments(aGrObj); - Handle(Graphic2d_SetOfSegments) aSetOfHSegments = new Graphic2d_SetOfSegments(aGrObj); - if (TheMode == 6) DrawCompound(HCompound , aSetOfHSegmentsHighLighted); - else DrawCompound(HCompound , aSetOfHSegments); - if (TheMode == 7) DrawCompound(Rg1LineHCompound , aSetOfHSegmentsHighLighted); - else DrawCompound(Rg1LineHCompound , aSetOfHSegments); - if (TheMode == 8) DrawCompound(RgNLineHCompound , aSetOfHSegmentsHighLighted); - else DrawCompound(RgNLineHCompound , aSetOfHSegments); - if (TheMode == 9) DrawCompound(OutLineHCompound , aSetOfHSegmentsHighLighted); - else DrawCompound(OutLineHCompound , aSetOfHSegments); - - aSetOfVSegments->SetTypeIndex (2); - aSetOfHSegmentsHighLighted->SetColorIndex (3); - aSetOfHSegmentsHighLighted->SetWidthIndex (3); - aSetOfHSegmentsHighLighted->SetTypeIndex (3); - aSetOfHSegments->SetColorIndex (4); - aSetOfHSegments->SetWidthIndex (4); - aSetOfHSegments->SetTypeIndex (4); - } - } - else - { - Handle(GGraphic2d_SetOfCurves) aSetOfVCurvesHighLighted = new GGraphic2d_SetOfCurves(aGrObj); - Handle(GGraphic2d_SetOfCurves) aSetOfVCurves = new GGraphic2d_SetOfCurves(aGrObj); - - if (TheMode == 1) DrawCompound(VCompound , aSetOfVCurvesHighLighted); - else DrawCompound(VCompound , aSetOfVCurves); - if (TheMode == 2) DrawCompound(Rg1LineVCompound , aSetOfVCurvesHighLighted); - else DrawCompound(Rg1LineVCompound , aSetOfVCurves); - if (TheMode == 3) DrawCompound(RgNLineVCompound , aSetOfVCurvesHighLighted); - else DrawCompound(RgNLineVCompound , aSetOfVCurves); - if (TheMode == 4) DrawCompound(OutLineVCompound , aSetOfVCurvesHighLighted); - else DrawCompound(OutLineVCompound , aSetOfVCurves); - if (TheMode == 5) DrawCompound(IsoLineVCompound , aSetOfVCurvesHighLighted); - else DrawCompound(IsoLineVCompound , aSetOfVCurves); - aSetOfVCurvesHighLighted->SetColorIndex (1); - aSetOfVCurvesHighLighted->SetWidthIndex (1); - aSetOfVCurvesHighLighted->SetTypeIndex (1); - aSetOfVCurves->SetColorIndex (2); - aSetOfVCurves->SetWidthIndex (2); - aSetOfVCurves->SetTypeIndex (2); - - if (DrawHiddenLine) - { - Handle(GGraphic2d_SetOfCurves) aSetOfHCurvesHighLighted = new GGraphic2d_SetOfCurves(aGrObj); - Handle(GGraphic2d_SetOfCurves) aSetOfHCurves = new GGraphic2d_SetOfCurves(aGrObj); - if (TheMode == 6) DrawCompound(HCompound , aSetOfHCurvesHighLighted); - else DrawCompound(HCompound , aSetOfHCurves); - if (TheMode == 7) DrawCompound(Rg1LineHCompound , aSetOfHCurvesHighLighted); - else DrawCompound(Rg1LineHCompound , aSetOfHCurves); - if (TheMode == 8) DrawCompound(RgNLineHCompound , aSetOfHCurvesHighLighted); - else DrawCompound(RgNLineHCompound , aSetOfHCurves); - if (TheMode == 9) DrawCompound(OutLineHCompound , aSetOfHCurvesHighLighted); - else DrawCompound(OutLineHCompound , aSetOfHCurves); - if (TheMode == 10) DrawCompound(IsoLineHCompound , aSetOfHCurvesHighLighted); - else DrawCompound(IsoLineHCompound , aSetOfHCurves); - - aSetOfHCurvesHighLighted->SetColorIndex (3); - aSetOfHCurvesHighLighted->SetWidthIndex (3); - aSetOfHCurvesHighLighted->SetTypeIndex (3); - aSetOfHCurves->SetColorIndex (4); - aSetOfHCurves->SetWidthIndex (4); - aSetOfHCurves->SetTypeIndex (4); - } - } -} - - void ISession2D_Shape::DrawCompound(const TopoDS_Shape& aCompound, - const Handle(Graphic2d_SetOfSegments)& aSetOfSegments) -{ - if (aCompound.IsNull()) - return; - - TopExp_Explorer ex(aCompound,TopAbs_EDGE); - while (ex.More()) { - const TopoDS_Edge& CurrentEdge = TopoDS::Edge(ex.Current()); - const TopoDS_Vertex& FirstVertex=TopExp::FirstVertex(CurrentEdge); - const TopoDS_Vertex& LastVertex =TopExp::LastVertex(CurrentEdge); - gp_Pnt FirstPoint = BRep_Tool::Pnt(FirstVertex); - gp_Pnt LastPoint = BRep_Tool::Pnt(LastVertex); - aSetOfSegments->Add(FirstPoint.X(),FirstPoint.Y(),LastPoint.X(),LastPoint.Y()); - ex.Next(); - } -} - - void ISession2D_Shape::DrawCompound(const TopoDS_Shape& aCompound, - const Handle(GGraphic2d_SetOfCurves)& aSetOfCurves) -{ - if (aCompound.IsNull()) - return; - - TopExp_Explorer ex(aCompound,TopAbs_EDGE); - Handle(Geom2d_Curve) aCurve; - Handle(Geom_Surface) aSurface; - TopLoc_Location L; - Standard_Real f,l; - while (ex.More()) { - const TopoDS_Edge& CurrentEdge = TopoDS::Edge(ex.Current()); - if (CurrentEdge.Location().IsIdentity()) { - BRep_Tool::CurveOnSurface(CurrentEdge,aCurve,aSurface,L,f,l); - if (L.IsIdentity()) { - Handle(Geom2d_TrimmedCurve) c= new Geom2d_TrimmedCurve(aCurve,f,l); - if (!c.IsNull()) - aSetOfCurves->Add(c); - } - } - ex.Next(); - } -} - - void ISession2D_Shape::ComputeSelection(const Handle(SelectMgr_Selection)& , - const Standard_Integer ) -{ -} - diff --git a/samples/java/src/SampleAISBasicPackage/SampleAISBasicPackage.cxx b/samples/java/src/SampleAISBasicPackage/SampleAISBasicPackage.cxx deleted file mode 100755 index 0c1c8e371a..0000000000 --- a/samples/java/src/SampleAISBasicPackage/SampleAISBasicPackage.cxx +++ /dev/null @@ -1,151 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -#ifdef WNT -#include -#include -#else -#include -#include -#endif - - - - -//=============================================================== -// Function name: CreateViewer -//=============================================================== - Handle(V3d_Viewer) SampleAISBasicPackage::CreateViewer (const Standard_ExtString aName) -{ -#ifdef WNT -static Handle(Graphic3d_WNTGraphicDevice) defaultDevice; - - if (defaultDevice.IsNull()) - defaultDevice = new Graphic3d_WNTGraphicDevice(); - return new V3d_Viewer(defaultDevice, aName); -#else -static Handle(Graphic3d_GraphicDevice) defaultDevice; - - if (defaultDevice.IsNull()) - defaultDevice = new Graphic3d_GraphicDevice(""); - return new V3d_Viewer(defaultDevice, aName); -#endif //WNT -} - -//=============================================================== -// Function name: SetWindow -//=============================================================== -void SampleAISBasicPackage::SetWindow (const Handle(V3d_View)& aView, - const Standard_Integer hiwin, - const Standard_Integer lowin) -{ -#ifdef WNT - Handle(Graphic3d_WNTGraphicDevice) d = - Handle(Graphic3d_WNTGraphicDevice)::DownCast(aView->Viewer()->Device()); - Handle(WNT_Window) w = new WNT_Window(d,hiwin,lowin); -#else - Handle(Graphic3d_GraphicDevice) d = - Handle(Graphic3d_GraphicDevice)::DownCast(aView->Viewer()->Device()); - Handle(Xw_Window) w = new Xw_Window(d,hiwin,lowin,Xw_WQ_3DQUALITY); -#endif - aView->SetWindow(w); -} - - - - void SampleAISBasicPackage::DisplayTrihedron(const Handle(AIS_InteractiveContext)& aContext) -{ - Handle(AIS_Trihedron) aTrihedron; - Handle(Geom_Axis2Placement) anAxis=new Geom_Axis2Placement(gp::XOY()); - aTrihedron=new AIS_Trihedron(anAxis); - aContext->Display(aTrihedron); -} - - void SampleAISBasicPackage::DisplayCircle(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - GC_MakeCircle C(gp_Pnt(-100.,-300.,0.),gp_Pnt(-50.,-200.,0.),gp_Pnt(-10.,-250.,0.)); - Handle(AIS_Circle) anAISCirc = new AIS_Circle(C.Value()); - aContext->Display(anAISCirc); - - Message = "\ - \n\ -GC_MakeCircle C(gp_Pnt(-100.,-300.,0.),gp_Pnt(-50.,-200.,0.),gp_Pnt(-10.,-250.,0.)); \n\ -Handle(AIS_Circle) anAISCirc = new AIS_Circle(C.Value()); \n\ -myAISContext->Display(anAISCirc); \n\ - \n"; -} - - void SampleAISBasicPackage::DisplayLine(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - gp_Lin L(gp_Pnt(0.,0.,0.),gp_Dir(1.,0.,0.)); - Handle(Geom_Line) aLine = new Geom_Line(L); - Handle(AIS_Line) anAISLine = new AIS_Line(aLine); - aContext->Display(anAISLine); - - Message = "\ - \n\ -gp_Lin L(gp_Pnt(0.,0.,0.),gp_Dir(1.,0.,0.)); \n\ -Handle(Geom_Line) aLine = new Geom_Line(L); \n\ -Handle(AIS_Line) anAISLine = new AIS_Line(aLine); \n\ -myAISContext->Display(anAISLine); \n\ - \n"; -} - - void SampleAISBasicPackage::DisplaySphere(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - BRepPrimAPI_MakeSphere S(gp_Pnt(200.,300.,200.), 100.); - Handle(AIS_Shape) anAISShape = new AIS_Shape(S.Shape()); - aContext->SetColor(anAISShape,Quantity_NOC_AZURE); - aContext->SetMaterial(anAISShape,Graphic3d_NOM_PLASTIC); - aContext->SetDisplayMode(anAISShape,1); - aContext->Display(anAISShape); - - Message = "\ - \n\ -BRepPrimAPI_MakeSphere S(gp_Pnt(200.,300.,200.), 100.); \n\ -Handle(AIS_Shape) anAISShape = new AIS_Shape(S.Shape()); \n\ -myAISContext->SetColor(anAISShape,Quantity_NOC_AZURE); \n\ -myAISContext->SetMaterial(anAISShape,Graphic3d_NOM_PLASTIC); \n\ -myAISContext->SetDisplayMode(anAISShape,1); \n\ -myAISContext->Display(anAISShape); \n\ - \n"; -} - - void SampleAISBasicPackage::DisplayCylinder(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - Handle(User_Cylinder) aCyl = new User_Cylinder(100.,200.); - aContext->SetDisplayMode(aCyl,1); - aContext->Display(aCyl); - - Message = "\ - \n\ -Handle(User_Cylinder) aCyl = new User_Cylinder(100.,200.); \n\ -myAISContext->SetDisplayMode(aCyl,1); \n\ -myAISContext->Display(aCyl); \n\ - \n\ -NOTE: a User_Cylinder is an object defined by the user. \n\ -The User_Cylinder class inherits the AIS_InteractiveObject \n\ -CASCADE class, its usage is the same as an AIS_InteractiveObject. \n\ - \n"; -} - diff --git a/samples/java/src/SampleAISDisplayModePackage/SampleAISDisplayModePackage.cxx b/samples/java/src/SampleAISDisplayModePackage/SampleAISDisplayModePackage.cxx deleted file mode 100755 index 5b6357dfb5..0000000000 --- a/samples/java/src/SampleAISDisplayModePackage/SampleAISDisplayModePackage.cxx +++ /dev/null @@ -1,424 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -#ifdef WNT -#include -#include -#else -#include -#include -#endif - - -/*----------------------------------------------------------------------*/ - -Handle(V3d_DirectionalLight) aLight; -Handle(AIS_Shape) aShape; -gp_Pnt p1, p2; - - - -//=============================================================== -// Function name: CreateViewer -//=============================================================== - Handle(V3d_Viewer) SampleAISDisplayModePackage::CreateViewer (const Standard_ExtString aName) -{ -#ifdef WNT -static Handle(Graphic3d_WNTGraphicDevice) defaultDevice; - - if (defaultDevice.IsNull()) - defaultDevice = new Graphic3d_WNTGraphicDevice(); - return new V3d_Viewer(defaultDevice, aName); -#else -static Handle(Graphic3d_GraphicDevice) defaultDevice; - - if (defaultDevice.IsNull()) - defaultDevice = new Graphic3d_GraphicDevice(""); - return new V3d_Viewer(defaultDevice, aName); -#endif //WNT -} - -//=============================================================== -// Function name: SetWindow -//=============================================================== -void SampleAISDisplayModePackage::SetWindow (const Handle(V3d_View)& aView, - const Standard_Integer hiwin, - const Standard_Integer lowin) -{ -#ifdef WNT - Handle(Graphic3d_WNTGraphicDevice) d = - Handle(Graphic3d_WNTGraphicDevice)::DownCast(aView->Viewer()->Device()); - Handle(WNT_Window) w = new WNT_Window(d,hiwin,lowin); -#else - Handle(Graphic3d_GraphicDevice) d = - Handle(Graphic3d_GraphicDevice)::DownCast(aView->Viewer()->Device()); - Handle(Xw_Window) w = new Xw_Window(d,hiwin,lowin,Xw_WQ_3DQUALITY); -#endif - aView->SetWindow(w); -} - - -/*----------------------------------------------------------------------*/ - -gp_Pnt ConvertClickToPoint(Standard_Real x, Standard_Real y, Handle(V3d_View) aView) -{ - V3d_Coordinate XEye,YEye,ZEye,XAt,YAt,ZAt; - aView->Eye(XEye,YEye,ZEye); - aView->At(XAt,YAt,ZAt); - gp_Pnt EyePoint(XEye,YEye,ZEye); - gp_Pnt AtPoint(XAt,YAt,ZAt); - - gp_Vec EyeVector(EyePoint,AtPoint); - gp_Dir EyeDir(EyeVector); - - gp_Pln PlaneOfTheView = gp_Pln(AtPoint,EyeDir); - V3d_Coordinate X,Y,Z; - aView->Convert(Standard_Integer(x),Standard_Integer(y),X,Y,Z); - gp_Pnt ConvertedPoint(X,Y,Z); - gp_Pnt2d ConvertedPointOnPlane = ProjLib::Project(PlaneOfTheView,ConvertedPoint); - - gp_Pnt ResultPoint = ElSLib::Value(ConvertedPointOnPlane.X(), - ConvertedPointOnPlane.Y(), - PlaneOfTheView); - return ResultPoint; -} - - -//====================================================================== -//= = -//= Display objects = -//= = -//====================================================================== - -//=============================================================== -// Function name: DisplayBox -//=============================================================== - void SampleAISDisplayModePackage::DisplayBox(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - BRepPrimAPI_MakeBox B(gp_Pnt(-400.,-400.,-100.),200.,150.,100.); - Handle(AIS_Shape) aBox = new AIS_Shape(B.Shape()); - aContext->Display(aBox); - - Message = "\ - \n\ -BRepPrimAPI_MakeBox B(gp_Pnt(-400.,-400.,-100.),200.,150.,100.); \n\ -Handle(AIS_Shape) aBox = new AIS_Shape(B.Shape()); \n\ -myAISContext->Display(aBox); \n\ - \n"; -} - -//=============================================================== -// Function name: DisplaySphere -//=============================================================== - void SampleAISDisplayModePackage::DisplaySphere(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - BRepPrimAPI_MakeSphere S(gp_Pnt(200.,300.,200.), 100.); - Handle(AIS_Shape) anAISShape = new AIS_Shape(S.Shape()); - aContext->Display(anAISShape); - - Message = "\ - \n\ -BRepPrimAPI_MakeSphere S(gp_Pnt(200.,300.,200.), 100.); \n\ -Handle(AIS_Shape) anAISShape = new AIS_Shape(S.Shape()); \n\ -myAISContext->Display(anAISShape); \n\ - \n"; -} - -//=============================================================== -// Function name: DisplayCylinder -//=============================================================== - void SampleAISDisplayModePackage::DisplayCylinder(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - Handle(User_Cylinder) aCyl = new User_Cylinder(100.,200.); - aContext->SetDisplayMode(aCyl,1); - aContext->Display(aCyl); - - Message = "\ - \n\ -Handle(User_Cylinder) aCyl = new User_Cylinder(100.,200.); \n\ -myAISContext->SetDisplayMode(aCyl,1); \n\ -myAISContext->Display(aCyl); \n\ - \n\ -NOTE: a User_Cylinder is an object defined by the user. \n\ -The User_Cylinder class inherits the AIS_InteractiveObject \n\ -CASCADE class, its usage is the same as an AIS_InteractiveObject. \n\ - \n"; -} - -//=============================================================== -// Function name: EraseAll -//=============================================================== - void SampleAISDisplayModePackage::EraseAll(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - Message = "\ - \n\ -myAISContext->EraseAll(Standard_False); \n\ - \n"; -} - -//====================================================================== -//= = -//= Context properties = -//= = -//====================================================================== - -//=============================================================== -// Function name: InitContext -//=============================================================== - void SampleAISDisplayModePackage::InitContext(const Handle(AIS_InteractiveContext)& aContext) -{ - aContext->DefaultDrawer()->ShadingAspect()->SetColor(Quantity_NOC_CHARTREUSE1); - aContext->DefaultDrawer()->ShadingAspect()->SetMaterial(Graphic3d_NOM_SILVER); -} - -//=============================================================== -// Function name: GetIsosNumber -//=============================================================== - void SampleAISDisplayModePackage::GetIsosNumber(const Handle(AIS_InteractiveContext)& aContext, - Standard_Integer& u,Standard_Integer& v) -{ - u = aContext->DefaultDrawer()->UIsoAspect()->Number(); - v = aContext->DefaultDrawer()->VIsoAspect()->Number(); -} - -//=============================================================== -// Function name: SetIsosNumber -//=============================================================== - void SampleAISDisplayModePackage::SetIsosNumber(const Handle(AIS_InteractiveContext)& aContext, - const Standard_Integer u, - const Standard_Integer v, - TCollection_AsciiString& Message) -{ - aContext->DefaultDrawer()->UIsoAspect()->SetNumber(u); - aContext->DefaultDrawer()->VIsoAspect()->SetNumber(v); - - Message = "\ - \n\ -myAISContext->DefaultDrawer()->UIsoAspect()->SetNumber(u); \n\ -myAISContext->DefaultDrawer()->VIsoAspect()->SetNumber(v); \n\ - \n"; -} - -//=============================================================== -// Function name: SetDisplayMode -//=============================================================== - void SampleAISDisplayModePackage::SetDisplayMode(const Handle(AIS_InteractiveContext)& aContext, - const AIS_DisplayMode aMode, - TCollection_AsciiString& Message) -{ - aContext->SetDisplayMode(aMode); - - Message = "\ - \n\ -myAISContext->SetDisplayMode(aMode); \n\ - \n"; -} - -//====================================================================== -//= = -//= Object properties = -//= = -//====================================================================== - -//=============================================================== -// Function name: SetObjectDisplayMode -//=============================================================== - void SampleAISDisplayModePackage::SetObjectDisplayMode(const Handle(AIS_InteractiveContext)& aContext, - const AIS_DisplayMode aMode, - TCollection_AsciiString& Message) -{ - for (aContext->InitCurrent(); aContext->MoreCurrent(); aContext->NextCurrent()) - aContext->SetDisplayMode(aContext->Current(), aMode); - - Message = "\ - \n\ -for (myAISContext->InitCurrent(); myAISContext->MoreCurrent(); \n\ - myAISContext->NextCurrent()) \n\ - myAISContext->SetDisplayMode(myAISContext->Current(), aMode); \n\ - \n"; -} - -//=============================================================== -// Function name: SetObjectMaterial -//=============================================================== - void SampleAISDisplayModePackage::SetObjectMaterial(const Handle(AIS_InteractiveContext)& aContext, - const Graphic3d_NameOfMaterial aName, - TCollection_AsciiString& Message) -{ - for (aContext->InitCurrent(); aContext->MoreCurrent(); aContext->NextCurrent()) - aContext->SetMaterial(aContext->Current(), aName); - - Message = "\ - \n\ -for (myAISContext->InitCurrent(); myAISContext->MoreCurrent(); \n\ - myAISContext->NextCurrent()) \n\ - myAISContext->SetMaterial(myAISContext->Current(), aName); \n\ - \n"; -} - -//=============================================================== -// Function name: GetObjectColor -//=============================================================== - Quantity_Color SampleAISDisplayModePackage::GetObjectColor(const Handle(AIS_InteractiveContext)& aContext) -{ - Handle(AIS_InteractiveObject) Current; - Quantity_Color aColor; - - aContext->InitCurrent(); - if (aContext->MoreCurrent()) { - Current = aContext->Current(); - if (Current->HasColor()) - aColor = Current->Color(); - } - - return aColor; -} - -//=============================================================== -// Function name: SetObjectColor -//=============================================================== - void SampleAISDisplayModePackage::SetObjectColor(const Handle(AIS_InteractiveContext)& aContext, - const Quantity_Color& aColor, - TCollection_AsciiString& Message) -{ - for (aContext->InitCurrent(); aContext->MoreCurrent(); aContext->NextCurrent()) - aContext->SetColor(aContext->Current(), aColor.Name()); - - Message = "\ - \n\ -for (myAISContext->InitCurrent(); myAISContext->MoreCurrent(); \n\ - myAISContext->NextCurrent()) \n\ - myAISContext->SetColor(myAISContext->Current(), aColor.Name()); \n\ - \n"; -} - -//=============================================================== -// Function name: GetObjectTransparency -//=============================================================== - Standard_Real SampleAISDisplayModePackage::GetObjectTransparency(const Handle(AIS_InteractiveContext)& aContext) -{ - Standard_Real aValue = 0.0; - - aContext->InitCurrent(); - if (aContext->MoreCurrent()) - aValue = aContext->Current()->Transparency(); - - return aValue; -} - -//=============================================================== -// Function name: SetObjectTransparency -//=============================================================== - void SampleAISDisplayModePackage::SetObjectTransparency(const Handle(AIS_InteractiveContext)& aContext, - const Standard_Real aValue, - TCollection_AsciiString& Message) -{ - for (aContext->InitCurrent(); aContext->MoreCurrent(); aContext->NextCurrent()) - aContext->SetTransparency(aContext->Current(), aValue); - - Message = "\ - \n\ -for (myAISContext->InitCurrent(); myAISContext->MoreCurrent(); \n\ - myAISContext->NextCurrent()) \n\ - myAISContext->SetTransparency(myAISContext->Current(), aValue); \n\ - \n"; -} - - - -//====================================================================== -//= = -//= Light = -//= = -//====================================================================== - -//=============================================================== -// Function name: CreateLight -//=============================================================== - void SampleAISDisplayModePackage::CreateLight(const Handle(AIS_InteractiveContext)& aContext) -{ - aContext->OpenLocalContext(); -} - -//=============================================================== -// Function name: SetFirstPointOfLight -//=============================================================== - void SampleAISDisplayModePackage::SetFirstPointOfLight(const Handle(AIS_InteractiveContext)& aContext, - const Handle(V3d_View)& aView, - const Standard_Integer X, - const Standard_Integer Y) -{ - p1 = ConvertClickToPoint(X,Y,aView); - - // Create a directional light - aLight = new V3d_DirectionalLight(aView->Viewer(), p1.X(),p1.Y(),p1.Z(),0.,0.,1.); - - p2 = gp_Pnt(p1.X(),p1.Y(),p1.Z()+1.); - - BRepBuilderAPI_MakeEdge E(p1, p2); - aShape = new AIS_Shape(E.Edge()); - - aShape->SetColor(Quantity_NOC_YELLOW); - aContext->Display(aShape); - - // Activate the light in the view - aView->SetLightOn(aLight); -} - -//=============================================================== -// Function name: MoveSecondPointOfLight -//=============================================================== - void SampleAISDisplayModePackage::MoveSecondPointOfLight(const Handle(AIS_InteractiveContext)& aContext, - const Handle(V3d_View)& aView, - const Standard_Integer X, - const Standard_Integer Y) -{ - p2 = ConvertClickToPoint(X,Y,aView); - - if (p1.Distance(p2)>Precision::Confusion()) { - BRepBuilderAPI_MakeEdge E(p1, p2); - aShape->Set(E.Edge()); - aContext->Redisplay(aShape); - - //Update the light dynamically - aLight->SetDirection(p2.X()-p1.X(),p2.Y()-p1.Y(),p2.Z()-p1.Z()); - aView->UpdateLights(); - } -} - -//=============================================================== -// Function name: SetSecondPointOfLight -//=============================================================== - void SampleAISDisplayModePackage::SetSecondPointOfLight(const Handle(AIS_InteractiveContext)& aContext) -{ - aContext->CloseLocalContext(); -} - diff --git a/samples/java/src/SampleAISSelectPackage/SampleAISSelectPackage.cxx b/samples/java/src/SampleAISSelectPackage/SampleAISSelectPackage.cxx deleted file mode 100755 index c8cd8d4e02..0000000000 --- a/samples/java/src/SampleAISSelectPackage/SampleAISSelectPackage.cxx +++ /dev/null @@ -1,329 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -#ifdef WNT -#include -#include -#else -#include -#include -#endif - - - - -//=============================================================== -// Function name: CreateViewer -//=============================================================== - Handle(V3d_Viewer) SampleAISSelectPackage::CreateViewer (const Standard_ExtString aName) -{ -#ifdef WNT -static Handle(Graphic3d_WNTGraphicDevice) defaultDevice; - - if (defaultDevice.IsNull()) - defaultDevice = new Graphic3d_WNTGraphicDevice(); - return new V3d_Viewer(defaultDevice, aName); -#else -static Handle(Graphic3d_GraphicDevice) defaultDevice; - - if (defaultDevice.IsNull()) - defaultDevice = new Graphic3d_GraphicDevice(""); - return new V3d_Viewer(defaultDevice, aName); -#endif //WNT -} - -//=============================================================== -// Function name: SetWindow -//=============================================================== -void SampleAISSelectPackage::SetWindow (const Handle(V3d_View)& aView, - const Standard_Integer hiwin, - const Standard_Integer lowin) -{ -#ifdef WNT - Handle(Graphic3d_WNTGraphicDevice) d = - Handle(Graphic3d_WNTGraphicDevice)::DownCast(aView->Viewer()->Device()); - Handle(WNT_Window) w = new WNT_Window(d,hiwin,lowin); -#else - Handle(Graphic3d_GraphicDevice) d = - Handle(Graphic3d_GraphicDevice)::DownCast(aView->Viewer()->Device()); - Handle(Xw_Window) w = new Xw_Window(d,hiwin,lowin,Xw_WQ_3DQUALITY); -#endif - aView->SetWindow(w); -} - - - - -//=============================================================== -// Function name: DisplayBox -//=============================================================== - void SampleAISSelectPackage::DisplayBox(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->CloseAllContexts(); - BRepPrimAPI_MakeBox B(gp_Pnt(-400.,-400.,-100.),200.,150.,100.); - Handle(AIS_Shape) aBox = new AIS_Shape(B.Shape()); - aContext->Display(aBox); - - Message = "\ - \n\ -BRepPrimAPI_MakeBox B(gp_Pnt(-400.,-400.,-100.),200.,150.,100.); \n\ -Handle(AIS_Shape) aBox = new AIS_Shape(B.Shape()); \n\ -myAISContext->Display(aBox); \n\ - \n"; -} - -//=============================================================== -// Function name: DisplayCylinder -//=============================================================== - void SampleAISSelectPackage::DisplayCylinder(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->CloseAllContexts(); - Handle(User_Cylinder) aCyl = new User_Cylinder(100.,200.); - aContext->SetDisplayMode(aCyl,1); - aContext->Display(aCyl); - - Message = "\ - \n\ -Handle(User_Cylinder) aCyl = new User_Cylinder(100.,200.); \n\ -myAISContext->SetDisplayMode(aCyl,1); \n\ -myAISContext->Display(aCyl); \n\ - \n\ -NOTE: a User_Cylinder is an object defined by the user. \n\ -The User_Cylinder class inherits the AIS_InteractiveObject \n\ -CASCADE class, its usage is the same as an AIS_InteractiveObject. \n\ - \n"; -} - -//=============================================================== -// Function name: SelectVertices -//=============================================================== - void SampleAISSelectPackage::SelectVertices(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->CloseAllContexts(); - aContext->OpenLocalContext(); - aContext->ActivateStandardMode(TopAbs_VERTEX); - - Message = "\ - \n\ -myAISContext->OpenLocalContext(); \n\ -myAISContext->ActivateStandardMode(TopAbs_VERTEX); \n\ - \n"; -} - -//=============================================================== -// Function name: SelectEdges -//=============================================================== - void SampleAISSelectPackage::SelectEdges(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->CloseAllContexts(); - aContext->OpenLocalContext(); - aContext->ActivateStandardMode(TopAbs_EDGE); - - Message = "\ - \n\ -myAISContext->OpenLocalContext(); \n\ -myAISContext->ActivateStandardMode(TopAbs_EDGE); \n\ - \n"; -} - -//=============================================================== -// Function name: SelectFaces -//=============================================================== - void SampleAISSelectPackage::SelectFaces(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->CloseAllContexts(); - aContext->OpenLocalContext(); - aContext->ActivateStandardMode(TopAbs_FACE); - - Message = "\ - \n\ -myAISContext->OpenLocalContext(); \n\ -myAISContext->ActivateStandardMode(TopAbs_FACE); \n\ - \n"; -} - -//=============================================================== -// Function name: SelectNeutral -//=============================================================== - void SampleAISSelectPackage::SelectNeutral(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->CloseAllContexts(); - - Message = "\ - \n\ -myAISContext->CloseAllContexts(); \n\ - \n"; -} - -//=============================================================== -// Function name: MakeFillet -//=============================================================== - Standard_Integer SampleAISSelectPackage::MakeFillet(const Handle(AIS_InteractiveContext)& aContext, - const Standard_Real aValue, - TCollection_AsciiString& Message) -{ - aContext->InitSelected(); - if(aContext->MoreSelected()) { - Handle(AIS_Shape) S = Handle(AIS_Shape)::DownCast(aContext->SelectedInteractive()); - if(S.IsNull()) { - return 2; - } - BRepFilletAPI_MakeFillet aFillet(S->Shape()); - - for (aContext->InitSelected(); aContext->MoreSelected(); aContext->NextSelected()) - { - TopoDS_Shape aLocalShape = aContext->SelectedShape(); - TopoDS_Edge anEdge; - if(aLocalShape.ShapeType() == TopAbs_EDGE) { - anEdge = TopoDS::Edge(aLocalShape); - } - - if (anEdge.IsNull()) - return 2; - aFillet.Add(aValue, anEdge); - } - - TopoDS_Shape aNewShape; - try { - aNewShape = aFillet.Shape(); - } - catch(Standard_Failure) { - return 1; - } - - S->Set(aNewShape); - aContext->Redisplay(S); - - Message = "\ - \n\ -Handle(AIS_Shape) S = Handle(AIS_Shape)::DownCast(myAISContext->SelectedInteractive()); \n\ -BRepFilletAPI_MakeFillet aFillet(S->Shape()); \n\ - \n\ -for (myAISContext->InitSelected(); myAISContext->MoreSelected(); myAISContext->NextSelected()) \n\ -{ \n\ - TopoDS_Edge anEdge = TopoDS::Edge(myAISContext->SelectedShape()); \n\ - aFillet.Add(aValue, anEdge); \n\ -} \n\ - \n\ -TopoDS_Shape aNewShape; \n\ - \n\ -aNewShape = aFillet.Shape(); \n\ - \n\ -S->Set(aNewShape); \n\ -myAISContext->Redisplay(S); \n\ - \n"; - return 0; - } - return 2; -} - -//=============================================================== -// Function name: IsCylinderSelected -//=============================================================== - Standard_Boolean SampleAISSelectPackage::IsCylinderSelected(const Handle(AIS_InteractiveContext)& aContext) -{ - Standard_Boolean result = Standard_False; - - aContext->InitCurrent(); - if (aContext->MoreCurrent()) { - if (aContext->Current()->IsKind(STANDARD_TYPE(User_Cylinder))) - result = Standard_True; - } - - return result; -} - -//=============================================================== -// Function name: StartSelectFace -//=============================================================== - void SampleAISSelectPackage::StartSelectFace(const Handle(AIS_InteractiveContext)& aContext) -{ - aContext->OpenLocalContext(); - aContext->Activate(aContext->Current(),4); -} - -//=============================================================== -// Function name: GetFaceColor -//=============================================================== - Quantity_Color SampleAISSelectPackage::GetFaceColor(const Handle(AIS_InteractiveContext)& aContext) -{ - Quantity_Color aColor(Quantity_NOC_WHITE); - - aContext->InitSelected(); - if (aContext->MoreSelected()) { - Handle(AIS_InteractiveObject) Current = aContext->SelectedInteractive(); - if (Current->HasColor()) - aColor = aContext->Color(Current); - } - - return aColor; -} - -//=============================================================== -// Function name: SetFaceColor -//=============================================================== - void SampleAISSelectPackage::SetFaceColor(const Handle(AIS_InteractiveContext)& aContext, - const Quantity_Color& aColor, - TCollection_AsciiString& Message) -{ - TopoDS_Shape S = aContext->SelectedShape(); - Handle(Geom_Surface) Surface = BRep_Tool::Surface(TopoDS::Face(S)); - if (Surface->IsKind(STANDARD_TYPE(Geom_Plane))) - Handle(User_Cylinder)::DownCast(aContext->Current())->SetPlanarFaceColor(aColor.Name()); - else - Handle(User_Cylinder)::DownCast(aContext->Current())->SetCylindricalFaceColor(aColor.Name()); - aContext->Redisplay(aContext->Current()); - - Message = "\ - \n\ -TopoDS_Shape S = myAISContext->SelectedShape(); \n\ -Handle(Geom_Surface) Surface = BRep_Tool::Surface(TopoDS::Face(S)); \n\ - \n\ -if (Surface->IsKind(STANDARD_TYPE(Geom_Plane))) \n\ - Handle(User_Cylinder)::DownCast(myAISContext->Current())->SetPlanarFaceColor(aColor.Name()); \n\ -else \n\ - Handle(User_Cylinder)::DownCast(myAISContext->Current())->SetCylindricalFaceColor(aColor.Name()); \n\ - \n\ -myAISContext->Redisplay(myAISContext->Current()); \n\ - \n\ - \n\ -NOTE: a User_Cylinder is an object defined by the user. \n\ -The User_Cylinder class inherits the AIS_InteractiveObject \n\ -CASCADE class, its usage is the same as an AIS_InteractiveObject. \n\ -Methods SetPlanarFaceColor and SetCylindricalFaceColor are also \n\ -defined in the User_Cylinder class. \n\ - \n"; -} - - -//=============================================================== -// Function name: EndSelectFace -//=============================================================== - void SampleAISSelectPackage::EndSelectFace(const Handle(AIS_InteractiveContext)& aContext) -{ - aContext->CloseLocalContext(); -} diff --git a/samples/java/src/SampleDisplayAnimationPackage/SampleDisplayAnimationPackage.cxx b/samples/java/src/SampleDisplayAnimationPackage/SampleDisplayAnimationPackage.cxx deleted file mode 100755 index 9cb1f67fe8..0000000000 --- a/samples/java/src/SampleDisplayAnimationPackage/SampleDisplayAnimationPackage.cxx +++ /dev/null @@ -1,251 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -#include -#include - -#ifdef WNT -#include -#include -#else -#include -#include -#endif - - -/*----------------------------------------------------------------------*/ - - -Handle(AIS_Shape) myAISCrankArm; -Handle(AIS_Shape) myAISCylinderHead; -Handle(AIS_Shape) myAISPropeller; -Handle(AIS_Shape) myAISPiston; -Handle(AIS_Shape) myAISEngineBlock; - -Standard_Real myDeviation; -Standard_Integer myAngle; -Standard_Integer thread; - - - -//=============================================================== -// Function name: CreateViewer -//=============================================================== - Handle(V3d_Viewer) SampleDisplayAnimationPackage::CreateViewer(const Standard_ExtString aName) -{ -#ifdef WNT -static Handle(Graphic3d_WNTGraphicDevice) defaultDevice; - - if (defaultDevice.IsNull()) - defaultDevice = new Graphic3d_WNTGraphicDevice(); - return new V3d_Viewer(defaultDevice, aName); -#else -static Handle(Graphic3d_GraphicDevice) defaultDevice; - - if (defaultDevice.IsNull()) - defaultDevice = new Graphic3d_GraphicDevice(""); - return new V3d_Viewer(defaultDevice, aName); -#endif //WNT -} - -//=============================================================== -// Function name: SetWindow -//=============================================================== - void SampleDisplayAnimationPackage::SetWindow(const Handle(V3d_View)& aView, - const Standard_Integer hiwin, - const Standard_Integer lowin) -{ -#ifdef WNT - Handle(Graphic3d_WNTGraphicDevice) d = - Handle(Graphic3d_WNTGraphicDevice)::DownCast(aView->Viewer()->Device()); - Handle(WNT_Window) w = new WNT_Window(d,hiwin,lowin); -#else - Handle(Graphic3d_GraphicDevice) d = - Handle(Graphic3d_GraphicDevice)::DownCast(aView->Viewer()->Device()); - Handle(Xw_Window) w = new Xw_Window(d,hiwin,lowin,Xw_WQ_3DQUALITY); -#endif - aView->SetWindow(w); -} - - -//=============================================================== -// Function name: LoadData -//=============================================================== - Standard_Boolean SampleDisplayAnimationPackage::LoadData(const Handle(AIS_InteractiveContext)& aContext, - const Standard_CString aPath) -{ - myDeviation = 0.0008; - thread = 4; - myAngle = 0; - - - BRep_Builder B; - TopoDS_Shape CrankArm; - TopoDS_Shape CylinderHead; - TopoDS_Shape Propeller; - TopoDS_Shape Piston; - TopoDS_Shape EngineBlock; - TCollection_AsciiString aName; - - aName = aPath; aName += "CrankArm.rle"; - BRepTools::Read(CrankArm, aName.ToCString(), B); - aName = aPath; aName += "CylinderHead.rle"; - BRepTools::Read(CylinderHead, aName.ToCString(), B); - aName = aPath; aName += "Propeller.rle"; - BRepTools::Read(Propeller, aName.ToCString(), B); - aName = aPath; aName += "Piston.rle"; - BRepTools::Read(Piston, aName.ToCString(), B); - aName = aPath; aName += "EngineBlock.rle"; - BRepTools::Read(EngineBlock, aName.ToCString(), B); - - if (CrankArm.IsNull() || CylinderHead.IsNull() || Propeller.IsNull() || - Piston.IsNull() || EngineBlock.IsNull()) - return Standard_False; - - - aContext->SetDeviationCoefficient(myDeviation); - - myAISCylinderHead = new AIS_Shape(CylinderHead); - aContext->SetColor(myAISCylinderHead, Quantity_NOC_WHITE); - aContext->SetMaterial(myAISCylinderHead, Graphic3d_NOM_PLASTIC); - - myAISEngineBlock = new AIS_Shape(EngineBlock); - aContext->SetColor(myAISEngineBlock, Quantity_NOC_WHITE); - aContext->SetMaterial(myAISEngineBlock, Graphic3d_NOM_PLASTIC); - - aContext->Display(myAISCylinderHead, 1, -1, Standard_False, Standard_False); - aContext->Display(myAISEngineBlock, 1, -1, Standard_False, Standard_False); - - myAISCrankArm = new AIS_Shape(CrankArm); - aContext->SetColor(myAISCrankArm, Quantity_NOC_HOTPINK); - aContext->SetMaterial(myAISCrankArm, Graphic3d_NOM_PLASTIC); - - myAISPiston = new AIS_Shape(Piston); - aContext->SetColor(myAISPiston, Quantity_NOC_WHITE); - aContext->SetMaterial(myAISPiston, Graphic3d_NOM_PLASTIC); - - myAISPropeller = new AIS_Shape(Propeller); - aContext->SetColor(myAISPropeller, Quantity_NOC_RED); - aContext->SetMaterial(myAISPropeller, Graphic3d_NOM_PLASTIC); - - aContext->Display(myAISCrankArm, 1, -1, Standard_False, Standard_False); - aContext->Display(myAISPropeller, 1, -1, Standard_False, Standard_False); - aContext->Display(myAISPiston, 1, -1, Standard_True, Standard_False); - - return Standard_True; -} - -//=============================================================== -// Function name: ChangePosition -//=============================================================== - void SampleDisplayAnimationPackage::ChangePosition(const Handle(AIS_InteractiveContext)& aContext) -{ - Standard_Real angleA; - Standard_Real angleB; - Standard_Real X; - gp_Ax1 ax1(gp_Pnt(0,0,0), gp_Vec(0,0,1)); - - myAngle++; - - angleA = thread*myAngle*PI/180; - X = Sin(angleA)*3/8; - angleB = atan(X/Sqrt(-X*X+1)); - Standard_Real decal(25*0.6); - - - // Build a transformation on the display - gp_Trsf aPropellerTrsf; - aPropellerTrsf.SetRotation(ax1, angleA); - aContext->SetLocation(myAISPropeller, aPropellerTrsf); - - gp_Ax3 base(gp_Pnt(3*decal*(1-Cos(angleA)), -3*decal*Sin(angleA),0), - gp_Vec(0,0,1), gp_Vec(1,0,0)); - gp_Trsf aCrankArmTrsf; - aCrankArmTrsf.SetTransformation(base.Rotated(gp_Ax1(gp_Pnt(3*decal,0,0), gp_Dir(0,0,1)), angleB)); - aContext->SetLocation(myAISCrankArm, aCrankArmTrsf); - - gp_Trsf aPistonTrsf; - aPistonTrsf.SetTranslation(gp_Vec(-3*decal*(1-Cos(angleA))-8*decal*(1-Cos(angleB)),0,0)); - aContext->SetLocation(myAISPiston, aPistonTrsf); - - aContext->UpdateCurrentViewer(); -} - -//=============================================================== -// Function name: GetDeviationCoefficient -//=============================================================== - Standard_Real SampleDisplayAnimationPackage::GetDeviationCoefficient() -{ - return myDeviation; -} - -//=============================================================== -// Function name: SetDeviationCoefficient -//=============================================================== - void SampleDisplayAnimationPackage::SetDeviationCoefficient(const Handle(AIS_InteractiveContext)& aContext, - const Standard_Real aValue) -{ - myDeviation = aValue; - - aContext->SetDeviationCoefficient(myDeviation); - TopoDS_Shape Propeller = myAISPropeller->Shape(); - BRepTools::Clean(Propeller); - - myAISPropeller->Set(Propeller); - aContext->Deactivate(myAISPropeller); - aContext->Redisplay(myAISPropeller); -} - -//=============================================================== -// Function name: GetAngleIncrement -//=============================================================== - Standard_Integer SampleDisplayAnimationPackage::GetAngleIncrement() -{ - return thread; -} - -//=============================================================== -// Function name: SetAngleIncrement -//=============================================================== - void SampleDisplayAnimationPackage::SetAngleIncrement(const Standard_Integer aValue) -{ - thread = aValue; -} - -//=============================================================== -// Function name: SaveImage -//=============================================================== -#ifndef WNT - Standard_Boolean SampleDisplayAnimationPackage::SaveImage(const Standard_CString , - const Standard_CString , - const Handle(V3d_View)& ) -{ -#else - Standard_Boolean SampleDisplayAnimationPackage::SaveImage(const Standard_CString aFileName, - const Standard_CString aFormat, - const Handle(V3d_View)& aView) -{ - Handle(Aspect_Window) anAspectWindow = aView->Window(); - Handle(WNT_Window) aWNTWindow = Handle(WNT_Window)::DownCast(anAspectWindow); - - if (aFormat == "bmp") aWNTWindow->SetOutputFormat(WNT_TOI_BMP); - if (aFormat == "gif") aWNTWindow->SetOutputFormat(WNT_TOI_GIF); - if (aFormat == "xwd") aWNTWindow->SetOutputFormat(WNT_TOI_XWD); - - aWNTWindow->Dump(aFileName); -#endif - return Standard_True; -} - diff --git a/samples/java/src/SampleGeometryPackage/SampleGeometryPackage.cxx b/samples/java/src/SampleGeometryPackage/SampleGeometryPackage.cxx deleted file mode 100755 index 4d1c7db166..0000000000 --- a/samples/java/src/SampleGeometryPackage/SampleGeometryPackage.cxx +++ /dev/null @@ -1,3997 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -#ifdef WNT -#include -#include -#include -#include -#else -#include -#include -#include -#include -#endif - - - - -//=============================================================== -// Function name: CreateViewer3d -//=============================================================== - Handle(V3d_Viewer) SampleGeometryPackage::CreateViewer3d(const Standard_ExtString aName) -{ -#ifdef WNT -static Handle(Graphic3d_WNTGraphicDevice) defaultDevice; - - if (defaultDevice.IsNull()) - defaultDevice = new Graphic3d_WNTGraphicDevice(); - return new V3d_Viewer(defaultDevice, aName); -#else -static Handle(Graphic3d_GraphicDevice) defaultDevice; - - if (defaultDevice.IsNull()) - defaultDevice = new Graphic3d_GraphicDevice(""); - return new V3d_Viewer(defaultDevice, aName); -#endif //WNT -} - -//=============================================================== -// Function name: SetWindow3d -//=============================================================== -void SampleGeometryPackage::SetWindow3d (const Handle(V3d_View)& aView, - const Standard_Integer hiwin, - const Standard_Integer lowin) -{ -#ifdef WNT - Handle(Graphic3d_WNTGraphicDevice) d = - Handle(Graphic3d_WNTGraphicDevice)::DownCast(aView->Viewer()->Device()); - Handle(WNT_Window) w = new WNT_Window(d,hiwin,lowin); -#else - Handle(Graphic3d_GraphicDevice) d = - Handle(Graphic3d_GraphicDevice)::DownCast(aView->Viewer()->Device()); - Handle(Xw_Window) w = new Xw_Window(d,hiwin,lowin,Xw_WQ_3DQUALITY); -#endif - aView->SetWindow(w); -} - - -//=============================================================== -// Function name: CreateViewer2d -//=============================================================== -Handle(V2d_Viewer) SampleGeometryPackage::CreateViewer2d (const Standard_ExtString aName) -{ -#ifdef WNT -static Handle(WNT_GraphicDevice) default2dDevice; - - if(default2dDevice.IsNull()) - default2dDevice = new WNT_GraphicDevice(); -#else - static Handle(Xw_GraphicDevice) default2dDevice; - - if(default2dDevice.IsNull()) { - default2dDevice = new Xw_GraphicDevice("",Xw_TOM_READONLY); - } -#endif - return new V2d_Viewer(default2dDevice,aName,""); -} - - -//=============================================================== -// Function name: CreateView2d -//=============================================================== -Handle(V2d_View) SampleGeometryPackage::CreateView2d (const Handle(V2d_Viewer)& aViewer, - const Standard_Integer hiwin, - const Standard_Integer lowin) -{ -#ifdef WNT - Handle(WNT_GraphicDevice) GD = Handle(WNT_GraphicDevice)::DownCast(aViewer->Device()); - Handle(WNT_Window) W = new WNT_Window(GD,hiwin,lowin,Quantity_NOC_MATRAGRAY); - Handle(WNT_WDriver) D = new WNT_WDriver(W); -#else - Handle(Xw_GraphicDevice) GD = Handle(Xw_GraphicDevice)::DownCast(aViewer->Device()); - Handle(Xw_Window) W = new Xw_Window(GD,hiwin,lowin,Xw_WQ_DRAWINGQUALITY,Quantity_NOC_MATRAGRAY); - Handle(Xw_Driver) D = new Xw_Driver(W); -#endif - - Handle(V2d_View) V = new V2d_View(D,aViewer); - V->Update(); - return V; -} - - - -//=============================================================== - -void AddSeparator(TCollection_AsciiString& aMessage) -{ - aMessage+= "------------------------------------------------------------------------\n"; -} - -void DisplayPoint(const Handle(ISession2D_InteractiveContext)& aContext2D, - const gp_Pnt2d& aPoint, const TCollection_AsciiString& aText, - Standard_Boolean UpdateViewer = Standard_True, - Standard_Real anXoffset = 0, Standard_Real anYoffset = 0, - Standard_Real TextScale = 0.05) -{ - Handle(ISession_Point) aGraphicPoint = new ISession_Point(aPoint); - aContext2D->Display(aGraphicPoint,Standard_False); - Handle(ISession_Text) aGraphicText = new ISession_Text(aText,aPoint.X()+anXoffset,aPoint.Y()+anYoffset); - aGraphicText->SetScale (TextScale); - aContext2D->Display(aGraphicText,UpdateViewer); -} - -void DisplayPoint(const Handle(AIS_InteractiveContext)& aContext, - const gp_Pnt& aPoint, const TCollection_AsciiString& aText, - Standard_Boolean UpdateViewer = Standard_True, - Standard_Real anXoffset = 0, Standard_Real anYoffset = 0, Standard_Real aZoffset = 0, - Standard_Real TextScale = 0.05) -{ - Handle(ISession_Point) aGraphicPoint = new ISession_Point(aPoint); - aContext->Display(aGraphicPoint,Standard_False); - Handle(ISession_Text) aGraphicText = new ISession_Text(aText,aPoint.X()+anXoffset,aPoint.Y()+anYoffset,aPoint.Z()+aZoffset); - aGraphicText->SetScale (TextScale); - aContext->Display(aGraphicText,UpdateViewer); -} - -void DisplayCurve(const Handle(ISession2D_InteractiveContext)& aContext2D, - const Handle(Geom2d_Curve)& aCurve, Standard_Integer aColorIndex = 4, - Standard_Boolean UpdateViewer = Standard_False) -{ - Handle(ISession2D_Curve) aGraphicCurve = new ISession2D_Curve(aCurve); - aGraphicCurve->SetColorIndex(aColorIndex) ; - aContext2D->Display(aGraphicCurve,UpdateViewer); -} - -void DisplayCurveAndCurvature(const Handle(ISession2D_InteractiveContext)& aContext2D, - const Handle(Geom2d_Curve)& aCurve, Standard_Integer aColorIndex = 4, - Standard_Boolean UpdateViewer = Standard_False) -{ - Handle(ISession2D_Curve) aGraphicCurve = new ISession2D_Curve(aCurve); - aGraphicCurve->SetDisplayCurbure(Standard_True) ; - aGraphicCurve->SetDiscretisation(20); - aGraphicCurve->SetColorIndex(aColorIndex) ; - aContext2D->Display(aGraphicCurve,UpdateViewer); -} - -void DisplayCurve(const Handle(AIS_InteractiveContext)& aContext, - const Handle(Geom_Curve)& aCurve, Quantity_NameOfColor aNameOfColor, - Standard_Boolean UpdateViewer = Standard_False) -{ - Handle(ISession_Curve) aGraphicCurve = new ISession_Curve(aCurve); - aContext->SetColor(aGraphicCurve,aNameOfColor); - aGraphicCurve->Attributes()->LineAspect()->SetColor(aNameOfColor); - aContext->Display(aGraphicCurve,UpdateViewer); -} - -void DisplayCurve(const Handle(AIS_InteractiveContext)& aContext, - const Handle(Geom_Curve)& aCurve, Standard_Boolean UpdateViewer = Standard_False) -{ - Handle(ISession_Curve) aGraphicCurve = new ISession_Curve(aCurve); - aContext->Display(aGraphicCurve,UpdateViewer); -} - - -void DisplaySurface(const Handle(AIS_InteractiveContext)& aContext, - const Handle(Geom_Surface)& aSurface, Quantity_NameOfColor aNameOfColor, - Standard_Boolean UpdateViewer = Standard_False) -{ - Handle(ISession_Surface) aGraphicalSurface = new ISession_Surface(aSurface); - aContext->SetColor(aGraphicalSurface,aNameOfColor); - aGraphicalSurface->Attributes()->FreeBoundaryAspect()->SetColor(aNameOfColor); - aGraphicalSurface->Attributes()->UIsoAspect()->SetColor(aNameOfColor); - aGraphicalSurface->Attributes()->VIsoAspect()->SetColor(aNameOfColor); - aContext->Display(aGraphicalSurface,UpdateViewer); -} - -void DisplaySurface(const Handle(AIS_InteractiveContext)& aContext, - const Handle(Geom_Surface)& aSurface, Standard_Boolean UpdateViewer = Standard_False) -{ - Handle(ISession_Surface) aGraphicalSurface = new ISession_Surface(aSurface); - aContext->Display(aGraphicalSurface,UpdateViewer); -} - - -//=============================================================== -// Function name: gpTest1 -//=============================================================== - void SampleGeometryPackage::gpTest1(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); -//============================================================== - -gp_XYZ A(1,2,3); -gp_XYZ B(2,2,2); -gp_XYZ C(3,2,3); -Standard_Real result = A.DotCross(B,C); - -//============================================================== - Message = "\ - \n\ -gp_XYZ A(1,2,3); \n\ -gp_XYZ B(2,2,2); \n\ -gp_XYZ C(3,2,3); \n\ -Standard_Real result = A.DotCross(B,C); \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - DisplayPoint(aContext,gp_Pnt(A),"A (1,2,3)",Standard_False,0.1); - DisplayPoint(aContext,gp_Pnt(B),"B (2,2,2)",Standard_False,0.1); - DisplayPoint(aContext,gp_Pnt(C),"C (3,2,3)",Standard_True,0.1); - - Message+= " result = "; - Message+= TCollection_AsciiString(result); - Message+= " \n"; -} - -//=============================================================== -// Function name: gpTest2 -//=============================================================== - void SampleGeometryPackage::gpTest2(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); -//============================================================== - -gp_Pnt P1(1,2,3); - -//============================================================== - Message = "\ - \n\ -gp_Pnt P1(1,2,3); \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - DisplayPoint(aContext,P1,"P1 (1,2,3)",Standard_True,0.5); -} - -//=============================================================== -// Function name: gpTest3 -//=============================================================== - void SampleGeometryPackage::gpTest3(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); -//============================================================== - -gp_XYZ A(1,2,3); -gp_Pnt P2(A); - -//============================================================== - Message = "\ - \n\ -gp_XYZ A(1,2,3); \n\ -gp_Pnt P2(A); \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - DisplayPoint(aContext,P2,"P2 (1,2,3)",Standard_True,0.5); -} - -//=============================================================== -// Function name: gpTest4 -//=============================================================== - void SampleGeometryPackage::gpTest4(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); -//============================================================== - -gp_Pnt P3 = gp::Origin(); -Standard_Real TheX = P3.X(); -Standard_Real TheY = P3.Y(); -Standard_Real TheZ = P3.Z(); - - -//============================================================== - Message = "\ - \n\ -gp_Pnt P3 = gp::Origin(); \n\ -Standard_Real TheX = P3.X(); \n\ -Standard_Real TheY = P3.Y(); \n\ -Standard_Real TheZ = P3.Z(); \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - DisplayPoint(aContext,P3,"P3 = gp::Origin()",Standard_True,0.5); - Message += " TheX = "; Message += TCollection_AsciiString(TheX); - Message += " TheY = "; Message += TCollection_AsciiString(TheY); - Message += " TheZ = "; Message += TCollection_AsciiString(TheZ); -} - -//=============================================================== -// Function name: gpTest5 -//=============================================================== - void SampleGeometryPackage::gpTest5(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); -//============================================================== - -gp_Pnt P1(1,2,3); -gp_Pnt P2(3,4,5); -gp_Pnt PB = P1; -Standard_Real alpha = 3; -Standard_Real beta = 7; -PB.BaryCenter(alpha,P2,beta); - -//============================================================== - Message = "\ - \n\ -gp_Pnt P1(1,2,3); \n\ -gp_Pnt P2(3,4,5); \n\ -gp_Pnt PB = P1; \n\ -Standard_Real alpha = 3; \n\ -Standard_Real beta = 7; \n\ -PB.BaryCenter(alpha,P2,beta); \n\ - \n"; - - AddSeparator(Message); - //-------------------------------------------------------------- - - DisplayPoint(aContext,P1,"P1",Standard_False,0.2); - DisplayPoint(aContext,P2,"P2",Standard_False,0.2); - DisplayPoint(aContext,PB,"PB = barycenter ( 3 * P1 , 7 * P2) ",Standard_True,0.2); - - Message += " PB ( "; - Message += TCollection_AsciiString(PB.X()); Message += " , "; - Message += TCollection_AsciiString(PB.Y()); Message += " , "; - Message += TCollection_AsciiString(PB.Z()); Message += " ); "; -} - -//=============================================================== -// Function name: gpTest6 -//=============================================================== - void SampleGeometryPackage::gpTest6(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); -//============================================================== - -// Compute a 3d point P as BaryCenter of an array of point -gp_Pnt P1(0,0,5); -gp_Pnt P2(1,2,3); -gp_Pnt P3(2,3,-2); -gp_Pnt P4(4,3,5); -gp_Pnt P5(5,5,4); -TColgp_Array1OfPnt array (1,5); // sizing array -array.SetValue(1,P1); -array.SetValue(2,P2); -array.SetValue(3,P3); -array.SetValue(4,P4); -array.SetValue(5,P5); - -Standard_Real Tolerance = 8; // ajout de la tolerance -GProp_PEquation PE (array,Tolerance); - -gp_Pnt P; // P declaration -Standard_Boolean IsPoint; -if (PE.IsPoint()){IsPoint = Standard_True; - P = PE .Point();} - else { IsPoint = Standard_False; } -if (PE.IsLinear()){ /*... */ } -if (PE.IsPlanar()){ /*... */ } -if (PE.IsSpace()) { /*... */ } - -//============================================================== - Message = "\ - \n\ - \n\ -// Compute a 3d point P as BaryCenter of an array of point \n\ -gp_Pnt P1(0,0,5); \n\ -gp_Pnt P2(1,2,3); \n\ -gp_Pnt P3(2,3,-2); \n\ -gp_Pnt P4(4,3,5); \n\ -gp_Pnt P5(5,5,4); \n\ -TColgp_Array1OfPnt array (1,5); // sizing array \n\ -array.SetValue(1,P1); \n\ -array.SetValue(2,P2); \n\ -array.SetValue(3,P3); \n\ -array.SetValue(4,P4); \n\ -array.SetValue(5,P5); \n\ - \n\ -Standard_Real Tolerance = 8; // ajout de la tolerance \n\ -GProp_PEquation PE (array,Tolerance); \n\ - \n\ -gp_Pnt P; // P declaration \n\ -Standard_Boolean IsPoint; \n\ -if (PE.IsPoint()){IsPoint = true; \n\ - P = PE .Point();} \n\ - else { IsPoint = false; } \n\ -if (PE.IsLinear()){ /*... */ } \n\ -if (PE.IsPlanar()){ /*... */ } \n\ -if (PE.IsSpace()) { /*... */ } \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - - TCollection_AsciiString PointName("P"); - for(Standard_Integer i= array.Lower();i <= array.Upper(); i++) - { - TCollection_AsciiString TheString (PointName + TCollection_AsciiString(i)); - DisplayPoint(aContext,array(i),TheString,Standard_False,0.5); - } - - DisplayPoint(aContext,P,"P",Standard_True,0.5); - - - Message += " IsPoint = "; if (IsPoint) { - Message += "True --> "; - Message += " P ( "; - Message += TCollection_AsciiString(P.X()); Message += " , "; - Message += TCollection_AsciiString(P.Y()); Message += " , "; - Message += TCollection_AsciiString(P.Z()); Message += " ); \n"; - } else Message += "False\n"; - Message += " IsLinear = "; if (PE.IsLinear()) Message += "True \n"; else Message += "False\n"; - Message += " IsPlanar = "; if (PE.IsPlanar()) Message += "True \n"; else Message += "False\n"; - Message += " IsSpace = "; if (PE.IsSpace() ) Message += "True \n"; else Message += "False\n"; -} - -//=============================================================== -// Function name: gpTest7 -//=============================================================== - void SampleGeometryPackage::gpTest7(const Handle(ISession2D_InteractiveContext)& aContext2D, - TCollection_AsciiString& Message) -{ - aContext2D->EraseAll(); -//============================================================== - -gp_Pnt2d P1(0,5); -gp_Pnt2d P2(5.5,1); -gp_Pnt2d P3(-2,2); - -Handle(Geom2d_TrimmedCurve) C = - GCE2d_MakeArcOfCircle (P1,P2,P3).Value(); - -Standard_Real FirstParameter = C->FirstParameter(); -Standard_Real LastParameter = C->LastParameter(); -Standard_Real MiddleParameter = (FirstParameter+LastParameter)/2; -Standard_Real param = MiddleParameter; //in radians - -gp_Pnt2d P; -gp_Vec2d V; -C->D1(param,P,V); -// we recover point P and the vector V - -//============================================================== - Message = "\ - \n\ - \n\ -gp_Pnt2d P1(0,5); \n\ -gp_Pnt2d P2(5.5,1); \n\ -gp_Pnt2d P3(-2,2); \n\ - \n\ -Handle(Geom2d_TrimmedCurve) C = \n\ - GCE2d_MakeArcOfCircle (P1,P2,P3).Value(); \n\ - \n\ -Standard_Real FirstParameter = C->FirstParameter(); \n\ -Standard_Real LastParameter = C->LastParameter(); \n\ -Standard_Real MiddleParameter = \n\ - (FirstParameter+LastParameter)/2; \n\ -Standard_Real param = MiddleParameter; //in radians \n\ - \n\ -gp_Pnt2d P; \n\ -gp_Vec2d V; \n\ -C->D1(param,P,V); \n\ -// we recover point P and the vector V \n\ - \n"; - - AddSeparator(Message); - //-------------------------------------------------------------- - - DisplayCurve(aContext2D,C); - Handle(ISession_Direction) aDirection = new ISession_Direction(P,V); - aContext2D->Display(aDirection); - - DisplayPoint(aContext2D,P,"P",Standard_True,0.5); -} - -//=============================================================== -// Function name: gpTest8 -//=============================================================== - void SampleGeometryPackage::gpTest8(const Handle(ISession2D_InteractiveContext)& aContext2D, - TCollection_AsciiString& Message) -{ - aContext2D->EraseAll(); -//============================================================== - -Standard_Real radius = 5; -Handle(Geom2d_Circle) C = - new Geom2d_Circle(gp::OX2d(),radius); -Standard_Real param = 1.2*PI; -Geom2dLProp_CLProps2d CLP - (C,param,2,Precision::PConfusion()); - gp_Dir2d D; -CLP.Tangent(D); -// D is the Tangent direction at parameter 1.2*PI - -//============================================================== - Message = " \ - \n\ -Standard_Real radius = 5; \n\ -Handle(Geom2d_Circle) C = \n\ - new Geom2d_Circle(gp::OX2d(),radius); \n\ -Standard_Real param = 1.2*PI; \n\ -Geom2dLProp_CLProps2d CLP \n\ - (C,param,2,Precision::PConfusion()); \n\ - gp_Dir2d D; \n\ -CLP.Tangent(D); \n\ -// D is the Tangent direction at parameter 1.2*PI \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - Handle(ISession2D_Curve) aCurve = new ISession2D_Curve(C); - aContext2D->Display(aCurve,Standard_False); - Handle(ISession_Direction) aDirection = new ISession_Direction(gp_Pnt2d(0,0),D,2); - aContext2D->Display(aDirection); - - Message += " D ( "; - Message += TCollection_AsciiString(D.X()); Message += " , "; - Message += TCollection_AsciiString(D.Y()); Message += " ); \n"; -} - -//=============================================================== -// Function name: gpTest9 -//=============================================================== - void SampleGeometryPackage::gpTest9(const Handle(ISession2D_InteractiveContext)& aContext2D, - TCollection_AsciiString& Message) -{ - aContext2D->EraseAll(); -//============================================================== - -Standard_Real radius = 5; -Handle(Geom2d_Circle) C = - new Geom2d_Circle(gp::OX2d(),radius); -Geom2dAdaptor_Curve GAC (C); -Standard_Real startparam = 10*PI180; -Standard_Real abscissa = 45*PI180; -gp_Pnt2d P1; -C->D0(startparam,P1); -// abscissa is the distance along the curve from startparam -GCPnts_AbscissaPoint AP (GAC, abscissa, startparam); -gp_Pnt2d P2; -if (AP.IsDone()){C->D0(AP.Parameter(),P2);} -// P is now correctly set - -//============================================================== - Message = " \n\ - \n\ - \n\ -Standard_Real radius = 5; \n\ -Handle(Geom2d_Circle) C = \n\ - new Geom2d_Circle(gp::OX2d(),radius); \n\ -Geom2dAdaptor_Curve GAC (C); \n\ -Standard_Real startparam = 10*PI180; \n\ -Standard_Real abscissa = 45*PI180; \n\ -gp_Pnt2d P1; \n\ -C->D0(startparam,P1); \n\ -// abscissa is the distance along the curve from startparam \n\ -GCPnts_AbscissaPoint AP (GAC, abscissa, startparam); \n\ -gp_Pnt2d P2; \n\ -if (AP.IsDone()){C->D0(AP.Parameter(),P2);} \n\ -// P is now correctly set \n\ - \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - Handle(ISession2D_Curve) aCurve = new ISession2D_Curve(C); - aContext2D->Display(aCurve,Standard_False); - - DisplayPoint(aContext2D,P1,"P1"); - if (AP.IsDone()) DisplayPoint(aContext2D,P2,"P2"); - - Message += " P1 ( "; - Message += TCollection_AsciiString(P1.X()); Message += " , "; - Message += TCollection_AsciiString(P1.Y()); Message += " ); \n"; - - Message += " P2 ( "; - Message += TCollection_AsciiString(P2.X()); Message += " , "; - Message += TCollection_AsciiString(P2.Y()); Message += " ); \n"; -} - -//=============================================================== -// Function name: gpTest10 -//=============================================================== - void SampleGeometryPackage::gpTest10(const Handle(ISession2D_InteractiveContext)& aContext2D, - TCollection_AsciiString& Message) -{ - aContext2D->EraseAll(); -//============================================================== - -gp_Pnt2d P; -Standard_Real radius = 5; -Handle(Geom2d_Circle) C = - new Geom2d_Circle(gp::OX2d(),radius); -Geom2dAdaptor_Curve GAC (C); -Standard_Real abscissa = 3; -GCPnts_UniformAbscissa UA (GAC,abscissa); -TColgp_SequenceOfPnt2d aSequence; -if (UA.IsDone()) - { - Standard_Real N = UA.NbPoints(); - Standard_Integer count = 1; - for(;count<=N;count++) - { - C->D0(UA.Parameter(count),P); - UA.Parameter(count); - // append P in a Sequence - aSequence.Append(P); - } -} -Standard_Real Abscissa = UA.Abscissa(); - -//============================================================== - Message = " \ - \n\ -gp_Pnt2d P; \n\ -Standard_Real radius = 5; \n\ -Handle(Geom2d_Circle) C = \n\ - new Geom2d_Circle(gp::OX2d(),radius); \n\ -Geom2dAdaptor_Curve GAC (C); \n\ -Standard_Real abscissa = 3; \n\ -GCPnts_UniformAbscissa UA (GAC,abscissa); \n\ -TColgp_SequenceOfPnt2d aSequence; \n\ -if (UA.IsDone()) \n\ - { \n\ - Standard_Real N = UA.NbPoints(); \n\ - Standard_Integer count = 1; \n\ - for(;count<=N;count++) \n\ - { \n\ - C->D0(UA.Parameter(count),P); \n\ - Standard_Real Parameter = UA.Parameter(count); \n\ - // append P in a Sequence \n\ - aSequence.Append(P); \n\ - } \n\ -} \n\ -Standard_Real Abscissa = UA.Abscissa(); \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - Handle(ISession2D_Curve) aCurve = new ISession2D_Curve(C); - aContext2D->Display(aCurve,Standard_False); - - TCollection_AsciiString aString; - for (Standard_Integer i=1;i<= aSequence.Length();i++) - { - aString = "P";aString += TCollection_AsciiString(i); - aString +=": Parameter : "; aString +=TCollection_AsciiString(UA.Parameter(i)); - // First and Last texts are displayed with an Y offset, point 4 is upper - Standard_Real YOffset = -0.3; - YOffset += 0.2 * ( i == 1 ) ; - YOffset += 0.4 * ( i == 4 ) ; - YOffset += -0.2 * ( i == aSequence.Length() ); - - DisplayPoint(aContext2D,aSequence(i),aString,Standard_False,0.5,YOffset,0.04); - } - Message += "Abscissa = "; Message += TCollection_AsciiString(Abscissa); Message += " \n"; -} - -//=============================================================== -// Function name: gpTest11 -//=============================================================== - void SampleGeometryPackage::gpTest11(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); -//============================================================== - -Standard_Real radius = 5; -Handle(Geom_SphericalSurface) SP = - new Geom_SphericalSurface(gp_Ax3(gp::XOY()),radius); -Standard_Real u = 2; -Standard_Real v = 3; -gp_Pnt P = SP->Value(u,v); - -//============================================================== - Message = " \ - \n\ -Standard_Real radius = 5; \n\ -Handle(Geom_SphericalSurface) SP = \n\ - new Geom_SphericalSurface(gp_Ax3(gp::XOY()),radius); \n\ -Standard_Real u = 2; \n\ -Standard_Real v = 3; \n\ -gp_Pnt P = SP->Value(u,v); \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - - DisplaySurface(aContext,SP); - DisplayPoint(aContext,P,"P",Standard_True,0.5); - - Message += " P ( "; - Message += TCollection_AsciiString(P.X()); Message += " , "; - Message += TCollection_AsciiString(P.Y()); Message += " ); \n"; -} - -//=============================================================== -// Function name: gpTest12 -//=============================================================== - void SampleGeometryPackage::gpTest12(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); -//============================================================== - -gp_Pnt N,Q,P(1,2,3); -Standard_Real distance, radius = 5; -Handle(Geom_Circle) C = new Geom_Circle(gp::XOY(),radius); -GeomAPI_ProjectPointOnCurve PPC (P,C); -N = PPC.NearestPoint(); -Standard_Integer NbResults = PPC.NbPoints(); - -if(NbResults>0){ - for(Standard_Integer i = 1;i<=NbResults;i++){ - Q = PPC.Point(i); - distance = PPC.Distance(i); - // do something with Q or distance here - } - } - -//============================================================== - Message = " \ - \n\ -gp_Pnt N,Q,P(1,2,3); \n\ -Standard_Real distance, radius = 5; \n\ -Handle(Geom_Circle) C = new Geom_Circle(gp::XOY(),radius); \n\ -GeomAPI_ProjectPointOnCurve PPC (P,C); \n\ -N = PPC.NearestPoint(); \n\ -Standard_Integer NbResults = PPC.NbPoints(); \n\ - \n\ -if(NbResults>0){ \n\ - for(Standard_Integer i = 1;i<=NbResults;i++){ \n\ - Q = PPC.Point(i); \n\ - distance = PPC.Distance(i); \n\ - // do something with Q or distance here \n\ - } \n\ - } \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - - TCollection_AsciiString aString; - - DisplayPoint(aContext,P,"P",Standard_True,0.5); - - aString = "N : at Distance : "; aString += TCollection_AsciiString(PPC.LowerDistance()); - DisplayPoint(aContext,N,aString,Standard_False,0.5,0,-0.5); - - DisplayCurve(aContext,C,Standard_False); - - if(NbResults>0){ - for(Standard_Integer i = 1;i<=NbResults;i++){ - Q = PPC.Point(i); - distance = PPC.Distance(i); - - aString = "Q";aString += TCollection_AsciiString(i); - aString +=": at Distance : "; aString += TCollection_AsciiString(distance); - DisplayPoint(aContext,Q,aString,Standard_False,0.5); - } - } -} - -//=============================================================== -// Function name: gpTest13 -//=============================================================== - void SampleGeometryPackage::gpTest13(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); -//============================================================== - -gp_Pnt N,Q,P(7,8,9); -Standard_Real distance, radius = 5; -Handle(Geom_SphericalSurface) SP = - new Geom_SphericalSurface(gp_Ax3(gp::XOY()),radius); -GeomAPI_ProjectPointOnSurf PPS(P,SP); -N = PPS.NearestPoint(); -Standard_Integer NbResults = PPS.NbPoints(); -if(NbResults>0){ - for(Standard_Integer i = 1;i<=NbResults;i++){ - Q = PPS.Point(i); - distance = PPS.Distance(i); - // do something with Q or distance here - } -} - -//============================================================== - Message = " \ - \n\ -gp_Pnt N,Q,P(7,8,9); \n\ -Standard_Real distance, radius = 5; \n\ -Handle(Geom_SphericalSurface) SP = \n\ - new Geom_SphericalSurface(gp_Ax3(gp::XOY()),radius); \n\ -GeomAPI_ProjectPointOnSurf PPS(P,SP); \n\ -N = PPS.NearestPoint(); \n\ -Standard_Integer NbResults = PPS.NbPoints(); \n\ -if(NbResults>0){ \n\ - for(Standard_Integer i = 1;i<=NbResults;i++){ \n\ - Q = PPS.Point(i); \n\ - distance = PPS.Distance(i); \n\ - // do something with Q or distance here \n\ - } \n\ -} \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - TCollection_AsciiString aString; - - DisplayPoint(aContext,P,"P",Standard_False,0.5); - - aString = "N : at Distance : "; aString += TCollection_AsciiString(PPS.LowerDistance()); - DisplayPoint(aContext,N,aString,Standard_False,0.5,0,-0.6); - - - - Handle(ISession_Surface) aSurface = new ISession_Surface(SP); - Handle (AIS_Drawer) CurDrawer = aSurface->Attributes(); - CurDrawer->UIsoAspect()->SetNumber(10); - CurDrawer->VIsoAspect()->SetNumber(10); - aContext->SetLocalAttributes(aSurface, CurDrawer); - aContext->Display(aSurface); - - if(NbResults>0){ - for(Standard_Integer i = 1;i<=NbResults;i++){ - Q = PPS.Point(i); - distance = PPS.Distance(i); - - aString = "Q";aString += TCollection_AsciiString(i); - aString +=": at Distance : "; aString += TCollection_AsciiString(distance); - DisplayPoint(aContext,Q,aString,Standard_False,0.5); - } - } -} - -//=============================================================== -// Function name: gpTest14 -//=============================================================== - void SampleGeometryPackage::gpTest14(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); -//============================================================== - -gp_Pnt P; -gp_Ax2 aXOY = gp::XOY(); -gp_Ax3 aAx3(aXOY); -gp_Pln PL(aAx3); -//gp_Pln PL (gp_Ax3(gp::XOY())); -Standard_Real MinorRadius = 5; -Standard_Real MajorRadius = 8; -gp_Elips EL (gp::YOZ(),MajorRadius,MinorRadius); -IntAna_IntConicQuad ICQ - (EL,PL,Precision::Angular(),Precision::Confusion()); -if (ICQ.IsDone()){ - Standard_Integer NbResults = ICQ.NbPoints(); - if (NbResults>0){ - for(Standard_Integer i = 1;i<=NbResults;i++){ - P = ICQ.Point(i); - // do something with P here - } - } -} - -//============================================================== - Message = " \ - \n\ -gp_Pnt P; \n\ -gp_Pln PL (gp_Ax3(gp::XOY())); \n\ -Standard_Real MinorRadius = 5; \n\ -Standard_Real MajorRadius = 8; \n\ -gp_Elips EL (gp::YOZ(),MajorRadius,MinorRadius); \n\ -IntAna_IntConicQuad ICQ \n\ - (EL,PL,Precision::Angular(),Precision::Confusion()); \n\ -if (ICQ.IsDone()){ \n\ - Standard_Integer NbResults = ICQ.NbPoints(); \n\ - if (NbResults>0){ \n\ - for(Standard_Integer i = 1;i<=NbResults;i++){ \n\ - P = ICQ.Point(i); \n\ - // do something with P here \n\ - } \n\ - } \n\ -} \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - - Handle(Geom_Plane) aPlane = GC_MakePlane(PL).Value(); - Handle(Geom_RectangularTrimmedSurface) aSurface= new Geom_RectangularTrimmedSurface(aPlane,-8.,8.,-12.,12.); - - DisplaySurface(aContext,aSurface); - - - Handle(Geom_Ellipse) anEllips = GC_MakeEllipse(EL).Value(); - DisplayCurve(aContext,anEllips,Standard_False); - - TCollection_AsciiString aString; - - if (ICQ.IsDone()){ - Standard_Integer NbResults = ICQ.NbPoints(); - if (NbResults>0){ - for(Standard_Integer i = 1;i<=NbResults;i++){ - P = ICQ.Point(i); - aString = "P";aString += TCollection_AsciiString(i); - DisplayPoint(aContext,P,aString,Standard_False,0.5); - } - } - } -} - -//=============================================================== -// Function name: gpTest15 -//=============================================================== - void SampleGeometryPackage::gpTest15(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); -//============================================================== - -gp_Pnt P1(1,2,3); -gp_Pnt P1Copy = P1; -gp_Pnt P2(5,4,6); -gp_Trsf TRSF; -TRSF.SetMirror(P2); -P1Copy.Transform(TRSF); - -//============================================================== - Message = " \ - \n\ -gp_Pnt P1(1,2,3); \n\ -gp_Pnt P1Copy = P1; \n\ -gp_Pnt P2(5,4,6); \n\ -gp_Trsf TRSF; \n\ -TRSF.SetMirror(P2); \n\ -P1Copy.Transform(TRSF); \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - - DisplayPoint(aContext,P1Copy,"P1Copy",Standard_False,0.5); - DisplayPoint(aContext,P1,"P1",Standard_False,0.5); - DisplayPoint(aContext,P2,"P2",Standard_False,0.5); -} - -//=============================================================== -// Function name: gpTest16 -//=============================================================== - void SampleGeometryPackage::gpTest16(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); -//============================================================== - -gp_Pnt P1(1,2,3); -gp_Pnt P2(5,4,6); -gp_Vec V1 (P1,P2); - -gp_Pnt P3(10,4,7); -gp_Pnt P4(2,0,1); -gp_Vec V2 (P3,P4); - -Standard_Boolean result = -V1.IsOpposite(V2,Precision::Angular()); -// result should be true - -//============================================================== - Message = " \ - \n\ -gp_Pnt P1(1,2,3); \n\ -gp_Pnt P2(5,4,6); \n\ -gp_Vec V1 (P1,P2); \n\ - \n\ -gp_Pnt P3(10,4,7); \n\ -gp_Pnt P4(2,0,1); \n\ -gp_Vec V2 (P3,P4); \n\ - \n\ -Standard_Boolean result = \n\ -V1.IsOpposite(V2,Precision::Angular()); \n\ -// result should be true \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - - DisplayPoint(aContext,P1,"P1",Standard_False,0.5); - DisplayPoint(aContext,P2,"P2",Standard_False,0.5); - DisplayPoint(aContext,P3,"P3",Standard_False,0.5); - DisplayPoint(aContext,P4,"P4",Standard_False,0.5); - - Handle(ISession_Direction) aDirection1 = new ISession_Direction(P1,V1); - aContext->Display(aDirection1); - - Handle(ISession_Direction) aDirection2 = new ISession_Direction(P3,V2); - aContext->Display(aDirection2); - - Message += "result = "; - if (result) Message += "True \n"; else Message += "False \n"; -} - -//=============================================================== -// Function name: gpTest17 -//=============================================================== - void SampleGeometryPackage::gpTest17(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); -//============================================================== - -gp_Dir D1(1,2,3); -gp_Dir D2(3,4,5); -Standard_Real ang = D1.Angle(D2); -// the result is in radians in the range [0,PI] - -//============================================================== - Message = " \ - \n\ -gp_Dir D1(1,2,3); \n\ -gp_Dir D2(3,4,5); \n\ -Standard_Real ang = D1.Angle(D2); \n\ -// the result is in radians in the range [0,PI] \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - - Handle(ISession_Direction) aDirection1 = new ISession_Direction(gp_Pnt(0,0,0),D1,3); - aContext->Display(aDirection1); - - Handle(ISession_Direction) aDirection2 = new ISession_Direction(gp_Pnt(0,0,0),D2,3); - aContext->Display(aDirection2); - - cout<<" D1.Angle(D2) : "<EraseAll(); -//============================================================== - -gp_Pnt2d P(2,3); -gp_Dir2d D(4,5); -gp_Ax22d A(P,D); -gp_Parab2d Para(A,6); -// P is the vertex point -// P and D give the axis of symmetry -// 6 is the focal length of the parabola - -//============================================================== - Message = " \ - \n\ -gp_Pnt2d P(2,3); \n\ -gp_Dir2d D(4,5); \n\ -gp_Ax22d A(P,D); \n\ -gp_Parab2d Para(A,6); \n\ -// P is the vertex point \n\ -// P and D give the axis of symmetry \n\ -// 6 is the focal length of the parabola \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - - DisplayPoint(aContext2D,P,"P",Standard_False,0.5,0,3); - - Handle(ISession_Direction) aDirection = new ISession_Direction(P,D,200); - aContext2D->Display(aDirection,Standard_False); - Handle(Geom2d_Parabola) aParabola = GCE2d_MakeParabola(Para); - Handle(Geom2d_TrimmedCurve) aTrimmedCurve = new Geom2d_TrimmedCurve(aParabola,-100,100); - Handle(ISession2D_Curve) aCurve = new ISession2D_Curve(aTrimmedCurve); - //aCurve->SetColorIndex(3); - aContext2D->Display(aCurve); - - Message += " The entity A of type gp_Ax22d is not displayable \n "; - Message += " The entity D of type gp_Dir2d is displayed as a vector \n ( mean with a length != 1 ) \n "; -} - -//=============================================================== -// Function name: gpTest19 -//=============================================================== - void SampleGeometryPackage::gpTest19(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); -//============================================================== - -gp_Pnt P1(2,3,4); -gp_Dir D(4,5,6); -gp_Ax3 A(P1,D); -Standard_Boolean IsDirectA = A.Direct(); - -gp_Dir AXDirection = A.XDirection() ; -gp_Dir AYDirection = A.YDirection() ; - -gp_Pnt P2(5,3,4); -gp_Ax3 A2(P2,D); -A2.YReverse(); -// axis3 is now left handed -Standard_Boolean IsDirectA2 = A2.Direct(); - -gp_Dir A2XDirection = A2.XDirection() ; -gp_Dir A2YDirection = A2.YDirection() ; - -//============================================================== - Message = " \ - \n\ -gp_Pnt P1(2,3,4); \n\ -gp_Dir D(4,5,6); \n\ -gp_Ax3 A(P,D); \n\ -Standard_Boolean IsDirectA = A.Direct(); \n\ - \n\ -gp_Dir AXDirection = A.XDirection() ; \n\ -gp_Dir AYDirection = A.YDirection() ; \n\ - \n\ -gp_Pnt P2(5,3,4); \n\ -gp_Ax3 A2(P2,D); \n\ -A2.YReverse(); \n\ -// axis3 is now left handed \n\ -Standard_Boolean IsDirectA2 = A2.Direct(); \n\ - \n\ -gp_Dir A2XDirection = A2.XDirection() ; \n\ -gp_Dir A2YDirection = A2.YDirection() ; \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - - DisplayPoint(aContext,P1,"P1",Standard_False,0.1); - Handle(ISession_Direction) aDirection = new ISession_Direction(P1,D,2); - aContext->Display(aDirection); - - Handle(ISession_Direction) aDirection2 = new ISession_Direction(P1,AXDirection,2); - aDirection2->SetText(TCollection_ExtendedString("A.XDirection")); - aContext->Display(aDirection2); - Handle(ISession_Direction) aDirection3 = new ISession_Direction(P1,AYDirection,2); - aDirection3->SetText(TCollection_ExtendedString("A.YDirection")); - aContext->Display(aDirection3); - - DisplayPoint(aContext,P2,"P2",Standard_False,0.1); - Handle(ISession_Direction) aDirection4 = new ISession_Direction(P2,D,2); - aContext->Display(aDirection4); - - Handle(ISession_Direction) aDirection5 = new ISession_Direction(P2,A2XDirection,2); - aDirection5->SetText(TCollection_ExtendedString("A2 XDirection")); - aContext->Display(aDirection5); - Handle(ISession_Direction) aDirection6 = new ISession_Direction(P2,A2YDirection,2); - aDirection6->SetText(TCollection_ExtendedString("A2 YDirection")); - aContext->Display(aDirection6); - - Message += "IsDirectA = "; - if (IsDirectA) Message += "True = Right Handed \n"; else Message += "False = Left Handed \n"; - - Message += "IsDirectA2 = "; - if (IsDirectA2) Message += "True = Right Handed \n"; else Message += "False = Left Handed \n"; -} - -//=============================================================== -// Function name: gpTest20 -//=============================================================== - void SampleGeometryPackage::gpTest20(const Handle(ISession2D_InteractiveContext)& aContext2D, - TCollection_AsciiString& Message) -{ - aContext2D->EraseAll(); -//============================================================== - -TColgp_Array1OfPnt2d array (1,5); // sizing array -array.SetValue(1,gp_Pnt2d (0,0)); -array.SetValue(2,gp_Pnt2d (1,2)); -array.SetValue(3,gp_Pnt2d (2,3)); -array.SetValue(4,gp_Pnt2d (4,3)); -array.SetValue(5,gp_Pnt2d (5,5)); -Handle(Geom2d_BSplineCurve) SPL1 = - Geom2dAPI_PointsToBSpline(array); - -Handle(TColgp_HArray1OfPnt2d) harray = - new TColgp_HArray1OfPnt2d (1,5); // sizing harray -harray->SetValue(1,gp_Pnt2d (7+ 0,0)); -harray->SetValue(2,gp_Pnt2d (7+ 1,2)); -harray->SetValue(3,gp_Pnt2d (7+ 2,3)); -harray->SetValue(4,gp_Pnt2d (7+ 4,3)); -harray->SetValue(5,gp_Pnt2d (7+ 5,5)); -Geom2dAPI_Interpolate anInterpolation(harray,Standard_False,0.01); -anInterpolation.Perform(); -Handle(Geom2d_BSplineCurve) SPL2 = anInterpolation.Curve(); - -Handle(TColgp_HArray1OfPnt2d) harray2 = - new TColgp_HArray1OfPnt2d (1,5); // sizing harray -harray2->SetValue(1,gp_Pnt2d (11+ 0,0)); -harray2->SetValue(2,gp_Pnt2d (11+ 1,2)); -harray2->SetValue(3,gp_Pnt2d (11+ 2,3)); -harray2->SetValue(4,gp_Pnt2d (11+ 4,3)); -harray2->SetValue(5,gp_Pnt2d (11+ 5,5)); -Geom2dAPI_Interpolate anInterpolation2(harray2,Standard_True,0.01); -anInterpolation2.Perform(); -Handle(Geom2d_BSplineCurve) SPL3 = anInterpolation2.Curve(); -// redefined C++ operator allows these assignments - -//============================================================== - Message = " \ - \n\ -TColgp_Array1OfPnt2d array (1,5); // sizing array \n\ -array.SetValue(1,gp_Pnt2d (0,0)); \n\ -array.SetValue(2,gp_Pnt2d (1,2)); \n\ -array.SetValue(3,gp_Pnt2d (2,3)); \n\ -array.SetValue(4,gp_Pnt2d (4,3)); \n\ -array.SetValue(5,gp_Pnt2d (5,5)); \n\ -Handle(Geom2d_BSplineCurve) SPL1 = \n\ - Geom2dAPI_PointsToBSpline(array); \n\ - \n\ -Handle(TColgp_HArray1OfPnt2d) harray = \n\ - new TColgp_HArray1OfPnt2d (1,5); // sizing harray \n\ -harray->SetValue(1,gp_Pnt2d (7+ 0,0)); \n\ -harray->SetValue(2,gp_Pnt2d (7+ 1,2)); \n\ -harray->SetValue(3,gp_Pnt2d (7+ 2,3)); \n\ -harray->SetValue(4,gp_Pnt2d (7+ 4,3)); \n\ -harray->SetValue(5,gp_Pnt2d (7+ 5,5)); \n\ -Geom2dAPI_Interpolate anInterpolation(harray,Standard_False,0.01); \n\ -anInterpolation.Perform(); \n\ -Handle(Geom2d_BSplineCurve) SPL2 = anInterpolation.Curve(); \n\ - \n\ -Handle(TColgp_HArray1OfPnt2d) harray2 = \n\ - new TColgp_HArray1OfPnt2d (1,5); // sizing harray \n"; - Message += "\ -harray2->SetValue(1,gp_Pnt2d (11+ 0,0)); \n\ -harray2->SetValue(2,gp_Pnt2d (11+ 1,2)); \n\ -harray2->SetValue(3,gp_Pnt2d (11+ 2,3)); \n\ -harray2->SetValue(4,gp_Pnt2d (11+ 4,3)); \n\ -harray2->SetValue(5,gp_Pnt2d (11+ 5,5)); \n\ -Geom2dAPI_Interpolate anInterpolation2(harray2,Standard_True,0.01); \n\ -anInterpolation2.Perform(); \n\ -Handle(Geom2d_BSplineCurve) SPL3 = anInterpolation2.Curve(); \n\ -// redefined C++ operator allows these assignments \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - TCollection_AsciiString aString; - Standard_Integer i; - for(i = array.Lower();i<=array.Upper();i++){ - gp_Pnt2d P = array(i); - aString = "array ";aString += TCollection_AsciiString(i); - DisplayPoint(aContext2D,P,aString,Standard_False,0.5); - } - for( i = harray->Lower();i<=harray->Upper();i++){ - gp_Pnt2d P = harray->Value(i); - aString = "harray ";aString += TCollection_AsciiString(i); - DisplayPoint(aContext2D,P,aString,Standard_False,0.5); - } - for( i = harray2->Lower();i<=harray2->Upper();i++){ - gp_Pnt2d P = harray2->Value(i); - aString = "harray2 ";aString += TCollection_AsciiString(i); - DisplayPoint(aContext2D,P,aString,Standard_False,0.5); - } - - if (!SPL1.IsNull()) - { - Handle(ISession2D_Curve) aCurve = new ISession2D_Curve(SPL1); - aCurve->SetColorIndex(3); - aContext2D->Display(aCurve); - } - - if (!SPL2.IsNull()) - { - Handle(ISession2D_Curve) aCurve2 = new ISession2D_Curve(SPL2); - aCurve2->SetColorIndex(5); - aContext2D->Display(aCurve2); - } - - if (!SPL3.IsNull()) - { - Handle(ISession2D_Curve) aCurve2 = new ISession2D_Curve(SPL3); - aCurve2->SetColorIndex(6); - aContext2D->Display(aCurve2); - } - - Message += " SPL1 is Red \n"; - Message += " SPL2 is Blue \n"; - Message += " SPL3 is Yellow \n"; -} - -//=============================================================== -// Function name: gpTest21 -//=============================================================== - void SampleGeometryPackage::gpTest21(const Handle(ISession2D_InteractiveContext)& aContext2D, - TCollection_AsciiString& Message) -{ - aContext2D->EraseAll(); -//============================================================== - -gp_Pnt2d P1(-184, 101); -gp_Pnt2d P2(20 ,84); -Standard_Real aheight = 1; -FairCurve_Batten B (P1,P2,aheight); -B.SetAngle1(22*PI180); -B.SetAngle2(44*PI180); -FairCurve_AnalysisCode anAnalysisCode; -B.Compute(anAnalysisCode); -Handle(Geom2d_BSplineCurve) C = B.Curve(); - -//============================================================== - Message = " \ - \n\ -gp_Pnt2d P1(-184, 101); \n\ -gp_Pnt2d P2(20 ,84); \n\ -Standard_Real aheight = 1; \n\ -FairCurve_Batten B (P1,P2,aheight); \n\ -B.SetAngle1(22*PI180); \n\ -B.SetAngle2(44*PI180); \n\ -FairCurve_AnalysisCode anAnalysisCode; \n\ -B.Compute(anAnalysisCode); \n\ -Handle(Geom2d_BSplineCurve) C = B.Curve(); \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - - DisplayCurveAndCurvature(aContext2D,C,6,Standard_True); -} - -//=============================================================== -// Function name: gpTest22 -//=============================================================== - void SampleGeometryPackage::gpTest22(const Handle(ISession2D_InteractiveContext)& aContext2D, - TCollection_AsciiString& Message) -{ - aContext2D->EraseAll(); -//============================================================== - -gp_Pnt2d P1(-184, 41); -gp_Pnt2d P2(20 ,24); -Standard_Real aheight = 1; -FairCurve_MinimalVariation MV (P1,P2,aheight); -MV.SetAngle1(22*PI180); -MV.SetAngle2(44*PI180); - -FairCurve_AnalysisCode anAnalysisCode; -MV.Compute(anAnalysisCode); - -Handle(Geom2d_BSplineCurve) C = MV.Curve(); - -//============================================================== - Message = " \ - \n\ -gp_Pnt2d P1(-184, 41); \n\ -gp_Pnt2d P2(20 ,24); \n\ -Standard_Real aheight = 1; \n\ -FairCurve_MinimalVariation MV (P1,P2,aheight); \n\ -MV.SetAngle1(22*PI180); \n\ -MV.SetAngle2(44*PI180); \n\ - \n\ -FairCurve_AnalysisCode anAnalysisCode; \n\ -MV.Compute(anAnalysisCode); \n\ - \n\ -Handle(Geom2d_BSplineCurve) C = MV.Curve(); \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - - DisplayCurveAndCurvature(aContext2D,C,7,Standard_True); - DisplayPoint(aContext2D,P1,"P1",Standard_False,0.5); - DisplayPoint(aContext2D,P2,"P2",Standard_False,0.5); -} - -//=============================================================== -// Function name: gpTest23 -//=============================================================== - void SampleGeometryPackage::gpTest23(const Handle(ISession2D_InteractiveContext)& aContext2D, - TCollection_AsciiString& Message) -{ - aContext2D->EraseAll(); -//============================================================== - -Standard_Real major = 12; -Standard_Real minor = 4; -gp_Ax2d axis = gp::OX2d(); -Handle(Geom2d_Ellipse) E = GCE2d_MakeEllipse (axis,major,minor); - -Handle(Geom2d_TrimmedCurve) TC = new Geom2d_TrimmedCurve(E,-1,2); - -// The segment goes in the direction Vfrom P1 -// to the point projected on this line by P2 -// In the example (0,6). -Handle(Geom2d_BSplineCurve) SPL = - Geom2dConvert::CurveToBSplineCurve(TC); - -//============================================================== - Message = " \ - \n\ -Standard_Real major = 12; \n\ -Standard_Real minor = 4; \n\ -gp_Ax2d axis = gp::OX2d(); \n\ -Handle(Geom2d_Ellipse) E = GCE2d_MakeEllipse (axis,major,minor); \n\ - \n\ -Handle(Geom2d_TrimmedCurve) TC = new Geom2d_TrimmedCurve(E,-1,2); \n\ - \n\ -// The segment goes in the direction Vfrom P1 \n\ -// to the point projected on this line by P2 \n\ -// In the example (0,6). \n\ -Handle(Geom2d_BSplineCurve) SPL = \n\ - Geom2dConvert::CurveToBSplineCurve(TC); \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - - Handle(ISession2D_Curve) aCurve = new ISession2D_Curve(E); - aCurve->SetColorIndex(3); // Red - aCurve->SetTypeOfLine(Aspect_TOL_DOTDASH); - aContext2D->Display(aCurve); - - Handle(ISession2D_Curve) aCurve2 = new ISession2D_Curve(SPL); - aContext2D->Display(aCurve2); -} - -//=============================================================== -// Function name: gpTest24 -//=============================================================== - void SampleGeometryPackage::gpTest24(const Handle(AIS_InteractiveContext)& aContext, - const Handle(ISession2D_InteractiveContext)& aContext2D, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - aContext2D->EraseAll(); -//============================================================== - -Standard_Real radius = 5; -gp_Ax2d ax2d(gp_Pnt2d(2,3),gp_Dir2d(1,0)); - -Handle(Geom2d_Circle) circ2d = - new Geom2d_Circle(ax2d,radius); - -gp_Ax2d circ2dXAxis = circ2d->XAxis(); - -// create a 3D curve in a given plane -Handle(Geom_Curve) C3D = - GeomAPI::To3d(circ2d,gp_Pln(gp_Ax3(gp::XOY()))); -Handle(Geom_Circle) C3DCircle = - Handle(Geom_Circle)::DownCast(C3D); - -gp_Ax1 C3DCircleXAxis = C3DCircle->XAxis(); - -// project it to a 2D curve in another plane - -gp_Pln ProjectionPlane(gp_Pnt(1,1,0),gp_Dir( 1,1,1 )); - -Handle(Geom2d_Curve) C2D = - GeomAPI::To2d(C3D,ProjectionPlane); - -Handle(Geom2d_Circle) C2DCircle = - Handle(Geom2d_Circle)::DownCast(C2D); -gp_Ax2d C2DCircleXAxis = C2DCircle->XAxis(); - -//============================================================== - Message = " \ - \n\ -Standard_Real radius = 5; \n\ -gp_Ax2d ax2d(gp_Pnt2d(2,3),gp_Dir2d(1,0)); \n\ - \n\ -Handle(Geom2d_Circle) circ2d = \n\ - new Geom2d_Circle(ax2d,radius); \n\ - \n\ -gp_Ax2d circ2dXAxis = circ2d->XAxis(); \n\ - \n\ -// create a 3D curve in a given plane \n\ -Handle(Geom_Curve) C3D = \n\ - GeomAPI::To3d(circ2d,gp_Pln(gp_Ax3(gp::XOY()))); \n\ -Handle(Geom_Circle) C3DCircle = \n\ - Handle(Geom_Circle)::DownCast(C3D); \n\ - \n\ -gp_Ax1 C3DCircleXAxis = C3DCircle->XAxis(); \n\ - \n\ -// project it to a 2D curve in another plane \n\ - \n\ -gp_Pln ProjectionPlane(gp_Pnt(1,1,0),gp_Dir( 1,1,1 )); \n\ - \n\ -Handle(Geom2d_Curve) C2D = \n\ - GeomAPI::To2d(C3D,ProjectionPlane); \n\ - \n\ -Handle(Geom2d_Circle) C2DCircle = \n\ - Handle(Geom2d_Circle)::DownCast(C2D); \n\ -gp_Ax2d C2DCircleXAxis = C2DCircle->XAxis(); \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - Handle(Geom_Plane) aPlane = GC_MakePlane(gp_Pln(gp_Ax3(gp::XOY()))).Value(); - Handle(Geom_RectangularTrimmedSurface) aSurface= new Geom_RectangularTrimmedSurface(aPlane,-8.,8.,-12.,12.); - DisplaySurface(aContext,aSurface); - - Handle(Geom_Plane) aProjectionPlane = GC_MakePlane(ProjectionPlane).Value(); - Handle(Geom_RectangularTrimmedSurface) aProjectionPlaneSurface= - new Geom_RectangularTrimmedSurface(aProjectionPlane,-8.,8.,-12.,12.); - - DisplaySurface(aContext,aProjectionPlaneSurface); - - Standard_CString aC3DEntityTypeName = C3D->DynamicType()->Name(); - Standard_CString aC2DEntityTypeName = C2D->DynamicType()->Name(); - - Message += " C3D->DynamicType()->Name() = "; - Message += aC3DEntityTypeName; Message += " \n"; - Message += " C2D->DynamicType()->Name() = "; - Message += aC2DEntityTypeName; Message += " \n"; - - DisplayCurve(aContext2D,circ2d,4,Standard_False); - DisplayCurve(aContext,C3D,Standard_False); - DisplayCurve(aContext2D,C2D,5,Standard_False); - - Handle(ISession_Direction) aC3DCircleXAxisDirection = new ISession_Direction((gp_Pnt)C3DCircleXAxis.Location(), - (gp_Dir)C3DCircleXAxis.Direction(), - 5.2); - aContext->Display(aC3DCircleXAxisDirection); - - Handle(ISession_Direction) acirc2dXAxisDirection = new ISession_Direction((gp_Pnt2d)circ2dXAxis.Location(), - (gp_Dir2d)circ2dXAxis.Direction(), - 5.2); - aContext2D->Display(acirc2dXAxisDirection); - - Handle(ISession_Direction) aC2DCircleXAxisDirection = new ISession_Direction((gp_Pnt2d)C2DCircleXAxis.Location(), - (gp_Dir2d)C2DCircleXAxis.Direction(), - 5.2); - aContext2D->Display(aC2DCircleXAxisDirection); -} - -//=============================================================== -// Function name: gpTest25 -//=============================================================== - void SampleGeometryPackage::gpTest25(const Handle(ISession2D_InteractiveContext)& aContext2D, - TCollection_AsciiString& Message) -{ - aContext2D->EraseAll(); -//============================================================== - -Handle(TColgp_HArray1OfPnt2d) harray = - new TColgp_HArray1OfPnt2d (1,5); // sizing harray -harray->SetValue(1,gp_Pnt2d (0,0)); -harray->SetValue(2,gp_Pnt2d (-3,1)); -harray->SetValue(3,gp_Pnt2d (-2,5)); -harray->SetValue(4,gp_Pnt2d (2,9)); -harray->SetValue(5,gp_Pnt2d (-4,14)); - -Geom2dAPI_Interpolate anInterpolation(harray,Standard_False,0.01); -anInterpolation.Perform(); -Handle(Geom2d_BSplineCurve) SPL = anInterpolation.Curve(); - -gp_Pnt2d P1(-1,-2); -gp_Pnt2d P2(0,15); -gp_Dir2d V1 = gp::DY2d(); -Handle(Geom2d_TrimmedCurve) TC1= - GCE2d_MakeSegment(P1,V1,P2); - -Standard_Real tolerance = Precision::Confusion(); -Geom2dAPI_InterCurveCurve ICC (SPL,TC1,tolerance); -Standard_Integer NbPoints =ICC.NbPoints(); -gp_Pnt2d PK; -for (Standard_Integer k = 1;k<=NbPoints;k++) - { - PK = ICC.Point(k); - // do something with each intersection point - } - -//============================================================== - Message = " \ - \n\ -Handle(TColgp_HArray1OfPnt2d) harray = \n\ - new TColgp_HArray1OfPnt2d (1,5); // sizing harray \n\ -harray->SetValue(1,gp_Pnt2d (0,0)); \n\ -harray->SetValue(2,gp_Pnt2d (-3,1)); \n\ -harray->SetValue(3,gp_Pnt2d (-2,5)); \n\ -harray->SetValue(4,gp_Pnt2d (2,9)); \n\ -harray->SetValue(5,gp_Pnt2d (-4,14)); \n\ - \n\ -Geom2dAPI_Interpolate anInterpolation(harray,Standard_False,0.01); \n\ -anInterpolation.Perform(); \n\ -Handle(Geom2d_BSplineCurve) SPL = anInterpolation.Curve(); \n\ - \n\ -gp_Pnt2d P1(-1,-2); \n\ -gp_Pnt2d P2(0,15); \n\ -gp_Dir2d V1 = gp::DY2d(); \n\ -Handle(Geom2d_TrimmedCurve) TC1= \n\ - GCE2d_MakeSegment(P1,V1,P2); \n\ - \n\ -Standard_Real tolerance = Precision::Confusion(); \n\ -Geom2dAPI_InterCurveCurve ICC (SPL,TC1,tolerance); \n\ -Standard_Integer NbPoints =ICC.NbPoints(); \n\ -gp_Pnt2d PK; \n\ -for (Standard_Integer k = 1;k<=NbPoints;k++) \n\ - { \n\ - PK = ICC.Point(k); \n\ - // do something with each intersection point \n\ - } \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - - Handle(ISession2D_Curve) aCurve1 = new ISession2D_Curve(SPL); - aCurve1->SetDisplayPole(Standard_False); - aContext2D->Display(aCurve1); - Handle(ISession2D_Curve) aCurve2 = new ISession2D_Curve(TC1); - aContext2D->Display(aCurve2); - - TCollection_AsciiString aString; - for (Standard_Integer i = 1;i<=NbPoints;i++) - { - PK = ICC.Point(i); - // do something with each intersection point - aString = "PK_";aString += TCollection_AsciiString(i); - DisplayPoint(aContext2D,PK,aString,Standard_False,0.5); - Message += "PK_"; Message += TCollection_AsciiString(i); Message += " ( "; - Message += TCollection_AsciiString(PK.X()); Message += " , "; - Message += TCollection_AsciiString(PK.Y()); Message += " )\n"; - } -} - -//=============================================================== -// Function name: gpTest26 -//=============================================================== - void SampleGeometryPackage::gpTest26(const Handle(ISession2D_InteractiveContext)& aContext2D, - TCollection_AsciiString& Message) -{ - aContext2D->EraseAll(); -//============================================================== - -//----------- Build TC1 ----------------------- -gp_Pnt2d P1(0,0); gp_Pnt2d P2(2,6); -gp_Dir2d V1 = gp::DY2d(); -Handle(Geom2d_TrimmedCurve) TC1 = GCE2d_MakeSegment(P1,V1,P2); -Standard_Real FP1 = TC1->FirstParameter(); -Standard_Real LP1 = TC1->LastParameter(); -//----------- Build TC2 ----------------------- -gp_Pnt2d P3(-9,6.5); gp_Dir2d V2 = gp::DX2d(); -Handle(Geom2d_TrimmedCurve) TC2 = GCE2d_MakeSegment(P3,V2,P2); -Standard_Real FP2 = TC1->FirstParameter(); -Standard_Real LP2 = TC1->LastParameter(); -//----------- Extrema TC1 / TC2 --------------- -Geom2dAPI_ExtremaCurveCurve ECC (TC1,TC2, FP1,LP1, FP2,LP2); -Standard_Real shortestdistance =-1; -if (ECC.NbExtrema() != 0) shortestdistance = ECC.LowerDistance(); -//----------- Build SPL1 ---------------------- -TColgp_Array1OfPnt2d array (1,5); // sizing array -array.SetValue(1,gp_Pnt2d (-4,0)); array.SetValue(2,gp_Pnt2d (-7,2)); -array.SetValue(3,gp_Pnt2d (-6,3)); array.SetValue(4,gp_Pnt2d (-4,3)); -array.SetValue(5,gp_Pnt2d (-3,5)); -Handle(Geom2d_BSplineCurve) SPL1 = Geom2dAPI_PointsToBSpline(array); -Standard_Real FPSPL1 = SPL1->FirstParameter(); -Standard_Real LPSPL1 = SPL1->LastParameter(); -//----------- Extrema TC1 / SPL1 ------------- -Geom2dAPI_ExtremaCurveCurve ECC2 (TC1,SPL1, FP1,LP1, FPSPL1,LPSPL1); -Standard_Real SPL1shortestdistance =-1; -if (ECC2.NbExtrema()!=0) SPL1shortestdistance = ECC2.LowerDistance(); -Standard_Integer NbExtrema = ECC2.NbExtrema(); -TColgp_Array2OfPnt2d aSolutionArray(1,NbExtrema,1,2); -int i; -for(i=1;i <= NbExtrema; i++) { - gp_Pnt2d Ploc1,Ploc2; - ECC2.Points(i,Ploc1,Ploc2); - aSolutionArray(i,1) = Ploc1; aSolutionArray(i,2) = Ploc2; } - -//============================================================== - Message = " \ -//----------- Build TC1 ----------------------- \n\ -gp_Pnt2d P1(0,0); gp_Pnt2d P2(2,6); \n\ -gp_Dir2d V1 = gp::DY2d(); \n\ -Handle(Geom2d_TrimmedCurve) TC1 = GCE2d_MakeSegment(P1,V1,P2); \n\ -Standard_Real FP1 = TC1->FirstParameter(); \n\ -Standard_Real LP1 = TC1->LastParameter(); \n\ -//----------- Build TC2 ----------------------- \n\ -gp_Pnt2d P3(-9,6.5); gp_Dir2d V2 = gp::DX2d(); \n\ -Handle(Geom2d_TrimmedCurve) TC2 = GCE2d_MakeSegment(P3,V2,P2); \n\ -Standard_Real FP2 = TC1->FirstParameter(); \n\ -Standard_Real LP2 = TC1->LastParameter(); \n\ -//----------- Extrema TC1 / TC2 --------------- \n\ -Geom2dAPI_ExtremaCurveCurve ECC (TC1,TC2, FP1,LP1, FP2,LP2); \n\ -Standard_Real shortestdistance =-1; \n\ -if (ECC.NbExtrema() != 0) shortestdistance = ECC.LowerDistance(); \n\ -//----------- Build SPL1 ---------------------- \n\ -TColgp_Array1OfPnt2d array (1,5); // sizing array \n\ -array.SetValue(1,gp_Pnt2d (-4,0)); array.SetValue(2,gp_Pnt2d (-7,2)); \n\ -array.SetValue(3,gp_Pnt2d (-6,3)); array.SetValue(4,gp_Pnt2d (-4,3)); \n\ -array.SetValue(5,gp_Pnt2d (-3,5)); \n\ -Handle(Geom2d_BSplineCurve) SPL1 = Geom2dAPI_PointsToBSpline(array); \n\ -Standard_Real FPSPL1 = SPL1->FirstParameter(); \n"; -Message += "\ -Standard_Real LPSPL1 = SPL1->LastParameter(); \n\ -//----------- Extrema TC1 / SPL1 ------------- \n\ -Geom2dAPI_ExtremaCurveCurve ECC2 (TC1,SPL1, FP1,LP1, FPSPL1,LPSPL1); \n\ -Standard_Real SPL1shortestdistance =-1; \n\ -if (ECC2.NbExtrema()!=0) SPL1shortestdistance = ECC2.LowerDistance(); \n\ -Standard_Integer NbExtrema = ECC2.NbExtrema(); \n\ -TColgp_Array2OfPnt2d aSolutionArray(1,NbExtrema,1,2); \n\ -for(int i=1;i <= NbExtrema; i++) { \n\ - gp_Pnt2d P1,P2; \n\ - ECC2.Points(i,P1,P2); \n\ - aSolutionArray(i,1) = P1; aSolutionArray(i,2) = P2; } \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - - TCollection_AsciiString aString; - for(i = array.Lower();i<=array.Upper();i++){ - gp_Pnt2d P = array(i); - aString = "array ";aString += TCollection_AsciiString(i); - DisplayPoint(aContext2D,P,aString,Standard_False,0.5); - } - - if (!SPL1.IsNull()) - { - Handle(ISession2D_Curve) aCurve = new ISession2D_Curve(SPL1); - aCurve->SetDisplayPole(Standard_False); - aCurve->SetColorIndex(3); - aContext2D->Display(aCurve); - } - - Handle(ISession2D_Curve) aCurve1 = new ISession2D_Curve(TC1); - aCurve1->SetColorIndex(6); - aContext2D->Display(aCurve1); - Handle(ISession2D_Curve) aCurve2 = new ISession2D_Curve(TC2); - aCurve2->SetColorIndex(5); - aContext2D->Display(aCurve2); - - - for(i=1;i <= NbExtrema; i++) - { - gp_Pnt2d Ploc1 =aSolutionArray(i,1); - aString = "P1_";aString += TCollection_AsciiString(i); - DisplayPoint(aContext2D,P1,aString,Standard_False,0.7*i); - - gp_Pnt2d Ploc2 = aSolutionArray(i,2); - - Handle(Geom2d_TrimmedCurve) SolutionCurve = - GCE2d_MakeSegment(Ploc1,Ploc2); - Handle(ISession2D_Curve) aSolutionCurve = new ISession2D_Curve(SolutionCurve); - aContext2D->Display(aSolutionCurve); - } - - Message += "TC1 is Yellow ,TC2 is Blue ,SPL1 is Red \n"; - Message += "ECC.NbExtrema() = "; Message += TCollection_AsciiString(ECC.NbExtrema()); - Message += " shortestdistance = "; Message+= TCollection_AsciiString(shortestdistance); Message += "\n"; - Message += "ECC2.NbExtrema() = "; Message += TCollection_AsciiString(NbExtrema); - Message += " SPL1shortestdistance = "; Message+= TCollection_AsciiString(SPL1shortestdistance); Message += "\n"; -} - -//=============================================================== -// Function name: gpTest27 -//=============================================================== - void SampleGeometryPackage::gpTest27(const Handle(ISession2D_InteractiveContext)& aContext2D, - TCollection_AsciiString& Message) -{ - aContext2D->EraseAll(); -//============================================================== - -TColgp_Array1OfPnt2d array (1,5); // sizing array -array.SetValue(1,gp_Pnt2d (-4,0)); array.SetValue(2,gp_Pnt2d (-7,2)); -array.SetValue(3,gp_Pnt2d (-6,3)); array.SetValue(4,gp_Pnt2d (-4,3)); -array.SetValue(5,gp_Pnt2d (-3,5)); -Handle(Geom2d_BSplineCurve) SPL1 = Geom2dAPI_PointsToBSpline(array); - -Standard_Real dist = 1; -Handle(Geom2d_OffsetCurve) OC = - new Geom2d_OffsetCurve(SPL1,dist); -Standard_Boolean result = OC->IsCN(2); - -Standard_Real dist2 = 1.5; -Handle(Geom2d_OffsetCurve) OC2 = - new Geom2d_OffsetCurve(SPL1,dist2); -Standard_Boolean result2 = OC2->IsCN(2); - -//============================================================== - Message = " \ - \n\ -TColgp_Array1OfPnt2d array (1,5); // sizing array \n\ -array.SetValue(1,gp_Pnt2d (-4,0)); array.SetValue(2,gp_Pnt2d (-7,2)); \n\ -array.SetValue(3,gp_Pnt2d (-6,3)); array.SetValue(4,gp_Pnt2d (-4,3)); \n\ -array.SetValue(5,gp_Pnt2d (-3,5)); \n\ -Handle(Geom2d_BSplineCurve) SPL1 = Geom2dAPI_PointsToBSpline(array); \n\ - \n\ -Standard_Real dist = 1; \n\ -Handle(Geom2d_OffsetCurve) OC = \n\ - new Geom2d_OffsetCurve(SPL1,dist); \n\ -Standard_Boolean result = OC->IsCN(2); \n\ - \n\ -Standard_Real dist2 = 1.5; \n\ -Handle(Geom2d_OffsetCurve) OC2 = \n\ - new Geom2d_OffsetCurve(SPL1,dist2); \n\ -Standard_Boolean result2 = OC2->IsCN(2); \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - Handle(ISession2D_Curve) aCurve1 = new ISession2D_Curve(SPL1); - aCurve1->SetColorIndex(6); - aContext2D->Display(aCurve1); - Handle(ISession2D_Curve) aCurve2 = new ISession2D_Curve(OC); - aCurve2->SetColorIndex(5); - aContext2D->Display(aCurve2); - Handle(ISession2D_Curve) aCurve3 = new ISession2D_Curve(OC2); - aCurve3->SetColorIndex(3); - aContext2D->Display(aCurve3); - - - Message += "SPL1 is Yellow \n"; - Message += "OC is Blue \n"; - Message += "OC2 is Red \n\n"; - Message += " Warning, Continuity is not guaranteed : \n "; - if(result) Message += " result = True \n"; - else Message += " result = False \n"; - if(result2) Message += " result2 = True \n"; - else Message += " result2 = False \n"; -} - -//=============================================================== -// Function name: gpTest28 -//=============================================================== - void SampleGeometryPackage::gpTest28(const Handle(ISession2D_InteractiveContext)& aContext2D, - TCollection_AsciiString& Message) -{ - aContext2D->EraseAll(); -//============================================================== - -gp_Pnt2d P1(1,2); -gp_Pnt2d P2(4,5); -gp_Lin2d L = gce_MakeLin2d(P1,P2); -// assignment by overloaded operator - -//============================================================== - Message = " \ - \n\ -gp_Pnt2d P1(1,2); \n\ -gp_Pnt2d P2(4,5); \n\ -gp_Lin2d L = gce_MakeLin2d(P1,P2); \n\ -// assignment by overloaded operator \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - - DisplayPoint(aContext2D,P1,"P1",Standard_False,0.5); - DisplayPoint(aContext2D,P2,"P2",Standard_False,0.5); - - Handle(Geom2d_TrimmedCurve) aLine = GCE2d_MakeSegment(L,-3,8); - Handle(ISession2D_Curve) aCurve = new ISession2D_Curve(aLine); - aContext2D->Display(aCurve); -} - -//=============================================================== -// Function name: gpTest29 -//=============================================================== - void SampleGeometryPackage::gpTest29(const Handle(ISession2D_InteractiveContext)& aContext2D, - TCollection_AsciiString& Message) -{ - aContext2D->EraseAll(); -//============================================================== - -gp_Pnt2d P1(1,2); -gp_Pnt2d P2(4,5); -gp_Lin2d L; -GccAna_Pnt2dBisec B(P1,P2); -if (B.IsDone()) - { - L = B.ThisSolution(); - } - -//============================================================== - Message = " \ - \n\ -gp_Pnt2d P1(1,2); \n\ -gp_Pnt2d P2(4,5); \n\ -gp_Lin2d L; \n\ -GccAna_Pnt2dBisec B(P1,P2); \n\ -if (B.IsDone()) \n\ - { \n\ - L = B.ThisSolution(); \n\ - } \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - - DisplayPoint(aContext2D,P1,"P1",Standard_False,0.5); - DisplayPoint(aContext2D,P2,"P2",Standard_False,0.5); - - if (B.IsDone()) - { - Handle(Geom2d_TrimmedCurve) aLine = GCE2d_MakeSegment(L,-8,8); - Handle(ISession2D_Curve) aCurve = new ISession2D_Curve(aLine); - aContext2D->Display(aCurve); - } - - if (B.IsDone()) Message += " \n B Is Done "; - else Message += " \n B Is not Done "; -} - -//=============================================================== -// Function name: gpTest30 -//=============================================================== - void SampleGeometryPackage::gpTest30(const Handle(ISession2D_InteractiveContext)& aContext2D, - TCollection_AsciiString& Message) -{ - aContext2D->EraseAll(); -//============================================================== - -gp_Pnt2d P1 (2,3); -gp_Pnt2d P2 (4,4); -gp_Pnt2d P3 (6,7); -gp_Pnt2d P4 (10,10); -gp_Circ2d C = gce_MakeCirc2d (P1,P2,P3); -GccEnt_QualifiedCirc QC = GccEnt::Outside(C); -GccAna_Lin2d2Tan LT (QC,P4,Precision::Confusion()); -Standard_Integer NbSol=0; -if (LT.IsDone()) - { - NbSol = LT.NbSolutions(); - Standard_Integer k; - for(k=1; k<=NbSol; k++) - { - LT.ThisSolution(k); - // do something with L - } - } - -//============================================================== - Message = " \ - \n\ -gp_Pnt2d P1 (2,3); \n\ -gp_Pnt2d P2 (4,4); \n\ -gp_Pnt2d P3 (6,7); \n\ -gp_Pnt2d P4 (10,10); \n\ -gp_Circ2d C = gce_MakeCirc2d (P1,P2,P3); \n\ -GccEnt_QualifiedCirc QC = GccEnt::Outside(C); \n\ -GccAna_Lin2d2Tan LT (QC,P4,Precision::Confusion()); \n\ -Standard_Integer NbSol; \n\ -if (LT.IsDone()) \n\ - { \n\ - NbSol = LT.NbSolutions(); \n\ - for(Standard_Integer k=1; k<=NbSol; k++) \n\ - { \n\ - gp_Lin2d L = LT.ThisSolution(k); \n\ - // do something with L \n\ - } \n\ - } \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - - DisplayPoint(aContext2D,P1,"P1",Standard_False,0.5,-1,0.1); - DisplayPoint(aContext2D,P2,"P2",Standard_False,0.5,-0.7,0.1); - DisplayPoint(aContext2D,P3,"P3",Standard_False,0.5,-0.5,0.1); - DisplayPoint(aContext2D,P4,"P4",Standard_False,0.5,0,0.1); - - Handle(Geom2d_Circle) aCircle = new Geom2d_Circle(C); - Handle(ISession2D_Curve) aCurve = new ISession2D_Curve(aCircle); - aCurve->SetColorIndex(5); - aContext2D->Display(aCurve); - - if (LT.IsDone()) - { - Standard_Integer NblocSol = LT.NbSolutions(); - Standard_Integer k; - for(k=1; k<=NblocSol; k++) - { - gp_Lin2d L = LT.ThisSolution(k); - Handle(Geom2d_TrimmedCurve) alocLine = GCE2d_MakeSegment(L,-10,20); - Handle(ISession2D_Curve) alocCurve = new ISession2D_Curve(alocLine); - aContext2D->Display(alocCurve); - } - } - Message += " C is Blue \n\n"; - Message += "LT.IsDone() = "; - if (LT.IsDone()) Message += "True \n"; else Message += "False \n"; - Message += "NbSol = "; Message += TCollection_AsciiString(NbSol); Message += "\n"; -} - -//=============================================================== -// Function name: gpTest31 -//=============================================================== - void SampleGeometryPackage::gpTest31(const Handle(ISession2D_InteractiveContext)& aContext2D, - TCollection_AsciiString& Message) -{ - aContext2D->EraseAll(); -//============================================================== - -gp_Pnt2d P1 (9,6); -gp_Pnt2d P2 (10,4); -gp_Pnt2d P3 (6,7); -gp_Circ2d C = gce_MakeCirc2d (P1,P2,P3); -GccEnt_QualifiedCirc QC = GccEnt::Outside(C); -gp_Pnt2d P4 (-2,7); -gp_Pnt2d P5 (12,-3); -gp_Lin2d L = GccAna_Lin2d2Tan(P4,P5,Precision::Confusion()).ThisSolution(1); -GccEnt_QualifiedLin QL = GccEnt::Unqualified(L); -Standard_Real radius = 2; -GccAna_Circ2d2TanRad TR (QC,QL,radius,Precision::Confusion()); -Standard_Real parsol,pararg; -gp_Pnt2d tangentpoint1,tangentpoint2; -gp_Circ2d circ; -if (TR.IsDone()) - { - Standard_Integer NbSol = TR.NbSolutions(); - for (Standard_Integer k=1; k<=NbSol; k++) - { - circ = TR.ThisSolution(k); - // find the solution circle - TR.Tangency1(k,parsol,pararg,tangentpoint1); - // find the first tangent point - TR.Tangency2(k,parsol,pararg,tangentpoint2); - // find the second tangent point - } - } - -//============================================================== - Message = "\ - \n\ -gp_Pnt2d P1 (9,6); \n\ -gp_Pnt2d P2 (10,4); \n\ -gp_Pnt2d P3 (6,7); \n\ -gp_Circ2d C = gce_MakeCirc2d (P1,P2,P3); \n\ -GccEnt_QualifiedCirc QC = GccEnt::Outside(C); \n\ -gp_Pnt2d P4 (-2,7); \n\ -gp_Pnt2d P5 (12,-3); \n\ -gp_Lin2d L = GccAna_Lin2d2Tan(P4,P5,Precision::Confusion()).ThisSolution(1); \n\ -GccEnt_QualifiedLin QL = GccEnt::Unqualified(L); \n\ -Standard_Real radius = 2; \n\ -GccAna_Circ2d2TanRad TR (QC,QL,radius,Precision::Confusion()); \n\ -Standard_Real parsol,pararg; \n\ -gp_Pnt2d tangentpoint1,tangentpoint2; \n\ -gp_Circ2d circ; \n\ -if (TR.IsDone()) \n\ - { \n\ - Standard_Integer NbSol = TR.NbSolutions(); \n\ - for (Standard_Integer k=1; k<=NbSol; k++) \n\ - { \n"; - Message += "\ - circ = TR.ThisSolution(k); \n\ - // find the solution circle \n\ - TR.Tangency1(k,parsol,pararg,tangentpoint1); \n\ - // find the first tangent point \n\ - TR.Tangency2(k,parsol,pararg,tangentpoint2); \n\ - // find the second tangent point \n\ - } \n\ - } \n\ - \n"; - AddSeparator(Message); -//-------------------------------------------------------------- - DisplayPoint(aContext2D,P1,"P1",Standard_False,0.3); - DisplayPoint(aContext2D,P2,"P2",Standard_False,0.3); - DisplayPoint(aContext2D,P3,"P3",Standard_False,0.3); - DisplayPoint(aContext2D,P4,"P4",Standard_False,0.3); - DisplayPoint(aContext2D,P5,"P5",Standard_False,0.3); - - Handle(Geom2d_Circle) aCircle = new Geom2d_Circle(C); - Handle(ISession2D_Curve) aCurve = new ISession2D_Curve(aCircle); - aCurve->SetColorIndex(3); - - aContext2D->Display(aCurve); - Handle(Geom2d_TrimmedCurve) aLine = GCE2d_MakeSegment(L,-2,20); - Handle(ISession2D_Curve) aCurve2 = new ISession2D_Curve(aLine); - aCurve2->SetColorIndex(5); - aContext2D->Display(aCurve2); - - if (TR.IsDone()) - { - Standard_Integer NblocSol = TR.NbSolutions(); - Standard_Integer k; - for (k=1; k<=NblocSol; k++) - { - circ = TR.ThisSolution(k); - Handle(Geom2d_Circle) alocCircle = new Geom2d_Circle(circ); - Handle(ISession2D_Curve) alocCurve = new ISession2D_Curve(alocCircle); - aContext2D->Display(alocCurve); - - // find the solution circle - TR.Tangency1(k,parsol,pararg,tangentpoint1); - // find the first tangent point - TR.Tangency2(k,parsol,pararg,tangentpoint2); - // find the second tangent point - DisplayPoint(aContext2D,tangentpoint1,"tangentpoint1",Standard_False,0.3); - DisplayPoint(aContext2D,tangentpoint2,"tangentpoint2",Standard_False,0.3); - } - } - Message += "C is Red \n"; - Message += "L is Blue \n"; -} - -//=============================================================== -// Function name: gpTest32 -//=============================================================== - void SampleGeometryPackage::gpTest32(const Handle(ISession2D_InteractiveContext)& aContext2D, - TCollection_AsciiString& Message) -{ - aContext2D->EraseAll(); -//============================================================== - -Standard_Real major = 12; -Standard_Real minor = 4; -gp_Ax2d axis = gp::OX2d(); -gp_Elips2d EE(axis,major,minor);; -Handle(Geom2d_TrimmedCurve) arc = GCE2d_MakeArcOfEllipse(EE,0.0,PI/4); - -//============================================================== - Message = " \ - \n\ -Standard_Real major = 12; \n\ -Standard_Real minor = 4; \n\ -gp_Ax2d axis = gp::OX2d(); \n\ -gp_Elips2d EE(axis,major,minor); \n\ -Handle(Geom2d_TrimmedCurve) arc = GCE2d_MakeArcOfEllipse(EE,0.0,PI/4); \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - Handle(Geom2d_Curve) E = GCE2d_MakeEllipse(EE).Value(); - Handle(ISession2D_Curve) aCurve = new ISession2D_Curve(E); - aCurve->SetColorIndex(3); - aCurve->SetTypeOfLine(Aspect_TOL_DOTDASH); - //SetWidthOfLine - aContext2D->Display(aCurve); - Handle(ISession2D_Curve) aCurve2 = new ISession2D_Curve(arc); - aContext2D->Display(aCurve2); - - Message += " PI = ";Message+= TCollection_AsciiString(PI); -} - -//=============================================================== -// Function name: gpTest33 -//=============================================================== - void SampleGeometryPackage::gpTest33(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); -//============================================================== - -gp_Pnt P1(0,0,1); -gp_Pnt P2(1,2,2); -gp_Pnt P3(2,3,3); -gp_Pnt P4(4,3,4); -gp_Pnt P5(5,5,5); -TColgp_Array1OfPnt array (1,5); // sizing array -array.SetValue(1,P1); -array.SetValue(2,P2); -array.SetValue(3,P3); -array.SetValue(4,P4); -array.SetValue(5,P5); -Handle(TColgp_HArray1OfPnt) harray = - new TColgp_HArray1OfPnt (1,5); // sizing harray -harray->SetValue(1,P1.Translated(gp_Vec(4,0,0))); -harray->SetValue(2,P2.Translated(gp_Vec(4,0,0))); -harray->SetValue(3,P3.Translated(gp_Vec(4,0,0))); -harray->SetValue(4,P4.Translated(gp_Vec(4,0,0))); -harray->SetValue(5,P5.Translated(gp_Vec(4,0,0))); -Handle(Geom_BSplineCurve) SPL1 = - GeomAPI_PointsToBSpline(array).Curve(); - -GeomAPI_Interpolate anInterpolation(harray,Standard_False,Precision::Approximation()); -anInterpolation.Perform(); - -Handle(Geom_BSplineCurve) SPL2; -if (anInterpolation.IsDone()) - SPL2 = anInterpolation.Curve(); - -//============================================================== - Message = " \ - \n\ -gp_Pnt P1(0,0,1); \n\ -gp_Pnt P2(1,2,2); \n\ -gp_Pnt P3(2,3,3); \n\ -gp_Pnt P4(4,3,4); \n\ -gp_Pnt P5(5,5,5); \n\ -TColgp_Array1OfPnt array (1,5); // sizing array \n\ -array.SetValue(1,P1); \n\ -array.SetValue(2,P2); \n\ -array.SetValue(3,P3); \n\ -array.SetValue(4,P4); \n\ -array.SetValue(5,P5); \n\ -Handle(TColgp_HArray1OfPnt) harray = \n\ - new TColgp_HArray1OfPnt (1,5); // sizing harray \n\ -harray->SetValue(1,P1.Translated(gp_Vec(4,0,0))); \n\ -harray->SetValue(2,P2.Translated(gp_Vec(4,0,0))); \n\ -harray->SetValue(3,P3.Translated(gp_Vec(4,0,0))); \n\ -harray->SetValue(4,P4.Translated(gp_Vec(4,0,0))); \n\ -harray->SetValue(5,P5.Translated(gp_Vec(4,0,0))); \n\ -Handle(Geom_BSplineCurve) SPL1 = \n\ - GeomAPI_PointsToBSpline(array).Curve(); \n"; - Message += "\ - \n\ -GeomAPI_Interpolate anInterpolation(harray,Standard_False,Precision::Approximation()); \n\ -anInterpolation.Perform(); \n\ - \n\ -Handle(Geom_BSplineCurve) SPL2; \n\ -if (anInterpolation.IsDone()) \n\ - SPL2 = anInterpolation.Curve(); \n\ -else \n\ - MessageBox(0,\"The Interpolation is Not done\",\"CasCade Warning\",MB_ICONWARNING); \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - TCollection_AsciiString aString; - for(Standard_Integer i = array.Lower();i<=array.Upper();i++){ - gp_Pnt P = array(i); - aString = "P";aString += TCollection_AsciiString(i); - if (i == 1) aString += " (array) "; - DisplayPoint(aContext,P,aString,Standard_False,0.5);\ - aString = "P";aString += TCollection_AsciiString(i); - if (i == 1) aString += " (harray) "; - DisplayPoint(aContext,P.Translated(gp_Vec(4,0,0)),aString,Standard_False,0.5);\ - - } - - Handle(ISession_Curve) aCurve = new ISession_Curve(SPL1); - aContext->SetDisplayMode(aCurve,1); - aContext->Display(aCurve); - - if (anInterpolation.IsDone()) { - Handle(ISession_Curve) aCurve2 = new ISession_Curve(SPL2); - aContext->SetDisplayMode(aCurve2,1); - aContext->Display(aCurve2); - } -} - -//=============================================================== -// Function name: gpTest34 -//=============================================================== - void SampleGeometryPackage::gpTest34(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); -//============================================================== - -TColgp_Array1OfPnt array (1,5); // sizing array -array.SetValue(1,gp_Pnt(0,0,1)); -array.SetValue(2,gp_Pnt(1,2,2)); -array.SetValue(3,gp_Pnt(2,3,3)); -array.SetValue(4,gp_Pnt(4,4,4)); -array.SetValue(5,gp_Pnt(5,5,5)); - -GProp_PEquation PE (array,1.5 ); - -if (PE.IsPoint()){ /* ... */ } -gp_Lin L; -if (PE.IsLinear()) { L = PE.Line(); } -if (PE.IsPlanar()){ /* ... */ } -if (PE.IsSpace()) { /* ... */ } - -//============================================================== - Message = " \ - \n\ -TColgp_Array1OfPnt array (1,5); // sizing array \n\ -array.SetValue(1,gp_Pnt(0,0,1)); \n\ -array.SetValue(2,gp_Pnt(1,2,2)); \n\ -array.SetValue(3,gp_Pnt(2,3,3)); \n\ -array.SetValue(4,gp_Pnt(4,4,4)); \n\ -array.SetValue(5,gp_Pnt(5,5,5)); \n\ - \n\ -GProp_PEquation PE (array,1.5 ); \n\ - \n\ -if (PE.IsPoint()){ /* ... */ } \n\ -gp_Lin L; \n\ -if (PE.IsLinear()) { L = PE.Line(); } \n\ -if (PE.IsPlanar()){ /* ... */ } \n\ -if (PE.IsSpace()) { /* ... */ } \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - TCollection_AsciiString aString; - for(Standard_Integer i = array.Lower();i<=array.Upper();i++){ - gp_Pnt P = array(i); - aString = "P";aString += TCollection_AsciiString(i); - DisplayPoint(aContext,P,aString,Standard_False,0.5); - } - - Message += " PE.IsPoint() = "; if (PE.IsPoint()) Message += "True \n"; else Message += "False\n"; - - if (PE.IsLinear()) { - Message += " PE.IsLinear() = True \n"; - L = PE.Line(); - Handle(Geom_Line) aLine = new Geom_Line(L); - Handle(Geom_TrimmedCurve) aTrimmedCurve = new Geom_TrimmedCurve(aLine,-10,10); - Handle(ISession_Curve) aCurve = new ISession_Curve(aTrimmedCurve); - aContext->Display(aCurve); - } - else - Message += "PE.IsLinear() = False \n"; - - Message += " PE.IsPlanar() = "; if (PE.IsPlanar()) Message += "True \n"; else Message += "False\n"; - Message += " PE.IsSpace() = "; if (PE.IsSpace() ) Message += "True \n"; else Message += "False\n"; -} - -//=============================================================== -// Function name: gpTest35 -//=============================================================== - void SampleGeometryPackage::gpTest35(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); -//============================================================== - -gp_Pnt P1(-5,-5,0); -gp_Pnt P2(9,9,9); -Handle(Geom_Curve) aCurve = GC_MakeSegment(P1,P2).Value(); -gp_Pnt P3(3,0,0); -gp_Pnt P4(3,0,10); -Standard_Real radius1 = 3; -Standard_Real radius2 = 2; -Handle(Geom_Surface) aSurface = - GC_MakeConicalSurface(P3,P4,radius1,radius2).Value(); -GeomAPI_IntCS CS (aCurve,aSurface); -Handle(Geom_Curve) segment; - -Standard_Integer NbSeg=0; -Standard_Integer NbPoints=0; -if(CS.IsDone()) - { - NbSeg = CS.NbSegments(); - Standard_Integer k; - for (k=1; k<=NbSeg; k++) - { - segment = CS.Segment(k); - // do something with the segment - } - - NbPoints = CS.NbPoints(); - for (k=1; k<=NbPoints; k++) - { -// gp_Pnt aPoint= - CS.Point(k); - // do something with the point - } - } - -//============================================================== - Message = " \ - \n\ -gp_Pnt P1(-5,-5,0); \n\ -gp_Pnt P2(9,9,9); \n\ -Handle(Geom_Curve) aCurve = GC_MakeSegment(P1,P2).Value(); \n\ -gp_Pnt P3(3,0,0); \n\ -gp_Pnt P4(3,0,10); \n\ -Standard_Real radius1 = 3; \n\ -Standard_Real radius2 = 2; \n\ -Handle(Geom_Surface) aSurface = \n\ - GC_MakeConicalSurface(P3,P4,radius1,radius2).Value(); \n\ -GeomAPI_IntCS CS (aCurve,aSurface); \n\ -Handle(Geom_Curve) segment; \n\ - \n\ -Standard_Integer NbSeg; \n\ -Standard_Integer NbPoints; \n\ -if(CS.IsDone()) \n\ - { \n\ - NbSeg = CS.NbSegments(); \n\ - for (Standard_Integer k=1; k<=NbSeg; k++) \n\ - { \n\ - segment = CS.Segment(k); \n\ - // do something with the segment \n\ - } \n\ - \n\ - NbPoints = CS.NbPoints(); \n\ - for (k=1; k<=NbPoints; k++) \n\ - { \n\ - gp_Pnt aPoint=CS.Point(k); \n\ - // do something with the point \n\ - } \n\ - } \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - - Handle(ISession_Curve) aCurve2 = new ISession_Curve(aCurve); - aContext->Display(aCurve2); - - Handle(Geom_RectangularTrimmedSurface) aTrimmedSurface= new Geom_RectangularTrimmedSurface(aSurface,-50.,50.,Standard_False); - - DisplaySurface(aContext,aTrimmedSurface); - - TCollection_AsciiString aString; - if(CS.IsDone()) - { - Standard_Integer NblocSeg = CS.NbSegments(); - Standard_Integer k; - for (k=1; k<=NblocSeg; k++) - { - segment = CS.Segment(k); - aString = "S_";aString += TCollection_AsciiString(k); - Handle(ISession_Curve) alocCurve = new ISession_Curve(segment); - aContext->Display(alocCurve); - } - - for ( k=1; k<=NbPoints; k++) - { - gp_Pnt aPoint=CS.Point(k); - aString = "P_";aString += TCollection_AsciiString(k); - DisplayPoint(aContext,aPoint,aString,Standard_False,0.5); - // do something with the point - } - } - - Message += "NbSeg = "; Message += TCollection_AsciiString(NbSeg); Message += "\n"; - Message += "NbPoints = "; Message += TCollection_AsciiString(NbPoints); Message += "\n"; -} - -//=============================================================== -// Function name: gpTest36 -//=============================================================== - void SampleGeometryPackage::gpTest36(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); -//============================================================== - -gp_Pnt centre (5,5,0); gp_Pnt axispoint (9,9,0); -Standard_Real radius = 3; -Handle(Geom_Circle) circle = - GC_MakeCircle(centre,axispoint,radius); - -Handle(Geom_Geometry) aRotatedEntity = circle->Rotated(gp::OZ(),PI/4); -Standard_CString aRotatedEntityTypeName = aRotatedEntity->DynamicType()->Name(); - -Handle(Geom_Geometry) aMirroredEntity = aRotatedEntity->Mirrored(gp::ZOX()); -Standard_CString aMirroredEntityTypeName = aMirroredEntity->DynamicType()->Name(); - -gp_Pnt scalepoint (4,8,0); -Standard_Real scalefactor = 0.2; -Handle(Geom_Geometry) aScaledEntity = - aMirroredEntity->Scaled(scalepoint, scalefactor); -Standard_CString aScaledEntityTypeName = aScaledEntity->DynamicType()->Name(); - -Handle (Geom_Transformation) GT = GC_MakeTranslation (centre, scalepoint); -gp_Trsf TR = GT->Trsf(); - -gp_Vec aTranslationVector(TR.TranslationPart ()); -Handle(Geom_Geometry) aTranslatedEntity = - aScaledEntity->Translated( aTranslationVector ); -Standard_CString aTranslatedEntityTypeName = aTranslatedEntity->DynamicType()->Name(); - -gp_Mat matrix = TR.HVectorialPart(); -Standard_Real value = matrix.Determinant(); - -//============================================================== - Message = " \ - \n\ -gp_Pnt centre (5,5,0); gp_Pnt axispoint (9,9,0); \n\ -Standard_Real radius = 3; \n\ -Handle(Geom_Circle) circle = \n\ - GC_MakeCircle(centre,axispoint,radius); \n\ - \n\ -Handle(Geom_Geometry) aRotatedEntity = circle->Rotated(gp::OZ(),PI/4); \n\ -Standard_CString aRotatedEntityTypeName = aRotatedEntity->DynamicType()->Name(); \n\ - \n\ -Handle(Geom_Geometry) aMirroredEntity = aRotatedEntity->Mirrored(gp::ZOX()); \n\ -Standard_CString aMirroredEntityTypeName = aMirroredEntity->DynamicType()->Name(); \n\ - \n\ -gp_Pnt scalepoint (4,8,0); \n\ -Standard_Real scalefactor = 0.2; \n\ -Handle(Geom_Geometry) aScaledEntity = \n\ - aMirroredEntity->Scaled(scalepoint, scalefactor); \n\ -Standard_CString aScaledEntityTypeName = aScaledEntity->DynamicType()->Name(); \n\ - \n\ -Handle (Geom_Transformation) GT = GC_MakeTranslation (centre, scalepoint); \n\ -gp_Trsf TR = GT->Trsf(); \n\ - \n"; - Message +="\ -gp_Vec aTranslationVector(TR.TranslationPart ()); \n\ -Handle(Geom_Geometry) aTranslatedEntity = \n\ - aScaledEntity->Translated( aTranslationVector ); \n\ -Standard_CString aTranslatedEntityTypeName = aTranslatedEntity->DynamicType()->Name(); \n\ - \n\ -gp_Mat matrix = TR.HVectorialPart(); \n\ -Standard_Real value = matrix.Determinant(); \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - - DisplayPoint(aContext,centre,"centre",Standard_False,0.5); - DisplayPoint(aContext,axispoint,"axispoint",Standard_False,0.5); - DisplayPoint(aContext,scalepoint,"scalepoint",Standard_False,0.5); - - DisplayCurve(aContext,circle, Quantity_NOC_RED,Standard_False); - DisplayCurve(aContext,Handle(Geom_Curve)::DownCast(aRotatedEntity),Quantity_NOC_PEACHPUFF, Standard_False); - DisplayCurve(aContext,Handle(Geom_Curve)::DownCast(aMirroredEntity), Quantity_NOC_YELLOWGREEN,Standard_False); - DisplayCurve(aContext,Handle(Geom_Curve)::DownCast(aScaledEntity), Quantity_NOC_GREEN,Standard_False); - DisplayCurve(aContext,Handle(Geom_Curve)::DownCast(aTranslatedEntity),Quantity_NOC_WHITE,Standard_False); - - Message += " PI = ";Message+= TCollection_AsciiString(PI); Message += "\n"; - Message += " circle is Red; aRotatedEntity is Peach; aMirroredEntity is Yellow Green\n"; - Message += " aScaleEntity is Green; aTranslatedEntity is White\n\n"; - - Message += " aTranslationVector ( "; - Message += TCollection_AsciiString(aTranslationVector.X()); Message += " , "; - Message += TCollection_AsciiString(aTranslationVector.Y()); Message += " , "; - Message += TCollection_AsciiString(aTranslationVector.Z()); Message += " ); \n"; - - Message += " value = ";Message+= TCollection_AsciiString(value); Message += "\n"; - - Message += " aRotatedEntityTypeName = ";Message+= aRotatedEntityTypeName; Message += "\n"; - Message += " aMirroredEntityTypeName = ";Message+= aMirroredEntityTypeName; Message += "\n"; - Message += " aScaledEntityTypeName = ";Message+= aScaledEntityTypeName; Message += "\n"; - Message += " aTranslatedEntityTypeName = ";Message+= aTranslatedEntityTypeName; Message += "\n"; -} - -//=============================================================== -// Function name: gpTest37 -//=============================================================== - void SampleGeometryPackage::gpTest37(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); -//============================================================== - -TColgp_Array1OfPnt anArrayofPnt (1,5); // sizing array -anArrayofPnt.SetValue(1,gp_Pnt(0,0,1)); -anArrayofPnt.SetValue(2,gp_Pnt(1,2,2)); -anArrayofPnt.SetValue(3,gp_Pnt(2,3,3)); -anArrayofPnt.SetValue(4,gp_Pnt(4,3,4)); -anArrayofPnt.SetValue(5,gp_Pnt(5,5,5)); - -Standard_Real Tolerance = 1; - -gp_Pln P; -GProp_PEquation PE (anArrayofPnt,Tolerance); -if (PE.IsPlanar()) { P = PE.Plane();} - -if (PE.IsPoint()) { /* ... */ } -if (PE.IsLinear()) { /* ... */ } -if (PE.IsPlanar()) { P = PE.Plane();} -if (PE.IsSpace()) { /* ... */ } - -//============================================================== - Message = " \ - \n\ -TColgp_Array1OfPnt anArrayofPnt (1,5); // sizing array \n\ -anArrayofPnt.SetValue(1,gp_Pnt(0,0,1)); \n\ -anArrayofPnt.SetValue(2,gp_Pnt(1,2,2)); \n\ -anArrayofPnt.SetValue(3,gp_Pnt(2,3,3)); \n\ -anArrayofPnt.SetValue(4,gp_Pnt(4,3,4)); \n\ -anArrayofPnt.SetValue(5,gp_Pnt(5,5,5)); \n\ - \n\ -Standard_Real Tolerance = 1; \n\ - \n\ -gp_Pln P; \n\ -GProp_PEquation PE (anArrayofPnt,Tolerance); \n\ -if (PE.IsPlanar()) { P = PE.Plane();} \n\ - \n\ -if (PE.IsPoint()) { /* ... */ } \n\ -if (PE.IsLinear()) { /* ... */ } \n\ -if (PE.IsPlanar()) { P = PE.Plane();} \n\ -if (PE.IsSpace()) { /* ... */ } \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - - TCollection_AsciiString aString; - for(Standard_Integer i = anArrayofPnt.Lower();i<=anArrayofPnt.Upper();i++){ - gp_Pnt P = anArrayofPnt(i); - aString = "P";aString += TCollection_AsciiString(i); - DisplayPoint(aContext,P,aString,Standard_False,0.5); - } - - Message += " PE.IsPoint() = "; if (PE.IsPoint()) Message += "True \n"; else Message += "False\n"; - Message += " PE.IsLinear() = "; if (PE.IsLinear()) Message += "True \n"; else Message += "False\n"; - - if (PE.IsPlanar()) { - Message += " PE.IsPlanar() = True \n"; - P = PE.Plane(); - Handle(Geom_Plane) aPlane = new Geom_Plane(P); - Handle(Geom_RectangularTrimmedSurface) aSurface= new Geom_RectangularTrimmedSurface(aPlane,-4.,4.,-4.,4.); - - DisplaySurface(aContext,aSurface); - - } - else - Message += " PE.IsPlanar() = False \n"; - - Message += " PE.IsSpace() = "; if (PE.IsSpace() ) Message += "True \n"; else Message += "False\n"; -} - -//=============================================================== -// Function name: gpTest38 -//=============================================================== - void SampleGeometryPackage::gpTest38(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); -//============================================================== - -TColgp_Array1OfPnt array1 (1,5); // sizing array -array1.SetValue(1,gp_Pnt (-4,0,2 )); array1.SetValue(2,gp_Pnt (-7,2,2 )); -array1.SetValue(3,gp_Pnt (-6,3,1 )); array1.SetValue(4,gp_Pnt (-4,3,-1)); -array1.SetValue(5,gp_Pnt (-3,5,-2)); -Handle(Geom_BSplineCurve) SPL1 = GeomAPI_PointsToBSpline(array1).Curve(); - -TColgp_Array1OfPnt array2 (1,5); // sizing array -array2.SetValue(1,gp_Pnt (-4,0, 2)); array2.SetValue(2,gp_Pnt (-2,2,0 )); -array2.SetValue(3,gp_Pnt (2 ,3,-1)); array2.SetValue(4,gp_Pnt (3 ,7,-2)); -array2.SetValue(5,gp_Pnt (4 ,9,-1)); -Handle(Geom_BSplineCurve) SPL2 = GeomAPI_PointsToBSpline(array2).Curve(); - -GeomFill_FillingStyle Type = GeomFill_StretchStyle; -GeomFill_BSplineCurves aGeomFill1(SPL1,SPL2,Type); -Handle(Geom_BSplineSurface) aBSplineSurface1 = aGeomFill1.Surface(); - -Type = GeomFill_CoonsStyle; -GeomFill_BSplineCurves aGeomFill2( - Handle(Geom_BSplineCurve)::DownCast(SPL1->Translated(gp_Vec(10,0,0))), - Handle(Geom_BSplineCurve)::DownCast(SPL2->Translated(gp_Vec(10,0,0))),Type); -Handle(Geom_BSplineSurface) aBSplineSurface2 = aGeomFill2.Surface(); -Type = GeomFill_CurvedStyle; -GeomFill_BSplineCurves aGeomFill3( - Handle(Geom_BSplineCurve)::DownCast(SPL1->Translated(gp_Vec(20,0,0))), - Handle(Geom_BSplineCurve)::DownCast(SPL2->Translated(gp_Vec(20,0,0))),Type); -Handle(Geom_BSplineSurface) aBSplineSurface3 = aGeomFill3.Surface(); - -//============================================================== - Message = " \ - \n\ -TColgp_Array1OfPnt array1 (1,5); // sizing array \n\ -array1.SetValue(1,gp_Pnt (-4,0,2 )); array1.SetValue(2,gp_Pnt (-7,2,2 )); \n\ -array1.SetValue(3,gp_Pnt (-6,3,1 )); array1.SetValue(4,gp_Pnt (-4,3,-1)); \n\ -array1.SetValue(5,gp_Pnt (-3,5,-2)); \n\ -Handle(Geom_BSplineCurve) SPL1 = GeomAPI_PointsToBSpline(array1).Curve(); \n\ - \n\ -TColgp_Array1OfPnt array2 (1,5); // sizing array \n\ -array2.SetValue(1,gp_Pnt (-4,0, 2)); array2.SetValue(2,gp_Pnt (-2,2,0 )); \n\ -array2.SetValue(3,gp_Pnt (2 ,3,-1)); array2.SetValue(4,gp_Pnt (3 ,7,-2)); \n\ -array2.SetValue(5,gp_Pnt (4 ,9,-1)); \n\ -Handle(Geom_BSplineCurve) SPL2 = GeomAPI_PointsToBSpline(array2).Curve(); \n\ - \n\ -GeomFill_FillingStyle Type = GeomFill_StretchStyle; \n\ -GeomFill_BSplineCurves aGeomFill1(SPL1,SPL2,Type); \n\ -Handle(Geom_BSplineSurface) aBSplineSurface1 = aGeomFill1.Surface(); \n\ - \n\ -Type = GeomFill_CoonsStyle; \n\ -GeomFill_BSplineCurves aGeomFill2( \n"; -Message += "\ - Handle(Geom_BSplineCurve)::DownCast(SPL1->Translated(gp_Vec(10,0,0))), \n\ - Handle(Geom_BSplineCurve)::DownCast(SPL2->Translated(gp_Vec(10,0,0))),Type); \n\ -Handle(Geom_BSplineSurface) aBSplineSurface2 = aGeomFill2.Surface(); \n\ -Type = GeomFill_CurvedStyle; \n\ -GeomFill_BSplineCurves aGeomFill3( \n\ - Handle(Geom_BSplineCurve)::DownCast(SPL1->Translated(gp_Vec(20,0,0))), \n\ - Handle(Geom_BSplineCurve)::DownCast(SPL2->Translated(gp_Vec(20,0,0))),Type); \n\ -Handle(Geom_BSplineSurface) aBSplineSurface3 = aGeomFill3.Surface(); \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - - // Trace des frontieres. -> FreeBoundaryAspect - // Trace des isoparametriques. --> UIsoAspect() - - DisplaySurface(aContext,aBSplineSurface1,Quantity_NOC_YELLOW); - DisplaySurface(aContext,aBSplineSurface2,Quantity_NOC_SALMON); - DisplaySurface(aContext,aBSplineSurface3,Quantity_NOC_HOTPINK); - - for (int i=0;i<=2;i++) - { - DisplayCurve(aContext,Handle(Geom_BSplineCurve)::DownCast(SPL1->Translated(gp_Vec(i*10,0,0))), Quantity_NOC_RED,Standard_False); - DisplayCurve(aContext,Handle(Geom_BSplineCurve)::DownCast(SPL2->Translated(gp_Vec(i*10,0,0))), Quantity_NOC_GREEN,Standard_False); - } - - Message += "SPL1 is Red; \n"; - Message += "SPL2 is Green; \n"; - Message += "aBSplineSurface1 is Yellow; ( GeomFill_StretchStyle )\n"; - Message += "aBSplineSurface2 is Salmon; ( GeomFill_CoonsStyle ) \n"; - Message += "aBSplineSurface3 is Hot pink; ( GeomFill_CurvedStyle ) \n"; -} - -//=============================================================== -// Function name: gpTest39 -//=============================================================== - void SampleGeometryPackage::gpTest39(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); -//============================================================== - -TColgp_Array1OfPnt array1 (1,5); // sizing array -array1.SetValue(1,gp_Pnt (-4,0,2 )); -array1.SetValue(2,gp_Pnt (-5,1,0 )); -array1.SetValue(3,gp_Pnt (-6,2,-2 )); -array1.SetValue(4,gp_Pnt (-5,4,-7)); -array1.SetValue(5,gp_Pnt (-3,5,-12)); - -TColgp_Array1OfPnt array2 (1,5); // sizing array -array2.SetValue(1,gp_Pnt (-4,0, 2)); -array2.SetValue(2,gp_Pnt (-3,2,1 )); -array2.SetValue(3,gp_Pnt (-1,5,0)); -array2.SetValue(4,gp_Pnt (2 ,7,-1)); -array2.SetValue(5,gp_Pnt (4 ,9,-1)); - -TColgp_Array1OfPnt array3 (1,4); // sizing array -array3.SetValue(1,gp_Pnt (-3,5, -12)); -array3.SetValue(2,gp_Pnt (-2,6,-7 )); -array3.SetValue(3,gp_Pnt (0 ,8,-3)); -array3.SetValue(4,gp_Pnt (4 ,9,-1)); - -Handle(Geom_BSplineCurve) SPL1 = GeomAPI_PointsToBSpline(array1).Curve(); -Handle(Geom_BSplineCurve) SPL2 = GeomAPI_PointsToBSpline(array2).Curve(); -Handle(Geom_BSplineCurve) SPL3 = GeomAPI_PointsToBSpline(array3).Curve(); - -Handle(GeomAdaptor_HCurve) SPL1Adaptor = new GeomAdaptor_HCurve(SPL1); -Handle(GeomFill_SimpleBound) B1 = - new GeomFill_SimpleBound(SPL1Adaptor,Precision::Approximation(),Precision::Angular()); -Handle(GeomAdaptor_HCurve) SPL2Adaptor = new GeomAdaptor_HCurve(SPL2); -Handle(GeomFill_SimpleBound) B2 = - new GeomFill_SimpleBound(SPL2Adaptor,Precision::Approximation(),Precision::Angular()); -Handle(GeomAdaptor_HCurve) SPL3Adaptor = new GeomAdaptor_HCurve(SPL3); -Handle(GeomFill_SimpleBound) B3 = - new GeomFill_SimpleBound(SPL3Adaptor,Precision::Approximation(),Precision::Angular()); -Standard_Boolean NoCheck= Standard_False; - -Standard_Integer MaxDeg = 8; -Standard_Integer MaxSeg = 2; -GeomFill_ConstrainedFilling aConstrainedFilling(MaxDeg, MaxSeg); - -aConstrainedFilling.Init(B1,B2,B3,NoCheck); - -Handle(Geom_BSplineSurface) aBSplineSurface = aConstrainedFilling.Surface(); - -//============================================================== - Message = " \ - \n\ -TColgp_Array1OfPnt array1 (1,5); // sizing array \n\ -... \n\ -Handle(Geom_BSplineCurve) SPL1 = GeomAPI_PointsToBSpline(array1).Curve(); \n\ -Handle(Geom_BSplineCurve) SPL2 = GeomAPI_PointsToBSpline(array2).Curve(); \n\ -Handle(Geom_BSplineCurve) SPL3 = GeomAPI_PointsToBSpline(array3).Curve(); \n\ - \n\ -Handle(GeomAdaptor_HCurve) SPL1Adaptor = new GeomAdaptor_HCurve(SPL1); \n\ -Handle(GeomFill_SimpleBound) B1 = \n\ - new GeomFill_SimpleBound(SPL1Adaptor,Precision::Approximation(),Precision::Angular()); \n\ -Handle(GeomAdaptor_HCurve) SPL2Adaptor = new GeomAdaptor_HCurve(SPL2); \n\ -Handle(GeomFill_SimpleBound) B2 = \n\ - new GeomFill_SimpleBound(SPL2Adaptor,Precision::Approximation(),Precision::Angular()); \n\ -Handle(GeomAdaptor_HCurve) SPL3Adaptor = new GeomAdaptor_HCurve(SPL3); \n\ -Handle(GeomFill_SimpleBound) B3 = \n\ - new GeomFill_SimpleBound(SPL3Adaptor,Precision::Approximation(),Precision::Angular()); \n\ -Standard_Boolean NoCheck= Standard_False; \n\ - \n\ -Standard_Integer MaxDeg = 8; \n"; -Message += "\ -Standard_Integer MaxSeg = 2; \n\ -GeomFill_ConstrainedFilling aConstrainedFilling(MaxDeg, MaxSeg); \n\ - \n\ -aConstrainedFilling.Init(B1,B2,B3,NoCheck); \n\ - \n\ -Handle(Geom_BSplineSurface) aBSplineSurface = aConstrainedFilling.Surface(); \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - - TCollection_AsciiString aString; - - DisplaySurface(aContext,aBSplineSurface,Quantity_NOC_YELLOW); - - DisplayCurve(aContext,SPL1,Quantity_NOC_RED ,Standard_False); - DisplayCurve(aContext,SPL2,Quantity_NOC_GREEN ,Standard_False); - DisplayCurve(aContext,SPL3,Quantity_NOC_BLUE1 ,Standard_False); - - Message += "SPL1 is Red; \n"; - Message += "SPL2 is Green; \n"; - Message += "SPL3 is Blue; \n"; - - Message += "aBSplineSurface is Yellow; \n"; -} - -//=============================================================== -// Function name: gpTest40 -//=============================================================== - void SampleGeometryPackage::gpTest40(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); -//============================================================== - -TColgp_Array1OfPnt array1 (1,5); // sizing array -array1.SetValue(1,gp_Pnt (-4,0,2 )); -array1.SetValue(2,gp_Pnt (-5,1,0 )); -array1.SetValue(3,gp_Pnt (-6,2,-2 )); -array1.SetValue(4,gp_Pnt (-5,4,-7)); -array1.SetValue(5,gp_Pnt (-3,5,-12)); - -Handle(Geom_BSplineCurve) SPL1 = - GeomAPI_PointsToBSpline(array1).Curve(); - -GeomFill_Pipe aPipe(SPL1,1); -aPipe.Perform(); -Handle(Geom_Surface) aSurface= aPipe.Surface(); -Standard_CString aSurfaceEntityTypeName="Not Computed"; -if (!aSurface.IsNull()) - aSurfaceEntityTypeName = aSurface->DynamicType()->Name(); - -Handle(Geom_Ellipse) E = GC_MakeEllipse( gp::XOY() ,3,1).Value(); -GeomFill_Pipe aPipe2(SPL1,E); -aPipe2.Perform(); -Handle(Geom_Surface) aSurface2= aPipe2.Surface(); -Standard_CString aSurfaceEntityTypeName2="Not Computed"; -if (!aSurface2.IsNull()) { - aSurfaceEntityTypeName2 = aSurface2->DynamicType()->Name(); - aSurface2->Translate(gp_Vec(5,0,0)); } - -Handle(Geom_TrimmedCurve) TC1 = - GC_MakeSegment(gp_Pnt(1,1,1),gp_Pnt(5,5,5)); -Handle(Geom_TrimmedCurve) TC2 = - GC_MakeSegment(gp_Pnt(1,1,0),gp_Pnt(4,5,6)); -GeomFill_Pipe aPipe3(SPL1,TC1,TC2); -aPipe3.Perform(); -Handle(Geom_Surface) aSurface3 = aPipe3.Surface(); -Standard_CString aSurfaceEntityTypeName3="Not Computed"; -if (!aSurface3.IsNull()) - { - aSurfaceEntityTypeName3 = aSurface3->DynamicType()->Name(); - aSurface3->Translate(gp_Vec(10,0,0)); - } - -//============================================================== - Message = " \ - \n\ - \n\ -TColgp_Array1OfPnt array1 (1,5); // sizing array \n\ -array1.SetValue(1,gp_Pnt (-4,0,2 )); \n\ -array1.SetValue(2,gp_Pnt (-5,1,0 )); \n\ -array1.SetValue(3,gp_Pnt (-6,2,-2 )); \n\ -array1.SetValue(4,gp_Pnt (-5,4,-7)); \n\ -array1.SetValue(5,gp_Pnt (-3,5,-12)); \n\ - \n\ -Handle(Geom_BSplineCurve) SPL1 = \n\ - GeomAPI_PointsToBSpline(array1).Curve(); \n\ - \n\ -GeomFill_Pipe aPipe(SPL1,1); \n\ -aPipe.Perform(); \n\ -Handle(Geom_Surface) aSurface= aPipe.Surface(); \n\ -Standard_CString aSurfaceEntityTypeName=\"Not Computed\"; \n\ -if (!aSurface.IsNull()) \n\ - aSurfaceEntityTypeName = aSurface->DynamicType()->Name(); \n\ - \n\ -Handle(Geom_Ellipse) E = GC_MakeEllipse( gp::XOY() ,3,1).Value(); \n\ -GeomFill_Pipe aPipe2(SPL1,E); \n\ -aPipe2.Perform(); \n"; -Message += "\ -Handle(Geom_Surface) aSurface2= aPipe2.Surface(); \n\ -Standard_CString aSurfaceEntityTypeName2=\"Not Computed\"; \n\ -if (!aSurface2.IsNull()) { \n\ - aSurfaceEntityTypeName2 = aSurface2->DynamicType()->Name(); \n\ - aSurface2->Translate(gp_Vec(5,0,0)); } \n\ - \n\ -Handle(Geom_TrimmedCurve) TC1 = \n\ - GC_MakeSegment(gp_Pnt(1,1,1),gp_Pnt(5,5,5)); \n\ -Handle(Geom_TrimmedCurve) TC2 = \n\ - GC_MakeSegment(gp_Pnt(1,1,0),gp_Pnt(4,5,6)); \n\ -GeomFill_Pipe aPipe3(SPL1,TC1,TC2); \n\ -aPipe3.Perform(); \n\ -Handle(Geom_Surface) aSurface3 = aPipe3.Surface(); \n\ -Standard_CString aSurfaceEntityTypeName3=\"Not Computed\"; \n\ -if (!aSurface3.IsNull()) \n\ - { \n\ - aSurfaceEntityTypeName3 = aSurface3->DynamicType()->Name(); \n\ - aSurface3->Translate(gp_Vec(10,0,0)); \n\ - } \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - - - if (!aSurface.IsNull()) - { - DisplaySurface(aContext,aSurface,Quantity_NOC_YELLOW); - } - if (!aSurface2.IsNull()) - { - DisplaySurface(aContext,aSurface2,Quantity_NOC_YELLOW); - } - if (!aSurface3.IsNull()) - { - DisplaySurface(aContext,aSurface3,Quantity_NOC_YELLOW); - } - - DisplayCurve(aContext,SPL1,Quantity_NOC_RED ,Standard_False); - - Message += "SPL1 is Red; \n"; - - Message += " aSurfaceEntityTypeName = ";Message+= aSurfaceEntityTypeName; Message += "\n"; - Message += " aSurfaceEntityTypeName2 = ";Message+= aSurfaceEntityTypeName2; Message += "\n"; - Message += " aSurfaceEntityTypeName3 = ";Message+= aSurfaceEntityTypeName3; Message += "\n"; -} - -//=============================================================== -// Function name: gpTest41 -//=============================================================== - void SampleGeometryPackage::gpTest41(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); -//============================================================== - -TColgp_Array1OfPnt array1 (1,5); -array1.SetValue(1,gp_Pnt (-4,0,2 )); -array1.SetValue(2,gp_Pnt (-5,1,0 )); -array1.SetValue(3,gp_Pnt (-6,2,-2 )); -array1.SetValue(4,gp_Pnt (-5,4,-7)); -array1.SetValue(5,gp_Pnt (-3,5,-12)); - -Handle(Geom_BSplineCurve) SPL1 = - GeomAPI_PointsToBSpline(array1).Curve(); -Handle(Geom_Curve) FirstSect = - GC_MakeSegment(gp_Pnt(-4,0,2),gp_Pnt(-4,0,10)).Value(); - -GeomFill_Pipe aPipe(SPL1,FirstSect); -aPipe.Perform(); - -Handle(Geom_BSplineSurface) aPipeSurface = - Handle(Geom_BSplineSurface)::DownCast(aPipe.Surface()); -Handle(Geom_BSplineSurface) anotherBSplineSurface = - GeomConvert::SplitBSplineSurface(aPipeSurface,1,2,3,6); - -//============================================================== - Message = " \ - \n\ -TColgp_Array1OfPnt array1 (1,5); \n\ -array1.SetValue(1,gp_Pnt (-4,0,2 )); \n\ -array1.SetValue(2,gp_Pnt (-5,1,0 )); \n\ -array1.SetValue(3,gp_Pnt (-6,2,-2 )); \n\ -array1.SetValue(4,gp_Pnt (-5,4,-7)); \n\ -array1.SetValue(5,gp_Pnt (-3,5,-12)); \n\ - \n\ -Handle(Geom_BSplineCurve) SPL1 = \n\ - GeomAPI_PointsToBSpline(array1).Curve(); \n\ -Handle(Geom_Curve) FirstSect = \n\ - GC_MakeSegment(gp_Pnt(-4,0,2),gp_Pnt(-4,0,10)).Value(); \n\ - \n\ -GeomFill_Pipe aPipe(SPL1,FirstSect); \n\ -aPipe.Perform(); \n\ - \n\ -Handle(Geom_BSplineSurface) aPipeSurface = \n\ - Handle(Geom_BSplineSurface)::DownCast(aPipe.Surface()); \n\ -Handle(Geom_BSplineSurface) anotherBSplineSurface = \n\ - GeomConvert::SplitBSplineSurface(aPipeSurface,1,2,3,6); \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - - - if (!aPipeSurface.IsNull()) - { - DisplaySurface(aContext,aPipeSurface,Quantity_NOC_YELLOW); - } - - if (!anotherBSplineSurface.IsNull()) - { - DisplaySurface(aContext,anotherBSplineSurface,Quantity_NOC_HOTPINK); - } - - DisplayCurve(aContext,SPL1,Quantity_NOC_RED ,Standard_False); - DisplayCurve(aContext,FirstSect,Quantity_NOC_GREEN ,Standard_False); - - Message += "SPL1 is Red; \n"; - Message += "SPL2 is Green; \n"; - Message += "SPL3 is Blue; \n"; - Message += "aBSplineSurface is Yellow; \n"; - Message += "anotherBSplineSurface is Hot Pink; \n"; -} - -//=============================================================== -// Function name: gpTest42 -//=============================================================== - void SampleGeometryPackage::gpTest42(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); -//============================================================== - -TColgp_Array2OfPnt array1(1,3,1,3); -TColgp_Array2OfPnt array2(1,3,1,3); -TColgp_Array2OfPnt array3(1,3,1,3); -TColgp_Array2OfPnt array4(1,3,1,3); - -array1.SetValue(1,1,gp_Pnt(1,1,1)); -array1.SetValue(1,2,gp_Pnt(2,1,2)); -array1.SetValue(1,3,gp_Pnt(3,1,1)); -array1.SetValue(2,1,gp_Pnt(1,2,1)); -array1.SetValue(2,2,gp_Pnt(2,2,2)); -array1.SetValue(2,3,gp_Pnt(3,2,0)); -array1.SetValue(3,1,gp_Pnt(1,3,2)); -array1.SetValue(3,2,gp_Pnt(2,3,1)); -array1.SetValue(3,3,gp_Pnt(3,3,0)); - -array2.SetValue(1,1,gp_Pnt(3,1,1)); -array2.SetValue(1,2,gp_Pnt(4,1,1)); -array2.SetValue(1,3,gp_Pnt(5,1,2)); -array2.SetValue(2,1,gp_Pnt(3,2,0)); -array2.SetValue(2,2,gp_Pnt(4,2,1)); -array2.SetValue(2,3,gp_Pnt(5,2,2)); -array2.SetValue(3,1,gp_Pnt(3,3,0)); -array2.SetValue(3,2,gp_Pnt(4,3,0)); -array2.SetValue(3,3,gp_Pnt(5,3,1)); - -array3.SetValue(1,1,gp_Pnt(1,3,2)); -array3.SetValue(1,2,gp_Pnt(2,3,1)); -array3.SetValue(1,3,gp_Pnt(3,3,0)); -array3.SetValue(2,1,gp_Pnt(1,4,1)); -array3.SetValue(2,2,gp_Pnt(2,4,0)); -array3.SetValue(2,3,gp_Pnt(3,4,1)); -array3.SetValue(3,1,gp_Pnt(1,5,1)); -array3.SetValue(3,2,gp_Pnt(2,5,1)); -array3.SetValue(3,3,gp_Pnt(3,5,2)); - -array4.SetValue(1,1,gp_Pnt(3,3,0)); -array4.SetValue(1,2,gp_Pnt(4,3,0)); -array4.SetValue(1,3,gp_Pnt(5,3,1)); -array4.SetValue(2,1,gp_Pnt(3,4,1)); -array4.SetValue(2,2,gp_Pnt(4,4,1)); -array4.SetValue(2,3,gp_Pnt(5,4,1)); -array4.SetValue(3,1,gp_Pnt(3,5,2)); -array4.SetValue(3,2,gp_Pnt(4,5,2)); -array4.SetValue(3,3,gp_Pnt(5,5,1)); - -Handle(Geom_BezierSurface) BZ1 = - new Geom_BezierSurface(array1); -Handle(Geom_BezierSurface) BZ2 = - new Geom_BezierSurface(array2); -Handle(Geom_BezierSurface) BZ3 = - new Geom_BezierSurface(array3); -Handle(Geom_BezierSurface) BZ4 = - new Geom_BezierSurface(array4); - -TColGeom_Array2OfBezierSurface bezierarray(1,2,1,2); -bezierarray.SetValue(1,1,BZ1); -bezierarray.SetValue(1,2,BZ2); -bezierarray.SetValue(2,1,BZ3); -bezierarray.SetValue(2,2,BZ4); - -GeomConvert_CompBezierSurfacesToBSplineSurface BB (bezierarray); - Handle(Geom_BSplineSurface) BSPLSURF ; -if (BB.IsDone()){ - BSPLSURF = new Geom_BSplineSurface( - BB.Poles()->Array2(), - BB.UKnots()->Array1(), - BB.VKnots()->Array1(), - BB.UMultiplicities()->Array1(), - BB.VMultiplicities()->Array1(), - BB.UDegree(), - BB.VDegree() ); - BSPLSURF->Translate(gp_Vec(0,0,2)); - } - -//============================================================== - Message = " \ - \n\ -TColgp_Array2OfPnt array1(1,3,1,3); \n\ -TColgp_Array2OfPnt array2(1,3,1,3); \n\ -TColgp_Array2OfPnt array3(1,3,1,3); \n\ -TColgp_Array2OfPnt array4(1,3,1,3); \n\ - \n\ -// array1.SetValue( ... \n\ - \n\ -Handle(Geom_BezierSurface) BZ1 = \n\ - new Geom_BezierSurface(array1); \n\ -Handle(Geom_BezierSurface) BZ2 = \n\ - new Geom_BezierSurface(array2); \n\ -Handle(Geom_BezierSurface) BZ3 = \n\ - new Geom_BezierSurface(array3); \n\ -Handle(Geom_BezierSurface) BZ4 = \n\ - new Geom_BezierSurface(array4); \n\ - \n\ -TColGeom_Array2OfBezierSurface bezierarray(1,2,1,2); \n\ -bezierarray.SetValue(1,1,BZ1); \n\ -bezierarray.SetValue(1,2,BZ2); \n\ -bezierarray.SetValue(2,1,BZ3); \n\ -bezierarray.SetValue(2,2,BZ4); \n\ - \n\ -GeomConvert_CompBezierSurfacesToBSplineSurface BB (bezierarray); \n\ - Handle(Geom_BSplineSurface) BSPLSURF ; \n\ -if (BB.IsDone()){ \n\ - BSPLSURF = new Geom_BSplineSurface( \n\ - BB.Poles()->Array2(), \n\ - BB.UKnots()->Array1(), \n"; - Message += "\ - BB.VKnots()->Array1(), \n\ - BB.UMultiplicities()->Array1(), \n\ - BB.VMultiplicities()->Array1(), \n\ - BB.UDegree(), \n\ - BB.VDegree() ); \n\ - BSPLSURF->Translate(gp_Vec(0,0,2)); \n\ - } \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - - DisplaySurface(aContext,BZ1,Quantity_NOC_RED); - DisplaySurface(aContext,BZ2,Quantity_NOC_GREEN); - DisplaySurface(aContext,BZ3,Quantity_NOC_BLUE1); - DisplaySurface(aContext,BZ4,Quantity_NOC_BROWN); - - if (BB.IsDone()){ - DisplaySurface(aContext,BSPLSURF,Quantity_NOC_HOTPINK); - } - - Message += "BZ1 is Red; \n"; - Message += "BZ2 is Green; \n"; - Message += "BZ3 is Blue; \n"; - Message += "BZ4 is Brown; \n"; - Message += "BSPLSURF is Hot Pink; \n"; -} - -//=============================================================== -// Function name: gpTest43 -//=============================================================== - void SampleGeometryPackage::gpTest43(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); -//============================================================== - -TColgp_Array1OfPnt array1 (1,5); -array1.SetValue(1,gp_Pnt (-4,5,5 )); -array1.SetValue(2,gp_Pnt (-3,6,6 )); -array1.SetValue(3,gp_Pnt (-1,7,7 )); -array1.SetValue(4,gp_Pnt (0,8,8)); -array1.SetValue(5,gp_Pnt (2,9,9)); -Handle(Geom_BSplineCurve) SPL1 = - GeomAPI_PointsToBSpline(array1).Curve(); - -TColgp_Array1OfPnt array2 (1,5); -array2.SetValue(1,gp_Pnt (-4,5,2 )); -array2.SetValue(2,gp_Pnt (-3,6,3 )); -array2.SetValue(3,gp_Pnt (-1,7,4 )); -array2.SetValue(4,gp_Pnt (0,8,5)); -array2.SetValue(5,gp_Pnt (2,9,6)); -Handle(Geom_BSplineCurve) SPL2 = - GeomAPI_PointsToBSpline(array2).Curve(); - -GeomFill_FillingStyle Type = GeomFill_StretchStyle; -GeomFill_BSplineCurves aGeomFill1(SPL1,SPL2,Type); -Handle(Geom_BSplineSurface) aGeomSurface = aGeomFill1.Surface(); -Standard_Real offset = 1; -Handle(Geom_OffsetSurface) GOS = new Geom_OffsetSurface(aGeomSurface, offset); - offset = 2; -Handle(Geom_OffsetSurface) GOS1 = new Geom_OffsetSurface(aGeomSurface, offset); -offset = 3; -Handle(Geom_OffsetSurface) GOS2 = new Geom_OffsetSurface(aGeomSurface, offset); - -//============================================================== - Message = " \ - \n\ -TColgp_Array1OfPnt array1 (1,5); \n\ -//array1.SetValue( ... \n\ -Handle(Geom_BSplineCurve) SPL1 = \n\ - GeomAPI_PointsToBSpline(array1).Curve(); \n\ - \n\ -TColgp_Array1OfPnt array2 (1,5); \n\ -// array2.SetValue( ... \n\ - \n\ -Handle(Geom_BSplineCurve) SPL2 = \n\ - GeomAPI_PointsToBSpline(array2).Curve(); \n\ - \n\ -GeomFill_FillingStyle Type = GeomFill_StretchStyle; \n\ -GeomFill_BSplineCurves aGeomFill1(SPL1,SPL2,Type); \n\ -Handle(Geom_BSplineSurface) aGeomSurface = aGeomFill1.Surface(); \n\ -Standard_Real offset = 1; \n\ -Handle(Geom_OffsetSurface) GOS = new Geom_OffsetSurface(aGeomSurface, offset); \n\ - offset = 2; \n\ -Handle(Geom_OffsetSurface) GOS1 = new Geom_OffsetSurface(aGeomSurface, offset); \n\ -offset = 3; \n\ -Handle(Geom_OffsetSurface) GOS2 = new Geom_OffsetSurface(aGeomSurface, offset); \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - - DisplaySurface(aContext,aGeomSurface,Quantity_NOC_BLUE1); - DisplaySurface(aContext,GOS,Quantity_NOC_GREEN); - DisplaySurface(aContext,GOS1,Quantity_NOC_GREEN); - DisplaySurface(aContext,GOS2,Quantity_NOC_GREEN); - - DisplayCurve(aContext,SPL1,Quantity_NOC_RED ,Standard_False); - DisplayCurve(aContext,SPL2,Quantity_NOC_HOTPINK ,Standard_False); - - Message += "aGeomSurface is Blue; \n"; - Message += "GOS are Green; \n"; -} - -//=============================================================== -// Function name: gpTest44 -//=============================================================== - void SampleGeometryPackage::gpTest44(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); -//============================================================== - -gp_Pnt P1(0,0,1); -gp_Pnt P2(1,2,2); -gp_Pnt P3(2,3,3); -gp_Pnt P4(4,3,4); -gp_Pnt P5(5,5,5); -TColgp_Array1OfPnt array (1,5); -array.SetValue(1,P1); -array.SetValue(2,P2); -array.SetValue(3,P3); -array.SetValue(4,P4); -array.SetValue(5,P5); -Handle(Geom_BSplineCurve) aCurve = - GeomAPI_PointsToBSpline(array).Curve(); -gp_Dir aDir(1,2,3); -Handle(Geom_SurfaceOfLinearExtrusion) SOLE = - new Geom_SurfaceOfLinearExtrusion(aCurve,aDir); - -Handle(Geom_RectangularTrimmedSurface) aTrimmedSurface = - new Geom_RectangularTrimmedSurface(SOLE,-10,10,Standard_False); - -Standard_CString SOLEEntityTypeName="Not Computed"; -if (!SOLE.IsNull()) - { - SOLEEntityTypeName = SOLE->DynamicType()->Name(); - } - -//============================================================== - Message = " \ - \n\ -gp_Pnt P1(0,0,1); \n\ -gp_Pnt P2(1,2,2); \n\ -gp_Pnt P3(2,3,3); \n\ -gp_Pnt P4(4,3,4); \n\ -gp_Pnt P5(5,5,5); \n\ -TColgp_Array1OfPnt array (1,5); \n\ -array.SetValue(1,P1); \n\ -array.SetValue(2,P2); \n\ -array.SetValue(3,P3); \n\ -array.SetValue(4,P4); \n\ -array.SetValue(5,P5); \n\ -Handle(Geom_BSplineCurve) aCurve = \n\ - GeomAPI_PointsToBSpline(array).Curve(); \n\ -gp_Dir aDir(1,2,3); \n\ -Handle(Geom_SurfaceOfLinearExtrusion) SOLE = \n\ - new Geom_SurfaceOfLinearExtrusion(aCurve,aDir); \n\ - \n\ -Handle(Geom_RectangularTrimmedSurface) aTrimmedSurface = \n\ - new Geom_RectangularTrimmedSurface(SOLE,-10,10,false); \n\ - \n\ -Standard_CString SOLEEntityTypeName=\"Not Computed\"; \n\ -if (!SOLE.IsNull()) \n\ - { \n\ - SOLEEntityTypeName = SOLE->DynamicType()->Name(); \n\ - } \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - - DisplaySurface(aContext,aTrimmedSurface,Quantity_NOC_GREEN); - DisplayCurve(aContext,aCurve,Quantity_NOC_RED ,Standard_False); - - Message += "aCurve is Red; \n"; - Message += "aTrimmedSurface is Green; \n"; - - Message += " SOLEEntityTypeName = ";Message+= SOLEEntityTypeName; Message += "\n"; -} - -//=============================================================== -// Function name: gpTest45 -//=============================================================== - void SampleGeometryPackage::gpTest45(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); -//============================================================== - -TColgp_Array1OfPnt array (1,5); -array.SetValue(1,gp_Pnt (0,0,1)); -array.SetValue(2,gp_Pnt (1,2,2)); -array.SetValue(3,gp_Pnt (2,3,3)); -array.SetValue(4,gp_Pnt (4,3,4)); -array.SetValue(5,gp_Pnt (5,5,5)); -Handle(Geom_BSplineCurve) aCurve = - GeomAPI_PointsToBSpline(array).Curve(); -Handle(Geom_SurfaceOfRevolution) SOR = - new Geom_SurfaceOfRevolution(aCurve,gp::OX()); - -Standard_CString SOREntityTypeName="Not Computed"; -if (!SOR.IsNull()) - SOREntityTypeName = SOR->DynamicType()->Name(); - -//============================================================== - Message = " \ - \n\ -TColgp_Array1OfPnt array (1,5); \n\ -array.SetValue(1,gp_Pnt 0,0,1)); \n\ -array.SetValue(2,gp_Pnt (1,2,2)); \n\ -array.SetValue(3,gp_Pnt (2,3,3)); \n\ -array.SetValue(4,gp_Pnt (4,3,4)); \n\ -array.SetValue(5,gp_Pnt (5,5,5)); \n\ -Handle(Geom_BSplineCurve) aCurve = \n\ - GeomAPI_PointsToBSpline(array).Curve(); \n\ -Handle(Geom_SurfaceOfRevolution) SOR = \n\ - new Geom_SurfaceOfRevolution(aCurve,gp::OX()); \n\ - \n\ -Standard_CString SOREntityTypeName=\"Not Computed\"; \n\ -if (!SOR.IsNull()) \n\ - SOREntityTypeName = SOR->DynamicType()->Name(); \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - DisplaySurface(aContext,SOR,Quantity_NOC_GREEN); - DisplayCurve(aContext,aCurve,Quantity_NOC_RED ,Standard_False); - - Message += "aCurve is Red; \n"; - Message += "SOR is Green; \n"; - - Message += " SOREntityTypeName = ";Message+= SOREntityTypeName; Message += "\n"; -} - -//=============================================================== -// Function name: gpTest46 -//=============================================================== - void SampleGeometryPackage::gpTest46(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); -//============================================================== - -TColgp_Array1OfPnt array1 (1,5); -array1.SetValue(1,gp_Pnt (-4,5,5 )); -array1.SetValue(2,gp_Pnt (-3,6,6 )); -array1.SetValue(3,gp_Pnt (-1,6,7 )); -array1.SetValue(4,gp_Pnt (0,8,8)); -array1.SetValue(5,gp_Pnt (2,9,9)); -Handle(Geom_BSplineCurve) SPL1 = - GeomAPI_PointsToBSpline(array1).Curve(); - -TColgp_Array1OfPnt array2 (1,5); -array2.SetValue(1,gp_Pnt (-4,5,2 )); -array2.SetValue(2,gp_Pnt (-3,6,3 )); -array2.SetValue(3,gp_Pnt (-1,7,4 )); -array2.SetValue(4,gp_Pnt (0,8,5)); -array2.SetValue(5,gp_Pnt (2,9,6)); -Handle(Geom_BSplineCurve) SPL2 = - GeomAPI_PointsToBSpline(array2).Curve(); - -GeomFill_FillingStyle Type = GeomFill_StretchStyle; -GeomFill_BSplineCurves aGeomFill1(SPL1,SPL2,Type); -Handle(Geom_BSplineSurface) aGeomSurface = aGeomFill1.Surface(); - -Handle(Geom_BSplineSurface) aTranslatedGeomSurface = - Handle(Geom_BSplineSurface)::DownCast(aGeomSurface->Copy()); - -Standard_Real extension = 3; -Standard_Integer continuity = 2; -Standard_Boolean Udirection = Standard_True; -Standard_Boolean after = Standard_True; -GeomLib::ExtendSurfByLength (aTranslatedGeomSurface, - extension,continuity,Udirection,after); - -//============================================================== - Message = " \ - \n\ -TColgp_Array1OfPnt array1 (1,5); \n\ -// ... \n\ -Handle(Geom_BSplineCurve) SPL1 = \n\ - GeomAPI_PointsToBSpline(array1).Curve(); \n\ - \n\ -TColgp_Array1OfPnt array2 (1,5); \n\ -// ... \n\ -Handle(Geom_BSplineCurve) SPL2 = \n\ - GeomAPI_PointsToBSpline(array2).Curve(); \n\ - \n\ -GeomFill_FillingStyle Type = GeomFill_StretchStyle; \n\ -GeomFill_BSplineCurves aGeomFill1(SPL1,SPL2,Type); \n\ -Handle(Geom_BSplineSurface) aGeomSurface = aGeomFill1.Surface(); \n\ - \n\ -Handle(Geom_BSplineSurface) aTranslatedGeomSurface = \n\ - Handle(Geom_BSplineSurface)::DownCast(aGeomSurface->Copy()); \n\ - \n\ -Standard_Real extension = 3; \n\ -Standard_Integer continuity = 2; \n\ -Standard_Boolean Udirection = Standard_True; \n\ -Standard_Boolean after = Standard_True; \n\ -GeomLib::ExtendSurfByLength (aTranslatedGeomSurface, \n\ - extension,continuity,Udirection,after); \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - - if (!aGeomSurface.IsNull()) - { - DisplaySurface(aContext,aGeomSurface,Quantity_NOC_HOTPINK); - } - - if (!aTranslatedGeomSurface.IsNull()) - { - DisplaySurface(aContext,aTranslatedGeomSurface,Quantity_NOC_BLUE1); - } - - DisplayCurve(aContext,SPL1,Quantity_NOC_RED ,Standard_False); - DisplayCurve(aContext,SPL2,Quantity_NOC_GREEN ,Standard_False); - - Message += "aGeomSurface is Hot Pink; \n"; - Message += "aTranslatedGeomSurface is Blue; \n"; - Message += "SPL1 is Red; \n"; - Message += "SPL2 is Green; \n"; -} - -//=============================================================== -// Function name: gpTest47 -//=============================================================== - void SampleGeometryPackage::gpTest47(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); -//============================================================== - - -TColgp_Array1OfPnt array1 (1,5); -array1.SetValue(1,gp_Pnt (-5,1,2)); -array1.SetValue(2,gp_Pnt (-5,2,2)); -array1.SetValue(3,gp_Pnt (-5.3,3,1)); -array1.SetValue(4,gp_Pnt (-5,4,1)); -array1.SetValue(5,gp_Pnt (-5,5,2)); -Handle(Geom_BSplineCurve) SPL1 = - GeomAPI_PointsToBSpline(array1).Curve(); - -TColgp_Array1OfPnt array2 (1,5); -array2.SetValue(1,gp_Pnt (4,1,2)); -array2.SetValue(2,gp_Pnt (4,2,2)); -array2.SetValue(3,gp_Pnt (3.7,3,1)); -array2.SetValue(4,gp_Pnt (4,4,1)); -array2.SetValue(5,gp_Pnt (4,5,2)); -Handle(Geom_BSplineCurve) SPL2 = - GeomAPI_PointsToBSpline(array2).Curve(); - -GeomFill_FillingStyle Type = GeomFill_StretchStyle; - -GeomFill_BSplineCurves aGeomFill1(SPL1,SPL2,Type); -Handle(Geom_BSplineSurface) aSurf1 = aGeomFill1.Surface(); - -TColgp_Array2OfPnt array3 (1,5,1,5); -array3.SetValue(1,1,gp_Pnt (-4,-4,5)); -array3.SetValue(1,2,gp_Pnt (-4,-2,5)); -array3.SetValue(1,3,gp_Pnt (-4,0,4)); -array3.SetValue(1,4,gp_Pnt (-4,2,5)); -array3.SetValue(1,5,gp_Pnt (-4,4,5)); - -array3.SetValue(2,1,gp_Pnt (-2,-4,4)); -array3.SetValue(2,2,gp_Pnt (-2,-2,4)); -array3.SetValue(2,3,gp_Pnt (-2,0,4)); -array3.SetValue(2,4,gp_Pnt (-2,2,4)); -array3.SetValue(2,5,gp_Pnt (-2,5,4)); - -array3.SetValue(3,1,gp_Pnt (0,-4,3.5)); -array3.SetValue(3,2,gp_Pnt (0,-2,3.5)); -array3.SetValue(3,3,gp_Pnt (0,0,3.5)); -array3.SetValue(3,4,gp_Pnt (0,2,3.5)); -array3.SetValue(3,5,gp_Pnt (0,5,3.5)); - -array3.SetValue(4,1,gp_Pnt (2,-4,4)); -array3.SetValue(4,2,gp_Pnt (2,-2,4)); -array3.SetValue(4,3,gp_Pnt (2,0,3.5)); -array3.SetValue(4,4,gp_Pnt (2,2,5)); -array3.SetValue(4,5,gp_Pnt (2,5,4)); - -array3.SetValue(5,1,gp_Pnt (4,-4,5)); -array3.SetValue(5,2,gp_Pnt (4,-2,5)); -array3.SetValue(5,3,gp_Pnt (4,0,5)); -array3.SetValue(5,4,gp_Pnt (4,2,6)); -array3.SetValue(5,5,gp_Pnt (4,5,5)); - -Handle(Geom_BSplineSurface) aSurf2 = - GeomAPI_PointsToBSplineSurface(array3).Surface(); - -GeomAPI_ExtremaSurfaceSurface ESS(aSurf1,aSurf2); -//Quantity_Length dist = - ESS.LowerDistance(); -gp_Pnt P1,P2; -ESS.NearestPoints(P1,P2); - -gp_Pnt P3,P4; -Handle(Geom_Curve) aCurve; -Standard_Integer NbExtrema = ESS.NbExtrema(); -for(Standard_Integer k=1;k<=NbExtrema;k++){ - ESS.Points(k,P3,P4); - aCurve= GC_MakeSegment(P3,P4).Value(); - DisplayCurve(aContext,aCurve,Quantity_NOC_YELLOW3,Standard_False); -} - - -//============================================================== - Message = " \n\ -GeomFill_FillingStyle Type = GeomFill_StretchStyle; \n\ - \n\ -GeomFill_BSplineCurves aGeomFill1(SPL1,SPL2,Type); \n\ -Handle(Geom_BSplineSurface) aSurf1 = aGeomFill1.Surface(); \n\ - \n\ -Handle(Geom_BSplineSurface) aSurf2 = \n\ - GeomAPI_PointsToBSplineSurface(array3).Surface(); \n\ - \n\ -GeomAPI_ExtremaSurfaceSurface ESS(aSurf1,aSurf2); \n\ -Quantity_Length dist = ESS.LowerDistance(); \n\ -gp_Pnt P1,P2; \n\ -ESS.NearestPoints(P1,P2); \n\ - \n"; - - AddSeparator(Message); - Message += "aSurf1 is Green; \n"; - Message += "aSurf2 is Hot Pink; \n"; - Message += "Nearest points P1 and P2 are shown; \n"; - - //-------------------------------------------------------------- - - DisplaySurface(aContext,aSurf1,Quantity_NOC_GREEN); - DisplaySurface(aContext,aSurf2,Quantity_NOC_HOTPINK); - DisplayCurve(aContext,SPL1,Quantity_NOC_RED ,Standard_False); - DisplayCurve(aContext,SPL2,Quantity_NOC_AZURE ,Standard_False); - - DisplayPoint(aContext,P1,"P1"); - DisplayPoint(aContext,P2,"P2"); -} - -//=============================================================== -// Function name: gpTest48 -//=============================================================== - void SampleGeometryPackage::gpTest48(const Handle(ISession2D_InteractiveContext)& aContext2D, - TCollection_AsciiString& Message) -{ - aContext2D->EraseAll(); -//============================================================== - -Standard_Real radius = 3; -Handle(Geom2d_Circle) circle = - new Geom2d_Circle(gp_Ax22d(gp_Pnt2d(-7,2),gp_Dir2d(1,0)),radius); - -Handle(Geom2d_TrimmedCurve) C = new Geom2d_TrimmedCurve(circle,1,5); - -Geom2dAdaptor_Curve GAC (C); - - -TColgp_Array1OfPnt2d array (1,5); // sizing array -array.SetValue(1,gp_Pnt2d (0,0)); -array.SetValue(2,gp_Pnt2d (1,2)); -array.SetValue(3,gp_Pnt2d (2,3)); -array.SetValue(4,gp_Pnt2d (4,3)); -array.SetValue(5,gp_Pnt2d (5,5)); -Handle(Geom2d_BSplineCurve) SPL1 = - Geom2dAPI_PointsToBSpline(array); - - -Handle(TColgp_HArray1OfPnt2d) harray = - new TColgp_HArray1OfPnt2d (1,5); // sizing harray -harray->SetValue(1,gp_Pnt2d (13+ 0,0)); -harray->SetValue(2,gp_Pnt2d (13+ 1,2)); -harray->SetValue(3,gp_Pnt2d (13+ 2,3)); -harray->SetValue(4,gp_Pnt2d (13+ 4,3)); -harray->SetValue(5,gp_Pnt2d (13+ 5,5)); -Geom2dAPI_Interpolate anInterpolation(harray,Standard_True,0.01); -anInterpolation.Perform(); -Handle(Geom2d_BSplineCurve) SPL2 = anInterpolation.Curve(); - -Bnd_Box2d aCBox; -Geom2dAdaptor_Curve GACC (C); -BndLib_Add2dCurve::Add (GACC,Precision::Approximation(),aCBox); - -Standard_Real aCXmin, aCYmin, aCXmax, aCYmax; -aCBox.Get( aCXmin, aCYmin, aCXmax,aCYmax); - -Bnd_Box2d aSPL1Box; -Geom2dAdaptor_Curve GAC1 (SPL1); -BndLib_Add2dCurve::Add (GAC1,Precision::Approximation(),aSPL1Box); - -Standard_Real aSPL1Xmin,aSPL1Ymin,aSPL1Xmax,aSPL1Ymax; -aSPL1Box.Get( aSPL1Xmin, aSPL1Ymin, aSPL1Xmax,aSPL1Ymax); - -Bnd_Box2d aSPL2Box; -Geom2dAdaptor_Curve GAC2 (SPL2); -BndLib_Add2dCurve::Add (GAC2,Precision::Approximation(),aSPL2Box); - -Standard_Real aSPL2Xmin,aSPL2Ymin,aSPL2Xmax,aSPL2Ymax; -aSPL2Box.Get( aSPL2Xmin, aSPL2Ymin, aSPL2Xmax,aSPL2Ymax); - -//============================================================== - Message = " \ - \n\ -Standard_Real radius = 3; \n\ -Handle(Geom2d_Circle) circle = \n\ - new Geom2d_Circle(gp_Ax22d(gp_Pnt2d(-7,2),gp_Dir2d(1,0)),radius); \n\ - \n\ -Handle(Geom2d_TrimmedCurve) C = new Geom2d_TrimmedCurve(circle,1,5); \n\ -Geom2dAdaptor_Curve GAC (C); \n\ - \n\ -Handle(Geom2d_BSplineCurve) SPL1 ; // SPL1 = ... \n\ - \n\ -Handle(Geom2d_BSplineCurve) SPL2 ; // SPL2 = ... \n\ - \n\ -Bnd_Box2d aCBox; \n\ -Geom2dAdaptor_Curve GACC (C); \n\ -BndLib_Add2dCurve::Add (GACC,Precision::Approximation(),aCBox); \n\ - \n\ -Standard_Real aCXmin, aCYmin, aCXmax, aCYmax; \n\ -aCBox.Get( aCXmin, aCYmin, aCXmax,aCYmax); \n\ - \n\ -Bnd_Box2d aSPL1Box; \n\ -Geom2dAdaptor_Curve GAC1 (SPL1); \n\ -BndLib_Add2dCurve::Add (GAC1,Precision::Approximation(),aSPL1Box); \n\ - \n\ -Standard_Real aSPL1Xmin,aSPL1Ymin,aSPL1Xmax,aSPL1Ymax; \n\ -aSPL1Box.Get( aSPL1Xmin, aSPL1Ymin, aSPL1Xmax,aSPL1Ymax); \n"; -Message += "\ - \n\ -Bnd_Box2d aSPL2Box; \n\ -Geom2dAdaptor_Curve GAC2 (SPL2); \n\ -BndLib_Add2dCurve::Add (GAC2,Precision::Approximation(),aSPL2Box); \n\ - \n\ -Standard_Real aSPL2Xmin,aSPL2Ymin,aSPL2Xmax,aSPL2Ymax; \n\ -aSPL2Box.Get( aSPL2Xmin, aSPL2Ymin, aSPL2Xmax,aSPL2Ymax); \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - - DisplayCurve(aContext2D,C ,5); - DisplayCurve(aContext2D,SPL1,6 ); - DisplayCurve(aContext2D,SPL2,7 ); - - DisplayPoint(aContext2D,gp_Pnt2d(aCXmin,aCYmax),"aCXmin,aCYmax"); - DisplayPoint(aContext2D,gp_Pnt2d(aCXmax,aCYmax),"aCXmax,aCYmax"); - DisplayPoint(aContext2D,gp_Pnt2d(aCXmin,aCYmin),"aCXmin,aCYmin"); - DisplayPoint(aContext2D,gp_Pnt2d(aCXmax,aCYmin),"aCXmax,aCYmin"); - - DisplayCurve(aContext2D,GCE2d_MakeSegment(gp_Pnt2d(aCXmin,aCYmax),gp_Pnt2d(aCXmax,aCYmax)).Value() ,4); // X,Ymax - DisplayCurve(aContext2D,GCE2d_MakeSegment(gp_Pnt2d(aCXmin,aCYmin),gp_Pnt2d(aCXmax,aCYmin)).Value() ,4); // X,Ymin - DisplayCurve(aContext2D,GCE2d_MakeSegment(gp_Pnt2d(aCXmin,aCYmin),gp_Pnt2d(aCXmin,aCYmax)).Value() ,4); // Xmin,Y - DisplayCurve(aContext2D,GCE2d_MakeSegment(gp_Pnt2d(aCXmax,aCYmin),gp_Pnt2d(aCXmax,aCYmax)).Value() ,4); // Xmax,Y - - DisplayPoint(aContext2D,gp_Pnt2d(aSPL1Xmin,aSPL1Ymax),"aSPL1Xmin,aSPL1Ymax"); - DisplayPoint(aContext2D,gp_Pnt2d(aSPL1Xmax,aSPL1Ymax),"aSPL1Xmax,aSPL1Ymax"); - DisplayPoint(aContext2D,gp_Pnt2d(aSPL1Xmin,aSPL1Ymin),"aSPL1Xmin,aSPL1Ymin"); - DisplayPoint(aContext2D,gp_Pnt2d(aSPL1Xmax,aSPL1Ymin),"aSPL1Xmax,aSPL1Ymin"); - - DisplayCurve(aContext2D,GCE2d_MakeSegment(gp_Pnt2d(aSPL1Xmin,aSPL1Ymax),gp_Pnt2d(aSPL1Xmax,aSPL1Ymax)).Value() ,4); // X,Ymax - DisplayCurve(aContext2D,GCE2d_MakeSegment(gp_Pnt2d(aSPL1Xmin,aSPL1Ymin),gp_Pnt2d(aSPL1Xmax,aSPL1Ymin)).Value() ,4); // X,Ymin - DisplayCurve(aContext2D,GCE2d_MakeSegment(gp_Pnt2d(aSPL1Xmin,aSPL1Ymin),gp_Pnt2d(aSPL1Xmin,aSPL1Ymax)).Value() ,4); // Xmin,Y - DisplayCurve(aContext2D,GCE2d_MakeSegment(gp_Pnt2d(aSPL1Xmax,aSPL1Ymin),gp_Pnt2d(aSPL1Xmax,aSPL1Ymax)).Value() ,4); // Xmax,Y - - DisplayPoint(aContext2D,gp_Pnt2d(aSPL2Xmin,aSPL2Ymax),"aSPL2Xmin,aSPL2Ymax"); - DisplayPoint(aContext2D,gp_Pnt2d(aSPL2Xmax,aSPL2Ymax),"aSPL2Xmax,aSPL2Ymax"); - DisplayPoint(aContext2D,gp_Pnt2d(aSPL2Xmin,aSPL2Ymin),"aSPL2Xmin,aSPL2Ymin"); - DisplayPoint(aContext2D,gp_Pnt2d(aSPL2Xmax,aSPL2Ymin),"aSPL2Xmax,aSPL2Ymin"); - - DisplayCurve(aContext2D,GCE2d_MakeSegment(gp_Pnt2d(aSPL2Xmin,aSPL2Ymax),gp_Pnt2d(aSPL2Xmax,aSPL2Ymax)).Value() ,4); // X,Ymax - DisplayCurve(aContext2D,GCE2d_MakeSegment(gp_Pnt2d(aSPL2Xmin,aSPL2Ymin),gp_Pnt2d(aSPL2Xmax,aSPL2Ymin)).Value() ,4); // X,Ymin - DisplayCurve(aContext2D,GCE2d_MakeSegment(gp_Pnt2d(aSPL2Xmin,aSPL2Ymin),gp_Pnt2d(aSPL2Xmin,aSPL2Ymax)).Value() ,4); // Xmin,Y - DisplayCurve(aContext2D,GCE2d_MakeSegment(gp_Pnt2d(aSPL2Xmax,aSPL2Ymin),gp_Pnt2d(aSPL2Xmax,aSPL2Ymax)).Value() ,4); // Xmax,Y -} - -//=============================================================== -// Function name: gpTest49 -//=============================================================== - void SampleGeometryPackage::gpTest49(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); -//============================================================== - -Bnd_Box aBox; -Standard_Real radius = 100; -gp_Ax2 anAxis(gp_Pnt(0,0,0),gp_Dir(1,2,-5)); - -Handle(Geom_Circle) C = - new Geom_Circle(anAxis,radius); -GeomAdaptor_Curve GAC (C); -BndLib_Add3dCurve::Add (GAC,Precision::Approximation(),aBox); - -Standard_Real aXmin, aYmin, aZmin, aXmax, aYmax, aZmax ; -aBox.Get( aXmin, aYmin,aZmin, aXmax,aYmax,aZmax); - -//============================================================== - Message = " \ - \n\ -Bnd_Box aBox; \n\ -Standard_Real radius = 100; \n\ -gp_Ax2 anAxis(gp_Pnt(0,0,0),gp_Dir(1,2,-5)); \n\ - \n\ -Handle(Geom_Circle) C = \n\ - new Geom_Circle(anAxis,radius); \n\ -GeomAdaptor_Curve GAC (C); \n\ -BndLib_Add3dCurve::Add (GAC,Precision::Approximation(),aBox); \n\ - \n\ -Standard_Real aXmin, aYmin, aZmin, aXmax, aYmax, aZmax ; \n\ -aBox.Get( aXmin, aYmin,aZmin, aXmax,aYmax,aZmax); \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - - DisplayCurve(aContext,C,Quantity_NOC_BLUE1 ,Standard_False); - - DisplayPoint(aContext,gp_Pnt(aXmin,aYmax,aZmin),"aXmin,aYmax,aZmin"); - DisplayPoint(aContext,gp_Pnt(aXmax,aYmax,aZmin),"aXmax,aYmax,aZmin"); - DisplayPoint(aContext,gp_Pnt(aXmin,aYmin,aZmin),"aXmin,aYmin,aZmin"); - DisplayPoint(aContext,gp_Pnt(aXmax,aYmin,aZmin),"aXmax,aYmin,aZmin"); - - DisplayPoint(aContext,gp_Pnt(aXmin,aYmax,aZmax),"aXmin,aYmax,aZmax"); - DisplayPoint(aContext,gp_Pnt(aXmax,aYmax,aZmax),"aXmax,aYmax,aZmax"); - DisplayPoint(aContext,gp_Pnt(aXmin,aYmin,aZmax),"aXmin,aYmin,aZmax"); - DisplayPoint(aContext,gp_Pnt(aXmax,aYmin,aZmax),"aXmax,aYmin,aZmax"); - - DisplayCurve(aContext,GC_MakeSegment(gp_Pnt(aXmin,aYmax,aZmin), - gp_Pnt(aXmax,aYmax,aZmin)).Value() ,Quantity_NOC_RED); // X,Ymax,ZMin - DisplayCurve(aContext,GC_MakeSegment(gp_Pnt(aXmin,aYmin,aZmin), - gp_Pnt(aXmax,aYmin,aZmin)).Value() ,Quantity_NOC_RED); // X,Ymin,ZMin - DisplayCurve(aContext,GC_MakeSegment(gp_Pnt(aXmin,aYmin,aZmin), - gp_Pnt(aXmin,aYmax,aZmin)).Value() ,Quantity_NOC_RED); // Xmin,Y,ZMin - DisplayCurve(aContext,GC_MakeSegment(gp_Pnt(aXmax,aYmin,aZmin), - gp_Pnt(aXmax,aYmax,aZmin)).Value() ,Quantity_NOC_RED); // Xmax,Y,ZMin - DisplayCurve(aContext,GC_MakeSegment(gp_Pnt(aXmin,aYmax,aZmax), - gp_Pnt(aXmax,aYmax,aZmax)).Value() ,Quantity_NOC_RED); // X,Ymax,ZMax - DisplayCurve(aContext,GC_MakeSegment(gp_Pnt(aXmin,aYmin,aZmax), - gp_Pnt(aXmax,aYmin,aZmax)).Value() ,Quantity_NOC_RED); // X,Ymin,ZMax - DisplayCurve(aContext,GC_MakeSegment(gp_Pnt(aXmin,aYmin,aZmax), - gp_Pnt(aXmin,aYmax,aZmax)).Value() ,Quantity_NOC_RED); // Xmin,Y,ZMax - DisplayCurve(aContext,GC_MakeSegment(gp_Pnt(aXmax,aYmin,aZmax), - gp_Pnt(aXmax,aYmax,aZmax)).Value() ,Quantity_NOC_RED); // Xmax,Y,ZMax - DisplayCurve(aContext,GC_MakeSegment(gp_Pnt(aXmin,aYmin,aZmin), - gp_Pnt(aXmin,aYmin,aZmax)).Value() ,Quantity_NOC_RED); // Xmin,Ymin,Z - DisplayCurve(aContext,GC_MakeSegment(gp_Pnt(aXmax,aYmin,aZmin), - gp_Pnt(aXmax,aYmin,aZmax)).Value() ,Quantity_NOC_RED); // Xmax,Ymin,Z - DisplayCurve(aContext,GC_MakeSegment(gp_Pnt(aXmin,aYmax,aZmin), - gp_Pnt(aXmin,aYmax,aZmax)).Value() ,Quantity_NOC_RED); // Xmin,Ymax,Z - DisplayCurve(aContext,GC_MakeSegment(gp_Pnt(aXmax,aYmax,aZmin), - gp_Pnt(aXmax,aYmax,aZmax)).Value() ,Quantity_NOC_RED); // Xmax,Ymax,Z -/* - Handle(AIS_Trihedron) aTrihedron; - Handle(Geom_Axis2Placement) aTrihedronAxis=new Geom_Axis2Placement(gp::XOY()); - aTrihedron=new AIS_Trihedron(aTrihedronAxis); - aContext->Display(aTrihedron); -*/ -} - -//=============================================================== -// Function name: gpTest50 -//=============================================================== - void SampleGeometryPackage::gpTest50(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); -//============================================================== - -TColgp_Array1OfPnt array1 (1,5); -array1.SetValue(1,gp_Pnt (-40,00,20 )); -array1.SetValue(2,gp_Pnt (-70,20,20 )); -array1.SetValue(3,gp_Pnt (-60,30,10 )); -array1.SetValue(4,gp_Pnt (-40,30,-10)); -array1.SetValue(5,gp_Pnt (-30,50,-20)); -Handle(Geom_BSplineCurve) SPL1 = - GeomAPI_PointsToBSpline(array1).Curve(); - -TColgp_Array1OfPnt array2 (1,5); -array2.SetValue(1,gp_Pnt (-40,0, 20)); -array2.SetValue(2,gp_Pnt (-20,20,0 )); -array2.SetValue(3,gp_Pnt (20 ,30,-10)); -array2.SetValue(4,gp_Pnt (30 ,70,-20)); -array2.SetValue(5,gp_Pnt (40 ,90,-10)); -Handle(Geom_BSplineCurve) SPL2 = - GeomAPI_PointsToBSpline(array2).Curve(); - -GeomFill_FillingStyle Type = GeomFill_StretchStyle; -GeomFill_BSplineCurves aGeomFill1(SPL1,SPL2,Type); -Handle(Geom_BSplineSurface) aSurf = aGeomFill1.Surface(); -GeomAdaptor_Surface GAS (aSurf); -Bnd_Box aBox; -BndLib_AddSurface::Add (GAS,Precision::Approximation(),aBox); - -Standard_Real aXmin, aYmin, aZmin, aXmax, aYmax, aZmax ; -aBox.Get( aXmin, aYmin,aZmin, aXmax,aYmax,aZmax); - -//============================================================== - Message = " \ - \n\ -TColgp_Array1OfPnt array1 (1,5); \n\ -array1.SetValue(1,gp_Pnt (-40, 0, 20)); \n\ -array1.SetValue(2,gp_Pnt (-70, 20, 20)); \n\ -array1.SetValue(3,gp_Pnt (-60, 30, 10)); \n\ -array1.SetValue(4,gp_Pnt (-40, 30,-10)); \n\ -array1.SetValue(5,gp_Pnt (-30, 50,-20)); \n\ -Handle(Geom_BSplineCurve) SPL1 = \n\ - GeomAPI_PointsToBSpline(array1).Curve(); \n\ - \n\ -TColgp_Array1OfPnt array2 (1,5); \n\ -array2.SetValue(1,gp_Pnt (-40, 0, 20)); \n\ -array2.SetValue(2,gp_Pnt (-20, 20, 0)); \n\ -array2.SetValue(3,gp_Pnt ( 20, 30,-10)); \n\ -array2.SetValue(4,gp_Pnt ( 30, 70,-20)); \n\ -array2.SetValue(5,gp_Pnt ( 40, 90,-10)); \n\ -Handle(Geom_BSplineCurve) SPL2 = \n\ - GeomAPI_PointsToBSpline(array2).Curve(); \n\ - \n\ -GeomFill_FillingStyle Type = GeomFill_StretchStyle; \n\ -GeomFill_BSplineCurves aGeomFill1(SPL1,SPL2,Type); \n\ -Handle(Geom_BSplineSurface) aSurf = aGeomFill1.Surface(); \n\ -GeomAdaptor_Surface GAS (aSurf); \n\ -Bnd_Box aBox; \n\ -BndLib_AddSurface::Add (GAS,Precision::Approximation(),aBox); \n\ - \n\ -Standard_Real aXmin, aYmin, aZmin, aXmax, aYmax, aZmax ; \n\ -aBox.Get( aXmin, aYmin,aZmin, aXmax,aYmax,aZmax); \n\ - \n"; - AddSeparator(Message); - //-------------------------------------------------------------- - - Quantity_NameOfColor aNameOfColor= Quantity_NOC_GREEN; - Handle(ISession_Surface) aGraphicalSurface = new ISession_Surface(aSurf); - aContext->SetColor(aGraphicalSurface,aNameOfColor); - aGraphicalSurface->Attributes()->FreeBoundaryAspect()->SetColor(aNameOfColor); - aGraphicalSurface->Attributes()->UIsoAspect()->SetColor(aNameOfColor); - aGraphicalSurface->Attributes()->VIsoAspect()->SetColor(aNameOfColor); - - aContext->SetDisplayMode(aGraphicalSurface,1); - aContext->Display(aGraphicalSurface,Standard_False); - // DisplaySurface(aContext,aSurf,Quantity_NOC_GREEN); - - DisplayCurve(aContext,GC_MakeSegment(gp_Pnt(aXmin,aYmax,aZmin), - gp_Pnt(aXmax,aYmax,aZmin)).Value() ,Quantity_NOC_RED); // X,Ymax,ZMin - DisplayCurve(aContext,GC_MakeSegment(gp_Pnt(aXmin,aYmin,aZmin), - gp_Pnt(aXmax,aYmin,aZmin)).Value() ,Quantity_NOC_RED); // X,Ymin,ZMin - DisplayCurve(aContext,GC_MakeSegment(gp_Pnt(aXmin,aYmin,aZmin), - gp_Pnt(aXmin,aYmax,aZmin)).Value() ,Quantity_NOC_RED); // Xmin,Y,ZMin - DisplayCurve(aContext,GC_MakeSegment(gp_Pnt(aXmax,aYmin,aZmin), - gp_Pnt(aXmax,aYmax,aZmin)).Value() ,Quantity_NOC_RED); // Xmax,Y,ZMin - DisplayCurve(aContext,GC_MakeSegment(gp_Pnt(aXmin,aYmax,aZmax), - gp_Pnt(aXmax,aYmax,aZmax)).Value() ,Quantity_NOC_RED); // X,Ymax,ZMax - DisplayCurve(aContext,GC_MakeSegment(gp_Pnt(aXmin,aYmin,aZmax), - gp_Pnt(aXmax,aYmin,aZmax)).Value() ,Quantity_NOC_RED); // X,Ymin,ZMax - DisplayCurve(aContext,GC_MakeSegment(gp_Pnt(aXmin,aYmin,aZmax), - gp_Pnt(aXmin,aYmax,aZmax)).Value() ,Quantity_NOC_RED); // Xmin,Y,ZMax - DisplayCurve(aContext,GC_MakeSegment(gp_Pnt(aXmax,aYmin,aZmax), - gp_Pnt(aXmax,aYmax,aZmax)).Value() ,Quantity_NOC_RED); // Xmax,Y,ZMax - DisplayCurve(aContext,GC_MakeSegment(gp_Pnt(aXmin,aYmin,aZmin), - gp_Pnt(aXmin,aYmin,aZmax)).Value() ,Quantity_NOC_RED); // Xmin,Ymin,Z - DisplayCurve(aContext,GC_MakeSegment(gp_Pnt(aXmax,aYmin,aZmin), - gp_Pnt(aXmax,aYmin,aZmax)).Value() ,Quantity_NOC_RED); // Xmax,Ymin,Z - DisplayCurve(aContext,GC_MakeSegment(gp_Pnt(aXmin,aYmax,aZmin), - gp_Pnt(aXmin,aYmax,aZmax)).Value() ,Quantity_NOC_RED); // Xmin,Ymax,Z - DisplayCurve(aContext,GC_MakeSegment(gp_Pnt(aXmax,aYmax,aZmin), - gp_Pnt(aXmax,aYmax,aZmax)).Value() ,Quantity_NOC_RED); // Xmax,Ymax,Z -/* - Handle(AIS_Trihedron) aTrihedron; - Handle(Geom_Axis2Placement) aTrihedronAxis=new Geom_Axis2Placement(gp::XOY()); - aTrihedron=new AIS_Trihedron(aTrihedronAxis); - aContext->Display(aTrihedron); -*/ -} - - -//=============================================================== -// Function name: SaveImage -//=============================================================== -#ifndef WNT - Standard_Boolean SampleGeometryPackage::SaveImage(const Standard_CString , - const Standard_CString , - const Handle(V3d_View)& ) -{ -#else - Standard_Boolean SampleGeometryPackage::SaveImage(const Standard_CString aFileName, - const Standard_CString aFormat, - const Handle(V3d_View)& aView) -{ - Handle(Aspect_Window) anAspectWindow = aView->Window(); - Handle(WNT_Window) aWNTWindow = Handle(WNT_Window)::DownCast(anAspectWindow); - - if (aFormat == "bmp") aWNTWindow->SetOutputFormat(WNT_TOI_BMP); - if (aFormat == "gif") aWNTWindow->SetOutputFormat(WNT_TOI_GIF); - if (aFormat == "xwd") aWNTWindow->SetOutputFormat(WNT_TOI_XWD); - - aWNTWindow->Dump(aFileName); -#endif - return Standard_True; -} diff --git a/samples/java/src/SampleHLRPackage/SampleHLRPackage.cxx b/samples/java/src/SampleHLRPackage/SampleHLRPackage.cxx deleted file mode 100755 index 59ddab48fe..0000000000 --- a/samples/java/src/SampleHLRPackage/SampleHLRPackage.cxx +++ /dev/null @@ -1,347 +0,0 @@ -// File: SampleHLRPackage.cxx -// Created: Mon Mar 6 14:52:10 2000 -// Author: UI team -// - - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifdef WNT -#include -#include -#include -#include -#else -#include -#include -#include -#include -#endif - - - -/*----------------------------------------------------------------------*/ -#ifdef WNT -static Handle(Graphic3d_WNTGraphicDevice) defaultDevice; -static Handle(WNT_GraphicDevice) default2dDevice; -#else -static Handle(Graphic3d_GraphicDevice) defaultDevice; -static Handle(Xw_GraphicDevice) default2dDevice; -#endif - - -Handle(AIS_Trihedron) myTrihedron; -Handle(ISession2D_Shape) myDisplayableShape; - - -//=============================================================== -// Function name: CreateViewer3d -//=============================================================== - Handle(V3d_Viewer) SampleHLRPackage::CreateViewer3d(const Standard_ExtString aName) -{ -#ifdef WNT - if (defaultDevice.IsNull()) - defaultDevice = new Graphic3d_WNTGraphicDevice(); - return new V3d_Viewer(defaultDevice, aName); -#else - if (defaultDevice.IsNull()) - defaultDevice = new Graphic3d_GraphicDevice(""); - return new V3d_Viewer(defaultDevice, aName); -#endif //WNT -} - -//=============================================================== -// Function name: SetWindow3d -//=============================================================== -void SampleHLRPackage::SetWindow3d (const Handle(V3d_View)& aView, - const Standard_Integer hiwin, - const Standard_Integer lowin) -{ -#ifdef WNT - Handle(Graphic3d_WNTGraphicDevice) d = - Handle(Graphic3d_WNTGraphicDevice)::DownCast(aView->Viewer()->Device()); - Handle(WNT_Window) w = new WNT_Window(d,hiwin,lowin); -#else - Handle(Graphic3d_GraphicDevice) d = - Handle(Graphic3d_GraphicDevice)::DownCast(aView->Viewer()->Device()); - Handle(Xw_Window) w = new Xw_Window(d,hiwin,lowin,Xw_WQ_3DQUALITY); -#endif - aView->SetWindow(w); -} - - -//=============================================================== -// Function name: CreateViewer2d -//=============================================================== -Handle(V2d_Viewer) SampleHLRPackage::CreateViewer2d (const Standard_ExtString aName) -{ -#ifdef WNT - if(default2dDevice.IsNull()) - default2dDevice = new WNT_GraphicDevice(); -#else - if(default2dDevice.IsNull()) - default2dDevice = new Xw_GraphicDevice("",Xw_TOM_READONLY); -#endif - return new V2d_Viewer(default2dDevice,aName,""); -} - - -//=============================================================== -// Function name: CreateView2d -//=============================================================== -Handle(V2d_View) SampleHLRPackage::CreateView2d (const Handle(V2d_Viewer)& aViewer, - const Standard_Integer hiwin, - const Standard_Integer lowin) -{ -#ifdef WNT - Handle(WNT_GraphicDevice) GD = Handle(WNT_GraphicDevice)::DownCast(aViewer->Device()); - Handle(WNT_Window) W = new WNT_Window(GD,hiwin,lowin,Quantity_NOC_MATRAGRAY); - Handle(WNT_WDriver) D = new WNT_WDriver(W); -#else - Handle(Xw_GraphicDevice) GD = Handle(Xw_GraphicDevice)::DownCast(aViewer->Device()); - Handle(Xw_Window) W = new Xw_Window(GD,hiwin,lowin,Xw_WQ_DRAWINGQUALITY,Quantity_NOC_MATRAGRAY); - Handle(Xw_Driver) D = new Xw_Driver(W); -#endif - - Handle(V2d_View) V = new V2d_View(D,aViewer); - V->Update(); - return V; -} - - -//=============================================================== -// Function name: InitMaps -//=============================================================== - void SampleHLRPackage::InitMaps(const Handle(V2d_Viewer)& aViewer) -{ - // update the Maps : - // entries are reserve for utilisation : - // - 1 for Visible edges HighLighted - // - 2 for Visible edges - // - 3 for Hidden edges HighLighted - // - 4 for Hidden edges - - Handle(Aspect_GenericColorMap) aColorMap = Handle(Aspect_GenericColorMap)::DownCast(aViewer->ColorMap()); - if (!aColorMap.IsNull()) { - aColorMap->AddEntry(Aspect_ColorMapEntry (1,Quantity_Color(Quantity_NOC_RED ))); // in fact just update - aColorMap->AddEntry(Aspect_ColorMapEntry (2,Quantity_Color(Quantity_NOC_WHITE))); // in fact just update - aColorMap->AddEntry(Aspect_ColorMapEntry (3,Quantity_Color(Quantity_NOC_RED ))); // in fact just update - aColorMap->AddEntry(Aspect_ColorMapEntry (4,Quantity_Color(Quantity_NOC_BLUE1))); // in fact just update - aViewer->SetColorMap(aColorMap); - } - - Handle(Aspect_WidthMap) aWidthMap = aViewer->WidthMap(); - aWidthMap->AddEntry(Aspect_WidthMapEntry(1,0.8)); // in fact just update - aWidthMap->AddEntry(Aspect_WidthMapEntry(2,0.4)); // in fact just update - aWidthMap->AddEntry(Aspect_WidthMapEntry(3,0.6)); // in fact just update - aWidthMap->AddEntry(Aspect_WidthMapEntry(4,0.2)); // in fact just update - aViewer->SetWidthMap(aWidthMap); - - Handle(Aspect_TypeMap) aTypeMap = aViewer->TypeMap(); - aTypeMap->AddEntry(Aspect_TypeMapEntry(1,Aspect_LineStyle(Aspect_TOL_SOLID))); - aTypeMap->AddEntry(Aspect_TypeMapEntry(2,Aspect_LineStyle(Aspect_TOL_SOLID))); - TColQuantity_Array1OfLength anArray(1,2); - anArray(1) = 0.5; anArray(2) = 0.5; - aTypeMap->AddEntry(Aspect_TypeMapEntry(3,Aspect_LineStyle(anArray))); - aTypeMap->AddEntry(Aspect_TypeMapEntry(4,Aspect_LineStyle(anArray))); - aViewer->SetTypeMap(aTypeMap); -} - -//=============================================================== -// Function name: DisplayTrihedron -//=============================================================== - void SampleHLRPackage::DisplayTrihedron(const Handle(AIS_InteractiveContext)& aContext) -{ - Handle(Geom_Axis2Placement) aTrihedronAxis=new Geom_Axis2Placement(gp::XOY()); - myTrihedron=new AIS_Trihedron(aTrihedronAxis); - - aContext->Display(myTrihedron); -} - -//=============================================================== -// Function name: GetShapes -//=============================================================== - Standard_Boolean SampleHLRPackage::GetShapes(const Handle(AIS_InteractiveContext)& aSrcContext, - const Handle(AIS_InteractiveContext)& aDestContext) -{ - myDisplayableShape = new ISession2D_Shape(); - - aDestContext->EraseAll(Standard_False); - aDestContext->Display(myTrihedron); - - Standard_Boolean OneOrMoreFound = Standard_False; - for (aSrcContext->InitCurrent();aSrcContext->MoreCurrent();aSrcContext->NextCurrent()) - { - Handle(AIS_Shape) anAISShape = Handle(AIS_Shape)::DownCast(aSrcContext->Current()); - - if (!anAISShape.IsNull()) - { - OneOrMoreFound = Standard_True; - TopoDS_Shape aShape = anAISShape->Shape(); - myDisplayableShape->Add(aShape); - aDestContext->Display(anAISShape); - } - } - return OneOrMoreFound; -} - - -//=============================================================== -// Function name: Apply -//=============================================================== - void SampleHLRPackage::Apply(const Handle(ISession2D_InteractiveContext)& aContext2d, - const Standard_Integer aDisplayMode) -{ - aContext2d->EraseAll(Standard_False); - aContext2d->Display(myDisplayableShape, // object - aDisplayMode, // display mode - aDisplayMode, // selection mode - Standard_True); // Redraw -} - -//=============================================================== -// Function name: UpdateProjector -//=============================================================== - void SampleHLRPackage::UpdateProjector(const Handle(V3d_View)& aView) -{ - V3d_Coordinate DX,DY,DZ,XAt,YAt,ZAt, Vx,Vy,Vz ; - aView->Proj(DX,DY,DZ); - aView->At(XAt,YAt,ZAt); - aView->Up( Vx,Vy,Vz ); - Standard_Boolean IsPerspective = (aView->Type() == V3d_PERSPECTIVE); - Quantity_Length aFocus = 1; - Prs3d_Projector aPrs3dProjector(IsPerspective,aFocus,DX,DY,DZ,XAt,YAt,ZAt,Vx,Vy,Vz); - HLRAlgo_Projector aProjector = aPrs3dProjector.Projector(); - - if (myDisplayableShape.IsNull()) return; - myDisplayableShape->SetProjector(aProjector); -} - -//=============================================================== -// Function name: SetNbIsos -//=============================================================== - void SampleHLRPackage::SetNbIsos(const Standard_Integer aNbIsos) -{ - myDisplayableShape->SetNbIsos(aNbIsos); -} - -//=============================================================== -// Function name: ReadBRep -//=============================================================== - Standard_Boolean SampleHLRPackage::ReadBRep(const Standard_CString aFileName, - const Handle(AIS_InteractiveContext)& aContext) -{ - TopoDS_Shape aShape; - BRep_Builder aBuilder; - Standard_Boolean result = BRepTools::Read(aShape,aFileName,aBuilder); - if (result) - aContext->Display(new AIS_Shape(aShape)); - return result; -} - -//=============================================================== -// Function name: SaveBRep -//=============================================================== - Standard_Boolean SampleHLRPackage::SaveBRep(const Standard_CString aFileName, - const Handle(AIS_InteractiveContext)& aContext) -{ - TopoDS_Shape aShape; - Standard_Boolean isFound = Standard_False; - - Handle(AIS_InteractiveObject) picked; - for(aContext->InitCurrent();aContext->MoreCurrent();aContext->NextCurrent()) { - picked = aContext->Current(); - if (aContext->Current()->IsKind(STANDARD_TYPE(AIS_Shape))) { - aShape = Handle(AIS_Shape)::DownCast(picked)->Shape(); - isFound = Standard_True; - break; - } - } - - if (isFound) { - Standard_Boolean result = BRepTools::Write(aShape,aFileName); - return result; - } - - return Standard_False; -} - -//=============================================================== -// Function name: SaveImage -//=============================================================== -#ifndef WNT - Standard_Boolean SampleHLRPackage::SaveImage(const Standard_CString , - const Standard_CString , - const Handle(V3d_View)& ) -{ -#else - Standard_Boolean SampleHLRPackage::SaveImage(const Standard_CString aFileName, - const Standard_CString aFormat, - const Handle(V3d_View)& aView) -{ - Handle(Aspect_Window) anAspectWindow = aView->Window(); - Handle(WNT_Window) aWNTWindow = Handle(WNT_Window)::DownCast(anAspectWindow); - - if (aFormat == "bmp") aWNTWindow->SetOutputFormat(WNT_TOI_BMP); - if (aFormat == "gif") aWNTWindow->SetOutputFormat(WNT_TOI_GIF); - if (aFormat == "xwd") aWNTWindow->SetOutputFormat(WNT_TOI_XWD); - - aWNTWindow->Dump(aFileName); -#endif - return Standard_True; -} - -//=============================================================== -// Function name: SaveImage -//=============================================================== -#ifndef WNT - Standard_Boolean SampleHLRPackage::SaveImage(const Standard_CString , - const Standard_CString , - const Handle(V2d_View)& ) -{ -#else - Standard_Boolean SampleHLRPackage::SaveImage(const Standard_CString aFileName, - const Standard_CString aFormat, - const Handle(V2d_View)& aView) -{ - Handle(Aspect_Window) anAspectWindow = aView->Driver()->Window(); - Handle(WNT_Window) aWNTWindow = Handle(WNT_Window)::DownCast(anAspectWindow); - - if (aFormat == "bmp") aWNTWindow->SetOutputFormat(WNT_TOI_BMP); - if (aFormat == "gif") aWNTWindow->SetOutputFormat(WNT_TOI_GIF); - if (aFormat == "xwd") aWNTWindow->SetOutputFormat(WNT_TOI_XWD); - - aWNTWindow->Dump(aFileName); -#endif - return Standard_True; -} - diff --git a/samples/java/src/SampleImportExportPackage/SampleImportExportPackage.cxx b/samples/java/src/SampleImportExportPackage/SampleImportExportPackage.cxx deleted file mode 100755 index 47fb0036a6..0000000000 --- a/samples/java/src/SampleImportExportPackage/SampleImportExportPackage.cxx +++ /dev/null @@ -1,594 +0,0 @@ -// File: SampleImportExportPackage.cxx -// Created: Tue Nov 23 10:34:43 1999 -// Author: UI team -// - - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifdef WNT -#include -#include -#include -#include -#else -#include -#include -#include -#include -#endif - - - - -/*----------------------------------------------------------------------*/ -#ifdef WNT -static Handle(Graphic3d_WNTGraphicDevice) defaultDevice; -static Handle(WNT_GraphicDevice) default2dDevice; -#else -static Handle(Graphic3d_GraphicDevice) defaultDevice; -static Handle(Xw_GraphicDevice) default2dDevice; -#endif - - - -//=============================================================== -// Function name: CreateViewer3d -//=============================================================== - Handle(V3d_Viewer) SampleImportExportPackage::CreateViewer3d(const Standard_ExtString aName) -{ -#ifdef WNT - if (defaultDevice.IsNull()) - defaultDevice = new Graphic3d_WNTGraphicDevice(); - return new V3d_Viewer(defaultDevice, aName); -#else - if (defaultDevice.IsNull()) - defaultDevice = new Graphic3d_GraphicDevice(""); - return new V3d_Viewer(defaultDevice, aName); -#endif //WNT -} - -//=============================================================== -// Function name: SetWindow3d -//=============================================================== -void SampleImportExportPackage::SetWindow3d (const Handle(V3d_View)& aView, - const Standard_Integer hiwin, - const Standard_Integer lowin) -{ -#ifdef WNT - Handle(Graphic3d_WNTGraphicDevice) d = - Handle(Graphic3d_WNTGraphicDevice)::DownCast(aView->Viewer()->Device()); - Handle(WNT_Window) w = new WNT_Window(d,hiwin,lowin); -#else - Handle(Graphic3d_GraphicDevice) d = - Handle(Graphic3d_GraphicDevice)::DownCast(aView->Viewer()->Device()); - Handle(Xw_Window) w = new Xw_Window(d,hiwin,lowin,Xw_WQ_3DQUALITY); -#endif - aView->SetWindow(w); -} - - -/*----------------------------------------------------------------------*/ - -Handle(TopTools_HSequenceOfShape) BuildSequenceFromContext(const Handle(AIS_InteractiveContext)& aContext) -{ - Handle(TopTools_HSequenceOfShape) aSequence = new TopTools_HSequenceOfShape(); - Handle(AIS_InteractiveObject) picked; - for(aContext->InitCurrent();aContext->MoreCurrent();aContext->NextCurrent()) - { - picked = aContext->Current(); - if (aContext->Current()->IsKind(STANDARD_TYPE(AIS_Shape))) - { - TopoDS_Shape aShape = Handle(AIS_Shape)::DownCast(picked)->Shape(); - aSequence->Append(aShape); - } - } - return aSequence; -} - - -//====================================================================== -//= = -//= BREP = -//= = -//====================================================================== - - Standard_Boolean SampleImportExportPackage::ReadBREP(const Standard_CString aFileName, - const Handle(AIS_InteractiveContext)& aContext) -{ - TopoDS_Shape aShape; - BRep_Builder aBuilder; - Standard_Boolean result = BRepTools::Read(aShape,aFileName,aBuilder); - if (result) - aContext->Display(new AIS_Shape(aShape)); - return result; -} - - Standard_Boolean SampleImportExportPackage::SaveBREP(const Standard_CString aFileName, - const Handle(AIS_InteractiveContext)& aContext) -{ - Handle(TopTools_HSequenceOfShape) aSequence = BuildSequenceFromContext(aContext); - - if (aSequence->Length() == 0) - return Standard_False; - - TopoDS_Shape aShape = aSequence->Value(1); - - Standard_Boolean result = BRepTools::Write(aShape,aFileName); - return result; -} - - -//====================================================================== -//= = -//= CSFDB = -//= = -//====================================================================== -TCollection_AsciiString BuildStorageErrorMessage (Storage_Error anError) -{ - TCollection_AsciiString aMessage("Storage Status :"); - switch ( anError ) - { - case Storage_VSOk : - aMessage += "no problem \n"; - break; - case Storage_VSOpenError : - aMessage += "OpenError while opening the stream \n"; - break; - case Storage_VSModeError : - aMessage += "the stream is opened with a wrong mode for operation \n"; - break; - case Storage_VSCloseError : - aMessage += "CloseError while closing the stream \n"; - break; - case Storage_VSAlreadyOpen : - aMessage += "stream is already opened \n"; - break; - case Storage_VSNotOpen : - aMessage += "stream not opened \n"; - break; - case Storage_VSSectionNotFound : - aMessage += "the section is not found \n"; - break; - case Storage_VSWriteError : - aMessage += "error during writing \n"; - break; - case Storage_VSFormatError : - aMessage += "wrong format error occured while reading \n"; - break; - case Storage_VSUnknownType : - aMessage += "try to read an unknown type \n"; - break; - case Storage_VSTypeMismatch : - aMessage += "try to read a wrong primitive type (read a char while expecting a real) \n"; - break; - case Storage_VSInternalError : - aMessage += "internal error \n "; - break; - case Storage_VSExtCharParityError : - aMessage += "problem with 16bit characters, may be an 8bit character is inserted inside a 16bit string \n"; - break; - default : - aMessage += "Unknown Status "; - aMessage += anError; - aMessage += " \n"; - break; - } - return aMessage; -} - - - Standard_Boolean SampleImportExportPackage::ReadCSFDB(const Standard_CString aFileName, - const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& ReturnMessage) -{ - Handle(TopTools_HSequenceOfShape) aSequence = new TopTools_HSequenceOfShape(); - Standard_Integer i; - - // an I/O driver - FSD_File f; - - // the applicative Schema - Handle(ShapeSchema) s = new ShapeSchema; - - // a Read/Write data object - Handle(Storage_Data) d = new Storage_Data; - - d->ClearErrorStatus(); - - // Check file type - if (FSD_File::IsGoodFileType(aFileName) != Storage_VSOk) { - ReturnMessage = "Bad file type for "; - ReturnMessage += aFileName; - ReturnMessage += " \n"; - return Standard_False; - } - - // Open the archive, Read mode - Storage_Error err = f.Open(aFileName, Storage_VSRead); - // Read all the persistent object in the file with the schema - if ( err != Storage_VSOk ) { - ReturnMessage += BuildStorageErrorMessage(d->ErrorStatus()); - return Standard_False; - } - - d = s->Read( f ); - err = d->ErrorStatus() ; - - if ( err != Storage_VSOk ) { - ReturnMessage += BuildStorageErrorMessage(d->ErrorStatus()); - return Standard_False; - } - // Close the file driver - f.Close(); - - ReturnMessage += "Application Name :"; ReturnMessage += d->ApplicationName();ReturnMessage += "\n"; - ReturnMessage += "Application Version :"; ReturnMessage += d->ApplicationVersion();ReturnMessage += "\n"; - ReturnMessage += "Data type :"; ReturnMessage += d->DataType();ReturnMessage += "\n"; - ReturnMessage += "== User Infos : ==\n"; - const TColStd_SequenceOfAsciiString& UserInfo = d->UserInfo(); - for (i=1; i<=UserInfo.Length(); i++) - {ReturnMessage += UserInfo(i);ReturnMessage += "\n";} - ReturnMessage += "== Comments : ==\n"; - const TColStd_SequenceOfExtendedString& Comments=d->Comments(); - for (i=1; i<=Comments.Length(); i++) - {ReturnMessage += Comments(i);ReturnMessage += "\n";} - ReturnMessage += "----------------\n"; - - - // Read all the root objects - // Get the root list - Handle(Storage_HSeqOfRoot) roots = d->Roots(); - Handle(Standard_Persistent) p; - Handle(Storage_Root) r; - Handle(PTopoDS_HShape) aPShape; - for (i = 1; i <= roots->Length(); i++ ) - { - // Get the root - r = roots->Value(i); - - // Get the persistent application object from the root - p = r->Object(); - - // Display information - ReturnMessage += "Persistent Object "; ReturnMessage += i; ReturnMessage += "\n"; - ReturnMessage += "Name :"; ReturnMessage += r->Name(); ReturnMessage += "\n"; - ReturnMessage += "Type :"; ReturnMessage += r->Type(); ReturnMessage += "\n"; - - aPShape = Handle(PTopoDS_HShape)::DownCast(p); - - if (!aPShape.IsNull()) - { - // To Be ReWriten to suppress the cout, - // and provide a CallBack method for dynamic information. - // Get the persistent shape - PTColStd_PersistentTransientMap aMap; - TopoDS_Shape aTShape; - MgtBRep::Translate(aPShape,aMap,aTShape, - MgtBRep_WithTriangle); - aSequence->Append(aTShape); - } - else - { - ReturnMessage += "Error -> Unable to read\n"; - } - } - - // Display shapes - for(i=1; i<=aSequence->Length(); i++) - aContext->Display(new AIS_Shape(aSequence->Value(i))); - - return Standard_True; -} - - - Standard_Boolean SampleImportExportPackage::SaveCSFDB(const Standard_CString aFileName, - const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& ReturnMessage, - const MgtBRep_TriangleMode aTriangleMode) -{ - Handle(TopTools_HSequenceOfShape) aHSequenceOfShape = BuildSequenceFromContext(aContext); - Standard_Integer ReturnValue = Standard_True; - if (aHSequenceOfShape->Length() == 0) - return Standard_False; - - // an I/O driver - FSD_File f; - - // the applicative Schema containing - // Pesistent Topology and Geometry - Handle(ShapeSchema) s = new ShapeSchema; - - // a Read/Write data object - Handle(Storage_Data) d = new Storage_Data; - - d->ClearErrorStatus(); - - // To Be ReWriten to suppress the Strings, - // and provide a CallBack method for dynamic information. - - d->SetApplicationName(TCollection_ExtendedString("SampleImportExport")); - d->SetApplicationVersion("1"); - d->SetDataType(TCollection_ExtendedString("Shapes")); - d->AddToUserInfo("Try to store a Persistent set of Shapes in a flat file"); - d->AddToComments(TCollection_ExtendedString("application is based on CasCade 2.0")); - - // Open the archive, Write mode - Storage_Error err = f.Open(aFileName, Storage_VSWrite); - - if ( err != Storage_VSOk ) { - ReturnMessage += BuildStorageErrorMessage(err); - return Standard_False; - } - - PTColStd_TransientPersistentMap aMap; - ReturnMessage += "The Object have be saved in the file "; - ReturnMessage += aFileName; - ReturnMessage += "\n with the names : "; - - for (Standard_Integer i=1;i<=aHSequenceOfShape->Length();i++) - { - TopoDS_Shape aTShape= aHSequenceOfShape->Value(i); - TCollection_AsciiString anObjectName("anObjectName_"); - anObjectName += i; - ReturnMessage += anObjectName; - ReturnMessage += " \n"; - - if ( aTShape.IsNull() ) - { - ReturnMessage += " Error : Invalid shape \n"; - ReturnValue = Standard_False; - continue; - } - - //Create the persistent Shape - - Handle(PTopoDS_HShape) aPShape = - MgtBRep::Translate(aTShape, aMap, aTriangleMode); - - - // Add the object in the data structure as root - // To Be ReWriten to suppress the cout, - // and provide a CallBack method for dynamic information. - d->AddRoot(anObjectName, aPShape); - } - - // Write the object in the file with the schema - s->Write( f, d); - - // Close the driver - f.Close(); - - if ( d->ErrorStatus() != Storage_VSOk ) - { - ReturnMessage += BuildStorageErrorMessage(d->ErrorStatus()); - return Standard_False; - } - - return ReturnValue; -} - - -//====================================================================== -//= = -//= STEP = -//= = -//====================================================================== - IFSelect_ReturnStatus SampleImportExportPackage::ReadSTEP(const Standard_CString aFileName, - const Handle(AIS_InteractiveContext)& aContext) -{ - Handle(TopTools_HSequenceOfShape) aSequence = new TopTools_HSequenceOfShape(); - TopoDS_Shape aShape; - STEPControl_Controller::Init(); - STEPControl_Reader aReader; - IFSelect_ReturnStatus status = aReader.ReadFile(aFileName); - - if (status == IFSelect_RetDone) - { - Standard_Boolean failsonly = Standard_False; - aReader.PrintCheckLoad (failsonly, IFSelect_ItemsByEntity); - // Root transfers - Standard_Integer nbr = aReader.NbRootsForTransfer(); - aReader.PrintCheckTransfer (failsonly, IFSelect_ItemsByEntity); - for ( Standard_Integer n = 1; n<= nbr; n++) - { - aReader.TransferRoot(n); - // Collecting resulting entities - Standard_Integer nbs = aReader.NbShapes(); - if (nbs == 0) - { - aSequence.Nullify(); - return IFSelect_RetVoid; - } - else - { - for (Standard_Integer i =1; i<=nbs; i++) - { - aShape=aReader.Shape(i); - aSequence->Append(aShape); - } - } - } - } - else - { - aSequence.Nullify(); - } - - // Display shapes - if (!aSequence.IsNull()) { - for(int i=1;i<= aSequence->Length();i++) - aContext->Display(new AIS_Shape(aSequence->Value(i))); - } - - return status; -} - -Standard_Boolean TestFacetedBrep(const Handle(TopTools_HSequenceOfShape)& aHSequenceOfShape) -{ - Standard_Boolean OneErrorFound = Standard_False; - for (Standard_Integer i=1;i<=aHSequenceOfShape->Length();i++) - { - TopoDS_Shape aShape= aHSequenceOfShape->Value(i); - - TopExp_Explorer Ex(aShape,TopAbs_FACE); - while (Ex.More() && !OneErrorFound) - { - // Get the Geom_Surface outside the TopoDS_Face - Handle(Geom_Surface) aSurface = BRep_Tool::Surface(TopoDS::Face(Ex.Current())); - // check if it is a plane. - if (!aSurface->IsKind(STANDARD_TYPE(Geom_Plane))) - OneErrorFound=Standard_True; - Ex.Next(); - } - TopExp_Explorer Ex2(aShape,TopAbs_EDGE); - while (Ex2.More() && !OneErrorFound) - { - // Get the Geom_Curve outside the TopoDS_Face - Standard_Real FirstDummy,LastDummy; - Handle(Geom_Curve) aCurve = BRep_Tool::Curve(TopoDS::Edge(Ex2.Current()),FirstDummy,LastDummy); - // check if it is a line. - if (!aCurve->IsKind(STANDARD_TYPE(Geom_Line))) - OneErrorFound=Standard_True; - Ex2.Next(); - } - } - return !OneErrorFound; -} - - - IFSelect_ReturnStatus SampleImportExportPackage::SaveSTEP(const Standard_CString aFileName, - const Handle(AIS_InteractiveContext)& aContext, - const STEPControl_StepModelType aValue) -{ - Handle(TopTools_HSequenceOfShape) aHSequenceOfShape = BuildSequenceFromContext(aContext); - - if (aHSequenceOfShape->Length() == 0) - return IFSelect_RetError; - - if (aValue == STEPControl_FacetedBrep) - if (!TestFacetedBrep(aHSequenceOfShape)) - return IFSelect_RetError; - - // CREATE THE WRITER - STEPControl_Writer aWriter; - IFSelect_ReturnStatus status; - - for (Standard_Integer i=1;i<=aHSequenceOfShape->Length();i++) - { - status = aWriter.Transfer(aHSequenceOfShape->Value(i), aValue); - if ( status != IFSelect_RetDone ) return status; - } - status = aWriter.Write(aFileName); - return status; -} - - -//====================================================================== -//= = -//= IGES = -//= = -//====================================================================== - Standard_Integer SampleImportExportPackage::ReadIGES(const Standard_CString aFileName, - const Handle(AIS_InteractiveContext)& aContext) -{ - Handle(TopTools_HSequenceOfShape) aSequence = new TopTools_HSequenceOfShape(); - IGESControl_Reader Reader; - Standard_Integer status = Reader.ReadFile(aFileName); - - if (status != IFSelect_RetDone) return status; - Reader.TransferRoots(); - TopoDS_Shape aShape = Reader.OneShape(); - aSequence->Append(aShape); - - // Display shapes - for(int i=1;i<= aSequence->Length();i++) - aContext->Display(new AIS_Shape(aSequence->Value(i))); - - return status; -} - - - Standard_Boolean SampleImportExportPackage::SaveIGES(const Standard_CString aFileName, - const Handle(AIS_InteractiveContext)& aContext) -{ - Handle(TopTools_HSequenceOfShape) aHSequenceOfShape = BuildSequenceFromContext(aContext); - - if (aHSequenceOfShape->Length() == 0) - return Standard_False; - - IGESControl_Controller::Init(); - IGESControl_Writer ICW (Interface_Static::CVal("XSTEP.iges.unit"), - Interface_Static::IVal("XSTEP.iges.writebrep.mode")); - - for (Standard_Integer i=1;i<=aHSequenceOfShape->Length();i++) - ICW.AddShape (aHSequenceOfShape->Value(i)); - - ICW.ComputeModel(); - Standard_Boolean result = ICW.Write(aFileName); - return result; -} - - -//=============================================================== -// Function name: SaveImage -//=============================================================== -#ifndef WNT - Standard_Boolean SampleImportExportPackage::SaveImage(const Standard_CString , - const Standard_CString , - const Handle(V3d_View)& ) { -#else - Standard_Boolean SampleImportExportPackage::SaveImage(const Standard_CString aFileName, - const Standard_CString aFormat, - const Handle(V3d_View)& aView) -{ - Handle(Aspect_Window) anAspectWindow = aView->Window(); - Handle(WNT_Window) aWNTWindow = Handle(WNT_Window)::DownCast(anAspectWindow); - - if (aFormat == "bmp") aWNTWindow->SetOutputFormat(WNT_TOI_BMP); - if (aFormat == "gif") aWNTWindow->SetOutputFormat(WNT_TOI_GIF); - if (aFormat == "xwd") aWNTWindow->SetOutputFormat(WNT_TOI_XWD); - - aWNTWindow->Dump(aFileName); -#endif - return Standard_True; -} - diff --git a/samples/java/src/SampleNativePaint/CASCADEView2d.cxx b/samples/java/src/SampleNativePaint/CASCADEView2d.cxx deleted file mode 100755 index caca32d38f..0000000000 --- a/samples/java/src/SampleNativePaint/CASCADEView2d.cxx +++ /dev/null @@ -1,291 +0,0 @@ -// File: CASCADEView2d.cxx -// Created: Wed Jul 18 11:11:22 2001 -// Author: -// - -#ifdef WNT -# include -#endif - -#include -#include -#include -#include -#include -#include - -#ifdef WNT -# include -#include -// # include -# include -#else -# include -# include -// # include -#endif // WNT - -/* - * Class: CASCADEView2d - * Method: paint - * Signature: (Ljava/awt/Graphics;)V - */ -JNIEXPORT void JNICALL Java_CASCADEView2d_paint(JNIEnv *env, jobject theCanvas, jobject theGraphics) { -// cout << "Info: -------------------------- Java_CASCADEView2d_paint ("<< theCanvas <<") ----------------------" << endl; - - jclass jViewPort2dClass = env->FindClass("CASCADEView2d"); - if(!jViewPort2dClass){ jcas_ThrowException(env, "cant find canvas class"); return; } - jfieldID jIsWindowID = env->GetFieldID(jViewPort2dClass, "hasWindow", "Z"); - - if(!jIsWindowID){ jcas_ThrowException(env, "cant find the boolean field id"); return; } - jboolean jIsWindow = env->GetBooleanField(theCanvas, jIsWindowID); - - Handle(V2d_View) theView; - Handle(V2d_Viewer) theViewer; - - - if(!jIsWindow){ - // get the window view and viewer -// cout << "Info: First time, init VIEW." << endl; - jfieldID jViewerID = env->GetFieldID(jViewPort2dClass, "myViewer", "LCASCADESamplesJni/V2d_Viewer;"); - if(!jViewerID) { jcas_ThrowException(env, "cant find the view field id");return; } - jobject jViewer = env->GetObjectField(theCanvas, jViewerID); - - if(!jViewer) { // viewer and view are not created, create them now. - jcas_ThrowException(env, "No jViewer in first paint\n"); - return; - }else { - void *ptrViewer = jcas_GetHandle(env, jViewer); - if (ptrViewer != NULL) { - theViewer = *((Handle(V2d_Viewer)*)ptrViewer); - }else{ - cout << "Error: cant get V2d_Viewer from canvas field" << endl; - } - } - -// start paste - if (!theViewer.IsNull()){ - // get drawing surface - //----------------------------------------------- - - JAWT awt; - JAWT_DrawingSurface* ds; - JAWT_DrawingSurfaceInfo* dsi; -#ifdef WNT - JAWT_Win32DrawingSurfaceInfo* dsi_win; -#else - JAWT_X11DrawingSurfaceInfo* dsi_x11; -#endif //WNT - jboolean result; - jint lock; - - // Get the AWT - awt.version = JAWT_VERSION_1_3; - result = JAWT_GetAWT(env, &awt); - if (result == JNI_FALSE) - { - cout << "AWT not found" << endl; - jcas_ThrowException(env, "AWT not found\n"); -// alock.Release(); - return; - } - - // Get the drawing surface - ds = awt.GetDrawingSurface(env, theCanvas); - if (ds == NULL) - { - cout << "NULL drawing surface" << endl; - jcas_ThrowException(env, "NULL drawing surface\n"); - return; - } - - // Lock the drawing surface - lock = ds->Lock(ds); - if ((lock & JAWT_LOCK_ERROR) != 0) - { - cout << "Error locking surface" << endl; - jcas_ThrowException(env, "Error locking surface\n"); - awt.FreeDrawingSurface(ds); - return; - } - - // Get the drawing surface info - dsi = ds->GetDrawingSurfaceInfo(ds); - if (dsi == NULL) - { - cout << "Error getting surface info" << endl; - jcas_ThrowException(env, "Error getting surface info\n"); - ds->Unlock(ds); - awt.FreeDrawingSurface(ds); -// alock.Release(); - return; - } - - // Get the platform-specific drawing info - Aspect_Handle theWindow; -#ifdef WNT - dsi_win = (JAWT_Win32DrawingSurfaceInfo*)dsi->platformInfo; - theWindow = dsi_win->hwnd; -#else - dsi_x11 = (JAWT_X11DrawingSurfaceInfo*)dsi->platformInfo; - theWindow = dsi_x11->drawable; -#endif - -// if (jIsWindow == JNI_FALSE) -// { -#ifdef WNT - long wd = GetWindowLong (( HWND )theWindow, GWL_USERDATA); - long wProc = GetWindowLong (( HWND )theWindow, GWL_WNDPROC); -#endif - - // get params to build view - jfieldID jBackColorID = env->GetFieldID(jViewPort2dClass, "myBackColor", "S"); - jshort jBackColor = env->GetShortField(theCanvas, jBackColorID); - -#ifdef WNT - Handle(WNT_Window) w = new WNT_Window(Handle(WNT_GraphicDevice)::DownCast(theViewer->Device()),theWindow, (Quantity_NameOfColor) jBackColor); - Handle(WNT_WDriver) d = new WNT_WDriver(w); -#else - Handle(Xw_Window) w = new Xw_Window(Handle(Xw_GraphicDevice)::DownCast(theViewer->Device()),theWindow,Xw_WQ_DRAWINGQUALITY, (Quantity_NameOfColor) jBackColor); - Handle(Xw_Driver) d = new Xw_Driver(w); -#endif - - theView = new V2d_View(d, theViewer); - theView->Update(); - -#ifdef WNT - long wd1 = SetWindowLong ((HWND) theWindow, GWL_USERDATA, wd); - long wProc1 = SetWindowLong ((HWND) theWindow, GWL_WNDPROC, wProc); -#endif - - cout << "Info: Set hasWindow = TRUE : id == " << jIsWindowID << endl; - jIsWindow = JNI_TRUE; -// } - - - env->SetBooleanField(theCanvas, jIsWindowID, jIsWindow); - - -/****************************** -fill fields with VIEWER ONLY -*******************************/ - - Handle(V2d_View)* theViewPtr = new Handle(V2d_View); - *theViewPtr = theView; - jobject aJavaView = jcas_CreateObject(env,"CASCADESamplesJni/V2d_View", theViewPtr); - jfieldID jViewID = env->GetFieldID(jViewPort2dClass, "myView", "LCASCADESamplesJni/V2d_View;"); - env->SetObjectField(theCanvas, jViewID, aJavaView); - -// assume that viewer has been already created. -// Handle(V2d_Viewer)* theViewerPtr = new Handle(V2d_Viewer); -// *theViewerPtr = theViewer; -// jfieldID jViewerID = env->GetFieldID(jViewPort2dClass, "myViewer", "LCASCADESamplesJni/V2d_Viewer;"); -// jobject aJavaViewer = jcas_CreateObject(env,"CASCADESamplesJni/V2d_Viewer", theViewerPtr); -// env->SetObjectField(theCanvas, jViewerID, aJavaViewer); - - - // Free the AWT - //----------------------------------------------- - - // Free the drawing surface info - ds->FreeDrawingSurfaceInfo(dsi); - - // Unlock the drawing surface - ds->Unlock(ds); - - // Free the drawing surface - awt.FreeDrawingSurface(ds); - }else{ - cout << "Error: Cant obtain V2d_Viewer" << endl; - } -/////////////////////////// end paste -// cout << "Info: Init viewer done" << endl; -} // end !hasWindow. - - -// get stored view field - - - jfieldID jViewID = env->GetFieldID(jViewPort2dClass, "myView", "LCASCADESamplesJni/V2d_View;"); - jobject jView = env->GetObjectField(theCanvas, jViewID); - if(!jView){ - jcas_ThrowException(env, "Error getting viewer while has window ?\n"); - return; - } - - void *ptrView = jcas_GetHandle(env, jView); - if (ptrView != NULL) - theView = *((Handle(V2d_View)*)ptrView); - -// paint routine. - if(theView.IsNull()){ - jcas_ThrowException(env, "Error getting V2d_View ?\n"); - return; - } - - - JAWT awt; - JAWT_DrawingSurface* ds; - jboolean result; - jint lock; - - // Get the AWT - awt.version = JAWT_VERSION_1_3; - result = JAWT_GetAWT(env, &awt); - if (result == JNI_FALSE) - { - cout << "AWT not found" << endl; - jcas_ThrowException(env, "AWT not found\n"); -// alock.Release(); - return; - } - - // Get the drawing surface - ds = awt.GetDrawingSurface(env, theCanvas); - if (ds == NULL) - { - cout << "NULL drawing surface" << endl; - jcas_ThrowException(env, "NULL drawing surface\n"); -// alock.Release(); - return; - } - - // Lock the drawing surface - lock = ds->Lock(ds); -// cout << "Result of locking is " << lock << endl; - if ((lock & JAWT_LOCK_ERROR) != 0) - { - cout << "Error locking surface" << endl; - jcas_ThrowException(env, "Error locking surface\n"); - awt.FreeDrawingSurface(ds); -// alock.Release(); - return; - } - - // Redraw V2d_View after locking AWT drawing surface -// theView->Redraw(); // 3d - - - jfieldID jNeedResizeID = env->GetFieldID(jViewPort2dClass, "needResize", "Z"); - if(!jNeedResizeID){ - ds->Unlock(ds); - awt.FreeDrawingSurface(ds); - jcas_ThrowException(env, "cant find the needREsize field id"); - return; - } - - jboolean jNeedResize = env->GetBooleanField(theCanvas, jNeedResizeID); - if(jNeedResize == JNI_TRUE){ -// cout << "Info: bef update, need resize." << endl; - theView->MustBeResized(V2d_TOWRE_ENLARGE_OBJECTS); - jNeedResize = JNI_FALSE; - env->SetBooleanField(theCanvas, jNeedResizeID, jNeedResize); - } - theView->Update(); - - ds->Unlock(ds); - - // Free the drawing surface - awt.FreeDrawingSurface(ds); - -} diff --git a/samples/java/src/SampleNativePaint/CASCADEView3d.cxx b/samples/java/src/SampleNativePaint/CASCADEView3d.cxx deleted file mode 100755 index f7833972d7..0000000000 --- a/samples/java/src/SampleNativePaint/CASCADEView3d.cxx +++ /dev/null @@ -1,294 +0,0 @@ -// File: CASCADEView3d.cxx -// Created: Wed Jul 18 11:11:22 2001 -// Author: -// - - -#ifdef WNT -# include -#endif - -#include - -#include - -#include - -#include -#include -#ifdef WNT -# include -# include -#else -# include -# include -#endif // WNT - -#define RETURN_ERROR(msg) {cout << "Error: '"<< msg <<"'" << endl;return;} - -// #include "Aspect_Handle.hxx> - -/* - * Class: CASCADEView3d - * Method: paint - * Signature: (Ljava/awt/Graphics;)V - */ -JNIEXPORT void JNICALL Java_CASCADEView3d_paint (JNIEnv *env, jobject theCanvas, jobject theGraphics){ -// cout << "Info: -------------------------- Java_CASCADEView3d_paint ----------------------" << endl; - - jclass jViewPort3dClass = env->FindClass("CASCADEView3d"); - if(!jViewPort3dClass)RETURN_ERROR("cant find canvas class"); - jfieldID jIsWindowID = env->GetFieldID(jViewPort3dClass, "hasWindow", "Z"); - if(!jIsWindowID)RETURN_ERROR("cant find the boolean field id"); - jboolean jIsWindow = env->GetBooleanField(theCanvas, jIsWindowID); - - Handle(V3d_View) theView; - Handle(V3d_Viewer) theViewer; - - if(!jIsWindow){ - // get the window view and viewer -// cout << "Info: First time, init fields." << endl; - jfieldID jViewID = env->GetFieldID(jViewPort3dClass, "myView", "LCASCADESamplesJni/V3d_View;"); - if(!jViewID) RETURN_ERROR("cant find the view field id"); - jobject jView = env->GetObjectField(theCanvas, jViewID); - - if(!jView) { // viewer and view are not created, create them now. - Standard_ExtString aViewerName = TCollection_ExtendedString ("V3d_Viewer in SimpleViewer").ToExtString(); -#ifdef WNT - static Handle(Graphic3d_WNTGraphicDevice) defaultDevice; - if (defaultDevice.IsNull()) - defaultDevice = new Graphic3d_WNTGraphicDevice(); - - theViewer = new V3d_Viewer(defaultDevice, aViewerName); -#else - static Handle(Graphic3d_GraphicDevice) defaultDevice; - - if (defaultDevice.IsNull()) - defaultDevice = new Graphic3d_GraphicDevice(""); - theViewer = new V3d_Viewer(defaultDevice, aViewerName); -#endif //WNT - theView = theViewer->CreateView(); - // store the values into the fields - }else { - void *ptrView = jcas_GetHandle(env, jView); - if (ptrView != NULL) { - theView = *((Handle(V3d_View)*)ptrView); - }else{ - cout << "Error: cant get V3d_View from canvas field" << endl; - } - } - -// start paste - if (!theView.IsNull()){ - // get drawing surface - //----------------------------------------------- - JAWT awt; - JAWT_DrawingSurface* ds; - JAWT_DrawingSurfaceInfo* dsi; -#ifdef WNT - JAWT_Win32DrawingSurfaceInfo* dsi_win; -#else - JAWT_X11DrawingSurfaceInfo* dsi_x11; -#endif //WNT - jboolean result; - jint lock; - - // Get the AWT - awt.version = JAWT_VERSION_1_3; - result = JAWT_GetAWT(env, &awt); - if (result == JNI_FALSE) - { - cout << "AWT not found" << endl; - jcas_ThrowException(env, "AWT not found\n"); -// alock.Release(); - return; - } - - // Get the drawing surface - ds = awt.GetDrawingSurface(env, theCanvas); - if (ds == NULL) - { - cout << "NULL drawing surface" << endl; - jcas_ThrowException(env, "NULL drawing surface\n"); - return; - } - - // Lock the drawing surface - lock = ds->Lock(ds); - if ((lock & JAWT_LOCK_ERROR) != 0) - { - cout << "Error locking surface" << endl; - jcas_ThrowException(env, "Error locking surface\n"); - awt.FreeDrawingSurface(ds); - return; - } - - // Get the drawing surface info - dsi = ds->GetDrawingSurfaceInfo(ds); - if (dsi == NULL) - { - cout << "Error getting surface info" << endl; - jcas_ThrowException(env, "Error getting surface info\n"); - ds->Unlock(ds); - awt.FreeDrawingSurface(ds); -// alock.Release(); - return; - } - - // Get the platform-specific drawing info - Aspect_Handle theWindow; -#ifdef WNT - dsi_win = (JAWT_Win32DrawingSurfaceInfo*)dsi->platformInfo; - theWindow = dsi_win->hwnd; -#else - dsi_x11 = (JAWT_X11DrawingSurfaceInfo*)dsi->platformInfo; - theWindow = dsi_x11->drawable; -#endif - - if (jIsWindow == JNI_FALSE) - { -#ifdef WNT - long wd = GetWindowLong (( HWND )theWindow, GWL_USERDATA); - long wProc = GetWindowLong (( HWND )theWindow, GWL_WNDPROC); -#endif - - -#ifdef WNT - Handle(WNT_Window) w = new WNT_Window(Handle(Graphic3d_WNTGraphicDevice)::DownCast(theView->Viewer()->Device()),theWindow); -#else - Handle(Xw_Window) w = new Xw_Window(Handle(Graphic3d_GraphicDevice)::DownCast(theView->Viewer()->Device()),theWindow,Xw_WQ_SAMEQUALITY); -#endif -// cout << "Info: Finally, set window:" << endl; - theView->SetWindow(w); -// cout << "Info: set window done" << endl; - -#ifdef WNT - long wd1 = SetWindowLong ((HWND) theWindow, GWL_USERDATA, wd); - long wProc1 = SetWindowLong ((HWND) theWindow, GWL_WNDPROC, wProc); -#endif - - jIsWindow = JNI_TRUE; - } - - env->SetBooleanField(theCanvas, jIsWindowID, jIsWindow); - -// jobject jView = env->GetObjectField(theCanvas, jViewID); -// jobject jNewView = ; -// env->SetObjectField(theCanvas, jViewID, jNewView); // remember V3d_View -/****************************** -fill fields with viewer and viev -*******************************/ - -// jclass testClass = env->FindClass("CASCADESamplesJni/V2d_Viewer"); -// cout << "Info: V3d fil lthe fields : get V2d_Viewer class : "<SetObjectField(theCanvas, jViewID, aJavaView); - - Handle(V3d_Viewer)* theViewerPtr = new Handle(V3d_Viewer); - *theViewerPtr = theViewer; - jfieldID jViewerID = env->GetFieldID(jViewPort3dClass, "myViewer", "LCASCADESamplesJni/V3d_Viewer;"); - jobject aJavaViewer = jcas_CreateObject(env,"CASCADESamplesJni/V3d_Viewer", theViewerPtr); - env->SetObjectField(theCanvas, jViewerID, aJavaViewer); - - // fill the myView and myViewer fields. - - // Free the AWT - //----------------------------------------------- - - // Free the drawing surface info - ds->FreeDrawingSurfaceInfo(dsi); - - // Unlock the drawing surface - ds->Unlock(ds); - - // Free the drawing surface - awt.FreeDrawingSurface(ds); - }else{ - cout << "Error: Cant obtain V3d_View" << endl; - } -/////////////////////////// end paste -// cout << "Info: Init viewer done" << endl; -} // end !hasWindow. - -// get stored view field - jfieldID jViewID = env->GetFieldID(jViewPort3dClass, "myView", "LCASCADESamplesJni/V3d_View;"); - jobject jView = env->GetObjectField(theCanvas, jViewID); - if(!jView){ - jcas_ThrowException(env, "Error getting viewer while has window ?\n"); - return; - } - void *ptrView = jcas_GetHandle(env, jView); - if (ptrView != NULL) - theView = *((Handle(V3d_View)*)ptrView); - -// paint routine. - if(theView.IsNull()){ - jcas_ThrowException(env, "Error getting V3d_View ?\n"); - return; - } - - JAWT awt; - JAWT_DrawingSurface* ds; - jboolean result; - jint lock; - - // Get the AWT - awt.version = JAWT_VERSION_1_3; - result = JAWT_GetAWT(env, &awt); - if (result == JNI_FALSE) - { - cout << "AWT not found" << endl; - jcas_ThrowException(env, "AWT not found\n"); -// alock.Release(); - return; - } - - // Get the drawing surface - ds = awt.GetDrawingSurface(env, theCanvas); - if (ds == NULL) - { - cout << "NULL drawing surface" << endl; - jcas_ThrowException(env, "NULL drawing surface\n"); -// alock.Release(); - return; - } - - // Lock the drawing surface - lock = ds->Lock(ds); -// cout << "Result of locking is " << lock << endl; - if ((lock & JAWT_LOCK_ERROR) != 0) - { - cout << "Error locking surface" << endl; - jcas_ThrowException(env, "Error locking surface\n"); - awt.FreeDrawingSurface(ds); -// alock.Release(); - return; - } - - // Redraw V3d_View after locking AWT drawing surface -// cout << " CASCADEView3d.cxx: redraw "<GetFieldID(jViewPort3dClass, "needResize", "Z"); - if(!jNeedResizeID){ - ds->Unlock(ds); - awt.FreeDrawingSurface(ds); - jcas_ThrowException(env, "cant find the needREsize field id"); - return; - } - - jboolean jNeedResize = env->GetBooleanField(theCanvas, jNeedResizeID); - if(jNeedResize == JNI_TRUE){ -// cout << "Info: bef update, need resize." << endl; - theView->MustBeResized(); - jNeedResize = JNI_FALSE; - env->SetBooleanField(theCanvas, jNeedResizeID, jNeedResize); - } - theView->Redraw(); - ds->Unlock(ds); - - // Free the drawing surface - awt.FreeDrawingSurface(ds); -} diff --git a/samples/java/src/SampleViewer3DPackage/SampleViewer3DPackage.cxx b/samples/java/src/SampleViewer3DPackage/SampleViewer3DPackage.cxx deleted file mode 100755 index 679ed6f3e8..0000000000 --- a/samples/java/src/SampleViewer3DPackage/SampleViewer3DPackage.cxx +++ /dev/null @@ -1,817 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -#ifdef WNT -#include -#include -#else -#include -#include -#endif // WNT - - - -/*----------------------------------------------------------------------*/ -#ifdef WNT -static Handle(Graphic3d_WNTGraphicDevice) defaultdevice; -#else -static Handle(Graphic3d_GraphicDevice) defaultdevice; -#endif // WNT - - -Handle(V3d_AmbientLight) myCurrent_AmbientLight; -Handle(V3d_SpotLight) myCurrent_SpotLight; -Handle(V3d_PositionalLight) myCurrent_PositionalLight; -Handle(V3d_DirectionalLight) myCurrent_DirectionalLight; -Handle(V3d_Plane) myPlane; -Handle(AIS_Shape) myShape; - - -gp_Pnt p1, p2, p3; -Handle(AIS_Shape) spotConeShape=new AIS_Shape(TopoDS_Solid()); -Handle(AIS_Shape) directionalEdgeShape=new AIS_Shape(TopoDS_Edge()); - -Standard_Boolean isConeDisplayed = Standard_False; -Standard_Boolean isEdgeDisplayed = Standard_False; - -/*----------------------------------------------------------------------*/ - - -gp_Pnt ConvertClickToPoint(Standard_Real x, Standard_Real y, Handle(V3d_View) aView) -{ - V3d_Coordinate XEye,YEye,ZEye,XAt,YAt,ZAt; - aView->Eye(XEye,YEye,ZEye); - aView->At(XAt,YAt,ZAt); - gp_Pnt EyePoint(XEye,YEye,ZEye); - gp_Pnt AtPoint(XAt,YAt,ZAt); - - gp_Vec EyeVector(EyePoint,AtPoint); - gp_Dir EyeDir(EyeVector); - - gp_Pln PlaneOfTheView = gp_Pln(AtPoint,EyeDir); - V3d_Coordinate X,Y,Z; - aView->Convert(Standard_Integer(x),Standard_Integer(y),X,Y,Z); - gp_Pnt ConvertedPoint(X,Y,Z); - gp_Pnt2d ConvertedPointOnPlane = ProjLib::Project(PlaneOfTheView,ConvertedPoint); - - gp_Pnt ResultPoint = ElSLib::Value(ConvertedPointOnPlane.X(), - ConvertedPointOnPlane.Y(), - PlaneOfTheView); - return ResultPoint; -} - - -//=============================================================== -// Function name: CreateViewer -//=============================================================== - Handle(V3d_Viewer) SampleViewer3DPackage::CreateViewer(const Standard_ExtString aName) -{ -#ifndef WNT - if (defaultdevice.IsNull()) defaultdevice = new Graphic3d_GraphicDevice(""); - return new V3d_Viewer(defaultdevice, aName); -#else - if (defaultdevice.IsNull()) defaultdevice = new Graphic3d_WNTGraphicDevice(); - return new V3d_Viewer(defaultdevice, aName); -#endif //WNT -} - -//=============================================================== -// Function name: SetWindow -//=============================================================== -void SampleViewer3DPackage::SetWindow (const Handle(V3d_View)& aView, - const Standard_Integer hiwin, - const Standard_Integer lowin) -{ -#ifdef WNT - Handle(Graphic3d_WNTGraphicDevice) d = - Handle(Graphic3d_WNTGraphicDevice)::DownCast(aView->Viewer()->Device()); - Handle(WNT_Window) w = new WNT_Window(d,hiwin,lowin); -#else - Handle(Graphic3d_GraphicDevice) d = - Handle(Graphic3d_GraphicDevice)::DownCast(aView->Viewer()->Device()); - Handle(Xw_Window) w = new Xw_Window(d,hiwin,lowin,Xw_WQ_3DQUALITY); -#endif - aView->SetWindow(w); -} - -//=============================================================== -// Function name: CreateGraphicDriver -//=============================================================== - Handle(Graphic3d_GraphicDriver) SampleViewer3DPackage::CreateGraphicDriver() -{ -#ifndef WNT - if (defaultdevice.IsNull()) - defaultdevice = new Graphic3d_GraphicDevice(""); - return Handle(Graphic3d_GraphicDriver)::DownCast(defaultdevice->GraphicDriver()); -#else - if (defaultdevice.IsNull()) - defaultdevice = new Graphic3d_WNTGraphicDevice(); - return Handle(Graphic3d_GraphicDriver)::DownCast(defaultdevice->GraphicDriver()); -#endif //WNT -} - - - -//====================================================================== -//= = -//= Display figures = -//= = -//====================================================================== - -//=============================================================== -// Function name: DisplayBox -//=============================================================== - void SampleViewer3DPackage::DisplayBox(const Handle(AIS_InteractiveContext)& aContext) -{ - BRepPrimAPI_MakeBox B(gp_Pnt(0,-400,-100), 200.,150.,100.); - Handle(AIS_Shape) aBox = new AIS_Shape(B.Shape()); - aContext->Display(aBox); -} - -//=============================================================== -// Function name: DisplayCylinder -//=============================================================== - void SampleViewer3DPackage::DisplayCylinder(const Handle(AIS_InteractiveContext)& aContext) -{ - gp_Ax2 CylAx2(gp_Pnt(0,0,-100), gp_Dir(gp_Vec(gp_Pnt(0,0,-100),gp_Pnt(0,0,100)))); - BRepPrimAPI_MakeCylinder C(CylAx2, 80.,200.); - Handle(AIS_Shape) aCyl = new AIS_Shape(C.Shape()); - aContext->SetColor(aCyl,Quantity_NOC_WHITE); - aContext->SetMaterial(aCyl,Graphic3d_NOM_SHINY_PLASTIC); - aContext->SetDisplayMode(aCyl,1); - aContext->Display(aCyl); -} - -//=============================================================== -// Function name: DisplaySphere -//=============================================================== - void SampleViewer3DPackage::DisplaySphere(const Handle(AIS_InteractiveContext)& aContext) -{ - BRepPrimAPI_MakeSphere S(gp_Pnt(0,300,0), 100.); - Handle(AIS_Shape) aSphere = new AIS_Shape(S.Shape()); - aContext->SetMaterial(aSphere,Graphic3d_NOM_SILVER); - aContext->SetDisplayMode(aSphere,1); - aContext->Display(aSphere); -} - -//=============================================================== -// Function name: EraseAll -//=============================================================== - void SampleViewer3DPackage::EraseAll(const Handle(AIS_InteractiveContext)& aContext) -{ - aContext->EraseAll(Standard_False); -} - - -//====================================================================== -//= = -//= Spot Light = -//= = -//====================================================================== - -//=============================================================== -// Function name: CreateSpotLight -//=============================================================== - void SampleViewer3DPackage::CreateSpotLight(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - // Spot light source creation - aContext->OpenLocalContext(); - - Message = "\ -myCurrent_SpotLight = new V3d_SpotLight(myView->Viewer(), Xt, Yt, Zt, Xp, Yp, Zp,Quantity_NOC_RED);\n\ -\n\ -myView->SetLightOn(myCurrent_SpotLight);\n\ -\n\ - "; -} - -//=============================================================== -// Function name: SetSpotLight -//=============================================================== - void SampleViewer3DPackage::SetSpotLight(const Handle(AIS_InteractiveContext)& aContext, - const Handle(V3d_View)& aView, - const Standard_Integer X,const Standard_Integer Y, - TCollection_AsciiString& Message) -{ - p1 = ConvertClickToPoint(X,Y,aView); - myCurrent_SpotLight = new V3d_SpotLight(aView->Viewer(),0.,0.,1., p1.X(),p1.Y(),p1.Z(), - Quantity_NOC_RED); - aView->SetLightOn(myCurrent_SpotLight); - - p2 = gp_Pnt(p1.X(),p1.Y(),p1.Z()+1.); - Standard_Real coneHeigth=p1.Distance(p2); - BRepPrimAPI_MakeCone MakeCone(gp_Ax2(p1, gp_Dir(gp_Vec(p1, p2))), - 0, (p1.Distance(p2))/tan(1.04), coneHeigth); - spotConeShape->Set(MakeCone.Solid()); - - if (isConeDisplayed) - aContext->Redisplay(spotConeShape,0,-1); - else - isConeDisplayed = Standard_True; - - aContext->Display(spotConeShape,0,-1); - - Message = "\ -myCurrent_SpotLight->SetDirection(Xv, Yv, Zv);\n\ - "; -} - -//=============================================================== -// Function name: DirectingSpotLight -//=============================================================== - void SampleViewer3DPackage::DirectingSpotLight(const Handle(AIS_InteractiveContext)& aContext, - const Handle(V3d_View)& aView, - const Standard_Integer X,const Standard_Integer Y) -{ - p2 = ConvertClickToPoint(X,Y,aView); - //Update the light dynamically - Standard_Real coneHeigth=p1.Distance(p2); - if( coneHeigth>Precision::Confusion()) - { - BRepPrimAPI_MakeCone MakeCone(gp_Ax2(p1, gp_Dir(gp_Vec(p1, p2))), - 0, (p1.Distance(p2))/tan(1.04), coneHeigth); - spotConeShape->Set(MakeCone.Solid()); - aContext->Redisplay(spotConeShape,0,-1); - myCurrent_SpotLight->SetDirection(p2.X()-p1.X(),p2.Y()-p1.Y(),p2.Z()-p1.Z()); - aView->UpdateLights(); - } -} - -//=============================================================== -// Function name: DirectSpotLight -//=============================================================== - void SampleViewer3DPackage::DirectSpotLight(const Handle(V3d_View)& aView, - const Standard_Integer X,const Standard_Integer Y, - TCollection_AsciiString& Message) -{ - p2 = ConvertClickToPoint(X,Y,aView); - - Message = "\ -myCurrent_SpotLight->SetAngle(Angle) ;\n\ - "; -} - -//=============================================================== -// Function name: ExpandingSpotLight -//=============================================================== - void SampleViewer3DPackage::ExpandingSpotLight(const Handle(AIS_InteractiveContext)& aContext, - const Handle(V3d_View)& aView, - const Standard_Integer X,const Standard_Integer Y) -{ - p3 = ConvertClickToPoint(X,Y,aView); - //Update the light dynamically - Standard_Real coneHeigth=p1.Distance(p2); - if( (p2.Distance(p3))>Precision::Confusion()) - { - BRepPrimAPI_MakeCone MakeCone(gp_Ax2(p1, gp_Dir(gp_Vec(p1, p2))), - 0, p2.Distance(p3), coneHeigth); - spotConeShape->Set(MakeCone.Solid()); - aContext->Redisplay(spotConeShape,0,-1); - myCurrent_SpotLight->SetAngle(atan(p2.Distance(p3)/p1.Distance(p2))) ; - aView->UpdateLights(); - } -} - -//=============================================================== -// Function name: ExpandSpotLight -//=============================================================== - void SampleViewer3DPackage::ExpandSpotLight(const Handle(AIS_InteractiveContext)& aContext) -{ - aContext->Erase(spotConeShape); - aContext->CloseLocalContext(); -} - - -//====================================================================== -//= = -//= Positional Light = -//= = -//====================================================================== - -//=============================================================== -// Function name: CreatePositionalLight -//=============================================================== - void SampleViewer3DPackage::CreatePositionalLight(const Handle(AIS_InteractiveContext)& aContext, - const Handle(V3d_View)& aView, - TCollection_AsciiString& Message) -{ - // Positional light source creation - aContext->OpenLocalContext(); - myCurrent_PositionalLight=new V3d_PositionalLight(aView->Viewer(),0,0,0,Quantity_NOC_GREEN,1,0); - aView->SetLightOn(myCurrent_PositionalLight); - - Message = "\ -myCurrent_PositionalLight=new V3d_PositionalLight(myView->Viewer(),Xp, Yp, Zp,Quantity_NOC_GREEN,1,0);\n\ -\n\ -myView->SetLightOn(myCurrent_PositionalLight) ;\n\ - "; -} - -//=============================================================== -// Function name: DirectingPositionalLight -//=============================================================== - void SampleViewer3DPackage::DirectingPositionalLight(const Handle(V3d_View)& aView, - const Standard_Integer X,const Standard_Integer Y) -{ - p2 = ConvertClickToPoint(X,Y,aView); - //Update the light dynamically - myCurrent_PositionalLight->SetPosition(p2.X(),p2.Y(),p2.Z()); - aView->UpdateLights(); -} - -//=============================================================== -// Function name: DirectPositionalLight -//=============================================================== - void SampleViewer3DPackage::DirectPositionalLight(const Handle(AIS_InteractiveContext)& aContext, - const Handle(V3d_View)& aView, - const Standard_Integer X,const Standard_Integer Y, - TCollection_AsciiString& Message) -{ - p1 = ConvertClickToPoint(X,Y,aView); - myCurrent_PositionalLight->SetPosition(p1.X(),p1.Y(),p1.Z()) ; - aContext->CloseLocalContext(); - - Message = "\ -myCurrent_PositionalLight->SetPosition(Xp, Yp, Zp) ;\n\ - "; -} - - -//====================================================================== -//= = -//= Directional Light = -//= = -//====================================================================== - -//=============================================================== -// Function name: CreateDirectionalLight -//=============================================================== - void SampleViewer3DPackage::CreateDirectionalLight(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - // Directional light source creation - aContext->OpenLocalContext(); - - Message = "\ -myCurrent_DirectionalLight = new V3d_DirectionalLight(myView->Viewer(), Xt, Yt, Zt, Xp, Yp, Zp);\n\ -\n\ -myView->SetLightOn(myCurrent_DirectionalLight);\n\ -\n\ - "; -} - -//=============================================================== -// Function name: SetDirectionalLight -//=============================================================== - void SampleViewer3DPackage::SetDirectionalLight(const Handle(AIS_InteractiveContext)& aContext, - const Handle(V3d_View)& aView, - const Standard_Integer X,const Standard_Integer Y, - TCollection_AsciiString& Message) -{ - p1 = ConvertClickToPoint(X,Y,aView); - p2 = gp_Pnt(p1.X(),p1.Y(),p1.Z()+1.); - BRepBuilderAPI_MakeEdge MakeEdge(p1, p2); - directionalEdgeShape->Set(MakeEdge.Edge()); - - if (isEdgeDisplayed) - aContext->Redisplay(directionalEdgeShape,0,-1); - else - isEdgeDisplayed = Standard_True; - - aContext->Display(directionalEdgeShape,0,-1); - - // Create a directional light - myCurrent_DirectionalLight = new V3d_DirectionalLight(aView->Viewer(), p1.X(),p1.Y(),p1.Z(),0.,0.,1.); - aView->SetLightOn(myCurrent_DirectionalLight); - - Message = "\ -myCurrent_DirectionalLight->SetDirection(Xv, Yv, Zv);\n\ - "; -} - -//=============================================================== -// Function name: DirectingDirectionalLight -//=============================================================== - void SampleViewer3DPackage::DirectingDirectionalLight(const Handle(AIS_InteractiveContext)& aContext, - const Handle(V3d_View)& aView, - const Standard_Integer X,const Standard_Integer Y) -{ - p2 = ConvertClickToPoint(X,Y,aView); - //Update the light dynamically - if( p1.Distance(p2)>Precision::Confusion()) - { - BRepBuilderAPI_MakeEdge MakeEdge(p1, p2); - directionalEdgeShape->Set(MakeEdge.Edge()); - aContext->Redisplay(directionalEdgeShape,0,-1); - myCurrent_DirectionalLight->SetDirection(p2.X()-p1.X(),p2.Y()-p1.Y(),p2.Z()-p1.Z()); - aView->UpdateLights(); - } -} - -//=============================================================== -// Function name: DirectDirectionalLight -//=============================================================== - void SampleViewer3DPackage::DirectDirectionalLight(const Handle(AIS_InteractiveContext)& aContext) -{ - aContext->Erase(directionalEdgeShape); - aContext->CloseLocalContext(); -} - - -//====================================================================== -//= = -//= Ambient Light = -//= = -//====================================================================== - -//=============================================================== -// Function name: CreateAmbientLight -//=============================================================== - void SampleViewer3DPackage::CreateAmbientLight(const Handle(AIS_InteractiveContext)& aContext, - const Handle(V3d_View)& aView, - TCollection_AsciiString& Message) -{ - // Ambient light source creation - aContext->OpenLocalContext(); - myCurrent_AmbientLight=new V3d_AmbientLight(aView->Viewer(), Quantity_NOC_GRAY); - aView->SetLightOn(myCurrent_AmbientLight) ; - aContext->CloseLocalContext(); - - aView->UpdateLights(); - - Message = "\ -myCurrent_AmbientLight=new V3d_AmbientLight(myView->Viewer(), Quantity_NOC_GRAY);\n\ -\n\ -myView->SetLightOn(myCurrent_AmbientLight) ;\n\ - "; -} - -//=============================================================== -// Function name: ClearLights -//=============================================================== - void SampleViewer3DPackage::ClearLights(const Handle(V3d_View)& aView, - TCollection_AsciiString& Message) -{ - // Setting Off all non global active lights - for(aView->InitActiveLights(); aView->MoreActiveLights(); aView->NextActiveLights()) - { - if (!aView->Viewer()->IsGlobalLight(aView->ActiveLight())) - aView->SetLightOff(aView->ActiveLight()); - } - - aView->Update(); - - Message = "\ -for(myView->InitActiveLights(); myView->MoreActiveLights(); myView->NextActiveLights())\n\ - {\n\ - if (!aView->Viewer()->IsGlobalLight(aView->ActiveLight()))\n\ - myView->SetLightOff(myView->ActiveLight()); //Setting Off all non global active lights\n\ - }\n\ - "; -} - - -//====================================================================== -//= = -//= ZClipping = -//= = -//====================================================================== - -//=============================================================== -// Function name: ChangeZClippingDepth -//=============================================================== - void SampleViewer3DPackage::ChangeZClippingDepth(const Handle(V3d_View)& aView, - const Quantity_Length Depth, - TCollection_AsciiString& Message) -{ - // Setting the ZClipping depth at Depth value - aView->SetZClippingDepth(Depth); - - aView->Update(); - - Message = "\ -myView->SetZClippingDepth(Depth);\n\ -\n\ -myView->Update();\n\ - "; -} - -//=============================================================== -// Function name: ChangeZClippingWidth -//=============================================================== - void SampleViewer3DPackage::ChangeZClippingWidth(const Handle(V3d_View)& aView, - const Quantity_Length Width, - TCollection_AsciiString& Message) -{ - // Setting the ZClipping width at Width value - aView->SetZClippingWidth(Width); - - aView->Update(); - - Message = "\ -myView->SetZClippingWidth(Width);\n\ -\n\ -myView->Update();\n\ - "; -} - -//=============================================================== -// Function name: ChangeZClippingType -//=============================================================== - void SampleViewer3DPackage::ChangeZClippingType(const Handle(V3d_View)& aView, - const V3d_TypeOfZclipping Type, - TCollection_AsciiString& Message) -{ - // Setting the ZClipping type at Type value - aView->SetZClippingType(Type); - aView->Update(); - - Message = "\ -aView->SetZClippingType(Type);\n\ -\n\ -aView->Update();\n\ - "; -} - - -//====================================================================== -//= = -//= ZCueing = -//= = -//====================================================================== - -//=============================================================== -// Function name: ChangeZCueingDepth -//=============================================================== - void SampleViewer3DPackage::ChangeZCueingDepth(const Handle(V3d_View)& aView, - const Quantity_Length Depth, - TCollection_AsciiString& Message) -{ - // Setting the ZCueing depth at Depth value - aView->SetZCueingDepth(Depth); - - aView->Update(); - - Message = "\ -myView->SetZCueingDepth(Depth);\n\ -\n\ -myView->Update();\n\ - "; -} - -//=============================================================== -// Function name: ChangeZCueingWidth -//=============================================================== - void SampleViewer3DPackage::ChangeZCueingWidth(const Handle(V3d_View)& aView, - const Quantity_Length Width, - TCollection_AsciiString& Message) -{ - // Setting the ZCueing width at Width value - aView->SetZCueingWidth(Width); - - aView->Update(); - - Message = "\ -myView->SetZCueingWidth(Width);\n\ -\n\ -myView->Update();\n\ - "; -} - -//=============================================================== -// Function name: ChangeZCueingOnOff -//=============================================================== - void SampleViewer3DPackage::ChangeZCueingOnOff(const Handle(V3d_View)& aView, - const Standard_Boolean IsOn, - TCollection_AsciiString& Message) -{ - Quantity_Length Depth, Width; - - if(IsOn) - { - if(!aView->ZCueing(Depth, Width)) - // Setting the ZCueing on if it's not yet - aView->SetZCueingOn(); - } - else - { - if(aView->ZCueing(Depth, Width)) - // Setting the ZCueing off if it's not yet - aView->SetZCueingOff(); - } - - aView->Update(); - - - Message = "\ -if(!myView->ZCueing(Depth, Width));\n\ - myView->SetZCueingOn();\n\ -else\n\ - myView->SetZCueingOff();\n\ -\n\ -myView->Update();\n\ - "; -} - - -//====================================================================== -//= = -//= Other modes = -//= = -//====================================================================== - -//=============================================================== -// Function name: ChangeShadingModel -//=============================================================== - void SampleViewer3DPackage::ChangeShadingModel(const Handle(V3d_View)& aView, - const V3d_TypeOfShadingModel Model) -{ - aView->SetShadingModel(Model); - aView->Update(); -} - -//=============================================================== -// Function name: ChangeAntialiasing -//=============================================================== - void SampleViewer3DPackage::ChangeAntialiasing(const Handle(V3d_View)& aView, - TCollection_AsciiString& Message) -{ - if(!aView->Antialiasing()) - aView->SetAntialiasingOn(); - else - aView->SetAntialiasingOff(); - - aView->Update(); - - Message = "\ -if(!myView->Antialiasing())\n\ - myView->SetAntialiasingOn();\n\ -else\n\ - myView->SetAntialiasingOff();\n\ - "; -} - - -//====================================================================== -//= = -//= Model Clipping = -//= = -//====================================================================== - -//=============================================================== -// Function name: CreateClippingPlane -//=============================================================== - void SampleViewer3DPackage::CreateClippingPlane(const Handle(V3d_Viewer)& aViewer) -{ - if( myPlane.IsNull() ) - { - //creates a plane defined : center of the box ( 50,50,50) and 1 direction - gp_Pln tmpPln(gp_Pnt(0,0,0),gp_Dir(1,0,0)); - //getting the coefficients of the gp_Pln ( ax+by+cz+d = 0 ) - Standard_Real A,B,C,D; - tmpPln.Coefficients(A,B,C,D); - //with these coefficients, creating a V3d_Plane - myPlane = new V3d_Plane(aViewer,A,B,C,D); - //creates the Face - //NOTE : the face must be behind the clipping plane !! - tmpPln = gp_Pln(gp_Pnt(0.1,0,0),gp_Dir(1,0,0)); - BRepBuilderAPI_MakeFace MakeFace(tmpPln, 200, -200, 410, -410); - TopoDS_Face S = MakeFace.Face(); - //display the face - myShape = new AIS_Shape(S); - } -} - -//=============================================================== -// Function name: DisplayClippingPlane -//=============================================================== - void SampleViewer3DPackage::DisplayClippingPlane(const Handle(AIS_InteractiveContext)& aContext, - const Handle(V3d_View)& aView, - Standard_Real& Z,Standard_Boolean& IsOn) -{ - Standard_Real A,B,C,D; - myPlane->Plane(A,B,C,D); - Z = D; - - Handle(V3d_Plane) thePlane; - for (aView->InitActivePlanes(); - aView->MoreActivePlanes(); - aView->NextActivePlanes()) { - thePlane = aView->ActivePlane() ; - if (thePlane == myPlane) IsOn = Standard_True; - } - - if (IsOn) - if (!myShape.IsNull()) - aContext->Display(myShape); -} - -//=============================================================== -// Function name: ChangeModelClippingZ -//=============================================================== - void SampleViewer3DPackage::ChangeModelClippingZ(const Handle(AIS_InteractiveContext)& aContext, - const Handle(V3d_View)& aView,const Standard_Real Z, - const Standard_Boolean IsOn, - TCollection_AsciiString& Message) -{ - // Setting the ModelClippingZ at Z value - gp_Pln clipPln(gp_Pnt(-Z,0,0),gp_Dir(1,0,0)); - - Standard_Real A,B,C,D; - clipPln.Coefficients(A,B,C,D); - myPlane->SetPlane(A,B,C,D); - - if(IsOn) - aView->SetPlaneOn(myPlane); - - gp_Trsf myTrsf; - myTrsf.SetTranslation(gp_Pnt(Z,0,0), gp_Pnt(0,0,0)); - aContext->SetLocation(myShape,TopLoc_Location(myTrsf)) ; - aContext->Redisplay(myShape); - aView->Update(); - - Message = "\ -gp_Pln clipPln(gp_Pnt(-Z,0,0),gp_Dir(1,0,0));\n\ -Standard_Real A,B,C,D;\n\ -clipPln.Coefficients(A,B,C,D);\n\ -myPlane->SetPlane(A,B,C,D);\n\ -myView->SetPlaneOn(myPlane); \n\ - "; -} - -//=============================================================== -// Function name: ChangeModelClippingOnOff -//=============================================================== - void SampleViewer3DPackage::ChangeModelClippingOnOff(const Handle(AIS_InteractiveContext)& aContext, - const Handle(V3d_View)& aView, - const Standard_Boolean IsOn, - TCollection_AsciiString& Message) -{ - if (IsOn) - { - //activate the plane - aView->SetPlaneOn(myPlane); - aContext->Display(myShape); - } - else - //deactivate the plane - { - aView->SetPlaneOff(myPlane); - aContext->Erase(myShape); - } - - aView->Update(); - - Message = "\ -if(IsOn) \n\ - myView->SetPlaneOn(myPlane); \n\ -else \n\ - myView->SetPlaneOff(myPlane); \n\ - "; -} - -//=============================================================== -// Function name: ClearClippingPlane -//=============================================================== - void SampleViewer3DPackage::ClearClippingPlane(const Handle(AIS_InteractiveContext)& aContext, - const Handle(V3d_View)& aView, - const Standard_Boolean IsOn) -{ - if (IsOn) - //deactivate the plane - aView->SetPlaneOff(myPlane); - - if(!myShape.IsNull()) - aContext->Erase(myShape); - - if (IsOn) - aView->Update(); -} - diff --git a/samples/java/src/SamplesTopologyPackage/SamplesTopologyPackage.cxx b/samples/java/src/SamplesTopologyPackage/SamplesTopologyPackage.cxx deleted file mode 100755 index 7378085b43..0000000000 --- a/samples/java/src/SamplesTopologyPackage/SamplesTopologyPackage.cxx +++ /dev/null @@ -1,4492 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -#ifdef WNT -#include -#include -#else -#include -#include -#endif - - - - -//=============================================================== -// Function name: CreateViewer -//=============================================================== - Handle(V3d_Viewer) SamplesTopologyPackage::CreateViewer (const Standard_ExtString aName) -{ -#ifdef WNT -static Handle(Graphic3d_WNTGraphicDevice) defaultDevice; - - if (defaultDevice.IsNull()) - defaultDevice = new Graphic3d_WNTGraphicDevice(); - return new V3d_Viewer(defaultDevice, aName); -#else -static Handle(Graphic3d_GraphicDevice) defaultDevice; - - if (defaultDevice.IsNull()) - defaultDevice = new Graphic3d_GraphicDevice(""); - return new V3d_Viewer(defaultDevice, aName); -#endif //WNT -} - -//=============================================================== -// Function name: SetWindow -//=============================================================== -void SamplesTopologyPackage::SetWindow (const Handle(V3d_View)& aView, - const Standard_Integer hiwin, - const Standard_Integer lowin) -{ -#ifdef WNT - Handle(Graphic3d_WNTGraphicDevice) d = - Handle(Graphic3d_WNTGraphicDevice)::DownCast(aView->Viewer()->Device()); - Handle(WNT_Window) w = new WNT_Window(d,hiwin,lowin); -#else - Handle(Graphic3d_GraphicDevice) d = - Handle(Graphic3d_GraphicDevice)::DownCast(aView->Viewer()->Device()); - Handle(Xw_Window) w = new Xw_Window(d,hiwin,lowin,Xw_WQ_3DQUALITY); -#endif - aView->SetWindow(w); -} - - - -//====================================================================== -//= = -//= Topology Primitives = -//= = -//====================================================================== - -//=============================================================== -// Function name: MakeBox -//=============================================================== - void SamplesTopologyPackage::MakeBox(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Shape B1 = BRepPrimAPI_MakeBox (200.,150.,100.).Shape(); - Handle(AIS_Shape) aBox1 = new AIS_Shape(B1); - aContext->SetMaterial(aBox1,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->SetColor(aBox1,Quantity_NOC_GREEN,Standard_False); - aContext->Display(aBox1); - TopoDS_Shape B2 = BRepPrimAPI_MakeBox (gp_Ax2(gp_Pnt(-200.,-80.,-70.),gp_Dir(1.,2.,1.)),80.,90.,120.).Shape(); - Handle(AIS_Shape) aBox2 = new AIS_Shape(B2); - aContext->SetMaterial(aBox2,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->SetColor(aBox2,Quantity_NOC_RED,Standard_False); - aContext->Display(aBox2); - - Message = "\ - \n\ -TopoDS_Shape B1 = BRepPrimAPI_MakeBox (200.,150.,100.); \n\ -TopoDS_Shape B2 = BRepPrimAPI_MakeBox (gp_Ax2(gp_Pnt(-200.,-80.,-70.), \n\ - gp_Dir(1.,2.,1.)), \n\ - 80.,90.,120.); \n\ - \n"; -} - -//=============================================================== -// Function name: MakeCylinder -//=============================================================== - void SamplesTopologyPackage::MakeCylinder(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Shape C1 = BRepPrimAPI_MakeCylinder (50.,200.).Shape(); - Handle(AIS_Shape) aCyl1 = new AIS_Shape(C1); - aContext->SetMaterial(aCyl1,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->SetColor(aCyl1,Quantity_NOC_RED,Standard_False); - aContext->Display(aCyl1); - TopoDS_Shape C2 = BRepPrimAPI_MakeCylinder (gp_Ax2(gp_Pnt(200.,200.,0.),gp_Dir(0.,0.,1.)), - 40.,110.,210.*PI180).Shape(); - Handle(AIS_Shape) aCyl2 = new AIS_Shape(C2); - aContext->SetMaterial(aCyl2,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->SetColor(aCyl2,Quantity_NOC_MATRABLUE,Standard_False); - aContext->Display(aCyl2); - - Message = "\ - \n\ -TopoDS_Shape C1 = BRepPrimAPI_MakeCylinder (50.,200.); \n\ -TopoDS_Shape C2 = BRepPrimAPI_MakeCylinder (gp_Ax2(gp_Pnt(200.,200.,0.), \n\ - gp_Dir(0.,0.,1.)), \n\ - 40.,110.,210.*PI180.); \n\ - \n"; -} - -//=============================================================== -// Function name: MakeCone -//=============================================================== - void SamplesTopologyPackage::MakeCone(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Shape C1 = BRepPrimAPI_MakeCone (50.,25.,200.).Shape(); - Handle(AIS_Shape) ais1 = new AIS_Shape(C1); - aContext->SetMaterial(ais1,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->SetColor(ais1,Quantity_NOC_MATRABLUE,Standard_False); - aContext->Display(ais1); - TopoDS_Shape C2 = BRepPrimAPI_MakeCone(gp_Ax2(gp_Pnt(100.,100.,0.),gp_Dir(0.,0.,1.)), - 60.,0.,150.,210.*PI180).Shape(); - Handle(AIS_Shape) ais2 = new AIS_Shape(C2); - aContext->SetMaterial(ais2,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->SetColor(ais2,Quantity_NOC_GREEN,Standard_False); - aContext->Display(ais2); - - Message ="\ - \n\ -TopoDS_Shape C1 = BRepPrimAPI_MakeCone (50.,25.,200.); \n\ -TopoDS_Shape C2 = BRepPrimAPI_MakeCone(gp_Ax2(gp_Pnt(100.,100.,0.), \n\ - gp_Dir(0.,0.,1.)), \n\ - 605.,0.,150.,210.*PI180); \n\ - \n"; -} - -//=============================================================== -// Function name: MakeSphere -//=============================================================== - void SamplesTopologyPackage::MakeSphere(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Shape S1 = BRepPrimAPI_MakeSphere(gp_Pnt(-200.,-250.,0.),80.).Shape(); - Handle(AIS_Shape) ais1 = new AIS_Shape(S1); - aContext->SetColor(ais1,Quantity_NOC_AZURE,Standard_False); - aContext->SetMaterial(ais1,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais1); - TopoDS_Shape S2 = BRepPrimAPI_MakeSphere(100.,120.*PI180).Shape(); - Handle(AIS_Shape) ais2 = new AIS_Shape(S2); - aContext->SetColor(ais2,Quantity_NOC_GREEN,Standard_False); - aContext->SetMaterial(ais2,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais2); - TopoDS_Shape S3 = BRepPrimAPI_MakeSphere(gp_Pnt(200.,250.,0.),100., - -60.*PI180, 60.*PI180).Shape(); - Handle(AIS_Shape) ais3 = new AIS_Shape(S3); - aContext->SetColor(ais3,Quantity_NOC_RED,Standard_False); - aContext->SetMaterial(ais3,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais3); - TopoDS_Shape S4 = BRepPrimAPI_MakeSphere(gp_Pnt(0.,0.,-300.),150., - -45.*PI180, 45.*PI180, 45.*PI180).Shape(); - Handle(AIS_Shape) ais4 = new AIS_Shape(S4); - aContext->SetColor(ais4,Quantity_NOC_MATRABLUE,Standard_False); - aContext->SetMaterial(ais4,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais4); - - Message = "\ - \n\ -TopoDS_Shape S1 = BRepPrimAPI_MakeSphere(gp_Pnt(-200.,-250.,0.),80.); \n\ -TopoDS_Shape S2 = BRepPrimAPI_MakeSphere(100.,120.*PI180); \n\ -TopoDS_Shape S3 = BRepPrimAPI_MakeSphere(gp_Pnt(200.,250.,0.),100., \n\ - -60.*PI180, 60.*PI180); \n\ -TopoDS_Shape S4 = BRepPrimAPI_MakeSphere(gp_Pnt(0.,0.,-300.),150., \n\ - -45.*PI180, 45.*PI180, 45.*PI180); \n\ - \n"; -} - -//=============================================================== -// Function name: MakeTorus -//=============================================================== - void SamplesTopologyPackage::MakeTorus(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Shape S1 = BRepPrimAPI_MakeTorus(60.,20.).Shape(); - Handle(AIS_Shape) ais1 = new AIS_Shape(S1); - aContext->SetColor(ais1,Quantity_NOC_AZURE,Standard_False); - aContext->SetMaterial(ais1,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais1); - TopoDS_Shape S2 = BRepPrimAPI_MakeTorus(gp_Ax2(gp_Pnt(100.,100.,0.),gp_Dir(1.,1.,1.)), - 50.,20.,210.*PI180).Shape(); - Handle(AIS_Shape) ais2 = new AIS_Shape(S2); - aContext->SetColor(ais2,Quantity_NOC_GREEN,Standard_False); - aContext->SetMaterial(ais2,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais2); - TopoDS_Shape S3 = BRepPrimAPI_MakeTorus(gp_Ax2(gp_Pnt(-200.,-150.,-100),gp_Dir(0.,1.,0.)), - 60.,20.,-45.*PI180,45.*PI180,90.*PI180).Shape(); - Handle(AIS_Shape) ais3= new AIS_Shape(S3); - aContext->SetColor(ais3,Quantity_NOC_CORAL,Standard_False); - aContext->SetMaterial(ais3,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais3); - - Message = "\ - \n\ -TopoDS_Shape S1 = BRepPrimAPI_MakeTorus(60.,20.); \n\ -TopoDS_Shape S2 = BRepPrimAPI_MakeTorus(gp_Ax2(gp_Pnt(100.,100.,0.),gp_Dir(1.,1.,1.)), \n\ - 50.,20.,210.*PI180); \n\ -TopoDS_Shape S3 = BRepPrimAPI_MakeTorus(gp_Ax2(gp_Pnt(-200.,-150.,-100),gp_Dir(0.,1.,0.)), \n\ - 60.,20.,-45.*PI180,45.*PI180,90.*PI180); \n\ - \n"; -} - -//=============================================================== -// Function name: MakeWedge -//=============================================================== - void SamplesTopologyPackage::MakeWedge(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Shape S1 = BRepPrimAPI_MakeWedge(60.,100.,80.,20.).Shape(); - Handle(AIS_Shape) ais1 = new AIS_Shape(S1); - aContext->SetColor(ais1,Quantity_NOC_AZURE,Standard_False); - aContext->SetMaterial(ais1,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais1); - TopoDS_Shape S2 = BRepPrimAPI_MakeWedge(gp_Ax2(gp_Pnt(100.,100.,0.),gp_Dir(0.,0.,1.)), - 60.,50.,80.,25.,-10.,40.,70.).Shape(); - Handle(AIS_Shape) ais2 = new AIS_Shape(S2); - aContext->SetColor(ais2,Quantity_NOC_CORAL2,Standard_False); - aContext->SetMaterial(ais2,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais2); - - Message = "\ - \n\ -TopoDS_Shape S1 = BRepPrimAPI_MakeWedge(60.,100.,80.,20.); \n\ -TopoDS_Shape S2 = BRepPrimAPI_MakeWedge(gp_Ax2(gp_Pnt(100.,100.,0.),gp_Dir(0.,0.,1.)), \n\ - 60.,50.,80.,25.,-10.,40.,70.); \n\ - \n"; -} - -//=============================================================== -// Function name: MakePrism -//=============================================================== - void SamplesTopologyPackage::MakePrism(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Vertex V1 = BRepBuilderAPI_MakeVertex(gp_Pnt(-200.,-200.,0.)); - Handle(AIS_Shape) ais1 = new AIS_Shape(V1); - aContext->Display(ais1); - TopoDS_Shape S1 = BRepPrimAPI_MakePrism(V1,gp_Vec(0.,0.,100.)); - Handle(AIS_Shape) ais2 = new AIS_Shape(S1); - aContext->Display(ais2); - - TopoDS_Edge E = BRepBuilderAPI_MakeEdge(gp_Pnt(-150.,-150,0.), gp_Pnt(-50.,-50,0.)); - Handle(AIS_Shape) ais3 = new AIS_Shape(E); - aContext->Display(ais3); - TopoDS_Shape S2 = BRepPrimAPI_MakePrism(E,gp_Vec(0.,0.,100.)); - Handle(AIS_Shape) ais4 = new AIS_Shape(S2); - aContext->SetColor(ais4,Quantity_NOC_CORAL2,Standard_False); - aContext->SetMaterial(ais4,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais4); - - TopoDS_Edge E1 = BRepBuilderAPI_MakeEdge(gp_Pnt(0.,0.,0.), gp_Pnt(50.,0.,0.)).Edge(); - TopoDS_Edge E2 = BRepBuilderAPI_MakeEdge(gp_Pnt(50.,0.,0.), gp_Pnt(50.,50.,0.)).Edge(); - TopoDS_Edge E3 = BRepBuilderAPI_MakeEdge(gp_Pnt(50.,50.,0.), gp_Pnt(0.,0.,0.)).Edge(); - TopoDS_Wire W = BRepBuilderAPI_MakeWire(E1,E2,E3).Wire(); - TopoDS_Shape S3 = BRepPrimAPI_MakePrism(W,gp_Vec(0.,0.,100.)).Shape(); - Handle(AIS_Shape) ais5 = new AIS_Shape(W); - aContext->Display(ais5); - Handle(AIS_Shape) ais6 = new AIS_Shape(S3); - aContext->SetColor(ais6,Quantity_NOC_GREEN,Standard_False); - aContext->SetMaterial(ais6,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais6); - - gp_Circ c = gp_Circ(gp_Ax2(gp_Pnt(200.,200.,0.),gp_Dir(0.,0.,1.)), 80.); - TopoDS_Edge Ec = BRepBuilderAPI_MakeEdge(c).Edge(); - TopoDS_Wire Wc = BRepBuilderAPI_MakeWire(Ec).Wire(); - TopoDS_Face F = BRepBuilderAPI_MakeFace(gp_Pln(gp::XOY()),Wc).Face(); - Handle(AIS_Shape) ais7 = new AIS_Shape(F); - aContext->Display(ais7); - TopoDS_Shape S4 = BRepPrimAPI_MakePrism(F,gp_Vec(0.,0.,100.)).Shape(); - Handle(AIS_Shape) ais8 = new AIS_Shape(S4); - aContext->SetColor(ais8,Quantity_NOC_MATRABLUE,Standard_False); - aContext->SetMaterial(ais8,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais8); - - Message = "\ - \n\ ---- Prism a vertex -> result is an edge --- \n\ -\n\ -TopoDS_Vertex V1 = BRepBuilderAPI_MakeVertex(gp_Pnt(-200.,-200.,0.)); \n\ -TopoDS_Shape S1 = BRepPrimAPI_MakePrism(V1,gp_Vec(0.,0.,100.)); \n\ -\n\ ---- Prism an edge -> result is a face --- \n\ -\n\ -TopoDS_Edge E = BRepBuilderAPI_MakeEdge(gp_Pnt(-150.,-150,0.), gp_Pnt(-50.,-50,0.)); \n\ -TopoDS_Shape S2 = BRepPrimAPI_MakePrism(E,gp_Vec(0.,0.,100.)); \n\ -\n\ ---- Prism an wire -> result is a shell --- \n\ -\n\ -TopoDS_Edge E1 = BRepBuilderAPI_MakeEdge(gp_Pnt(0.,0.,0.), gp_Pnt(50.,0.,0.)); \n\ -TopoDS_Edge E2 = BRepBuilderAPI_MakeEdge(gp_Pnt(50.,0.,0.), gp_Pnt(50.,50.,0.)); \n\ -TopoDS_Edge E3 = BRepBuilderAPI_MakeEdge(gp_Pnt(50.,50.,0.), gp_Pnt(0.,0.,0.)); \n\ -TopoDS_Wire W = BRepBuilderAPI_MakeWire(E1,E2,E3); \n\ -TopoDS_Shape S3 = BRepPrimAPI_MakePrism(W,gp_Vec(0.,0.,100.)); \n\ -\n\ ---- Prism a face or a shell -> result is a solid --- \n\ -\n\ -gp_Circ c = gp_Circ(gp_Ax2(gp_Pnt(200.,200.,0.gp_Dir(0.,0.,1.)), 80.); \n\ -TopoDS_Edge Ec = BRepBuilderAPI_MakeEdge(c); \n\ -TopoDS_Wire Wc = BRepBuilderAPI_MakeWire(Ec); \n\ -TopoDS_Face F = BRepBuilderAPI_MakeFacePI_MakePrism(F,gp_Vec(0.,0.,100.)); \n\ - \n"; -} - -//=============================================================== -// Function name: MakeRevol -//=============================================================== - void SamplesTopologyPackage::MakeRevol(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Vertex V1 = BRepBuilderAPI_MakeVertex(gp_Pnt(-200.,-200.,0.)).Vertex(); - Handle(AIS_Shape) ais1 = new AIS_Shape(V1); - aContext->Display(ais1); - gp_Ax1 axe = gp_Ax1(gp_Pnt(-170.,-170.,0.),gp_Dir(0.,0.,1.)); - Handle(Geom_Axis1Placement) Gax1 = new Geom_Axis1Placement(axe); - Handle (AIS_Axis) ax1 = new AIS_Axis(Gax1); - aContext->Display(ax1); - TopoDS_Shape S1 = BRepPrimAPI_MakeRevol(V1,axe).Shape(); - Handle(AIS_Shape) ais2 = new AIS_Shape(S1); - aContext->Display(ais2); - - TopoDS_Edge E = BRepBuilderAPI_MakeEdge(gp_Pnt(-120.,-120,0.), gp_Pnt(-120.,-120,100.)).Edge(); - Handle(AIS_Shape) ais3 = new AIS_Shape(E); - aContext->Display(ais3); - axe = gp_Ax1(gp_Pnt(-100.,-100.,0.),gp_Dir(0.,0.,1.)); - Handle(Geom_Axis1Placement) Gax2 = new Geom_Axis1Placement(axe); - Handle (AIS_Axis) ax2 = new AIS_Axis(Gax2); - aContext->Display(ax2); - TopoDS_Shape S2 = BRepPrimAPI_MakeRevol(E,axe).Shape(); - Handle(AIS_Shape) ais4 = new AIS_Shape(S2); - aContext->SetColor(ais4,Quantity_NOC_YELLOW,Standard_False); - aContext->SetMaterial(ais4,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais4); - - TopoDS_Edge E1 = BRepBuilderAPI_MakeEdge(gp_Pnt(0.,0.,0.), gp_Pnt(50.,0.,0.)).Edge(); - TopoDS_Edge E2 = BRepBuilderAPI_MakeEdge(gp_Pnt(50.,0.,0.), gp_Pnt(50.,50.,0.)).Edge(); - TopoDS_Edge E3 = BRepBuilderAPI_MakeEdge(gp_Pnt(50.,50.,0.), gp_Pnt(0.,0.,0.)).Edge(); - TopoDS_Wire W = BRepBuilderAPI_MakeWire(E1,E2,E3).Wire(); - axe = gp_Ax1(gp_Pnt(0.,0.,30.),gp_Dir(0.,1.,0.)); - Handle(Geom_Axis1Placement) Gax3 = new Geom_Axis1Placement(axe); - Handle (AIS_Axis) ax3 = new AIS_Axis(Gax3); - aContext->Display(ax3); - TopoDS_Shape S3 = BRepPrimAPI_MakeRevol(W,axe, 210.*PI180).Shape(); - Handle(AIS_Shape) ais5 = new AIS_Shape(W); - aContext->Display(ais5); - Handle(AIS_Shape) ais6 = new AIS_Shape(S3); - aContext->SetColor(ais6,Quantity_NOC_GREEN,Standard_False); - aContext->SetMaterial(ais6,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais6); - - gp_Circ c = gp_Circ(gp_Ax2(gp_Pnt(200.,200.,0.),gp_Dir(0.,0.,1.)), 80.); - TopoDS_Edge Ec = BRepBuilderAPI_MakeEdge(c).Edge(); - TopoDS_Wire Wc = BRepBuilderAPI_MakeWire(Ec).Wire(); - TopoDS_Face F = BRepBuilderAPI_MakeFace(gp_Pln(gp::XOY()),Wc).Face(); - axe = gp_Ax1(gp_Pnt(290,290.,0.),gp_Dir(0.,1,0.)); - Handle(Geom_Axis1Placement) Gax4 = new Geom_Axis1Placement(axe); - Handle (AIS_Axis) ax4 = new AIS_Axis(Gax4); - aContext->Display(ax4); - TopoDS_Shape S4 = BRepPrimAPI_MakeRevol(F,axe, 90.*PI180).Shape(); - Handle(AIS_Shape) ais8 = new AIS_Shape(S4); - aContext->SetColor(ais8,Quantity_NOC_MATRABLUE,Standard_False); - aContext->SetMaterial(ais8,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais8); - - Message = "\ - \n\ ---- Revol of a vertex -> result is an edge --- \n\ -\n\ -TopoDS_Vertex V1 = BRepBuilderAPI_MakeVertex(gp_Pnt(-200.,-200.,0.)); \n\ -gp_Ax1 axe = gp_Ax1(gp_Pnt(-170.,-170.,0.),gp_Dir(0.,0.,1.)); \n\ -TopoDS_Shape S1 = BRepPrimAPI_MakeRevol(V1,axe); \n\ -\n\ ---- Revol of an edge -> result is a face --- \n\ -\n\ -TopoDS_Edge E = BRepBuilderAPI_MakeEdge(gp_Pnt(-120.,-120,0.), gp_Pnt(-120.,-120,100.)); \n\ -axe = gp_Ax1(gp_Pnt(-100.,-100.,0.),gp_Dir(0.,0.,1.)); \n\ -TopoDS_Shape S2 = BRepPrimAPI_MakeRevol(E,axe); \n\ -\n\ ---- Revol of a wire -> result is a shell --- \n\ -\n\ -TopoDS_Edge E1 = BRepBuilderAPI_MakeEdge(gp_Pnt(0.,0.,0.), gp_Pnt(50.,0.,0.)); \n\ -TopoDS_Edge E2 = BRepBuilderAPI_MakeEdge(gp_Pnt(50.,0.,0.), gp_Pnt(50.,50.,0.)); \n\ -TopoDS_Edge E3 = BRepBuilderAPI_MakeEdge(gp_Pnt(50.,50.,0.), gp_Pnt(0.,0.,0.)); \n\ -TopoDS_Wire W = BRepBuilderAPI_MakeWire(E1,E2,E3); \n\ -axe = gp_Ax1(gp_Pnt(0.,0.,30.),gp_Dir(0.,1.,0.)); \n\ -TopoDS_Shape S3 = BRepPrimAPI_MakeRevol(W,axe, 210.*PI180); \n\ -\n\ ---- Revol of a face -> result is a solid --- \n\ -\n\ -gp_Circ c = gp_Circ(gp_Ax2(gp_Pnt(200.,200.,0.),gp_Dir(0.,0.,1.)), 80.); \n\ -TopoDS_Edge Ec = BRepBuilderAPI_MakeEdge(c); \n\ -TopoDS_Wire Wc = BRepBuilderAPI_MakeWire(Ec); \n\ -TopoDS_Face F = BRepBuilderAPI_MakeFace0.,0.),gp_Dir(0.,1,0.)); \n\ -TopoDS_Shape S4 = BRepPrimAPI_MakeRevol(F,axe, 90.*PI180); \n\ - \n"; -} - -//=============================================================== -// Function name: MakePipe -//=============================================================== - void SamplesTopologyPackage::MakePipe(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TColgp_Array1OfPnt CurvePoles(1,4); - gp_Pnt pt = gp_Pnt(0.,0.,0.); - CurvePoles(1) = pt; - pt = gp_Pnt(20.,50.,0.); - CurvePoles(2) = pt; - pt = gp_Pnt(60.,100.,0.); - CurvePoles(3) = pt; - pt = gp_Pnt(150.,0.,0.); - CurvePoles(4) = pt; - Handle(Geom_BezierCurve) curve = new Geom_BezierCurve(CurvePoles); - TopoDS_Edge E = BRepBuilderAPI_MakeEdge(curve).Edge(); - TopoDS_Wire W = BRepBuilderAPI_MakeWire(E).Wire(); - Handle(AIS_Shape) ais1 = new AIS_Shape(W); - aContext->Display(ais1); - gp_Circ c = gp_Circ(gp_Ax2(gp_Pnt(0.,0.,0.),gp_Dir(0.,1.,0.)),10.); - TopoDS_Edge Ec = BRepBuilderAPI_MakeEdge(c).Edge(); - TopoDS_Wire Wc = BRepBuilderAPI_MakeWire(Ec).Wire(); - Handle(AIS_Shape) ais3 = new AIS_Shape(Wc); - aContext->Display(ais3); - TopoDS_Face F = BRepBuilderAPI_MakeFace(gp_Pln(gp::ZOX()),Wc).Face(); - TopoDS_Shape S = BRepOffsetAPI_MakePipe(W,F).Shape(); - Handle(AIS_Shape) ais2 = new AIS_Shape(S); - aContext->SetColor(ais2,Quantity_NOC_MATRABLUE,Standard_False); - aContext->SetMaterial(ais2,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais2); - - Message = "\ - \n\ -TColgp_Array1OfPnt CurvePoles(1,6);\n\ -gp_Pnt pt = gp_Pnt(0.,0.,0.);\n\ -CurvePoles(1) = pt;\n\ -pt = gp_Pnt(20.,50.,0.);\n\ -CurvePoles(2) = pt;\n\ -pt = gp_Pnt(60.,100.,0.);\n\ -CurvePoles(3) = pt;\n\ -pt = gp_Pnt(150.,0.,0.);\n\ -CurvePoles(4) = pt;\n\ -Handle(Geom_BezierCurve) curve = new Geom_BezierCurve(CurvePoles);\n\ -TopoDS_Edge E = BRepBuilderAPI_MakeEdge(curve);\n\ -TopoDS_Wire W = BRepBuilderAPI_MakeWire(E);\n\ -gp_Circ c = gp_Circ(gp_Ax2(gp_Pnt(0.,0.,0.),gp_Dir(0.,1.,0.)),10.);\n\ -TopoDS_Edge Ec = BRepBuilderAPI_MakeEdge(c);\n\ -TopoDS_Wire Wc = BRepBuilderAPI_MakeWire(Ec);\n\ -TopoDS_Face F = BRepBuilderAPI_MakeFaceAPI_MakePipe(W,F);\n\ - \n"; -} - -//=============================================================== -// Function name: MakeThru -//=============================================================== - void SamplesTopologyPackage::MakeThru(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - gp_Circ c1 = gp_Circ(gp_Ax2(gp_Pnt(-100.,0.,-100.),gp_Dir(0.,0.,1.)),40.); - TopoDS_Edge E1 = BRepBuilderAPI_MakeEdge(c1).Edge(); - TopoDS_Wire W1 = BRepBuilderAPI_MakeWire(E1).Wire(); - Handle(AIS_Shape) sec1 = new AIS_Shape(W1); - aContext->Display(sec1,Standard_False); - gp_Circ c2 = gp_Circ(gp_Ax2(gp_Pnt(-10.,0.,-0.),gp_Dir(0.,0.,1.)),40.); - TopoDS_Edge E2 = BRepBuilderAPI_MakeEdge(c2); - TopoDS_Wire W2 = BRepBuilderAPI_MakeWire(E2); - Handle(AIS_Shape) sec2 = new AIS_Shape(W2); - aContext->Display(sec2,Standard_False); - gp_Circ c3 = gp_Circ(gp_Ax2(gp_Pnt(-75.,0.,100.),gp_Dir(0.,0.,1.)),40.); - TopoDS_Edge E3 = BRepBuilderAPI_MakeEdge(c3); - TopoDS_Wire W3 = BRepBuilderAPI_MakeWire(E3); - Handle(AIS_Shape) sec3 = new AIS_Shape(W3); - aContext->Display(sec3,Standard_False); - gp_Circ c4= gp_Circ(gp_Ax2(gp_Pnt(0.,0.,200.),gp_Dir(0.,0.,1.)),40.); - TopoDS_Edge E4 = BRepBuilderAPI_MakeEdge(c4); - TopoDS_Wire W4 = BRepBuilderAPI_MakeWire(E4); - Handle(AIS_Shape) sec4 = new AIS_Shape(W4); - aContext->Display(sec4); - BRepOffsetAPI_ThruSections generator(Standard_False,Standard_True); - generator.AddWire(W1); - generator.AddWire(W2); - generator.AddWire(W3); - generator.AddWire(W4); - generator.Build(); - TopoDS_Shape S1 = generator.Shape(); - Handle(AIS_Shape) ais1 = new AIS_Shape(S1); - aContext->SetColor(ais1,Quantity_NOC_MATRABLUE,Standard_False); - aContext->SetMaterial(ais1,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais1); - - gp_Circ c1b = gp_Circ(gp_Ax2(gp_Pnt(100.,0.,-100.),gp_Dir(0.,0.,1.)),40.); - TopoDS_Edge E1b = BRepBuilderAPI_MakeEdge(c1b).Edge(); - TopoDS_Wire W1b = BRepBuilderAPI_MakeWire(E1b).Wire(); - Handle(AIS_Shape) sec1b = new AIS_Shape(W1b); - aContext->Display(sec1b,Standard_False); - gp_Circ c2b = gp_Circ(gp_Ax2(gp_Pnt(210.,0.,-0.),gp_Dir(0.,0.,1.)),40.); - TopoDS_Edge E2b = BRepBuilderAPI_MakeEdge(c2b).Edge(); - TopoDS_Wire W2b = BRepBuilderAPI_MakeWire(E2b).Wire(); - Handle(AIS_Shape) sec2b = new AIS_Shape(W2b); - aContext->Display(sec2b,Standard_False); - gp_Circ c3b = gp_Circ(gp_Ax2(gp_Pnt(275.,0.,100.),gp_Dir(0.,0.,1.)),40.); - TopoDS_Edge E3b = BRepBuilderAPI_MakeEdge(c3b).Edge(); - TopoDS_Wire W3b = BRepBuilderAPI_MakeWire(E3b).Wire(); - Handle(AIS_Shape) sec3b = new AIS_Shape(W3b); - aContext->Display(sec3b,Standard_False); - gp_Circ c4b= gp_Circ(gp_Ax2(gp_Pnt(200.,0.,200.),gp_Dir(0.,0.,1.)),40.); - TopoDS_Edge E4b = BRepBuilderAPI_MakeEdge(c4b).Edge(); - TopoDS_Wire W4b = BRepBuilderAPI_MakeWire(E4b).Wire(); - Handle(AIS_Shape) sec4b = new AIS_Shape(W4b); - aContext->Display(sec4b); - BRepOffsetAPI_ThruSections generatorb(Standard_True,Standard_False); - generatorb.AddWire(W1b); - generatorb.AddWire(W2b); - generatorb.AddWire(W3b); - generatorb.AddWire(W4b); - generatorb.Build(); - TopoDS_Shape S2 = generatorb.Shape(); - Handle(AIS_Shape) ais2 = new AIS_Shape(S2); - aContext->SetColor(ais2,Quantity_NOC_ALICEBLUE,Standard_False); - aContext->SetMaterial(ais2,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais2); - - Message = "\ - \n\ ----------- ruled -------------- \n\ -\n\ -gp_Circ c1 = gp_Circ(gp_Ax2(gp_Pnt(-100.,0.,-100.),gp_Dir(0.,0.,1.)),40.);\n\ -TopoDS_Edge E1 = BRepBuilderAPI_MakeEdge(c1);\n\ -TopoDS_Wire W1 = BRepBuilderAPI_MakeWire(E1);\n\ -gp_Circ c2 = gp_Circ(gp_Ax2(gp_Pnt(-10.,0.,-0.),gp_Dir(0.,0.,1.)),40.);\n\ -TopoDS_Edge E2 = BRepBuilderAPI_MakeEdge(c2);\n\ -TopoDS_Wire W2 = BRepBuilderAPI_MakeWire(E2);\n\ -gp_Circ c3 = gp_Circ(gp_Ax2(gp_Pnt(-75.,0.,100.),gp_Dir(0.,0.,1.)),40.);\n\ -TopoDS_Edge E3 = BRepBuilderAPI_MakeEdge(c3);\n\ -TopoDS_Wire W3 = BRepBuilderAPI_MakeWire(E3);\n\ -gp_Circ c4= gp_Circ(gp_Ax2(gp_Pnt(0.,0.,200.),gp_Dir(0.,0.,1.)),40.);\n\ -TopoDS_Edge E4 = BRepBuilderAPI_MakeEdge(c4);\n\ -TopoDS_Edge E4 = BRepBuilderAPI_MakeEdge(c4);\n\ -TopoDS_Edge E4 = BRepBuilderAPI_MakeEdge(c4);\n\ -TopoDS_Wire W4 = BRepBuilderAPI_MakeWire(E4);\n\ -BRepOffsetAPI_ThruSections generator(Standard_False,Standard_True);\n\ -generator.AddWire(W1);\n\ -generator.AddWire(W2);\n\ -generator.AddWire(W3);\n\ -generator.AddWire(W4);\n\ -generator.Build();\n\ -TopoDS_Shape S1 = generator.Shape();\n\ -\n\ ----------- smooth -------------- \n\ -\n\ -gp_Circ c1b = gp_Circ(gp_Ax2(gp_Pnt(100.,0.,-100.),gp_Dir(0.,0.,1.)),40.); \n\ -TopoDS_Edge E1b = BRepBuilderAPI_MakeEdge(c1b); \n\ -TopoDS_Wire W1b = BRepBuilderAPI_MakeWire(E1b); \n\ -gp_Circ c2b = gp_Circ(gp_Ax2(gp_Pnt(210.,0.,-0.),gp_Dir(0.,0.,1.)),40.); \n\ -TopoDS_Edge E2b = BRepBuilderAPI_MakeEdge(c2b);\n\ -TopoDS_Wire W2b = BRepBuilderAPI_MakeWire(E2b); \n\ -gp_Circ c3b = gp_Circ(gp_Ax2(gp_Pnt(275.,0.,100.),gp_Dir(0.,0.,1.)),40.);\n\ -TopoDS_Edge E3b = BRepBuilderAPI_MakeEdge(c3b);\n\ -TopoDS_Wire W3b = BRepBuilderAPI_MakeWire(E3b);\n\ -gp_Circ c4b= gp_Circ(gp_Ax2(gp_Pnt(200.,0.,200.),gp_Dir(0.,0.,1.)),40.);\n\ -TopoDS_Edge E4b = BRepBuilderAPI_MakeEdge(c4b);\n\ -TopoDS_Wire W4b = BRepBuilderAPI_MakeWire(E4b);\n\ -BRepOffsetAPI_ThruSections generatorb(Standard_True,Standard_False);\n\ -generatorb.AddWire(W1b);\n\ -generatorb.AddWire(W2b);\n\ -generatorb.AddWire(W3b);\n\ -generatorb.AddWire(W4b);\n\ -generatorb.Build();\n\ -TopoDS_Shape S2 = generatorb.Shape();\n\ - \n"; -} - -//=============================================================== -// Function name: MakeEvolved -//=============================================================== - void SamplesTopologyPackage::MakeEvolved(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - BRepBuilderAPI_MakePolygon P; - P.Add(gp_Pnt(0.,0.,0.)); - P.Add(gp_Pnt(200.,0.,0.)); - P.Add(gp_Pnt(200.,200.,0.)); - P.Add(gp_Pnt(0.,200.,0.)); - P.Add(gp_Pnt(0.,0.,0.)); - TopoDS_Wire W = P.Wire(); - Handle(AIS_Shape) ais1 = new AIS_Shape(W); - aContext->Display(ais1); - TopoDS_Wire wprof = BRepBuilderAPI_MakePolygon(gp_Pnt(0.,0.,0.),gp_Pnt(-60.,-60.,-200.)).Wire(); - Handle(AIS_Shape) ais3 = new AIS_Shape(wprof); - aContext->Display(ais3); - TopoDS_Shape S = BRepOffsetAPI_MakeEvolved(W,wprof,GeomAbs_Arc,Standard_True,Standard_False,Standard_True,0.0001); - Handle(AIS_Shape) ais2 = new AIS_Shape(S); - aContext->SetColor(ais2,Quantity_NOC_MATRABLUE,Standard_False); - aContext->SetMaterial(ais2,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais2); - - Message = "\ - \n\ ----------- Evolved shape -------------- \n\ -\n\ -BRepBuilderAPI_MakePolygon P;\n\ -P.Add(gp_Pnt(0.,0.,0.));\n\ -P.Add(gp_Pnt(200.,0.,0.));\n\ -P.Add(gp_Pnt(200.,200.,0.));\n\ -P.Add(gp_Pnt(0.,200.,0.));\n\ -P.Add(gp_Pnt(0.,0.,0.));\n\ -TopoDS_Wire W = P.Wire();\n\ -TopoDS_Wire wprof = BRepBuilderAPI_MakePolygon(gp_Pnt(0.,0.,0.),gp_Pnt(-60.,-60.,-200.));\n\ -TopoDS_Shape S = BRepOffsetAPI_MakeEvolved(W,wprof,GeomAbs_Arc,Standard_True,Standard_False,Standard_True,0.0001);\n\ - \n"; -} - -//=============================================================== -// Function name: MakeDraft -//=============================================================== - void SamplesTopologyPackage::MakeDraft(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Shape S = BRepPrimAPI_MakeBox(200.,300.,150.).Shape(); - Handle(AIS_Shape) ais1 = new AIS_Shape(S); - aContext->SetColor(ais1,Quantity_NOC_GREEN,Standard_False); - aContext->SetMaterial(ais1,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais1); - BRepOffsetAPI_DraftAngle adraft(S); - TopExp_Explorer Ex; - for (Ex.Init(S,TopAbs_FACE); Ex.More(); Ex.Next()) { - TopoDS_Face F = TopoDS::Face(Ex.Current()); - Handle(Geom_Plane) surf = Handle(Geom_Plane)::DownCast(BRep_Tool::Surface(F)); - gp_Pln apln = surf->Pln(); - gp_Dir dirF = apln.Axis().Direction(); - if (dirF.IsNormal(gp_Dir(0.,0.,1.),Precision::Angular())) - adraft.Add(F, gp_Dir(0.,0.,1.), 15.*PI180, gp_Pln(gp::XOY())); - } - ais1->Set(adraft.Shape()); - aContext->Redisplay(ais1); - - Message = "\ - \n\ ----------- Tapered shape -------------- \n\ -\n\ -TopoDS_Shape S = BRepPrimAPI_MakeBox(200.,300.,150.);\n\ -BRepOffsetAPI_DraftAngle adraft(S);\n\ -TopExp_Explorer Ex;\n\ -for (Ex.Init(S,TopAbs_FACE); Ex.More(); Ex.Next()) {\n\ - TopoDS_Face F = TopoDS::Face(Ex.Current());\n\ - Handle(Geom_Plane) surf = Handle(Geom_Plane)::DownCast(BRep_Tool::Surface(F));\n\ - gp_Pln apln = surf->Pln();\n\ - gp_Dir dirF = apln.Axis().Direction();\n\ - if (dirF.IsNormal(gp_Dir(0.,0.,1.),Precision::Angular()))\n\ - adraft.Add(F, gp_Dir(0.,0.,1.), 15.*PI180, gp_Pln(gp::XOY()));\n\ -}\n\ - \n"; -} - - -//====================================================================== -//= = -//= Topological Operations = -//= = -//====================================================================== - -//=============================================================== -// Function name: Cut -//=============================================================== - void SamplesTopologyPackage::Cut(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Shape theBox = BRepPrimAPI_MakeBox(200,60,60).Shape(); - Handle (AIS_Shape) ais1 = new AIS_Shape(theBox); - aContext->SetDisplayMode(ais1,1); - aContext->SetColor(ais1,Quantity_NOC_GREEN); - aContext->SetMaterial(ais1,Graphic3d_NOM_PLASTIC); - aContext->Display(ais1); - - TopoDS_Shape theSphere = BRepPrimAPI_MakeSphere(gp_Pnt(100,20,20),80).Shape(); - Handle (AIS_Shape) ais2 = new AIS_Shape(theSphere); - aContext->SetDisplayMode(ais2,1); - aContext->SetColor(ais2,Quantity_NOC_YELLOW); - aContext->SetMaterial(ais2,Graphic3d_NOM_PLASTIC); - aContext->Display(ais2); - - TopoDS_Shape ShapeCut = BRepAlgoAPI_Cut(theSphere,theBox); - - OSD::MilliSecSleep(1000); - aContext->Erase(ais1,Standard_True,Standard_False); - aContext->Erase(ais2,Standard_True,Standard_False); - - Handle (AIS_Shape) aSection = new AIS_Shape(ShapeCut); - aContext->SetDisplayMode(aSection,1); - aContext->SetColor(aSection,Quantity_NOC_RED); - aContext->SetMaterial(aSection,Graphic3d_NOM_PLASTIC); - aContext->Display(aSection); - - Message = "\ - \n\ -TopoDS_Shape theBox = BRepPrimAPI_MakeBox(200,40,40); \n\ - \n\ -TopoDS_Shape theSphere = BRepPrimAPI_MakeSphere(gp_Pnt(100,20,20),80); \n\ - \n\ -TopoDS_Shape ShapeCut = BRepAlgoAPI_Cut(theSphere,theBox); \n\ - \n"; -} - -//=============================================================== -// Function name: Fuse -//=============================================================== - void SamplesTopologyPackage::Fuse(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - gp_Pnt P(-5,5,-5); - TopoDS_Shape theBox1 = BRepPrimAPI_MakeBox(60,200,70).Shape(); - Handle (AIS_Shape) ais1 = new AIS_Shape(theBox1); - aContext->SetColor(ais1,Quantity_NOC_GREEN); - aContext->SetMaterial(ais1,Graphic3d_NOM_PLASTIC); - aContext->Display(ais1); - - TopoDS_Shape theBox2 = BRepPrimAPI_MakeBox(P,20,150,110).Shape(); - Handle (AIS_Shape) ais2 = new AIS_Shape(theBox2); - aContext->SetColor(ais2,Quantity_NOC_YELLOW); - aContext->SetMaterial(ais2,Graphic3d_NOM_PLASTIC); - aContext->Display(ais2); - - TopoDS_Shape FusedShape = BRepAlgoAPI_Fuse(theBox1,theBox2); - - OSD::MilliSecSleep(1000); - aContext->Erase(ais1,Standard_True,Standard_False); - aContext->Erase(ais2,Standard_True,Standard_False); - - Handle (AIS_Shape) aFusion = new AIS_Shape(FusedShape); - aContext->SetDisplayMode(aFusion,1); - aContext->SetColor(aFusion,Quantity_NOC_RED); - aContext->SetMaterial(aFusion,Graphic3d_NOM_PLASTIC); - aContext->Display(aFusion); - - Message = "\ - \n\ -TopoDS_Shape theBox1 = BRepPrimAPI_MakeBox(50,200,70); \n\ - \n\ -TopoDS_Shape theBox2 = BRepPrimAPI_MakeBox(-30,150,70); \n\ - \n\ -TopoDS_Shape FusedShape = BRepAlgoAPI_Fuse(theBox1,theBox2); \n"; -} - -//=============================================================== -// Function name: Common -//=============================================================== - void SamplesTopologyPackage::Common(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - gp_Ax2 axe(gp_Pnt(10,10,10),gp_Dir(1,2,1)); - TopoDS_Shape theBox = BRepPrimAPI_MakeBox(axe,60,80,100).Shape(); - - Handle(AIS_Shape) aboxshape=new AIS_Shape(theBox); - aContext->SetColor(aboxshape,Quantity_NOC_YELLOW); - aContext->SetMaterial(aboxshape,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->SetDisplayMode(aboxshape,1); - aContext->SetTransparency(aboxshape,0.7); - aContext->Display(aboxshape); - - TopoDS_Shape theWedge = BRepPrimAPI_MakeWedge(60.,100.,80.,20.).Shape(); - - Handle(AIS_Shape) awedge = new AIS_Shape(theWedge); - aContext->SetColor(awedge,Quantity_NOC_RED,Standard_False); - aContext->SetMaterial(awedge,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->SetTransparency(awedge,0.5); - aContext->Display(awedge); - - TopoDS_Shape theCommonSurface = BRepAlgoAPI_Common(theBox,theWedge); - - OSD::MilliSecSleep(1000); - aContext->Erase(aboxshape,Standard_True,Standard_False); - aContext->Erase(awedge,Standard_True,Standard_False); - - Handle(AIS_Shape) acommon = new AIS_Shape(theCommonSurface); - aContext->SetColor(acommon,Quantity_NOC_GREEN,Standard_False); - aContext->SetMaterial(acommon,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(acommon); - - Message = "\ - \n\ -gp_Ax2 axe(gp_Pnt(10,10,10),gp_Dir(1,2,1)); \n\ - \n\ -TopoDS_Shape theBox = BRepPrimAPI_MakeBox(axe,60,80,100); \n\ - \n\ -TopoDS_Shape theWedge = BRepPrimAPI_MakeWedge(60.,100.,80.,20.); \n\ - \n\ -TopoDS_Shape theCommonSurface = BRepAlgoAPI_Common(theBox,theWedge); \n\ - \n"; -} - -//=============================================================== -// Function name: Section -//=============================================================== - void SamplesTopologyPackage::Section(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Shape atorus = BRepPrimAPI_MakeTorus(120,20).Shape(); - - Handle(AIS_Shape) ashape=new AIS_Shape(atorus); - aContext->SetColor(ashape,Quantity_NOC_RED); - aContext->SetMaterial(ashape,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->SetDisplayMode(ashape,1); - aContext->SetTransparency(ashape,0.1); - aContext->Display(ashape); - - // gp_Vec V1(1,1,1); - Standard_Real radius = 120; - Standard_Integer i; - - for (i=-3;i<=3;i++) { - TopoDS_Shape asphere = BRepPrimAPI_MakeSphere(gp_Pnt(26*3*i,0,0),radius).Shape(); - - Handle (AIS_Shape) theShape=new AIS_Shape (asphere); - aContext->SetTransparency(theShape,0.1); - aContext->SetColor(theShape,Quantity_NOC_WHITE); - aContext->SetDisplayMode(theShape,1); - aContext->Display(theShape); - - Standard_Boolean PerformNow=Standard_False; - - BRepAlgoAPI_Section section(atorus,asphere,PerformNow); - section.ComputePCurveOn1(Standard_True); - section.Approximation(TopOpeBRepTool_APPROX); - section.Build(); - - Handle(AIS_Shape) asection=new AIS_Shape(section.Shape()); - aContext->SetDisplayMode(asection,0); - aContext->SetColor(asection,Quantity_NOC_WHITE); - aContext->Display(asection); - if(i<3) { - aContext->Erase(theShape,Standard_True,Standard_False); - } - } - - Message = "\ - \n\ -TopoDS_Shape atorus = BRepPrimAPI_MakeTorus(120,20); \n\ -gp_Vec V1(1,1,1); \n\ -Standard_Real radius = 120; \n\ -Standard_Integer i=-3; \n\ -for(i;i<=3;i++) { \n\ - TopoDS_Shape asphere = BRepPrimAPI_MakeSphere(gp_Pnt(78*i,0,0),radius); \n\ - Standard_Boolean PerformNow=Standard_False; \n\ - BRepAlgoAPI_Section section(atorus,asphere,PerformNow); \n\ - section.ComputePCurveOn1(Standard_True); \n\ - section.Approximation(TopOpeBRepTool_APPROX); \n\ - section.Build(); \n\ - \n"; -} - -//=============================================================== -// Function name: PSection -//=============================================================== - void SamplesTopologyPackage::PSection(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Shape theTorus = BRepPrimAPI_MakeTorus(35,8).Shape(); - Handle(AIS_Shape) atorus = new AIS_Shape(theTorus); - aContext->SetColor(atorus,Quantity_NOC_YELLOW,Standard_False); - aContext->SetMaterial(atorus,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->SetTransparency(atorus,0.1); - aContext->Display(atorus); - - gp_Pln aplane(1,0.25,3,4); - Handle (Geom_Plane) thePlane = new Geom_Plane(aplane); - Handle (AIS_Plane) ais1 = new AIS_Plane(thePlane); - aContext->Display(ais1); - - BRepAlgoAPI_Section section(theTorus,thePlane,Standard_False); - section.ComputePCurveOn1(Standard_True); - section.Approximation(TopOpeBRepTool_APPROX); - section.Build(); - Handle(AIS_Shape) asection=new AIS_Shape(section.Shape()); - aContext->SetDisplayMode(asection , 0); - aContext->SetColor(asection,Quantity_NOC_WHITE); - aContext->Display(asection); - - Message = "\ - \n\ -TopoDS_Shape theTorus = BRepPrimAPI_MakeTorus(60.,20.); \n\ - \n\ -gp_Pln P(1,2,1,-15); \n\ - \n\ -TopoDS_Shape Psection = BRepAlgoAPI_Section(theTorus,P); \n\ -\n"; -} - -//=============================================================== -// Function name: Blend -//=============================================================== - void SamplesTopologyPackage::Blend(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Shape Box = BRepPrimAPI_MakeBox(gp_Pnt(-400,0,0),200,230,180).Shape(); - Handle(AIS_Shape) ais1 = new AIS_Shape(Box); - aContext->SetColor(ais1,Quantity_NOC_YELLOW,Standard_False); - aContext->SetMaterial(ais1,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais1); - - BRepFilletAPI_MakeFillet fillet(Box); - - for (TopExp_Explorer ex(Box,TopAbs_EDGE); ex.More(); ex.Next()) { - TopoDS_Edge Edge =TopoDS::Edge(ex.Current()); - fillet.Add(20,Edge); - } - - OSD::MilliSecSleep(1000); - aContext->Erase(ais1,Standard_True,Standard_False); - - TopoDS_Shape blendedBox = fillet.Shape(); - Handle(AIS_Shape) aBlendbox = new AIS_Shape(blendedBox); - aContext->SetColor(aBlendbox,Quantity_NOC_YELLOW,Standard_False); - aContext->SetMaterial(aBlendbox,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(aBlendbox); - - - - gp_Pnt P1(250,150,75); - TopoDS_Shape S1 = BRepPrimAPI_MakeBox(300,200,200).Shape(); - TopoDS_Shape S2 = BRepPrimAPI_MakeBox(P1,120,180,70).Shape(); - - TopoDS_Shape fusedShape = BRepAlgoAPI_Fuse(S1,S2); - Handle(AIS_Shape) ais2 = new AIS_Shape(fusedShape); - aContext->SetColor(ais2,Quantity_NOC_RED,Standard_False); - aContext->SetMaterial(ais2,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais2); - - BRepFilletAPI_MakeFillet fill(fusedShape); - - for (TopExp_Explorer ex1(fusedShape,TopAbs_EDGE); ex1.More(); ex1.Next()) { - TopoDS_Edge E =TopoDS::Edge(ex1.Current()); - fill.Add(E); - } - - for (Standard_Integer i = 1;i<=fill.NbContours();i++) { - Standard_Real longueur(fill.Length(i)); - Standard_Real Rad(0.15*longueur); - for (Standard_Integer j = 1; j <=fill.NbEdges(i);j++) - fill.SetRadius(Rad,i,j); - } - - TopoDS_Shape blendedFusedSolids = fill.Shape(); - - Handle(AIS_Shape) aBlend = new AIS_Shape(blendedFusedSolids); - aContext->SetColor(aBlend,Quantity_NOC_RED,Standard_False); - aContext->SetMaterial(aBlend,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(aBlend); - - aContext->Erase(ais2,Standard_True,Standard_False); - - - Message = "\ - \n\ -//THE YELLOW BOX\n\ -TopoDS_Shape Box = BRepPrimAPI_MakeBox(gp_Pnt(-400,0,0),200,230,180);\n\ -\n\ -BRepFilletAPI_MakeFillet fillet(Box);\n\ -\n\ -for (TopExp_Explorer ex(Box,TopAbs_EDGE); ex.More(); ex.Next()) {\n\ - TopoDS_Edge Edge =TopoDS::Edge(ex.Current());\n\ - fillet.Add(20,Edge);\n\ -}\n\ -TopoDS_Shape blendedBox = fillet.Shape();\n\ -\n\ -////////////////////////////////////////////////////////////////////////\n\ -\n\ -//THE RED SOLID\n\ - \n\ -//Warning : On the acute angles of the boxes a fillet is created. \n\ -On the angles of fusion a blend is created. \n\ -\n\ -gp_Pnt P1(150,150,75);\n\ -TopoDS_Shape S1 = BRepPrimAPI_MakeBox(300,200,200);\n\ -TopoDS_Shape S2 = BRepPrimAPI_MakeBox(P1,100,200,70);\n\ -\n\ -TopoDS_Shape fusedShape = BRepAlgoAPI_Fuse(S1,S2);\n\ -BRepFilletAPI_MakeFillet fill(fusedShape);\n\ -\n\ -for (TopExp_Explorer ex1(fusedShape,TopAbs_EDGE); ex1.More(); ex1.Next()) {\n\ - TopoDS_Edge E =TopoDS::Edge(ex1.Current());\n\ - fill.Add(E);\n\ -}\n\ -\n\ -for (Standard_Integer i = 1;i<=fill.NbContours();i++) {\n\ - Standard_Real longueur(fill.Length(i));\n\ - Standard_Real Rad(0.2*longueur);\n\ - fill.SetRadius(Rad,i);\n\ -}\n\ -\n\ -TopoDS_Shape blendedFusedSolids = fill.Shape(); \n"; -} - -//=============================================================== -// Function name: EvolvedBlend -//=============================================================== - void SamplesTopologyPackage::EvolvedBlend(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Shape theBox = BRepPrimAPI_MakeBox(200,200,200).Shape(); - Handle(AIS_Shape) ais1 = new AIS_Shape(theBox); - aContext->SetColor(ais1,Quantity_NOC_BROWN,Standard_False); - aContext->SetMaterial(ais1,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais1); - - BRepFilletAPI_MakeFillet Rake(theBox); - - TopExp_Explorer ex(theBox,TopAbs_EDGE); - ex.Next(); - ex.Next(); - ex.Next(); - ex.Next(); - Rake.Add(8,50,TopoDS::Edge(ex.Current())); - Rake.Build(); - if (Rake.IsDone() ){ - TopoDS_Shape evolvedBox = Rake.Shape(); - ais1->Set(evolvedBox); - aContext->Redisplay(ais1); - } - - OSD::MilliSecSleep(1000); - -///////////////////////////////////////////////////////////////////// - - - - TopoDS_Shape theCylinder = BRepPrimAPI_MakeCylinder(gp_Ax2(gp_Pnt(-300,0,0),gp_Dir(0,0,1)),100,200).Shape(); - Handle(AIS_Shape) ais3 = new AIS_Shape(theCylinder); - aContext->SetColor(ais3,Quantity_NOC_GREEN,Standard_False); - aContext->SetMaterial(ais3,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais3); - - BRepFilletAPI_MakeFillet fillet(theCylinder); - - TColgp_Array1OfPnt2d TabPoint2(1,20); - - for (Standard_Integer i=0; i<=19; i++) { - gp_Pnt2d Point2d(i*2*PI/19,60*cos(i*PI/19-PI/2)+10); - TabPoint2.SetValue(i+1,Point2d); - } - - TopExp_Explorer exp2(theCylinder,TopAbs_EDGE); - fillet.Add(TabPoint2,TopoDS::Edge(exp2.Current())); - fillet.Build(); - if (fillet.IsDone() ){ - TopoDS_Shape LawEvolvedCylinder = fillet.Shape(); - ais3->Set(LawEvolvedCylinder); - aContext->Redisplay(ais3); - } - - gp_Pnt P(350,0,0); - TopoDS_Shape theBox2 = BRepPrimAPI_MakeBox(P,200,200,200).Shape(); - Handle(AIS_Shape) ais2 = new AIS_Shape(theBox2); - aContext->SetColor(ais2,Quantity_NOC_RED,Standard_False); - aContext->SetMaterial(ais2,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais2); - - - BRepFilletAPI_MakeFillet afillet(theBox2); - - TColgp_Array1OfPnt2d TabPoint(1,6); - - gp_Pnt2d P1(0.,8.); - gp_Pnt2d P2(0.2,16.); - gp_Pnt2d P3(0.4,25.); - gp_Pnt2d P4(0.6,55.); - gp_Pnt2d P5(0.8,28.); - gp_Pnt2d P6(1.,20.); - TabPoint.SetValue(1,P1); - TabPoint.SetValue(2,P2); - TabPoint.SetValue(3,P3); - TabPoint.SetValue(4,P4); - TabPoint.SetValue(5,P5); - TabPoint.SetValue(6,P6); - - TopExp_Explorer exp(theBox2,TopAbs_EDGE); - exp.Next(); - exp.Next(); - exp.Next(); - exp.Next(); - - afillet.Add(TabPoint, TopoDS::Edge(exp.Current())); - - afillet.Build(); - if (afillet.IsDone() ){ - TopoDS_Shape LawevolvedBox = afillet.Shape(); - ais2->Set(LawevolvedBox); - aContext->Redisplay(ais2); - } - - - Message = "\ - \n\ -//THE BROWN BOX \n\ -\n\ -TopoDS_Shape theBox = BRepPrimAPI_MakeBox(200,200,200); \n\ - \n\ -BRepFilletAPI_MakeFillet Rake(theBox); \n\ -ChFi3d_FilletShape FSh = ChFi3d_Rational; \n\ -Rake.SetFilletShape(FSh); \n\ - \n\ -TopExp_Explorer ex(theBox,TopAbs_EDGE); \n\ -ex.Next(); //in order to recover the front edge \n\ -ex.Next(); \n\ -ex.Next(); \n\ -ex.Next(); \n\ -Rake.Add(8,50,TopoDS::Edge(ex.Current())); \n\ - \n\ -Rake.Build(); \n\ -if (Rake.IsDone() ) \n\ - TopoDS_Shape theBrownBox = Rake.Shape(); \n\ - \n\ -////////////////////////////////////////////////////////// \n\ - \n\ -//THE GREEN CYLINDER \n\ - \n\ -TopoDS_Shape theCylinder = BRepPrimAPI_MakeCylinder(gp_Ax2(gp_Pnt(-300,0,0),gp_Dir(0,0,1)),100,200); \n\ - \n\ -BRepFilletAPI_MakeFillet fillet(theCylinder); \n\ - \n\ -TColgp_Array1OfPnt2d TabPoint2(1,20); \n\ - \n\ -for (Standard_Integer i=0; i<=19; i++) { \n\ - gp_Pnt2d Point2d(i*2*PI/19,60*cos(i*PI/19-PI/2)+10); \n\ - TabPoint2.SetValue(i+1,Point2d); \n\ -} \n\ - \n\ -TopExp_Explorer exp2(theCylinder,TopAbs_EDGE); \n\ -fillet.Add(TabPoint2,TopoDS::Edge(exp2.Current())); \n\ - \n\ -fillet.Build(); \n\ -if (fillet.IsDone() ) \n\ - TopoDS_Shape LawEvolvedCylinder = fillet.Shape(); \n\ - \n\ -//////////////////////////////////////////////////////////// \n\ - \n\ - //THE RED BOX \n\ - \n\ -gp_Pnt P(350,0,0); \n\ -TopoDS_Shape theBox2 = BRepPrimAPI_MakeBox(P,200,200,200); \n\ - \n\ -BRepFilletAPI_MakeFillet fill(theBox2); \n\ - \n\ -TColgp_Array1OfPnt2d TabPoint(1,6); \n\ -gp_Pnt2d P1(0,8); \n\ -gp_Pnt2d P2(0.2,16); \n\ -gp_Pnt2d P3(0.4,25); \n\ -gp_Pnt2d P4(0.6,55); \n\ -gp_Pnt2d P5(0.8,28); \n\ -gp_Pnt2d P6(1,20); \n\ -TabPoint.SetValue(1,P1); \n\ -TabPoint.SetValue(2,P2); \n\ -TabPoint.SetValue(3,P3); \n\ -TabPoint.SetValue(4,P4); \n\ -TabPoint.SetValue(5,P5); \n\ -TabPoint.SetValue(6,P6); \n\ - \n\ -TopExp_Explorer exp(theBox2,TopAbs_EDGE); \n\ -exp.Next(); //in order to trcover the front edge \n\ -exp.Next(); \n\ -exp.Next(); \n\ -exp.Next(); \n\ -fill.Add(TabPoint,TopoDS::Edge(exp.Current())); \n\ - \n\ -fill.Build(); \n\ -if (fillet.IsDone() ) \n\ - TopoDS_Shape theRedBox = fill.Shape(); \n\ -\n"; -} - -//=============================================================== -// Function name: Chamfer -//=============================================================== - void SamplesTopologyPackage::Chamfer(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Shape theBox = BRepPrimAPI_MakeBox(60,200,70).Shape(); - Handle(AIS_Shape) ais1 = new AIS_Shape(theBox); - aContext->SetColor(ais1,Quantity_NOC_YELLOW,Standard_False); - aContext->SetMaterial(ais1,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais1); - - BRepFilletAPI_MakeChamfer MC(theBox); - // add all the edges to chamfer - TopTools_IndexedDataMapOfShapeListOfShape M; - TopExp::MapShapesAndAncestors(theBox,TopAbs_EDGE,TopAbs_FACE,M); - for (Standard_Integer i = 1;i<=M.Extent();i++) { - TopoDS_Edge E = TopoDS::Edge(M.FindKey(i)); - TopoDS_Face F = TopoDS::Face(M.FindFromIndex(i).First()); - MC.Add(5,5,E,F); - } - - TopoDS_Shape ChanfrenedBox = MC.Shape(); - Handle(AIS_Shape) aBlendedBox = new AIS_Shape(ChanfrenedBox); - aContext->SetColor(aBlendedBox,Quantity_NOC_YELLOW,Standard_False); - aContext->SetMaterial(aBlendedBox,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(aBlendedBox); - - OSD::MilliSecSleep(1000); - aContext->Erase(ais1,Standard_True,Standard_False); - - Message = "\ - \n\ -TopoDS_Shape theBox = BRepPrimAPI_MakeBox(130,200,170); \n\ -BRepFilletAPI_MakeChamfer MC(theBox); \n\ -TopTools_IndexedDataMapOfShapeListOfShape M; \n\ -TopExp::MapShapesAndAncestors(theBox,TopAbs_EDGE,TopAbs_FACE,M); \n\ -for (Standard_Integer i;iEraseAll(Standard_False); - - TopoDS_Vertex V1,V2,V3; - - V1 = BRepBuilderAPI_MakeVertex(gp_Pnt(0,0,0)).Vertex(); - V2 = BRepBuilderAPI_MakeVertex(gp_Pnt(10,7,25)).Vertex(); - - gp_Pnt P(-12,8,-4); - BRepBuilderAPI_MakeVertex MV(P); - V3 = MV.Vertex(); - - Handle(AIS_Shape) Point1 = new AIS_Shape(V1); - aContext->Display(Point1); - Handle(AIS_Shape) Point2 = new AIS_Shape(V2); - aContext->Display(Point2); - Handle(AIS_Shape) Point3 = new AIS_Shape(V3); - aContext->Display(Point3); - - - Message = "\ - \n\ -TopoDS_Vertex V1,V2,V3; \n\ - \n\ -V1 = BRepBuilderAPI_MakeVertex(gp_Pnt(0,0,0)); \n\ - \n\ -V2 = BRepBuilderAPI_MakeVertex(gp_Pnt(10,7,25)); \n\ - \n\ -gp_Pnt P(-12,8,-4); \n\ -BRepBuilderAPI_MakeVertex MV(P); \n\ -V3 = MV.Vertex(); \n\ - \n\ -\n"; -} - -//=============================================================== -// Function name: Edge -//=============================================================== - void SamplesTopologyPackage::Edge(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Edge BlueEdge,YellowEdge,WhiteEdge,RedEdge,GreenEdge; - TopoDS_Vertex V1,V2,V3,V4; - -/////////////The blue edge - - BlueEdge = BRepBuilderAPI_MakeEdge(gp_Pnt(-80,-50,-20),gp_Pnt(-30,-60,-60)).Edge(); - -/////////////The yellow edge - - V1 = BRepBuilderAPI_MakeVertex(gp_Pnt(-20,10,-30)).Vertex(); - V2 = BRepBuilderAPI_MakeVertex(gp_Pnt(10,7,-25)).Vertex(); - YellowEdge = BRepBuilderAPI_MakeEdge(V1,V2).Edge(); - -/////////////The white edge - - gp_Ax1 aLocalAx1(gp_Pnt(10,10,10),gp_Dir(1,0,0)); - gp_Lin line(aLocalAx1); - // gp_Lin line(gp_Ax1(gp_Pnt(10,10,10),gp_Dir(1,0,0))); - WhiteEdge = BRepBuilderAPI_MakeEdge(line,-20,10).Edge(); - -//////////////The red edge - - gp_Ax2 aLocalAx2(gp_Pnt(10,0,0),gp_Dir(1,1,1)); - gp_Elips Elips(aLocalAx2,60,30); - // gp_Elips Elips(gp_Ax2(gp_Pnt(10,0,0),gp_Dir(1,1,1)),60,30); - RedEdge = BRepBuilderAPI_MakeEdge(Elips,0,PI/2).Edge(); - -/////////////The green edge and the both extreme vertex - - gp_Pnt P1(-15,200,10); - gp_Pnt P2(5,204,0); - gp_Pnt P3(15,200,0); - gp_Pnt P4(-15,20,15); - gp_Pnt P5(-5,20,0); - gp_Pnt P6(15,20,0); - gp_Pnt P7(24,120,0); - gp_Pnt P8(-24,120,12.5); - TColgp_Array1OfPnt array(1,8); - array.SetValue(1,P1); - array.SetValue(2,P2); - array.SetValue(3,P3); - array.SetValue(4,P4); - array.SetValue(5,P5); - array.SetValue(6,P6); - array.SetValue(7,P7); - array.SetValue(8,P8); - Handle (Geom_BezierCurve) curve = new Geom_BezierCurve(array); - - BRepBuilderAPI_MakeEdge ME (curve); - GreenEdge = ME; - V3 = ME.Vertex1(); - V4 = ME.Vertex2(); - -//////////////Display - Handle(AIS_Shape) blue = new AIS_Shape(BlueEdge); - aContext->SetColor(blue,Quantity_NOC_MATRABLUE,Standard_False); - aContext->Display(blue); - - Handle(AIS_Shape) yellow = new AIS_Shape(YellowEdge); - aContext->SetColor(yellow,Quantity_NOC_YELLOW,Standard_False); - aContext->Display(yellow); - - Handle(AIS_Shape) white = new AIS_Shape(WhiteEdge); - aContext->SetColor(white,Quantity_NOC_WHITE,Standard_False); - aContext->Display(white); - - Handle(AIS_Shape) red = new AIS_Shape(RedEdge); - aContext->SetColor(red,Quantity_NOC_RED,Standard_False); - aContext->Display(red); - - Handle(AIS_Shape) green = new AIS_Shape(GreenEdge); - aContext->SetColor(green,Quantity_NOC_GREEN,Standard_False); - aContext->Display(green); - - Handle(AIS_Shape) Point1 = new AIS_Shape(V3); - aContext->Display(Point1); - Handle(AIS_Shape) Point2 = new AIS_Shape(V4); - aContext->Display(Point2); - - - Message = "\ - \n\ -TopoDS_Edge BlueEdge, YellowEdge, WhiteEdge, RedEdge, GreenEdge; \n\ -TopoDS_Vertex V1,V2,V3,V4; \n\ - \n\ -/////////////The blue edge \n\ - \n\ -BlueEdge = BRepBuilderAPI_MakeEdge(gp_Pnt(-80,-50,-20),gp_Pnt(-30,-60,-60)); \n\ - \n\ -/////////////The yellow edge \n\ - \n\ -V1 = BRepBuilderAPI_MakeVertex(gp_Pnt(-20,10,-30)); \n\ -V2 = BRepBuilderAPI_MakeVertex(gp_Pnt(10,7,-25)); \n\ -YellowEdge = BRepBuilderAPI_MakeEdge(V1,V2); \n\ - \n\ -/////////////The white edge \n\ - \n\ -gp_Lin line(gp_Ax1(gp_Pnt(10,10,10),gp_Dir(1,0,0))); \n\ -WhiteEdge = BRepBuilderAPI_MakeEdge(line,-20,10); \n\ - \n\ -//////////////The red edge \n\ - \n\ -gp_Elips Elips(gp_Ax2(gp_Pnt(10,0,0),gp_Dir(1,1,1)),60,30); \n\ -RedEdge = BRepBuilderAPI_MakeEdge(Elips,0,PI/2); \n\ - \n\ -/////////////The green edge and the both extreme vertex \n\ - \n\ -gp_Pnt P1(-15,200,10); \n\ -gp_Pnt P2(5,204,0); \n\ -gp_Pnt P3(15,200,0); \n\ -gp_Pnt P4(-15,20,15); \n\ -gp_Pnt P5(-5,20,0); \n\ -gp_Pnt P6(15,20,0); \n\ -gp_Pnt P7(24,120,0); \n\ -gp_Pnt P8(-24,120,12.5); \n\ -TColgp_Array1OfPnt array(1,8); \n\ -array.SetValue(1,P1); \n\ -array.SetValue(2,P2); \n\ -array.SetValue(3,P3); \n\ -array.SetValue(4,P4); \n\ -array.SetValue(5,P5); \n\ -array.SetValue(6,P6); \n\ -array.SetValue(7,P7); \n\ -array.SetValue(8,P8); \n\ -Handle (Geom_BezierCurve) curve = new Geom_BezierCurve(array); \n\ - \n\ -BRepBuilderAPI_MakeEdge ME (curve); \n\ -GreenEdge = ME; \n\ -V3 = ME.Vertex1(); \n\ -V4 = ME.Vertex2(); \n\ - \n\ -\n"; -} - -//=============================================================== -// Function name: Wire -//=============================================================== - void SamplesTopologyPackage::Wire(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Wire RedWire,YellowWire,WhiteWire, - ExistingWire, ExistingWire2; - - TopoDS_Edge Edge1,Edge2,Edge3,Edge4,Edge5,Edge6,Edge7,LastEdge; - TopoDS_Vertex LastVertex; - -////////////The red wire is build from a single edge - - gp_Ax2 alocalAx2(gp_Pnt(250,0,0),gp_Dir(1,1,1)); - gp_Elips Elips(alocalAx2,160,90); - // gp_Elips Elips(gp_Ax2(gp_Pnt(250,0,0),gp_Dir(1,1,1)),160,90); - Edge1 = BRepBuilderAPI_MakeEdge(Elips,0,PI/2).Edge(); - - RedWire = BRepBuilderAPI_MakeWire(Edge1); - -///////////the yellow wire is build from an existing wire and an edge - - alocalAx2 = gp_Ax2(gp_Pnt(-300,0,0),gp_Dir(1,0,0)); - gp_Circ circle(alocalAx2,80); - // gp_Circ circle(gp_Ax2(gp_Pnt(-300,0,0),gp_Dir(1,0,0)),80); - Edge2 = BRepBuilderAPI_MakeEdge(circle,0,PI).Edge(); - - ExistingWire = BRepBuilderAPI_MakeWire(Edge2); - - Edge3 = BRepBuilderAPI_MakeEdge(gp_Pnt(-300,0,-80),gp_Pnt(-90,20,-30)).Edge(); - - BRepBuilderAPI_MakeWire MW1(ExistingWire,Edge3); - if (MW1.IsDone()) { - YellowWire = MW1; - } - - -//////////the white wire is built with an existing wire and 3 edges. -//////////we use the methods Add, Edge and Vertex from BRepBuilderAPI_MakeWire. - - gp_Ax2 aLocalAx2(gp_Pnt(0,0,0),gp_Dir(0,1,0)); - gp_Circ circle2(aLocalAx2,200); - // gp_Circ circle2(gp_Ax2(gp_Pnt(0,0,0),gp_Dir(0,1,0)),200); - Edge4 = BRepBuilderAPI_MakeEdge(circle2,0,PI); - - ExistingWire2 = BRepBuilderAPI_MakeWire(Edge4); - - gp_Pnt P1(0,0,-200); - gp_Pnt P2(5,204,0); - Edge5 = BRepBuilderAPI_MakeEdge(P1,P2); - - gp_Pnt P3(-15,20,15); - Edge6 = BRepBuilderAPI_MakeEdge(P2,P3); - gp_Pnt P4(15,20,0); - Edge7 = BRepBuilderAPI_MakeEdge(P3,P4); - - BRepBuilderAPI_MakeWire MW; - MW.Add(ExistingWire2); - MW.Add(Edge5); - MW.Add(Edge6); - MW.Add(Edge7); - - if (MW.IsDone()) { - WhiteWire = MW.Wire(); - LastEdge = MW.Edge(); - LastVertex = MW.Vertex(); - } - - - Handle(AIS_Shape) red = new AIS_Shape(RedWire); - aContext->SetColor(red,Quantity_NOC_RED); - aContext->Display(red); - - Handle(AIS_Shape) yellow = new AIS_Shape(YellowWire); - aContext->SetColor(yellow,Quantity_NOC_YELLOW); - aContext->Display(yellow); - - Handle(AIS_Shape) white = new AIS_Shape(WhiteWire); - aContext->SetColor(white,Quantity_NOC_WHITE); - aContext->Display(white); - - Handle(AIS_Shape) lastE = new AIS_Shape(LastEdge); - aContext->SetWidth(lastE,3); - aContext->SetColor(lastE,Quantity_NOC_RED); - aContext->Display(lastE); - - Handle(AIS_Shape) lastV = new AIS_Shape(LastVertex); - aContext->Display(lastV); - - - Message = "\ - \n\ -TopoDS_Wire RedWire,YellowWire,WhiteWire, \n\ -ExistingWire, ExistingWire2; \n\ - \n\ -TopoDS_Edge Edge1,Edge2,Edge3,Edge4,Edge5,Edge6,Edge7,LastEdge; \n\ -TopoDS_Vertex LastVertex; \n\ - \n\ -////////////The red wire is build from a single edge \n\ - \n\ -gp_Elips Elips(gp_Ax2(gp_Pnt(10,0,0),gp_Dir(1,1,1)),160,90); \n\ -Edge1 = BRepBuilderAPI_MakeEdge(Elips,0,PI/2); \n\ - \n\ -RedWire = BRepBuilderAPI_MakeWire(Edge1); \n\ - \n\ -///////////the yellow wire is build from an existing wire and an edge \n\ - \n\ -gp_Circ circle(gp_Ax2(gp_Pnt(0,0,0),gp_Dir(1,0,0)),80); \n\ -Edge2 = BRepBuilderAPI_MakeEdge(circle,0,PI); \n\ - \n\ -ExistingWire = BRepBuilderAPI_MakeWire(Edge2); \n\ - \n\ -Edge3 = BRepBuilderAPI_MakeEdge(gp_Pnt(0,0,-80),gp_Pnt(90,20,30)); \n\ - \n\ -BRepBuilderAPI_MakeWire MW1(ExistingWire,Edge3); \n\ -if (MW1.IsDone()) { \n\ - YellowWire = MW1; \n\ -} \n\ - \n\ -///the white wire is built with an existing wire and 3 edges. \n\ -///we use the methods Add, Edge and Vertex from BRepBuilderAPI_MakeWire \n\ -///in order to display the last edge and the last vertices we \n\ -///add to the wire. \n\ - \n\ -gp_Circ circle2(gp_Ax2(gp_Pnt(0,0,0),gp_Dir(0,1,0)),200); \n\ -Edge4 = BRepBuilderAPI_MakeEdge(circle2,0,PI); \n\ - \n\ -ExistingWire2 = BRepBuilderAPI_MakeWire(Edge4); \n\ - \n\ -gp_Pnt P1(0,0,-200); \n\ -gp_Pnt P2(5,204,0); \n\ -Edge5 = BRepBuilderAPI_MakeEdge(P1,P2); \n\ - \n\ -gp_Pnt P3(-15,20,15); \n\ -Edge6 = BRepBuilderAPI_MakeEdge(P2,P3); \n\ -gp_Pnt P4(15,20,0); \n\ -Edge7 = BRepBuilderAPI_MakeEdge(P3,P4); \n\ - \n\ -BRepBuilderAPI_MakeWire MW; \n\ -MW.Add(ExistingWire2); \n\ -MW.Add(Edge5); \n\ -MW.Add(Edge6); \n\ -MW.Add(Edge7); \n\ - \n\ -if (MW.IsDone()) { \n\ - WhiteWire = MW.Wire(); \n\ - LastEdge = MW.Edge(); \n\ - LastVertex = MW.Vertex(); \n\ -} \n\ - \n\ -\n"; -} - -//=============================================================== -// Function name: Face -//=============================================================== - void SamplesTopologyPackage::Face(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Face WhiteFace, BrownFace, RedFace, PinkFace; - TopoDS_Edge Edge1, Edge2, Edge3, Edge4, Edge5, Edge6, Edge7; - TopoDS_Wire Wire1; - gp_Pnt P1, P2, P3, P4, P5, P6; - - - - gp_Ax3 aLocalAx3(gp_Pnt(0,0,0),gp_Dir(1,0,0)); - gp_Sphere sphere (aLocalAx3,150); - // gp_Sphere sphere (gp_Ax3(gp_Pnt(0,0,0),gp_Dir(1,0,0)),150); - - WhiteFace = BRepBuilderAPI_MakeFace(sphere,0.1,0.7,0.2,0.9).Face(); - -////////////////////////////////// - - P1.SetCoord(-15,200,10); - P2.SetCoord(5,204,0); - P3.SetCoord(15,200,0); - P4.SetCoord(-15,20,15); - P5.SetCoord(-5,20,0); - P6.SetCoord(15,20,35); - TColgp_Array2OfPnt array(1,3,1,2); - array.SetValue(1,1,P1); - array.SetValue(2,1,P2); - array.SetValue(3,1,P3); - array.SetValue(1,2,P4); - array.SetValue(2,2,P5); - array.SetValue(3,2,P6); - Handle (Geom_BSplineSurface) curve = GeomAPI_PointsToBSplineSurface(array,3,8,GeomAbs_C2,0.001); - - RedFace = BRepBuilderAPI_MakeFace(curve); - -//////////////////// - - gp_Ax2 aLocalAx2(gp_Pnt(0,0,0),gp_Dir(1,0,0)); - gp_Circ circle(aLocalAx2,80); - // gp_Circ circle(gp_Ax2(gp_Pnt(0,0,0),gp_Dir(1,0,0)),80); - Edge1 = BRepBuilderAPI_MakeEdge(circle,0,PI).Edge(); - - Edge2 = BRepBuilderAPI_MakeEdge(gp_Pnt(0,0,-80),gp_Pnt(0,-10,40)); - Edge3 = BRepBuilderAPI_MakeEdge(gp_Pnt(0,-10,40),gp_Pnt(0,0,80)); - - TopoDS_Wire YellowWire; - BRepBuilderAPI_MakeWire MW1(Edge1,Edge2,Edge3); - if (MW1.IsDone()) { - YellowWire = MW1; - } - - BrownFace = BRepBuilderAPI_MakeFace(YellowWire); - - -///////////// - - P1.SetCoord(35,-200,40); - P2.SetCoord(50,-204,30); - P3.SetCoord(65,-200,30); - P4.SetCoord(35,-20,45); - P5.SetCoord(45,-20,30); - P6.SetCoord(65,-20,65); - TColgp_Array2OfPnt array2(1,3,1,2); - array2.SetValue(1,1,P1); - array2.SetValue(2,1,P2); - array2.SetValue(3,1,P3); - array2.SetValue(1,2,P4); - array2.SetValue(2,2,P5); - array2.SetValue(3,2,P6); - - Handle (Geom_BSplineSurface) BSplineSurf = GeomAPI_PointsToBSplineSurface(array2,3,8,GeomAbs_C2,0.001); - - TopoDS_Face aFace = BRepBuilderAPI_MakeFace(BSplineSurf); - - //2d lines - gp_Pnt2d P12d(0.9,0.1); - gp_Pnt2d P22d(0.2,0.7); - gp_Pnt2d P32d(0.02,0.1); - - Handle (Geom2d_Line) line1 = new Geom2d_Line(P12d,gp_Dir2d((0.2-0.9),(0.7-0.1))); - Handle (Geom2d_Line) line2 = new Geom2d_Line(P22d,gp_Dir2d((0.02-0.2),(0.1-0.7))); - Handle (Geom2d_Line) line3 = new Geom2d_Line(P32d,gp_Dir2d((0.9-0.02),(0.1-0.1))); - - - //Edges are on the BSpline surface - Edge1 = BRepBuilderAPI_MakeEdge(line1,BSplineSurf,0,P12d.Distance(P22d)); - Edge2 = BRepBuilderAPI_MakeEdge(line2,BSplineSurf,0,P22d.Distance(P32d)); - Edge3 = BRepBuilderAPI_MakeEdge(line3,BSplineSurf,0,P32d.Distance(P12d)); - - Wire1 = BRepBuilderAPI_MakeWire(Edge1,Edge2,Edge3); - Wire1.Reverse(); - PinkFace = BRepBuilderAPI_MakeFace(aFace,Wire1); - BRepLib::BuildCurves3d(PinkFace); - - BRepTools::Write(PinkFace,"PinkFace.rle"); - - -/////////////Display - Handle(AIS_Shape) white = new AIS_Shape(WhiteFace); - aContext->SetColor(white,Quantity_NOC_WHITE); - aContext->SetMaterial(white,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(white); - - Handle(AIS_Shape) red = new AIS_Shape(RedFace); - aContext->SetColor(red,Quantity_NOC_RED); - aContext->SetMaterial(red,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(red); - - Handle(AIS_Shape) brown = new AIS_Shape(BrownFace); - aContext->SetColor(brown,Quantity_NOC_BROWN); - aContext->SetMaterial(brown,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(brown); - - Handle(AIS_Shape) pink = new AIS_Shape(PinkFace); - aContext->SetColor(pink,Quantity_NOC_HOTPINK); - aContext->SetMaterial(pink,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(pink); - - - Message = "\ - \n\ -TopoDS_Face WhiteFace, BrownFace, RedFace, PinkFace; \n\ -TopoDS_Edge Edge1, Edge2, Edge3, Edge4, Edge5, Edge6, Edge7; \n\ -TopoDS_Wire Wire1; \n\ -gp_Pnt P1, P2, P3, P4, P5, P6, P7; \n\ -\n\ -////////The white Face \n\ -\n\ -gp_Sphere sphere (gp_Ax3(gp_Pnt(0,0,0),gp_Dir(1,0,0)),150); \n\ -\n\ -WhiteFace = BRepBuilderAPI_MakeFace(sphere,0.1,0.7,0.2,0.9); \n\ -\n\ -////////The red face \n\ -\n\ -P1.SetCoord(-15,200,10); \n\ -P2.SetCoord(5,204,0); \n\ -P3.SetCoord(15,200,0); \n\ -P4.SetCoord(-15,20,15); \n\ -P5.SetCoord(-5,20,0); \n\ -P6.SetCoord(15,20,35); \n\ -TColgp_Array2OfPnt array(1,3,1,2); \n\ -array.SetValue(1,1,P1); \n\ -array.SetValue(2,1,P2); \n\ -array.SetValue(3,1,P3); \n\ -array.SetValue(1,2,P4); \n\ -array.SetValue(2,2,P5); \n\ -array.SetValue(3,2,P6); \n\ -Handle (Geom_BSplineSurface) curve = GeomAPI_PointsToBSplineSurface(array,3,8,GeomAbs_C2,0.001); \n\ -\n\ -RedFace = BRepBuilderAPI_MakeFace(curve); \n\ -\n\ -////////The brown face \n\ -\n\ -gp_Circ circle(gp_Ax2(gp_Pnt(0,0,0),gp_Dir(1,0,0)),80); \n\ -Edge1 = BRepBuilderAPI_MakeEdge(circle,0,PI); \n\ -\n\ -Edge2 = BRepBuilderAPI_MakeEdge(gp_Pnt(0,0,-80),gp_Pnt(0,-10,40)); \n\ -Edge3 = BRepBuilderAPI_MakeEdge(gp_Pnt(0,-10,40),gp_Pnt(0,0,80)); \n\ -\n\ -TopoDS_Wire YellowWire; \n\ -BRepBuilderAPI_MakeWire MW1(Edge1,Edge2,Edge3); \n\ -if (MW1.IsDone()) { \n\ - YellowWire = MW1; \n\ -} \n\ -\n\ -BrownFace = BRepBuilderAPI_MakeFace(YellowWire); \n\ -\n"; -Message += "\ -////////The pink face \n\ -\n\ -P1.SetCoord(35,-200,40); \n\ -P2.SetCoord(50,-204,30); \n\ -P3.SetCoord(65,-200,30); \n\ -P4.SetCoord(35,-20,45); \n\ -P5.SetCoord(45,-20,30); \n\ -P6.SetCoord(65,-20,65); \n\ -TColgp_Array2OfPnt array2(1,3,1,2); \n\ -array2.SetValue(1,1,P1); \n\ -array2.SetValue(2,1,P2); \n\ -array2.SetValue(3,1,P3); \n\ -array2.SetValue(1,2,P4); \n\ -array2.SetValue(2,2,P5); \n\ -array2.SetValue(3,2,P6); \n\ - \n\ -Handle (Geom_BSplineSurface) BSplineSurf = GeomAPI_PointsToBSplineSurface(array2,3,8,GeomAbs_C2,0.001); \n\ - \n\ -TopoDS_Face aFace = BRepBuilderAPI_MakeFace(BSplineSurf); \n\ -\n\ -//2d lines \n\ -gp_Pnt2d P12d(0.9,0.1); \n\ -gp_Pnt2d P22d(0.2,0.7); \n\ -gp_Pnt2d P32d(0.02,0.1); \n\ -\n\ -Handle (Geom2d_Line) line1= \n\ - new Geom2d_Line(P12d,gp_Dir2d((0.2-0.9),(0.7-0.1))); \n\ -Handle (Geom2d_Line) line2= \n\ - new Geom2d_Line(P22d,gp_Dir2d((0.02-0.2),(0.1-0.7))); \n\ -Handle (Geom2d_Line) line3= \n\ - new Geom2d_Line(P32d,gp_Dir2d((0.9-0.02),(0.1-0.1))); \n\ - \n\ -//Edges are on the BSpline surface \n\ -Edge1 = BRepBuilderAPI_MakeEdge(line1,BSplineSurf,0,P12d.Distance(P22d)); \n\ -Edge2 = BRepBuilderAPI_MakeEdge(line2,BSplineSurf,0,P22d.Distance(P32d)); \n\ -Edge3 = BRepBuilderAPI_MakeEdge(line3,BSplineSurf,0,P32d.Distance(P12d)); \n\ -\n\ -Wire1 = BRepBuilderAPI_MakeWire(Edge1,Edge2,Edge3); \n\ -Wire1.Reverse(); \n\ -PinkFace = BRepBuilderAPI_MakeFace(aFace,Wire1); \n\ -BRepLib::BuildCurves3d(PinkFace); \n\ -\n\ -\n"; -} - -//=============================================================== -// Function name: Shell -//=============================================================== - void SamplesTopologyPackage::Shell(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TColgp_Array2OfPnt Poles(1,2,1,4); - Poles.SetValue(1,1,gp_Pnt(0,0,0)); - Poles.SetValue(1,2,gp_Pnt(0,10,2)); - Poles.SetValue(1,3,gp_Pnt(0,20,10)); - Poles.SetValue(1,4,gp_Pnt(0,30,0)); - Poles.SetValue(2,1,gp_Pnt(10,0,5)); - Poles.SetValue(2,2,gp_Pnt(10,10,3)); - Poles.SetValue(2,3,gp_Pnt(10,20,20)); - Poles.SetValue(2,4,gp_Pnt(10,30,0)); - - TColStd_Array1OfReal UKnots(1,2); - UKnots.SetValue(1,0); - UKnots.SetValue(2,1); - - TColStd_Array1OfInteger UMults(1,2); - UMults.SetValue(1,2); - UMults.SetValue(2,2); - - TColStd_Array1OfReal VKnots(1,3); - VKnots.SetValue(1,0); - VKnots.SetValue(2,1); - VKnots.SetValue(3,2); - - TColStd_Array1OfInteger VMults(1,3); - VMults.SetValue(1,3); - VMults.SetValue(2,1); - VMults.SetValue(3,3); - - Standard_Integer UDegree(1); - Standard_Integer VDegree(2); - - Handle (Geom_BSplineSurface) BSpline = new Geom_BSplineSurface(Poles,UKnots,VKnots,UMults,VMults,UDegree,VDegree); - - TopoDS_Face WhiteFace = BRepBuilderAPI_MakeFace(BSpline); - - Handle(AIS_Shape) white = new AIS_Shape(WhiteFace); - aContext->SetColor(white,Quantity_NOC_WHITE); - aContext->SetMaterial(white,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->SetTransparency(white,0.7); - aContext->Display(white); - - TopoDS_Shell aShell = BRepBuilderAPI_MakeShell(BSpline); - Handle(AIS_Shape) anAISShell = new AIS_Shape(aShell); - aContext->SetDisplayMode(anAISShell,0); - aContext->Display(anAISShell); - - - - Message = "\ - \n\ -TColgp_Array2OfPnt Poles(1,2,1,4); \n\ -Poles.SetValue(1,1,gp_Pnt(0,0,0)); \n\ -Poles.SetValue(1,2,gp_Pnt(0,10,2)); \n\ -Poles.SetValue(1,3,gp_Pnt(0,20,10)); \n\ -Poles.SetValue(1,4,gp_Pnt(0,30,0)); \n\ -Poles.SetValue(2,1,gp_Pnt(10,0,5)); \n\ -Poles.SetValue(2,2,gp_Pnt(10,10,3)); \n\ -Poles.SetValue(2,3,gp_Pnt(10,20,20)); \n\ -Poles.SetValue(2,4,gp_Pnt(10,30,0)); \n\ -\n\ -TColStd_Array1OfReal UKnots(1,2); \n\ -UKnots.SetValue(1,0); \n\ -UKnots.SetValue(2,1); \n\ -\n\ -TColStd_Array1OfInteger UMults(1,2); \n\ -UMults.SetValue(1,2); \n\ -UMults.SetValue(2,2); \n\ -\n\ -TColStd_Array1OfReal VKnots(1,3); \n\ -VKnots.SetValue(1,0); \n\ -VKnots.SetValue(2,1); \n\ -VKnots.SetValue(3,2); \n\ -\n\ -TColStd_Array1OfInteger VMults(1,3); \n\ -VMults.SetValue(1,3); \n\ -VMults.SetValue(2,1); \n\ -VMults.SetValue(3,3); \n\ -\n\ -Standard_Integer UDegree(1); \n\ -Standard_Integer VDegree(2); \n\ - \n\ -Handle (Geom_BSplineSurface) BSpline = new Geom_BSplineSurface(Poles,UKnots,VKnots,UMults,VMults,UDegree,VDegree); \n\ - \n\ -TopoDS_Shell aShell = BRepBuilderAPI_MakeShell(BSpline); \n\ -\n\ -\n"; -} - -//=============================================================== -// Function name: Compound -//=============================================================== - void SamplesTopologyPackage::Compound(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - BRep_Builder builder; - TopoDS_Compound Comp; - builder.MakeCompound(Comp); - - TopoDS_Vertex aVertex = BRepBuilderAPI_MakeVertex(gp_Pnt(-20,10,-30)).Vertex(); - builder.Add(Comp,aVertex); - - gp_Ax1 aLocalAx1(gp_Pnt(10,10,10),gp_Dir(1,0,0)); - gp_Lin line(aLocalAx1); - // gp_Lin line(gp_Ax1(gp_Pnt(10,10,10),gp_Dir(1,0,0))); - TopoDS_Edge anEdge = BRepBuilderAPI_MakeEdge(line,-20,10).Edge(); - builder.Add(Comp,anEdge); - - gp_Ax3 aLocalAx3(gp_Pnt(-80,0,0),gp_Dir(1,0,0)); - gp_Sphere sphere (aLocalAx3,150); - // gp_Sphere sphere (gp_Ax3(gp_Pnt(-80,0,0),gp_Dir(1,0,0)),150); - TopoDS_Face aFace = BRepBuilderAPI_MakeFace(sphere,0.1,0.7,0.2,0.9).Face(); - builder.Add(Comp,aFace); - - TopoDS_Shape aBox = BRepPrimAPI_MakeBox(gp_Pnt(-60,0,0),30,60,40).Shape(); - builder.Add(Comp,aBox); - - Handle(AIS_Shape) white = new AIS_Shape(Comp); - aContext->SetDisplayMode(white,0); - aContext->Display(white); - - - - Message = "\ - \n\ -BRep_Builder builder; \n\ -TopoDS_Compound Comp; \n\ -builder.MakeCompound(Comp); \n\ -\n\ -TopoDS_Vertex aVertex = BRepBuilderAPI_MakeVertex(gp_Pnt(-20,10,-30)); \n\ -builder.Add(Comp,aVertex); \n\ - \n\ -gp_Lin line(gp_Ax1(gp_Pnt(10,10,10),gp_Dir(1,0,0))); \n\ -TopoDS_Edge anEdge = BRepBuilderAPI_MakeEdge(line,-20,10); \n\ -builder.Add(Comp,anEdge); \n\ - \n\ -gp_Sphere sphere (gp_Ax3(gp_Pnt(-80,0,0),gp_Dir(1,0,0)),150); \n\ -TopoDS_Face aFace = BRepBuilderAPI_MakeFace(sphere,0.1,0.7,0.2,0.9); \n\ -builder.Add(Comp,aFace); \n\ - \n\ -TopoDS_Shape aBox = BRepPrimAPI_MakeBox(gp_Pnt(-60,0,0),30,60,40); \n\ -builder.Add(Comp,aBox); \n\ - \n\ -\n"; -} - -//=============================================================== -// Function name: Sewing -//=============================================================== - void SamplesTopologyPackage::Sewing(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - gp_Pnt P(0,0,0); - gp_Vec V(0,0,1); - Handle(Geom_Plane) Pi=new Geom_Plane(P,V); - Handle(Geom_RectangularTrimmedSurface) GeometricSurface=new Geom_RectangularTrimmedSurface(Pi,0.,100.,0.,100.); - TopoDS_Shape FirstShape = BRepBuilderAPI_MakeFace(GeometricSurface); - - Handle(AIS_Shape) white1 = new AIS_Shape(FirstShape); - aContext->SetColor(white1,Quantity_NOC_RED); - aContext->SetMaterial(white1,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->SetTransparency(white1,0.4); - aContext->Display(white1); - - gp_Pnt P1(0,0,0); - gp_Pnt P2(50,0,0); - gp_Pnt P3(100,0,0); - gp_Pnt P4(25,12,85); - gp_Pnt P5(100,0,80); - gp_Pnt P6(135,-12,85); - - TColgp_Array2OfPnt Array(1,3,1,2); - Array.SetValue(1,1,P1); - Array.SetValue(2,1,P2); - Array.SetValue(3,1,P3); - Array.SetValue(1,2,P4); - Array.SetValue(2,2,P5); - Array.SetValue(3,2,P6); - - Handle (Geom_BSplineSurface) aSurf = GeomAPI_PointsToBSplineSurface(Array,3,8,GeomAbs_C2,0.00001); - TopoDS_Shape SecondShape = BRepBuilderAPI_MakeFace(aSurf); - - Handle(AIS_Shape) white2 = new AIS_Shape(SecondShape); - aContext->SetColor(white2,Quantity_NOC_YELLOW); - aContext->SetMaterial(white2,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->SetTransparency(white2,0.4); - aContext->Display(white2); - - - BRepOffsetAPI_Sewing aMethod; - aMethod.Add(FirstShape); - aMethod.Add(SecondShape); - - aMethod.Perform(); - - TopoDS_Shape sewedShape = aMethod.SewedShape(); - - Handle(AIS_Shape) result = new AIS_Shape(sewedShape); - aContext->SetDisplayMode(result,0); - aContext->Display(result); - - - Message = "\ - \n\ -///////The first shape \n\ - \n\ -gp_Pnt P(0,0,0); \n\ -gp_Vec V(0,0,1); \n\ -Handle(Geom_Plane) Pi=new Geom_Plane(P,V); \n\ -Handle(Geom_RectangularTrimmedSurface) GeometricSurface=new Geom_RectangularTrimmedSurface(Pi,0.,100.,0.,100.); \n\ -TopoDS_Shape FirstShape = BRepBuilderAPI_MakeFace(GeometricSurface); \n\ - \n\ -///////The second shape \n\ - \n\ -gp_Pnt P1(0,0,0); \n\ -gp_Pnt P2(50,0,0); \n\ -gp_Pnt P3(100,0,0); \n\ -gp_Pnt P4(25,12,85); \n\ -gp_Pnt P5(100,0,80); \n\ -gp_Pnt P6(135,-12,85); \n\ -\n\ -TColgp_Array2OfPnt Array(1,3,1,2); \n\ -Array.SetValue(1,1,P1); \n\ -Array.SetValue(2,1,P2); \n\ -Array.SetValue(3,1,P3); \n\ -Array.SetValue(1,2,P4); \n\ -Array.SetValue(2,2,P5); \n\ -Array.SetValue(3,2,P6); \n\ -\n\ -Handle (Geom_BSplineSurface) aSurf = GeomAPI_PointsToBSplineSurface(Array,3,8,GeomAbs_C2,0.00001); \n\ -TopoDS_Shape SecondShape = BRepBuilderAPI_MakeFace(aSurf); \n\ - \n\ -BRepOffsetAPI_Sewing aMethod; \n\ -aMethod.Add(FirstShape); \n\ -aMethod.Add(SecondShape); \n\ -\n\ -aMethod.Perform(); \n\ -\n\ -TopoDS_Shape sewedShape = aMethod.SewedShape(); \n\ - \n\ -\n"; -} - -//=============================================================== -// Function name: Builder -//=============================================================== - void SamplesTopologyPackage::Builder(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - //The tolerance is the tolerance of confusion - Standard_Real precision = Precision::Confusion(); - - //The builder - BRep_Builder B; - - //Build the vertices - TopoDS_Vertex V000, V001, V010, V011, V100, V101, V110, V111; - B.MakeVertex(V000,gp_Pnt(0,0,0),precision); - B.MakeVertex(V001,gp_Pnt(0,0,100),precision); - B.MakeVertex(V010,gp_Pnt(0,150,0),precision); - B.MakeVertex(V011,gp_Pnt(0,150,100),precision); - B.MakeVertex(V100,gp_Pnt(200,0,0),precision); - B.MakeVertex(V101,gp_Pnt(200,0,100),precision); - B.MakeVertex(V110,gp_Pnt(200,150,0),precision); - B.MakeVertex(V111,gp_Pnt(200,150,100),precision); - - //Build the edges - //the edges are oriented as the axis X,Y,Z - TopoDS_Edge EX00, EX01, EX10, EX11; - TopoDS_Edge EY00, EY01, EY10, EY11; - TopoDS_Edge EZ00, EZ01, EZ10, EZ11; - Handle (Geom_Line) L; - - //Edge X00 - L = new Geom_Line(gp_Pnt(0,0,0),gp_Dir(1,0,0)); - B.MakeEdge(EX00,L,precision); - V000.Orientation(TopAbs_FORWARD); - V100.Orientation(TopAbs_REVERSED); - B.Add(EX00,V000); - B.Add(EX00,V100); - //Parameters - B.UpdateVertex(V000,0,EX00,precision); - B.UpdateVertex(V100,200,EX00,precision); - - //Edge X10 - L = new Geom_Line(gp_Pnt(0,150,0),gp_Dir(1,0,0)); - B.MakeEdge(EX10,L,precision); - V010.Orientation(TopAbs_FORWARD); - V110.Orientation(TopAbs_REVERSED); - B.Add(EX10,V010); - B.Add(EX10,V110); - //Parameters - B.UpdateVertex(V010,0,EX10,precision); - B.UpdateVertex(V110,200,EX10,precision); - - //Edge Y00 - L = new Geom_Line(gp_Pnt(0,0,0),gp_Dir(0,1,0)); - B.MakeEdge(EY00,L,precision); - V000.Orientation(TopAbs_FORWARD); - V010.Orientation(TopAbs_REVERSED); - B.Add(EY00,V000); - B.Add(EY00,V010); - //Parameters - B.UpdateVertex(V000,0,EY00,precision); - B.UpdateVertex(V010,150,EY00,precision); - - //Edge Y10 - L = new Geom_Line(gp_Pnt(200,0,0),gp_Dir(0,1,0)); - B.MakeEdge(EY10,L,precision); - V100.Orientation(TopAbs_FORWARD); - V110.Orientation(TopAbs_REVERSED); - B.Add(EY10,V100); - B.Add(EY10,V110); - //Parameters - B.UpdateVertex(V100,0,EY10,precision); - B.UpdateVertex(V110,150,EY10,precision); - - //Edge Y01 - L = new Geom_Line(gp_Pnt(0,0,100),gp_Dir(0,1,0)); - B.MakeEdge(EY01,L,precision); - V001.Orientation(TopAbs_FORWARD); - V011.Orientation(TopAbs_REVERSED); - B.Add(EY01,V001); - B.Add(EY01,V011); - //Parameters - B.UpdateVertex(V001,0,EY01,precision); - B.UpdateVertex(V011,150,EY01,precision); - - //Edge Y11 - L = new Geom_Line(gp_Pnt(200,0,100),gp_Dir(0,1,0)); - B.MakeEdge(EY11,L,precision); - V101.Orientation(TopAbs_FORWARD); - V111.Orientation(TopAbs_REVERSED); - B.Add(EY11,V101); - B.Add(EY11,V111); - //Parameters - B.UpdateVertex(V101,0,EY11,precision); - B.UpdateVertex(V111,150,EY11,precision); - - //Edge Z00 - L = new Geom_Line(gp_Pnt(0,0,0),gp_Dir(0,0,1)); - B.MakeEdge(EZ00,L,precision); - V000.Orientation(TopAbs_FORWARD); - V001.Orientation(TopAbs_REVERSED); - B.Add(EZ00,V000); - B.Add(EZ00,V001); - //Parameters - B.UpdateVertex(V000,0,EZ00,precision); - B.UpdateVertex(V001,100,EZ00,precision); - - //Edge Z01 - L = new Geom_Line(gp_Pnt(0,150,0),gp_Dir(0,0,1)); - B.MakeEdge(EZ01,L,precision); - V010.Orientation(TopAbs_FORWARD); - V011.Orientation(TopAbs_REVERSED); - B.Add(EZ01,V010); - B.Add(EZ01,V011); - //Parameters - B.UpdateVertex(V010,0,EZ01,precision); - B.UpdateVertex(V011,100,EZ01,precision); - - //Edge Z10 - L = new Geom_Line(gp_Pnt(200,0,0),gp_Dir(0,0,1)); - B.MakeEdge(EZ10,L,precision); - V100.Orientation(TopAbs_FORWARD); - V101.Orientation(TopAbs_REVERSED); - B.Add(EZ10,V100); - B.Add(EZ10,V101); - //Parameters - B.UpdateVertex(V100,0,EZ10,precision); - B.UpdateVertex(V101,100,EZ10,precision); - - //Edge Z11 - L = new Geom_Line(gp_Pnt(200,150,0),gp_Dir(0,0,1)); - B.MakeEdge(EZ11,L,precision); - V110.Orientation(TopAbs_FORWARD); - V111.Orientation(TopAbs_REVERSED); - B.Add(EZ11,V110); - B.Add(EZ11,V111); - //Parameters - B.UpdateVertex(V110,0,EZ11,precision); - B.UpdateVertex(V111,100,EZ11,precision); - - - //Circular Edges - Handle (Geom_Circle) C; - // Standard_Real R = 100; - - //Edge EX01 - C = new Geom_Circle(gp_Ax2(gp_Pnt(100,0,100),gp_Dir(0,1,0),gp_Dir(-1,0,0)),100); - B.MakeEdge(EX01,C,precision); - V001.Orientation(TopAbs_FORWARD); - V101.Orientation(TopAbs_REVERSED); - B.Add(EX01,V001); - B.Add(EX01,V101); - //Parameters - B.UpdateVertex(V001,0,EX01,precision); - B.UpdateVertex(V101,PI,EX01,precision); - - //Edge EX11 - C = new Geom_Circle(gp_Ax2(gp_Pnt(100,150,100),gp_Dir(0,1,0),gp_Dir(-1,0,0)),100); - B.MakeEdge(EX11,C,precision); - V011.Orientation(TopAbs_FORWARD); - V111.Orientation(TopAbs_REVERSED); - B.Add(EX11,V011); - B.Add(EX11,V111); - //Parameters - B.UpdateVertex(V011,0,EX11,precision); - B.UpdateVertex(V111,PI,EX11,precision); - - //Build wire and faces - //Faces normals are along the axis X,Y,Z - TopoDS_Face FXMIN, FXMAX, FYMIN, FYMAX, FZMIN, FZMAX; - TopoDS_Wire W; - Handle (Geom_Plane) P; - Handle (Geom2d_Line) L2d; - Handle (Geom2d_Circle) C2d; - Handle (Geom_CylindricalSurface) S; - - //Face FXMAX - P = new Geom_Plane(gp_Ax2(gp_Pnt(200,0,0),gp_Dir(1,0,0),gp_Dir(0,1,0))); - B.MakeFace(FXMAX,P,precision); - //the wire and the edges - B.MakeWire (W); - - EY10.Orientation(TopAbs_FORWARD); - B.Add(W,EY10); - //pcurve - L2d = new Geom2d_Line(gp_Pnt2d(0,0),gp_Dir2d(1,0)); - B.UpdateEdge(EY10,L2d,FXMAX,precision); - - EZ11.Orientation(TopAbs_FORWARD); - B.Add(W,EZ11); - //pcurve - L2d = new Geom2d_Line(gp_Pnt2d(150,0),gp_Dir2d(0,1)); - B.UpdateEdge(EZ11,L2d,FXMAX,precision); - - EY11.Orientation(TopAbs_REVERSED); - B.Add(W,EY11); - //pcurve - L2d = new Geom2d_Line(gp_Pnt2d(0,100),gp_Dir2d(1,0)); - B.UpdateEdge(EY11,L2d,FXMAX,precision); - - EZ10.Orientation(TopAbs_REVERSED); - B.Add(W,EZ10); - //pcurve - L2d = new Geom2d_Line(gp_Pnt2d(0,0),gp_Dir2d(0,1)); - B.UpdateEdge(EZ10,L2d,FXMAX,precision); - - B.Add(FXMAX,W); - - BRepTools::Write(FXMAX,"f1.rle"); - - //Face FXMIN - P = new Geom_Plane(gp_Ax2(gp_Pnt(0,0,0),gp_Dir(-1,0,0),gp_Dir(0,0,1))); - B.MakeFace(FXMIN,P,precision); - //the wire and the edges - B.MakeWire (W); - - EZ00.Orientation(TopAbs_FORWARD); - B.Add(W,EZ00); - //pcurve - L2d = new Geom2d_Line(gp_Pnt2d(0,0),gp_Dir2d(1,0)); - B.UpdateEdge(EZ00,L2d,FXMIN,precision); - - EY01.Orientation(TopAbs_FORWARD); - B.Add(W,EY01); - //pcurve - L2d = new Geom2d_Line(gp_Pnt2d(100,0),gp_Dir2d(0,1)); - B.UpdateEdge(EY01,L2d,FXMIN,precision); - - EZ01.Orientation(TopAbs_REVERSED); - B.Add(W,EZ01); - //pcurve - L2d = new Geom2d_Line(gp_Pnt2d(0,150),gp_Dir2d(1,0)); - B.UpdateEdge(EZ01,L2d,FXMIN,precision); - - EY00.Orientation(TopAbs_REVERSED); - B.Add(W,EY00); - //pcurve - L2d = new Geom2d_Line(gp_Pnt2d(0,0),gp_Dir2d(0,1)); - B.UpdateEdge(EY00,L2d,FXMIN,precision); - - - B.Add(FXMIN,W); - - //Face FYMAX - - P = new Geom_Plane(gp_Ax2(gp_Pnt(0,0,0),gp_Dir(0,1,0),gp_Dir(0,0,1))); - B.MakeFace(FYMAX,P,precision); - //the wire and the edges - B.MakeWire (W); - - EZ00.Orientation(TopAbs_FORWARD); - B.Add(W,EZ00); - //pcurve - L2d = new Geom2d_Line(gp_Pnt2d(0,0),gp_Dir2d(1,0)); - B.UpdateEdge(EZ00,L2d,FYMAX,precision); - - EX01.Orientation(TopAbs_FORWARD); - B.Add(W,EX01); - //pcurve - C2d = new Geom2d_Circle(gp_Ax2d(gp_Pnt2d(100,100),gp_Dir2d(0,-1)),100); - B.UpdateEdge(EX01,C2d,FYMAX,precision); - B.UpdateVertex(V001,0,EX01,FYMAX,precision); - B.UpdateVertex(V101,PI,EX01,FYMAX,precision); - - EZ10.Orientation(TopAbs_REVERSED); - B.Add(W,EZ10); - //pcurve - L2d = new Geom2d_Line(gp_Pnt2d(0,200),gp_Dir2d(1,0)); - B.UpdateEdge(EZ10,L2d,FYMAX,precision); - - EX00.Orientation(TopAbs_REVERSED); - B.Add(W,EX00); - //pcurve - L2d = new Geom2d_Line(gp_Pnt2d(0,0),gp_Dir2d(0,1)); - B.UpdateEdge(EX00,L2d,FYMAX,precision); - - - B.Add(FYMAX,W); - - - - //Face FYMIN - P = new Geom_Plane(gp_Ax2(gp_Pnt(0,150,0),gp_Dir(0,1,0),gp_Dir(0,0,1))); - B.MakeFace(FYMIN,P,precision); - //the wire and the edges - B.MakeWire (W); - - EZ01.Orientation(TopAbs_FORWARD); - B.Add(W,EZ01); - //pcurve - L2d = new Geom2d_Line(gp_Pnt2d(0,0),gp_Dir2d(1,0)); - B.UpdateEdge(EZ01,L2d,FYMIN,precision); - - EX11.Orientation(TopAbs_FORWARD); - B.Add(W,EX11); - //pcurve - C2d = new Geom2d_Circle(gp_Ax2d(gp_Pnt2d(100,100),gp_Dir2d(0,-1)),100); - B.UpdateEdge(EX11,C2d,FYMIN,precision); - B.UpdateVertex(V011,0,EX11,FYMIN,precision); - B.UpdateVertex(V111,PI,EX11,FYMIN,precision); - - EZ11.Orientation(TopAbs_REVERSED); - B.Add(W,EZ11); - //pcurve - L2d = new Geom2d_Line(gp_Pnt2d(0,200),gp_Dir2d(1,0)); - B.UpdateEdge(EZ11,L2d,FYMIN,precision); - - EX10.Orientation(TopAbs_REVERSED); - B.Add(W,EX10); - //pcurve - L2d = new Geom2d_Line(gp_Pnt2d(0,0),gp_Dir2d(0,1)); - B.UpdateEdge(EX10,L2d,FYMIN,precision); - - B.Add(FYMIN,W); - - //Face FZMAX - P = new Geom_Plane(gp_Ax2(gp_Pnt(0,0,0),gp_Dir(0,0,-1),gp_Dir(0,1,0))); - B.MakeFace(FZMAX,P,precision); - //the wire and the edges - B.MakeWire (W); - - EY00.Orientation(TopAbs_FORWARD); - B.Add(W,EY00); - //pcurve - L2d = new Geom2d_Line(gp_Pnt2d(0,0),gp_Dir2d(1,0)); - B.UpdateEdge(EY00,L2d,FZMAX,precision); - - EX10.Orientation(TopAbs_FORWARD); - B.Add(W,EX10); - //pcurve - L2d = new Geom2d_Line(gp_Pnt2d(150,0),gp_Dir2d(0,1)); - B.UpdateEdge(EX10,L2d,FZMAX,precision); - - EY10.Orientation(TopAbs_REVERSED); - B.Add(W,EY10); - //pcurve - L2d = new Geom2d_Line(gp_Pnt2d(0,200),gp_Dir2d(1,0)); - B.UpdateEdge(EY10,L2d,FZMAX,precision); - - EX00.Orientation(TopAbs_REVERSED); - B.Add(W,EX00); - //pcurve - L2d = new Geom2d_Line(gp_Pnt2d(0,0),gp_Dir2d(0,1)); - B.UpdateEdge(EX00,L2d,FZMAX,precision); - - - B.Add(FZMAX,W); - - //Face FZMIN - S = new Geom_CylindricalSurface(gp_Ax3(gp_Pnt(100,0,100),gp_Dir(0,1,0),gp_Dir(-1,0,0)),100); - B.MakeFace(FZMIN,S,precision); - - //the wire and the edges - B.MakeWire (W); - - EX01.Orientation(TopAbs_FORWARD); - B.Add(W,EX01); - //pcurve - L2d = new Geom2d_Line(gp_Ax2d(gp_Pnt2d(0,0),gp_Dir2d(1,0))); - B.UpdateEdge(EX01,L2d,FZMIN,precision); - B.UpdateVertex(V001,0,EX01,FZMIN,precision); - B.UpdateVertex(V101,PI,EX01,FZMIN,precision); - - EY11.Orientation(TopAbs_FORWARD); - B.Add(W,EY11); - //pcurve - L2d = new Geom2d_Line(gp_Pnt2d(PI,0),gp_Dir2d(0,1)); - B.UpdateEdge(EY11,L2d,FZMIN,precision); - - EX11.Orientation(TopAbs_REVERSED); - B.Add(W,EX11); - //pcurve - L2d = new Geom2d_Line(gp_Ax2d(gp_Pnt2d(0,150),gp_Dir2d(1,0))); - B.UpdateEdge(EX11,L2d,FZMIN,precision); - B.UpdateVertex(V111,PI,EX11,FZMIN,precision); - B.UpdateVertex(V011,0,EX11,FZMIN,precision); - - EY01.Orientation(TopAbs_REVERSED); - B.Add(W,EY01); - //pcurve - L2d = new Geom2d_Line(gp_Pnt2d(0,0),gp_Dir2d(0,1)); - B.UpdateEdge(EY01,L2d,FZMIN,precision); - - B.Add(FZMIN,W); - - FYMAX.Orientation(TopAbs_REVERSED); - - BRepTools::Write(FZMIN,"f3.rle"); - BRepTools::Write(FYMAX,"f2.rle"); - - //Shell - TopoDS_Shell Sh; - B.MakeShell(Sh); - B.Add(Sh,FXMAX); - B.Add(Sh,FXMIN); - B.Add(Sh,FYMAX); - B.Add(Sh,FYMIN); - B.Add(Sh,FZMAX); - B.Add(Sh,FZMIN); - - // Solid - TopoDS_Solid Sol; - B.MakeSolid(Sol); - B.Add(Sol,Sh); - - BRepTools::Write(Sol,"solid.rle"); - Handle(AIS_Shape) borne = new AIS_Shape(Sol); - aContext->SetDisplayMode(borne,1); - aContext->SetColor(borne,Quantity_NOC_RED); - aContext->SetMaterial(borne,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(borne); - - Message = "\ - \n\ -//The tolerance is 0.01 \n\ -Standard_Real precision(0.01); \n\ -\n\ -//The builder \n\ -BRep_Builder B; \n\ -\n\ -//Build the vertices \n\ -TopoDS_Vertex V000, V001, V010, V011, V100, V101, V110, V111; \n\ -B.MakeVertex(V000,gp_Pnt(0,0,0),precision); \n\ -B.MakeVertex(V001,gp_Pnt(0,0,100),precision); \n\ -B.MakeVertex(V010,gp_Pnt(0,150,0),precision); \n\ -B.MakeVertex(V011,gp_Pnt(0,150,100),precision); \n\ -B.MakeVertex(V100,gp_Pnt(200,0,0),precision); \n\ -B.MakeVertex(V101,gp_Pnt(200,0,100),precision); \n\ -B.MakeVertex(V110,gp_Pnt(200,150,0),precision); \n\ -B.MakeVertex(V111,gp_Pnt(200,150,100),precision); \n\ -\n\ -//Build the edges \n\ -//the edges are oriented as the axis X,Y,Z \n\ -TopoDS_Edge EX00, EX01, EX10, EX11; \n\ -TopoDS_Edge EY00, EY01, EY10, EY11; \n\ -TopoDS_Edge EZ00, EZ01, EZ10, EZ11; \n\ -Handle (Geom_Line) L; \n\ -\n\ -//Edge X00 \n\ -L = new Geom_Line(gp_Pnt(0,0,0),gp_Dir(1,0,0)); \n\ -B.MakeEdge(EX00,L,precision); \n\ -V000.Orientation(TopAbs_FORWARD); \n\ -V100.Orientation(TopAbs_REVERSED); \n\ -B.Add(EX00,V000); \n\ -B.Add(EX00,V100); \n\ -//Parameters \n\ -B.UpdateVertex(V000,0,EX00,precision); \n\ -B.UpdateVertex(V100,200,EX00,precision); \n\ -\n\ -//Idem for all the linear edges... \n\ -\n\ -//Circular Edges \n\ -Handle (Geom_Circle) C; \n\ -Standard_Real R = 100; \n\ -\n\ -//Edge EX01 \n\ -C = new Geom_Circle(gp_Ax2(gp_Pnt(100,0,100),gp_Dir(0,1,0),gp_Dir(-1,0,0)),100); \n\ -B.MakeEdge(EX01,C,precision); \n\ -V001.Orientation(TopAbs_FORWARD); \n\ -V101.Orientation(TopAbs_REVERSED); \n\ -B.Add(EX01,V001); \n\ -B.Add(EX01,V101); \n\ -//Parameters \n\ -B.UpdateVertex(V001,0,EX01,precision); \n\ -B.UpdateVertex(V101,PI,EX01,precision); \n\ -\n\ -//Idem for EX11 \n\ -\n\ -//Build wire and faces \n\ -//Faces normals are along the axis X,Y,Z \n\ -TopoDS_Face FXMIN, FXMAX, FYMIN, FYMAX, FZMIN, FZMAX; \n\ -TopoDS_Wire W; \n\ -Handle (Geom_Plane) P; \n\ -Handle (Geom2d_Line) L2d; \n\ -Handle (Geom2d_Circle) C2d; \n\ -Handle (Geom_CylindricalSurface) S; \n\ -\n\ -//Face FXMAX \n\ -P = new Geom_Plane(gp_Ax2(gp_Pnt(200,0,0),gp_Dir(1,0,0),gp_Dir(0,1,0))); \n\ -B.MakeFace(FXMAX,P,precision); \n\ -//the wire and the edges \n\ -B.MakeWire (W); \n"; -Message += "\ -\n\ -EY10.Orientation(TopAbs_FORWARD); \n\ -B.Add(W,EY10); \n\ -//pcurve \n\ -L2d = new Geom2d_Line(gp_Pnt2d(0,0),gp_Dir2d(1,0)); \n\ -B.UpdateEdge(EY10,L2d,FXMAX,precision); \n\ - \n\ -EZ11.Orientation(TopAbs_FORWARD); \n\ -B.Add(W,EZ11); \n\ -//pcurve \n\ -L2d = new Geom2d_Line(gp_Pnt2d(150,0),gp_Dir2d(0,1)); \n\ -B.UpdateEdge(EZ11,L2d,FXMAX,precision); \n\ - \n\ -EY11.Orientation(TopAbs_REVERSED); \n\ -B.Add(W,EY11); \n\ -//pcurve \n\ -L2d = new Geom2d_Line(gp_Pnt2d(0,100),gp_Dir2d(1,0)); \n\ -B.UpdateEdge(EY11,L2d,FXMAX,precision); \n\ - \n\ -EZ10.Orientation(TopAbs_REVERSED); \n\ -B.Add(W,EZ10); \n\ -//pcurve \n\ -L2d = new Geom2d_Line(gp_Pnt2d(0,0),gp_Dir2d(0,1)); \n\ -B.UpdateEdge(EZ10,L2d,FXMAX,precision); \n\ -\n\ -B.Add(FXMAX,W); \n\ -\n\ -//Idem for other faces... \n\ -\n\ -//Shell \n\ -TopoDS_Shell Sh; \n\ -B.MakeShell(Sh); \n\ -B.Add(Sh,FXMAX); \n\ -B.Add(Sh,FXMIN); \n\ -B.Add(Sh,FYMAX); \n\ -B.Add(Sh,FYMIN); \n\ -B.Add(Sh,FZMAX); \n\ -B.Add(Sh,FZMIN); \n\ -\n\ -// Solid \n\ -TopoDS_Solid Sol; \n\ -B.MakeSolid(Sol); \n\ -B.Add(Sol,Sh); \n\ -\n\ -\n"; -} - -//=============================================================== -// Function name: Geometry -//=============================================================== - void SamplesTopologyPackage::Geometry(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - //geometrie of a vertex - TopoDS_Vertex aVertex = BRepBuilderAPI_MakeVertex(gp_Pnt(0,120,70)); - // gp_Pnt GeometricPoint = - BRep_Tool::Pnt(aVertex); - - Handle(AIS_Shape) vert = new AIS_Shape(aVertex); - aContext->Display(vert); - - //geometrie of an edge - TopoDS_Edge anEdge = BRepBuilderAPI_MakeEdge(gp_Pnt(100,50,250),gp_Pnt(-30,-100,-50)); - Handle(AIS_Shape) yellow = new AIS_Shape(anEdge); - aContext->SetWidth(yellow,2); - aContext->Display(yellow); - - TopLoc_Location location; - Standard_Real first, last; - Handle (Geom_Curve) aCurve = BRep_Tool::Curve(anEdge,location,first,last); - TopoDS_Edge anEdgeDS = BRepBuilderAPI_MakeEdge(aCurve); - - Handle (Geom_Line) aLine = Handle (Geom_Line)::DownCast(aCurve); - if (!aLine.IsNull()) { - Handle (AIS_Line) DispLine = new AIS_Line(aLine); - aContext->Display(DispLine); - } - - //geometrie of a face - gp_Pnt P(-20,-20,-20); - gp_Vec V(0,0,1); - Handle(Geom_Plane) Pi=new Geom_Plane(P,V); - Handle(Geom_RectangularTrimmedSurface) Surface=new Geom_RectangularTrimmedSurface(Pi,0.,100.,0.,100.); - TopoDS_Face RedFace = BRepBuilderAPI_MakeFace(Surface); - - Handle(AIS_Shape) red = new AIS_Shape(RedFace); - aContext->SetColor(red,Quantity_NOC_RED); - aContext->SetMaterial(red,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(red); - - TopLoc_Location location2; - Handle (Geom_Surface) aGeometricSurface = BRep_Tool::Surface(RedFace,location2); - - Handle (Geom_Plane) aPlane = Handle (Geom_Plane)::DownCast(aGeometricSurface); - if (!aPlane.IsNull()) { - Handle (AIS_Plane) DispPlane = new AIS_Plane(aPlane); - aContext->Display(DispPlane); - } - - - - Message = "\ - \n\ -///////geometrie of a vertex \n\ -TopoDS_Vertex aVertex = BRepBuilderAPI_MakeVertex(gp_Pnt(0,120,70)); \n\ -gp_Pnt GeometricPoint = BRep_Tool::Pnt(aVertex); \n\ -\n\ -///////geometrie of an edge \n\ -TopoDS_Edge anEdge = BRepBuilderAPI_MakeEdge(gp_Pnt(100,50,250),gp_Pnt(-30,-100,-50)); \n\ -\n\ -TopLoc_Location location; \n\ -Standard_Real first, last; \n\ -Handle (Geom_Curve) aCurve = BRep_Tool::Curve(anEdge,location,first,last); \n\ -TopoDS_Edge anEdgeDS = BRepBuilderAPI_MakeEdge(aCurve); \n\ -\n\ -Handle (Geom_Line) aLine = Handle (Geom_Line)::DownCast(aCurve); \n\ -if (!aLine.IsNull()) { \n\ - Handle (AIS_Line) DispLine = new AIS_Line(aLine); \n\ -} \n\ - \n\ -///////geometrie of a face \n\ -gp_Pnt P(-20,-20,-20); \n\ -gp_Vec V(0,0,1); \n\ -Handle(Geom_Plane) Pi=new Geom_Plane(P,V); \n\ -Handle(Geom_RectangularTrimmedSurface) Surface=new Geom_RectangularTrimmedSurface(Pi,0.,100.,0.,100.); \n\ -TopoDS_Face RedFace = BRepBuilderAPI_MakeFace(Surface); \n\ -\n\ -TopLoc_Location location2; \n\ -Handle (Geom_Surface) aGeometricSurface = BRep_Tool::Surface(RedFace,location2); \n\ -\n\ -Handle (Geom_Plane) aPlane = Handle (Geom_Plane)::DownCast(aGeometricSurface); \n\ -if (!aPlane.IsNull()) { \n\ - Handle (AIS_Plane) DispPlane = new AIS_Plane(aPlane); \n\ -} \n\ -\n\ -\n"; -} - -//=============================================================== -// Function name: Explorer -//=============================================================== - void SamplesTopologyPackage::Explorer(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Shape aBox = BRepPrimAPI_MakeBox(100,100,100).Shape(); - Standard_Integer j(8); - Handle(AIS_Shape) theBox = new AIS_Shape(aBox); - aContext->SetColor(theBox,Quantity_NOC_RED); - aContext->SetMaterial(theBox,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(theBox); - - for (TopExp_Explorer exp (aBox,TopAbs_FACE);exp.More();exp.Next()) { - TopoDS_Face aCurrentFace = TopoDS::Face(exp.Current()); - - //test the orientation of the current face - TopAbs_Orientation orient = aCurrentFace.Orientation(); - - //Recover the geometric plane - TopLoc_Location location; - Handle (Geom_Surface) aGeometricSurface = BRep_Tool::Surface(aCurrentFace,location); - - Handle (Geom_Plane) aPlane = Handle (Geom_Plane)::DownCast(aGeometricSurface); - - //Build an AIS_Shape with a new color - Handle(AIS_Shape) theMovingFace = new AIS_Shape(aCurrentFace); - Quantity_NameOfColor aCurrentColor = (Quantity_NameOfColor)j; - aContext->SetColor(theMovingFace,aCurrentColor); - aContext->SetMaterial(theMovingFace,Graphic3d_NOM_PLASTIC,Standard_False); - //Find the normal vector of each face - gp_Pln agpPlane = aPlane->Pln(); - gp_Ax1 norm = agpPlane.Axis(); - gp_Dir dir = norm.Direction(); - gp_Vec move(dir); - - //Connect - TopLoc_Location aLocation; - Handle (AIS_ConnectedInteractive) theTransformedDisplay = new AIS_ConnectedInteractive(); - theTransformedDisplay->Connect(theMovingFace, aLocation); - - - Handle (Geom_Transformation) theMove = new Geom_Transformation(aLocation.Transformation()); - aContext->Display(theTransformedDisplay); - - for (Standard_Integer i=1;i<=30;i++) { - - //Build a transformation on the display - theMove->SetTranslation(move*i); - if (orient==TopAbs_FORWARD) aContext->SetLocation(theTransformedDisplay,TopLoc_Location(theMove->Trsf())); - else aContext->SetLocation(theTransformedDisplay,TopLoc_Location(theMove->Inverted()->Trsf())); - - aContext->Redisplay(theTransformedDisplay,Standard_False); - } - j+=15; - } - aContext->Erase(theBox,Standard_True,Standard_False); - - - Message = "\ -\n\ -TopoDS_Shape aBox = BRepPrimAPI_MakeBox(100,100,100); \n\ -\n\ -for (TopExp_Explorer exp (aBox,TopAbs_FACE);exp.More();exp.Next()) { \n\ - TopoDS_Face aCurrentFace = TopoDS::Face(exp.Current()); \n\ -\n\ - //Recover the geometric plane \n\ - TopLoc_Location location; \n\ - Handle (Geom_Surface) aGeometricSurface = BRep_Tool::Surface(aCurrentFace,location); \n\ -\n\ - Handle (Geom_Plane) aPlane = Handle (Geom_Plane)::DownCast(aGeometricSurface); \n\ - \n\ -\n"; -} - - -//====================================================================== -//= = -//= Topology Analysis = -//= = -//====================================================================== - -//=============================================================== -// Function name: Validity -//=============================================================== - void SamplesTopologyPackage::Validity(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message,TCollection_AsciiString& Result) -{ - aContext->EraseAll(Standard_False); - TopoDS_Shape S = BRepPrimAPI_MakeBox(200.,300.,150.).Shape(); - - - Handle(AIS_Shape) ais1 = new AIS_Shape(S); - - - aContext->SetColor(ais1,Quantity_NOC_GREEN,Standard_False); - aContext->SetMaterial(ais1,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais1); - - - Message = "\ - \n\ -TopoDS_Shape S = BRepPrimAPI_MakeBox(200.,300.,150.);\n\ -Standard_Boolean theShapeIsValid = BRepAlgo::IsValid(S);\n\ -if ( theShapeIsValid )\n\ -{\n\ - Result = \"The Shape Is Valid !!\";\n\ -}\n\ -else\n\ -{\n\ - Result = \"The Shape Is NOT Valid !!\";\n\ -}\n\ -\n"; - - - Standard_Boolean theShapeIsValid = BRepAlgo::IsValid(S); - if ( theShapeIsValid ) - { - Result = "The Shape Is Valid !! "; - } - else - { - Result = "The Shape Is NOT Valid !! "; - } -} - -//=============================================================== -// Function name: LinearProp -//=============================================================== - void SamplesTopologyPackage::LinearProp(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message, - TCollection_AsciiString& Result) -{ - aContext->EraseAll(Standard_False); - - - TColgp_Array1OfPnt Points1(1,4); - Points1.SetValue(1,gp_Pnt(0,0,0)); - Points1.SetValue(2,gp_Pnt(2,1,0)); - Points1.SetValue(3,gp_Pnt(4,0,0)); - Points1.SetValue(4,gp_Pnt(6,2,0)); - GeomAPI_PointsToBSpline PTBS1(Points1); - Handle(Geom_BSplineCurve) BSC1 = PTBS1.Curve(); - TopoDS_Edge S = BRepBuilderAPI_MakeEdge(BSC1).Edge(); - - Handle(AIS_Shape) ais1 = new AIS_Shape(S); - aContext->SetColor(ais1,Quantity_NOC_GREEN,Standard_False); - aContext->SetMaterial(ais1,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais1); - - - GProp_GProps System; - BRepGProp::LinearProperties(S,System); - gp_Pnt G = System.CentreOfMass (); - Standard_Real Length = System.Mass(); - gp_Mat I = System.MatrixOfInertia(); - - Result = "Length Of all the Edges ="; - Result += TCollection_AsciiString(Length); - Result += "\nCenterOfMass : \n X="; - Result += TCollection_AsciiString(G.X()); - Result += " Y="; - Result += TCollection_AsciiString(G.Y()); - Result += " Z="; - Result += TCollection_AsciiString(G.Z()); - Result +="\n"; - - Result += "Matrix of Inertia :\n "; - Result += TCollection_AsciiString(I(1,1)); - Result += " " ; - Result += TCollection_AsciiString(I(1,2)); - Result += " " ; - Result += TCollection_AsciiString(I(1,3)); - Result += "\n " ; - Result += TCollection_AsciiString(I(2,1)); - Result += " " ; - Result += TCollection_AsciiString(I(2,2)); - Result += " " ; - Result += TCollection_AsciiString(I(2,3)); - Result += "\n " ; - Result += TCollection_AsciiString(I(3,1)); - Result += " " ; - Result += TCollection_AsciiString(I(3,2)); - Result += " " ; - Result += TCollection_AsciiString(I(3,3)); - Result += "\n" ; - - - Message = "\ - \n\ -TColgp_Array1OfPnt Points1(1,4);\n\ -Points1.SetValue(1,gp_Pnt(0,0,0));\n\ -Points1.SetValue(2,gp_Pnt(2,1,0));\n\ -Points1.SetValue(3,gp_Pnt(4,0,0));\n\ -Points1.SetValue(4,gp_Pnt(6,2,0));\n\ -GeomAPI_PointsToBSpline PTBS1(Points1);\n\ -Handle(Geom_BSplineCurve) BSC1 = PTBS1.Curve();\n\ -TopoDS_Shape S = BRepBuilderAPI_MakeEdge(BSC1).Edge();\n\ -GProp_GProps System;\n\ -BRepGProp::LinearProperties(S,System);\n\ -gp_Pnt G = System.CentreOfMass ();\n\ -Standard_Real Length = System.Mass();\n\ -gp_Mat I = System.MatrixOfInertia();\n\ -\n"; -} - -//=============================================================== -// Function name: SurfaceProp -//=============================================================== - void SamplesTopologyPackage::SurfaceProp(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message, - TCollection_AsciiString& Result) -{ - aContext->EraseAll(Standard_False); - - TColgp_Array1OfPnt Pnts1(1,3); - TColgp_Array1OfPnt Pnts2(1,3); - TColgp_Array1OfPnt Pnts3(1,3); - TColgp_Array1OfPnt Pnts4(1,3); - - Pnts1(1) = gp_Pnt(0,0,0); - Pnts1(2) = gp_Pnt(5,0,0); - Pnts1(3) = gp_Pnt(10,10,0); - - Pnts2(1) = gp_Pnt(10,10,0); - Pnts2(2) = gp_Pnt(5,12,4); - Pnts2(3) = gp_Pnt(0,15,10); - - Pnts3(1) = gp_Pnt(0,15,10); - Pnts3(2) = gp_Pnt(-12,10,11); - Pnts3(3) = gp_Pnt(-10,5,13); - - Pnts4(1) = gp_Pnt(-10,5,13); - Pnts4(2) = gp_Pnt(-2,-2,2); - Pnts4(3) = gp_Pnt(0,0,0); - - GeomAPI_PointsToBSpline PTBS1(Pnts1); - GeomAPI_PointsToBSpline PTBS2(Pnts2); - GeomAPI_PointsToBSpline PTBS3(Pnts3); - GeomAPI_PointsToBSpline PTBS4(Pnts4); - Handle(Geom_BSplineCurve) C1 = PTBS1.Curve(); - Handle(Geom_BSplineCurve) C2 = PTBS2.Curve(); - Handle(Geom_BSplineCurve) C3 = PTBS3.Curve(); - Handle(Geom_BSplineCurve) C4 = PTBS4.Curve(); - - GeomFill_BSplineCurves fill; - fill.Init(C1,C2,C3,C4,GeomFill_CoonsStyle); - Handle(Geom_BSplineSurface) BSS = fill.Surface(); - - TopoDS_Shape S = BRepBuilderAPI_MakeFace(BSS).Face(); - - Handle(AIS_Shape) ais1 = new AIS_Shape(S); - aContext->SetColor(ais1,Quantity_NOC_GREEN,Standard_False); - aContext->SetMaterial(ais1,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais1); - - - GProp_GProps System; - BRepGProp::SurfaceProperties(S,System); - gp_Pnt G = System.CentreOfMass (); - Standard_Real Area = System.Mass(); - gp_Mat I = System.MatrixOfInertia(); - - Result = "Area Of the Face ="; - Result += Area; - Result += "\nCenterOfMass : \n X="; - Result += TCollection_AsciiString(G.X()); - Result += " Y="; - Result += TCollection_AsciiString(G.Y()); - Result += " Z="; - Result += TCollection_AsciiString(G.Z()); - Result +="\n"; - - Result += "Matrix of Inertia :\n "; - Result += TCollection_AsciiString(I(1,1)); - Result += " " ; - Result += TCollection_AsciiString(I(1,2)); - Result += " " ; - Result += TCollection_AsciiString(I(1,3)); - Result += "\n " ; - Result += TCollection_AsciiString(I(2,1)); - Result += " " ; - Result += TCollection_AsciiString(I(2,2)); - Result += " " ; - Result += TCollection_AsciiString(I(2,3)); - Result += "\n " ; - Result += TCollection_AsciiString(I(3,1)); - Result += " " ; - Result += TCollection_AsciiString(I(3,2)); - Result += " " ; - Result += TCollection_AsciiString(I(3,3)); - Result += "\n" ; - - - Message = "\ - \n\ -TopoDS_Shape S = BRepBuilderAPI_MakeFace(BSplineSurf).Face();\n\ -GProp_GProps System;\n\ -BRepGProp::SurfaceProperties(S,System);\n\ -gp_Pnt G = System.CentreOfMass ();\n\ -Standard_Real Area = System.Mass();\n\ -gp_Mat I = System.MatrixOfInertia();\n\ -\n"; -} - -//=============================================================== -// Function name: VolumeProp -//=============================================================== - void SamplesTopologyPackage::VolumeProp(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message, - TCollection_AsciiString& Result) -{ - aContext->EraseAll(Standard_False); - TopoDS_Shape S = BRepPrimAPI_MakeWedge(60.,100.,80.,20.).Shape(); - Handle(AIS_Shape) ais1 = new AIS_Shape(S); - aContext->SetColor(ais1,Quantity_NOC_GREEN,Standard_False); - aContext->SetMaterial(ais1,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais1); - - - GProp_GProps System; - BRepGProp::VolumeProperties(S,System); - gp_Pnt G = System.CentreOfMass (); - Standard_Real Volume = System.Mass(); - gp_Mat I = System.MatrixOfInertia(); - - Result = "Volume Of all the Shape ="; - Result += Volume; - Result += "\nCenterOfMass : \n X="; - Result += TCollection_AsciiString(G.X()); - Result += " Y="; - Result += TCollection_AsciiString(G.Y()); - Result += " Z="; - Result += TCollection_AsciiString(G.Z()); - Result +="\n"; - - Result += "Matrix of Inertia :\n "; - Result += TCollection_AsciiString(I(1,1)); - Result += " " ; - Result += TCollection_AsciiString(I(1,2)); - Result += " " ; - Result += TCollection_AsciiString(I(1,3)); - Result += "\n " ; - Result += TCollection_AsciiString(I(2,1)); - Result += " " ; - Result += TCollection_AsciiString(I(2,2)); - Result += " " ; - Result += TCollection_AsciiString(I(2,3)); - Result += "\n " ; - Result += TCollection_AsciiString(I(3,1)); - Result += " " ; - Result += TCollection_AsciiString(I(3,2)); - Result += " " ; - Result += TCollection_AsciiString(I(3,3)); - Result += "\n" ; - - - Message = "\ - \n\ -TopoDS_Shape S = BRepPrimAPI_MakeWedge(60.,100.,80.,20.);;\n\ -GProp_GProps System;\n\ -BRepGProp::VolumeProperties(S,System);\n\ -gp_Pnt G = System.CentreOfMass ();\n\ -Standard_Real Volume = System.Mass();\n\ -gp_Mat I = System.MatrixOfInertia();\n\ -\n"; -} - - -//====================================================================== -//= = -//= Topology Transformations = -//= = -//====================================================================== - -//=============================================================== -// Function name: Mirror -//=============================================================== - void SamplesTopologyPackage::Mirror(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Shape S = BRepPrimAPI_MakeWedge(60.,100.,80.,20.).Shape(); - Handle(AIS_Shape) ais1 = new AIS_Shape(S); - aContext->SetColor(ais1,Quantity_NOC_GREEN,Standard_False); - aContext->SetMaterial(ais1,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais1,Standard_False); - gp_Trsf theTransformation; - gp_Pnt PntCenterOfTheTransformation(110,60,60); - Handle(AIS_Point) aispnt = new AIS_Point(new Geom_CartesianPoint(PntCenterOfTheTransformation)); - aContext->Display(aispnt); - theTransformation.SetMirror(PntCenterOfTheTransformation); - BRepBuilderAPI_Transform myBRepTransformation(S,theTransformation); - TopoDS_Shape S2 = myBRepTransformation.Shape(); - Handle(AIS_Shape) ais2 = new AIS_Shape(S2); - aContext->SetColor(ais2,Quantity_NOC_BLUE1,Standard_False); - aContext->SetMaterial(ais2,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais2); - - Message = "\ -\n\ -TopoDS_Shape S = BRepPrimAPI_MakeWedge(60.,100.,80.,20.); \n\ -gp_Trsf theTransformation; \n\ -gp_Pnt PntCenterOfTheTransformation(110,60,60); \n\ -theTransformation.SetMirror(PntCenterOfTheTransformation);\n\ -BRepBuilderAPI_Transform myBRepTransformation(S,theTransformation);\n\ -TopoDS_Shape TransformedShape = myBRepTransformation.Shape(); \n"; -} - -//=============================================================== -// Function name: Mirroraxis -//=============================================================== - void SamplesTopologyPackage::Mirroraxis(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Shape S = BRepPrimAPI_MakeWedge(60.,100.,80.,20.).Shape(); - Handle(AIS_Shape) ais1 = new AIS_Shape(S); - aContext->SetColor(ais1,Quantity_NOC_GREEN,Standard_False); - aContext->SetMaterial(ais1,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais1,Standard_False); - gp_Trsf theTransformation; - gp_Ax1 axe = gp_Ax1(gp_Pnt(110,60,60),gp_Dir(0.,1.,0.)); - Handle(Geom_Axis1Placement) Gax1 = new Geom_Axis1Placement(axe); - Handle (AIS_Axis) ax1 = new AIS_Axis(Gax1); - aContext->Display(ax1); - theTransformation.SetMirror(axe); - BRepBuilderAPI_Transform myBRepTransformation(S,theTransformation); - TopoDS_Shape S2 = myBRepTransformation.Shape(); - Handle(AIS_Shape) ais2 = new AIS_Shape(S2); - aContext->SetColor(ais2,Quantity_NOC_BLUE1,Standard_False); - aContext->SetMaterial(ais2,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais2); - - Message = "\ -\n\ -TopoDS_Shape S = BRepPrimAPI_MakeWedge(60.,100.,80.,20.); \n\ -gp_Trsf theTransformation; \n\ -gp_Ax1 Axis = gp_Ax1(gp_Pnt(110,60,60),gp_Dir(0.,1.,0.)); \n\ -theTransformation.SetMirror(Axis);\n\ -BRepBuilderAPI_Transform myBRepTransformation(S,theTransformation);\n\ -TopoDS_Shape TransformedShape = myBRepTransformation.Shape(); \n"; -} - -//=============================================================== -// Function name: Rotate -//=============================================================== - void SamplesTopologyPackage::Rotate(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Shape S = BRepPrimAPI_MakeWedge(60.,100.,80.,20.).Shape(); - Handle(AIS_Shape) ais1 = new AIS_Shape(S); - aContext->SetColor(ais1,Quantity_NOC_GREEN,Standard_False); - aContext->SetMaterial(ais1,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais1,Standard_False); - gp_Trsf theTransformation; - gp_Ax1 axe = gp_Ax1(gp_Pnt(200,60,60),gp_Dir(0.,1.,0.)); - Handle(Geom_Axis1Placement) Gax1 = new Geom_Axis1Placement(axe); - Handle (AIS_Axis) ax1 = new AIS_Axis(Gax1); - aContext->Display(ax1); - theTransformation.SetRotation(axe,30*PI/180); - BRepBuilderAPI_Transform myBRepTransformation(S,theTransformation); - TopoDS_Shape S2 = myBRepTransformation.Shape(); - Handle(AIS_Shape) ais2 = new AIS_Shape(S2); - aContext->SetColor(ais2,Quantity_NOC_BLUE1,Standard_False); - aContext->SetMaterial(ais2,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais2); - - Message = "\ -\n\ -TopoDS_Shape S = BRepPrimAPI_MakeWedge(60.,100.,80.,20.); \n\ -gp_Trsf theTransformation; \n\ -gp_Ax1 Axis = gp_Ax1(gp_Pnt(200,60,60),gp_Dir(0.,1.,0.)); \n\ -theTransformation.SetRotation(Axis,30*PI/180); // Rotation of 30 degrees \n\ -BRepBuilderAPI_Transform myBRepTransformation(S,theTransformation);\n\ -TopoDS_Shape TransformedShape = myBRepTransformation.Shape(); \n"; -} - -//=============================================================== -// Function name: Scale -//=============================================================== - void SamplesTopologyPackage::Scale(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Shape S = BRepPrimAPI_MakeWedge(60.,100.,80.,20.).Shape(); - Handle(AIS_Shape) ais1 = new AIS_Shape(S); - aContext->SetColor(ais1,Quantity_NOC_GREEN,Standard_False); - aContext->SetMaterial(ais1,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais1,Standard_False); - gp_Trsf theTransformation; - gp_Pnt theCenterOfScale(200,60,60); - Handle(AIS_Point) aispnt = new AIS_Point(new Geom_CartesianPoint(theCenterOfScale)); - - aContext->Display(aispnt); - theTransformation.SetScale(theCenterOfScale,0.5); - BRepBuilderAPI_Transform myBRepTransformation(S,theTransformation); - TopoDS_Shape S2 = myBRepTransformation.Shape(); - - Handle(AIS_Shape) ais2 = new AIS_Shape(S2); - aContext->SetColor(ais2,Quantity_NOC_BLUE1,Standard_False); - aContext->SetMaterial(ais2,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais2); - - Message = "\ -\n\ -TopoDS_Shape S = BRepPrimAPI_MakeWedge(60.,100.,80.,20.); \n\ -gp_Trsf theTransformation; \n\ -gp_Pnt theCenterOfScale(200,60,60); \n\ -theTransformation.SetScale(theCenterOfScale,0.5); // Scale : value = 0.5 \n\ -BRepBuilderAPI_Transform myBRepTransformation(S,theTransformation);\n\ -TopoDS_Shape TransformedShape = myBRepTransformation.Shape(); \n"; -} - -//=============================================================== -// Function name: Translation -//=============================================================== - void SamplesTopologyPackage::Translation(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Shape S = BRepPrimAPI_MakeWedge(6.,10.,8.,2.).Shape(); - Handle(AIS_Shape) ais1 = new AIS_Shape(S); - aContext->SetColor(ais1,Quantity_NOC_GREEN,Standard_False); - aContext->SetMaterial(ais1,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais1); - gp_Trsf theTransformation; - gp_Vec theVectorOfTranslation(-6,-6,6); - - Handle (ISession_Direction) aDirection1 = new ISession_Direction(gp_Pnt(0,0,0),theVectorOfTranslation); - aContext->Display(aDirection1); - - theTransformation.SetTranslation(theVectorOfTranslation); - BRepBuilderAPI_Transform myBRepTransformation(S,theTransformation); - TopoDS_Shape S2 = myBRepTransformation.Shape(); - - Handle(AIS_Shape) ais2 = new AIS_Shape(S2); - aContext->SetColor(ais2,Quantity_NOC_BLUE1,Standard_False); - aContext->SetMaterial(ais2,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais2); - - - Message = "\ -\n\ -TopoDS_Shape S = BRepPrimAPI_MakeWedge(6.,10.,8.,2.); \n\ -gp_Trsf theTransformation; \n\ -gp_Vec theVectorOfTranslation(6,6,6); \n\ -theTransformation.SetTranslation(theVectorOfTranslation); \n\ -BRepBuilderAPI_Transform myBRepTransformation(S,theTransformation);\n\ -TopoDS_Shape TransformedShape = myBRepTransformation.Shape(); \n"; -} - -//=============================================================== -// Function name: Displacement -//=============================================================== - void SamplesTopologyPackage::Displacement(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Shape S = BRepPrimAPI_MakeWedge(60.,100.,80.,20.).Shape(); - Handle(AIS_Shape) ais1 = new AIS_Shape(S); - aContext->SetColor(ais1,Quantity_NOC_GREEN,Standard_False); - aContext->SetMaterial(ais1,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais1); - gp_Trsf theTransformation; - - gp_Ax3 ax3_1(gp_Pnt(0,0,0),gp_Dir(0,0,1)); - gp_Ax3 ax3_2(gp_Pnt(60,60,60),gp_Dir(1,1,1)); - - theTransformation.SetDisplacement(ax3_1,ax3_2); - BRepBuilderAPI_Transform myBRepTransformation(S,theTransformation); - TopoDS_Shape TransformedShape = myBRepTransformation.Shape(); - Handle(AIS_Shape) ais2 = new AIS_Shape(TransformedShape); - aContext->SetColor(ais2,Quantity_NOC_BLUE1,Standard_False); - aContext->SetMaterial(ais2,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais2); - - Message = "\ -\n\ -TopoDS_Shape S = BRepPrimAPI_MakeWedge(60.,100.,80.,20.); \n\ -gp_Trsf theTransformation; \n\ -gp_Ax3 ax3_1(gp_Pnt(0,0,0),gp_Dir(0,0,1)); \n\ -gp_Ax3 ax3_2(gp_Pnt(60,60,60),gp_Dir(1,1,1)); \n\ -theTransformation.SetDisplacement(ax3_1,ax3_2); \n\ -BRepBuilderAPI_Transform myBRepTransformation(S,theTransformation);\n\ -TopoDS_Shape TransformedShape = myBRepTransformation.Shape(); \n"; -} - -//=============================================================== -// Function name: Deform -//=============================================================== - void SamplesTopologyPackage::Deform(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Shape S = BRepPrimAPI_MakeWedge(60.,100.,80.,20.).Shape(); - Handle(AIS_Shape) ais1 = new AIS_Shape(S); - aContext->SetColor(ais1,Quantity_NOC_GREEN,Standard_False); - aContext->SetMaterial(ais1,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais1); - - gp_GTrsf theTransformation; - gp_Mat rot(1, 0, 0, 0, 0.5, 0, 0, 0, 1.5); - theTransformation.SetVectorialPart(rot); - theTransformation.SetTranslationPart(gp_XYZ(5,5,5)); - - BRepBuilderAPI_GTransform myBRepTransformation(S,theTransformation); - TopoDS_Shape S2 = myBRepTransformation.Shape(); - - Handle(AIS_Shape) ais2 = new AIS_Shape(S2); - aContext->SetColor(ais2,Quantity_NOC_BLUE1,Standard_False); - aContext->SetMaterial(ais2,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais2); - - Message = "\ -\n\ -TopoDS_Shape S = BRepPrimAPI_MakeWedge(60.,100.,80.,20.); \n\ -gp_GTrsf theTransformation; \n\ -gp_Mat rot(1, 0, 0, 0, 0.5, 0, 0, 0, 1.5); // scaling : 100% on X ; 50% on Y ; 150% on Z . \n\ -theTransformation.SetVectorialPart(rot); \n\ -theTransformation.SetTranslationPart(gp_XYZ(5,5,5)); \n\ -BRepBuilderAPI_GTransform myBRepGTransformation(S,theTransformation);\n\ -TopoDS_Shape TransformedShape = myBRepGTransformation.Shape(); \n"; -} - - -//====================================================================== -//= = -//= Local Operations = -//= = -//====================================================================== - -//=============================================================== -// Function name: LocalPrism -//=============================================================== - void SamplesTopologyPackage::LocalPrism(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Shape S = BRepPrimAPI_MakeBox(400.,250.,300.).Shape(); - Handle(AIS_Shape) ais1 = new AIS_Shape(S); - aContext->SetColor(ais1,Quantity_NOC_GREEN,Standard_False); - aContext->SetMaterial(ais1,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais1); - - TopExp_Explorer Ex; - Ex.Init(S,TopAbs_FACE); - Ex.Next(); - TopoDS_Face F = TopoDS::Face(Ex.Current()); - Handle(Geom_Surface) surf = BRep_Tool::Surface(F); - Handle(Geom_Plane) Pl = Handle(Geom_Plane)::DownCast(surf); - gp_Dir D = Pl->Pln().Axis().Direction(); - - // use the trigonometric orientation to make the extrusion. - D.Reverse(); - gp_Pnt2d p1,p2; - Handle(Geom2d_Curve) aline; - BRepBuilderAPI_MakeWire MW; - p1 = gp_Pnt2d(200.,-100.); - p2 = gp_Pnt2d(100.,-100.); - aline = GCE2d_MakeLine(p1,p2).Value(); - MW.Add(BRepBuilderAPI_MakeEdge(aline,surf,0.,p1.Distance(p2))); - p1 = p2; - p2 = gp_Pnt2d(100.,-200.); - aline = GCE2d_MakeLine(p1,p2).Value(); - MW.Add(BRepBuilderAPI_MakeEdge(aline,surf,0.,p1.Distance(p2))); - p1 = p2; - p2 = gp_Pnt2d(200.,-200.); - aline = GCE2d_MakeLine(p1,p2).Value(); - MW.Add(BRepBuilderAPI_MakeEdge(aline,surf,0.,p1.Distance(p2))); - p1 = p2; - p2 = gp_Pnt2d(200.,-100.); - aline = GCE2d_MakeLine(p1,p2).Value(); - MW.Add(BRepBuilderAPI_MakeEdge(aline,surf,0.,p1.Distance(p2))); - BRepBuilderAPI_MakeFace MKF; - MKF.Init(surf,Standard_False); - MKF.Add(MW.Wire()); - TopoDS_Shape FP = MKF.Face(); - BRepLib::BuildCurves3d(FP); - BRepFeat_MakePrism MKP(S,FP,F,D,0,Standard_True); - MKP.Perform(200.); - TopoDS_Shape res1 = MKP.Shape(); - ais1->Set(res1); - aContext->Redisplay(ais1); - - Ex.Next(); - TopoDS_Face F2 = TopoDS::Face(Ex.Current()); - surf = BRep_Tool::Surface(F2); - Pl = Handle(Geom_Plane)::DownCast(surf); - D = Pl->Pln().Axis().Direction(); - D.Reverse(); - BRepBuilderAPI_MakeWire MW2; - p1 = gp_Pnt2d(100.,100.); - p2 = gp_Pnt2d(200.,100.); - aline = GCE2d_MakeLine(p1,p2).Value(); - MW2.Add(BRepBuilderAPI_MakeEdge(aline,surf,0.,p1.Distance(p2))); - p1 = p2; - p2 = gp_Pnt2d(150.,200.); - aline = GCE2d_MakeLine(p1,p2).Value(); - MW2.Add(BRepBuilderAPI_MakeEdge(aline,surf,0.,p1.Distance(p2))); - p1 = p2; - p2 = gp_Pnt2d(100.,100.); - aline = GCE2d_MakeLine(p1,p2).Value(); - MW2.Add(BRepBuilderAPI_MakeEdge(aline,surf,0.,p1.Distance(p2))); - BRepBuilderAPI_MakeFace MKF2; - MKF2.Init(surf,Standard_False); - MKF2.Add(MW2.Wire()); - FP = MKF2.Face(); - BRepLib::BuildCurves3d(FP); - BRepFeat_MakePrism MKP2(res1,FP,F2,D,1,Standard_True); - MKP2.Perform(100.); - TopoDS_Shape res2 = MKP2.Shape(); - ais1->Set(res2); - aContext->Redisplay(ais1); - - Message = "\ - \n\ ---- Extrusion ---\n\ - \n\ -TopoDS_Shape S = BRepPrimAPI_MakeBox(400.,250.,300.);\n\ -TopExp_Explorer Ex;\n\ -Ex.Init(S,TopAbs_FACE);\n\ -Ex.Next();\n\ -TopoDS_Face F = TopoDS::Face(Ex.Current());\n\ -Handle(Geom_Surface) surf = BRep_Tool::Surface(F);\n\ -Handle(Geom_Plane) Pl = Handle(Geom_Plane)::DownCast(surf);\n\ -gp_Dir D = Pl->Pln().Axis().Direction();\n\ -D.Reverse();\n\ -gp_Pnt2d p1,p2;\n\ -Handle(Geom2d_Curve) aline;\n\ -BRepBuilderAPI_MakeWire MW;\n\ -p1 = gp_Pnt2d(200.,-100.);\n\ -p2 = gp_Pnt2d(100.,-100.);\n\ -aline = GCE2d_MakeLine(p1,p2).Value();\n\ -MW.Add(BRepBuilderAPI_MakeEdge(aline,surf,0.,p1.Distance(p2)));\n\ -p1 = p2;\n\ -p2 = gp_Pnt2d(100.,-200.);\n\ -aline = GCE2d_MakeLine(p1,p2).Value();\n\ -MW.Add(BRepBuilderAPI_MakeEdge(aline,surf,0.,p1.Distance(p2)));\n\ -p1 = p2;\n\ -p2 = gp_Pnt2d(200.,-200.);\n\ -aline = GCE2d_MakeLine(p1,p2).Value();\n\ -MW.Add(BRepBuilderAPI_MakeEdge(aline,surf,0.,p1.Distance(p2)));\n\ -p1 = p2;\n\ -p2 = gp_Pnt2d(200.,-100.);\n\ -aline = GCE2d_MakeLine(p1,p2).Value();\n\ -MW.Add(BRepBuilderAPI_MakeEdge(aline,surf,0.,p1.Distance(p2)));\n\ -BRepBuilderAPI_MakeFace MKF;\n\ -MKF.Init(surf,Standard_False);\n\ -MKF.Add(MW.Wire());\n\ -TopoDS_Shape FP = MKF.Face();\n\ -BRepLib::BuildCurves3d(FP);\n\ -BRepFeat_MakePrism MKP(S,FP,F,D,0,Standard_True);\n\ -MKP.Perform(200);\n\ -TopoDS_Shape res1 = MKP.Shape();\n\ - \n"; - Message += "\n\ ---- Protrusion --- \n\ -\n\ -Ex.Next();\n\ -TopoDS_Face F2 = TopoDS::Face(Ex.Current());\n\ -surf = BRep_Tool::Surface(F2);\n\ -Pl = Handle(Geom_Plane)::DownCast(surf);\n\ -D = Pl->Pln().Axis().Direction();\n\ -D.Reverse();\n\ -BRepBuilderAPI_MakeWire MW2;\n\ -p1 = gp_Pnt2d(100.,100.);\n\ -p2 = gp_Pnt2d(200.,100.);\n\ -aline = GCE2d_MakeLine(p1,p2).Value();\n\ -MW2.Add(BRepBuilderAPI_MakeEdge(aline,surf,0.,p1.Distance(p2)));\n\ -p1 = p2;\n\ -p2 = gp_Pnt2d(150.,200.);\n\ -aline = GCE2d_MakeLine(p1,p2).Value();\n\ -MW2.Add(BRepBuilderAPI_MakeEdge(aline,surf,0.,p1.Distance(p2)));\n\ -p1 = p2;\n\ -p2 = gp_Pnt2d(100.,100.);\n\ -aline = GCE2d_MakeLine(p1,p2).Value();\n\ -MW2.Add(BRepBuilderAPI_MakeEdge(aline,surf,0.,p1.Distance(p2)));\n\ -BRepBuilderAPI_MakeFace MKF2;\n\ -MKF2.Init(surf,Standard_False);\n\ -MKF2.Add(MW2.Wire());\n\ -FP = MKF2.Face();\n\ -BRepLib::BuildCurves3d(FP);\n\ -BRepFeat_MakePrism MKP2(res1,FP,F2,D,1,Standard_True);\n\ -MKP2.Perform(100.);\n\ -TopoDS_Shape res2 = MKP2.Shape();\n\ - \n"; -} - -//=============================================================== -// Function name: LocalDPrism -//=============================================================== - void SamplesTopologyPackage::LocalDPrism(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Shape S = BRepPrimAPI_MakeBox(400.,250.,300.).Shape(); - Handle(AIS_Shape) ais1 = new AIS_Shape(S); - aContext->SetColor(ais1,Quantity_NOC_RED,Standard_False); - aContext->SetMaterial(ais1,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais1); - TopExp_Explorer Ex; - Ex.Init(S,TopAbs_FACE); - Ex.Next(); - Ex.Next(); - Ex.Next(); - Ex.Next(); - Ex.Next(); - TopoDS_Face F = TopoDS::Face(Ex.Current()); - Handle(Geom_Surface) surf = BRep_Tool::Surface(F); - gp_Ax2d aLocalAx2d(gp_Pnt2d(200.,130.),gp_Dir2d(1.,0.)); - gp_Circ2d c(aLocalAx2d,50.); - // gp_Circ2d c(gp_Ax2d(gp_Pnt2d(200.,130.),gp_Dir2d(1.,0.)),50.); - BRepBuilderAPI_MakeWire MW; - Handle(Geom2d_Curve) aline = new Geom2d_Circle(c); - MW.Add(BRepBuilderAPI_MakeEdge(aline,surf,0.,PI)); - MW.Add(BRepBuilderAPI_MakeEdge(aline,surf,PI,2.*PI)); - BRepBuilderAPI_MakeFace MKF; - MKF.Init(surf,Standard_False); - MKF.Add(MW.Wire()); - TopoDS_Face FP = MKF.Face(); - BRepLib::BuildCurves3d(FP); - BRepFeat_MakeDPrism MKDP(S,FP,F,10*PI180,1,Standard_True); - MKDP.Perform(200); - TopoDS_Shape res1 = MKDP.Shape(); - ais1->Set(res1); - aContext->Redisplay(ais1); - - Message = "\ - \n\ ---- Protrusion with draft angle --- \n\ - \n\ -TopoDS_Shape S = BRepPrimAPI_MakeBox(400.,250.,300.);\n\ -TopExp_Explorer Ex;\n\ -Ex.Init(S,TopAbs_FACE);\n\ -Ex.Next();\n\ -Ex.Next();\n\ -Ex.Next();\n\ -Ex.Next();\n\ -Ex.Next();\n\ -TopoDS_Face F = TopoDS::Face(Ex.Current());\n\ -Handle(Geom_Surface) surf = BRep_Tool::Surface(F);\n\ -gp_Circ2d c(gp_Ax2d(gp_Pnt2d(200.,130.),gp_Dir2d(1.,0.)),50.);\n\ -BRepBuilderAPI_MakeWire MW;\n\ -Handle(Geom2d_Curve) aline = new Geom2d_Circle(c);\n\ -MW.Add(BRepBuilderAPI_MakeEdge(aline,surf,0.,PI));\n\ -MW.Add(BRepBuilderAPI_MakeEdge(aline,surf,PI,2.*PI));\n\ -BRepBuilderAPI_MakeFace MKF;\n\ -MKF.Init(surf,Standard_False);\n\ -MKF.Add(MW.Wire());\n\ -TopoDS_Face FP = MKF.Face();\n\ -BRepLib::BuildCurves3d(FP);\n\ -BRepFeat_MakeDPrism MKDP(S,FP,F,10*PI180,1,Standard_True);\n\ -MKDP.Perform(200);\n\ -TopoDS_Shape res1 = MKDP.Shape();\n\ - \n"; -} - -//=============================================================== -// Function name: LocalRevol -//=============================================================== - void SamplesTopologyPackage::LocalRevol(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Shape S = BRepPrimAPI_MakeBox(400.,250.,300.).Shape(); - Handle(AIS_Shape) ais1 = new AIS_Shape(S); - aContext->SetColor(ais1,Quantity_NOC_CORAL,Standard_False); - aContext->SetMaterial(ais1,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais1); - TopExp_Explorer Ex; - Ex.Init(S,TopAbs_FACE); - Ex.Next(); - Ex.Next(); - TopoDS_Face F1 = TopoDS::Face(Ex.Current()); - Handle(Geom_Surface) surf = BRep_Tool::Surface(F1); - Handle (Geom_Plane) Pl = Handle(Geom_Plane)::DownCast(surf); - gp_Ax1 D = gp::OX(); - BRepBuilderAPI_MakeWire MW1; - gp_Pnt2d p1,p2; - p1 = gp_Pnt2d(100.,100.); - p2 = gp_Pnt2d(200.,100.); - Handle(Geom2d_Line) aline = GCE2d_MakeLine(p1,p2).Value(); - MW1.Add(BRepBuilderAPI_MakeEdge(aline,surf,0.,p1.Distance(p2))); - p1 = p2; - p2 = gp_Pnt2d(150.,200.); - aline = GCE2d_MakeLine(p1,p2).Value(); - MW1.Add(BRepBuilderAPI_MakeEdge(aline,surf,0.,p1.Distance(p2))); - p1 = p2; - p2 = gp_Pnt2d(100.,100.); - aline = GCE2d_MakeLine(p1,p2).Value(); - MW1.Add(BRepBuilderAPI_MakeEdge(aline,surf,0.,p1.Distance(p2))); - BRepBuilderAPI_MakeFace MKF1; - MKF1.Init(surf,Standard_False); - MKF1.Add(MW1.Wire()); - TopoDS_Face FP = MKF1.Face(); - BRepLib::BuildCurves3d(FP); - BRepFeat_MakeRevol MKrev(S,FP,F1,D,1,Standard_True); - Ex.Next(); - Ex.Next(); - TopoDS_Face F2 = TopoDS::Face(Ex.Current()); - MKrev.Perform(F2); - TopoDS_Shape res1 = MKrev.Shape(); - ais1->Set(res1); - aContext->Redisplay(ais1); - - Message = "\ - \n\ -TopoDS_Shape S = BRepPrimAPI_MakeBox(400.,250.,300.);\n\ -TopExp_Explorer Ex;\n\ -Ex.Init(S,TopAbs_FACE);\n\ -Ex.Next();\n\ -Ex.Next();\n\ -TopoDS_Face F1 = TopoDS::Face(Ex.Current());\n\ -Handle(Geom_Surface) surf = BRep_Tool::Surface(F1);\n\ -Handle (Geom_Plane) Pl = Handle(Geom_Plane)::DownCast(surf);\n\ -gp_Ax1 D = gp::OX();\n\ -BRepBuilderAPI_MakeWire MW1;\n\ -gp_Pnt2d p1,p2;\n\ -p1 = gp_Pnt2d(100.,100.);\n\ -p2 = gp_Pnt2d(200.,100.);\n\ -Handle(Geom2d_Line) aline = GCE2d_MakeLine(p1,p2).Value();\n\ -MW1.Add(BRepBuilderAPI_MakeEdge(aline,surf,0.,p1.Distance(p2)));\n\ -p1 = p2;\n\ -p2 = gp_Pnt2d(150.,200.);\n\ -aline = GCE2d_MakeLine(p1,p2).Value();\n\ -MW1.Add(BRepBuilderAPI_MakeEdge(aline,surf,0.,p1.Distance(p2)));\n\ -p1 = p2;\n\ -p2 = gp_Pnt2d(100.,100.);\n\ -aline = GCE2d_MakeLine(p1,p2).Value();\n\ -MW1.Add(BRepBuilderAPI_MakeEdge(aline,surf,0.,p1.Distance(p2)));\n\ -BRepBuilderAPI_MakeFace MKF1;\n\ -MKF1.Init(surf,Standard_False);\n\ -MKF1.Add(MW1.Wire());\n\ -TopoDS_Face FP = MKF1.Face();\n\ -BRepLib::BuildCurves3d(FP);\n\ -BRepFeat_MakeRevol MKrev(S,FP,F1,D,1,Standard_True);\n\ -Ex.Next();\n\ -TopoDS_Face F2 = TopoDS::Face(Ex.Current());\n\ -MKrev.Perform(F2);\n\ -TopoDS_Shape res1 = MKrev.Shape();\n\ - \n"; -} - -//=============================================================== -// Function name: LocalPipe -//=============================================================== - void SamplesTopologyPackage::LocalPipe(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Shape S = BRepPrimAPI_MakeBox(400.,250.,300.).Shape(); - Handle(AIS_Shape) ais1 = new AIS_Shape(S); - aContext->SetColor(ais1,Quantity_NOC_CORAL,Standard_False); - aContext->SetMaterial(ais1,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais1); - TopExp_Explorer Ex; - Ex.Init(S,TopAbs_FACE); - Ex.Next(); - Ex.Next(); - TopoDS_Face F1 = TopoDS::Face(Ex.Current()); - Handle(Geom_Surface) surf = BRep_Tool::Surface(F1); - BRepBuilderAPI_MakeWire MW1; - gp_Pnt2d p1,p2; - p1 = gp_Pnt2d(100.,100.); - p2 = gp_Pnt2d(200.,100.); - Handle(Geom2d_Line) aline = GCE2d_MakeLine(p1,p2).Value(); - MW1.Add(BRepBuilderAPI_MakeEdge(aline,surf,0.,p1.Distance(p2))); - p1 = p2; - p2 = gp_Pnt2d(150.,200.); - aline = GCE2d_MakeLine(p1,p2).Value(); - MW1.Add(BRepBuilderAPI_MakeEdge(aline,surf,0.,p1.Distance(p2))); - p1 = p2; - p2 = gp_Pnt2d(100.,100.); - aline = GCE2d_MakeLine(p1,p2).Value(); - MW1.Add(BRepBuilderAPI_MakeEdge(aline,surf,0.,p1.Distance(p2))); - BRepBuilderAPI_MakeFace MKF1; - MKF1.Init(surf,Standard_False); - MKF1.Add(MW1.Wire()); - TopoDS_Face FP = MKF1.Face(); - BRepLib::BuildCurves3d(FP); - TColgp_Array1OfPnt CurvePoles(1,3); - gp_Pnt pt = gp_Pnt(150.,0.,150.); - CurvePoles(1) = pt; - pt = gp_Pnt(200.,-100.,150.); - CurvePoles(2) = pt; - pt = gp_Pnt(150.,-200.,150.); - CurvePoles(3) = pt; - Handle(Geom_BezierCurve) curve = new Geom_BezierCurve(CurvePoles); - TopoDS_Edge E = BRepBuilderAPI_MakeEdge(curve); - TopoDS_Wire W = BRepBuilderAPI_MakeWire(E); - BRepFeat_MakePipe MKPipe(S,FP,F1,W,1,Standard_True); - MKPipe.Perform(); - TopoDS_Shape res1 = MKPipe.Shape(); - ais1->Set(res1); - aContext->Redisplay(ais1); - - Message = "\ - \n\ -TopoDS_Shape S = BRepPrimAPI_MakeBox(400.,250.,300.);\n\ -TopExp_Explorer Ex;\n\ -Ex.Init(S,TopAbs_FACE);\n\ -Ex.Next();\n\ -Ex.Next();\n\ -TopoDS_Face F1 = TopoDS::Face(Ex.Current());\n\ -Handle(Geom_Surface) surf = BRep_Tool::Surface(F1);\n\ -BRepBuilderAPI_MakeWire MW1;\n\ -gp_Pnt2d p1,p2;\n\ -p1 = gp_Pnt2d(100.,100.);\n\ -p2 = gp_Pnt2d(200.,100.);\n\ -Handle(Geom2d_Line) aline = GCE2d_MakeLine(p1,p2).Value();\n\ -MW1.Add(BRepBuilderAPI_MakeEdge(aline,surf,0.,p1.Distance(p2)));\n\ -p1 = p2;\n\ -p2 = gp_Pnt2d(150.,200.);\n\ -aline = GCE2d_MakeLine(p1,p2).Value();\n\ -MW1.Add(BRepBuilderAPI_MakeEdge(aline,surf,0.,p1.Distance(p2)));\n\ -p1 = p2;\n\ -p2 = gp_Pnt2d(100.,100.);\n\ -aline = GCE2d_MakeLine(p1,p2).Value();\n\ -MW1.Add(BRepBuilderAPI_MakeEdge(aline,surf,0.,p1.Distance(p2)));\n\ -BRepBuilderAPI_MakeFace MKF1;\n\ -MKF1.Init(surf,Standard_False);\n\ -TopoDS_Face FP = MKF1.Face();\n\ -BRepLib::BuildCurves3d(FP);\n\ -TColgp_Array1OfPnt CurvePoles(1,3);\n\ -gp_Pnt pt = gp_Pnt(150.,0.,150.);\n\ -CurvePoles(1) = pt;\n\ -pt = gp_Pnt(200.,-100.,150.);\n\ -CurvePoles(2) = pt;\n\ -pt = gp_Pnt(150.,-200.,150.);\n\ -CurvePoles(3) = pt;\n\ -Handle(Geom_BezierCurve) curve = new Geom_BezierCurve(CurvePoles);\n\ -TopoDS_Edge E = BRepBuilderAPI_MakeEdge(curve);\n\ -TopoDS_Wire W = BRepBuilderAPI_MakeWire(E);\n\ -BRepFeat_MakePipe MKPipe(S,FP,F1,W,1,Standard_True);\n\ -MKPipe.Perform();\n\ -TopoDS_Shape res1 = MKPipe.Shape();\n\ - \n"; -} - -//=============================================================== -// Function name: Rib -//=============================================================== - void SamplesTopologyPackage::Rib(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - BRepBuilderAPI_MakeWire mkw; - gp_Pnt p1 = gp_Pnt(0.,0.,0.); - gp_Pnt p2 = gp_Pnt(200.,0.,0.); - mkw.Add(BRepBuilderAPI_MakeEdge(p1,p2)); - p1 = p2; - p2 = gp_Pnt(200.,0.,50.); - mkw.Add(BRepBuilderAPI_MakeEdge(p1,p2)); - p1 = p2; - p2 = gp_Pnt(50.,0.,50.); - mkw.Add(BRepBuilderAPI_MakeEdge(p1,p2)); - p1 = p2; - p2 = gp_Pnt(50.,0.,200.); - mkw.Add(BRepBuilderAPI_MakeEdge(p1,p2)); - p1 = p2; - p2 = gp_Pnt(0.,0.,200.); - mkw.Add(BRepBuilderAPI_MakeEdge(p1,p2)); - p1 = p2; - mkw.Add(BRepBuilderAPI_MakeEdge(p2,gp_Pnt(0.,0.,0.))); - - TopoDS_Shape S = BRepPrimAPI_MakePrism(BRepBuilderAPI_MakeFace(mkw.Wire()), - gp_Vec(gp_Pnt(0.,0.,0.),gp_Pnt(0.,100.,0.))).Shape(); - Handle(AIS_Shape) ais1 = new AIS_Shape(S); - aContext->SetColor(ais1,Quantity_NOC_CYAN2,Standard_False); - aContext->SetMaterial(ais1,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais1); - TopoDS_Wire W = BRepBuilderAPI_MakeWire(BRepBuilderAPI_MakeEdge(gp_Pnt(50.,45.,100.), - gp_Pnt(100.,45.,50.))); - Handle(Geom_Plane) aplane = new Geom_Plane(0.,1.,0.,-45.); - BRepFeat_MakeLinearForm aform(S, W, aplane, gp_Vec(0.,10.,0.), gp_Vec(0.,0.,0.), - 1, Standard_True); - aform.Perform(); - - TopoDS_Shape res = aform.Shape(); - ais1->Set(res); - aContext->Redisplay(ais1); - - Message = "\ - \n\ -BRepBuilderAPI_MakeWire mkw;\n\ -gp_Pnt p1 = gp_Pnt(0.,0.,0.);\n\ -gp_Pnt p2 = gp_Pnt(200.,0.,0.);\n\ -mkw.Add(BRepBuilderAPI_MakeEdge(p1,p2));\n\ -p1 = p2;\n\ -p2 = gp_Pnt(200.,0.,50.);\n\ -mkw.Add(BRepBuilderAPI_MakeEdge(p1,p2));\n\ -p1 = p2;\n\ -p2 = gp_Pnt(50.,0.,50.);\n\ -mkw.Add(BRepBuilderAPI_MakeEdge(p1,p2));\n\ -p1 = p2;\n\ -p2 = gp_Pnt(50.,0.,200.);\n\ -mkw.Add(BRepBuilderAPI_MakeEdge(p1,p2));\n\ -p1 = p2;\n\ -p2 = gp_Pnt(0.,0.,200.);\n\ -mkw.Add(BRepBuilderAPI_MakeEdge(p1,p2));\n\ -p1 = p2;\n\ -mkw.Add(BRepBuilderAPI_MakeEdge(p2,gp_Pnt(0.,0.,0.)));\n\ -TopoDS_Shape S = BRepPrimAPI_MakePrism(BRepBuilderAPI_MakeFace(mkw.Wire()), \n\ - gp_Vec(gp_Pnt(0.,0.,0.),gp_Pnt(0.,100.,0.)));\n\ -TopoDS_Wire W = BRepBuilderAPI_MakeWire(BRepBuilderAPI_MakeEdge(gp_Pnt(50.,45.,100.),\n\ - gp_Pnt(100.,45.,50.)));\n\ -Handle(Geom_Plane) aplane = new Geom_Plane(0.,1.,0.,-45.);\n\ -BRepFeat_MakeLinearForm aform(S, W, aplane, gp_Dir(0.,10.,0.), gp_Dir(0.,0.,0.),\n\ - 1, Standard_True);\n\ -aform.Perform(10.);\n\ -TopoDS_Shape res = aform.Shape();\n\ - \n"; -} - -//=============================================================== -// Function name: Glue -//=============================================================== - void SamplesTopologyPackage::Glue(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Shape S1 = BRepPrimAPI_MakeBox(gp_Pnt(-500.,-500.,0.),gp_Pnt(-100.,-250.,300.)).Shape(); - Handle(AIS_Shape) ais1 = new AIS_Shape(S1); - aContext->SetColor(ais1,Quantity_NOC_ORANGE,Standard_False); - aContext->SetMaterial(ais1,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais1); - TopExp_Explorer Ex1; - Ex1.Init(S1,TopAbs_FACE); - Ex1.Next(); - Ex1.Next(); - Ex1.Next(); - Ex1.Next(); - Ex1.Next(); - TopoDS_Face F1 = TopoDS::Face(Ex1.Current()); - TopoDS_Shape S2 = BRepPrimAPI_MakeBox(gp_Pnt(-400.,-400.,300.),gp_Pnt(-200.,-300.,500.)).Shape(); - Handle(AIS_Shape) ais2 = new AIS_Shape(S2); - aContext->SetColor(ais2,Quantity_NOC_AZURE,Standard_False); - aContext->SetMaterial(ais2,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais2); - TopExp_Explorer Ex2; - Ex2.Init(S2,TopAbs_FACE); - Ex2.Next(); - Ex2.Next(); - Ex2.Next(); - Ex2.Next(); - TopoDS_Face F2 = TopoDS::Face(Ex2.Current()); - BRepFeat_Gluer glue(S2,S1); - glue.Bind(F2,F1); - TopoDS_Shape res1 = glue.Shape(); - aContext->Erase(ais2,Standard_False,Standard_False); - ais1->Set(res1); - aContext->Redisplay(ais1); - - TopoDS_Shape S3 = BRepPrimAPI_MakeBox(500.,400.,300.).Shape(); - Handle(AIS_Shape) ais3 = new AIS_Shape(S3); - aContext->SetColor(ais3,Quantity_NOC_ORANGE,Standard_False); - aContext->SetMaterial(ais3,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais3); - TopExp_Explorer Ex3; - Ex3.Init(S3,TopAbs_FACE); - Ex3.Next(); - Ex3.Next(); - Ex3.Next(); - Ex3.Next(); - Ex3.Next(); - TopoDS_Face F3 = TopoDS::Face(Ex3.Current()); - TopoDS_Shape S4 = BRepPrimAPI_MakeBox(gp_Pnt(0.,0.,300.),gp_Pnt(200.,200.,500.)).Shape(); - Handle(AIS_Shape) ais4 = new AIS_Shape(S4); - aContext->SetColor(ais4,Quantity_NOC_AZURE,Standard_False); - aContext->SetMaterial(ais4,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais4); - TopExp_Explorer Ex4; - Ex4.Init(S4,TopAbs_FACE); - Ex4.Next(); - Ex4.Next(); - Ex4.Next(); - Ex4.Next(); - TopoDS_Face F4 = TopoDS::Face(Ex4.Current()); - BRepFeat_Gluer glue2(S4,S3); - glue2.Bind(F4,F3); - LocOpe_FindEdges CommonEdges(F4,F3); - for (CommonEdges.InitIterator(); CommonEdges.More(); CommonEdges.Next()) - glue2.Bind(CommonEdges.EdgeFrom(),CommonEdges.EdgeTo()); - TopoDS_Shape res2 = glue2.Shape(); - aContext->Erase(ais3,Standard_False,Standard_False); - ais4->Set(res2); - aContext->Redisplay(ais4); - - Message = "\ - \n\ ---- Without common edges ---\n\ - \n\ -TopoDS_Shape S1 = BRepPrimAPI_MakeBox(gp_Pnt(-500.,-500.,0.),gp_Pnt(-100.,-250.,300.));\n\ -TopExp_Explorer Ex1;\n\ -Ex1.Init(S1,TopAbs_FACE);\n\ -Ex1.Next();\n\ -Ex1.Next();\n\ -Ex1.Next();\n\ -Ex1.Next();\n\ -Ex1.Next();\n\ -TopoDS_Face F1 = TopoDS::Face(Ex1.Current());\n\ -TopoDS_Shape S2 = BRepPrimAPI_MakeBox(gp_Pnt(-400.,-400.,300.),gp_Pnt(-200.,-300.,500.));\n\ -TopExp_Explorer Ex2;\n\ -Ex2.Init(S2,TopAbs_FACE);\n\ -Ex2.Next();\n\ -Ex2.Next();\n\ -Ex2.Next();\n\ -Ex2.Next();\n\ -TopoDS_Face F2 = TopoDS::Face(Ex2.Current());\n\ -BRepFeat_Gluer glue(S2,S1);\n\ -glue.Bind(F2,F1);\n\ -TopoDS_Shape res1 = glue.Shape();\n\ -\n\ ---- With common edges ---\n\ -\n\ -TopoDS_Shape S3 = BRepPrimAPI_MakeBox(500.,400.,300.);\n\ -TopExp_Explorer Ex3;\n\ -Ex3.Init(S3,TopAbs_FACE);\n\ -Ex3.Next();\n\ -Ex3.Next();\n\ -Ex3.Next();\n\ -Ex3.Next();\n\ -Ex3.Next();\n\ -TopoDS_Face F3 = TopoDS::Face(Ex3.Current());\n\ -TopoDS_Shape S4 = BRepPrimAPI_MakeBox(gp_Pnt(0.,0.,300.),gp_Pnt(200.,200.,500.));\n\ -TopExp_Explorer Ex4;\n\ -Ex4.Init(S4,TopAbs_FACE);\n\ -Ex4.Next();\n\ -Ex4.Next();\n\ -Ex4.Next();\n\ -Ex4.Next();\n\ -TopoDS_Face F4 = TopoDS::Face(Ex4.Current());\n\ -BRepFeat_Gluer glue2(S4,S3);\n\ -glue2.Bind(F4,F3);\n\ -LocOpe_FindEdges CommonEdges(F4,F3);\n\ -for (CommonEdges.InitIterator(); CommonEdges.More(); CommonEdges.Next()) \n\ - glue2.Bind(CommonEdges.EdgeFrom(),CommonEdges.EdgeTo());\n\ -TopoDS_Shape res2 = glue2.Shape();\n\ - \n"; -} - -//=============================================================== -// Function name: Split -//=============================================================== - void SamplesTopologyPackage::Split(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Shape S = BRepPrimAPI_MakeBox(gp_Pnt(-100,-60,-80),150,200,170).Shape(); - Handle(AIS_Shape) ais1 = new AIS_Shape(S); - aContext->SetColor(ais1,Quantity_NOC_RED); - aContext->SetMaterial(ais1,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais1); - - BRepAlgoAPI_Section asect(S, gp_Pln(1,2,1,-15),Standard_False); - asect.ComputePCurveOn1(Standard_True); - asect.Approximation(Standard_True); - asect.Build(); - TopoDS_Shape R = asect.Shape(); - BRepTools::Write(R,"R.rle"); - - BRepFeat_SplitShape asplit(S); - - for (TopExp_Explorer Ex(R,TopAbs_EDGE); Ex.More(); Ex.Next()) { - TopoDS_Shape anEdge = Ex.Current(); - TopoDS_Shape aFace; - if (asect.HasAncestorFaceOn1(anEdge,aFace)) { - TopoDS_Face F = TopoDS::Face(aFace); - TopoDS_Edge E = TopoDS::Edge(anEdge); - asplit.Add(E,F); - } - } - - asplit.Build(); - - OSD::MilliSecSleep(1000); - aContext->Erase(ais1,Standard_True,Standard_False); - - TopoDS_Shape Result = asplit.Shape(); - Handle(AIS_Shape) ais2 = new AIS_Shape(Result); - aContext->SetDisplayMode(ais2,0); - aContext->Display(ais2); - - - Message = "\ - \n\ -TopoDS_Shape S = BRepPrimAPI_MakeBox(gp_Pnt(-100,-60,-80),150,200,170); \n\ - \n\ -BRepAlgoAPI_Section asect(S, gp_Pln(1,2,1,-15),Standard_False); \n\ -asect.ComputePCurveOn1(Standard_True); \n\ -asect.Approximation(Standard_True); \n\ -asect.Build(); \n\ -TopoDS_Shape R = asect.Shape(); \n\ - \n\ -BRepFeat_SplitShape asplit(S); \n\ - \n\ -for (TopExp_Explorer Ex(R,TopAbs_EDGE); Ex.More(); Ex.Next()) { \n\ -TopoDS_Shape anEdge = Ex.Current(); \n\ - TopoDS_Shape aFace; \n\ - if (asect.HasAncestorFaceOn1(anEdge,aFace)) { \n\ - TopoDS_Face F = TopoDS::Face(aFace); \n\ - TopoDS_Edge E = TopoDS::Edge(anEdge); \n\ - asplit.Add(E,F); \n\ - } \n\ -} \n\ - \n\ -asplit.Build(); \n\ - \n\ -TopoDS_Shape Result = asplit.Shape(); \n\ - \n\ -\n"; -} - -//=============================================================== -// Function name: Thick -//=============================================================== - void SamplesTopologyPackage::Thick(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Shape S1 = BRepPrimAPI_MakeBox(150,200,110).Shape(); - Handle(AIS_Shape) abox1 = new AIS_Shape(S1); - aContext->SetColor(abox1,Quantity_NOC_WHITE); - aContext->SetMaterial(abox1,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(abox1); - - TopTools_ListOfShape aList; - TopExp_Explorer Ex(S1,TopAbs_FACE); - Ex.Next(); //this is the front face - TopoDS_Shape aFace = Ex.Current(); - aList.Append(aFace); - - TopoDS_Shape aThickSolid = BRepOffsetAPI_MakeThickSolid(S1,aList,10,0.01); - - Handle(AIS_Shape) ais1 = new AIS_Shape(aThickSolid); - aContext->SetColor(ais1,Quantity_NOC_RED); - aContext->SetMaterial(ais1,Graphic3d_NOM_PLASTIC,Standard_False); - aContext->Display(ais1); - - - - OSD::MilliSecSleep(1000); - aContext->Erase(abox1,Standard_True,Standard_False); - - Message = "\ - \n\ -TopoDS_Shape S = BRepPrimAPI_MakeBox(150,200,110); \n\ - \n\ -TopTools_ListOfShape aList; \n\ -TopExp_Explorer Ex(S,TopAbs_FACE); \n\ -Ex.Next(); //in order to recover the front face \n\ -TopoDS_Shape aFace = Ex.Current(); \n\ -aList.Append(aFace); \n\ - \n\ -TopoDS_Shape aThickSolid = BRepOffsetAPI_MakeThickSolid(S,aList,15,0.01); \n\ - \n\ -\n"; -} - -//=============================================================== -// Function name: Offset -//=============================================================== - void SamplesTopologyPackage::Offset(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Shape S1 = BRepPrimAPI_MakeBox(150,200,110).Shape(); - - Handle(AIS_Shape) aisBox1 = new AIS_Shape(S1); - aContext->SetColor(aisBox1,Quantity_NOC_BROWN); - aContext->SetMaterial(aisBox1,Graphic3d_NOM_GOLD,Standard_False); - aContext->Display(aisBox1); - - TopoDS_Shape anOffsetShape1 = BRepOffsetAPI_MakeOffsetShape(S1,60,0.01); - - Handle(AIS_Shape) ais1 = new AIS_Shape(anOffsetShape1); - aContext->SetColor(ais1,Quantity_NOC_MATRABLUE); - aContext->SetMaterial(ais1,Graphic3d_NOM_GOLD,Standard_False); - aContext->SetTransparency(ais1,0.5); - aContext->Display(ais1); - - OSD::MilliSecSleep(1000); - - TopoDS_Shape S2 = BRepPrimAPI_MakeBox(gp_Pnt(500,0,0),220,140,180).Shape(); - - Handle(AIS_Shape) aisBox2 = new AIS_Shape(S2); - aContext->SetColor(aisBox2,Quantity_NOC_WHITE); - aContext->SetMaterial(aisBox2,Graphic3d_NOM_GOLD,Standard_False); - aContext->SetTransparency(aisBox2,0.5); - aContext->Display(aisBox2); - - TopoDS_Shape anOffsetShape2 = BRepOffsetAPI_MakeOffsetShape(S2,-40,0.01, - BRepOffset_Skin,Standard_False,Standard_False,GeomAbs_Arc); - - Handle(AIS_Shape) ais2 = new AIS_Shape(anOffsetShape2); - aContext->SetColor(ais2,Quantity_NOC_MATRABLUE); - aContext->SetMaterial(ais2,Graphic3d_NOM_GOLD,Standard_False); - aContext->Display(ais2); - - - Message = "\ - \n\ -//The red box \n\ -\n\ -TopoDS_Shape S1 = BRepPrimAPI_MakeBox(150,200,110); \n\ -\n\ -TopoDS_Shape anOffsetShape1 = BRepOffsetAPI_MakeOffsetShape(S1,60,0.01); \n\ -\n\ -//The white box \n\ - \n\ -TopoDS_Shape S2 = BRepPrimAPI_MakeBox(gp_Pnt(300,0,0),220,140,180); \n\ -\n\ -TopoDS_Shape anOffsetShape2 = BRepOffsetAPI_MakeOffsetShape(S2,-20,0.01, \n\ - BRepOffset_Skin,Standard_False,Standard_False,GeomAbs_Arc); \n\ - \n\ -//Warning : the offset shapes are blue. \n\ -\n\ -\n"; -} - - -//====================================================================== -//= = -//= Triangulations = -//= = -//====================================================================== - -//=============================================================== -// Function name: BuildMesh -//=============================================================== - void SamplesTopologyPackage::BuildMesh(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Shape theBox = BRepPrimAPI_MakeBox(200,60,60).Shape(); - TopoDS_Shape theSphere = BRepPrimAPI_MakeSphere(gp_Pnt(100,20,20),80).Shape(); - TopoDS_Shape ShapeFused = BRepAlgoAPI_Fuse(theSphere,theBox); - BRepMesh::Mesh(ShapeFused,1); - - Handle (AIS_Shape) aSection = new AIS_Shape(ShapeFused); - aContext->SetDisplayMode(aSection,1); - aContext->SetColor(aSection,Quantity_NOC_RED); - aContext->SetMaterial(aSection,Graphic3d_NOM_GOLD); - aContext->Display(aSection); - - Standard_Integer result(0); - - for (TopExp_Explorer ex(ShapeFused,TopAbs_FACE) ; ex.More(); ex.Next()) { - TopoDS_Face F =TopoDS::Face(ex.Current()); - TopLoc_Location L; - Handle (Poly_Triangulation) facing = BRep_Tool::Triangulation(F,L); - result = result + facing->NbTriangles(); - } - - Message = "\ - \n\ -TopoDS_Shape theBox = BRepPrimAPI_MakeBox(200,60,60); \n\ -TopoDS_Shape theSphere = BRepPrimAPI_MakeSphere(gp_Pnt(100,20,20),80); \n\ - \n\ -TopoDS_Shape ShapeFused = BRepAlgoAPI_Fuse(theSphere,theBox); \n\ - \n\ -BRepMesh::Mesh(ShapeFused,1); \n\ - \n\ -Standard_Integer result(0); \n\ - \n\ -for (TopExp_Explorer ex(ShapeFused,TopAbs_FACE) ; ex.More(); ex.Next()) { \n\ - TopoDS_Face F =TopoDS::Face(ex.Current()); \n\ - TopLoc_Location L; \n\ - Handle (Poly_Triangulation) facing = BRep_Tool::Triangulation(F,L); \n\ - result = result + facing->NbTriangles(); \n\ -} \n\ -\n\ ---- Number of created triangles ---\n"; - - TCollection_AsciiString nombre(result); - Message += nombre; - Message += "\ - \n\ - \n"; -} - -//=============================================================== -// Function name: DisplayMesh -//=============================================================== - void SamplesTopologyPackage::DisplayMesh(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Shape theBox = BRepPrimAPI_MakeBox(200,60,60).Shape(); - TopoDS_Shape theSphere = BRepPrimAPI_MakeSphere(gp_Pnt(100,20,20),80).Shape(); - TopoDS_Shape ShapeFused = BRepAlgoAPI_Fuse(theSphere,theBox); - BRepMesh::Mesh(ShapeFused,1); - - Handle (AIS_Shape) aSection = new AIS_Shape(ShapeFused); - aContext->SetDisplayMode(aSection,1); - aContext->SetColor(aSection,Quantity_NOC_RED); - aContext->SetMaterial(aSection,Graphic3d_NOM_GOLD); - aContext->SetTransparency(aSection,0.1); - aContext->Display(aSection); - - BRep_Builder builder; - TopoDS_Compound Comp; - builder.MakeCompound(Comp); - - for (TopExp_Explorer ex(ShapeFused,TopAbs_FACE) ; ex.More(); ex.Next()) { - - TopoDS_Face F =TopoDS::Face(ex.Current()); - TopLoc_Location L; - Handle (Poly_Triangulation) facing = BRep_Tool::Triangulation(F,L); - TColgp_Array1OfPnt tab(1,(facing->NbNodes())); - tab = facing->Nodes(); - Poly_Array1OfTriangle tri(1,facing->NbTriangles()); - tri = facing->Triangles(); - - for (Standard_Integer i=1;i<=(facing->NbTriangles());i++) { - Poly_Triangle trian = tri.Value(i); - Standard_Integer index1,index2,index3,M=0,N=0; - trian.Get(index1,index2,index3); - - for (Standard_Integer j=1;j<=3;j++) { - switch (j) { - case 1 : - M = index1; - N = index2; - break; - case 2 : - N = index3; - break; - case 3 : - M = index2; - } - - BRepBuilderAPI_MakeEdge ME(tab.Value(M),tab.Value(N)); - if (ME.IsDone()) { - builder.Add(Comp,ME.Edge()); - } - } - } - } - Handle (AIS_Shape) atriangulation = new AIS_Shape(Comp); - aContext->SetDisplayMode(atriangulation,0); - aContext->SetColor(atriangulation,Quantity_NOC_WHITE); - aContext->Display(atriangulation); - - - Message = "\ - \n\ -TopoDS_Shape theBox = BRepPrimAPI_MakeBox(200,60,60); \n\ -TopoDS_Shape theSphere = BRepPrimAPI_MakeSphere(gp_Pnt(100,20,20),80); \n\ -TopoDS_Shape ShapeFused = BRepAlgoAPI_Fuse(theSphere,theBox); \n\ -BRepMesh::Mesh(ShapeFused,1); \n\ - \n\ -BRep_Builder builder; \n\ -TopoDS_Compound Comp; \n\ -builder.MakeCompound(Comp); \n\ - \n\ -for (TopExp_Explorer ex(ShapeFused,TopAbs_FACE) ; ex.More(); ex.Next()) { \n\ - \n\ - TopoDS_Face F =TopoDS::Face(ex.Current()); \n\ - TopLoc_Location L; \n\ - Handle (Poly_Triangulation) facing = BRep_Tool::Triangulation(F,L); \n\ - TColgp_Array1OfPnt tab(1,(facing->NbNodes())); \n\ - tab = facing->Nodes(); \n\ - Poly_Array1OfTriangle tri(1,facing->NbTriangles()); \n\ - tri = facing->Triangles(); \n\ - \n\ - for (Standard_Integer i=1;i<=(facing->NbTriangles());i++) { \n\ - Poly_Triangle trian = tri.Value(i); \n\ - Standard_Integer index1,index2,index3,M,N; \n\ - trian.Get(index1,index2,index3); \n\ - \n\ - for (Standard_Integer j=1;j<=3;j++) { \n\ - switch (j) { \n\ - case 1 : \n\ - M = index1; \n\ - N = index2; \n\ - break; \n\ - case 2 : \n\ - N = index3; \n\ - break; \n\ - case 3 : \n\ - M = index2; \n\ - } \n\ - \n\ - BRepBuilderAPI_MakeEdge ME(tab.Value(M),tab.Value(N)); \n\ - if (ME.IsDone()) { \n\ - builder.Add(Comp,ME.Edge()); \n\ - } \n\ - } \n\ - } \n\ -} \n\ - \n\ -Warning : The visualisation of the mesh is not optimised.\n\ -The shared edges between triangles are dispayed twice.\n\ -The purpose here is only to show how to decode the data structure of triangulation.\n\ - \n"; -} - -//=============================================================== -// Function name: ClearMesh -//=============================================================== - void SamplesTopologyPackage::ClearMesh(const Handle(AIS_InteractiveContext)& aContext, - TCollection_AsciiString& Message) -{ - aContext->EraseAll(Standard_False); - - TopoDS_Shape theBox = BRepPrimAPI_MakeBox(200,60,60).Shape(); - TopoDS_Shape theSphere = BRepPrimAPI_MakeSphere(gp_Pnt(100,20,20),80).Shape(); - TopoDS_Shape ShapeFused = BRepAlgoAPI_Fuse(theSphere,theBox); - BRepMesh::Mesh(ShapeFused,1); - - - Handle (AIS_Shape) aSection = new AIS_Shape(ShapeFused); - aContext->SetDisplayMode(aSection,1); - aContext->SetColor(aSection,Quantity_NOC_RED); - aContext->SetMaterial(aSection,Graphic3d_NOM_GOLD); - aContext->Display(aSection); - - BRepTools::Clean(ShapeFused); - - TCollection_AsciiString test; - if (!BRepTools::Triangulation(ShapeFused,1)) { - test = "In fact the triangulation has been removed\n"; - } - - Message = "\ - \n\ -TopoDS_Shape theBox = BRepPrimAPI_MakeBox(200,60,60); \n\ -TopoDS_Shape theSphere = BRepPrimAPI_MakeSphere(gp_Pnt(100,20,20),80); \n\ -TopoDS_Shape ShapeFused = BRepAlgoAPI_Fuse(theSphere,theBox); \n\ -BRepMesh::Mesh(ShapeFused,1); \n\ - \n\ -BRepTools::Clean(ShapeFused); \n\ - \n\ -if (!BRepTools::Triangulation(ShapeFused,1)) { \n\ - TCollection_AsciiString test(); \n\ -} \n\ - \n\ - --- Result ---\n"; - - Message += test; - Message += "\ - \n\ - \n"; -} - diff --git a/samples/java/src/User/User_Cylinder.cxx b/samples/java/src/User/User_Cylinder.cxx deleted file mode 100755 index bb59718ba7..0000000000 --- a/samples/java/src/User/User_Cylinder.cxx +++ /dev/null @@ -1,97 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - - -User_Cylinder::User_Cylinder(const Standard_Real R,const Standard_Real H) -{ - BRepPrimAPI_MakeCylinder S(R,H); - myShape = S.Shape(); - SetHilightMode(0); - SetSelectionMode(0); - myDrawer->SetShadingAspect(new Prs3d_ShadingAspect()); - myPlanarFaceColor = Quantity_NOC_FIREBRICK3; - myCylindricalFaceColor = Quantity_NOC_AZURE; -} - - Standard_Integer User_Cylinder::NbPossibleSelection() -{ - return 2; -} - - void User_Cylinder::Compute(const Handle(PrsMgr_PresentationManager3d)& aPresentationManager, - const Handle(Prs3d_Presentation)& aPresentation, - const Standard_Integer aMode) -{ - switch (aMode) - { - case 0: - StdPrs_WFDeflectionShape::Add(aPresentation,myShape, myDrawer); - break; - case 1: - myDrawer->ShadingAspect()->SetMaterial(Graphic3d_NOM_PLASTIC); - myDrawer->SetShadingAspectGlobal(Standard_False); - TopExp_Explorer Ex; - Handle(Geom_Surface) Surface; - for (Ex.Init(myShape,TopAbs_FACE); Ex.More(); Ex.Next()) - { - Surface = BRep_Tool::Surface(TopoDS::Face(Ex.Current())); - if (Surface->IsKind(STANDARD_TYPE(Geom_Plane))) - myDrawer->ShadingAspect()->SetColor(myPlanarFaceColor); - else - myDrawer->ShadingAspect()->SetColor(myCylindricalFaceColor); - - StdPrs_ShadedShape::Add(aPresentation,Ex.Current(), myDrawer); - } - break; - } -} - - void User_Cylinder::Compute(const Handle(Prs3d_Projector)& aProjector, - const Handle(Prs3d_Presentation)& aPresentation) -{ - myDrawer->EnableDrawHiddenLine(); - StdPrs_HLRPolyShape::Add(aPresentation,myShape, myDrawer, aProjector); -} - - void User_Cylinder::ComputeSelection(const Handle(SelectMgr_Selection)& aSelection, - const Standard_Integer aMode) -{ - switch(aMode) - { - case 0: - StdSelect_BRepSelectionTool::Load(aSelection,this,myShape,TopAbs_SHAPE,0,0); - break; - case 4: - StdSelect_BRepSelectionTool::Load(aSelection,this,myShape,TopAbs_FACE,0,0); - break; - } -} - - void User_Cylinder::SetCylindricalFaceColor(const Quantity_NameOfColor aColor) -{ - myCylindricalFaceColor = aColor; -} - - void User_Cylinder::SetPlanarFaceColor(const Quantity_NameOfColor aColor) -{ - myPlanarFaceColor = aColor; -} - - Standard_Boolean User_Cylinder::AcceptShapeDecomposition() const -{ - return Standard_True; -} -