C# 클래스 Den.Tools.MatrixLine

파일 보기 프로젝트 열기: louis030195/niwrad 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
arr float[]
length int
offset int

공개 메소드들

메소드 설명
Add ( float f ) : void
AppendLine ( FloatMatrix matrix, int z ) : void
AppendLine ( FloatMatrix matrix, int z, MatrixLine mask ) : void
AppendRow ( FloatMatrix matrix, int x ) : void
AppendRow ( FloatMatrix matrix, int x, MatrixLine mask ) : void
Average ( bool skipNegative = false ) : float
AverageSample ( int x ) : float
Cavity ( float intensity = 1 ) : void
CubicSample ( float x ) : float
Delta ( ) : void
DownsampleBlur ( int downsample, float blur, MatrixLine tmpDownsized, MatrixLine tmpBlur ) : void
DownsampleFast ( MatrixLine src, MatrixLine dst, int ratio ) : void
Fill ( float f ) : void
FillGaps ( int start, int end ) : void
FillGapsOld ( int start, int end, MatrixLine tmpFront = null, MatrixLine tmpBack = null, MatrixLine tmpFrontDist = null, MatrixLine tmpBackDist = null ) : void
GaussianBlur ( Array tmp, float blur ) : void
Gradient ( float startVal, float endVal ) : void
Invert ( ) : void
LinearSample ( float x, float radius ) : float
MatrixLine ( Array arr, int offset, int length ) : UnityEngine
MatrixLine ( int offset, int length ) : UnityEngine
Max ( MatrixLine l ) : void
Normal ( float height ) : void
PredictExtend ( int start ) : void
ReadCircular ( FloatMatrix matrix, Coord center, float radius ) : void
ReadInclined ( FloatMatrix matrix, Vector2 start, Vector2 step ) : void
ReadLine ( FloatMatrix matrix, int z ) : void
ReadRow ( FloatMatrix matrix, int x ) : void
ReadSquare ( FloatMatrix matrix, Coord center, int radius ) : void
ResampleCubic ( MatrixLine src, MatrixLine dst ) : void
ResampleLinear ( MatrixLine src, MatrixLine dst ) : void
Spread ( float subtract = 0.01f, float multiply = 1f ) : void
SpreadBlur ( MatrixLine &curr, MatrixLine &prev, int blur ) : void
SpreadMultiply ( float multiply = 1f ) : void
WriteCircular ( FloatMatrix matrix, Coord center, float radius ) : void
WriteInclined ( FloatMatrix matrix, Vector2 start, Vector2 step ) : void
WriteLine ( FloatMatrix matrix, int z ) : void
WriteLine ( FloatMatrix matrix, int z, MatrixLine mask ) : void
WriteRow ( FloatMatrix matrix, int x ) : void
WriteRow ( FloatMatrix matrix, int x, MatrixLine mask ) : void
WriteSquare ( FloatMatrix matrix, Coord center, int radius ) : void

비공개 메소드들

메소드 설명
ReadArcX ( FloatMatrix matrix, Coord center, float radius, int &counter, int flipX = 1, int flipZ = 1, bool reverse = false ) : void
ReadArcZ ( FloatMatrix matrix, Coord center, float radius, int &counter, int flipX = 1, int flipZ = 1, bool reverse = false ) : void
WriteArcX ( FloatMatrix matrix, Coord center, float radius, int &counter, int flipX = 1, int flipZ = 1, bool reverse = false ) : void
WriteArcZ ( FloatMatrix matrix, Coord center, float radius, int &counter, int flipX = 1, int flipZ = 1, bool reverse = false ) : void

메소드 상세

Add() 공개 메소드

public Add ( float f ) : void
f float
리턴 void

AppendLine() 공개 메소드

public AppendLine ( FloatMatrix matrix, int z ) : void
matrix FloatMatrix
z int
리턴 void

AppendLine() 공개 메소드

public AppendLine ( FloatMatrix matrix, int z, MatrixLine mask ) : void
matrix FloatMatrix
z int
mask MatrixLine
리턴 void

AppendRow() 공개 메소드

public AppendRow ( FloatMatrix matrix, int x ) : void
matrix FloatMatrix
x int
리턴 void

AppendRow() 공개 메소드

public AppendRow ( FloatMatrix matrix, int x, MatrixLine mask ) : void
matrix FloatMatrix
x int
mask MatrixLine
리턴 void

Average() 공개 메소드

public Average ( bool skipNegative = false ) : float
skipNegative bool
리턴 float

AverageSample() 공개 메소드

public AverageSample ( int x ) : float
x int
리턴 float

Cavity() 공개 메소드

public Cavity ( float intensity = 1 ) : void
intensity float
리턴 void

CubicSample() 공개 메소드

public CubicSample ( float x ) : float
x float
리턴 float

Delta() 공개 메소드

public Delta ( ) : void
리턴 void

DownsampleBlur() 공개 메소드

public DownsampleBlur ( int downsample, float blur, MatrixLine tmpDownsized, MatrixLine tmpBlur ) : void
downsample int
blur float
tmpDownsized MatrixLine
tmpBlur MatrixLine
리턴 void

DownsampleFast() 공개 정적인 메소드

public static DownsampleFast ( MatrixLine src, MatrixLine dst, int ratio ) : void
src MatrixLine
dst MatrixLine
ratio int
리턴 void

Fill() 공개 메소드

public Fill ( float f ) : void
f float
리턴 void

FillGaps() 공개 메소드

public FillGaps ( int start, int end ) : void
start int
end int
리턴 void

FillGapsOld() 공개 메소드

public FillGapsOld ( int start, int end, MatrixLine tmpFront = null, MatrixLine tmpBack = null, MatrixLine tmpFrontDist = null, MatrixLine tmpBackDist = null ) : void
start int
end int
tmpFront MatrixLine
tmpBack MatrixLine
tmpFrontDist MatrixLine
tmpBackDist MatrixLine
리턴 void

GaussianBlur() 공개 메소드

public GaussianBlur ( Array tmp, float blur ) : void
tmp Array
blur float
리턴 void

Gradient() 공개 메소드

public Gradient ( float startVal, float endVal ) : void
startVal float
endVal float
리턴 void

Invert() 공개 메소드

public Invert ( ) : void
리턴 void

LinearSample() 공개 메소드

public LinearSample ( float x, float radius ) : float
x float
radius float
리턴 float

MatrixLine() 공개 메소드

public MatrixLine ( Array arr, int offset, int length ) : UnityEngine
arr Array
offset int
length int
리턴 UnityEngine

MatrixLine() 공개 메소드

public MatrixLine ( int offset, int length ) : UnityEngine
offset int
length int
리턴 UnityEngine

Max() 공개 메소드

public Max ( MatrixLine l ) : void
l MatrixLine
리턴 void

Normal() 공개 메소드

public Normal ( float height ) : void
height float
리턴 void

PredictExtend() 공개 메소드

public PredictExtend ( int start ) : void
start int
리턴 void

ReadCircular() 공개 메소드

public ReadCircular ( FloatMatrix matrix, Coord center, float radius ) : void
matrix FloatMatrix
center Coord
radius float
리턴 void

ReadInclined() 공개 메소드

public ReadInclined ( FloatMatrix matrix, Vector2 start, Vector2 step ) : void
matrix FloatMatrix
start Vector2
step Vector2
리턴 void

ReadLine() 공개 메소드

public ReadLine ( FloatMatrix matrix, int z ) : void
matrix FloatMatrix
z int
리턴 void

ReadRow() 공개 메소드

public ReadRow ( FloatMatrix matrix, int x ) : void
matrix FloatMatrix
x int
리턴 void

ReadSquare() 공개 메소드

public ReadSquare ( FloatMatrix matrix, Coord center, int radius ) : void
matrix FloatMatrix
center Coord
radius int
리턴 void

ResampleCubic() 공개 정적인 메소드

public static ResampleCubic ( MatrixLine src, MatrixLine dst ) : void
src MatrixLine
dst MatrixLine
리턴 void

ResampleLinear() 공개 정적인 메소드

public static ResampleLinear ( MatrixLine src, MatrixLine dst ) : void
src MatrixLine
dst MatrixLine
리턴 void

Spread() 공개 메소드

public Spread ( float subtract = 0.01f, float multiply = 1f ) : void
subtract float
multiply float
리턴 void

SpreadBlur() 공개 정적인 메소드

public static SpreadBlur ( MatrixLine &curr, MatrixLine &prev, int blur ) : void
curr MatrixLine
prev MatrixLine
blur int
리턴 void

SpreadMultiply() 공개 메소드

public SpreadMultiply ( float multiply = 1f ) : void
multiply float
리턴 void

WriteCircular() 공개 메소드

public WriteCircular ( FloatMatrix matrix, Coord center, float radius ) : void
matrix FloatMatrix
center Coord
radius float
리턴 void

WriteInclined() 공개 메소드

public WriteInclined ( FloatMatrix matrix, Vector2 start, Vector2 step ) : void
matrix FloatMatrix
start Vector2
step Vector2
리턴 void

WriteLine() 공개 메소드

public WriteLine ( FloatMatrix matrix, int z ) : void
matrix FloatMatrix
z int
리턴 void

WriteLine() 공개 메소드

public WriteLine ( FloatMatrix matrix, int z, MatrixLine mask ) : void
matrix FloatMatrix
z int
mask MatrixLine
리턴 void

WriteRow() 공개 메소드

public WriteRow ( FloatMatrix matrix, int x ) : void
matrix FloatMatrix
x int
리턴 void

WriteRow() 공개 메소드

public WriteRow ( FloatMatrix matrix, int x, MatrixLine mask ) : void
matrix FloatMatrix
x int
mask MatrixLine
리턴 void

WriteSquare() 공개 메소드

public WriteSquare ( FloatMatrix matrix, Coord center, int radius ) : void
matrix FloatMatrix
center Coord
radius int
리턴 void

프로퍼티 상세

arr 공개적으로 프로퍼티

public float[] arr
리턴 float[]

length 공개적으로 프로퍼티

public int length
리턴 int

offset 공개적으로 프로퍼티

public int offset
리턴 int