public static enum Viewer3D.ViewMode extends Enum<Viewer3D.ViewMode>
Enum Constant and Description |
---|
DEFAULT
No enforcement of view point: let the user freely turn around the
scene.
|
PERSPECTIVE
Enforce an 'overview (two-point perspective) view point of the scene.
|
SIDE
Enforce a lateral view point of the scene.
|
TOP
Enforce a top view point of the scene with disabled rotation.
|
Modifier and Type | Method and Description |
---|---|
static Viewer3D.ViewMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Viewer3D.ViewMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Viewer3D.ViewMode DEFAULT
public static final Viewer3D.ViewMode SIDE
public static final Viewer3D.ViewMode TOP
public static final Viewer3D.ViewMode PERSPECTIVE
public static Viewer3D.ViewMode[] values()
for (Viewer3D.ViewMode c : Viewer3D.ViewMode.values()) System.out.println(c);
public static Viewer3D.ViewMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018–2021 Morphonets. All rights reserved.