C# 클래스 Fractrace.Formulas

Fest implementierte Formeln.
파일 보기 프로젝트 열기: trafassel/Gestaltlupe 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
col double[]

보호된 프로퍼티들

프로퍼티 타입 설명
mGlobalAngleX double
mGlobalAngleY double
mGlobalAngleZ double
mInternFormula Fractrace.TomoGeometry.TomoFormula
mProjection Fractrace.Geometry.Projection
mTransforms List
old_formula int
old_jx double
old_jy double
old_jz double
old_jzz double
old_zykl long

공개 메소드들

메소드 설명
FixPoint ( long zykl, double x, double y, double z, double zz, double xd, double yd, double zd, double zzd, double wix, double wiy, double wiz, double jx, double jy, double jz, double jzz, int formula, bool invers, int pixelX, int pixelY, bool use4Points ) : double

Im Gegensatz zu klasischen Funktion Winkel wird hier von vorn gerechnet, die isometrische Ansicht entfällt.

Formulas ( ) : System

Initialisierung

Formulas ( Fractrace.DataTypes.PictureData pData ) : System

Initialisierung

GetTransform ( double x, double y, double z ) : Fractrace.Geometry.Vec3

Wendet die in mProjection enthaltenen Transformationen an.

GetTransformWithoutProjection ( double x, double y, double z ) : Fractrace.Geometry.Vec3

Transform the point (x,y,z) corresponding the defined rotations.

RayCastAt ( long zykl, double x, double y, double z, double zz, double xd, double yd, double zd, double zzd, double wix, double wiy, double wiz, double jx, double jy, double jz, double jzz, int formula, bool invers, int pixelX, int pixelY, bool use4Points ) : double

Copy of fixpoint (no normals are computed).

Rechne ( double x, double y, double z, double zz, long zykl, double wix, double wiy, double wiz, double jx, double jy, double jz, double jzz, int formula, bool invers ) : int

Die Berechnung wird gestartet.

TestPoint ( double x, double y, double z, bool inverse ) : bool

Test, if the given point is element of the difined set. Don't work with the internal formulas.

Winkel ( long zykl, double x, double y, double z, double zz, double xd, double yd, double zd, double zzd, double wix, double wiy, double wiz, double jx, double jy, double jz, double jzz, int formula, bool perspective, bool invers ) : double

보호된 메소드들

메소드 설명
LinearCos ( double angle ) : double
LinearSin ( double angle ) : double
LinearTan2 ( double angle1, double angle2 ) : double
Transform ( double x, double y, double z ) : Fractrace.Geometry.Vec3

Transformiert den angegebenen Punkt. Die Rotationen um (0,0,0) werden dabei nicht beruecksichtigt (outdated).

비공개 메소드들

메소드 설명
Dra ( double ar, double ai, double br, double bi, long zkl ) : long
H1 ( double ar, double ai, double aj, double ak, double br, double bi, double bj, double bk, long zkl ) : long
H2 ( double ar, double ai, double aj, double ak, double br, double bi, double bj, double bk, long zkl ) : long
H3 ( double ar, double ai, double aj, double ak, double br, double bi, double bj, double bk, long zkl ) : long
H4 ( double ar, double ai, double aj, double ak, double br, double bi, double bj, double bk, long zkl ) : long
H6 ( double ar, double ai, double aj, double ak, double br, double bi, double bj, double bk, long zkl, bool invers ) : long

Abgeänderte Form vom Mandelbulb

H7 ( double ar, double ai, double aj, double ak, double br, double bi, double bj, double bk, long zkl, bool invers ) : long

Benutzung der Vektorrotation.

Komp ( double ar, double ai, double br, double bi, long zkl ) : long
Mandelbulb3D ( double ar, double ai, double aj, double ak, double br, double bi, double bj, double bk, long zkl, bool invers ) : long
Mandelbulb3DPow2 ( double ar, double ai, double aj, double ak, double br, double bi, double bj, double bk, long zkl, bool invers ) : long

Quadratische Version (ohne Winkel)

Mandelbulb3DPow8 ( double ar, double ai, double aj, double ak, double br, double bi, double bj, double bk, long zkl, bool invers ) : long

Quadratische Version (ohne Winkel)

Qu ( double ar, double ai, double aj, double ak, double br, double bi, double bj, double bk, long zkl ) : long
Wuerfel ( double ar, double ai, double aj, double ak, double br, double bi, double bj, double bk, long zkl ) : long

메소드 상세

FixPoint() 공개 메소드

Im Gegensatz zu klasischen Funktion Winkel wird hier von vorn gerechnet, die isometrische Ansicht entfällt.
public FixPoint ( long zykl, double x, double y, double z, double zz, double xd, double yd, double zd, double zzd, double wix, double wiy, double wiz, double jx, double jy, double jz, double jzz, int formula, bool invers, int pixelX, int pixelY, bool use4Points ) : double
zykl long
x double
y double
z double
zz double
xd double
yd double
zd double
zzd double
wix double
wiy double
wiz double
jx double
jy double
jz double
jzz double
formula int
invers bool
pixelX int
pixelY int
use4Points bool Hier wird unterschieden, ob nur dieser Punkt, oder auch seine Nachbarpixel /// betrachtet werden.
리턴 double

