VTK
dox/Infovis/Layout/vtkTreeRingToPolyData.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkTreeRingToPolyData.h
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 =========================================================================*/
00015 /*-------------------------------------------------------------------------
00016   Copyright 2008 Sandia Corporation.
00017   Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
00018   the U.S. Government retains certain rights in this software.
00019 -------------------------------------------------------------------------*/
00034 #ifndef __vtkTreeRingToPolyData_h
00035 #define __vtkTreeRingToPolyData_h
00036 
00037 #include "vtkInfovisLayoutModule.h" // For export macro
00038 #include "vtkPolyDataAlgorithm.h"
00039 
00040 class VTKINFOVISLAYOUT_EXPORT vtkTreeRingToPolyData : public vtkPolyDataAlgorithm
00041 {
00042 public:
00043   static vtkTreeRingToPolyData *New();
00044 
00045   vtkTypeMacro(vtkTreeRingToPolyData,vtkPolyDataAlgorithm);
00046   void PrintSelf(ostream& os, vtkIndent indent);
00047 
00049 
00053   virtual void SetSectorsArrayName(const char* name)
00054     { this->SetInputArrayToProcess(0, 0, 0, vtkDataObject::FIELD_ASSOCIATION_VERTICES, name); }
00056 
00058 
00059   vtkSetMacro(ShrinkPercentage, double);
00060   vtkGetMacro(ShrinkPercentage, double);
00062 
00063   int FillInputPortInformation(int port, vtkInformation* info);
00064 
00065 protected:
00066   vtkTreeRingToPolyData();
00067   ~vtkTreeRingToPolyData();
00068 
00069   double ShrinkPercentage;
00070 
00071   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00072 private:
00073   vtkTreeRingToPolyData(const vtkTreeRingToPolyData&);  // Not implemented.
00074   void operator=(const vtkTreeRingToPolyData&);  // Not implemented.
00075 };
00076 
00077 #endif