DATAKIT SDK  V2026.4
testcreatemesh.hpp File Reference

Go to the source code of this file.

Namespaces

 sampleWriter
 

Functions

Dtk_RenderInfosPtr sampleWriter::CreateCubeRenderInfos ()
 Creates a Dtk_RenderInfos object with ambient, diffuse, and specular lighting and a texture for use on a cube mesh. More...
 
Dtk_MeshPtr sampleWriter::CreateMeshCube ()
 Mesh Cube sample. More...
 
Dtk_MeshPtr sampleWriter::CreateMeshCubeVertexColor ()
 Creates a unit cube mesh with per-vertex color data (red, green, blue, white cycling per face). More...
 
Dtk_MeshPtr sampleWriter::CreateMeshCuboid (const Dtk_pnt &inFirstPoint, const Dtk_pnt &inSecondPoint)
 Creates an axis-aligned cuboid mesh from two opposite corner points. More...
 
Dtk_MeshPtr sampleWriter::CreateMeshCylinder (int nbpoints)
 Mesh Cylinder sample. More...
 
Dtk_MeshPtr sampleWriter::CreateMeshPoints ()
 Points mesh sample. More...
 
Dtk_MeshPtr sampleWriter::CreateMeshWire ()
 Wire mesh sample. More...
 
Dtk_MeshPtr sampleWriter::CreateTexturedMeshCube (const Dtk_string &inImageDirectory)
 Textured Mesh Cube sample. More...
 
void sampleWriter::FillFacesColors (Dtk_MeshPtr &inoutCubeMesh)
 Filling mesh faces with colors. More...