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

Graphics/vtkOBBDicer.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkOBBDicer.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 =========================================================================*/
00049 #ifndef __vtkOBBDicer_h
00050 #define __vtkOBBDicer_h
00051 
00052 #include "vtkDicer.h"
00053 
00054 class vtkOBBNode;
00055 class vtkShortArray;
00056 class vtkIdList;
00057 class vtkPoints;
00058 
00059 class VTK_GRAPHICS_EXPORT vtkOBBDicer : public vtkDicer 
00060 {
00061 public:
00062   vtkTypeRevisionMacro(vtkOBBDicer,vtkDicer);
00063   void PrintSelf(ostream& os, vtkIndent indent);
00064 
00066   static vtkOBBDicer *New();
00067 
00068 protected:
00069   vtkOBBDicer() {};
00070   ~vtkOBBDicer() {};
00071 
00072   // Usual data generation method
00073   void Execute();
00074 
00075   //implementation ivars and methods
00076   void BuildTree(vtkIdList *ptIds, vtkOBBNode *OBBptr);
00077   void MarkPoints(vtkOBBNode *OBBptr, vtkShortArray *groupIds);
00078   void DeleteTree(vtkOBBNode *OBBptr);
00079   vtkPoints *PointsList;
00080   
00081 private:
00082   vtkOBBDicer(const vtkOBBDicer&);  // Not implemented.
00083   void operator=(const vtkOBBDicer&);  // Not implemented.
00084 };
00085 
00086 #endif
00087 
00088