00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00023 #ifndef __vtkPVTextPropertyEditor_h
00024 #define __vtkPVTextPropertyEditor_h
00025
00026 #include "vtkKWTextPropertyEditor.h"
00027
00028 class vtkPVTraceHelper;
00029
00030 class VTK_EXPORT vtkPVTextPropertyEditor : public vtkKWTextPropertyEditor
00031 {
00032 public:
00033 static vtkPVTextPropertyEditor* New();
00034 vtkTypeRevisionMacro(vtkPVTextPropertyEditor,vtkKWTextPropertyEditor);
00035 void PrintSelf(ostream& os, vtkIndent indent);
00036
00038
00039 virtual void SetColor(double, double, double);
00040 virtual void SetColor(double *v) { this->SetColor(v[0], v[1], v[2]); };
00041 virtual void SetFontFamily(int);
00042 virtual void SetBold(int);
00043 virtual void SetItalic(int);
00044 virtual void SetShadow(int);
00045 virtual void SetOpacity(float);
00047
00049
00050 vtkGetObjectMacro(TraceHelper, vtkPVTraceHelper);
00052
00053 protected:
00054 vtkPVTextPropertyEditor();
00055 ~vtkPVTextPropertyEditor();
00056
00057 vtkPVTraceHelper* TraceHelper;
00058
00059 private:
00060 vtkPVTextPropertyEditor(const vtkPVTextPropertyEditor&);
00061 void operator=(const vtkPVTextPropertyEditor&);
00062 };
00063
00064 #endif
00065