Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkExplicitCell.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkExplicitCell.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 =========================================================================*/
00026 #ifndef __vtkExplicitCell_h
00027 #define __vtkExplicitCell_h
00028 
00029 #include "vtkNonLinearCell.h"
00030 
00031 class vtkDataSet;
00032 
00033 class VTK_FILTERING_EXPORT vtkExplicitCell : public vtkNonLinearCell
00034 {
00035 public:
00036   vtkTypeRevisionMacro(vtkExplicitCell,vtkNonLinearCell);  
00037   void PrintSelf(ostream& os, vtkIndent indent);
00038 
00043   virtual int IsExplicitCell() {return 1;}
00044 
00046 
00050   vtkSetMacro(CellId,vtkIdType);
00051   vtkGetMacro(CellId,vtkIdType);
00053 
00055 
00059   virtual void SetDataSet(vtkDataSet*);
00060   vtkGetObjectMacro(DataSet,vtkDataSet);
00062 
00063 protected:
00064   vtkExplicitCell();
00065   ~vtkExplicitCell() {}
00066 
00067   vtkIdType  CellId; //used to index into other arrays
00068   vtkDataSet *DataSet; //dataset from which this cell came
00069   
00070 private:
00071   vtkExplicitCell(const vtkExplicitCell&);  // Not implemented.
00072   void operator=(const vtkExplicitCell&);  // Not implemented.
00073 };
00074 
00075 #endif
00076 
00077 

Generated on Mon Jan 21 23:07:19 2008 for VTK by  doxygen 1.4.3-20050530