Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
IDimCreateData Struct Referenceabstract

An object of this type is required to supply necessary information to DimensionHandler::CreateDimensionElement. More...

#include <DimensionHandler.h>

Public Member Functions

virtual ~IDimCreateData ()
 
virtual DimensionStyleCR _GetDimStyle () const =0
 Supplies style information for the new dimension. More...
 
virtual DgnTextStyleCR _GetTextStyle () const =0
 Supplies text style information for the new dimension. More...
 
virtual Symbology _GetSymbology () const =0
 Supplies color, linestyle and weight information for the new dimension. More...
 
virtual LevelId _GetLevelID () const =0
 Supplies the level for the new dimension. More...
 
virtual DirectionFormatterCR _GetDirFormat () const
 Supplies direction formatting information for the new dimension. Only called when creating label lines. More...
 
virtual int _GetViewNumber () const =0
 Supplies a view number which is stored on the dimension. The value will be ignored. More...
 
virtual RotMatrixCR _GetDimRMatrix () const =0
 Supplies a rotation matrix that determines the orientation of the dimension. More...
 
virtual RotMatrixCR _GetViewRMatrix () const =0
 Supplies a rotation matrix that determines the orientation of text within the dimension. More...
 
virtual bool _GetAnnScaleAllowed () const
 If true, the dimension will be assigned the model's annotation scale if appropriate given the style and model settings. More...
 

Protected Member Functions

 IDimCreateData ()
 

Protected Attributes

DirectionFormatterPtr m_dirFormatter
 

Detailed Description

An object of this type is required to supply necessary information to DimensionHandler::CreateDimensionElement.

The intended use is for applications to implement their own subclass of IDimCreateData, overriding each of the pure virtual methods.

Remarks
ustation.dll supplies its own implementation which can be used by applications that have access to it. To use it, call MstnDimensionUtils::CreateDimension which is not part of DgnPlatform.

Constructor & Destructor Documentation

IDimCreateData ( )
protected
virtual ~IDimCreateData ( )
virtual

Member Function Documentation

virtual bool _GetAnnScaleAllowed ( ) const
virtual

If true, the dimension will be assigned the model's annotation scale if appropriate given the style and model settings.

virtual RotMatrixCR _GetDimRMatrix ( ) const
pure virtual

Supplies a rotation matrix that determines the orientation of the dimension.

virtual DimensionStyleCR _GetDimStyle ( ) const
pure virtual

Supplies style information for the new dimension.

virtual DirectionFormatterCR _GetDirFormat ( ) const
virtual

Supplies direction formatting information for the new dimension. Only called when creating label lines.

virtual LevelId _GetLevelID ( ) const
pure virtual

Supplies the level for the new dimension.

virtual Symbology _GetSymbology ( ) const
pure virtual

Supplies color, linestyle and weight information for the new dimension.

virtual DgnTextStyleCR _GetTextStyle ( ) const
pure virtual

Supplies text style information for the new dimension.

virtual int _GetViewNumber ( ) const
pure virtual

Supplies a view number which is stored on the dimension. The value will be ignored.

virtual RotMatrixCR _GetViewRMatrix ( ) const
pure virtual

Supplies a rotation matrix that determines the orientation of text within the dimension.

Member Data Documentation

DirectionFormatterPtr m_dirFormatter
protected

The documentation for this struct was generated from the following file:

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.