Visualization of 2D-bluebrint' accessories: translucent rectangular substrate, basis axes, grid.
More...
|
| | PartSet_PreviewSketchPlane (PartSet_SketcherMgr *theManager) |
| |
|
| PartSet_PreviewSketchPlane (const PartSet_PreviewSketchPlane &)=delete |
| |
|
PartSet_PreviewSketchPlane & | operator= (const PartSet_PreviewSketchPlane &)=delete |
| |
|
void | savePreferencesIntoSketchData (std::shared_ptr< ModelAPI_CompositeFeature > theSketch) const |
| |
|
void | saveRectangularGridPreferencesIntoSketchData (std::shared_ptr< ModelAPI_CompositeFeature > theSketch) const |
| |
|
void | saveCircularGridPreferencesIntoSketchData (std::shared_ptr< ModelAPI_CompositeFeature > theSketch) const |
| |
| void | setCSAndSize (const gp_Ax3 &theCS, double theSize) |
| | Updates CS (coordinate system), dimensions and accessories' configuration. More...
|
| |
| bool | setAllUsingSketch (std::shared_ptr< ModelAPI_CompositeFeature > theSketch) |
| | Updates CS (coordinate system), dimensions and accessories' configuration. Updates visibility of accessories - visibility preferences are also retrieved from theSketch data. If sketch data contains uninitialized grid steps, the method assigns default ones. For rectangular grid default step is a fraction of corresponding dimension. More...
|
| |
| bool | reconfigureGrid () |
| | Call it, after any preference of grid, except grid type, is changed using methods of this instance. Updates grid configuration. Does not affect visibility of grid. More...
|
| |
| bool | reconfigureGridUsingSketch (std::shared_ptr< ModelAPI_CompositeFeature > theSketch) |
| | Call it, after any preference of grid is changed in theSketch data directly. Updates grid configuration. Updates grid visibility - preference is also retrieved from theSketch data. If sketch data contains uninitialized grid steps, the method assigns default ones. For rectangular grid default step is a fraction of corresponding dimension. More...
|
| |
| bool | showAxes (bool theShow) |
| |
| bool | showSubstrate (bool theShow) |
| |
| bool | setGridType (PartSet_Tools::SketchPlaneGridType::Enum theType) |
| | Changes grid type and reconfigures grid. Shows grid, if theType != SketchPlaneGridType::No. More...
|
| |
|
PartSet_Tools::SketchPlaneGridType::Enum | getGridType () const |
| |
| void | hideAll () |
| | Hides all accessories. More...
|
| |
| std::pair< double, double > | getDimensions () const |
| | Substrate dimensions. Substrate dimension coincides with one of the sketch face, if the latter is non-zero. More...
|
| |
|
bool | isShowAxes () const |
| |
|
bool | isShowSubstrate () const |
| |
|
bool | isShowGrid () const |
| |
|
GridSnappingMode | getGridSnappingMode () const |
| |
|
void | setGridSnappingMode (GridSnappingMode theMode) |
| |
| void | resetRectangularGrid () |
| | Sets default steps and zero offsets. More...
|
| |
|
void | setRectangularGridStepX (double theStepX) |
| |
|
void | setRectangularGridStepY (double theStepY) |
| |
|
std::pair< double, double > | getRectangularGridSteps () const |
| |
|
void | setRectangularGridOffsetX (double theOffsetX) |
| |
|
void | setRectangularGridOffsetY (double theOffsetY) |
| |
|
void | setRectangularGridOffsetA (double theOffsetAngle) |
| |
|
std::pair< std::pair< double, double >, double > | getRectangularGridOffsets () const |
| |
|
int | getRectangularGridDimOfNodeSpace () const |
| |
| void | resetCircularGrid () |
| | Sets default steps and zero offsets. More...
|
| |
|
void | setCircularGridRadialStep (double theStep) |
| |
|
void | setCircularGridNumOfAngularSegments (int theNum) |
| |
|
std::pair< double, int > | getCircularGrid_dR_and_NAS () const |
| |
|
void | setCircularGridOffsetX (double theOffset) |
| |
|
void | setCircularGridOffsetY (double theOffset) |
| |
|
void | setCircularGridOffsetA (double theOffset) |
| |
|
std::pair< std::pair< double, double >, double > | getCircularGridOffsets () const |
| |
|
int | getCircularGridDimOfNodeSpace () const |
| |
|
void | setUseSizeOfView (const bool isUseSizeOfView) |
| |
|
bool | isUseSizeOfView () const |
| |
Visualization of 2D-bluebrint' accessories: translucent rectangular substrate, basis axes, grid.
All methods do not modify sketch data, unless otherwise is stated.