java.lang.Object
de.grogra.persistence.ShareableBase
de.grogra.graph.impl.ContextDependentBase
de.grogra.math.Sweep
- All Implemented Interfaces:
ContextDependent
,BSplineCurveList
,Manageable
,Shareable
- Direct Known Subclasses:
ExtendedSweep
,ProfileSweep
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
protected float
calculateLocalX
(Vector3f x, Vector3f z, Vector3f rail, float railScale, Object[] cache, GraphState gs) protected float[]
computeTrajectory
(Object[] cache, GraphState gs) protected Object[]
getCache
(GraphState gs) protected Object[]
int
getDimension
(int curve, GraphState gs) int
getSize
(GraphState gs) protected abstract BSplineCurve
int
getVertex
(float[] out, int curve, int index, GraphState gs) protected abstract int
getVertexImpl
(float[] out, int curve, int index, Object[] cache, GraphState gs) protected abstract Object[]
initCache
(GraphState gs) protected float
initLocalX
(Vector3f x, Vector3f z, Vector3f rail, float railScale, Object[] cache, GraphState gs) boolean
isRational
(int curve, GraphState gs) void
setUseRail
(boolean value) Methods inherited from class de.grogra.graph.impl.ContextDependentBase
writeStamp
Methods inherited from class de.grogra.persistence.ShareableBase
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReference
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.grogra.math.BSplineCurveList
getDegree, getKnot, getSize
Methods inherited from interface de.grogra.graph.ContextDependent
dependsOnContext, writeStamp
Methods inherited from interface de.grogra.persistence.Manageable
getManageableType
-
Field Details
-
$TYPE
-
useRail$FIELD
-
-
Constructor Details
-
Sweep
public Sweep()
-
-
Method Details
-
getTrajectory
-
initCache
-
getCache
-
getCacheImpl
-
computeTrajectory
-
initLocalX
protected float initLocalX(Vector3f x, Vector3f z, Vector3f rail, float railScale, Object[] cache, GraphState gs) -
calculateLocalX
protected float calculateLocalX(Vector3f x, Vector3f z, Vector3f rail, float railScale, Object[] cache, GraphState gs) -
getSize
- Specified by:
getSize
in interfaceBSplineCurveList
-
getDimension
- Specified by:
getDimension
in interfaceBSplineCurveList
-
isRational
- Specified by:
isRational
in interfaceBSplineCurveList
-
areCurvesCompatible
- Specified by:
areCurvesCompatible
in interfaceBSplineCurveList
-
getVertexImpl
protected abstract int getVertexImpl(float[] out, int curve, int index, Object[] cache, GraphState gs) -
getVertex
- Specified by:
getVertex
in interfaceBSplineCurveList
-
setUseRail
public void setUseRail(boolean value)
-