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

dox/Common/vtkExplicitCell.h

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