C# 클래스 MatterHackers.DataConverters3D.AmfDocument

파일 보기 프로젝트 열기: ucswift/PrinterQuotationEngine

공개 메소드들

메소드 설명
GetCompressedStreamIfRequired ( Stream amfStream ) : Stream
GetEstimatedMemoryUse ( string fileLocation ) : long
Load ( Stream fileStream, CancellationToken cancellationToken, Action reportProgress = null ) : IObject3D
Load ( string amfPath, CancellationToken cancellationToken, Action reportProgress = null ) : IObject3D
Save ( IObject3D itemToSave, Stream stream, MeshOutputSettings outputInfo ) : bool
Save ( IObject3D item, string fileName, MeshOutputSettings outputInfo = null ) : bool

Writes the mesh to disk in a zip container

SaveUncompressed ( IObject3D item, string fileName, MeshOutputSettings outputInfo = null ) : bool

비공개 메소드들

메소드 설명
BreakInDebugger ( string description = "" ) : void
Indent ( int index ) : string
IsZipFile ( Stream fs ) : bool
ReadAllVertices ( XmlReader reader, ProgressData progressData ) : List
ReadMaterial ( XmlReader reader, Dictionary materials ) : void
ReadVolume ( XmlReader reader, List vertices, Mesh mesh, ProgressData progressData, string &material ) : List

메소드 상세

GetCompressedStreamIfRequired() 공개 정적인 메소드

public static GetCompressedStreamIfRequired ( Stream amfStream ) : Stream
amfStream Stream
리턴 Stream

GetEstimatedMemoryUse() 공개 정적인 메소드

public static GetEstimatedMemoryUse ( string fileLocation ) : long
fileLocation string
리턴 long

Load() 공개 정적인 메소드

public static Load ( Stream fileStream, CancellationToken cancellationToken, Action reportProgress = null ) : IObject3D
fileStream Stream
cancellationToken CancellationToken
reportProgress Action
리턴 IObject3D

Load() 공개 정적인 메소드

public static Load ( string amfPath, CancellationToken cancellationToken, Action reportProgress = null ) : IObject3D
amfPath string
cancellationToken CancellationToken
reportProgress Action
리턴 IObject3D

Save() 공개 정적인 메소드

public static Save ( IObject3D itemToSave, Stream stream, MeshOutputSettings outputInfo ) : bool
itemToSave IObject3D
stream Stream
outputInfo MeshOutputSettings
리턴 bool

Save() 공개 정적인 메소드

Writes the mesh to disk in a zip container
public static Save ( IObject3D item, string fileName, MeshOutputSettings outputInfo = null ) : bool
item IObject3D
fileName string The file path to save at
outputInfo MeshOutputSettings Extra meta data to store in the file
리턴 bool

SaveUncompressed() 공개 정적인 메소드

public static SaveUncompressed ( IObject3D item, string fileName, MeshOutputSettings outputInfo = null ) : bool
item IObject3D
fileName string
outputInfo MeshOutputSettings
리턴 bool