Home | History | Annotate | Download | only in Geometry

Lines Matching refs:Mode

26     Mode = Transform::Mode,
27 IsProjective = (int(Mode)==int(Projective))
40 int Mode,
56 int Mode,
82 template<int Mode> struct transform_make_affine;
206 Mode = _Mode,
210 Rows = int(Mode)==(AffineCompact) ? Dim : HDim
223 typedef Block<MatrixType,Dim,Dim,int(Mode)==(AffineCompact) && (Options&RowMajor)==0> LinearPart;
225 typedef const Block<ConstMatrixType,Dim,Dim,int(Mode)==(AffineCompact) && (Options&RowMajor)==0> ConstLinearPart;
227 typedef typename internal::conditional<int(Mode)==int(AffineCompact),
231 typedef typename internal::conditional<int(Mode)==int(AffineCompact),
244 enum { TransformTimeDiagonalMode = ((Mode==int(Isometry))?Affine:int(Mode)) };
255 * If Mode==Affine, then the last row is set to [0 ... 0 1] */
259 internal::transform_make_affine<(int(Mode)==Affine) ? Affine : AffineCompact>::run(m_matrix);
298 internal::transform_construct_from_matrix<OtherDerived,Mode,Options,Dim,HDim>::run(this, other.derived());
308 internal::transform_construct_from_matrix<OtherDerived,Mode,Options,Dim,HDim>::run(this, other.derived());
313 EIGEN_DEVICE_FUNC inline Transform(const Transform<Scalar,Dim,Mode,OtherOptions>& other)
326 EIGEN_STATIC_ASSERT(EIGEN_IMPLIES(OtherMode==int(Projective), Mode==int(Projective)),
331 EIGEN_STATIC_ASSERT(EIGEN_IMPLIES(OtherMode==int(Affine)||OtherMode==int(AffineCompact), Mode!=int(Isometry)),
334 enum { ModeIsAffineCompact = Mode == int(AffineCompact),
349 internal::transform_construct_from_matrix<OtherMatrixType,Mode,Options,Dim,HDim>::run(this, other.matrix());
353 // here we know that Mode == AffineCompact and OtherMode != AffineCompact.
384 EIGEN_DEVICE_FUNC Index rows() const { return int(Mode)==int(Projective) ? m_matrix.cols() : (m_matrix.cols()-1); }
421 * Moreover, if \c *this represents an affine transformation (i.e., Mode!=Projective), then \a other can also be:
452 EIGEN_DEVICE_FUNC inline const typename internal::transform_left_product_impl<OtherDerived,Mode,Options,_Dim,_Dim+1>::ResultType
454 { return internal::transform_left_product_impl<OtherDerived,Mode,Options,Dim,HDim>::run(a.derived(),b); }
459 * product results in a Transform of the same type (mode) as the lhs only if the lhs
460 * mode is no isometry. In that case, the returned transform is an affinity.
474 * product results in a Transform of the same type (mode) as the lhs only if the lhs
475 * mode is no isometry. In that case, the returned transform is an affinity.
484 if (Mode!=int(AffineCompact))
505 // Eigen::Transform<double, 3, Mode, Options>, <expression>>::ResultType (const Eigen::Transform<double, 3, Mode, Options> &) const")
619 inline Transform inverse(TransformTraits traits = (TransformTraits)Mode) const;
632 EIGEN_DEVICE_FUNC inline typename internal::cast_return_type<Transform,Transform<NewScalarType,Dim,Mode,Options> >::type cast() const
633 { return typename internal::cast_return_type<Transform,Transform<NewScalarType,Dim,Mode,Options> >::type(*this); }
637 EIGEN_DEVICE_FUNC inline explicit Transform(const Transform<OtherScalarType,Dim,Mode,Options>& other)
654 internal::transform_make_affine<int(Mode)>::run(m_matrix);
661 EIGEN_DEVICE_FUNC inline Block<MatrixType,int(Mode)==int(Projective)?HDim:Dim,Dim> linearExt()
662 { return m_matrix.template block<int(Mode)==int(Projective)?HDim:Dim,Dim>(0,0); }
667 EIGEN_DEVICE_FUNC inline const Block<MatrixType,int(Mode)==int(Projective)?HDim:Dim,Dim> linearExt() const
668 { return m_matrix.template block<int(Mode)==int(Projective)?HDim:Dim,Dim>(0,0); }
674 EIGEN_DEVICE_FUNC inline Block<MatrixType,int(Mode)==int(Projective)?HDim:Dim,1> translationExt()
675 { return m_matrix.template block<int(Mode)==int(Projective)?HDim:Dim,1>(0,Dim); }
680 EIGEN_DEVICE_FUNC inline const Block<MatrixType,int(Mode)==int(Projective)?HDim:Dim,1> translationExt() const
681 { return m_matrix.template block<int(Mode)==int(Projective)?HDim:Dim,1>(0,Dim); }
743 template<typename Scalar, int Dim, int Mode,int Options>
744 Transform<Scalar,Dim,Mode,Options>::Transform(const QMatrix& other)
754 template<typename Scalar, int Dim, int Mode,int Options>
755 Transform<Scalar,Dim,Mode,Options>& Transform<Scalar,Dim,Mode,Options>::operator=(const QMatrix& other)
758 if (Mode == int(AffineCompact))
774 template<typename Scalar, int Dim, int Mode, int Options>
775 QMatrix Transform<Scalar,Dim,Mode,Options>::toQMatrix(void) const
788 template<typename Scalar, int Dim, int Mode,int Options>
789 Transform<Scalar,Dim,Mode
799 template<typename Scalar, int Dim, int Mode, int Options>
800 Transform<Scalar,Dim,Mode,Options>& Transform<Scalar,Dim,Mode,Options>::operator=(const QTransform& other)
804 if (Mode == int(AffineCompact))
818 template<typename Scalar, int Dim, int Mode, int Options>
819 QTransform Transform<Scalar,Dim,Mode,Options>::toQTransform(void) const
822 if (Mode == int(AffineCompact))
841 template<typename Scalar, int Dim, int Mode, int Options>
843 EIGEN_DEVICE_FUNC Transform<Scalar,Dim,Mode,Options>&
844 Transform<Scalar,Dim,Mode,Options>::scale(const MatrixBase<OtherDerived> &other)
847 EIGEN_STATIC_ASSERT(Mode!=int(Isometry), THIS_METHOD_IS_ONLY_FOR_SPECIFIC_TRANSFORMATIONS)
856 template<typename Scalar, int Dim, int Mode, int Options>
857 EIGEN_DEVICE_FUNC inline Transform<Scalar,Dim,Mode,Options>& Transform<Scalar,Dim,Mode,Options>::scale(const Scalar& s)
859 EIGEN_STATIC_ASSERT(Mode!=int(Isometry), THIS_METHOD_IS_ONLY_FOR_SPECIFIC_TRANSFORMATIONS)
868 template<typename Scalar, int Dim, int Mode, int Options>
870 EIGEN_DEVICE_FUNC Transform<Scalar,Dim,Mode,Options>&
871 Transform<Scalar,Dim,Mode,Options>::prescale(const MatrixBase<OtherDerived> &other)
874 EIGEN_STATIC_ASSERT(Mode!=int(Isometry), THIS_METHOD_IS_ONLY_FOR_SPECIFIC_TRANSFORMATIONS)
883 template<typename Scalar, int Dim, int Mode, int Options>
884 EIGEN_DEVICE_FUNC inline Transform<Scalar,Dim,Mode,Options>& Transform<Scalar,Dim,Mode,Options>::prescale(const Scalar& s)
886 EIGEN_STATIC_ASSERT(Mode!=int(Isometry), THIS_METHOD_IS_ONLY_FOR_SPECIFIC_TRANSFORMATIONS)
895 template<typename Scalar, int Dim, int Mode, int Options>
897 EIGEN_DEVICE_FUNC Transform<Scalar,Dim,Mode,Options>&
898 Transform<Scalar,Dim,Mode,Options>::translate(const MatrixBase<OtherDerived> &other)
909 template<typename Scalar, int Dim, int Mode, int Options>
911 EIGEN_DEVICE_FUNC Transform<Scalar,Dim,Mode,Options>&
912 Transform<Scalar,Dim,Mode,Options>::pretranslate(const MatrixBase<OtherDerived> &other)
915 if(int(Mode)==int(Projective))
939 template<typename Scalar, int Dim, int Mode, int Options>
941 EIGEN_DEVICE_FUNC Transform<Scalar,Dim,Mode,Options>&
942 Transform<Scalar,Dim,Mode,Options>::rotate(const RotationType& rotation)
955 template<typename Scalar, int Dim, int Mode, int Options>
957 EIGEN_DEVICE_FUNC Transform<Scalar,Dim,Mode,Options>&
958 Transform<Scalar,Dim,Mode,Options>::prerotate(const RotationType& rotation)
970 template<typename Scalar, int Dim, int Mode, int Options>
971 EIGEN_DEVICE_FUNC Transform<Scalar,Dim,Mode,Options>&
972 Transform<Scalar,Dim,Mode,Options>::shear(const Scalar& sx, const Scalar& sy)
975 EIGEN_STATIC_ASSERT(Mode!=int(Isometry), THIS_METHOD_IS_ONLY_FOR_SPECIFIC_TRANSFORMATIONS)
986 template<typename Scalar, int Dim, int Mode, int Options>
987 EIGEN_DEVICE_FUNC Transform<Scalar,Dim,Mode,Options>&
988 Transform<Scalar,Dim,Mode,Options>::preshear(const Scalar& sx, const Scalar& sy)
991 EIGEN_STATIC_ASSERT(Mode!=int(Isometry), THIS_METHOD_IS_ONLY_FOR_SPECIFIC_TRANSFORMATIONS)
1000 template<typename Scalar, int Dim, int Mode, int Options>
1001 EIGEN_DEVICE_FUNC inline Transform<Scalar,Dim,Mode,Options>& Transform<Scalar,Dim,Mode,Options>::operator=(const TranslationType& t)
1009 template<typename Scalar, int Dim, int Mode, int Options>
1010 EIGEN_DEVICE_FUNC inline Transform<Scalar,Dim,Mode,Options> Transform<Scalar,Dim,Mode,Options>::operator*(const TranslationType& t) const
1017 template<typename Scalar, int Dim, int Mode, int Options>
1018 EIGEN_DEVICE_FUNC inline Transform<Scalar,Dim,Mode,Options>& Transform<Scalar,Dim,Mode,Options>::operator=(const UniformScaling<Scalar>& s)
1026 template<typename Scalar, int Dim, int Mode, int Options>
1028 EIGEN_DEVICE_FUNC inline Transform<Scalar,Dim,Mode,Options>& Transform<Scalar,Dim,Mode,Options>::operator=(const RotationBase<Derived,Dim>& r)
1036 template<typename Scalar, int Dim, int Mode, int Options>
1038 EIGEN_DEVICE_FUNC inline Transform<Scalar,Dim,Mode,Options> Transform<Scalar,Dim,Mode,Options>::operator*(const RotationBase<Derived,Dim>& r) const
1056 template<typename Scalar, int Dim, int Mode, int Options>
1057 EIGEN_DEVICE_FUNC const typename Transform<Scalar,Dim,Mode,Options>::LinearMatrixType
1058 Transform<Scalar,Dim,Mode,Options>::rotation() const
1077 template<typename Scalar, int Dim, int Mode, int Options>
1079 EIGEN_DEVICE_FUNC void Transform<Scalar,Dim,Mode,Options>::computeRotationScaling(RotationMatrixType *rotation, ScalingMatrixType *scaling) const
1106 template<typename Scalar, int Dim, int Mode, int Options>
1108 EIGEN_DEVICE_FUNC void Transform<Scalar,Dim,Mode,Options>::computeScalingRotation(ScalingMatrixType *scaling, RotationMatrixType *rotation) const
1127 template<typename Scalar, int Dim, int Mode, int Options>
1129 EIGEN_DEVICE_FUNC Transform<Scalar,Dim,Mode,Options>&
1130 Transform<Scalar,Dim,Mode,Options>::fromPositionOrientationScale(const MatrixBase<PositionDerived> &position,
1142 template<int Mode>
1161 template<typename TransformType, int Mode=TransformType::Mode>
1192 * The default is the template class parameter \c Mode.
1200 template<typename Scalar, int Dim, int Mode, int Options>
1201 EIGEN_DEVICE_FUNC Transform<Scalar,Dim,Mode,Options>
1202 Transform<Scalar,Dim,Mode,Options>::inverse(TransformTraits hint) const
1258 template<typename Other, int Mode, int Options, int Dim, int HDim>
1259 struct transform_construct_from_matrix<Other, Mode,Options,Dim,HDim, Dim,Dim>
1261 static inline void run(Transform<typename Other::Scalar,Dim,Mode,Options> *transform, const Other& other)
1269 template<typename Other, int Mode, int Options, int Dim, int HDim>
1270 struct transform_construct_from_matrix<Other, Mode,Options,Dim,HDim, Dim,HDim>
1272 static inline void run(Transform<typename Other::Scalar,Dim,Mode,Options> *transform, const Other& other)
1279 template<typename Other, int Mode, int Options, int Dim, int HDim>
1280 struct transform_construct_from_matrix<Other, Mode,Options,Dim,HDim, HDim,HDim>
1282 static inline void run(Transform<typename Other::Scalar,Dim,Mode,Options> *transform, const Other& other)
1302 Mode =
1400 template<typename Other,int Mode, int Options, int Dim, int HDim>
1401 struct transform_left_product_impl<Other,Mode,Options,Dim,HDim, HDim,HDim>
1403 typedef Transform<typename Other::Scalar,Dim,Mode,Options> TransformType;
1427 template<typename Other,int Mode, int Options, int Dim, int HDim>
1428 struct transform_left_product_impl<Other,Mode,Options,Dim,HDim, Dim,HDim>
1430 typedef Transform<typename Other::Scalar,Dim,Mode,Options> TransformType;
1459 template<typename Other,int Mode, int Options, int Dim, int HDim>
1460 struct transform_left_product_impl<Other,Mode,Options,Dim,HDim, Dim,Dim>
1462 typedef Transform<typename Other::Scalar,Dim,Mode,Options> TransformType;
1468 if(Mode!=int(AffineCompact))
1483 enum { ResultMode = transform_product_result<LhsMode,RhsMode>::Mode };