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

vtkEmptyCell.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkEmptyCell.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 =========================================================================*/
00025 #ifndef __vtkEmptyCell_h
00026 #define __vtkEmptyCell_h
00027 
00028 #include "vtkCell.h"
00029 
00030 class VTK_FILTERING_EXPORT vtkEmptyCell : public vtkCell
00031 {
00032 public:
00033   static vtkEmptyCell *New();
00034   vtkTypeRevisionMacro(vtkEmptyCell,vtkCell);
00035   void PrintSelf(ostream& os, vtkIndent indent);
00036 
00038 
00039   int GetCellType() {return VTK_EMPTY_CELL;};
00040   int GetCellDimension() {return 0;};
00041   int GetNumberOfEdges() {return 0;};
00042   int GetNumberOfFaces() {return 0;};
00043   vtkCell *GetEdge(int) {return 0;};
00044   vtkCell *GetFace(int) {return 0;};
00045   int CellBoundary(int subId, double pcoords[3], vtkIdList *pts);
00046   void Contour(double value, vtkDataArray *cellScalars, 
00047                vtkPointLocator *locator, vtkCellArray *verts1, 
00048                vtkCellArray *lines, vtkCellArray *verts2, 
00049                vtkPointData *inPd, vtkPointData *outPd,
00050                vtkCellData *inCd, vtkIdType cellId, vtkCellData *outCd);
00051   void Clip(double value, vtkDataArray *cellScalars, 
00052             vtkPointLocator *locator, vtkCellArray *pts,
00053             vtkPointData *inPd, vtkPointData *outPd,
00054             vtkCellData *inCd, vtkIdType cellId, vtkCellData *outCd,
00055             int insideOut);
00057 
00058   int EvaluatePosition(double x[3], double* closestPoint, 
00059                        int& subId, double pcoords[3], 
00060                        double& dist2, double *weights);
00061   void EvaluateLocation(int& subId, double pcoords[3], double x[3],
00062                         double *weights);
00063   int IntersectWithLine(double p1[3], double p2[3], double tol, double& t,
00064                         double x[3], double pcoords[3], int& subId);
00065   int Triangulate(int index, vtkIdList *ptIds, vtkPoints *pts);
00066   void Derivatives(int subId, double pcoords[3], double *values, 
00067                    int dim, double *derivs);
00068 
00069 protected:
00070   vtkEmptyCell() {};
00071   ~vtkEmptyCell() {};
00072 
00073 
00074 private:
00075   vtkEmptyCell(const vtkEmptyCell&);  // Not implemented.
00076   void operator=(const vtkEmptyCell&);  // Not implemented.
00077 };
00078 
00079 #endif
00080 
00081 

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