Drake Designer
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
vtkLCMGLProp.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: Visualization Toolkit
4 
5 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
6 All rights reserved.
7 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
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 above copyright notice for more information.
12 
13 =========================================================================*/
14 // .NAME vtkLCMGLProp - An orthonormal frame representation
15 // .SECTION Description
16 // An orthonormal frame representation for use with the vtkFrameWidget
17 
18 // .SECTION See Also
19 // vtkFrameWidget vtkFrameWidget
20 
21 
22 #ifndef __vtkLCMGLProp_h
23 #define __vtkLCMGLProp_h
24 
25 #include "vtkProp.h"
26 
27 #include <vtkDRCFiltersModule.h>
28 
29 class VTKDRCFILTERS_EXPORT vtkLCMGLProp : public vtkProp
30 {
31 public:
32  // Description:
33  // Instantiate the class.
34  static vtkLCMGLProp *New();
35 
36  // Description:
37  // Standard methods for the class.
38  vtkTypeMacro(vtkLCMGLProp,vtkProp);
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
41  void UpdateGLData(const char* data);
42 
43  virtual double *GetBounds();
44 
45  // Description:
46  // Methods supporting, and required by, the rendering process.
47  virtual void ReleaseGraphicsResources(vtkWindow*);
48  virtual int RenderOpaqueGeometry(vtkViewport*);
49  virtual int RenderOverlay(vtkViewport*);
50  virtual int RenderTranslucentPolygonalGeometry(vtkViewport*);
51  virtual int HasTranslucentPolygonalGeometry();
52 
53 protected:
54  vtkLCMGLProp();
55  ~vtkLCMGLProp();
56 
57 private:
58 
59  class vtkInternal;
60  vtkInternal* Internal;
61 
62  vtkLCMGLProp(const vtkLCMGLProp&); //Not implemented
63  void operator=(const vtkLCMGLProp&); //Not implemented
64 };
65 
66 #endif
#define VTKDRCFILTERS_EXPORT