![Logo](tetiere_ht.jpg) |
DATAKIT API
V2025.1
|
|
Go to the documentation of this file.
16 class GLTF_Writer_Private;
24 DtkGltf::GLTF_Writer_Private * _Private;
63 #endif // _DTK_gltfw_HPP
This is the Transformation dedicated class.
Definition: dtk_transfo.hpp:19
GLTF Writer main class.
Definition: gltfw.hpp:22
This is a high level string class.
Definition: dtk_string.hpp:58
~Dtk_GltfWriter()
Destructor.
void ConfigUseTexture(Dtk_bool inValue)
Set config to use Texture or Color in mesh writing.
char Dtk_bool
Definition: define.h:725
int64_t Dtk_Int64
Definition: define.h:692
Dtk_ErrorStatus WriteMesh(const Dtk_MeshPtr &inMesh)
Add a Mesh in current instance node. Supports colors, normals per vertex.
Dtk_ErrorStatus
Definition: error_dtk.hpp:6
Definition: util_ptr_dtk.hpp:37
Dtk_ErrorStatus OpenInstance(const Dtk_string &inInstanceName, Dtk_Int64 inProtoID, Dtk_bool &isnewInstance, const Dtk_transfo &inTrans=Dtk_transfo(), const Dtk_RGB &inRgb=Dtk_RGB())
Open a new instance node for internal tree.
Dtk_GltfWriter(const Dtk_string &inFicout, Dtk_ErrorStatus &outErr)
Constructor : Initialize the writer for a Gltf File.
const Dtk_string & inInstanceName
Definition: catiav5w.hpp:618
Dtk_ErrorStatus CloseLastInstance()
Close last instance node for internal tree. It should be called as many time as OpenInstance is calle...
Definition: dtk_rgb.hpp:7