VTK
vtkOptiXTestInteractor.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOptiXTestInteractor.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
34 #ifndef vtkOptiXTestInteractor_h
35 #define vtkOptiXTestInteractor_h
36 
38 
39 #include <vector>
40 #include <string>
41 
42 class vtkOpenGLRenderer;
43 class vtkRenderPass;
44 
45 // Define interaction style
47 {
48 private:
49  vtkOpenGLRenderer *GLRenderer;
50  vtkRenderPass *O;
51  vtkRenderPass *G;
52  int VisibleActor;
53  int VisibleLight;
54 
55 public:
56  static vtkOptiXTestInteractor* New();
60  vtkRenderPass *_O,
61  vtkRenderPass *_G);
62  virtual void OnKeyPress();
63 
64  static void AddName(const char *name);
65 };
66 
67 #endif
A common interactor style for the OptiX tests.
static vtkOptiXTestInteractor * New()
static void AddName(const char *name)
void SetPipelineControlPoints(vtkOpenGLRenderer *g, vtkRenderPass *_O, vtkRenderPass *_G)
virtual void OnKeyPress()
interactive manipulation of the camera
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:58
OpenGL renderer.