CATSketcherToolsUseItf CATSketcherSettings
Usage: you must use this class as is. You should never derive it.
public class CATSketcherSettings
Abstract class defining the setttings of the Sketcher behavior.
Precondition<\b>Only one instance of Sketcher settings exists in the same time. When an application
uses the sketcher component the sketcher settings must be initialized. If the application can not initialized
it, settings must be initialized to NULL to activate the protocol CATISketcherSettings
interface.
This interface exports 5 events. The type of these events are accessible by the following methods:
GridModification()
CpltModification()
SnapModification()
Visu3DUIModification()
GeomUIModification()
MultiModification()
Method Index
- o
CATDeclareCBEvent(GridModification)
- Defines the event to control the settings modification linked to the Grid.
- o
CATDeclareCBEvent(SnapModification)
- Defines the event to control the settings modification linked to the snap on the Grid.
- o
CATDeclareCBEvent(CpltModification)
- Defines the event to control the settings modification linked to the Smartpick.
- o
CATDeclareCBEvent(MultiModification)
- Defines the event to control the settings modification linked to several type of previous events.
- o
CATDeclareCBEvent(GeomUIModification)
- Defines the event to control the settings modification linked to the geometry management.
- o
CATDeclareCBEvent(Visu3DUIModification)
- Defines the event to control the settings modification linked to the visual behavior.
- o
GetAllowDistortions(void)
- Returns the mode of disproportion of the Grid.
- o
GetAllowDistortions(CATCkeScale)
- Returns the mode of disproportion of the Grid.
- o
GetColorConstructElts(unsigned int*,unsigned int*,unsigned int*)
- Returns the color of constructed elements.
- o
GetColorDiagElts(CAT2DCstDiag,unsigned int*,unsigned int*,unsigned int*)
- Returns the color code of the constraint elements.
- o
GetColorIsolatedElts(unsigned int*,unsigned int*,unsigned int*)
- Returns the color of isolated elements.
- o
GetColorProtectedElts(unsigned int*,unsigned int*,unsigned int*)
- Returns the color of protected elements.
- o
GetColorSmartPick(unsigned int*,unsigned int*,unsigned int*)
- Returns the color of picking assistant elements.
- o
GetCreateCenter(void)
- Returns the mode of creation of the circle center or ellipse center (check button).
- o
GetCreateConstraint(void)
- Returns the constraint creation mode detected by the picking assistant (check button).
- o
GetDiagElts(void)
- Returns the visualization mode of constraint elements diagnostic.
- o
GetDirHorVert(void)
- Returns the detection mode for elements created horizontally or vertically(check button).
- o
GetDirParaPerpTan(void)
- Returns the detection mode of parallelism, perpandicularity and tangent elements (check buttons) .
- o
GetDirParallel(void)
- Returns the detection mode of parallelism (check button)
- o
GetDirPerpend(void)
- Returns the detection mode of perpandicularity (check button)
- o
GetDirTangent(void)
- Returns the detection mode of tangent elements (check button)
- o
GetDragElts(void)
- Returns the dragging mode of sketch elements (check button).
- o
GetDragMode(void)
- Returns the dragging mode of sketch elements (radio-button).
- o
GetDragWithEndPts(void)
- Returns the dragging mode of the elements created in the sketch (check button).
- o
GetGridAdaptativeMode(void)
- Returns the mode of grid scaling w.
- o
GetGridGroundMode(void)
- Returns the visualization mode of the shadow Grid (check button).
- o
GetGridPrimSpac(void)
- Returns the step of the Grid in MKS unit.
- o
GetGridPrimSpac(CATCkeScale)
- Returns the step of the Grid in MKS unit.
- o
GetGridSecStep(void)
- Returns the number of graduations of the primary spacing.
- o
GetGridSecStep(CATCkeScale)
- Returns the number of graduations of the primary spacing.
- o
GetGridSnapMode(void)
- Returns the mode of points creation: On the Grid or not (Check Button).
- o
GetGridVPrimSpac(void)
- Returns the step of the Grid in the V direction in MKS unit.
- o
GetGridVPrimSpac(CATCkeScale)
- Returns the step of the Grid in the V direction in MKS unit.
- o
GetGridVSecStep(void)
- Returns the number of graduations in the V direction of the primary spacing.
- o
GetGridVSecStep(CATCkeScale)
- Returns the number of graduations in the V direction of the primary spacing.
- o
GetGridVisuMode(void)
- Returns the visualization mode of the grid (check button).
- o
GetPosHorVertTo(void)
- Returns the detection mode when the elements are created at the verticality or
horizontality of other element (check button)
- o
GetPosSupports(void)
- Returns the detection mode of the geometry.
- o
GetShowPosition()
- Returns the display of the H and V parameters in the toolbar.
- o
GetShowPositionOnCursor()
- Returns the display of the H and V parameters in the cursor.
- o
GetSketcherSettings(void)
- Returns the settings of the sketcher component used by the current application.
- o
GetValidateConstraint(void)
- Returns the constraint creation mode if a parameter is valuated in the toolbar "Sketchere Information" (check button)
- o
GetValidateCstType(CAT2DCstType)
- Returns the mode of creation of the given constraint.
- o
GetViewNormalTo(void)
- Returns the "enter" mode of the sketch (Check button).
- o
SaveRepository(void)
- Saves the repository of the sketcher settings.
- o
SetAllowDistortions(int,int)
- Defines le mode de disproportions de la grille.
- o
SetAllowDistortions(int,int,CATCkeScale)
- Defines le mode de disproportions de la grille.
- o
SetColorConstructElts(unsigned int,unsigned int,unsigned int,int)
- Defines the color code of constructed element.
- o
SetColorDiagElts(CAT2DCstDiag,unsigned int,unsigned int,unsigned int,int)
- Defines the color code by diagnostic.
- o
SetColorIsolatedElts(unsigned int,unsigned int,unsigned int,int)
- Defines the color code of isolated elements.
- o
SetColorProtectedElts(unsigned int,unsigned int,unsigned int,int)
- Defines the color code of protected elements.
- o
SetColorSmartPick(unsigned int,unsigned int,unsigned int,int)
- Defines the color code of the picking assistant element.
- o
SetCreateCenter(int,int)
- Defines the mode of circle centers creation or ellispe centers creation.
- o
SetCreateConstraint(int,int)
- Definit the creation mode of detected constraint by the picking assistant.
- o
SetDiagElts(int,int)
- Defines the visualization mode of constraint elements diagnostic.
- o
SetDirHorVert(int,int)
- Defines the detection mode of the picking assistant to create vertical or horizontal elements.
- o
SetDirParallel(int,int)
- Defines the detection mode fot the picking assistant to create an element parallel to an other element.
- o
SetDirPerpend(int,int)
- Defines the detection mode fot the picking assistant to create an element perpandicular to an other element.
- o
SetDirTangent(int,int)
- Defines the detection mode fot the picking assistant to create a tangent element to an other element.
- o
SetDragElts(int,int)
- Defines the mode of moving elements int the sketch.
- o
SetDragMode(int,int)
- Defines the mode of moving elements int the sketch.
- o
SetDragWithEndPts(int,int)
- Defines the mode of moving elements int the sketch.
- o
SetGridGroundMode(int,int)
- Defines the display of the shadow mode of the Grid.
- o
SetGridPrimSpac(double,int)
- Defines the primary spacing of the Grid in MKS (m).
- o
SetGridPrimSpac(double,int,CATCkeScale)
- Defines the primary spacing of the Grid in MKS (m).
- o
SetGridSecStep(int,int)
- Defines the number of graduations of the primary spacing.
- o
SetGridSecStep(int,int,CATCkeScale)
- Defines the number of graduations of the primary spacing.
- o
SetGridSnapMode(int,int)
- Defines the creation mode of points on the Grid.
- o
SetGridVPrimSpac(double,int)
- Definit le pas principal suivant V de la grille em MKS (m).
- o
SetGridVPrimSpac(double,int,CATCkeScale)
- Definit le pas principal suivant V de la grille em MKS (m).
- o
SetGridVSecStep(int,int)
- Defines the number of graduations in "V" direction of the primary spacing.
- o
SetGridVSecStep(int,int,CATCkeScale)
- Defines the number of graduations in "V" direction of the primary spacing.
- o
SetGridVisuMode(int,int)
- Defines the display of the Grid.
- o
SetPosHorVertTo(int,int)
- Defines the detection mode of the picking assistant for elements it le mode de detection de l'assistant pour la creation des elements
a l'horizontal ou a la vertical des autres elements.
- o
SetPosSupports(int,int)
- Defines the mode of geometry detection of support elements.
- o
SetShowPosition(int,int)
- Defines the display of position parameters (H and V) in the toolbar
- o
SetShowPositionOnCursor(int,int)
- Defines the display of position parameters (H and V) located on the cursor
- o
SetSketcherSettings(CATSketcherSettings*)
- Forces the initialization of the sketcher settings used by the application.
- o
SetValidateConstraint(int,int)
- Defines the creation mode of constraints if a parameter is valuated in the toolbar "Sketcher Information".
- o
SetViewNormalTo(int,int)
- Definit the "enter" mode in the sketch.
Methods
o CATDeclareCBEvent
| public CATDeclareCBEvent( | | ) |
-
Defines the event to control the settings modification linked to the Grid.
- See also:
-
o CATDeclareCBEvent
| public CATDeclareCBEvent( | | ) |
-
Defines the event to control the settings modification linked to the snap on the Grid.
- See also:
-
o CATDeclareCBEvent
| public CATDeclareCBEvent( | | ) |
-
Defines the event to control the settings modification linked to the Smartpick.
- See also:
-
o CATDeclareCBEvent
| public CATDeclareCBEvent( | | ) |
-
Defines the event to control the settings modification linked to several type of previous events.
- See also:
-
o CATDeclareCBEvent
| public CATDeclareCBEvent( | | ) |
-
Defines the event to control the settings modification linked to the geometry management.
- See also:
-
o CATDeclareCBEvent
| public CATDeclareCBEvent( | | ) |
-
Defines the event to control the settings modification linked to the visual behavior.
- See also:
-
o GetAllowDistortions
| public virtual GetAllowDistortions( | | ) |
-
Returns the mode of disproportion of the Grid.
- Returns:
- A int, if the value is not equal to zero, the H and the V of the Grid may be differente.
o GetAllowDistortions
| public virtual GetAllowDistortions( | | iScale | = CATNormalScale ) |
-
Returns the mode of disproportion of the Grid.
- Returns:
- A int, if the value is not equal to zero, the H and the V of the Grid may be differente.
- Parameters:
-
-
- CATCkeScale iScale
[in] Defines the scale for the distortion mode
o GetColorConstructElts
| public virtual GetColorConstructElts( | | iRed, |
| | iGreen, |
| | iBlue) |
-
Returns the color of constructed elements.
- Parameters:
-
-
- unsigned int * iRed
[out] red color code.
-
- unsigned int * iGreen
[out] green color code.
-
- unsigned int * iBlue
[out] blue color code.
o GetColorDiagElts
| public virtual GetColorDiagElts( | | iDiag, |
| | iRed, |
| | iGreen, |
| | iBlue) |
-
Returns the color code of the constraint elements.
- Parameters:
-
-
- CAT2DCstDiag iDiag
[in] type de diagnostique
-
- unsigned int * iRed
[out] red color code.
-
- unsigned int * iGreen
[out] green color code.
-
- unsigned int * iBlue
[out] blue color code.
o GetColorIsolatedElts
| public virtual GetColorIsolatedElts( | | iRed, |
| | iGreen, |
| | iBlue) |
-
Returns the color of isolated elements.
- Parameters:
-
-
- unsigned int * iRed
[out] red color code.
-
- unsigned int * iGreen
[out] green color code.
-
- unsigned int * iBlue
[out] blue color code.
o GetColorProtectedElts
| public virtual GetColorProtectedElts( | | iRed, |
| | iGreen, |
| | iBlue) |
-
Returns the color of protected elements.
- Parameters:
-
-
- unsigned int * iRed
[out] red color code.
-
- unsigned int * iGreen
[out] green color code.
-
- unsigned int * iBlue
[out] blue color code.
o GetColorSmartPick
| public virtual GetColorSmartPick( | | iRed, |
| | iGreen, |
| | iBlue) |
-
Returns the color of picking assistant elements.
- Parameters:
-
-
- unsigned int * iRed
[out] red color code.
-
- unsigned int * iGreen
[out] green color code.
-
- unsigned int * iBlue
[out] blue color code.
o GetCreateCenter
| public virtual GetCreateCenter( | | ) |
-
Returns the mode of creation of the circle center or ellipse center (check button).
- Returns:
- A int, if the value is not equal to zero, the centers ares created automatically.
o GetCreateConstraint
| public virtual GetCreateConstraint( | | ) |
-
Returns the constraint creation mode detected by the picking assistant (check button).
- Returns:
- A int, if the value is not equal to zero, the detection is activated.
o GetDiagElts
| public virtual GetDiagElts( | | ) |
-
Returns the visualization mode of constraint elements diagnostic.
- Returns:
- A int, if the value is not equal to zero, the diagnostic is displayed.
o GetDirHorVert
| public virtual GetDirHorVert( | | ) |
-
Returns the detection mode for elements created horizontally or vertically(check button).
- Returns:
- A int, if the value is not equal to zero, the detection is activated.
o GetDirParaPerpTan
| public virtual GetDirParaPerpTan( | | ) |
-
Returns the detection mode of parallelism, perpandicularity and tangent elements (check buttons) .
- Returns:
- A int, if the value is not equal to zero, all detections are activated.
o GetDirParallel
| public virtual GetDirParallel( | | ) |
-
Returns the detection mode of parallelism (check button)
- Returns:
- A int, if the value is not equal to zero, the detection is activated.
o GetDirPerpend
| public virtual GetDirPerpend( | | ) |
-
Returns the detection mode of perpandicularity (check button)
- Returns:
- A int, if the value is not equal to zero, the detection is activated.
o GetDirTangent
| public virtual GetDirTangent( | | ) |
-
Returns the detection mode of tangent elements (check button)
- Returns:
- A int, if the value is not equal to zero, the detection is activated.
o GetDragElts
| public virtual GetDragElts( | | ) |
-
Returns the dragging mode of sketch elements (check button).
- Returns:
- A int,if the value is not equal to zero, the moving of elements are authorized.
o GetDragMode
| public virtual GetDragMode( | | ) |
-
Returns the dragging mode of sketch elements (radio-button).
- Returns:
- A int
0 - Standard dragging
1 - Dragging with minimun moving
2 - Dragging in relaxation
o GetDragWithEndPts
| public virtual GetDragWithEndPts( | | ) |
-
Returns the dragging mode of the elements created in the sketch (check button).
- Returns:
- A int,if the value is not equal to zero, the elements are moved including the limit points.
o GetGridAdaptativeMode
| public virtual GetGridAdaptativeMode( | | ) |
-
Returns the mode of grid scaling w.r.t. current viewpoint (Check Button).
- Returns:
- A int, if the value is not equal to zero, the grid adapts itself to viewpoint (default adapter value is 0).
o GetGridGroundMode
| public virtual GetGridGroundMode( | | ) |
-
Returns the visualization mode of the shadow Grid (check button).
- Returns:
- A int, if the value is not equal to zero, the grid is shadowed.
o GetGridPrimSpac
| public virtual GetGridPrimSpac( | | ) |
-
Returns the step of the Grid in MKS unit.
- Returns:
- A double, returns the value of the Grid step in MKS unit (m).
o GetGridPrimSpac
| public virtual GetGridPrimSpac( | | iScale | = CATNormalScale ) |
-
Returns the step of the Grid in MKS unit.
- Returns:
- a double, returns the value of the Grid step in MKS unit (m).
- Parameters:
-
-
- CATCkeScale iScale
[in] Defines the scale for the grid step value
o GetGridSecStep
| public virtual GetGridSecStep( | | ) |
-
Returns the number of graduations of the primary spacing.
- Returns:
- A int, returns this value.
o GetGridSecStep
| public virtual GetGridSecStep( | | iScale | = CATNormalScale) |
-
Returns the number of graduations of the primary spacing.
- Returns:
- A int, returns this value.
- Parameters:
-
-
- CATCkeScale iScale
[in] Defines the scale for the number of graduation
o GetGridSnapMode
| public virtual GetGridSnapMode( | | ) |
-
Returns the mode of points creation: On the Grid or not (Check Button).
- Returns:
- A int, if the value is not equal to zero, the points are created on the Grid.
o GetGridVPrimSpac
| public virtual GetGridVPrimSpac( | | ) |
-
Returns the step of the Grid in the V direction in MKS unit.
- Returns:
- A double, returns the value of the Grid step in MKS unit (m).
o GetGridVPrimSpac
| public virtual GetGridVPrimSpac( | | iScale | = CATNormalScale) |
-
Returns the step of the Grid in the V direction in MKS unit.
- Returns:
- A double, returns the value of the Grid step in MKS unit (m).
- Parameters:
-
-
- CATCkeScale iScale
[in] Defines the scale for the grid step value
o GetGridVSecStep
| public virtual GetGridVSecStep( | | ) |
-
Returns the number of graduations in the V direction of the primary spacing.
- Returns:
- A int, returns the number of the subdivisions.
o GetGridVSecStep
| public virtual GetGridVSecStep( | | iScale | = CATNormalScale ) |
-
Returns the number of graduations in the V direction of the primary spacing.
- Returns:
- A int, returns the number of the subdivisions.
- Parameters:
-
-
- CATCkeScale iScale
[in] Defines the scale for the number of graduation
o GetGridVisuMode
| public virtual GetGridVisuMode( | | ) |
-
Returns the visualization mode of the grid (check button).
- Returns:
- A int, if the value is not equal to zero, the grid is visible.
o GetPosHorVertTo
| public virtual GetPosHorVertTo( | | ) |
-
Returns the detection mode when the elements are created at the verticality or
horizontality of other element (check button)
- Returns:
- A int, if the value is not equal to zero, the detection is activated.
o GetPosSupports
| public virtual GetPosSupports( | | ) |
-
Returns the detection mode of the geometry.
- Returns:
- A int, if the value is not equal to zero, the detection is activated.
o GetShowPosition
| public virtual GetShowPosition( | ) |
-
Returns the display of the H and V parameters in the toolbar.
- Returns:
- A int
Legal Values:
- 0
- The parameters are not displayed in the toolbar
- 1
- The parameters are displayed in the toolbar
o GetShowPositionOnCursor
| public virtual GetShowPositionOnCursor( | ) |
-
Returns the display of the H and V parameters in the cursor.
- Returns:
- A int
Legal Values:
- 0
- The parameters are not displayed in the cursor
- 1
- The parameters are displayed in the cursor
o GetSketcherSettings
| public static GetSketcherSettings( | | ) |
-
Returns the settings of the sketcher component used by the current application. Si il n'existe pas de
settings courants alors les settings geres par l'objet UIActif courant (grace a son adhesion a
l'interface CATISketcherSettings) sont retournes
o GetValidateConstraint
| public virtual GetValidateConstraint( | | ) |
-
Returns the constraint creation mode if a parameter is valuated in the toolbar "Sketchere Information" (check button)
- Returns:
- A int, if the value is not equal to zero, the constraints are created automatically.
o GetValidateCstType
| public virtual GetValidateCstType( | | iCstType) |
-
Returns the mode of creation of the given constraint.
- Parameters:
-
-
- CAT2DCstType iCstType
- Returns:
- A int, if the value is not equal to zero, the constraints are created automatically.
o GetViewNormalTo
| public virtual GetViewNormalTo( | | ) |
-
Returns the "enter" mode of the sketch (Check button).
- Returns:
- A int, if the value is not equal to zero, the point of view is parallel to the sketch plane.
o SaveRepository
| public virtual SaveRepository( | | ) |
-
Saves the repository of the sketcher settings.
- Returns:
- A HRESULT.
o SetAllowDistortions
| public virtual SetAllowDistortions( | | iCheck, |
| | iEvt) |
-
Defines le mode de disproportions de la grille.
- Parameters:
-
-
- int iCheck
[in] specifie le mode de disproportion.
-
- int iEvt
[in] iEvt: If the value is not equal to zero, an event is propagated in the current sketch.
o SetAllowDistortions
| public virtual SetAllowDistortions( | | iCheck, |
| | iEvt, |
| | iScale | = CATNormalScale ) |
-
Defines le mode de disproportions de la grille.
- Parameters:
-
-
- int iCheck
[in] specifie le mode de disproportion.
-
- int iEvt
[in] iEvt: If the value is not equal to zero, an event is propagated in the current sketch.
-
- CATCkeScale iScale
[in] Defines the scale for the distortion mode
o SetColorConstructElts
| public virtual SetColorConstructElts( | | iRed, |
| | iGreen, |
| | iBlue, |
| | iEvt) |
-
Defines the color code of constructed element.
- Parameters:
-
-
- unsigned int iRed
[in] red code color (0<=iRed<=255)
-
- unsigned int iGreen
[in] green code color (0<=iGreen<=255)
-
- unsigned int iBlue
[in] blue code color (0<=iBlue<=255)
o SetColorDiagElts
| public virtual SetColorDiagElts( | | iDiag, |
| | iRed, |
| | iGreen, |
| | iBlue, |
| | iEvt) |
-
Defines the color code by diagnostic.
- Parameters:
-
-
- CAT2DCstDiag iDiag
[in] type de diagnostique
-
- unsigned int iRed
[in] red code color (0<=iRed<=255)
-
- unsigned int iGreen
[in] green code color (0<=iGreen<=255)
-
- unsigned int iBlue
[in] blue code color (0<=iBlue<=255)
o SetColorIsolatedElts
| public virtual SetColorIsolatedElts( | | iRed, |
| | iGreen, |
| | iBlue, |
| | iEvt) |
-
Defines the color code of isolated elements.
- Parameters:
-
-
- unsigned int iRed
[in] red code color (0<=iRed<=255)
-
- unsigned int iGreen
[in] green code color (0<=iGreen<=255)
-
- unsigned int iBlue
[in] blue code color (0<=iBlue<=255)
o SetColorProtectedElts
| public virtual SetColorProtectedElts( | | iRed, |
| | iGreen, |
| | iBlue, |
| | iEvt) |
-
Defines the color code of protected elements.
- Parameters:
-
-
- unsigned int iRed
[in] red code color (0<=iRed<=255)
-
- unsigned int iGreen
[in] green code color (0<=iGreen<=255)
-
- unsigned int iBlue
[in] blue code color (0<=iBlue<=255)
o SetColorSmartPick
| public virtual SetColorSmartPick( | | iRed, |
| | iGreen, |
| | iBlue, |
| | iEvt) |
-
Defines the color code of the picking assistant element.
- Parameters:
-
-
- unsigned int iRed
[in] red code color (0<=iRed<=255)
-
- unsigned int iGreen
[in] green code color (0<=iGreen<=255)
-
- unsigned int iBlue
[in] blue code color (0<=iBlue<=255)
o SetCreateCenter
| public virtual SetCreateCenter( | | iCheck, |
| | iEvt) |
-
Defines the mode of circle centers creation or ellispe centers creation.
- Parameters:
-
-
- int iCheck
[in] if the value is not equal to zero, centers are automatically created.
-
- int iEvt
[in] iEvt: If the value is not equal to zero, an event is propagated in the current sketch.
o SetCreateConstraint
| public virtual SetCreateConstraint( | | iCheck, |
| | iEvt) |
-
Definit the creation mode of detected constraint by the picking assistant.
- Parameters:
-
-
- int iCheck
[in] If the value is not equal to zero, constraints are created.
-
- int iEvt
[in] iEvt: If the value is not equal to zero, an event is propagated in the current sketch.
o SetDiagElts
| public virtual SetDiagElts( | | iCheck, |
| | iEvt) |
-
Defines the visualization mode of constraint elements diagnostic.
- Returns:
- Un int, if the value is not equal to zero,the diagnostic is displayed.
o SetDirHorVert
| public virtual SetDirHorVert( | | iCheck, |
| | iEvt) |
-
Defines the detection mode of the picking assistant to create vertical or horizontal elements.
- Parameters:
-
-
- int iCheck
[in] If the value is not equal to zero the detection mode is activated.
-
- int iEvt
[in] iEvt: If the value is not equal to zero, an event is propagated in the current sketch.
o SetDirParallel
| public virtual SetDirParallel( | | iCheck, |
| | iEvt) |
-
Defines the detection mode fot the picking assistant to create an element parallel to an other element. (check button)
- Parameters:
-
-
- int iCheck
[in] If the value is not equal to zero the detection mode is activated.
-
- int iEvt
[in] iEvt: If the value is not equal to zero, an event is propagated in the current sketch.
o SetDirPerpend
| public virtual SetDirPerpend( | | iCheck, |
| | iEvt) |
-
Defines the detection mode fot the picking assistant to create an element perpandicular to an other element. (check button)
- Parameters:
-
-
- int iCheck
[in] If the value is not equal to zero the detection mode is activated.
-
- int iEvt
[in] iEvt: If the value is not equal to zero, an event is propagated in the current sketch.
o SetDirTangent
| public virtual SetDirTangent( | | iCheck, |
| | iEvt) |
-
Defines the detection mode fot the picking assistant to create a tangent element to an other element. (check button)
- Parameters:
-
-
- int iCheck
[in] If the value is not equal to zero the detection mode is activated.
-
- int iEvt
[in] iEvt: If the value is not equal to zero, an event is propagated in the current sketch.
o SetDragElts
| public virtual SetDragElts( | | iCheck, |
| | iEvt) |
-
Defines the mode of moving elements int the sketch.
- Parameters:
-
-
- int iCheck
[in]If the value is not equal to zero, the moving of elements are authorized.
-
- int iEvt
[in] iEvt: If the value is not equal to zero, an event is propagated in the current sketch.
o SetDragMode
| public virtual SetDragMode( | | iDragMode, |
| | iEvt) |
-
Defines the mode of moving elements int the sketch.
- Parameters:
-
-
- int iDragMode
[in] mode of moving
0 - Standard Dragging
1 - Minimun dragging moving
2 - Relaxation dragging
-
- int iEvt
[in] iEvt: If the value is not equal to zero, an event is propagated in the current sketch.
o SetDragWithEndPts
| public virtual SetDragWithEndPts( | | iCheck, |
| | iEvt) |
-
Defines the mode of moving elements int the sketch.
- Parameters:
-
-
- int iCheck
[in] If the value is not equal to zero, the elements are moved by including limit points
-
- int iEvt
[in] iEvt: If the value is not equal to zero, an event is propagated in the current sketch.
o SetGridGroundMode
| public virtual SetGridGroundMode( | | iCheck, |
| | iEvt) |
-
Defines the display of the shadow mode of the Grid.
- Parameters:
-
-
- int iCheck
[in] If the value is not equal to zero, the shadow mode is displayed.
-
- int iEvt
[in] iEvt: If the value is not equal to zero; an event is propagated in the current sketch.
o SetGridPrimSpac
| public virtual SetGridPrimSpac( | | iSpacing, |
| | iEvt) |
-
Defines the primary spacing of the Grid in MKS (m).
- Parameters:
-
-
- double iSpacing
[in] Value of the primary spacing in MKS (m).
-
- int iEvt
[in] iEvt: If the value is not equal to zero, an event is propagated in the current sketch.
o SetGridPrimSpac
| public virtual SetGridPrimSpac( | | iSpacing, |
| | iEvt, |
| | iScale | = CATNormalScale ) |
-
Defines the primary spacing of the Grid in MKS (m).
- Parameters:
-
-
- double iSpacing
[in] Value of the primary spacing in MKS (m).
-
- int iEvt
[in] iEvt: If the value is not equal to zero, an event is propagated in the current sketch.
-
- CATCkeScale iScale
[in] Defines the scale for the grid step value
o SetGridSecStep
| public virtual SetGridSecStep( | | iStep, |
| | iEvt) |
-
Defines the number of graduations of the primary spacing.
- Parameters:
-
-
- int iStep
[in] value of the number of subdivisions.
-
- int iEvt
[in] iEvt: If the value is not equal to zero, an event is propagated in the current sketch.
o SetGridSecStep
| public virtual SetGridSecStep( | | iStep, |
| | iEvt, |
| | iScale | = CATNormalScale ) |
-
Defines the number of graduations of the primary spacing.
- Parameters:
-
-
- int iStep
[in] value of the number of subdivisions.
-
- int iEvt
[in] iEvt: If the value is not equal to zero, an event is propagated in the current sketch.
-
- CATCkeScale iScale
[in] Defines the scale for the number of graduation
o SetGridSnapMode
| public virtual SetGridSnapMode( | | iCheck, |
| | iEvt) |
-
Defines the creation mode of points on the Grid.
- Parameters:
-
-
- int iCheck
[in] If the value is not equal to zero, points are created on the Grid.
-
- int iEvt
[in] iEvt: If the value is not equal to zero, an event is propagated in the current sketch.
o SetGridVPrimSpac
| public virtual SetGridVPrimSpac( | | iSpacing, |
| | iEvt) |
-
Definit le pas principal suivant V de la grille em MKS (m).
- Parameters:
-
-
- double iSpacing
[in] specifie la valeur du pas principal en MKS (m).
-
- int iEvt
[in] iEvt: If the value is not equal to zero, an event is propagated in the current sketch.
o SetGridVPrimSpac
| public virtual SetGridVPrimSpac( | | iSpacing, |
| | iEvt, |
| | iScale | = CATNormalScale ) |
-
Definit le pas principal suivant V de la grille em MKS (m).
- Parameters:
-
-
- double iSpacing
[in] specifie la valeur du pas principal en MKS (m).
-
- int iEvt
[in] iEvt: If the value is not equal to zero, an event is propagated in the current sketch.
-
- CATCkeScale iScale
[in] Defines the scale for the grid step value
o SetGridVSecStep
| public virtual SetGridVSecStep( | | iStep, |
| | iEvt) |
-
Defines the number of graduations in "V" direction of the primary spacing.
- Parameters:
-
-
- int iStep
[in] value of the number of graduations.
-
- int iEvt
[in] iEvt: If the value is not equal to zero, an event is propagated in the current sketch.
o SetGridVSecStep
| public virtual SetGridVSecStep( | | iStep, |
| | iEvt, |
| | iScale | = CATNormalScale ) |
-
Defines the number of graduations in "V" direction of the primary spacing.
- Parameters:
-
-
- int iStep
[in] value of the number of graduations.
-
- int iEvt
[in] iEvt: If the value is not equal to zero, an event is propagated in the current sketch.
-
- CATCkeScale iScale
[in] Defines the scale for the number of graduation
o SetGridVisuMode
| public virtual SetGridVisuMode( | | iCheck, |
| | iEvt) |
-
Defines the display of the Grid.
- Parameters:
-
-
- int iCheck
[in] If the value is not equal to zero the Grid is displayed.
-
- int iEvt
[in] iEvt: If the value is not equal to zero, an event is propagated.
o SetPosHorVertTo
| public virtual SetPosHorVertTo( | | iCheck, |
| | iEvt) |
-
Defines the detection mode of the picking assistant for elements it le mode de detection de l'assistant pour la creation des elements
a l'horizontal ou a la vertical des autres elements.
- Parameters:
-
-
- int iCheck
[in] If the value is not equal to zero the detection mode is activated.
-
- int iEvt
[in] iEvt: If the value is not equal to zero, an event is propagated in the current sketch.
o SetPosSupports
| public virtual SetPosSupports( | | iCheck, |
| | iEvt) |
-
Defines the mode of geometry detection of support elements.
- Parameters:
-
-
- int iCheck
[in] If the value is not equal to zero the detection mode is activated.
-
- int iEvt
[in] iEvt: If the value is not equal to zero, an event is propagated in the current sketch.
o SetShowPosition
| public virtual SetShowPosition( | | iShow, |
| | iEvt) |
-
Defines the display of position parameters (H and V) in the toolbar
- Parameters:
-
- unsigned
- int iShow
[in] value
Legal value:
- 0
- Parameters are not displayed in the toolbar.
- 1
- Parameters are displayes in the toolbar.
- int
- iEvt
[in] iEvt: If the value is not equal to zero, an event is propagated in the current sketch.
o SetShowPositionOnCursor
| public virtual SetShowPositionOnCursor( | | iShow, |
| | iEvt) |
-
Defines the display of position parameters (H and V) located on the cursor
- Parameters:
-
- unsigned
- int iShow
[in] : Legal values:
- 0
- Parameters are not displayed on the cursor.
- 1
- Parameters are displayes on the cursor.
- int
- iEvt
[in] iEvt: If the value is not equal to zero, an event is propagated in the current sketch.
Valeurs legales :
o SetSketcherSettings
| public static SetSketcherSettings( | | iSettings) |
-
Forces the initialization of the sketcher settings used by the application.
- Parameters:
-
- CATSketcherSettings
- * iSettings
[in] The concrete instance of the setting to activate. This argument may be
NULL to initialize the standard management of the settings by using CATISketcherSettings interface.
o SetValidateConstraint
| public virtual SetValidateConstraint( | | iCheck, |
| | iEvt) |
-
Defines the creation mode of constraints if a parameter is valuated in the toolbar "Sketcher Information".
- Parameters:
-
-
- int iCheck
[in] If the value is not equal to zero, constraints are created.
-
- int iEvt
[in] iEvt: If the value is not equal to zero, an event is propagated in the current sketch.
o SetViewNormalTo
| public virtual SetViewNormalTo( | | iCheck, |
| | iEvt) |
-
Definit the "enter" mode in the sketch.
- Parameters:
-
-
- int iCheck
[in] if the value is not equal to zero, the sketh is openned with the projection plane parallel to the screen.
-
- int iEvt
[in] iEvt: If the value is not equal to zero, an event is propagated in the current sketch.
This object is included in the file: CATSketcherSettings.h
If needed, your Imakefile.mk should include the module: CATSktToolsUseItf1
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.