org.ogre4j
Class FocusedShadowCameraSetup.PointListBody

java.lang.Object
  extended by org.xbig.base.NativeObject
      extended by org.ogre4j.FocusedShadowCameraSetup.PointListBody
All Implemented Interfaces:
IFocusedShadowCameraSetup.IPointListBody, INativeObject
Enclosing class:
FocusedShadowCameraSetup

protected static class FocusedShadowCameraSetup.PointListBody
extends NativeObject
implements IFocusedShadowCameraSetup.IPointListBody


Field Summary
 
Fields inherited from class org.xbig.base.NativeObject
deleted, object, remote
 
Constructor Summary
  FocusedShadowCameraSetup.PointListBody()
           
  FocusedShadowCameraSetup.PointListBody(IConvexBody body)
           
  FocusedShadowCameraSetup.PointListBody(InstancePointer p)
          This constructor is public for internal useage only!
protected FocusedShadowCameraSetup.PointListBody(InstancePointer p, boolean remote)
          Creates a Java wrapper object for an existing C++ object.
  FocusedShadowCameraSetup.PointListBody(WithoutNativeObject val)
          Allows creation of Java objects without C++ objects.
 
Method Summary
 void addAAB(IAxisAlignedBox aab)
          Adds all points of an AAB.
 void addPoint(IVector3 point)
          Adds a specific point to the body list.
 void build(IConvexBody body, boolean filterDuplicates)
          Builds a point list body from a 'real' body.
 void buildAndIncludeDirection(IConvexBody body, IAxisAlignedBox aabMax, IVector3 dir)
          Builds a from a Body and includes all the space in a given direction.
 void delete()
          Deletes the corresponding C++ object.
 void finalize()
           
 IAxisAlignedBox getAAB()
          Returns the bounding box representation.
 IVector3 getPoint(int cnt)
          Returns a point.
 int getPointCount()
          Returns the point count.
 void merge(IFocusedShadowCameraSetup.IPointListBody plb)
          Merges a second into this one.
 void reset()
          Resets the body.
 
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

FocusedShadowCameraSetup.PointListBody

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


FocusedShadowCameraSetup.PointListBody

protected FocusedShadowCameraSetup.PointListBody(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.


FocusedShadowCameraSetup.PointListBody

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

See Also:
WithoutNativeObject, INativeObject.disconnectFromNativeObject()

FocusedShadowCameraSetup.PointListBody

public FocusedShadowCameraSetup.PointListBody()

FocusedShadowCameraSetup.PointListBody

public FocusedShadowCameraSetup.PointListBody(IConvexBody body)
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

merge

public void merge(IFocusedShadowCameraSetup.IPointListBody plb)
Merges a second into this one.

Specified by:
merge in interface IFocusedShadowCameraSetup.IPointListBody

build

public void build(IConvexBody body,
                  boolean filterDuplicates)
Builds a point list body from a 'real' body.

Specified by:
build in interface IFocusedShadowCameraSetup.IPointListBody

buildAndIncludeDirection

public void buildAndIncludeDirection(IConvexBody body,
                                     IAxisAlignedBox aabMax,
                                     IVector3 dir)
Builds a from a Body and includes all the space in a given direction.

Specified by:
buildAndIncludeDirection in interface IFocusedShadowCameraSetup.IPointListBody

getAAB

public IAxisAlignedBox getAAB()
Returns the bounding box representation.

Specified by:
getAAB in interface IFocusedShadowCameraSetup.IPointListBody

addPoint

public void addPoint(IVector3 point)
Adds a specific point to the body list.

Specified by:
addPoint in interface IFocusedShadowCameraSetup.IPointListBody

addAAB

public void addAAB(IAxisAlignedBox aab)
Adds all points of an AAB.

Specified by:
addAAB in interface IFocusedShadowCameraSetup.IPointListBody

getPoint

public IVector3 getPoint(int cnt)
Returns a point.

Specified by:
getPoint in interface IFocusedShadowCameraSetup.IPointListBody

getPointCount

public int getPointCount()
Returns the point count.

Specified by:
getPointCount in interface IFocusedShadowCameraSetup.IPointListBody

reset

public void reset()
Resets the body.

Specified by:
reset in interface IFocusedShadowCameraSetup.IPointListBody


Copyright © 2007 netAllied GmbH. All Rights Reserved.