34 #ifndef ANA_WINDOW_VIEWSTATE_H
35 #define ANA_WINDOW_VIEWSTATE_H
49 struct SliceViewState;
107 bool slicewanted =
false,
Abstract base class Anatomist window.
Referential: marker for transformations, with an associated color.
Specialization for a sliceable object.
SliceViewState(const std::vector< float > &timedims, bool slicewanted=false, const Point3df &pos=Point3df(), const aims::Quaternion *orient=0, const Referential *wref=0, const Geometry *wgeom=0, const aims::Quaternion *vorient=0, AWindow *win=0, glSelectRenderMode=glSELECTRENDER_NONE)
virtual ~SliceViewState()
virtual const SliceViewState * sliceVS() const
const aims::Quaternion * vieworientation
const aims::Quaternion * orientation
virtual SliceViewState * sliceVS()
const Referential * winref
SliceViewState(float t=0, bool slicewanted=false, const Point3df &pos=Point3df(), const aims::Quaternion *orient=0, const Referential *wref=0, const Geometry *wgeom=0, const aims::Quaternion *vorient=0, AWindow *win=0, glSelectRenderMode=glSELECTRENDER_NONE)
ViewState holds information about how a view wants to see an object.
ViewState(float t=0, AWindow *win=0, glSelectRenderMode=glSELECTRENDER_NONE)
@ glSELECTRENDER_POLYGON
select a polygon in a mesh
@ glSELECTRENDER_OBJECTS
select multiple objects in a neighbourhood
@ glSELECTRENDER_NONE
no selection
@ glSELECTRENDER_OBJECT
select a single object
glSelectRenderMode selectRenderMode
virtual SliceViewState * sliceVS()
ViewState(const std::vector< float > &timedims, AWindow *win=0, glSelectRenderMode=glSELECTRENDER_NONE)
virtual const SliceViewState * sliceVS() const
std::vector< float > timedims