All Frameworks Class Hierarchy This Framework Previous Next Indexes
DraftingInterfaces Interface CATIDftFramingDefinition
System.IUnknown
|
+---CATIDftFramingDefinition
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIDftFramingDefinition
Interface used to manage framing of the views.
Role: The framing is used to clip visually a view with polygones.
Method Index
- o
GetFramePoints(int,double*)
- Access to the frame points definition.
- o
GetFramingInformations(boolean*,int*,boolean*)
- Get the informations related to the frame : availability and number of definition points.
- o
SetFramePoints(double*,int)
- Set the points of the polygone 's frame definition.
- o
SetFramingAvailability(boolean)
- Set the availability of the frame.
- o
SetFramingProfileStatus(boolean)
- Set the visibility of the framing profile.
Methods
o GetFramePoints
public virtual HRESULT GetFramePoints( | const int | inbPoints, |
| double* | oPoints) = 0 |
-
Access to the frame points definition.
- Parameters:
-
- const
- int inbPoints
[in] number of points
- double
- * oPoints
[out] coordinates of points
Returns:
Un HRESULT
- S_OK
- operation successfull
- E_FAIL
- no frame available or unexpected error
o GetFramingInformations
public virtual HRESULT GetFramingInformations( | boolean* | oIsAvailable, |
| int* | oNbPoints, |
| boolean* | oProfileStatus) =0 |
-
Get the informations related to the frame : availability and number of definition points.
- Parameters:
-
- boolean*
- oIsAvailable
[out] TRUE : frame is available , FALSE : no frame available
- int*
- oNbPoints
[out] number of definition points
- boolean*
- oProfileStatus
[out] TRUE : framing profile is visible , FALSE : profile is hidden
Returns:
Un HRESULT
- S_OK
- operation successfull
- E_FAIL
- no frame available or unexpected error
o SetFramePoints
public virtual HRESULT SetFramePoints( | const double* | iCoordinates, |
| int | inbPoints)=0 |
-
Set the points of the polygone 's frame definition.
- Parameters:
-
- const
- double* & iCoordinates
[in] coordinates of the points
- int
- inbPoints
[in] number of points
Returns:
Un HRESULT
- S_OK
- operation successfull
- E_FAIL
- unexpected error occured
o SetFramingAvailability
public virtual HRESULT SetFramingAvailability( | const boolean | iAvailable)=0 |
-
Set the availability of the frame.
- Parameters:
-
- const
- boolean iAvailable
[in] availability of the frame
- Returns:
- Un HRESULT
- S_OK
- operation successfull
- E_FAIL
- no frame available or unexpected error
o SetFramingProfileStatus
public virtual HRESULT SetFramingProfileStatus( | const boolean | iStatus)=0 |
-
Set the visibility of the framing profile.
- Parameters:
-
- const
- boolean iStatus
[in] if TRUE, profile will be visible
- Returns:
- Un HRESULT
- S_OK
- operation successfull
- E_FAIL
- no frame available or unexpected error
This object is included in the file: CATIDftFramingDefinition.h
If needed, your Imakefile.mk should include the module: CATDraftingInterfaces