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

# Rendering/vtkDataSetMapper.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkDataSetMapper.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 =========================================================================*/
    00049 #ifndef __vtkDataSetMapper_h
    00050 #define __vtkDataSetMapper_h
    00051
    00052 #include "vtkMapper.h"
    00053
    00054 class vtkPolyDataMapper;
    00055 class vtkDataSetSurfaceFilter;
    00056
    00057 class VTK_RENDERING_EXPORT vtkDataSetMapper : public vtkMapper
    00058 {
    00059 public:
    00060   static vtkDataSetMapper *New();
    00061   vtkTypeRevisionMacro(vtkDataSetMapper,vtkMapper);
    00062   void PrintSelf(ostream& os, vtkIndent indent);
    00063   void Render(vtkRenderer *ren, vtkActor *act);
    00064
    00066
    00068   vtkGetObjectMacro(PolyDataMapper, vtkPolyDataMapper);
    00070
    00074   void ReleaseGraphicsResources(vtkWindow *);
    00075
    00077   unsigned long GetMTime();
    00078
    00080
    00081   void SetInput(vtkDataSet *input);
    00082   vtkDataSet *GetInput();
    00084
    00085 protected:
    00086   vtkDataSetMapper();
    00087   ~vtkDataSetMapper();
    00088
    00089   vtkDataSetSurfaceFilter *GeometryExtractor;
    00090   vtkPolyDataMapper *PolyDataMapper;
    00091 private:
    00092   vtkDataSetMapper(const vtkDataSetMapper&);  // Not implemented.
    00093   void operator=(const vtkDataSetMapper&);  // Not implemented.
    00094 };
    00095
    00096 #endif
    00097
    00098