DATAKIT SDK  V2026.4
testcreatefdt.hpp
Go to the documentation of this file.
1 
2 
3 // TestCreateFdt.hpp
4 // Sample FDT (Form and Dimension Tolerances) and model display creation helpers.
5 // Demonstrates creation of datums, dimensions, geometric tolerances, and model display views.
6 
7 namespace sampleWriter
8 {
9  //! \image html FdtDatum.png
10  //! \brief Creates a simple datum FDT symbol ("A") with a leader, frame, and white text.
12  //! \image html FdtDimAssy.png
13  //! \brief Creates a linear dimension FDT between two points.
15  //! \brief Creates a geometric tolerance FDT (cylindricity tolerance) with a leader and frame.
17  //! \brief Creates a deactivated model display (hidden view state with section).
19  //! \brief Creates an activated model display (visible view state).
21  //! \brief Creates a model display with an active section cut plane.
23 }
sampleWriter::CreateModelDisplayWithSection
Dtk_ModelDisplayPtr CreateModelDisplayWithSection()
Creates a deactivated model display "MySectionView" with a section cut plane applied.
Definition: testcreatefdt.cpp:349
sampleWriter
Definition: testcreatecube.cpp:15
sampleWriter::CreateFdtDatum
Dtk_FdtPtr CreateFdtDatum()
Creates simple Datum.
Definition: testcreatefdt.cpp:14
Dtk_SmartPtr
Definition: util_ptr_dtk.hpp:37
sampleWriter::CreateModelDisplayActivated
Dtk_ModelDisplayPtr CreateModelDisplayActivated()
Creates an activated (visible) model display "MyView1" with a perspective camera.
Definition: testcreatefdt.cpp:321
sampleWriter::CreateDimension
Dtk_FdtPtr CreateDimension()
Creates a linear dimension FDT with a leader, dual-value text, and a frame.
Definition: testcreatefdt.cpp:112
sampleWriter::CreateModelDisplayDesactivated
Dtk_ModelDisplayPtr CreateModelDisplayDesactivated()
Creates a deactivated (hidden) model display "MyView2" with an orthographic camera.
Definition: testcreatefdt.cpp:335
sampleWriter::CreateGeometricalTolerance
Dtk_FdtPtr CreateGeometricalTolerance()
Creates a geometric tolerance FDT: cylindricity position tolerance | 0.02(M) | A |.
Definition: testcreatefdt.cpp:225