Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

GUI/Client/vtkPVCornerAnnotationEditor.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Module:    $RCSfile: vtkPVCornerAnnotationEditor.h,v $
00004 
00005   Copyright (c) Kitware, Inc.
00006   All rights reserved.
00007   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00008 
00009      This software is distributed WITHOUT ANY WARRANTY; without even
00010      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00011      PURPOSE.  See the above copyright notice for more information.
00012 
00013 =========================================================================*/
00022 #ifndef __vtkPVCornerAnnotationEditor_h
00023 #define __vtkPVCornerAnnotationEditor_h
00024 
00025 #include "vtkKWCornerAnnotationEditor.h"
00026 
00027 class vtkCornerAnnotation;
00028 class vtkKWView;
00029 class vtkPVRenderView;
00030 class vtkPVTraceHelper;
00031 
00032 class VTK_EXPORT vtkPVCornerAnnotationEditor : public vtkKWCornerAnnotationEditor
00033 {
00034 public:
00035   static vtkPVCornerAnnotationEditor* New();
00036   vtkTypeRevisionMacro(vtkPVCornerAnnotationEditor,vtkKWCornerAnnotationEditor);
00037   void PrintSelf(ostream& os, vtkIndent indent);
00038 
00040 
00041   virtual void SetView(vtkKWView*);
00042   vtkGetObjectMacro(View,vtkPVRenderView);
00044 
00046   void SaveState(ofstream *file);
00047 
00049 
00050   virtual void SetVisibility(int i);
00051   virtual int GetVisibility();
00052   vtkBooleanMacro(Visibility, int);
00054 
00056   virtual void SetMaximumLineHeight(float);
00057 
00059   virtual void SetCornerText(const char *txt, int corner);
00060 
00063   virtual void Update();
00064 
00065   void UpdateCornerText();
00066 
00068   virtual void CornerTextCallback(int i);
00069   
00071 
00072   vtkGetObjectMacro(TraceHelper, vtkPVTraceHelper);
00074 
00075 protected:
00076   vtkPVCornerAnnotationEditor();
00077   ~vtkPVCornerAnnotationEditor();
00078 
00079   void SetCornerTextInternal(const char* text, int corner);
00080 
00081   vtkPVRenderView* View;
00082 
00083   virtual void Render();
00084 
00085   vtkCornerAnnotation     *InternalCornerAnnotation;
00086   vtkPVTraceHelper* TraceHelper;
00087 
00088 private:
00089   vtkPVCornerAnnotationEditor(const vtkPVCornerAnnotationEditor&); // Not implemented
00090   void operator=(const vtkPVCornerAnnotationEditor&); // Not Implemented
00091 };
00092 
00093 #endif
00094 

Generated on Tue May 30 12:31:39 2006 for ParaView by doxygen 1.3.5