DATAKIT SDK  V2026.4
testcreatelayerinfoset.hpp
Go to the documentation of this file.
1 // TestCreateLayerInfoSet.hpp
2 // Sample layer information set creation helpers.
3 // Demonstrates how to build layer definitions, visibility/selectability flags, and layer filters.
4 
5 namespace sampleWriter
6 {
7  namespace layer
8  {
9  //! \brief Creates a basic layer info set with 3 named layers (indices 0, 42, 1900).
11  //! \brief Creates a layer info set with 9 layers and 2 named layer filters grouping subsets of those layers.
13  //! \brief Creates a layer info set with 257 layers where visibility and selectability flags are set alternately,
14  //! plus 2 layer filters and a specified current (work) layer.
16  }
17 }
sampleWriter
Definition: testcreatecube.cpp:15
sampleWriter::layer::CreateSetWithFlagsAndFilters
Dtk_LayerInfosSetPtr CreateSetWithFlagsAndFilters()
Creates a layer info set with 257 layers (indices 0-256), alternating visible/selectable flags,...
Definition: testcreatelayerinfoset.cpp:81
Dtk_SmartPtr
Definition: util_ptr_dtk.hpp:37
sampleWriter::layer::CreateSetWithFilters
Dtk_LayerInfosSetPtr CreateSetWithFilters()
Creates a layer info set with 9 layers and 2 named layer filters grouping subsets of those layers.
Definition: testcreatelayerinfoset.cpp:27
sampleWriter::layer::CreateSet
Dtk_LayerInfosSetPtr CreateSet()
Create Layer info set.
Definition: testcreatelayerinfoset.cpp:17