vtkTextureTextPolys.h

Go to the documentation of this file.
00001 /*=auto=========================================================================
00002 
00003   Portions (c) Copyright 2005 Brigham and Women's Hospital (BWH) All Rights Reserved.
00004 
00005   See Doc/copyright/copyright.txt
00006   or http://www.slicer.org/copyright/copyright.txt for details.
00007 
00008   Program:   3D Slicer
00009   Module:    $RCSfile: vtkTextureTextPolys.h,v $
00010   Date:      $Date: 2006/05/26 19:59:45 $
00011   Version:   $Revision: 1.3 $
00012 
00013 =========================================================================auto=*/
00014 /*===========================================================
00015 
00016 Authors: Michael McKenna, David Small, Steve Pieper.
00017     Small Design Firm, Inc.,
00018     in association with Isomics, Inc.,
00019     and Partners Health Care.  MA, USA.
00020     June, 2004
00021 
00022 ===========================================================*/
00023 
00024 
00025 // .NAME vtkTextureTextPolys - create an array of quadrilaterals located in a plane
00026 // .SECTION Description
00027 
00028 
00029 #ifndef __vtkTextureTextPolys_h
00030 #define __vtkTextureTextPolys_h
00031 
00032 #include "vtkPolyDataSource.h"
00033 
00034 
00035 #include "vtkFloatArray.h"
00036 
00037 #include "vtkQueryAtlasWin32Header.h"
00038 
00039 class vtkTextureText;
00040 
00041 
00042 class VTK_QUERYATLAS_EXPORT vtkTextureTextPolys : public vtkPolyDataSource 
00043 {
00044 public:
00045     void PrintSelf(ostream& os, vtkIndent indent);
00046     vtkTypeRevisionMacro(vtkTextureTextPolys,vtkPolyDataSource);
00047 
00048     // Description:
00049     // Construct a set of rectangular polygons perpendicular to z-axis, used to create
00050     // texture mapped based text objects, using a vtkTextureText layout manager to supply
00051     // data.
00052     static vtkTextureTextPolys *New();
00053 
00054     void SetTextureText(vtkTextureText *iT);
00055     vtkTextureText *mTextureText;
00056 
00057 
00058 protected:
00059   vtkTextureTextPolys();
00060   ~vtkTextureTextPolys() {};
00061 
00062   void Execute();
00063 
00064   vtkFloatingPointType Normal[3];
00065 
00066 private:
00067   vtkTextureTextPolys(const vtkTextureTextPolys&);  // Not implemented.
00068   void operator=(const vtkTextureTextPolys&);  // Not implemented.
00069 };
00070 
00071 #endif
00072 
00073 

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1