Skip to content

Core::TransformOperation

Extends Operation - adds properties to transform nodes.

#include "Core/Nodes/Operations.h"

Public Classes

Name
structNameTypePair

Public Types

Name
using std::vector< NameTypePair >ValueMap <br>Names and types of DefaultValues (parameters for matrix definition in the middle LOD, such as fovy in Perspective)

Public Functions

Name
std::optional< NameTypePair >getDefaultValueType(const std::string & name) const
boolhasDefaultValue(const std::string & name) const

Public Attributes

Name
ValueMapdefaultValuesTypes
boolisRotation
TransformMaskmask
Operationoperation

Public Types Documentation

using ValueMap

cpp
using Core::TransformOperation::ValueMap =  std::vector<NameTypePair>;
using Core::TransformOperation::ValueMap =  std::vector<NameTypePair>;

Names and types of DefaultValues (parameters for matrix definition in the middle LOD, such as fovy in Perspective)

Public Functions Documentation

function getDefaultValueType

cpp
std::optional< NameTypePair > getDefaultValueType(
    const std::string & name
) const
std::optional< NameTypePair > getDefaultValueType(
    const std::string & name
) const

function hasDefaultValue

cpp
bool hasDefaultValue(
    const std::string & name
) const
bool hasDefaultValue(
    const std::string & name
) const

Public Attributes Documentation

variable defaultValuesTypes

cpp
ValueMap defaultValuesTypes;
ValueMap defaultValuesTypes;

variable isRotation

cpp
bool isRotation = false;
bool isRotation = false;

variable mask

cpp
TransformMask mask;
TransformMask mask;

variable operation

cpp
Operation operation;
Operation operation;

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