Formulas() 공개 메소드

Initialisierung
public Formulas ( ) : System
리턴 System

Formulas() 공개 메소드

Initialisierung
public Formulas ( Fractrace.DataTypes.PictureData pData ) : System
pData Fractrace.DataTypes.PictureData
리턴 System

GetTransform() 공개 메소드

Wendet die in mProjection enthaltenen Transformationen an.
public GetTransform ( double x, double y, double z ) : Fractrace.Geometry.Vec3
x double The x.
y double The y.
z double The z.
리턴 Fractrace.Geometry.Vec3

GetTransformWithoutProjection() 공개 메소드

Transform the point (x,y,z) corresponding the defined rotations.
public GetTransformWithoutProjection ( double x, double y, double z ) : Fractrace.Geometry.Vec3
x double The x.
y double The y.
z double The z.
리턴 Fractrace.Geometry.Vec3

LinearCos() 보호된 메소드

protected LinearCos ( double angle ) : double
angle double
리턴 double

LinearSin() 보호된 메소드

protected LinearSin ( double angle ) : double
angle double
리턴 double

LinearTan2() 보호된 메소드

protected LinearTan2 ( double angle1, double angle2 ) : double
angle1 double
angle2 double
리턴 double

RayCastAt() 공개 메소드

Copy of fixpoint (no normals are computed).
public RayCastAt ( long zykl, double x, double y, double z, double zz, double xd, double yd, double zd, double zzd, double wix, double wiy, double wiz, double jx, double jy, double jz, double jzz, int formula, bool invers, int pixelX, int pixelY, bool use4Points ) : double
zykl long
x double
y double
z double
zz double
xd double
yd double
zd double
zzd double
wix double
wiy double
wiz double
jx double
jy double
jz double
jzz double
formula int
invers bool
pixelX int
pixelY int
use4Points bool
리턴 double

Rechne() 공개 메소드

Die Berechnung wird gestartet.
public Rechne ( double x, double y, double z, double zz, long zykl, double wix, double wiy, double wiz, double jx, double jy, double jz, double jzz, int formula, bool invers ) : int
x double x-Position in Ansichtskoordinaten
y double y-Position in Ansichtskoordinaten
z double z-Position in Ansichtskoordinaten
zz double zz-Position in Ansichtskoordinaten (alt)
zykl long Benutzte Zyklen
wix double Globaler Winkel X
wiy double Globaler Winkel Y
wiz double Globaler Winkel Z
jx double Julia Parameter x
jy double Julia Parameter y
jz double Julia Parameter z
jzz double Julia Parameter zz
formula int Formel-ID
invers bool Gibt an, ob von innen gerechnet wird.
리턴 int

TestPoint() 공개 메소드

Test, if the given point is element of the difined set. Don't work with the internal formulas.
public TestPoint ( double x, double y, double z, bool inverse ) : bool
x double
y double
z double
inverse bool
리턴 bool

Transform() 보호된 메소드

Transformiert den angegebenen Punkt. Die Rotationen um (0,0,0) werden dabei nicht beruecksichtigt (outdated).
protected Transform ( double x, double y, double z ) : Fractrace.Geometry.Vec3
x double
y double
z double
리턴 Fractrace.Geometry.Vec3

Winkel() 공개 메소드

public Winkel ( long zykl, double x, double y, double z, double zz, double xd, double yd, double zd, double zzd, double wix, double wiy, double wiz, double jx, double jy, double jz, double jzz, int formula, bool perspective, bool invers ) : double
zykl long
x double
y double
z double
zz double
xd double
yd double
zd double
zzd double
wix double
wiy double
wiz double
jx double
jy double
jz double
jzz double
formula int
perspective bool
invers bool
리턴 double

프로퍼티 상세

col 공개적으로 프로퍼티

public double[] col
리턴 double[]

mGlobalAngleX 보호되어 있는 프로퍼티

protected double mGlobalAngleX
리턴 double

mGlobalAngleY 보호되어 있는 프로퍼티

protected double mGlobalAngleY
리턴 double

mGlobalAngleZ 보호되어 있는 프로퍼티

protected double mGlobalAngleZ
리턴 double

mInternFormula 보호되어 있는 프로퍼티

protected TomoFormula,Fractrace.TomoGeometry mInternFormula
리턴 Fractrace.TomoGeometry.TomoFormula

mProjection 보호되어 있는 프로퍼티

protected Projection,Fractrace.Geometry mProjection
리턴 Fractrace.Geometry.Projection

mTransforms 보호되어 있는 프로퍼티

protected List mTransforms
리턴 List

old_formula 보호되어 있는 프로퍼티

protected int old_formula
리턴 int

old_jx 보호되어 있는 프로퍼티

protected double old_jx
리턴 double

old_jy 보호되어 있는 프로퍼티

protected double old_jy
리턴 double

old_jz 보호되어 있는 프로퍼티

protected double old_jz
리턴 double

old_jzz 보호되어 있는 프로퍼티

protected double old_jzz
리턴 double

old_zykl 보호되어 있는 프로퍼티

protected long old_zykl
리턴 long