DracoFormat

개요

DracoFormat은(는) Aspose.3D FOSS에서 Java용 클래스입니다. 상속 대상: FileFormat.

Google Draco 포맷

예시: 다음 코드는 Mesh를 바이트 배열로 인코딩하고 디코딩하는 방법을 보여줍니다:

          Mesh mesh = (new Sphere()).toMesh();
          //encode mesh

이 클래스는 Java 프로그램에서 DracoFormat 객체를 다루기 위한 25개의 메서드를 제공합니다. 사용 가능한 메서드에는 FileFormat, canDetect, createLoadOptions, createSaveOptions, decode, detect, encode, getCanExport, getCanImport, getContentType, getExtension, getExtensions 및 추가 6개의 메서드가 포함됩니다. 모든 공개 멤버는 Aspose.3D FOSS for Java 패키지를 설치한 후 any Java 애플리케이션에서 접근할 수 있습니다. 속성: AMF, ASE, ASPOSE3D_WEB, BLENDER, COLLADA, DISCREET3DS 및 추가 53개.

속성

이름유형액세스설명
formatsList<FileFormat>읽기포맷을 가져옵니다.
versionVersion읽기버전을 가져옵니다.
canImportboolean읽기가져옵니다. 가져올 수 있습니다.
canExportboolean읽기내보낼 수 있는지를 가져옵니다.
extensionString읽기확장자를 가져옵니다.
extensionsString[]읽기확장자를 가져옵니다.
contentTypeFileContentType읽기콘텐츠 유형을 가져옵니다.
fileFormatTypeFileFormatType읽기파일 형식 유형을 가져옵니다.
FBX6100ASCIIFileFormat읽기fbx6100 ascii를 가져옵니다.
FBX6100_BINARYFileFormat읽기fbx6100 바이너리를 가져옵니다.
FBX7200ASCIIFileFormat읽기fbx7200 ascii를 가져옵니다.
FBX7200_BINARYFileFormat읽기fbx7200 바이너리를 가져옵니다.
FBX7300ASCIIFileFormat읽기fbx7300 ascii를 가져옵니다.
FBX7300_BINARYFileFormat읽기fbx7300 바이너리를 가져옵니다.
FBX7400ASCIIFileFormat읽기fbx7400 ascii를 가져옵니다.
FBX7400_BINARYFileFormat읽기fbx7400 바이너리를 가져옵니다.
FBX7500ASCIIFileFormat읽기fbx7500 ascii를 가져옵니다.
FBX7500_BINARYFileFormat읽기fbx7500 바이너리를 가져옵니다.
FBX7600ASCIIFileFormat읽기fbx7600 ascii를 가져옵니다.
FBX7600_BINARYFileFormat읽기fbx7600 바이너리를 가져옵니다.
FBX7700ASCIIFileFormat읽기fbx7700 ascii를 가져옵니다.
FBX7700_BINARYFileFormat읽기fbx7700 바이너리를 가져옵니다.
MAYAASCIIFileFormat읽기mayaascii를 가져옵니다.
MAYA_BINARYFileFormat읽기maya 바이너리를 가져옵니다.
STL_BINARYFileFormat읽기STL 바이너리를 가져옵니다.
STLASCIIFileFormat읽기stlascii를 가져옵니다.
WAVEFRONTOBJFileFormat읽기wavefrontobj를 가져옵니다.
DISCREET3DSFileFormat읽기discreet3 ds를 가져옵니다.
COLLADAFileFormat읽기collada를 가져옵니다.
UNIVERSAL3DFileFormat읽기universal3 d를 가져옵니다.
GLTFFileFormat읽기gltf를 가져옵니다.
GLTF2FileFormat읽기gltf2를 가져옵니다.
GLTF_BINARYFileFormat읽기gltf 바이너리를 가져옵니다.
GLTF2_BINARYFileFormat읽기gltf2 바이너리를 가져옵니다.
PDFPdfFormat읽기PDF를 가져옵니다.
BLENDERFileFormat읽기블렌더를 가져옵니다.
DXFFileFormat읽기DXF를 가져옵니다.
PLYPlyFormat읽기ply를 가져옵니다.
X_BINARYFileFormat읽기x 바이너리를 가져옵니다.
X_TEXTFileFormat읽기x 텍스트를 가져옵니다.
DRACODracoFormat읽기draco를 가져옵니다.
MICROSOFT3MFMicrosoft3MFFormat읽기microsoft3 mf를 가져옵니다.
RVM_TEXTRvmFormat읽기rvm 텍스트를 가져옵니다.
RVM_BINARYRvmFormat읽기rvm 바이너리를 가져옵니다.
ASEFileFormat읽기ase를 가져옵니다.
IFCFileFormat읽기ifc를 가져옵니다.
SIEMENSJT8FileFormat읽기siemensjt8을 가져옵니다.
SIEMENSJT9FileFormat읽기siemensjt9를 가져옵니다.
AMFFileFormat읽기amf를 가져옵니다.
VRMLFileFormat읽기vrml을 가져옵니다.
ASPOSE3D_WEBFileFormat읽기aspose3d 웹을 가져옵니다.
HTML5FileFormat읽기html5를 가져옵니다.
ZIPFileFormat읽기zip을 가져옵니다.
USDFileFormat읽기usd를 가져옵니다.
USDAFileFormat읽기usda를 가져옵니다.
USDZFileFormat읽기usdz를 가져옵니다.
XYZFileFormat읽기xyz를 가져옵니다.
PCDFileFormat읽기pcd를 가져옵니다.
PCD_BINARYFileFormat읽기pcd 바이너리를 가져옵니다.

