const char INTERP_KERNEL::InterpolationOptions::BOUNDING_BOX_ADJ_STR[]="BoundingBoxAdjustment";
const char INTERP_KERNEL::InterpolationOptions::BOUNDING_BOX_ADJ_ABS_STR[]="BoundingBoxAdjustmentAbs";
+const char INTERP_KERNEL::InterpolationOptions::USE_DIRECTED_BOUNDING_BOX_STR[]="UseDirectedBoundingBox";
const char INTERP_KERNEL::InterpolationOptions::MAX_DISTANCE_3DSURF_INSECT_STR[]="MaxDistance3DSurfIntersect";
setMeasureAbsStatus(valBool);
return true;
}
+ else if(key==USE_DIRECTED_BOUNDING_BOX_STR)
+ {
+ setUseDirectedBoundingBox(value != 0);
+ return true;
+ }
else
return false;
}
bool do_rotate,
double bounding_box_adjustment,
double bounding_box_adjustment_abs,
+ bool use_directed_bounding_box,
double max_distance_for_3Dsurf_intersect,
long orientation,
bool measure_abs,
_do_rotate=do_rotate;
_bounding_box_adjustment=bounding_box_adjustment;
_bounding_box_adjustment_abs=bounding_box_adjustment_abs;
+ _use_directed_bounding_box = use_directed_bounding_box;
_max_distance_for_3Dsurf_intersect=max_distance_for_3Dsurf_intersect;
_orientation=orientation;
_measure_abs=measure_abs;
oss << "Do Rotate status : " << std::boolalpha << _do_rotate << std::endl;
oss << "Bounding box adj : " << _bounding_box_adjustment << std::endl;
oss << "Bounding box adj abs : " << _bounding_box_adjustment_abs << std::endl;
+ oss << "Use directed bounding box : " << _use_directed_bounding_box << std::endl;
oss << "Max distance for 3DSurf intersect : " << _max_distance_for_3Dsurf_intersect << std::endl;
oss << "Orientation : " << _orientation << std::endl;
oss << "Measure abs : " << _measure_abs << std::endl;
double _bounding_box_adjustment ;
//! this measure is absolute \b not relative to the cell size
double _bounding_box_adjustment_abs ;
+ bool _use_directed_bounding_box;
double _max_distance_for_3Dsurf_intersect;
int _orientation ;
bool _measure_abs;
double getBoundingBoxAdjustmentAbs() const { return _bounding_box_adjustment_abs; }
void setBoundingBoxAdjustmentAbs(double bba) { _bounding_box_adjustment_abs=bba; }
+
+ bool getUseDirectedBoundingBox() const { return _use_directed_bounding_box; }
+ void setUseDirectedBoundingBox(bool toUseDBB) { _use_directed_bounding_box = toUseDBB; }
double getMaxDistance3DSurfIntersect() const { return _max_distance_for_3Dsurf_intersect; }
void setMaxDistance3DSurfIntersect(double bba) { _max_distance_for_3Dsurf_intersect=bba; }
_do_rotate=true;
_bounding_box_adjustment=DFT_SURF3D_ADJ_EPS;
_bounding_box_adjustment_abs=0.;
+ _use_directed_bounding_box=false;
_max_distance_for_3Dsurf_intersect=DFT_MAX_DIST_3DSURF_INTERSECT;
_orientation=0;
_measure_abs=true;
bool do_rotate,
double bounding_box_adjustment,
double bounding_box_adjustment_abs,
+ bool use_directed_bounding_box,
double max_distance_for_3Dsurf_intersect,
long orientation,
bool measure_abs,
static const char MEDIANE_PLANE_STR[];
static const char BOUNDING_BOX_ADJ_STR[];
static const char BOUNDING_BOX_ADJ_ABS_STR[];
+ static const char USE_DIRECTED_BOUNDING_BOX_STR[];
static const char MAX_DISTANCE_3DSURF_INSECT_STR[];
static const char PRINT_LEV_STR[];
static const char DO_ROTATE_STR[];