VTK
vtkOSPRayActorNode.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOSPRayActorNode.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 vtkOSPRayActorNode_h
26 #define vtkOSPRayActorNode_h
27 
28 #include "vtkRenderingOSPRayModule.h" // For export macro
29 #include "vtkActorNode.h"
30 
31 class vtkActor;
33 class vtkDataArray;
38 class vtkPolyData;
39 
40 class VTKRENDERINGOSPRAY_EXPORT vtkOSPRayActorNode :
41  public vtkActorNode
42 {
43 public:
46  void PrintSelf(ostream& os, vtkIndent indent);
47 
53 
58 
60 
63  static void SetEnableScaling(int value, vtkActor *);
64  static int GetEnableScaling(vtkActor *);
66 
75 
79  static void SetScaleArrayName(const char *scaleArrayName, vtkActor *);
80 
86 
90  static void SetScaleFunction(vtkPiecewiseFunction *scaleFunction, vtkActor *);
91 
92 protected:
95 
96 private:
97  vtkOSPRayActorNode(const vtkOSPRayActorNode&) VTK_DELETE_FUNCTION;
98  void operator=(const vtkOSPRayActorNode&) VTK_DELETE_FUNCTION;
99 };
100 #endif
vtkViewNode specialized for vtkActors
Definition: vtkActorNode.h:35
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:52
rendering attributes for a multi-block dataset.
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:55
a simple class to control print indentation
Definition: vtkIndent.h:40
Key for integer values in vtkInformation.
Key for vtkObjectBase values.
Key for string values in vtkInformation.
links vtkActor and vtkMapper to OSPRay
static vtkInformationObjectBaseKey * SCALE_FUNCTION()
A piecewise function for values from the scale array that alters the resulting radii arbitrarily.
static void SetEnableScaling(int value, vtkActor *)
Convenience method to set enabled scaling on my renderable.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkInformationStringKey * SCALE_ARRAY_NAME()
Name of a point aligned, single component wide, double valued array that, when added to the mapper,...
static void SetScaleFunction(vtkPiecewiseFunction *scaleFunction, vtkActor *)
Convenience method to set a scale function on my renderable.
static void SetScaleArrayName(const char *scaleArrayName, vtkActor *)
Convenience method to set a scale array on my renderable.
static int GetEnableScaling(vtkActor *)
static vtkInformationIntegerKey * ENABLE_SCALING()
When added to the mapper, enables scale array and scale function.
static vtkOSPRayActorNode * New()
virtual vtkMTimeType GetMTime()
Overridden to take into account my renderables time, including mapper and data into mapper inclusive ...
Defines a 1D piecewise function.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:86
@ value
Definition: vtkX3D.h:220
vtkTypeUInt64 vtkMTimeType
Definition: vtkType.h:248