C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2
MaCallout Class Reference

Callout is the parent of all classes for callouts of different types. More...

#include <conv_annotation_item.h>

+ Inheritance diagram for MaCallout:
+ Collaboration diagram for MaCallout:

Public Member Functions

virtual Mae_AnnotationType IsA () const
 Get the object type.
 
virtual Mae_AnnotationType Type () const
 Get the group type of the object.
 
virtual SPtr< MaAnnotationItemShallowDuplicateTransform (const MbMatrix3D &, MbRegDuplicate *=nullptr)
 Create a replica then transform it.
 
void AddLeaderLine (const MaDecoratedCurve &leader)
 Add leader line.
 
void AddLeaderLines (const std::vector< MaDecoratedCurve > &leaders)
 Add leader line.
 
size_t LeaderLinesCount () const
 Get number of leader lines.
 
bool LeaderLineInfo (size_t index, MaDecoratedCurve &callout) const
 Get of leader lines at specified index.
 
- Public Member Functions inherited from MaAnnotationItem
 MaAnnotationItem (const MbPlacement3D &loc)
 Constructor by annotation plane.
 
virtual ~MaAnnotationItem ()
 Destructor.
 
virtual bool VisualItemsEmpty () const
 Whether the visual representation is empty.
 
bool GeometryEmpty () const
 Whether there are no geometric items.
 
bool TextEmpty () const
 Whether there are no text items.
 
void AddGeometricAnnotationElement (const MbItem &)
 Add the geometric visual annotation element of the kernel.
 
void AddAnnotationGeometryTo (std::vector< SPtr< MbItem > > &addTo) const
 Add own geometric visual annotation elements to container.
 
size_t TextItemsCount () const
 Count of text items.
 
SPtr< MaTextItemTextItem (size_t) const
 Get specified text item.
 
template<typename In >
void SetAnnotationGeometry (In first, In last)
 Set the annotation objects of the kernel.
 
template<typename Out >
void GetAnnotationGeometry (Out dest) const
 Get the annotation objects of the kernel. Method push_back should be defined for the receiver.
 
template<typename In >
void SetAnnotationText (In first, In last)
 Get the text annotation object.
 
template<typename Out >
void GetAnnotationText (Out dest) const
 Get text annotation objects. Method push_back should be defined for the receiver.
 
void AddPlaneItems (const std::vector< SPtr< MbPlaneItem > > &)
 Add planar objects to geometric objects using current location.
 
void SetLocation (const MbPlacement3D &loc)
 Specify LCS.
 
MbPlacement3D GetLocation () const
 Get LCS.
 
void SetC3dName (const c3d::string_t &nm)
 Specify name.
 
c3d::string_t GetC3dName () const
 Specify name.
 
void SetVisibility (bool v)
 Set visibility.
 
bool IsVisible () const
 Is object vivible.
 
void InitExceplLocation (const MaAnnotationItem &init)
 Init all fields except for location according to the specified item.
 
- Public Member Functions inherited from MbRefItem
virtual MbeRefType RefType () const
 Registration type (for copying, duplication).
 
refcount_t GetUseCount () const
 Get count of references (get count of owners of an object).
 
refcount_t AddRef () const
 Increase count of references by one.
 
refcount_t DecRef () const
 Decrease count of references by one.
 
refcount_t Release () const
 Decrease count of references by one and if count of references became zero, then remove itself.
 

Static Public Member Functions

static MaCalloutCreate (const MbPlacement3D &location, Mae_AnnotationType subtype)
 Create object of specified type.
 

Protected Member Functions

virtual void DuplicateTransformDeometry (const MbMatrix3D &matr)
 < Заменить геометрические элементы трансформированными копиями.
 
- Protected Member Functions inherited from MbRefItem
 MbRefItem ()
 Constructor without parameters.
 

Additional Inherited Members

- Protected Attributes inherited from MaAnnotationItem
MbPlacement3D location
 Local coordinate system (LCS) the annotation objects are located in XY plane of.
 
std::vector< const MbItem * > annotationGeometry
 Geometric objects of annotation.
 
std::vector< SPtr< const MaTextItem > > annotationText
 Text annotation objects.
 
c3d::string_t name
 Name.
 
bool visible
 If object is vivible.
 

Detailed Description

Callout is the parent of all classes for callouts of different types.


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