35 #ifndef ANATOMIST_WINDOW3D_BOXVIEWSLICE_H
36 #define ANATOMIST_WINDOW3D_BOXVIEWSLICE_H
81 void drawText(
float posx,
float posy,
const QString & text );
virtual void beginTrackball(int x, int y)
void setPlaneColor(float r, float g, float b, float a)
void removeObject(carto::rc_ptr< AObject > obj)
void clearAdditionalObjects()
virtual void endTrackball(int x, int y)
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...
QGraphicsView * graphicsView()
BoxViewSlice(Action *action)
void drawText(float posx, float posy, const QString &text)
std::list< carto::rc_ptr< AObject > > & additionalObjects()
void setObjectsReferential(Referential *ref)
void setCubeColor(float r, float g, float b, float a)
void addObject(carto::rc_ptr< AObject > obj)
void setTextColor(float r, float g, float b)
void updateText(const QString &)
virtual void moveTrackball(int x, int y)
Referential: marker for transformations, with an associated color.