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

vtkOBBDicer.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkOBBDicer.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 =========================================================================*/
00033 #ifndef __vtkOBBDicer_h
00034 #define __vtkOBBDicer_h
00035 
00036 #include "vtkDicer.h"
00037 
00038 class vtkOBBNode;
00039 class vtkShortArray;
00040 class vtkIdList;
00041 class vtkPoints;
00042 
00043 class VTK_GRAPHICS_EXPORT vtkOBBDicer : public vtkDicer 
00044 {
00045 public:
00046   vtkTypeRevisionMacro(vtkOBBDicer,vtkDicer);
00047   void PrintSelf(ostream& os, vtkIndent indent);
00048 
00050   static vtkOBBDicer *New();
00051 
00052 protected:
00053   vtkOBBDicer() {};
00054   ~vtkOBBDicer() {};
00055 
00056   // Usual data generation method
00057   virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00058 
00059   //implementation ivars and methods
00060   void BuildTree(vtkIdList *ptIds, vtkOBBNode *OBBptr, vtkDataSet *input);
00061   void MarkPoints(vtkOBBNode *OBBptr, vtkShortArray *groupIds);
00062   void DeleteTree(vtkOBBNode *OBBptr);
00063   vtkPoints *PointsList;
00064   
00065 private:
00066   vtkOBBDicer(const vtkOBBDicer&);  // Not implemented.
00067   void operator=(const vtkOBBDicer&);  // Not implemented.
00068 };
00069 
00070 #endif
00071 
00072 

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