public class InteractionSettings extends SettingsBase
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_ALIGN_DRAGGERS_TO_POINTS |
static boolean |
DEFAULT_ARTICULATED_TRANSFORMS |
static double |
DEFAULT_FRAME_RATE |
static boolean |
DEFAULT_INIT_DRAGGERS_IN_WORLD |
static boolean |
DEFAULT_NAVIGATION_PANEL_LINES |
static double |
DEFAULT_REAL_TIME_SCALING |
static PropertyList |
myProps |
Constructor and Description |
---|
InteractionSettings(Main main) |
Modifier and Type | Method and Description |
---|---|
boolean |
getAlignDraggersToPoints() |
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
boolean |
getArticulatedTransforms() |
double |
getFrameRate() |
boolean |
getInitDraggersInWorld() |
boolean |
getNavigationPanelLines() |
Property |
getProperty(java.lang.String name)
Returns a property associated with a specified path name.
|
double |
getRealTimeScaling() |
void |
setAlignDraggersToPoints(boolean enable) |
void |
setArticulatedTransforms(boolean enable) |
void |
setFrameRate(double rate) |
void |
setInitDraggersInWorld(boolean enable) |
void |
setNavigationPanelLines(boolean enabled) |
void |
setRealTimeScaling(double s) |
createDialog, getDialog, getPreferences, setPreferences
public static final double DEFAULT_FRAME_RATE
public static final boolean DEFAULT_ARTICULATED_TRANSFORMS
public static final boolean DEFAULT_INIT_DRAGGERS_IN_WORLD
public static final boolean DEFAULT_ALIGN_DRAGGERS_TO_POINTS
public static final double DEFAULT_REAL_TIME_SCALING
public static final boolean DEFAULT_NAVIGATION_PANEL_LINES
public static PropertyList myProps
public InteractionSettings(Main main)
public PropertyList getAllPropertyInfo()
HasProperties
public Property getProperty(java.lang.String name)
.
' characters. A sub-property
exists if the value of a property is itself an object which exports
properties. It is only possible to obtain a sub-property handle if each of
its ancestor properties exports their values by reference.getProperty
in interface HasProperties
getProperty
in class SettingsBase
name
- name of the desired property or sub-propertypublic boolean getArticulatedTransforms()
public void setArticulatedTransforms(boolean enable)
public double getFrameRate()
public void setFrameRate(double rate)
public boolean getInitDraggersInWorld()
public void setInitDraggersInWorld(boolean enable)
public boolean getAlignDraggersToPoints()
public void setAlignDraggersToPoints(boolean enable)
public double getRealTimeScaling()
public void setRealTimeScaling(double s)
public boolean getNavigationPanelLines()
public void setNavigationPanelLines(boolean enabled)