crystalspace.jbind.impl.engine.halo
Class csNovaHalo

java.lang.Object
  extended bycrystalspace.jbind.impl.csNativeObject
      extended bycrystalspace.jbind.impl.csutil.scf.csBase
          extended bycrystalspace.jbind.impl.engine.halo.csNovaHalo
All Implemented Interfaces:
iBase, iNovaHalo, iPointer

public class csNovaHalo
extends csBase
implements iNovaHalo

Author:
Quentin Anciaux

Field Summary
 
Fields inherited from class crystalspace.jbind.impl.csNativeObject
ImplFactory, nPointer
 
Constructor Summary
csNovaHalo(iPointer nPointer)
           
 
Method Summary
 java.lang.String getName()
          Return the name of the interface
 int getRandomSeed()
          Get random seed.
 float getRoundnessFactor()
          Get the roundness factor.
 int getSpokeCount()
          Get the number of halo spokes.
 int getVersion()
          Return the version of the interface
protected  boolean isNativePointerValidSafe(long pointer)
           
 void setRandomSeed(int s)
          Set random seed for generating the halo.
 void setRoundnessFactor(float r)
          Set the roundness factor.
 void setSpokeCount(int s)
          Set the number of halo spokes.
 
Methods inherited from class crystalspace.jbind.impl.csutil.scf.csBase
decRef, equals, finalize, getRefCount, incRef, nDelete, queryInterface, queryInterfaceSafe
 
Methods inherited from class crystalspace.jbind.impl.csNativeObject
changePointer, getPointer, getPointer, getPointerArray, hashCode, isMemoryOwner, isNativePointerValid, newNativeObject, setMemoryOwner, toString
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase
decRef, getRefCount, incRef, queryInterface, queryInterfaceSafe
 
Methods inherited from interface crystalspace.jbind.interfaces.iPointer
changePointer, getPointer, isMemoryOwner, setMemoryOwner
 

Constructor Detail

csNovaHalo

public csNovaHalo(iPointer nPointer)
Parameters:
nPointer -
Method Detail

getVersion

public int getVersion()
Description copied from interface: iBase
Return the version of the interface

Specified by:
getVersion in interface iBase
Specified by:
getVersion in class csBase
See Also:
iBase.getVersion()

getName

public java.lang.String getName()
Description copied from interface: iBase
Return the name of the interface

Specified by:
getName in interface iBase
Specified by:
getName in class csBase
See Also:
iBase.getName()

isNativePointerValidSafe

protected boolean isNativePointerValidSafe(long pointer)
Specified by:
isNativePointerValidSafe in class csNativeObject
See Also:
csNativeObject.isNativePointerValidSafe(long)

setRandomSeed

public void setRandomSeed(int s)
Description copied from interface: iNovaHalo
Set random seed for generating the halo.

Specified by:
setRandomSeed in interface iNovaHalo
Parameters:
s -
See Also:
iNovaHalo.setRandomSeed(int)

getRandomSeed

public int getRandomSeed()
Description copied from interface: iNovaHalo
Get random seed.

Specified by:
getRandomSeed in interface iNovaHalo
Returns:
See Also:
iNovaHalo.getRandomSeed()

setSpokeCount

public void setSpokeCount(int s)
Description copied from interface: iNovaHalo
Set the number of halo spokes.

Specified by:
setSpokeCount in interface iNovaHalo
Parameters:
s -
See Also:
iNovaHalo.setSpokeCount(int)

getSpokeCount

public int getSpokeCount()
Description copied from interface: iNovaHalo
Get the number of halo spokes.

Specified by:
getSpokeCount in interface iNovaHalo
Returns:
See Also:
iNovaHalo.getSpokeCount()

setRoundnessFactor

public void setRoundnessFactor(float r)
Description copied from interface: iNovaHalo
Set the roundness factor.

Specified by:
setRoundnessFactor in interface iNovaHalo
Parameters:
r -
See Also:
iNovaHalo.setRoundnessFactor(float)

getRoundnessFactor

public float getRoundnessFactor()
Description copied from interface: iNovaHalo
Get the roundness factor.

Specified by:
getRoundnessFactor in interface iNovaHalo
Returns:
See Also:
iNovaHalo.getRoundnessFactor()