org.ogre4j
Class EdgeListBuilder

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

public class EdgeListBuilder
extends NativeObject
implements IEdgeListBuilder


Nested Class Summary
protected static class EdgeListBuilder.CommonVertex
           
protected static class EdgeListBuilder.CommonVertexList
           
protected static class EdgeListBuilder.CommonVertexMap
           
protected static class EdgeListBuilder.EdgeMap
           
protected static class EdgeListBuilder.Geometry
           
protected static class EdgeListBuilder.geometryLess
           
protected static class EdgeListBuilder.GeometryList
           
protected static class EdgeListBuilder.vectorLess
           
protected static class EdgeListBuilder.VertexDataList
           
 
Nested classes/interfaces inherited from interface org.ogre4j.IEdgeListBuilder
IEdgeListBuilder.ICommonVertex, IEdgeListBuilder.ICommonVertexList, IEdgeListBuilder.ICommonVertexMap, IEdgeListBuilder.IEdgeMap, IEdgeListBuilder.IGeometry, IEdgeListBuilder.IgeometryLess, IEdgeListBuilder.IGeometryList, IEdgeListBuilder.IvectorLess, IEdgeListBuilder.IVertexDataList
 
Field Summary
 
Fields inherited from class org.xbig.base.NativeObject
deleted, object, remote
 
Constructor Summary
  EdgeListBuilder()
           
  EdgeListBuilder(InstancePointer p)
          This constructor is public for internal useage only!
protected EdgeListBuilder(InstancePointer p, boolean remote)
          Creates a Java wrapper object for an existing C++ object.
  EdgeListBuilder(WithoutNativeObject val)
          Allows creation of Java objects without C++ objects.
 
Method Summary
 void addIndexData(IIndexData indexData, int vertexSet, RenderOperation.OperationType opType)
          Add a set of index geometry data to the edge builder.
 void addVertexData(IVertexData vertexData)
          Add a set of vertex geometry data to the edge builder.
 IEdgeData build()
          Builds the edge information based on the information built up so far.
 void delete()
          Deletes the corresponding C++ object.
 void finalize()
           
 void log(ILog l)
           
 
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

EdgeListBuilder

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


EdgeListBuilder

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


EdgeListBuilder

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

See Also:
WithoutNativeObject, INativeObject.disconnectFromNativeObject()

EdgeListBuilder

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

addVertexData

public void addVertexData(IVertexData vertexData)
Add a set of vertex geometry data to the edge builder.

Specified by:
addVertexData in interface IEdgeListBuilder

addIndexData

public void addIndexData(IIndexData indexData,
                         int vertexSet,
                         RenderOperation.OperationType opType)
Add a set of index geometry data to the edge builder.

Specified by:
addIndexData in interface IEdgeListBuilder

build

public IEdgeData build()
Builds the edge information based on the information built up so far.

Specified by:
build in interface IEdgeListBuilder

log

public void log(ILog l)
Specified by:
log in interface IEdgeListBuilder


Copyright © 2007 netAllied GmbH. All Rights Reserved.