org.ogre4j
Class EdgeData

java.lang.Object
  extended by org.xbig.base.NativeObject
      extended by org.ogre4j.EdgeData
All Implemented Interfaces:
IAllocatedObject<IGeometryAllocPolicy>, IEdgeData, IGeometryAllocatedObject, INativeObject

public class EdgeData
extends NativeObject
implements IEdgeData


Nested Class Summary
static class EdgeData.Edge
           
static class EdgeData.EdgeGroup
           
static class EdgeData.EdgeGroupList
           
static class EdgeData.EdgeList
           
static class EdgeData.Triangle
           
static class EdgeData.TriangleFaceNormalList
           
static class EdgeData.TriangleLightFacingList
           
static class EdgeData.TriangleList
           
 
Nested classes/interfaces inherited from interface org.ogre4j.IEdgeData
IEdgeData.IEdge, IEdgeData.IEdgeGroup, IEdgeData.IEdgeGroupList, IEdgeData.IEdgeList, IEdgeData.ITriangle, IEdgeData.ITriangleFaceNormalList, IEdgeData.ITriangleLightFacingList, IEdgeData.ITriangleList
 
Field Summary
 
Fields inherited from class org.xbig.base.NativeObject
deleted, object, remote
 
Constructor Summary
  EdgeData()
           
  EdgeData(InstancePointer p)
          This constructor is public for internal useage only!
protected EdgeData(InstancePointer p, boolean remote)
          Creates a Java wrapper object for an existing C++ object.
  EdgeData(WithoutNativeObject val)
          Allows creation of Java objects without C++ objects.
 
Method Summary
 void delete()
          Deletes the corresponding C++ object.
 void finalize()
           
 void getedgeGroups(IEdgeData.IEdgeGroupList returnValue)
           
 boolean getisClosed()
           
 void gettriangleFaceNormals(IEdgeData.ITriangleFaceNormalList returnValue)
           
 void gettriangleLightFacings(IEdgeData.ITriangleLightFacingList returnValue)
           
 void gettriangles(IEdgeData.ITriangleList returnValue)
           
 void log(ILog log)
           
 void setedgeGroups(IEdgeData.IEdgeGroupList _jni_value_)
           
 void setisClosed(boolean _jni_value_)
           
 void settriangleFaceNormals(IEdgeData.ITriangleFaceNormalList _jni_value_)
           
 void settriangleLightFacings(IEdgeData.ITriangleLightFacingList _jni_value_)
           
 void settriangles(IEdgeData.ITriangleList _jni_value_)
           
 void updateFaceNormals(int vertexSet, IHardwareVertexBufferSharedPtr positionBuffer)
          Updates the face normals for this edge list based on (changed) position information, useful for animated objects.
 void updateTriangleLightFacing(IVector4 lightPos)
          Calculate the light facing state of the triangles in this edge list
 
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

EdgeData

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


EdgeData

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


EdgeData

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

See Also:
WithoutNativeObject, INativeObject.disconnectFromNativeObject()

EdgeData

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

updateTriangleLightFacing

public void updateTriangleLightFacing(IVector4 lightPos)
Calculate the light facing state of the triangles in this edge list

Specified by:
updateTriangleLightFacing in interface IEdgeData

updateFaceNormals

public void updateFaceNormals(int vertexSet,
                              IHardwareVertexBufferSharedPtr positionBuffer)
Updates the face normals for this edge list based on (changed) position information, useful for animated objects.

Specified by:
updateFaceNormals in interface IEdgeData

log

public void log(ILog log)
Specified by:
log in interface IEdgeData

gettriangles

public void gettriangles(IEdgeData.ITriangleList returnValue)
Specified by:
gettriangles in interface IEdgeData

settriangles

public void settriangles(IEdgeData.ITriangleList _jni_value_)
Specified by:
settriangles in interface IEdgeData

gettriangleFaceNormals

public void gettriangleFaceNormals(IEdgeData.ITriangleFaceNormalList returnValue)
Specified by:
gettriangleFaceNormals in interface IEdgeData

settriangleFaceNormals

public void settriangleFaceNormals(IEdgeData.ITriangleFaceNormalList _jni_value_)
Specified by:
settriangleFaceNormals in interface IEdgeData

gettriangleLightFacings

public void gettriangleLightFacings(IEdgeData.ITriangleLightFacingList returnValue)
Specified by:
gettriangleLightFacings in interface IEdgeData

settriangleLightFacings

public void settriangleLightFacings(IEdgeData.ITriangleLightFacingList _jni_value_)
Specified by:
settriangleLightFacings in interface IEdgeData

getedgeGroups

public void getedgeGroups(IEdgeData.IEdgeGroupList returnValue)
Specified by:
getedgeGroups in interface IEdgeData

setedgeGroups

public void setedgeGroups(IEdgeData.IEdgeGroupList _jni_value_)
Specified by:
setedgeGroups in interface IEdgeData

getisClosed

public boolean getisClosed()
Specified by:
getisClosed in interface IEdgeData

setisClosed

public void setisClosed(boolean _jni_value_)
Specified by:
setisClosed in interface IEdgeData


Copyright © 2007 netAllied GmbH. All Rights Reserved.