1 // Java Native Class from Cas.Cade
2 // Copyright (C) 1991,1999 by
4 // MATRA DATAVISION, FRANCE
6 // This software is furnished in accordance with the terms and conditions
7 // of the contract and with the inclusion of the above copyright notice.
8 // This software or any other copy thereof may not be provided or otherwise
9 // be made available to any other person. No title to an ownership of the
10 // software is hereby transferred.
12 // At the termination of the contract, the software and all copies of this
13 // software must be deleted.
17 package CASCADESamplesJni;
20 import jcas.Standard_Integer;
21 import CASCADESamplesJni.SelectMgr_Selection;
22 import jcas.Standard_Boolean;
23 import CASCADESamplesJni.Prs3d_Presentation;
26 public class SelectMgr_SelectableObject extends CASCADESamplesJni.PrsMgr_PresentableObject {
29 System.loadLibrary("CASCADESamplesJni");
32 native public int NbPossibleSelection();
33 final public void UpdateSelection() {
34 SelectMgr_SelectableObject_UpdateSelection_1();
37 private final native void SelectMgr_SelectableObject_UpdateSelection_1();
39 final public void UpdateSelection(int aMode) {
40 SelectMgr_SelectableObject_UpdateSelection_2(aMode);
43 private final native void SelectMgr_SelectableObject_UpdateSelection_2(int aMode);
45 native public final void AddSelection(SelectMgr_Selection aSelection,int aMode);
46 native public final void ClearSelections();
47 native public final SelectMgr_Selection Selection(int aMode);
48 native public final boolean HasSelection(int aMode);
49 native public final void Init();
50 native public final boolean More();
51 native public final void Next();
52 native public final SelectMgr_Selection CurrentSelection();
53 native public final void ResetLocation();
54 public void UpdateLocation() {
55 SelectMgr_SelectableObject_UpdateLocation_1();
58 private native void SelectMgr_SelectableObject_UpdateLocation_1();
60 public void UpdateLocation(Prs3d_Presentation P) {
61 SelectMgr_SelectableObject_UpdateLocation_2(P);
64 private native void SelectMgr_SelectableObject_UpdateLocation_2(Prs3d_Presentation P);
66 public SelectMgr_SelectableObject() {