Skip to main content

Post-processing tools 2025 R1

ANSYS::AVZ::GLTFWriter::Mesh Class Reference

Last update: 16.07.2025

#include <GLTFWriter.h>

Inheritance diagram for ANSYS::AVZ::GLTFWriter::Mesh:

Public Member Functions

virtual Mesh * Mirror ()=0
 
virtual bool AppendPrimitive (Primitive *primitive)=0
 
virtual unsigned int NumPrimitives () const =0
 

Static Public Member Functions

static Mesh * Create (GLTF *gltf)
 

Detailed Description

Meshes are required for all renderable objects.

Examples
Test001.cpp, Test002.cpp, Test003.cpp, Test004.cpp, Test005.cpp, Test006.cpp, Test007.cpp, Test008.cpp, Test009.cpp, Test010.cpp, Test011.cpp, Test012.cpp, Test013.cpp, and Test014.cpp.

Definition at line 103 of file GLTFMesh.h.

Constructor & Destructor Documentation

◆ ~Mesh()

virtual ANSYS::AVZ::GLTFWriter::Mesh::~Mesh ( )
inlineprotectedvirtual

Definition at line 106 of file GLTFMesh.h.

Member Function Documentation

◆ AppendPrimitive()

virtual bool ANSYS::AVZ::GLTFWriter::Mesh::AppendPrimitive ( Primitive * primitive)
pure virtual

Appends a primitive object to a mesh. Primitives contain the renderable data of the mesh.

Parameters
[in]primitivePrimitive object.
Examples
Test001.cpp, Test002.cpp, Test003.cpp, Test004.cpp, Test005.cpp, Test006.cpp, Test007.cpp, Test008.cpp, Test009.cpp, Test010.cpp, Test011.cpp, Test012.cpp, Test013.cpp, and Test014.cpp.

◆ Create()

static Mesh * ANSYS::AVZ::GLTFWriter::Mesh::Create ( GLTF * gltf)
static

Creates a mesh object.

Returns
Mesh object. Do not delete this pointer.
Parameters
[in]gltfGLTF object.

◆ Mirror()

virtual Mesh * ANSYS::AVZ::GLTFWriter::Mesh::Mirror ( )
pure virtual

Creates a mirrored Mesh.

Returns
Mesh object. Do not delete this pointer.

◆ NumPrimitives()

virtual unsigned int ANSYS::AVZ::GLTFWriter::Mesh::NumPrimitives ( ) const
pure virtual

Returns number of primitives in mesh.

Returns
Number of primitives.

The documentation for this class was generated from the following file:
  • D:/ANSYSDev/Product-src/webgl_viewer/gltfwriterlib/include/GLTFMesh.h

Connect with Ansys