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

vtkTextActor3D.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkTextActor3D.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00048 #ifndef __vtkTextActor3D_h
00049 #define __vtkTextActor3D_h
00050 
00051 #include "vtkProp3D.h"
00052 
00053 class vtkImageActor;
00054 class vtkImageData;
00055 class vtkTextProperty;
00056 
00057 class VTK_RENDERING_EXPORT vtkTextActor3D : public vtkProp3D
00058 {
00059 public:
00060   static vtkTextActor3D *New();
00061   vtkTypeRevisionMacro(vtkTextActor3D,vtkProp3D);
00062   void PrintSelf(ostream& os, vtkIndent indent);
00063 
00065 
00066   vtkSetStringMacro(Input);
00067   vtkGetStringMacro(Input);
00069 
00071 
00072   virtual void SetTextProperty(vtkTextProperty *p);
00073   vtkGetObjectMacro(TextProperty,vtkTextProperty);
00075   
00078   void ShallowCopy(vtkProp *prop);
00079 
00081   virtual double *GetBounds();
00082 
00083   //BTX
00088   virtual void ReleaseGraphicsResources(vtkWindow *);
00089 
00091 
00094   int RenderOpaqueGeometry(vtkViewport* viewport);
00095   int RenderTranslucentGeometry(vtkViewport* viewport);
00096   int RenderOverlay(vtkViewport* viewport);
00097   //ETX
00099 
00100 protected:
00101    vtkTextActor3D();
00102   ~vtkTextActor3D();
00103 
00104   char            *Input;
00105 
00106   vtkImageActor   *ImageActor;
00107   vtkImageData    *ImageData;
00108   vtkTextProperty *TextProperty;
00109 
00110   vtkTimeStamp    BuildTime;
00111 
00112   virtual int UpdateImageActor();
00113 
00114 private:
00115   vtkTextActor3D(const vtkTextActor3D&);  // Not implemented.
00116   void operator=(const vtkTextActor3D&);  // Not implemented.
00117 };
00118 
00119 
00120 #endif
00121