org.ogre4j
Enum ProgressiveMesh.VertexReductionQuota

java.lang.Object
  extended by java.lang.Enum<ProgressiveMesh.VertexReductionQuota>
      extended by org.ogre4j.ProgressiveMesh.VertexReductionQuota
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ProgressiveMesh.VertexReductionQuota>, INativeEnum<ProgressiveMesh.VertexReductionQuota>
Enclosing class:
ProgressiveMesh

public static enum ProgressiveMesh.VertexReductionQuota
extends java.lang.Enum<ProgressiveMesh.VertexReductionQuota>
implements INativeEnum<ProgressiveMesh.VertexReductionQuota>


Enum Constant Summary
VRQ_CONSTANT
           
VRQ_PROPORTIONAL
           
 
Method Summary
 ProgressiveMesh.VertexReductionQuota getEnum(int val)
          Returns the enumeration value for the passed integer.
 int getValue()
          Returns the integer value of this enumeration value.
static ProgressiveMesh.VertexReductionQuota toEnum(int retval)
           
static ProgressiveMesh.VertexReductionQuota valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ProgressiveMesh.VertexReductionQuota[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

VRQ_CONSTANT

public static final ProgressiveMesh.VertexReductionQuota VRQ_CONSTANT

VRQ_PROPORTIONAL

public static final ProgressiveMesh.VertexReductionQuota VRQ_PROPORTIONAL
Method Detail

values

public static ProgressiveMesh.VertexReductionQuota[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ProgressiveMesh.VertexReductionQuota c : ProgressiveMesh.VertexReductionQuota.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ProgressiveMesh.VertexReductionQuota valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getValue

public int getValue()
Description copied from interface: INativeEnum
Returns the integer value of this enumeration value.

Specified by:
getValue in interface INativeEnum<ProgressiveMesh.VertexReductionQuota>

getEnum

public ProgressiveMesh.VertexReductionQuota getEnum(int val)
Description copied from interface: INativeEnum
Returns the enumeration value for the passed integer.

Specified by:
getEnum in interface INativeEnum<ProgressiveMesh.VertexReductionQuota>

toEnum

public static final ProgressiveMesh.VertexReductionQuota toEnum(int retval)


Copyright © 2007 netAllied GmbH. All Rights Reserved.