Package heronarts.glx.ui.component
Class UIPointCloud
java.lang.Object
heronarts.glx.ui.UIEventHandler
heronarts.glx.ui.UIObject
heronarts.glx.ui.UI3dComponent
heronarts.glx.ui.component.UIPointCloud
- All Implemented Interfaces:
LXLoopTask
,LXSerializable
-
Nested Class Summary
Nested classes/interfaces inherited from interface heronarts.lx.LXSerializable
LXSerializable.Utils
-
Field Summary
Modifier and TypeFieldDescriptionfinal DiscreteParameter
final BoundedParameter
final BooleanParameter
final BoundedParameter
final UIPointCloud
final BoundedParameter
final BoundedParameter
final BoundedParameter
final BoundedParameter
final BooleanParameter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
boolean
isGlobal()
void
load
(LX lx, JsonObject object) Restores this instance from a JSON objectprotected void
onCameraChanged
(UI ui, UI3dContext context) Invoked when the camera position of the parent context has changedvoid
Subclasses should override this method with specific drawing routingsvoid
save
(LX lx, JsonObject object) Serializes this instance into the JSON objectsetAuxiliary
(boolean auxiliary) Methods inherited from class heronarts.glx.ui.UI3dComponent
addChild, contains, draw, getContext, getHeight, getWidth, removeChild
Methods inherited from class heronarts.glx.ui.UIObject
addListener, addListener, addLoopTask, blur, bringToFront, focus, getDescription, getFocusedChild, getLX, getParent, getUI, getX, getY, hasDirectFocus, hasFocus, isVisible, loop, onBlur, onFocus, onUIResize, removeLoopTask, requireUIThread, setConsumeMousePress, setDebugId, setDescription, setVisible, toggleVisible, toString
Methods inherited from class heronarts.glx.ui.UIEventHandler
onKeyPressed, onKeyReleased, onMouseDragged, onMouseMoved, onMouseOut, onMouseOver, onMousePressed, onMouseReleased, onMouseScroll
-
Field Details
-
pointSize
-
feather
-
sparkleAmount
-
sparkleCurve
-
sparkleRotate
-
contrast
-
alphaRef
-
depthTest
-
ledStyle
-
useCustomParams
-
global
-
-
Constructor Details
-
UIPointCloud
-
UIPointCloud
-
-
Method Details
-
isGlobal
public boolean isGlobal() -
setAuxiliary
-
dispose
public void dispose() -
onDraw
Description copied from class:UI3dComponent
Subclasses should override this method with specific drawing routings- Overrides:
onDraw
in classUI3dComponent
- Parameters:
ui
- UIview
- View to draw into
-
onCameraChanged
Description copied from class:UI3dComponent
Invoked when the camera position of the parent context has changed- Overrides:
onCameraChanged
in classUI3dComponent
- Parameters:
ui
- UIcontext
- Context being rendered into
-
save
Description copied from interface:LXSerializable
Serializes this instance into the JSON object- Specified by:
save
in interfaceLXSerializable
- Parameters:
lx
- LX instanceobject
- Object to serialize into
-
load
Description copied from interface:LXSerializable
Restores this instance from a JSON object- Specified by:
load
in interfaceLXSerializable
- Parameters:
lx
- LX instanceobject
- Object to deserialize
-