PLaSK library
|
Base class for two directions aligner in 3D space, compose and use two 2D aligners. More...
#include <plask/geometry/align.hpp>
Public Member Functions | |
AlignerBase2D () | |
AlignerBase2D (const Aligner< direction1 > &dir1aligner, const Aligner< direction2 > &dir2aligner) | |
bool | useBounds () const |
Check if this aligner getAlign uses bounding box in calculation. | |
virtual void | align (Translation< 3 > &toAlign, const Box3D &childBoundingBox) const |
Set object translation in directions of aligner activity. | |
virtual void | align (Translation< 3 > &toAlign) const |
Set object translation in directions of aligner activity. | |
std::string | str () const |
Get string representation of this using print method. | |
virtual std::map< std::string, double > | asDict (const AxisNames &axis_names) const |
Get aligner as dictionary. | |
virtual void | writeToXML (XMLElement &dest, const AxisNames &axis_names) const |
Write this aligner to XML. | |
bool | isNull () |
Public Attributes | |
Aligner< _direction1 > | dir1aligner |
Aligner< _direction2 > | dir2aligner |
Static Public Attributes | |
static const Direction | direction1 = _direction1 |
static const Direction | direction2 = _direction2 |
Friends | |
std::ostream & | operator<< (std::ostream &out, const Aligner< _direction1, _direction2 > &to_print) |
Print this to stream. | |
Base class for two directions aligner in 3D space, compose and use two 2D aligners.
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
|
friend |
Aligner<_direction1> plask::align::AlignerBase2D< _direction1, _direction2 >::dir1aligner |
Aligner<_direction2> plask::align::AlignerBase2D< _direction1, _direction2 >::dir2aligner |
|
static |
|
static |