1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00

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,58 @@
//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));
}
}

View File

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

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 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;
}

View File

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

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 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;
}

View File

@@ -0,0 +1,34 @@
// 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() {
}
}

View File

@@ -0,0 +1,588 @@
// 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() {
}
}

View File

@@ -0,0 +1,150 @@
// 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() {
}
}

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 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;
}

View File

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

View File

@@ -0,0 +1,161 @@
// 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() {
}
}

View File

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

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 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;
}

View File

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

View File

@@ -0,0 +1,34 @@
// 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() {
}
}

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 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;
}
}
}

View File

@@ -0,0 +1,47 @@
// 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() {
}
}

View File

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

View File

@@ -0,0 +1,124 @@
// 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() {
}
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,34 @@
// 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() {
}
}

View File

@@ -0,0 +1,34 @@
// 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() {
}
}

View File

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

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 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;
}

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,34 @@
// 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() {
}
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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 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;
}

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 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;
}

View File

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

View File

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

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 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;
}

View File

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

View File

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

View File

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

View File

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

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 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;
}

View File

@@ -0,0 +1,134 @@
// 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() {
}
}

View File

@@ -0,0 +1,85 @@
// 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() {
}
}

View File

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

View File

@@ -0,0 +1,34 @@
// 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() {
}
}

View File

@@ -0,0 +1,34 @@
// 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() {
}
}

View File

@@ -0,0 +1,34 @@
// 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() {
}
}

View File

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

View File

@@ -0,0 +1,34 @@
// 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() {
}
}

View File

@@ -0,0 +1,34 @@
// 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() {
}
}

View File

@@ -0,0 +1,34 @@
// 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() {
}
}

View File

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

View File

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

View File

@@ -0,0 +1,34 @@
// 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() {
}
}

View File

@@ -0,0 +1,34 @@
// 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() {
}
}

View File

@@ -0,0 +1,34 @@
// 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() {
}
}

View File

@@ -0,0 +1,34 @@
// 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() {
}
}

View File

@@ -0,0 +1,34 @@
// 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() {
}
}

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,34 @@
// 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() {
}
}

View File

@@ -0,0 +1,34 @@
// 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() {
}
}

View File

@@ -0,0 +1,34 @@
// 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() {
}
}

View File

@@ -0,0 +1,34 @@
// 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() {
}
}

View File

@@ -0,0 +1,34 @@
// 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() {
}
}

View File

@@ -0,0 +1,34 @@
// 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() {
}
}

View File

@@ -0,0 +1,72 @@
// 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() {
}
}

View File

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

View File

@@ -0,0 +1,34 @@
// 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() {
}
}

View File

@@ -0,0 +1,34 @@
// 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() {
}
}

View File

@@ -0,0 +1,34 @@
// 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() {
}
}

View File

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

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 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;
}

View File

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

View File

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

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 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;
}

View File

@@ -0,0 +1,34 @@
// 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() {
}
}

View File

@@ -0,0 +1,34 @@
// 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() {
}
}

View File

@@ -0,0 +1,34 @@
// 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() {
}
}

View File

@@ -0,0 +1,34 @@
// 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() {
}
}

View File

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

View File

@@ -0,0 +1,72 @@
// 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() {
}
}

View File

@@ -0,0 +1,34 @@
// 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() {
}
}

View File

@@ -0,0 +1,34 @@
// 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() {
}
}

View File

@@ -0,0 +1,34 @@
// 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() {
}
}

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 CASCADESamplesJni;
import jcas.Object;
public class Standard_Storable extends jcas.Object {
static {
System.loadLibrary("CASCADESamplesJni");
}
}

View File

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

View File

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

Some files were not shown because too many files have changed in this diff Show More