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

dox/Views/vtkSurfaceRepresentation.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkSurfaceRepresentation.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 =========================================================================*/
00015 /*-------------------------------------------------------------------------
00016   Copyright 2008 Sandia Corporation.
00017   Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
00018   the U.S. Government retains certain rights in this software.
00019 -------------------------------------------------------------------------*/
00033 #ifndef __vtkSurfaceRepresentation_h
00034 #define __vtkSurfaceRepresentation_h
00035 
00036 #include "vtkDataRepresentation.h"
00037 
00038 class vtkActor;
00039 class vtkAlgorithmOutput;
00040 class vtkDataObject;
00041 class vtkExtractSelection;
00042 class vtkGeometryFilter;
00043 class vtkPolyDataMapper;
00044 class vtkSelection;
00045 class vtkView;
00046 
00047 class VTK_VIEWS_EXPORT vtkSurfaceRepresentation : public vtkDataRepresentation
00048 {
00049 public:
00050   static vtkSurfaceRepresentation *New();
00051   vtkTypeRevisionMacro(vtkSurfaceRepresentation, vtkDataRepresentation);
00052   void PrintSelf(ostream& os, vtkIndent indent);
00053   
00055   virtual void SetInputConnection(vtkAlgorithmOutput* conn);
00056   
00057 protected:
00058   vtkSurfaceRepresentation();
00059   ~vtkSurfaceRepresentation();
00060   
00063   virtual bool AddToView(vtkView* view);
00064   
00067   virtual bool RemoveFromView(vtkView* view);
00068   
00072   virtual vtkSelection* ConvertSelection(vtkView* view, vtkSelection* selection);
00073   
00075 
00076   vtkGeometryFilter*    GeometryFilter;
00077   vtkPolyDataMapper*    Mapper;
00078   vtkActor*             Actor;
00079   vtkExtractSelection*  ExtractSelection;
00080   vtkGeometryFilter*    SelectionGeometryFilter;
00081   vtkPolyDataMapper*    SelectionMapper;
00082   vtkActor*             SelectionActor;
00084   
00085 private:
00086   vtkSurfaceRepresentation(const vtkSurfaceRepresentation&);  // Not implemented.
00087   void operator=(const vtkSurfaceRepresentation&);  // Not implemented.
00088 };
00089 
00090 #endif

Generated by  doxygen 1.7.1