C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
Diameter dimension. More...
#include <conv_annotation_item.h>
Public Member Functions | |
virtual Mae_AnnotationType | IsA () const |
Get the object type. | |
virtual bool | VisualItemsEmpty () const |
Whether the visual representation is empty. | |
const MbRefItem * | GetBindBase () |
Get the base binding object. | |
MbLineSegment3D * | GetProjectionBase () const |
Get projection curve to the base binding object. | |
MbLineSegment3D * | GetProjectionTarget () const |
Get the first projection curve to the binding object. | |
virtual SPtr< MaAnnotationItem > | ShallowDuplicateTransform (const MbMatrix3D &, MbRegDuplicate *partDuplicateRegistry=nullptr) |
Create a replica then transform it. | |
Public Member Functions inherited from MaDimension | |
virtual Mae_AnnotationType | Type () const |
Get the group type of the object. | |
MbCurve3D * | GetDimensionCurve () const |
Get the dimensional curve. | |
void | SetValue (double v) |
Set a value. | |
void | SetRange (double v, double vPlus, double vMinus) |
Set a range and a value. | |
void | SetRange (double vPlus, double vMinus) |
Set range. | |
bool | GetValue (double &v) const |
Get value. | |
bool | GetRange (double &v, double &vPlus, double &vMinus) const |
Get bounds of range and a value if they are specified. | |
bool | GetRange (double &vPlus, double &vMinus) const |
Get bounds of the range if they are specified. | |
bool | IsRangeDefined () const |
Whether the bounds of range are specified. | |
bool | IsValueDefined () const |
Whether the value is specified. | |
bool | AddTerminator (const MaTerminatorSymbol &init) |
Add a terminator. More... | |
bool | GetFirstTerminator (MaTerminatorSymbol &first) const |
Get the first terminator. | |
bool | GetSecondTerminator (MaTerminatorSymbol &second) const |
Get the second terminator. | |
Public Member Functions inherited from MaAnnotationItem | |
MaAnnotationItem (const MbPlacement3D &loc) | |
Constructor by annotation plane. | |
virtual | ~MaAnnotationItem () |
Destructor. | |
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< MaTextItem > | TextItem (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. | |
Protected Member Functions | |
virtual void | DuplicateTransformDeometry (const MbMatrix3D &) |
Replace all geometric items by transformed copies. | |
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. | |
Diameter dimension.