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

dox/Infovis/vtkDataObjectToTable.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkDataObjectToTable.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 -------------------------------------------------------------------------*/
00031 #ifndef __vtkDataObjectToTable_h
00032 #define __vtkDataObjectToTable_h
00033 
00034 #include "vtkTableAlgorithm.h"
00035 
00036 class VTK_INFOVIS_EXPORT vtkDataObjectToTable : public vtkTableAlgorithm
00037 {
00038 public:
00039   static vtkDataObjectToTable* New();
00040   vtkTypeRevisionMacro(vtkDataObjectToTable,vtkTableAlgorithm);
00041   void PrintSelf(ostream& os, vtkIndent indent);
00042   
00043   //BTX
00044   enum
00045     {
00046     FIELD_DATA = 0,
00047     POINT_DATA = 1,
00048     CELL_DATA = 2,
00049     VERTEX_DATA = 3,
00050     EDGE_DATA = 4,
00051     };
00052   //ETX
00053   
00055 
00057   vtkGetMacro(FieldType, int);
00058   vtkSetClampMacro(FieldType, int, 0, 4);
00060   
00061 protected:
00062   vtkDataObjectToTable();
00063   ~vtkDataObjectToTable();
00064   
00065   int FillInputPortInformation(int port, vtkInformation* info);
00066   
00067   int RequestData(
00068     vtkInformation*, 
00069     vtkInformationVector**, 
00070     vtkInformationVector*);
00071   
00072   int FieldType;
00073 
00074 private:
00075   vtkDataObjectToTable(const vtkDataObjectToTable&); // Not implemented
00076   void operator=(const vtkDataObjectToTable&);   // Not implemented
00077 };
00078 
00079 #endif
00080 

Generated by  doxygen 1.7.1