org.ogre4j
Class ProgressiveMesh.PMTriangle

java.lang.Object
  extended by org.xbig.base.NativeObject
      extended by org.ogre4j.ProgressiveMesh.PMTriangle
All Implemented Interfaces:
IProgressiveMesh.IPMTriangle, INativeObject
Enclosing class:
ProgressiveMesh

protected static class ProgressiveMesh.PMTriangle
extends NativeObject
implements IProgressiveMesh.IPMTriangle


Field Summary
 
Fields inherited from class org.xbig.base.NativeObject
deleted, object, remote
 
Constructor Summary
  ProgressiveMesh.PMTriangle()
           
  ProgressiveMesh.PMTriangle(InstancePointer p)
          This constructor is public for internal useage only!
protected ProgressiveMesh.PMTriangle(InstancePointer p, boolean remote)
          Creates a Java wrapper object for an existing C++ object.
  ProgressiveMesh.PMTriangle(WithoutNativeObject val)
          Allows creation of Java objects without C++ objects.
 
Method Summary
 void computeNormal()
           
 void delete()
          Deletes the corresponding C++ object.
 void finalize()
           
 IProgressiveMesh.IPMFaceVertex getFaceVertexFromCommon(IProgressiveMesh.IPMVertex commonVert)
           
 int getindex()
           
 void getnormal(IVector3 returnValue)
           
 boolean getremoved()
           
 IProgressiveMesh.IPMFaceVertex getvertex()
           
 boolean hasCommonVertex(IProgressiveMesh.IPMVertex v)
           
 boolean hasFaceVertex(IProgressiveMesh.IPMFaceVertex v)
           
 void notifyRemoved()
           
 void replaceVertex(IProgressiveMesh.IPMFaceVertex vold, IProgressiveMesh.IPMFaceVertex vnew)
           
 void setDetails(int index, IProgressiveMesh.IPMFaceVertex v0, IProgressiveMesh.IPMFaceVertex v1, IProgressiveMesh.IPMFaceVertex v2)
           
 void setindex(int _jni_value_)
           
 void setnormal(IVector3 _jni_value_)
           
 void setremoved(boolean _jni_value_)
           
 void setvertex(IProgressiveMesh.IPMFaceVertex _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

ProgressiveMesh.PMTriangle

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


ProgressiveMesh.PMTriangle

protected ProgressiveMesh.PMTriangle(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.


ProgressiveMesh.PMTriangle

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

See Also:
WithoutNativeObject, INativeObject.disconnectFromNativeObject()

ProgressiveMesh.PMTriangle

public ProgressiveMesh.PMTriangle()
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

setDetails

public void setDetails(int index,
                       IProgressiveMesh.IPMFaceVertex v0,
                       IProgressiveMesh.IPMFaceVertex v1,
                       IProgressiveMesh.IPMFaceVertex v2)
Specified by:
setDetails in interface IProgressiveMesh.IPMTriangle

computeNormal

public void computeNormal()
Specified by:
computeNormal in interface IProgressiveMesh.IPMTriangle

replaceVertex

public void replaceVertex(IProgressiveMesh.IPMFaceVertex vold,
                          IProgressiveMesh.IPMFaceVertex vnew)
Specified by:
replaceVertex in interface IProgressiveMesh.IPMTriangle

hasCommonVertex

public boolean hasCommonVertex(IProgressiveMesh.IPMVertex v)
Specified by:
hasCommonVertex in interface IProgressiveMesh.IPMTriangle

hasFaceVertex

public boolean hasFaceVertex(IProgressiveMesh.IPMFaceVertex v)
Specified by:
hasFaceVertex in interface IProgressiveMesh.IPMTriangle

getFaceVertexFromCommon

public IProgressiveMesh.IPMFaceVertex getFaceVertexFromCommon(IProgressiveMesh.IPMVertex commonVert)
Specified by:
getFaceVertexFromCommon in interface IProgressiveMesh.IPMTriangle

notifyRemoved

public void notifyRemoved()
Specified by:
notifyRemoved in interface IProgressiveMesh.IPMTriangle

getvertex

public IProgressiveMesh.IPMFaceVertex getvertex()
Specified by:
getvertex in interface IProgressiveMesh.IPMTriangle

setvertex

public void setvertex(IProgressiveMesh.IPMFaceVertex _jni_value_)
Specified by:
setvertex in interface IProgressiveMesh.IPMTriangle

getnormal

public void getnormal(IVector3 returnValue)
Specified by:
getnormal in interface IProgressiveMesh.IPMTriangle

setnormal

public void setnormal(IVector3 _jni_value_)
Specified by:
setnormal in interface IProgressiveMesh.IPMTriangle

getremoved

public boolean getremoved()
Specified by:
getremoved in interface IProgressiveMesh.IPMTriangle

setremoved

public void setremoved(boolean _jni_value_)
Specified by:
setremoved in interface IProgressiveMesh.IPMTriangle

getindex

public int getindex()
Specified by:
getindex in interface IProgressiveMesh.IPMTriangle

setindex

public void setindex(int _jni_value_)
Specified by:
setindex in interface IProgressiveMesh.IPMTriangle


Copyright © 2007 netAllied GmbH. All Rights Reserved.