![]() |
anatomist
5.1.2
3D neuroimaging data viewer
|
Self sliceable objects contain a plane (slice) information: slice position and orientation only depend on the object itself. More...
#include <anatomist/object/selfsliceable.h>
Public Member Functions | |
SelfSliceable () | |
SelfSliceable (const Point3df &pos, const aims::Quaternion &quat) | |
virtual | ~SelfSliceable () |
void | setOffset (const Point3df &pos) |
void | setQuaternion (const aims::Quaternion &quat) |
void | setSlice (const Point3df &pos, const aims::Quaternion &quat) |
aims::Quaternion | quaternion () const |
Point3df | offset () const |
void | setPlane (const Point4df &plane) |
alternative to setSlice() More... | |
Point4df | plane () const |
another way to get the slice plane More... | |
virtual void | sliceChanged () |
called when the slice definition has changed More... | |
virtual void | setOffsetSilent (const Point3df &pos) |
"silent" functions don't call sliceChanged() More... | |
virtual void | setQuaternionSilent (const aims::Quaternion &quat) |
"silent" functions don't call sliceChanged() More... | |
virtual void | setSliceSilent (const Point3df &pos, const aims::Quaternion &quat) |
"silent" functions don't call sliceChanged() More... | |
void | setPlaneSilent (const Point4df &plane) |
"silent" functions don't call sliceChanged() More... | |
void | makeSliceHeaderOptions (carto::Object options) const |
implement a part of AObject::makeHeaderOptions for slice description More... | |
void | setSliceProperties (carto::Object options) |
Protected Attributes | |
Point3df | _offset |
aims::Quaternion | _quaternion |
Self sliceable objects contain a plane (slice) information: slice position and orientation only depend on the object itself.
Definition at line 46 of file selfsliceable.h.
anatomist::SelfSliceable::SelfSliceable | ( | ) |
anatomist::SelfSliceable::SelfSliceable | ( | const Point3df & | pos, |
const aims::Quaternion & | quat | ||
) |
|
virtual |
void anatomist::SelfSliceable::makeSliceHeaderOptions | ( | carto::Object | options | ) | const |
implement a part of AObject::makeHeaderOptions for slice description
|
inline |
Definition at line 57 of file selfsliceable.h.
References _offset.
Point4df anatomist::SelfSliceable::plane | ( | ) | const |
another way to get the slice plane
Referenced by setPlane().
|
inline |
Definition at line 56 of file selfsliceable.h.
References _quaternion.
|
inline |
Definition at line 87 of file selfsliceable.h.
References setOffsetSilent(), and sliceChanged().
|
virtual |
"silent" functions don't call sliceChanged()
Referenced by setOffset().
|
inline |
alternative to setSlice()
Definition at line 109 of file selfsliceable.h.
References plane(), setPlaneSilent(), and sliceChanged().
void anatomist::SelfSliceable::setPlaneSilent | ( | const Point4df & | plane | ) |
"silent" functions don't call sliceChanged()
Referenced by setPlane().
|
inline |
Definition at line 93 of file selfsliceable.h.
References setQuaternionSilent(), sliceChanged(), and aims::Quaternion::vector().
|
virtual |
"silent" functions don't call sliceChanged()
Referenced by setQuaternion().
|
inline |
Definition at line 102 of file selfsliceable.h.
References setSliceSilent(), and sliceChanged().
void anatomist::SelfSliceable::setSliceProperties | ( | carto::Object | options | ) |
|
virtual |
"silent" functions don't call sliceChanged()
Referenced by setSlice().
|
inlinevirtual |
called when the slice definition has changed
Reimplemented in anatomist::Slice, anatomist::CutMesh, and anatomist::ClippedObject.
Definition at line 64 of file selfsliceable.h.
Referenced by setOffset(), setPlane(), setQuaternion(), and setSlice().
|
protected |
Definition at line 80 of file selfsliceable.h.
Referenced by offset().
|
protected |
Definition at line 81 of file selfsliceable.h.
Referenced by quaternion().