Package com.openinventor.meshvizxlm.mesh
Enum Class StorageLayoutIJK
- All Implemented Interfaces:
Serializable
,Comparable<StorageLayoutIJK>
,Constable
Hint about data organization in memory for IJK volume mesh.
This information aims at optimizing the data traversal for extractors. Enum
values covering all possible cases for internal data layout in memory. For
instance KJI
means that:
- data (i+1,j,k) is consecutive in memory to the data (i,j,k) and,
- the row of data (j+1,k) is consecutive in memory to the row of data (j,k) and,
- the slice of data (k+1) is consecutive in memory to the slice of data (k)
The fastest way to go through the data with such layout is to perform the
following triple loop:
for each k with 0 <= k < numK
for each j with 0 <= j < numJ
for each i with 0 <= i < numI
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic StorageLayoutIJK
Returns the enum constant of this class with the specified name.static StorageLayoutIJK[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
IJK
-
IKJ
-
JKI
-
JIK
-
KJI
-
KIJ
-
UNKNOWN
Means that the data storage organization is unknown, for instance when data are computed on the fly. In that case, extractors perform the data traversal in the way that minimizes the required memory for their algorithms.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-