3#include <NDEVR/ViewportLayoutTheme.h>
4#include <NDEVR/CameraAnimation.h>
5#include <NDEVR/TranslatedString.h>
6#include <NDEVR/AutoZoomFocus.h>
7#include <NDEVR/INIInterface.h>
The equivelent of std::vector but with a bit more control.
Contains methods for easily reading and writing to an INI file including efficient casting,...
INIInterface()
Constructs an INIInterface with no default INI file.
Stores a time span, or difference between two times, with an optional start time.
Any text displayed to the user should be defined as a TranslatedString which allows the program to lo...
A universally unique identifier (UUID) is a 128-bit number used to identify information in computer s...
A fixed-size array with N dimensions used as the basis for geometric and mathematical types.
bool operator!=(const ViewportLayout &layout) const
Checks inequality with another ViewportLayout.
ViewportLayout()
Constructs a default ViewportLayout.
Buffer< ViewportFormat > floating_cameras
Cameras displayed in floating/detached windows.
bool operator==(const ViewportLayout &layout) const
Checks equality with another ViewportLayout.
void createDefaultOrthoAnimations(const TimeSpan &span)
Creates default orthographic camera animations for all cameras in this layout.
Buffer< ViewportFormat > hidden_cameras
Cameras that are part of the layout but currently hidden.
Buffer< ViewportFormat > cameras
The primary visible cameras in this layout.
void setViewportTheme(ViewportLayoutTheme new_theme)
Sets the viewport theme and reconfigures cameras to match the new theme.
void finishReadingINI(INIFactory &factory) final override
Called after INI reading is complete to perform any post-load setup.
uint04 themeCameraCount() const
Returns the number of cameras defined by the current theme.
void getINI(INIFactory &factory) final override
Serializes or deserializes this layout to/from an INI file.
UUID id
The unique identifier for this viewport layout.
ViewportLayoutTheme theme
The active layout theme controlling viewport arrangement.
ViewportLayout(ViewportLayoutTheme new_theme)
Constructs a ViewportLayout with the specified theme.
The primary namespace for the NDEVR SDK.
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
double fltp08
Defines an alias representing an 8 byte floating-point number.
ViewportLayoutTheme
The potential layouts of multiple viewports within the NDEVR engine.
Logic for automatically zooming a Camera or Viewport to a certain location or having certain objects ...
Defines for a given type (such as sint04, fltp08, UUID, etc) a maximum, minimum, and reserved 'invali...