]> Creatis software - clitk.git/blob - vv/vvLandmarksGlyph.h
Debug RTStruct conversion with empty struc
[clitk.git] / vv / vvLandmarksGlyph.h
1 /*=========================================================================
2   Program:   vv                     http://www.creatis.insa-lyon.fr/rio/vv
3
4   Authors belong to: 
5   - University of LYON              http://www.universite-lyon.fr/
6   - Léon Bérard cancer center       http://www.centreleonberard.fr
7   - CREATIS CNRS laboratory         http://www.creatis.insa-lyon.fr
8
9   This software is distributed WITHOUT ANY WARRANTY; without even
10   the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11   PURPOSE.  See the copyright notices for more information.
12
13   It is distributed under dual licence
14
15   - BSD        See included LICENSE.txt file
16   - CeCILL-B   http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
17 ===========================================================================**/
18 #ifndef __vvLandmarksGlyph_h
19 #define __vvLandmarksGlyph_h
20 #include "vtkTextSource.h"
21 #include "vtkPoints.h"
22
23 class vvLandmarksGlyph : public vtkTextSource
24 {
25 public:
26     vtkTypeMacro(vvLandmarksGlyph,vtkTextSource);
27     void PrintSelf(ostream& os, vtkIndent indent);
28
29     // Description:
30     // Construct object with no string set and backing enabled.
31     static vvLandmarksGlyph *New();
32
33
34 protected:
35     vvLandmarksGlyph();
36     ~vvLandmarksGlyph();
37
38     void AddTextGlyph(vtkPoints* newPoints,vtkUnsignedCharArray* newScalars, vtkCellArray *newPolys, int orientation);
39     void AddCrossGlyph(vtkPoints* newPts,vtkCellArray* newLines);
40     void ChangeOrientation(double v[3], int orientation);
41
42     int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
43
44 private:
45     vvLandmarksGlyph(const vvLandmarksGlyph&);  // Not implemented.
46     void operator=(const vvLandmarksGlyph&);  // Not implemented.
47 };
48
49 #endif