|
PLaSK library
|
Three directions aligner in 3D space, compose and use three 1D aligners. More...
#include <plask/geometry/align.hpp>
Public Member Functions | |
| Aligner () | |
| Aligner (const Aligner< Primitive< 3 >::DIRECTION_LONG > &dir1aligner, const Aligner< Primitive< 3 >::DIRECTION_TRAN > &dir2aligner, const Aligner< Primitive< 3 >::DIRECTION_VERT > &dir3aligner) | |
| bool | useBounds () const |
| Check if this aligner getAlign use 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< Primitive< 3 >::DIRECTION_LONG > | dir1aligner |
| Aligner< Primitive< 3 >::DIRECTION_TRAN > | dir2aligner |
| Aligner< Primitive< 3 >::DIRECTION_VERT > | dir3aligner |
Friends | |
| std::ostream & | operator<< (std::ostream &out, const Aligner< Primitive< 3 >::Direction(0), Primitive< 3 >::Direction(1), Primitive< 3 >::Direction(2)> &to_print) |
| Print this to stream. | |
Three directions aligner in 3D space, compose and use three 1D aligners.
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
|
friend |
| Aligner<Primitive<3>::DIRECTION_LONG> plask::align::Aligner< Primitive< 3 >::Direction(0), Primitive< 3 >::Direction(1), Primitive< 3 >::Direction(2)>::dir1aligner |
| Aligner<Primitive<3>::DIRECTION_TRAN> plask::align::Aligner< Primitive< 3 >::Direction(0), Primitive< 3 >::Direction(1), Primitive< 3 >::Direction(2)>::dir2aligner |
| Aligner<Primitive<3>::DIRECTION_VERT> plask::align::Aligner< Primitive< 3 >::Direction(0), Primitive< 3 >::Direction(1), Primitive< 3 >::Direction(2)>::dir3aligner |