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

# Rendering/vtkMesaImageActor.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkMesaImageActor.h,v $
    00005   Language:  C++
    00006
    00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
    00008   All rights reserved.
    00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
    00010
    00011      This software is distributed WITHOUT ANY WARRANTY; without even
    00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00013      PURPOSE.  See the above copyright notice for more information.
    00014
    00015 =========================================================================*/
    00038 #ifndef __vtkMesaImageActor_h
    00039 #define __vtkMesaImageActor_h
    00040
    00041 #include "vtkImageActor.h"
    00042
    00043 class vtkWindow;
    00044 class vtkMesaRenderer;
    00045 class vtkRenderWindow;
    00046
    00047 class VTK_RENDERING_EXPORT vtkMesaImageActor : public vtkImageActor
    00048 {
    00049 public:
    00050   static vtkMesaImageActor *New();
    00051   vtkTypeRevisionMacro(vtkMesaImageActor,vtkImageActor);
    00052   virtual void PrintSelf(ostream& os, vtkIndent indent);
    00053
    00055   void Load(vtkRenderer *ren);
    00056
    00061   void ReleaseGraphicsResources(vtkWindow *);
    00062
    00063 protected:
    00064   vtkMesaImageActor();
    00065   ~vtkMesaImageActor();
    00066
    00067   unsigned char *MakeDataSuitable(int &xsize, int &ysize, int &release);
    00068
    00069   vtkTimeStamp   LoadTime;
    00070   long          Index;
    00071   static   long GlobalIndex;
    00072   vtkRenderWindow *RenderWindow;   // RenderWindow used for previous render
    00073   float Coords[12];
    00074   float TCoords[8];
    00075 private:
    00076   vtkMesaImageActor(const vtkMesaImageActor&);  // Not implemented.
    00077   void operator=(const vtkMesaImageActor&);  // Not implemented.
    00078 };
    00079
    00080 #endif