Integration of OCCT 6.5.0 from SVN

This commit is contained in:
bugmaster
2011-03-16 07:30:28 +00:00
committed by bugmaster
parent 4903637061
commit 7fd59977df
16375 changed files with 3882564 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
// 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;
}

View File

@@ -0,0 +1,27 @@
// 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;
}

View File

@@ -0,0 +1,33 @@
// 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;
}

View File

@@ -0,0 +1,53 @@
// 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);
}