Skip to main content

Post-processing tools 2023 R2

GLTFWriter Interface

Last update: 17.04.2023

A C++ API to write AVZ and GLTF format geometry files. More...

Classes

class  ANSYS::Nexus::GLTFWriter::AnimationSampler
 Animation samplers define mechanisms for defining how animation channels change over time. More...
 
class  ANSYS::Nexus::GLTFWriter::Attribute
 Attributes define the per element index values for elements defined by Index. More...
 
class  ANSYS::Nexus::GLTFWriter::Buffer
 Buffers define files that are used to contain attribute and index data. More...
 
class  ANSYS::Nexus::GLTFWriter::Camera
 Cameras define an orthographic or perspective projection of the scene. More...
 
class  ANSYS::Nexus::GLTFWriter::GLTF
 This is the main class of the GLTFWriter. More...
 
class  ANSYS::Nexus::GLTFWriter::Image
 Images define texture data. More...
 
class  ANSYS::Nexus::GLTFWriter::Index
 Indexes define elements within primitives. More...
 
class  ANSYS::Nexus::GLTFWriter::Legend
 Legends are colored bars with numbers at intervals along bar. More...
 
class  ANSYS::Nexus::GLTFWriter::Light
 Lights define the light objects that can be added to a light node. More...
 
class  ANSYS::Nexus::GLTFWriter::Material
 Materials describe how primitives are rendered. More...
 
class  ANSYS::Nexus::GLTFWriter::Primitive
 Primitives are the renderable parts of meshes. More...
 
class  ANSYS::Nexus::GLTFWriter::Node
 Nodes are the GLTFWriter class that contain the data that is defined in the GLTF file. More...
 
class  ANSYS::Nexus::GLTFWriter::Program
 Programs are the GLSL executable code for rendering the primitives. More...
 
class  ANSYS::Nexus::GLTFWriter::Sampler
 Samplers define how values are generated from textures with the give texture coordinates. More...
 
class  ANSYS::Nexus::GLTFWriter::Scene
 Scenes are the GLTFWriter class that create the view of the data that is defined in the GLTF file. More...
 
class  ANSYS::Nexus::GLTFWriter::Shader
 Shaders are the GLSL executable code for vertex and fragment. More...
 
class  ANSYS::Nexus::GLTFWriter::Parameter
 Parameters describe how and from where program attributes and uniforms are derived. More...
 
class  ANSYS::Nexus::GLTFWriter::Texture
 Textures are images that can be used to color a primitive. More...
 
class  ANSYS::Nexus::GLTFWriter::Value
 Values are objects for storing single and multiple numbers and strings. More...
 

Detailed Description

A C++ API to write AVZ and GLTF format geometry files.


The GLTFWriter API allows for an application to be able to export geometric scenes in several formats. These scenes can be static or time varying. The lines, triangles and spheres are captured into "AVZ" or glTF 2.0 format files. The AVZ format is basically an extended form of the glTF 1.0 format that includes support for time varying data, variable transformations and 2D overlay options like annotations and palettes. It also supports "meta" entities like spheres.