Skip to main content
Version: 🚧 Nightly

Class vtkF3DGLTFDocumentLoader

Definition: vtkF3DGLTFDocumentLoader.h (line 17)

Specialized GLTF document loader with meshopt buffer decoding.

This class subclasses vtkGLTFDocumentLoader to handle meshopt metadata

Inherits from:

  • vtkGLTFDocumentLoader

Members​

Public static functions​

Function New​

static vtkF3DGLTFDocumentLoader * vtkF3DGLTFDocumentLoader::New()

Return type: vtkF3DGLTFDocumentLoader *

Public functions​

Function vtkTypeMacro​

vtkF3DGLTFDocumentLoader::vtkTypeMacro(vtkF3DGLTFDocumentLoader, vtkGLTFDocumentLoader)

Parameters:

Return type:

Function GetSupportedExtensions​

std::vector< std::string > vtkF3DGLTFDocumentLoader::GetSupportedExtensions() override

Overridden to add KHR_meshopt_compression and EXT_meshopt_compression support

Return type: std::vector< std::string >

Function PrepareData​

void vtkF3DGLTFDocumentLoader::PrepareData() override

Overridden to handle meshopt metadata and modify the GLTF model. This will take information in metadata to decode buffers and replace the buffer view to point to the new decoded buffers.

Return type: void

Protected functions​

Function vtkF3DGLTFDocumentLoader​

vtkF3DGLTFDocumentLoader::vtkF3DGLTFDocumentLoader()=default

Return type:

Function ~vtkF3DGLTFDocumentLoader​

vtkF3DGLTFDocumentLoader::~vtkF3DGLTFDocumentLoader() override=default

Return type:

Private functions​

Function vtkF3DGLTFDocumentLoader​

vtkF3DGLTFDocumentLoader::vtkF3DGLTFDocumentLoader(const vtkF3DGLTFDocumentLoader &)=delete

Parameters:

Return type:

Function operator=​

void vtkF3DGLTFDocumentLoader::operator=(const vtkF3DGLTFDocumentLoader &)=delete

Parameters:

Return type: void