Interface ElementPoints
- All Superinterfaces:
Element
,InteractionSource
- All Known Implementing Classes:
ElementPoints
Title: ElementPoints
Description: A 3D cloud of points.
- Version:
- March 2007
- Author:
- Francisco Esquembre
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.opensourcephysics.display3d.core.Element
Element.Loader
-
Field Summary
Fields inherited from interface org.opensourcephysics.display3d.core.Element
TARGET_POSITION, TARGET_SIZE
-
Method Summary
Methods inherited from interface org.opensourcephysics.display3d.core.Element
getDrawingPanel3D, getName, getSizeX, getSizeY, getSizeZ, getStyle, getTransformation, getX, getY, getZ, isVisible, loadUnmutableObjects, setName, setSizeX, setSizeXYZ, setSizeXYZ, setSizeY, setSizeZ, setTransformation, setVisible, setX, setXYZ, setXYZ, setY, setZ, toBodyFrame, toSpaceFrame
Methods inherited from interface org.opensourcephysics.display3d.core.interaction.InteractionSource
addInteractionListener, getInteractionTarget, removeInteractionListener
-
Method Details
-
setData
void setData(double[][] data) Sets the data for the coordinates of the points. Each entry in the data array corresponds to one point.- Parameters:
data
- double[][] the double[nPoints][3] array with the data
-
getData
double[][] getData()Gets the data of the coordinates of the points- Returns:
- double[][] the double[nPoints][3] array with the data
-