VTK
dox/Rendering/Context2D/vtkMarkerUtilities.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkMarkerUtilities.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 
00027 #ifndef __vtkMarkerUtilities_h
00028 #define __vtkMarkerUtilities_h
00029 
00030 #include "vtkRenderingContext2DModule.h" // For export macro
00031 
00032 #include "vtkObject.h"
00033 
00034 class vtkImageData;
00035 
00036 class VTKRENDERINGCONTEXT2D_EXPORT vtkMarkerUtilities : public vtkObject
00037 {
00038 public:
00039   vtkTypeMacro(vtkMarkerUtilities, vtkObject);
00040   virtual void PrintSelf(ostream &os, vtkIndent indent);
00041 
00042 //BTX
00044 
00045   enum {
00046     NONE = 0,
00047     CROSS,
00048     PLUS,
00049     SQUARE,
00050     CIRCLE,
00051     DIAMOND
00052   };
00053 //ETX
00055 
00057   static void GenerateMarker(vtkImageData *data, int style, int width);
00058 
00059 //BTX
00060 protected:
00061   vtkMarkerUtilities();
00062   ~vtkMarkerUtilities();
00063 
00064 private:
00065   vtkMarkerUtilities(const vtkMarkerUtilities &); // Not implemented.
00066   void operator=(const vtkMarkerUtilities &); // Not implemented.
00067 //ETX
00068 };
00069 
00070 #endif //__vtkMarkerUtilities_h