Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | 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 =========================================================================*/
00036 #ifndef __vtkExplicitCell_h
00037 #define __vtkExplicitCell_h
00038 
00039 #include "vtkNonLinearCell.h"
00040 
00041 class vtkDataSet;
00042 
00043 class VTK_FILTERING_EXPORT vtkExplicitCell : public vtkNonLinearCell
00044 {
00045 public:
00046   vtkTypeRevisionMacro(vtkExplicitCell,vtkNonLinearCell);  
00047   void PrintSelf(ostream& os, vtkIndent indent);
00048 
00053   virtual int IsExplicitCell() {return 1;}
00054 
00056 
00060   vtkSetMacro(CellId,vtkIdType);
00061   vtkGetMacro(CellId,vtkIdType);
00063 
00065 
00069   virtual void SetDataSet(vtkDataSet*);
00070   vtkGetObjectMacro(DataSet,vtkDataSet);
00072 
00073 protected:
00074   vtkExplicitCell();
00075   ~vtkExplicitCell() {}
00076 
00077   vtkIdType  CellId; //used to index into other arrays
00078   vtkDataSet *DataSet; //dataset from which this cell came
00079   
00080 private:
00081   vtkExplicitCell(const vtkExplicitCell&);  // Not implemented.
00082   void operator=(const vtkExplicitCell&);  // Not implemented.
00083 };
00084 
00085 #endif
00086 
00087