Skip to main content

EnSight 2025 R2

GLTFObject

Last update: 16.07.2025
1/*
2 * Copyright 2018-2021 ANSYS, Inc. Unauthorized use, distribution, or duplication is prohibited.
3 *
4 * Restricted Rights Legend
5 *
6 * Use, duplication, or disclosure of this
7 * software and its documentation by the
8 * Government is subject to restrictions as
9 * set forth in subdivision [(b)(3)(ii)] of
10 * the Rights in Technical Data and Computer
11 * Software clause at 52.227-7013.
12 */
13#ifndef __INCLUDED_GLTF_GLTFOBJECT__
14#define __INCLUDED_GLTF_GLTFOBJECT__
15
16#include "GLTFCommon.h"
17
18namespace ANSYS { namespace AVZ { namespace GLTFWriter {
22 class Object
23 {
24 protected:
25 virtual ~Object() {}
26
27 public:
29 GLTFWRITERSPEC virtual void SetName(const char *name
30 ) = 0;
33 GLTFWRITERSPEC virtual const char *GetName() const = 0;
36 GLTFWRITERSPEC virtual const char *GetID() const = 0;
37 };
38
39} } }
40
41#endif
Object is base class for GLTF objects.
Definition GLTFObject.h:23
virtual void SetName(const char *name)=0
virtual const char * GetName() const =0
virtual const char * GetID() const =0
GLTFWriter API Documentation.

Connect with Ansys