VTK
vtkOptiXActorNode.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOptiXActorNode.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 =========================================================================*/
25 #ifndef vtkOptiXActorNode_h
26 #define vtkOptiXActorNode_h
27 
28 #include "vtkRenderingOptiXModule.h" // For export macro
29 #include "vtkActorNode.h"
30 
31 class vtkActor;
33 class vtkDataArray;
38 class vtkPolyData;
39 class vtkMapper;
40 
41 class VTKRENDERINGOPTIX_EXPORT vtkOptiXActorNode :
42  public vtkActorNode
43 {
44 public:
45  static vtkOptiXActorNode* New();
47  void PrintSelf(ostream& os, vtkIndent indent);
48 
53  virtual vtkMTimeType GetMTime();
54 
58  static vtkInformationIntegerKey* ENABLE_SCALING();
59 
61 
64  static void SetEnableScaling(int value, vtkActor *);
65  static int GetEnableScaling(vtkActor *);
67 
75  static vtkInformationStringKey* SCALE_ARRAY_NAME();
76 
80  static void SetScaleArrayName(const char *scaleArrayName, vtkActor *);
81 
86  static vtkInformationObjectBaseKey* SCALE_FUNCTION();
87 
91  static void SetScaleFunction(vtkPiecewiseFunction *scaleFunction, vtkActor *);
92 
93 protected:
96 
97 private:
98  vtkOptiXActorNode(const vtkOptiXActorNode&) = delete;
99  void operator=(const vtkOptiXActorNode&) = delete;
100 
101  vtkMapper* LastUsedMapper;
102 };
103 #endif
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:51
Defines a 1D piecewise function.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:302
static vtkActorNode * New()
Rendering attributes for a multi-block dataset.
links vtkActor and vtkMapper to OptiX
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:85
Key for string values in vtkInformation.
a simple class to control print indentation
Definition: vtkIndent.h:39
Key for integer values in vtkInformation.
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:54
virtual vtkMTimeType GetMTime()
Return this object's modified time.
Key for vtkObjectBase values.
vtkViewNode specialized for vtkActors
Definition: vtkActorNode.h:33
abstract class specifies interface to map data to graphics primitives
Definition: vtkMapper.h:86
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.