Skip to content

Vp::Manipulators::Manipulator

#include "Viewport/Manipulators.h"

Public Functions

Name
Manipulator(std::shared_ptr< Core::Transform > node)

Public Attributes

Name
glm::mat4m_auxillaryMatrix <br>Currently used to store view matrix for projection matrices.
glm::mat4m_editedMatrix <br>Matrix of the currently selected transformation, the "local" space.
intm_id <br>Unique id among the current active manipulators.
WPtr< Core::Transform >m_node <br>Reference to the selected/manipulated node.
glm::mat4m_referenceSpace <br>Combined matrix of all transformations prior to selection.
ManipulatorTypem_type

Public Functions Documentation

function Manipulator

cpp
inline explicit Manipulator(
    std::shared_ptr< Core::Transform > node
)
inline explicit Manipulator(
    std::shared_ptr< Core::Transform > node
)

Public Attributes Documentation

variable m_auxillaryMatrix

cpp
glm::mat4 m_auxillaryMatrix {glm::mat4(1)};
glm::mat4 m_auxillaryMatrix {glm::mat4(1)};

Currently used to store view matrix for projection matrices.

variable m_editedMatrix

cpp
glm::mat4 m_editedMatrix {glm::mat4(1)};
glm::mat4 m_editedMatrix {glm::mat4(1)};

Matrix of the currently selected transformation, the "local" space.

variable m_id

cpp
int m_id {-1};
int m_id {-1};

Unique id among the current active manipulators.

variable m_node

cpp
WPtr< Core::Transform > m_node;
WPtr< Core::Transform > m_node;

Reference to the selected/manipulated node.

variable m_referenceSpace

cpp
glm::mat4 m_referenceSpace {glm::mat4(1)};
glm::mat4 m_referenceSpace {glm::mat4(1)};

Combined matrix of all transformations prior to selection.

variable m_type

cpp
ManipulatorType m_type {ManipulatorType::UNKNOWN};
ManipulatorType m_type {ManipulatorType::UNKNOWN};

Updated on 2024-03-16 at 19:15:01 +0000