API Documentation
Loading...
Searching...
No Matches
ViewportAnimation.h
Go to the documentation of this file.
1#pragma once
2#include <NDEVR/Vertex.h>
3#include <NDEVR/Angle.h>
4#include <NDEVR/TimeSpan.h>
5namespace NDEVR
6{
8 {
19 bool operator==(const CameraAnimation& animation) const
20 {
21 return memcmp(this, &animation, sizeof(CameraAnimation)) == 0;
22 }
23 bool operator!=(const CameraAnimation& animation) const
24 {
25 return memcmp(this, &animation, sizeof(CameraAnimation)) != 0;
26 }
35 };
36}
Stores an angle in an optimized format.
Definition StringStream.h:352
Definition TimeSpan.h:40
An element of a vector space. An element of the real coordinate space Rn Basis vector,...
Definition Vector.hpp:62
A vertex.
Definition Vertex.hpp:54
Definition ACIColor.h:37
uint8_t uint01
-Defines an alias representing a 1 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:98
double fltp08
Defines an alias representing an 8 byte floating-point number.
Definition BaseValues.hpp:181
Definition ViewportAnimation.h:8
fltp08 zoom_extent_mult
Definition ViewportAnimation.h:31
Vector< 3, Angle< fltp08 > > orientation
Definition ViewportAnimation.h:29
uint01 is_orthographic
Definition ViewportAnimation.h:33
bool is_active
Definition ViewportAnimation.h:34
bool operator==(const CameraAnimation &animation) const
Definition ViewportAnimation.h:19
CameraAnimation()
Definition ViewportAnimation.h:9
Vector< 2, fltp08 > orthographic_fov
Definition ViewportAnimation.h:30
TimeSpan time
Definition ViewportAnimation.h:32
Vertex< 3, fltp08 > location
Definition ViewportAnimation.h:27
Vector< 3, fltp08 > target
Definition ViewportAnimation.h:28
bool operator!=(const CameraAnimation &animation) const
Definition ViewportAnimation.h:23
Definition BaseValues.hpp:272