|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.DataRenderer visad.java3d.RendererJ3D visad.java3d.DefaultRendererJ3D visad.cluster.NodeRendererJ3D
public class NodeRendererJ3D
NodeRendererJ3D is the VisAD class for transforming data into VisADSceneGraphObjects, but not rendering, on cluster nodes
Field Summary |
---|
Fields inherited from class visad.DataRenderer |
---|
enabled, pickCrawlToCursor |
Constructor Summary | |
---|---|
NodeRendererJ3D()
this constructor is need for NodeDisplayRendererJ3D.makeDefaultRenderer() but it should never be called |
|
NodeRendererJ3D(NodeAgent a)
this DataRenderer transforms data into VisADSceneGraphObjects, but does not render, on cluster nodes; send scene graphs back via NodeAgent |
Method Summary | |
---|---|
Object |
clone()
|
boolean |
doAction()
re-transform if needed; return false if not done |
void |
enableTransform()
|
boolean |
fakeTransform()
create a VisADGroup scene graph for Data in links[0]; a substitute for doTransform() without and Java3D classes in its signature |
int |
getResolution()
|
static void |
main(String[] args)
|
ShadowType |
makeShadowFunctionType(FunctionType type,
DataDisplayLink link,
ShadowType parent)
factory method for constructing a subclass of ShadowType appropriate for the graphics API, that also adapts ShadowFunctionType; 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; |
ShadowType |
makeShadowRealTupleType(RealTupleType type,
DataDisplayLink link,
ShadowType parent)
factory for constructing a subclass of ShadowType appropriate for the graphics API, that also adapts ShadowRealTupleType; 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; |
ShadowType |
makeShadowRealType(RealType type,
DataDisplayLink link,
ShadowType parent)
factory for constructing a subclass of ShadowType appropriate for the graphics API, that also adapts ShadowRealType; 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; |
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; |
ShadowType |
makeShadowTupleType(TupleType type,
DataDisplayLink link,
ShadowType parent)
factory for constructing a subclass of ShadowType appropriate for the graphics API, that also adapts ShadowTupleType; 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; |
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 |
setResolution(int r)
|
Methods inherited from class visad.java3d.DefaultRendererJ3D |
---|
addSwitch, clearScene, doTransform, getLink, setLinks |
Methods inherited from class visad.java3d.RendererJ3D |
---|
clearBranch, flush, getBranch, makeShadowTextType, setBranchEarly, toggle |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NodeRendererJ3D()
public NodeRendererJ3D(NodeAgent a)
Method Detail |
---|
public ShadowType makeShadowFunctionType(FunctionType type, DataDisplayLink link, ShadowType parent) throws VisADException, RemoteException
DataRenderer
makeShadowFunctionType
in class RendererJ3D
type
- FunctionType that returned ShadowType will shadowlink
- DataDisplayLink linking Data to be depictedparent
- parent in ShadowType tree structure
VisADException
- a VisAD error occurred
RemoteException
- an RMI error occurredpublic ShadowType makeShadowRealTupleType(RealTupleType type, DataDisplayLink link, ShadowType parent) throws VisADException, RemoteException
DataRenderer
makeShadowRealTupleType
in class RendererJ3D
type
- FunctionType that returned ShadowType will shadowlink
- DataDisplayLink linking Data to be depictedparent
- parent in ShadowType tree structure
VisADException
- a VisAD error occurred
RemoteException
- an RMI error occurredpublic ShadowType makeShadowRealType(RealType type, DataDisplayLink link, ShadowType parent) throws VisADException, RemoteException
DataRenderer
makeShadowRealType
in class RendererJ3D
type
- FunctionType that returned ShadowType will shadowlink
- DataDisplayLink linking Data to be depictedparent
- parent in ShadowType tree structure
VisADException
- a VisAD error occurred
RemoteException
- an RMI error occurredpublic ShadowType makeShadowSetType(SetType type, DataDisplayLink link, ShadowType parent) throws VisADException, RemoteException
DataRenderer
makeShadowSetType
in class RendererJ3D
type
- FunctionType that returned ShadowType will shadowlink
- DataDisplayLink linking Data to be depictedparent
- parent in ShadowType tree structure
VisADException
- a VisAD error occurred
RemoteException
- an RMI error occurredpublic ShadowType makeShadowTupleType(TupleType type, DataDisplayLink link, ShadowType parent) throws VisADException, RemoteException
DataRenderer
makeShadowTupleType
in class RendererJ3D
type
- FunctionType that returned ShadowType will shadowlink
- DataDisplayLink linking Data to be depictedparent
- parent in ShadowType tree structure
VisADException
- a VisAD error occurred
RemoteException
- an RMI error occurredpublic void setResolution(int r)
public int getResolution()
public void enableTransform()
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 DisplayImpl
VisADException
- a VisAD error occurred
RemoteException
- an RMI error occurredpublic boolean doAction() throws VisADException, RemoteException
doAction
in class RendererJ3D
VisADException
- a VisAD error occurred
RemoteException
- an RMI error occurredpublic boolean fakeTransform() throws VisADException, RemoteException
VisADException
RemoteException
public Object clone() throws CloneNotSupportedException
clone
in class DefaultRendererJ3D
CloneNotSupportedException
public static void main(String[] args) throws VisADException, RemoteException
VisADException
RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |