C# Class OpenCNCPilot.GCode.HeightMap

Mostra file Open project: martin2250/OpenCNCPilot Class Usage Examples

Public Methods

Method Description
AddPoint ( int x, int y, double height ) : void
FillWithTestPattern ( string pattern ) : void
GetCoordinates ( int x, int y ) : System.Vector2
GetModel ( HelixToolkit.Wpf.MeshGeometryVisual3D mesh ) : void
GetPreviewModel ( LinesVisual3D border, PointsVisual3D pointv ) : void
GetPreviewModel ( System.Vector2 min, System.Vector2 max, double gridSize, LinesVisual3D border, PointsVisual3D pointv ) : void
GetPreviewModel ( System.Vector2 min, System.Vector2 max, int pointsX, int pointsY, LinesVisual3D border, PointsVisual3D pointv ) : void
HeightMap ( double gridSize, System.Vector2 min, System.Vector2 max ) : HelixToolkit.Wpf
InterpolateZ ( double x, double y ) : double
Load ( string path ) : HeightMap
Save ( string path ) : void

Private Methods

Method Description
HeightMap ( ) : HelixToolkit.Wpf

Method Details

AddPoint() public method

public AddPoint ( int x, int y, double height ) : void
x int
y int
height double
return void

FillWithTestPattern() public method

public FillWithTestPattern ( string pattern ) : void
pattern string
return void

GetCoordinates() public method

public GetCoordinates ( int x, int y ) : System.Vector2
x int
y int
return System.Vector2

GetModel() public method

public GetModel ( HelixToolkit.Wpf.MeshGeometryVisual3D mesh ) : void
mesh HelixToolkit.Wpf.MeshGeometryVisual3D
return void

GetPreviewModel() public method

public GetPreviewModel ( LinesVisual3D border, PointsVisual3D pointv ) : void
border HelixToolkit.Wpf.LinesVisual3D
pointv HelixToolkit.Wpf.PointsVisual3D
return void

GetPreviewModel() public static method

public static GetPreviewModel ( System.Vector2 min, System.Vector2 max, double gridSize, LinesVisual3D border, PointsVisual3D pointv ) : void
min System.Vector2
max System.Vector2
gridSize double
border HelixToolkit.Wpf.LinesVisual3D
pointv HelixToolkit.Wpf.PointsVisual3D
return void

GetPreviewModel() public static method

public static GetPreviewModel ( System.Vector2 min, System.Vector2 max, int pointsX, int pointsY, LinesVisual3D border, PointsVisual3D pointv ) : void
min System.Vector2
max System.Vector2
pointsX int
pointsY int
border HelixToolkit.Wpf.LinesVisual3D
pointv HelixToolkit.Wpf.PointsVisual3D
return void

HeightMap() public method

public HeightMap ( double gridSize, System.Vector2 min, System.Vector2 max ) : HelixToolkit.Wpf
gridSize double
min System.Vector2
max System.Vector2
return HelixToolkit.Wpf

InterpolateZ() public method

public InterpolateZ ( double x, double y ) : double
x double
y double
return double

Load() public static method

public static Load ( string path ) : HeightMap
path string
return HeightMap

Save() public method

public Save ( string path ) : void
path string
return void