Integration of OCCT 6.5.0 from SVN
[occt.git] / samples / java / java / CASCADESamplesJni / PrsMgr_PresentableObject.java
1 // Java Native Class from Cas.Cade
2 //                     Copyright (C) 1991,1999 by
3 //  
4 //                      MATRA DATAVISION, FRANCE
5 //  
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.
11 //  
12 // At the termination of the contract, the software and all copies of this
13 // software must be deleted.
14 //
15
16
17 package CASCADESamplesJni;
18
19 import jcas.Object;
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;
27
28
29 public class PrsMgr_PresentableObject extends CASCADESamplesJni.MMgt_TShared {
30
31  static {
32     System.loadLibrary("CASCADESamplesJni");
33  }
34             
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);
39 }
40
41 private final native void PrsMgr_PresentableObject_SetToUpdate_1(int aMode);
42
43 final public void SetToUpdate() {
44     PrsMgr_PresentableObject_SetToUpdate_2();
45 }
46
47 private final native void PrsMgr_PresentableObject_SetToUpdate_2();
48
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();
56 }
57
58 private  native void PrsMgr_PresentableObject_UpdateLocation_1();
59
60  public void UpdateLocation(Prs3d_Presentation P) {
61     PrsMgr_PresentableObject_UpdateLocation_2(P);
62 }
63
64 private  native void PrsMgr_PresentableObject_UpdateLocation_2(Prs3d_Presentation P);
65
66 public PrsMgr_PresentableObject() {
67 }
68
69
70
71
72 }