Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
DynamicLinearTranslation.h
Go to the documentation of this file.
1#pragma once
2
4#include "Math/TVector3.h"
5
6namespace ph::math
7{
8
10{
11public:
12 DynamicLinearTranslation(const Vector3R& translationT0,
13 const Vector3R& translationT1);
14
16
17 // DEPRECATED
18 std::unique_ptr<Transform> genInversed() const override;
19
20private:
21 void transformVector(
22 const Vector3R& vector,
23 const Time& time,
24 Vector3R* out_vector) const override;
25
26 void transformOrientation(
27 const Vector3R& orientation,
28 const Time& time,
29 Vector3R* out_orientation) const override;
30
31 void transformPoint(
32 const Vector3R& point,
33 const Time& time,
34 Vector3R* out_point) const override;
35
36 void transformLineSegment(
37 const Vector3R& lineStartPos,
38 const Vector3R& lineDir,
39 real lineMinT,
40 real lineMaxT,
41 const Time& time,
42 Vector3R* out_lineStartPos,
43 Vector3R* out_lineDir,
44 real* out_lineMinT,
45 real* out_lineMaxT) const override;
46
47 Vector3R m_translationT0;
48 Vector3R m_translationT1;
49};
50
51}// end namespace ph::math
Definition Time.h:9
Definition DynamicLinearTranslation.h:10
DynamicLinearTranslation makeInversed() const
Definition DynamicLinearTranslation.cpp:13
std::unique_ptr< Transform > genInversed() const override
Definition DynamicLinearTranslation.cpp:18
DynamicLinearTranslation(const Vector3R &translationT0, const Vector3R &translationT1)
Definition DynamicLinearTranslation.cpp:7
Definition RigidTransform.h:14
Math functions and utilities.
Definition TransformInfo.h:10