메서드

시그니처설명
decode(fileName: String) → GeometryFOSS 버전에서는 구현되지 않았으며 런타임에 예외를 발생시킵니다. 지정된 파일 이름에서 포인트 클라우드 또는 메시를 디코딩합니다.
decode(data: byte[]) → GeometryFOSS 에디션에서는 구현되지 않았으며 런타임에 예외를 발생시킵니다. 메모리 데이터에서 포인트 클라우드 또는 메시를 디코딩합니다.
encode(entity: Entity, stream: Stream, options: DracoSaveOptions)FOSS 에디션에서는 구현되지 않았으며 런타임에 예외를 발생시킵니다. 엔티티를 지정된 스트림에 인코딩합니다.
encode(entity: Entity, stream: Stream)FOSS 버전에서는 구현되지 않았으며 — 런타임에 예외가 발생합니다. 엔터티를 지정된 스트림에 인코딩합니다.
encode(entity: Entity, fileName: String, options: DracoSaveOptions)FOSS 버전에서는 구현되지 않았으며 — 런타임에 예외가 발생합니다. 엔터티를 지정된 파일에 인코딩합니다.
encode(entity: Entity, fileName: String)FOSS 버전에서는 구현되지 않았으며 — 런타임에 예외가 발생합니다. 엔터티를 지정된 파일에 인코딩합니다.
encode(entity: Entity, options: DracoSaveOptions) → byte[]FOSS 에디션에서는 구현되지 않았으며 — 런타임에 예외를 발생시킵니다. 엔터티를 Draco 원시 데이터로 인코딩합니다.
encode(entity: Entity) → byte[]FOSS 에디션에서는 구현되지 않았으며 — 런타임에 예외를 발생시킵니다. 엔터티를 Draco 원시 데이터로 인코딩합니다.
FileFormat(type: FileFormatType, version: Version, contentType: FileContentType, extension: String, extensions: String[], canImport: boolean, canExport: boolean)이 DracoFormat 인스턴스에서 FileFormat(type, version, contentType, extension, extensions, canImport, canExport)를 호출합니다.
getFormats() → List<FileFormat>형식을 반환합니다.
getVersion() → Version버전을 반환합니다.
getFormatByExtension(filePath: String) → FileFormat이 DracoFormat 인스턴스에서 getFormatByExtension(filePath)를 호출합니다.
getCanImport() → boolean가져올 수 있는 것을 반환합니다.
getCanExport() → boolean내보낼 수 있는 것을 반환합니다.
getExtension() → String확장자를 반환합니다.
getExtensions() → String[]확장자를 반환합니다.
getContentType() → FileContentType콘텐츠 유형을 반환합니다.
getFileFormatType() → FileFormatType파일 형식 유형을 반환합니다.
createLoadOptions() → LoadOptions이 DracoFormat 인스턴스에서 createLoadOptions를 호출합니다.
createSaveOptions() → SaveOptions이 DracoFormat 인스턴스에서 createSaveOptions를 호출합니다.
canDetect(stream: Stream, fileName: String) → boolean이 DracoFormat 인스턴스에서 canDetect(stream, fileName)를 호출합니다.
detect(stream: Stream, fileName: String) → FileFormat이 DracoFormat 인스턴스에서 detect(stream, fileName)를 호출합니다.
detect(fileName: String) → FileFormat이 DracoFormat 인스턴스에서 detect(fileName)를 호출합니다.
registerFormat(format: FileFormat)이 DracoFormat 인스턴스에서 registerFormat(format)를 호출합니다.
toString() → String이 DracoFormat 인스턴스에서 toString을 호출합니다.

참조

 한국어