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

vtkPolyVertex.h

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

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