public class ClientRendererJ3D extends DefaultRendererJ3D
enabled, pickCrawlToCursor
Constructor and Description |
---|
ClientRendererJ3D() |
ClientRendererJ3D(long to) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
DataShadow |
computeRanges(Data data,
ShadowType type,
DataShadow shadow)
Compute ranges of values for each RealType in
DisplayImpl.RealTypeVector.
|
Node |
convertSceneGraph(VisADSceneGraphObject scene) |
BranchGroup |
doTransform()
create a scene graph for Data in links[0]
|
static void |
main(String[] args) |
DataShadow |
prepareAction(boolean go,
boolean initialize,
DataShadow shadow)
check if re-transform is needed; if initialize is true then
compute ranges for RealTypes and Animation sampling
|
void |
setResolutions(int[] rs) |
void |
setSpatialValues(float[][] spatial_values)
set spatial values for Data depiction; used to detect when
direct manipulation mouse selects a point of a Data depiction
|
addSwitch, clearScene, getLink, setLinks
clearBranch, doAction, flush, getBranch, makeShadowFunctionType, makeShadowRealTupleType, makeShadowRealType, makeShadowSetType, makeShadowTextType, makeShadowTupleType, setBranchEarly, toggle
addException, addPoint, checkAction, checkClose, checkDirect, clearAVControls, clearExceptions, constrainDragPoint, drag_direct, earthToSpatial, earthToSpatial, findRayManifoldIntersection, get_all_feasible, get_any_changed, get_any_transform_control, getBadScale, getDisplay, getDisplayCoordinateSystem, getDisplayRenderer, getEarthDimension, getEarthUnits, getEnabled, getExceptionVector, getIsDirectManipulation, getLastMouseModifiers, getLatLonIndices, getLatLonRange, getLinks, getPickCrawlToCursor, getPolygonOffset, getPolygonOffsetFactor, getProjectionControlListeners, getRanges, getRealVectorTypes, getWhyNotDirect, hasPolygonOffset, isLegalTextureMap, isTransformControl, realCheckDirect, release_direct, removeLink, set_all_feasible, setDisplay, setDisplayRenderer, setEarthSpatialData, setEarthSpatialDisplay, setHasPolygonOffset, setIsDirectManipulation, setLastMouseModifiers, setLatLonIndices, setLinks, setPickCrawlToCursor, setPolygonOffset, setPolygonOffsetFactor, spatialToEarth, spatialToEarth, stop_direct, suppressExceptions
public ClientRendererJ3D()
public ClientRendererJ3D(long to)
public void setResolutions(int[] rs)
public DataShadow prepareAction(boolean go, boolean initialize, DataShadow shadow) throws VisADException, RemoteException
DataRenderer
prepareAction
in class DataRenderer
go
- flag indicating that re-transform is required for
at least one DataRenderer linked to DisplayImplinitialize
- flag indicating that initialization (i.e.,
auto-scaling) is requiredshadow
- DataShadow shared by prepareAction() method of
all DataRenderers linked to DisplayImplVisADException
- a VisAD error occurredRemoteException
- an RMI error occurredpublic BranchGroup doTransform() throws VisADException, RemoteException
doTransform
in class DefaultRendererJ3D
VisADException
RemoteException
public void setSpatialValues(float[][] spatial_values)
DataRenderer
setSpatialValues
in class DataRenderer
spatial_values
- float[3][number_of_points] of 3-D locations
of depiction pointspublic Node convertSceneGraph(VisADSceneGraphObject scene) throws VisADException
VisADException
public DataShadow computeRanges(Data data, ShadowType type, DataShadow shadow) throws VisADException, RemoteException
DataRenderer
computeRanges
in class DataRenderer
data
- Data object in which to compute ranges of RealType valuestype
- ShadowType generated for MathType of datashadow
- DataShadow instance whose contained double[][]
array and animation sampling Set are modified
according to RealType values in data, and used
as return valueVisADException
- a VisAD error occurredRemoteException
- an RMI error occurredpublic Object clone()
clone
in class DefaultRendererJ3D
public static void main(String[] args) throws VisADException, RemoteException
VisADException
RemoteException
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.