13 #ifndef CXSLICEPROXY_H_
14 #define CXSLICEPROXY_H_
16 #include "cxResourceExport.h"
18 #include <boost/shared_ptr.hpp>
21 #include "boost/scoped_ptr.hpp"
31 typedef boost::shared_ptr<class Tool>
ToolPtr;
90 void setOrientation(ORIENTATION_TYPE orientation );
91 void setPlane(PLANE_TYPE plane );
92 void setFollowType(FOLLOW_TYPE followType);
93 void initializeFromPlane(PLANE_TYPE plane,
bool useGravity,
bool useViewOffset,
double viewportHeight,
double toolViewOffset);
95 void setGravity(
bool use,
const Vector3D& dir);
96 void setToolViewOffset(
bool use,
double viewportHeight,
double toolViewOffset);
97 void setToolViewportHeight(
double viewportHeight);
98 void setDefaultCenter(
const Vector3D& c);
99 void setAlwaysUseDefaultCenter(
bool on);
106 virtual void printSelf(std::ostream & os,
Indent indent);
115 void setUseTooltipOffset(
bool);
116 void setClinicalApplicationToFixedValue(CLINICAL_VIEW application);
119 void toolTransformAndTimestamp(
Transform3D prMt,
double timestamp);
120 void toolVisible(
bool visible);
123 void clinicalApplicationChangedSlot();
124 void tooltipOffsetSlot(
double val);
125 void toolTransformAndTimestampSlot(
Transform3D prMt,
double timestamp);
126 void toolVisibleSlot(
bool visible);
127 void centerChangedSlot();
136 boost::scoped_ptr<SliceComputer> mCutplane;
138 bool mAlwaysUseDefaultCenter;
140 bool mUseTooltipOffset;