• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

dox/Infovis/vtkBoostBrandesCentrality.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkBoostBrandesCentrality.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 =========================================================================*/
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 -------------------------------------------------------------------------*/
00037 #ifndef __vtkBoostBrandesCentrality_h
00038 #define __vtkBoostBrandesCentrality_h
00039 
00040 #include "vtkVariant.h" // For variant type
00041 
00042 #include "vtkGraphAlgorithm.h"
00043 
00044 class VTK_INFOVIS_EXPORT vtkBoostBrandesCentrality : public vtkGraphAlgorithm 
00045 {
00046 public:
00047   static vtkBoostBrandesCentrality *New();
00048   vtkTypeRevisionMacro(vtkBoostBrandesCentrality, vtkGraphAlgorithm);
00049   void PrintSelf(ostream& os, vtkIndent indent);
00050 
00051 protected:
00052   vtkBoostBrandesCentrality();
00053   ~vtkBoostBrandesCentrality();
00054 
00055   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00056   
00057 private:
00058 
00059   vtkIdType OriginVertexIndex;
00060   char* ArrayName;
00061   //BTX
00062   vtkVariant OriginValue;
00063   //ETX
00064   bool ArrayNameSet;
00065   
00067 
00068   vtkSetStringMacro(ArrayName);
00070   
00071   //BTX
00072 
00074 
00076   vtkIdType GetVertexIndex(
00077     vtkAbstractArray *abstract,vtkVariant value);
00078   //ETX
00080 
00081   vtkBoostBrandesCentrality(const vtkBoostBrandesCentrality&);  // Not implemented.
00082   void operator=(const vtkBoostBrandesCentrality&);  // Not implemented.
00083 };
00084 
00085 #endif

Generated by  doxygen 1.7.1