APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.javafx.sg.prism

public abstract Class NGCamera

extends NGNode
Class Inheritance
Known Direct Subclasses
com.sun.javafx.sg.prism.NGParallelCamera, com.sun.javafx.sg.prism.NGPerspectiveCamera
Imports
com.sun.javafx.geom.PickRay, .Vec3d, com.sun.javafx.geom.transform.Affine3D, .GeneralTransform3D, com.sun.prism.Graphics

Todo

3D - Need documentation

Field Summary

Modifier and TypeField and Description
public static final NGCamera
protected GeneralTransform3D
protected double
protected double
private Vec3d
protected Affine3D
protected double
protected double
Inherited from com.sun.javafx.sg.prism.NGNode:
childDirtycontentBoundscullingBitsdirtyDIRTY_CHILDREN_ACCUMULATED_THRESHOLDDIRTY_REGION_CONTAINS_NODE_BOUNDSDIRTY_REGION_CONTAINS_OR_INTERSECTS_NODE_BOUNDSDIRTY_REGION_INTERSECTS_NODE_BOUNDSdirtyBoundsdirtyChildrenAccumulatedTEMP_TRANSFORMtransformedBounds

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract PickRay
computePickRay(float x, float y, PickRay pickRay)

protected void
doRender(Graphics g)

Overrides com.sun.javafx.sg.prism.NGNode.doRender.

Invoked only by the final render method.

public double
public double
public Vec3d
public GeneralTransform3D
public double
public double
protected boolean
public void
protected void
public void
setFarClip(float farClip)

public void
setNearClip(float nearClip)

public void
setPosition(Vec3d position)

public void
public void
setViewHeight(double viewHeight)

public void
setViewWidth(double viewWidth)

public void
setWorldTransform(Affine3D localToWorldTx)

Inherited from com.sun.javafx.sg.prism.NGNode:
accumulateDirtyRegionsaccumulateGroupDirtyRegionaccumulateNodeDirtyRegionapplyClipapplyEffectapplyTransformcheckBoundsInQuadclearDirtyclearPaintedcomputeNodeRenderRootcomputeOpaqueRegioncomputePaddingcomputeRenderRootdoPreCullingdrawDirtyOptseffectChangedgeometryChangedgetCacheFiltergetClipNodegetClippedBoundsgetCompleteBoundsgetContentBoundsgetEffectgetEffectBoundsgetEffectFiltergetFilterContextgetNamegetNodeBlendModegetOpacitygetOpaqueRegiongetParentgetRenderRootgetTransformhasOpaqueRegionhasVisualsinvalidateCacheinvalidateCacheByTranslationinvalidateOpaqueRegionisCleanisContentBounds2DisDepthTestisOpaqueRegionInvalidisReadbackSupportedisRectClipisShape3DisVisiblemarkCullRegionsmarkDirtymarkTreeDirtymarkTreeDirtyNoIncrementneedsBlendingprintDirtyOptsrenderrenderCliprenderEffectrenderForcedContentrenderForClipsetCachedAsBitmapsetClipNodesetContentBoundssetDepthTestsetEffectsetNamesetNodeBlendModesetOpacitysetParentsetTransformedBoundssetTransformMatrixsetViewOrdersetVisiblesupportsOpaqueRegionstoStringvisualsChanged

Field Detail

INSTANCEback to summary
public static final NGCamera INSTANCE
projViewTxback to summary
protected GeneralTransform3D projViewTx
viewHeightback to summary
protected double viewHeight
viewWidthback to summary
protected double viewWidth
worldPositionback to summary
private Vec3d worldPosition
worldTransformback to summary
protected Affine3D worldTransform
zFarback to summary
protected double zFar
zNearback to summary
protected double zNear

Constructor Detail

NGCameraback to summary
public NGCamera()

Method Detail

computePickRayback to summary
public abstract PickRay computePickRay(float x, float y, PickRay pickRay)
doRenderback to summary
protected void doRender(Graphics g)

Overrides com.sun.javafx.sg.prism.NGNode.doRender.

Doc from com.sun.javafx.sg.prism.NGNode.doRender.

Invoked only by the final render method. Implementations of this method should make sure to save & restore the transform state.

Annotations
@Override
getFarClipback to summary
public double getFarClip()
getNearClipback to summary
public double getNearClip()
getPositionInWorldback to summary
public Vec3d getPositionInWorld(Vec3d pos)
getProjViewTxback to summary
public GeneralTransform3D getProjViewTx(GeneralTransform3D tx)
getViewHeightback to summary
public double getViewHeight()
getViewWidthback to summary
public double getViewWidth()
hasOverlappingContentsback to summary
protected boolean hasOverlappingContents()

Implements abstract com.sun.javafx.sg.prism.NGNode.hasOverlappingContents.

Annotations
@Override
releaseback to summary
public void release()

Overrides com.sun.javafx.sg.prism.NGNode.release.

Doc from com.sun.javafx.sg.prism.NGNode.release.

* Stuff * *

Annotations
@Override
renderContentback to summary
protected void renderContent(Graphics g)

Implements abstract com.sun.javafx.sg.prism.NGNode.renderContent.

Annotations
@Override
setFarClipback to summary
public void setFarClip(float farClip)
setNearClipback to summary
public void setNearClip(float nearClip)
setPositionback to summary
public void setPosition(Vec3d position)
setProjViewTransformback to summary
public void setProjViewTransform(GeneralTransform3D projViewTx)
setViewHeightback to summary
public void setViewHeight(double viewHeight)
setViewWidthback to summary
public void setViewWidth(double viewWidth)
setWorldTransformback to summary
public void setWorldTransform(Affine3D localToWorldTx)