org.ogre4j
Class ViewPoint

java.lang.Object
  extended by org.xbig.base.NativeObject
      extended by org.ogre4j.ViewPoint
All Implemented Interfaces:
IViewPoint, INativeObject

public class ViewPoint
extends NativeObject
implements IViewPoint


Field Summary
 
Fields inherited from class org.xbig.base.NativeObject
deleted, object, remote
 
Constructor Summary
  ViewPoint()
           
  ViewPoint(InstancePointer p)
          This constructor is public for internal useage only!
protected ViewPoint(InstancePointer p, boolean remote)
          Creates a Java wrapper object for an existing C++ object.
  ViewPoint(WithoutNativeObject val)
          Allows creation of Java objects without C++ objects.
 
Method Summary
 void delete()
          Deletes the corresponding C++ object.
 void finalize()
           
 void getorientation(IQuaternion returnValue)
           
 void getposition(IVector3 returnValue)
           
 void setorientation(IQuaternion _jni_value_)
           
 void setposition(IVector3 _jni_value_)
           
 
Methods inherited from class org.xbig.base.NativeObject
disconnectFromNativeObject, equals, getInstancePointer, hashCode, setInstancePointer, setInstancePointer, setInstancePointer, toString
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.xbig.base.INativeObject
disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Constructor Detail

ViewPoint

public ViewPoint(InstancePointer p)
This constructor is public for internal useage only! Do not use it!


ViewPoint

protected ViewPoint(InstancePointer p,
                    boolean remote)
Creates a Java wrapper object for an existing C++ object. If remote is set to 'true' this object cannot be deleted in Java.


ViewPoint

public ViewPoint(WithoutNativeObject val)
Allows creation of Java objects without C++ objects.

See Also:
WithoutNativeObject, INativeObject.disconnectFromNativeObject()

ViewPoint

public ViewPoint()
Method Detail

delete

public void delete()
Description copied from interface: INativeObject
Deletes the corresponding C++ object.

Subclasses must implement this but if the native instance was created by the underlying library the native call to dispose must not happen!

Specified by:
delete in interface INativeObject
Specified by:
delete in class NativeObject
See Also:
#remote

finalize

public void finalize()
Overrides:
finalize in class NativeObject

getposition

public void getposition(IVector3 returnValue)
Specified by:
getposition in interface IViewPoint

setposition

public void setposition(IVector3 _jni_value_)
Specified by:
setposition in interface IViewPoint

getorientation

public void getorientation(IQuaternion returnValue)
Specified by:
getorientation in interface IViewPoint

setorientation

public void setorientation(IQuaternion _jni_value_)
Specified by:
setorientation in interface IViewPoint


Copyright © 2007 netAllied GmbH. All Rights Reserved.