Annotation.cpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #include "PreCompiled.h"
00025
00026 #ifndef _PreComp_
00027 #endif
00028
00029 #include "Annotation.h"
00030
00031 using namespace App;
00032
00033 PROPERTY_SOURCE(App::Annotation, App::DocumentObject)
00034
00035
00036 Annotation::Annotation()
00037 {
00038 ADD_PROPERTY(LabelText ,(""));
00039 ADD_PROPERTY(Position,(Base::Vector3f()));
00040 }
00041
00042 Annotation::~Annotation()
00043 {
00044 }
00045
00046
00047
00048 PROPERTY_SOURCE(App::AnnotationLabel, App::DocumentObject)
00049
00050
00051 AnnotationLabel::AnnotationLabel()
00052 {
00053 ADD_PROPERTY_TYPE(LabelText,(""),"Label",Prop_Output,"Text label of the annotation");
00054 ADD_PROPERTY_TYPE(BasePosition,(Base::Vector3f()),"Label",Prop_Output,"Base position");
00055 ADD_PROPERTY_TYPE(TextPosition,(Base::Vector3f()),"Label",Prop_Output,"Text position");
00056 }
00057
00058 AnnotationLabel::~AnnotationLabel()
00059 {
00060 }