org.ogre4j
Class QueuedRenderableCollection

java.lang.Object
  extended by org.xbig.base.NativeObject
      extended by org.ogre4j.QueuedRenderableCollection
All Implemented Interfaces:
IAllocatedObject<ISceneCtlAllocPolicy>, IQueuedRenderableCollection, ISceneCtlAllocatedObject, INativeObject

public class QueuedRenderableCollection
extends NativeObject
implements IQueuedRenderableCollection


Nested Class Summary
protected static class QueuedRenderableCollection.DepthSortDescendingLess
           
static class QueuedRenderableCollection.OrganisationMode
           
protected static class QueuedRenderableCollection.PassGroupLess
           
protected static class QueuedRenderableCollection.PassGroupRenderableMap
           
protected static class QueuedRenderableCollection.RadixSortFunctorDistance
           
protected static class QueuedRenderableCollection.RadixSortFunctorPass
           
protected static class QueuedRenderableCollection.RenderableList
           
protected static class QueuedRenderableCollection.RenderablePassList
           
 
Nested classes/interfaces inherited from interface org.ogre4j.IQueuedRenderableCollection
IQueuedRenderableCollection.IDepthSortDescendingLess, IQueuedRenderableCollection.IPassGroupLess, IQueuedRenderableCollection.IPassGroupRenderableMap, IQueuedRenderableCollection.IRadixSortFunctorDistance, IQueuedRenderableCollection.IRadixSortFunctorPass, IQueuedRenderableCollection.IRenderableList, IQueuedRenderableCollection.IRenderablePassList
 
Field Summary
 
Fields inherited from class org.xbig.base.NativeObject
deleted, object, remote
 
Constructor Summary
  QueuedRenderableCollection()
           
  QueuedRenderableCollection(InstancePointer p)
          This constructor is public for internal useage only!
protected QueuedRenderableCollection(InstancePointer p, boolean remote)
          Creates a Java wrapper object for an existing C++ object.
  QueuedRenderableCollection(WithoutNativeObject val)
          Allows creation of Java objects without C++ objects.
 
Method Summary
 void acceptVisitor(IQueuedRenderableVisitor visitor, QueuedRenderableCollection.OrganisationMode om)
          Accept a visitor over the collection contents.
 void addOrganisationMode(QueuedRenderableCollection.OrganisationMode om)
          Add a required sorting / grouping mode to this collection when next used.
 void addRenderable(IPass pass, IRenderable rend)
           
 void clear()
           
 void delete()
          Deletes the corresponding C++ object.
 void finalize()
           
 void removePassGroup(IPass p)
          Remove the group entry (if any) for a given .
 void resetOrganisationModes()
          Reset the organisation modes required for this collection.
 void sort(ICamera cam)
          Perform any sorting that is required on this collection.
 
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

QueuedRenderableCollection

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


QueuedRenderableCollection

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


QueuedRenderableCollection

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

See Also:
WithoutNativeObject, INativeObject.disconnectFromNativeObject()

QueuedRenderableCollection

public QueuedRenderableCollection()
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

clear

public void clear()
Specified by:
clear in interface IQueuedRenderableCollection

removePassGroup

public void removePassGroup(IPass p)
Remove the group entry (if any) for a given .

Specified by:
removePassGroup in interface IQueuedRenderableCollection

resetOrganisationModes

public void resetOrganisationModes()
Reset the organisation modes required for this collection.

Specified by:
resetOrganisationModes in interface IQueuedRenderableCollection

addOrganisationMode

public void addOrganisationMode(QueuedRenderableCollection.OrganisationMode om)
Add a required sorting / grouping mode to this collection when next used.

Specified by:
addOrganisationMode in interface IQueuedRenderableCollection

addRenderable

public void addRenderable(IPass pass,
                          IRenderable rend)
Specified by:
addRenderable in interface IQueuedRenderableCollection

sort

public void sort(ICamera cam)
Perform any sorting that is required on this collection.

Specified by:
sort in interface IQueuedRenderableCollection

acceptVisitor

public void acceptVisitor(IQueuedRenderableVisitor visitor,
                          QueuedRenderableCollection.OrganisationMode om)
Accept a visitor over the collection contents.

Specified by:
acceptVisitor in interface IQueuedRenderableCollection


Copyright © 2007 netAllied GmbH. All Rights Reserved.