35 #ifndef ANATOMIST_WINDOW3D_BOXVIEWSLICE_H 36 #define ANATOMIST_WINDOW3D_BOXVIEWSLICE_H 81 void drawText(
float posx,
float posy,
const QString & text );
void updateText(const QString &)
std::pair< bool, float > lineIntersect(const Point3df &pnorm, float d, const Point3df &linedir, const Point3df &x0)
Intersect plane (pnorm, d) with line (linedir, x0) pnorm: normal vector to plane d: plane equation of...
void setCubeColor(float r, float g, float b, float a)
virtual void moveTrackball(int x, int y)
void drawText(float posx, float posy, const QString &text)
QGraphicsView * graphicsView()
virtual void beginTrackball(int x, int y)
void setObjectsReferential(Referential *ref)
BoxViewSlice(Action *action)
std::list< carto::rc_ptr< AObject > > & additionalObjects()
virtual void endTrackball(int x, int y)
void clearAdditionalObjects()
void addObject(carto::rc_ptr< AObject > obj)
void setPlaneColor(float r, float g, float b, float a)
Referential: marker for transformations, with an associated color.
reference_wrapper< T > ref(T &ref)
void setTextColor(float r, float g, float b)
void removeObject(carto::rc_ptr< AObject > obj)