public class TextureFillRendererJ3D extends DefaultRendererJ3D
enabled, pickCrawlToCursor| Constructor and Description |
|---|
TextureFillRendererJ3D() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
BranchGroup |
doTransform()
create a BranchGroup scene graph for Data in links[0]
|
float |
getScale() |
boolean |
getSmooth() |
int[] |
getTexture() |
int |
getTextureHeight() |
int |
getTextureWidth() |
static boolean |
isRendererUsable(MathType type,
ScalarMap[] maps)
determine whether the given MathType and collection of ScalarMaps
meets the criteria to use TextureFillRendererJ3D.
|
static boolean |
isSetType(MathType type)
determine whether the given MathType is usable with TextureFillRendererJ3D
|
static void |
main(String[] args)
run 'java visad.bom.TextureFillRendererJ3D smooth'
|
ShadowType |
makeShadowSetType(SetType type,
DataDisplayLink link,
ShadowType parent)
factory for constructing a subclass of ShadowType appropriate
for the graphics API, that also adapts ShadowSetType;
ShadowType trees are constructed that 'shadow' the MathType trees of
Data to be depicted, via recursive calls to buildShadowType() methods
of MathType sub-classes, to DataRenderer.makeShadow*Type() methods,
to Shadow*Type constructors, then back to buildShadowType() methods;
the recursive call chain is initiated by DataDisplayLink.prepareData()
calls to buildShadowType() methods of MathType sub-classes;
|
void |
setScale(float s)
texture pattern will repreat 2 * s times across box
|
void |
setSmooth(boolean s)
set s = true to smooth texture
|
void |
setTexture(int w,
int h,
int[] t)
define texture pattern as a w * h rectangle of ints (RGB values);
note w and h must be powers of 2, and t.length must be w * h
|
addSwitch, clearScene, getLink, setLinksclearBranch, doAction, flush, getBranch, makeShadowFunctionType, makeShadowRealTupleType, makeShadowRealType, makeShadowTextType, makeShadowTupleType, setBranchEarly, toggleaddException, addPoint, checkAction, checkClose, checkDirect, clearAVControls, clearExceptions, computeRanges, 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, prepareAction, realCheckDirect, release_direct, removeLink, set_all_feasible, setDisplay, setDisplayRenderer, setEarthSpatialData, setEarthSpatialDisplay, setHasPolygonOffset, setIsDirectManipulation, setLastMouseModifiers, setLatLonIndices, setLinks, setPickCrawlToCursor, setPolygonOffset, setPolygonOffsetFactor, setSpatialValues, spatialToEarth, spatialToEarth, stop_direct, suppressExceptionspublic void setScale(float s)
public float getScale()
public void setTexture(int w,
int h,
int[] t)
throws VisADException
VisADExceptionpublic int getTextureWidth()
public int getTextureHeight()
public int[] getTexture()
public void setSmooth(boolean s)
public boolean getSmooth()
public static boolean isSetType(MathType type)
public static boolean isRendererUsable(MathType type, ScalarMap[] maps) throws VisADException
VisADExceptionpublic ShadowType makeShadowSetType(SetType type, DataDisplayLink link, ShadowType parent) throws VisADException, RemoteException
DataRenderermakeShadowSetType in class RendererJ3Dtype - FunctionType that returned ShadowType will shadowlink - DataDisplayLink linking Data to be depictedparent - parent in ShadowType tree structureVisADException - a VisAD error occurredRemoteException - an RMI error occurredpublic BranchGroup doTransform() throws VisADException, RemoteException
DefaultRendererJ3DdoTransform in class DefaultRendererJ3DVisADExceptionRemoteExceptionpublic Object clone()
clone in class DefaultRendererJ3Dpublic static void main(String[] args) throws VisADException, RemoteException, IOException
VisADExceptionRemoteExceptionIOExceptionCopyright © 1996–2023 The SSEC Visualization Project. All rights reserved.