3#if NDEVR_MODEL_TILE_CONTAINER
4#include <NDEVR/Model.h>
5#include <NDEVR/ModelTiler.h>
6#include <NDEVR/INIInterface.h>
7#include <NDEVR/StringEnum.h>
16 enum PlacementAlignment
29 #define NDEVR_TILE_SPACING_MODE_ITEMS(X) \
30 X(e_center_to_center_distance) \
31 X(e_end_to_end_distance) \
35 NDEVR_DEFINE_STRING_STREAM(TileSpacingMode, NDEVR_TILE_SPACING_MODE_ITEMS)
45 class NDEVR_DESIGN_API ModelTileOptions :
public INIInterface
53 fltp08 horizontal_offset = 0.0;
54 fltp08 vertical_offset = 0.0;
59 PlacementAlignment placement_alignment_vert = PlacementAlignment::e_min;
60 PlacementAlignment placement_alignment_horz = PlacementAlignment::e_center;
61 TileSpacingMode spacing_mode = TileSpacingMode::e_center_to_center_distance;
62 bool path_heading =
true;
63 bool path_inclination =
true;
69 virtual void getINI(
INIFactory& factory)
override;
91 ModelTiler::TileOptions convert(
const Model& model_to_tile);
Stores an angle in an optimized internal format with support for efficient trigonometric operations.
Contains methods for easily reading and writing to an INI file including efficient casting,...
Contains methods for easily reading and writing to an INI file including efficient casting,...
JavaScript Object Notation or JSON is an open - standard file format that uses human - readable text ...
A core class that represents a node on model hierarchy.
Logic for reading or writing to a string or a user friendly, TranslatedString.
The primary namespace for the NDEVR SDK.
@ e_center
Center text both horizontally and vertically.
constexpr HSLColor Constant< HSLColor >::Invalid
The invalid HSLColor constant with all components set to invalid.
double fltp08
Defines an alias representing an 8 byte floating-point number.
Defines for a given type (such as sint04, fltp08, UUID, etc) a maximum, minimum, and reserved 'invali...