org.ogre4j
Class PlaneBoundedVolume

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

public class PlaneBoundedVolume
extends NativeObject
implements IPlaneBoundedVolume


Nested Class Summary
static class PlaneBoundedVolume.PlaneList
           
 
Nested classes/interfaces inherited from interface org.ogre4j.IPlaneBoundedVolume
IPlaneBoundedVolume.IPlaneList
 
Field Summary
 
Fields inherited from class org.xbig.base.NativeObject
deleted, object, remote
 
Constructor Summary
  PlaneBoundedVolume()
           
  PlaneBoundedVolume(InstancePointer p)
          This constructor is public for internal useage only!
protected PlaneBoundedVolume(InstancePointer p, boolean remote)
          Creates a Java wrapper object for an existing C++ object.
  PlaneBoundedVolume(Plane.Side theOutside)
          Constructor, determines which side is deemed to be 'outside'
  PlaneBoundedVolume(WithoutNativeObject val)
          Allows creation of Java objects without C++ objects.
 
Method Summary
 void delete()
          Deletes the corresponding C++ object.
 void finalize()
           
 Plane.Side getoutside()
           
 void getplanes(IPlaneBoundedVolume.IPlaneList returnValue)
           
 boolean intersects(IAxisAlignedBox box)
          Intersection test with AABB
 void intersects(Ipair<java.lang.Boolean,java.lang.Float> returnValue, IRay ray)
          Intersection test with a
 boolean intersects(ISphere sphere)
          Intersection test with
 void setoutside(Plane.Side _jni_value_)
           
 void setplanes(IPlaneBoundedVolume.IPlaneList _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

PlaneBoundedVolume

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


PlaneBoundedVolume

protected PlaneBoundedVolume(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.


PlaneBoundedVolume

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

See Also:
WithoutNativeObject, INativeObject.disconnectFromNativeObject()

PlaneBoundedVolume

public PlaneBoundedVolume()

PlaneBoundedVolume

public PlaneBoundedVolume(Plane.Side theOutside)
Constructor, determines which side is deemed to be 'outside'

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

intersects

public boolean intersects(IAxisAlignedBox box)
Intersection test with AABB

Specified by:
intersects in interface IPlaneBoundedVolume

intersects

public boolean intersects(ISphere sphere)
Intersection test with

Specified by:
intersects in interface IPlaneBoundedVolume

intersects

public void intersects(Ipair<java.lang.Boolean,java.lang.Float> returnValue,
                       IRay ray)
Intersection test with a

Specified by:
intersects in interface IPlaneBoundedVolume

getplanes

public void getplanes(IPlaneBoundedVolume.IPlaneList returnValue)
Specified by:
getplanes in interface IPlaneBoundedVolume

setplanes

public void setplanes(IPlaneBoundedVolume.IPlaneList _jni_value_)
Specified by:
setplanes in interface IPlaneBoundedVolume

getoutside

public Plane.Side getoutside()
Specified by:
getoutside in interface IPlaneBoundedVolume

setoutside

public void setoutside(Plane.Side _jni_value_)
Specified by:
setoutside in interface IPlaneBoundedVolume


Copyright © 2007 netAllied GmbH. All Rights Reserved.