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 =========================================================================*/
22 #ifndef vtkOptiXActorNode_h
23 #define vtkOptiXActorNode_h
24 
25 #include "vtkRenderingOptiXModule.h" // For export macro
26 #include "vtkActorNode.h"
27 
28 class vtkActor;
30 class vtkDataArray;
35 class vtkPolyData;
36 class vtkMapper;
37 
38 class VTKRENDERINGOPTIX_EXPORT vtkOptiXActorNode :
39  public vtkActorNode
40 {
41 public:
42  static vtkOptiXActorNode* New();
44  void PrintSelf(ostream& os, vtkIndent indent);
45 
50  virtual vtkMTimeType GetMTime();
51 
55  static vtkInformationIntegerKey* ENABLE_SCALING();
56 
58 
61  static void SetEnableScaling(int value, vtkActor *);
62  static int GetEnableScaling(vtkActor *);
64 
72  static vtkInformationStringKey* SCALE_ARRAY_NAME();
73 
77  static void SetScaleArrayName(const char *scaleArrayName, vtkActor *);
78 
83  static vtkInformationObjectBaseKey* SCALE_FUNCTION();
84 
88  static void SetScaleFunction(vtkPiecewiseFunction *scaleFunction, vtkActor *);
89 
90 protected:
93 
94 private:
95  vtkOptiXActorNode(const vtkOptiXActorNode&) = delete;
96  void operator=(const vtkOptiXActorNode&) = delete;
97 
98  vtkMapper* LastUsedMapper;
99 };
100 #endif
vtkInformationStringKey
Key for string values in vtkInformation.
Definition: vtkInformationStringKey.h:33
vtkActorNode::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkX3D::value
Definition: vtkX3D.h:220
vtkDataArray
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:48
vtkActorNode::New
static vtkActorNode * New()
vtkCompositeDataDisplayAttributes
Rendering attributes for a multi-block dataset.
Definition: vtkCompositeDataDisplayAttributes.h:40
vtkObject::GetMTime
virtual vtkMTimeType GetMTime()
Return this object's modified time.
vtkMapper
abstract class specifies interface to map data to graphics primitives
Definition: vtkMapper.h:80
vtkInformationObjectBaseKey
Key for vtkObjectBase values.
Definition: vtkInformationObjectBaseKey.h:33
vtkInformationIntegerKey
Key for integer values in vtkInformation.
Definition: vtkInformationIntegerKey.h:31
vtkActor
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:45
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkPiecewiseFunction
Defines a 1D piecewise function.
Definition: vtkPiecewiseFunction.h:45
vtkActorNode
vtkViewNode specialized for vtkActors
Definition: vtkActorNode.h:30
vtkActorNode.h
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:79
vtkOptiXActorNode
links vtkActor and vtkMapper to OptiX
Definition: vtkOptiXActorNode.h:38
vtkMTimeType
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:302