
#include <Vector3DBlock.h>
Inheritance diagram for ProtoMol::Vector3DBlock:

Public Member Functions | |
| Vector3DBlock () | |
| Vector3DBlock (size_t size) | |
| Vector3DBlock (size_t size, const Vector3D &init) | |
| void | zero (int n=-1) |
| void | cleaR () |
| Vector3DBlock & | intoAssign (const Vector3DBlock &x) |
| Vector3DBlock & | intoAdd (const Vector3DBlock &x) |
| Vector3DBlock & | intoSubtract (const Vector3DBlock &x) |
| Vector3DBlock & | intoWeightedAdd (Real weight, const Vector3DBlock &x) |
| Vector3DBlock & | intoWeighted (Real weight, const Vector3DBlock &x) |
| Vector3DBlock & | intoWeightedSubtract (Real weight, const Vector3DBlock &x) |
| void | boundingbox (Vector3D &minbb, Vector3D &maxbb) const |
| Vector3D | sum () const |
| bool | fitplane (Vector3D &normal, Real &d, Real &err, int limit=LIMIT) const |
Private Types | |
| enum | { LIMIT = 30 } |
Private Member Functions | |
| void | clear () |
|
|
|
|
|
Make an empty Vector3DBlock object.
|
|
|
Make a Vector3DBlock with 'size' elements.
|
|
||||||||||||
|
Make a Vector3DBlock with 'size' elements and initialize them with init.
|
|
||||||||||||
|
Compute the boinding box over all elements.
|
|
|
|
|
|
Catch all clear.
|
|
||||||||||||||||||||
|
Compute regression plane by SVD.
|
|
|
Add another Vector3DBlock into this one.
|
|
|
copy one Vector3DBlock to another one.
|
|
|
Subtract another Vector3DBlock from this one.
|
|
||||||||||||
|
Add a scalar multiple of another Vector3DBlock into this one.
|
|
||||||||||||
|
Add a scalar multiple of another Vector3DBlock into this one.
|
|
||||||||||||
|
Subtract a scalar multiple of another Vector3DBlock from this one.
|
|
|
Compute the sum over all elements.
|
|
|
Clear (set to zero) each element of the vector.
|