public enum ColImportOption extends java.lang.Enum<ColImportOption>
| Enum Constant and Description |
|---|
GENERATE_NORMALS
Normals will be generated based on the given crease angle.
|
IGNORE_CAMERAS
No camera node will be created and added to the scene graph.
|
IGNORE_LIGHTS
No light node will be created and added to the scene graph.
|
MAP_WRITABLEIMAGE
The maps of a
PhongMaterial object will be of type WritableImage. |
NONE
No option is applied.
|
REVERSE_GEOMETRY
The winding of the triangles will be reversed (counterclockwise <-> clockwise).
|
REVERSE_TRANSPARENCY
The transparency value will be reversed: t = 1.0 - t.
|
| Modifier and Type | Method and Description |
|---|---|
static ColImportOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ColImportOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColImportOption NONE
public static final ColImportOption GENERATE_NORMALS
ColModelImporter.setCreaseAngle(double)public static final ColImportOption IGNORE_CAMERAS
Nevertheless, the camera library and instance elements (<library_cameras>, <instance_camera>)
will be read and Viewpoint objects will be created if camera instances are present.
ColModelImporter.getViewpoints(),
Viewpointpublic static final ColImportOption IGNORE_LIGHTS
<library_lights>, <instance_light>)
will be ignored.public static final ColImportOption REVERSE_GEOMETRY
public static final ColImportOption REVERSE_TRANSPARENCY
public static final ColImportOption MAP_WRITABLEIMAGE
PhongMaterial object will be of type WritableImage.public static ColImportOption[] values()
for (ColImportOption c : ColImportOption.values()) System.out.println(c);
public static ColImportOption valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright (C) 2013-2014 InteractiveMesh e.K.