API Documentation
Loading...
Searching...
No Matches
ViewportLayout.h
Go to the documentation of this file.
1#pragma once
2#include "DLLInfo.h"
3#include <NDEVR/ViewportLayoutTheme.h>
4#include <NDEVR/CameraAnimation.h>
5#include <NDEVR/TranslatedString.h>
6#include <NDEVR/AutoZoomFocus.h>
7namespace NDEVR
8{
10 {
11 public:
13 explicit ViewportFormat(bool is_user_camera);
14 void autoSetName();
15 UUID camera_id = Constant<UUID>::NaN;//NaN if any camera
21 bool is_user_camera = true;
22 bool is_ortho = false;
23 bool use_reference_size = true;
24 public:
25 bool operator==(const ViewportFormat& layout) const;
26 bool operator!=(const ViewportFormat& layout) const;
27 };
29 {
30 public:
33 void createDefaultOrthoAnimations(const TimeSpan& span);
34 void setViewportTheme(ViewportLayoutTheme new_theme);
35 uint04 themeCameraCount() const;
36 bool operator==(const ViewportLayout& layout) const;
37 bool operator!=(const ViewportLayout& layout) const;
38 public:
44 };
45}
#define NDEVR_DESIGN_API
Definition DLLInfo.h:77
bool operator!=(const VkVertexInputAttributeDescription &a, const VkVertexInputAttributeDescription &b)
Definition VulkanRenderObject.cpp:10
bool operator==(const VkVertexInputAttributeDescription &a, const VkVertexInputAttributeDescription &b)
Definition VulkanRenderObject.cpp:18
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
Definition TimeSpan.h:40
Definition TranslatedString.h:9
Definition UUID.h:66
An element of a vector space. An element of the real coordinate space Rn Basis vector,...
Definition Vector.hpp:62
Definition ViewportLayout.h:10
Buffer< CameraAnimation > viewport_animations
Definition ViewportLayout.h:17
TranslatedString name
Definition ViewportLayout.h:20
AutoZoomFocus focus
Definition ViewportLayout.h:16
Definition ViewportLayout.h:29
UUID id
Definition ViewportLayout.h:43
Buffer< ViewportFormat > floating_cameras
Definition ViewportLayout.h:40
ViewportLayoutTheme theme
Definition ViewportLayout.h:42
Buffer< ViewportFormat > hidden_cameras
Definition ViewportLayout.h:41
Buffer< ViewportFormat > cameras
Definition ViewportLayout.h:39
Definition ACIColor.h:37
ViewportLayoutTheme
Definition ViewLocation.h:71
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:120
Logic for automatically zooming a Camera or Viewport to a certain location or having certain objects ...
Definition ViewportAutoZoomFocus.h:16
Definition BaseValues.hpp:272