• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

dox/Rendering/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 =========================================================================*/
00038 #ifndef __vtkTextActor3D_h
00039 #define __vtkTextActor3D_h
00040 
00041 #include "vtkProp3D.h"
00042 
00043 class vtkImageActor;
00044 class vtkImageData;
00045 class vtkTextProperty;
00046 
00047 class VTK_RENDERING_EXPORT vtkTextActor3D : public vtkProp3D
00048 {
00049 public:
00050   static vtkTextActor3D *New();
00051   vtkTypeRevisionMacro(vtkTextActor3D,vtkProp3D);
00052   void PrintSelf(ostream& os, vtkIndent indent);
00053 
00055 
00056   vtkSetStringMacro(Input);
00057   vtkGetStringMacro(Input);
00059 
00061 
00062   virtual void SetTextProperty(vtkTextProperty *p);
00063   vtkGetObjectMacro(TextProperty,vtkTextProperty);
00065   
00068   void ShallowCopy(vtkProp *prop);
00069 
00072   virtual double *GetBounds();
00073 
00078   int GetBoundingBox(int bbox[4]);
00079 
00080   //BTX
00085   virtual void ReleaseGraphicsResources(vtkWindow *);
00086 
00088 
00091   int RenderOpaqueGeometry(vtkViewport* viewport);
00092   virtual int RenderTranslucentPolygonalGeometry(vtkViewport* viewport);
00093   int RenderOverlay(vtkViewport* viewport);
00095   
00097 
00098   virtual int HasTranslucentPolygonalGeometry();
00099   //ETX
00101 
00102 protected:
00103    vtkTextActor3D();
00104   ~vtkTextActor3D();
00105 
00106   char            *Input;
00107 
00108   vtkImageActor   *ImageActor;
00109   vtkImageData    *ImageData;
00110   vtkTextProperty *TextProperty;
00111 
00112   vtkTimeStamp    BuildTime;
00113 
00114   virtual int UpdateImageActor();
00115 
00116 private:
00117   vtkTextActor3D(const vtkTextActor3D&);  // Not implemented.
00118   void operator=(const vtkTextActor3D&);  // Not implemented.
00119 };
00120 
00121 
00122 #endif
00123 

Generated by  doxygen 1.7.1