Rosetta
|
sphericalVector: Fast spherical-coordinate numeric vector More...
#include <sphericalVector.hh>
Public Types | |
typedef T | Value |
typedef T & | Reference |
typedef T const & | ConstReference |
typedef T * | Pointer |
typedef T const * | ConstPointer |
typedef T | value_type |
typedef T & | reference |
typedef T const & | const_reference |
typedef T * | pointer |
typedef T const * | const_pointer |
typedef void | iterator_category |
typedef void | difference_type |
Public Member Functions | |
sphericalVector () | |
Default constructor. More... | |
sphericalVector (sphericalVector const &v) | |
Copy constructor. More... | |
template<typename U > | |
sphericalVector (sphericalVector< U > const &v) | |
Copy constructor. More... | |
sphericalVector (Value const &phi_a, Value const &theta_a, Value const &radius_a) | |
Triple value constructor. More... | |
template<typename U > | |
sphericalVector (U const *p) | |
Pointer to contiguous values constructor. More... | |
~sphericalVector () | |
Destructor. More... | |
sphericalVector & | operator= (sphericalVector const &v) |
Copy assignment. More... | |
template<typename U > | |
sphericalVector & | operator= (sphericalVector< U > const &v) |
Copy assignment. More... | |
template<typename U > | |
sphericalVector & | operator= (U const *p) |
Assignment from pointer to contiguous values. More... | |
template<typename U > | |
sphericalVector & | operator+= (sphericalVector< U > const &v) |
+= xyzVector More... | |
template<typename U > | |
sphericalVector & | operator-= (sphericalVector< U > const &v) |
-= xyzVector More... | |
template<typename U > | |
sphericalVector & | scaled_assign (Value const &t, sphericalVector< U > const &v) |
Assign Value * xyzVector. More... | |
template<typename U > | |
sphericalVector & | scaled_add (Value const &t, sphericalVector< U > const &v) |
Add Value * xyzVector. More... | |
template<typename U > | |
sphericalVector & | scaled_sub (Value const &t, sphericalVector< U > const &v) |
Subtract Value * xyzVector. More... | |
sphericalVector & | operator= (Value const &t) |
= Value More... | |
sphericalVector & | operator+= (Value const &t) |
+= Value More... | |
sphericalVector & | operator-= (Value const &t) |
-= Value More... | |
sphericalVector & | operator*= (Value const &t) |
*= Value More... | |
sphericalVector & | operator/= (Value const &t) |
/= Value More... | |
sphericalVector & | assign (Value const &phi_a, Value const &theta_a, Value const &radius_a) |
Triple value assignment. More... | |
sphericalVector & | clear () |
Clear. More... | |
sphericalVector & | zero () |
Zero. More... | |
sphericalVector & | min (sphericalVector const &v) |
Set minimum coordinates wrt another xyzVector. More... | |
sphericalVector & | max (sphericalVector const &v) |
Set maximum coordinates wrt another xyzVector. More... | |
Value const & | phi () const |
Value x const. More... | |
Value & | phi () |
Value x. More... | |
Value const & | theta () const |
Value y const. More... | |
Value & | theta () |
Value y. More... | |
Value const & | radius () const |
Value z const. More... | |
Value & | radius () |
Value z. More... | |
void | phi (Value const &phi_a) |
x assignment More... | |
void | theta (Value const &theta_a) |
y assignment More... | |
void | radius (Value const &radius_a) |
z assignment More... | |
Private Attributes | |
Value | phi_ |
Coordinates of the 3 coordinate vector. More... | |
Value | theta_ |
Value | radius_ |
sphericalVector: Fast spherical-coordinate numeric vector
typedef T const* numeric::sphericalVector< T >::const_pointer |
typedef T const& numeric::sphericalVector< T >::const_reference |
typedef T const* numeric::sphericalVector< T >::ConstPointer |
typedef T const& numeric::sphericalVector< T >::ConstReference |
typedef void numeric::sphericalVector< T >::difference_type |
typedef void numeric::sphericalVector< T >::iterator_category |
typedef T* numeric::sphericalVector< T >::Pointer |
typedef T* numeric::sphericalVector< T >::pointer |
typedef T& numeric::sphericalVector< T >::Reference |
typedef T& numeric::sphericalVector< T >::reference |
typedef T numeric::sphericalVector< T >::Value |
typedef T numeric::sphericalVector< T >::value_type |
|
inline |
Default constructor.
|
inline |
Copy constructor.
|
inline |
Copy constructor.
|
inline |
Triple value constructor.
|
inlineexplicit |
Pointer to contiguous values constructor.
|
inline |
Destructor.
|
inline |
Triple value assignment.
References numeric::sphericalVector< T >::phi_, numeric::sphericalVector< T >::radius_, and numeric::sphericalVector< T >::theta_.
|
inline |
Clear.
References numeric::sphericalVector< T >::phi_, numeric::sphericalVector< T >::radius_, and numeric::sphericalVector< T >::theta_.
Referenced by pyrosetta.bindings.pose.ResidueLabelAccessor::discard().
|
inline |
Set maximum coordinates wrt another xyzVector.
References numeric::sphericalVector< T >::phi_, numeric::sphericalVector< T >::radius_, numeric::sphericalVector< T >::theta_, and kmeans_adaptive_kernel_density_bb_dependent_rotlib::v.
|
inline |
Set minimum coordinates wrt another xyzVector.
References numeric::sphericalVector< T >::phi_, numeric::sphericalVector< T >::radius_, numeric::sphericalVector< T >::theta_, and kmeans_adaptive_kernel_density_bb_dependent_rotlib::v.
|
inline |
*= Value
References numeric::sphericalVector< T >::phi_, numeric::sphericalVector< T >::radius_, predPRE::t, and numeric::sphericalVector< T >::theta_.
|
inline |
|
inline |
+= Value
References numeric::sphericalVector< T >::phi_, numeric::sphericalVector< T >::radius_, predPRE::t, and numeric::sphericalVector< T >::theta_.
|
inline |
|
inline |
-= Value
References numeric::sphericalVector< T >::phi_, numeric::sphericalVector< T >::radius_, predPRE::t, and numeric::sphericalVector< T >::theta_.
|
inline |
/= Value
References numeric::sphericalVector< T >::phi_, numeric::sphericalVector< T >::radius_, predPRE::t, and numeric::sphericalVector< T >::theta_.
|
inline |
|
inline |
|
inline |
Assignment from pointer to contiguous values.
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::p, numeric::sphericalVector< T >::phi_, numeric::sphericalVector< T >::radius_, and numeric::sphericalVector< T >::theta_.
|
inline |
= Value
References numeric::sphericalVector< T >::phi_, numeric::sphericalVector< T >::radius_, predPRE::t, and numeric::sphericalVector< T >::theta_.
|
inline |
Value x.
References numeric::sphericalVector< T >::phi_.
|
inline |
Value x const.
References numeric::sphericalVector< T >::phi_.
Referenced by numeric::spherical_to_xyz(), and numeric::xyz_to_spherical().
|
inline |
x assignment
References numeric::sphericalVector< T >::phi_.
|
inline |
Value z.
References numeric::sphericalVector< T >::radius_.
Referenced by pyrosetta.distributed.viewer.modules.setDisulfides::apply(), pyrosetta.distributed.viewer.modules.setHydrogenBonds::apply(), pyrosetta.distributed.viewer.modules.setHydrogens::apply(), pyrosetta.distributed.viewer.modules.setStyle::apply(), and test.Workshop9_my_shapes.MyCircle::area().
|
inline |
Value z const.
References numeric::sphericalVector< T >::radius_.
Referenced by pyrosetta.distributed.viewer.modules.setDisulfides::apply(), pyrosetta.distributed.viewer.modules.setHydrogenBonds::apply(), pyrosetta.distributed.viewer.modules.setHydrogens::apply(), pyrosetta.distributed.viewer.modules.setStyle::apply(), test.Workshop9_my_shapes.MyCircle::area(), numeric::spherical_to_xyz(), and numeric::xyz_to_spherical().
|
inline |
z assignment
References numeric::sphericalVector< T >::radius_.
Referenced by pyrosetta.distributed.viewer.modules.setDisulfides::apply(), pyrosetta.distributed.viewer.modules.setHydrogenBonds::apply(), pyrosetta.distributed.viewer.modules.setHydrogens::apply(), pyrosetta.distributed.viewer.modules.setStyle::apply(), and test.Workshop9_my_shapes.MyCircle::area().
|
inline |
Add Value * xyzVector.
References numeric::sphericalVector< T >::phi_, numeric::sphericalVector< T >::radius_, predPRE::t, numeric::sphericalVector< T >::theta_, and kmeans_adaptive_kernel_density_bb_dependent_rotlib::v.
|
inline |
Assign Value * xyzVector.
References numeric::sphericalVector< T >::phi_, numeric::sphericalVector< T >::radius_, predPRE::t, numeric::sphericalVector< T >::theta_, and kmeans_adaptive_kernel_density_bb_dependent_rotlib::v.
|
inline |
Subtract Value * xyzVector.
References numeric::sphericalVector< T >::phi_, numeric::sphericalVector< T >::radius_, predPRE::t, numeric::sphericalVector< T >::theta_, and kmeans_adaptive_kernel_density_bb_dependent_rotlib::v.
|
inline |
Value y.
References numeric::sphericalVector< T >::theta_.
|
inline |
Value y const.
References numeric::sphericalVector< T >::theta_.
Referenced by numeric::spherical_to_xyz(), and numeric::xyz_to_spherical().
|
inline |
y assignment
References numeric::sphericalVector< T >::theta_.
|
inline |
|
friend |
|
friend |
Add: xyzVector + Value.
Referenced by job_manager.MoveStatsWindow::__init__(), and pyrosetta.bindings.pose.ResidueLabelAccessor::discard().
|
friend |
Add: Value + xyzVector.
Referenced by job_manager.MoveStatsWindow::__init__(), and pyrosetta.bindings.pose.ResidueLabelAccessor::discard().
|
friend |
Divide: xyzVector / Value.
|
friend |
sphericalVector with max coordinates of two sphericalVector
|
friend |
xyzVector with min coordinates of two xyzVectors
|
friend |
Multiply: xyzVector * Value.
|
friend |
Multiply: Value * xyzVector.
|
friend |
|
friend |
sphericalVector * Value
|
friend |
Value * xyzVector.
|
friend |
|
friend |
sphericalVector + Value
|
friend |
Value + sphericalVector.
|
friend |
|
friend |
sphericalVector - Value
|
friend |
Value - sphericalVector.
|
friend |
xyzVector / Value
|
friend |
|
friend |
|
friend |
Subtract: xyzVector - Value.
|
friend |
Subtract: Value - sphericalVector.
|
private |
Coordinates of the 3 coordinate vector.
Referenced by numeric::sphericalVector< T >::assign(), numeric::sphericalVector< T >::clear(), numeric::sphericalVector< T >::max(), numeric::sphericalVector< T >::min(), numeric::sphericalVector< T >::operator*=(), numeric::sphericalVector< T >::operator+=(), numeric::sphericalVector< T >::operator-=(), numeric::sphericalVector< T >::operator/=(), numeric::sphericalVector< T >::operator=(), numeric::sphericalVector< T >::phi(), numeric::sphericalVector< T >::scaled_add(), numeric::sphericalVector< T >::scaled_assign(), numeric::sphericalVector< T >::scaled_sub(), and numeric::sphericalVector< T >::zero().
|
private |
Referenced by numeric::sphericalVector< T >::assign(), numeric::sphericalVector< T >::clear(), numeric::sphericalVector< T >::max(), numeric::sphericalVector< T >::min(), numeric::sphericalVector< T >::operator*=(), numeric::sphericalVector< T >::operator+=(), numeric::sphericalVector< T >::operator-=(), numeric::sphericalVector< T >::operator/=(), numeric::sphericalVector< T >::operator=(), numeric::sphericalVector< T >::radius(), numeric::sphericalVector< T >::scaled_add(), numeric::sphericalVector< T >::scaled_assign(), numeric::sphericalVector< T >::scaled_sub(), and numeric::sphericalVector< T >::zero().
|
private |
Referenced by numeric::sphericalVector< T >::assign(), numeric::sphericalVector< T >::clear(), numeric::sphericalVector< T >::max(), numeric::sphericalVector< T >::min(), numeric::sphericalVector< T >::operator*=(), numeric::sphericalVector< T >::operator+=(), numeric::sphericalVector< T >::operator-=(), numeric::sphericalVector< T >::operator/=(), numeric::sphericalVector< T >::operator=(), numeric::sphericalVector< T >::scaled_add(), numeric::sphericalVector< T >::scaled_assign(), numeric::sphericalVector< T >::scaled_sub(), numeric::sphericalVector< T >::theta(), and numeric::sphericalVector< T >::zero().