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 CASCADESamplesJni.PrsMgr_TypeOfPresentation3d;
21 import jcas.Standard_Short;
22 import jcas.Standard_Integer;
23 import CASCADESamplesJni.TColStd_ListOfInteger;
24 import CASCADESamplesJni.TopLoc_Location;
25 import jcas.Standard_Boolean;
26 import CASCADESamplesJni.Prs3d_Presentation;
29 public class PrsMgr_PresentableObject extends CASCADESamplesJni.MMgt_TShared {
32 System.loadLibrary("CASCADESamplesJni");
35 native public final short TypeOfPresentation3d();
36 native public final void SetTypeOfPresentation(short aType);
37 final public void SetToUpdate(int aMode) {
38 PrsMgr_PresentableObject_SetToUpdate_1(aMode);
41 private final native void PrsMgr_PresentableObject_SetToUpdate_1(int aMode);
43 final public void SetToUpdate() {
44 PrsMgr_PresentableObject_SetToUpdate_2();
47 private final native void PrsMgr_PresentableObject_SetToUpdate_2();
49 native public final void ToBeUpdated(TColStd_ListOfInteger ListOfMode);
50 native public void SetLocation(TopLoc_Location aLoc);
51 native public final boolean HasLocation();
52 native public final TopLoc_Location Location();
53 native public void ResetLocation();
54 public void UpdateLocation() {
55 PrsMgr_PresentableObject_UpdateLocation_1();
58 private native void PrsMgr_PresentableObject_UpdateLocation_1();
60 public void UpdateLocation(Prs3d_Presentation P) {
61 PrsMgr_PresentableObject_UpdateLocation_2(P);
64 private native void PrsMgr_PresentableObject_UpdateLocation_2(Prs3d_Presentation P);
66 public PrsMgr_PresentableObject() {