org.ogre4j
Class ProgressiveMesh.PMVertex

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

protected static class ProgressiveMesh.PMVertex
extends NativeObject
implements IProgressiveMesh.IPMVertex


Nested Class Summary
static class ProgressiveMesh.PMVertex.DuplicateList
           
static class ProgressiveMesh.PMVertex.FaceList
           
static class ProgressiveMesh.PMVertex.NeighborList
           
 
Nested classes/interfaces inherited from interface org.ogre4j.IProgressiveMesh.IPMVertex
IProgressiveMesh.IPMVertex.IDuplicateList, IProgressiveMesh.IPMVertex.IFaceList, IProgressiveMesh.IPMVertex.INeighborList
 
Field Summary
 
Fields inherited from class org.xbig.base.NativeObject
deleted, object, remote
 
Constructor Summary
  ProgressiveMesh.PMVertex()
           
  ProgressiveMesh.PMVertex(InstancePointer p)
          This constructor is public for internal useage only!
protected ProgressiveMesh.PMVertex(InstancePointer p, boolean remote)
          Creates a Java wrapper object for an existing C++ object.
  ProgressiveMesh.PMVertex(WithoutNativeObject val)
          Allows creation of Java objects without C++ objects.
 
Method Summary
 void delete()
          Deletes the corresponding C++ object.
 void finalize()
           
 float getcollapseCost()
           
 IProgressiveMesh.IPMVertex getcollapseTo()
           
 void getface(IProgressiveMesh.IPMVertex.IFaceList returnValue)
           
 int getindex()
           
 void getneighbor(IProgressiveMesh.IPMVertex.INeighborList returnValue)
           
 void getposition(IVector3 returnValue)
           
 boolean getremoved()
           
 boolean getseam()
           
 boolean gettoBeRemoved()
           
 boolean isBorder()
           
 boolean isManifoldEdgeWith(IProgressiveMesh.IPMVertex v)
           
 void notifyRemoved()
           
 void removeIfNonNeighbor(IProgressiveMesh.IPMVertex n)
           
 void setcollapseCost(float _jni_value_)
           
 void setcollapseTo(IProgressiveMesh.IPMVertex _jni_value_)
           
 void setDetails(IVector3 v, int index)
           
 void setface(IProgressiveMesh.IPMVertex.IFaceList _jni_value_)
           
 void setindex(int _jni_value_)
           
 void setneighbor(IProgressiveMesh.IPMVertex.INeighborList _jni_value_)
           
 void setposition(IVector3 _jni_value_)
           
 void setremoved(boolean _jni_value_)
           
 void setseam(boolean _jni_value_)
           
 void settoBeRemoved(boolean _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.PMVertex

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


ProgressiveMesh.PMVertex

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

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

See Also:
WithoutNativeObject, INativeObject.disconnectFromNativeObject()

ProgressiveMesh.PMVertex

public ProgressiveMesh.PMVertex()
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(IVector3 v,
                       int index)
Specified by:
setDetails in interface IProgressiveMesh.IPMVertex

removeIfNonNeighbor

public void removeIfNonNeighbor(IProgressiveMesh.IPMVertex n)
Specified by:
removeIfNonNeighbor in interface IProgressiveMesh.IPMVertex

isBorder

public boolean isBorder()
Specified by:
isBorder in interface IProgressiveMesh.IPMVertex

isManifoldEdgeWith

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

notifyRemoved

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

getposition

public void getposition(IVector3 returnValue)
Specified by:
getposition in interface IProgressiveMesh.IPMVertex

setposition

public void setposition(IVector3 _jni_value_)
Specified by:
setposition in interface IProgressiveMesh.IPMVertex

getindex

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

setindex

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

getneighbor

public void getneighbor(IProgressiveMesh.IPMVertex.INeighborList returnValue)
Specified by:
getneighbor in interface IProgressiveMesh.IPMVertex

setneighbor

public void setneighbor(IProgressiveMesh.IPMVertex.INeighborList _jni_value_)
Specified by:
setneighbor in interface IProgressiveMesh.IPMVertex

getface

public void getface(IProgressiveMesh.IPMVertex.IFaceList returnValue)
Specified by:
getface in interface IProgressiveMesh.IPMVertex

setface

public void setface(IProgressiveMesh.IPMVertex.IFaceList _jni_value_)
Specified by:
setface in interface IProgressiveMesh.IPMVertex

getcollapseCost

public float getcollapseCost()
Specified by:
getcollapseCost in interface IProgressiveMesh.IPMVertex

setcollapseCost

public void setcollapseCost(float _jni_value_)
Specified by:
setcollapseCost in interface IProgressiveMesh.IPMVertex

getcollapseTo

public IProgressiveMesh.IPMVertex getcollapseTo()
Specified by:
getcollapseTo in interface IProgressiveMesh.IPMVertex

setcollapseTo

public void setcollapseTo(IProgressiveMesh.IPMVertex _jni_value_)
Specified by:
setcollapseTo in interface IProgressiveMesh.IPMVertex

getremoved

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

setremoved

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

gettoBeRemoved

public boolean gettoBeRemoved()
Specified by:
gettoBeRemoved in interface IProgressiveMesh.IPMVertex

settoBeRemoved

public void settoBeRemoved(boolean _jni_value_)
Specified by:
settoBeRemoved in interface IProgressiveMesh.IPMVertex

getseam

public boolean getseam()
Specified by:
getseam in interface IProgressiveMesh.IPMVertex

setseam

public void setseam(boolean _jni_value_)
Specified by:
setseam in interface IProgressiveMesh.IPMVertex


Copyright © 2007 netAllied GmbH. All Rights Reserved.