23#ifndef VCL_MESH_COMPONENTS_TRANSFORM_MATRIX_H
24#define VCL_MESH_COMPONENTS_TRANSFORM_MATRIX_H
26#include "base/component.h"
27#include "base/predicates.h"
29#include <vclib/space/core.h>
61template<
typename Scalar,
typename ParentElemType =
void,
bool OPT = false>
64 TransformMatrix<Scalar, ParentElemType, OPT>,
65 CompId::TRANSFORM_MATRIX,
68 !std::is_same_v<ParentElemType, void>,
71 using Base = Component<
73 CompId::TRANSFORM_MATRIX,
76 !std::is_same_v<ParentElemType, void>,
92 if constexpr (!Base::IS_VERTICAL) {
125 template<
typename Element>
126 void importFrom(
const Element& e,
bool =
true);
148 TTB::IsDerivedFromSpecializationOfV<T, TransformMatrix>;
152template<
typename Scalar,
typename ParentElemType,
bool OPT>
153template<
typename Element>
154void TransformMatrix<Scalar, ParentElemType, OPT>::importFrom(
159 transformMatrix() = e.transformMatrix().template cast<Scalar>();
176bool isTransformMatrixAvailableOn(
const auto& element)
195template<
typename ElementType =
void,
bool OPT = false>
210template<
typename ElementType =
void,
bool OPT = false>
A class representing a box in N-dimensional space.
Definition box.h:46
void deserialize(std::istream &is)
Deserializes the box from the given input stream.
Definition box.h:476
void serialize(std::ostream &os) const
Serializes the box to the given output stream.
Definition box.h:466
The Element class.
Definition element.h:75