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 =========================================================================*/
31 #ifndef vtkOptiXTestInteractor_h
32 #define vtkOptiXTestInteractor_h
33 
35 
36 #include <vector>
37 #include <string>
38 
39 class vtkOpenGLRenderer;
40 class vtkRenderPass;
41 
42 // Define interaction style
44 {
45 private:
46  vtkOpenGLRenderer *GLRenderer;
47  vtkRenderPass *O;
48  vtkRenderPass *G;
49  int VisibleActor;
50  int VisibleLight;
51 
52 public:
53  static vtkOptiXTestInteractor* New();
57  vtkRenderPass *_O,
58  vtkRenderPass *_G);
59  virtual void OnKeyPress();
60 
61  static void AddName(const char *name);
62 };
63 
64 #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:55
OpenGL renderer.