common
Class ClipShape
Object
common:Generic
common:Transform
common:ClipShape
- Direct Known Subclasses:
- ClipShapeMerge, DMJ_ClipShapeCircle, DMJ_ClipShapePolyCurve, DMJ_ClipShapeRectangle, NullClipShape, Standard_Clipping
class
- Transform:ClipShape
This is a generic clip shape class. It takes an arbitrary
point and determines whether it is inside (solid) or
outside (not solid) (and returns the original point).
This differs from a more generic Transform in that it has
additional functions to allow it to manipulate a Handles
object, and allows an aspect ratio to be passed in from
a ScreenRelative transform and a generalized rotation.
Ultra Fractal Source
Toggle UF Source Code Display
class ClipShape(Transform) {
; This is a generic clip shape class. It takes an arbitrary
; point and determines whether it is inside (solid) or
; outside (not solid) (and returns the original point).
; <p>
; This differs from a more generic Transform in that it has
; additional functions to allow it to manipulate a Handles
; object, and allows an aspect ratio to be passed in from
; a ScreenRelative transform and a generalized rotation.
public:
func ClipShape(Generic pparent)
Transform.Transform(pparent)
m_Aspect = 1.0
endfunc
func SetHandles(Handles phandles)
m_Handles = phandles
endfunc
func SetAspect(float paspect)
m_Aspect = paspect
endfunc
protected:
Handles m_Handles
float m_Aspect
default:
int param v_clipshape
caption = "Version (Clipshape)"
default = 100
hint = "This version parameter is used to detect when a change has been made to the formula that is incompatible with the previous version. When that happens, this field will reflect the old version number to alert you to the fact that an alternate rendering is being used."
visible = @v_clipshape < 100
endparam
}
Methods inherited from class Object |
|
ClipShape
public ClipShape(Generic pparent)
ClipShape
public ClipShape()
SetHandles
public void SetHandles(Handles phandles)
SetAspect
public void SetAspect(float paspect)