VTK
vtkOSPRayTetrahedraMapperNode.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOSPRayTetrahedraMapperNode.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 =========================================================================*/
24 #ifndef vtkOSPRayTetrahedraMapperNode_h
25 #define vtkOSPRayTetrahedraMapperNode_h
26 
27 #include "vtkRenderingOSPRayModule.h" // For export macro
28 #include "vtkVolumeMapperNode.h"
29 
30 #include "ospray/ospray.h" // for ospray handle types
31 
33 
34 class VTKRENDERINGOSPRAY_EXPORT vtkOSPRayTetrahedraMapperNode : public vtkVolumeMapperNode
35 
36 {
37 public:
38  vtkTypeMacro(vtkOSPRayTetrahedraMapperNode,
41  void PrintSelf(ostream &os, vtkIndent indent) override;
42 
46  virtual void Render(bool prepass) override;
47 
48 protected:
51 
52  int NumColors;
53  double SamplingRate;
54 
57 
58  OSPVolume OSPRayVolume;
59  OSPTransferFunction TransferFunction;
60  std::vector<float> TFVals;
61  std::vector<float> TFOVals;
62 
63  std::vector<int> Cells;
64  std::vector<osp::vec3f> Vertices;
65  std::vector<float> Field;
66 
68 private:
70  void operator=(const vtkOSPRayTetrahedraMapperNode &) = delete;
71 };
72 
73 #endif
vtkTimeStamp
record modification and/or execution time
Definition: vtkTimeStamp.h:35
vtkVolumeMapperNode::New
static vtkVolumeMapperNode * New()
vtkOSPRayTetrahedraMapperNode::NumColors
int NumColors
Definition: vtkOSPRayTetrahedraMapperNode.h:52
vtkVolumeMapperNode::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkOSPRayTetrahedraMapperNode
Unstructured grid volume renderer.
Definition: vtkOSPRayTetrahedraMapperNode.h:34
vtkOSPRayTetrahedraMapperNode::TFVals
std::vector< float > TFVals
Definition: vtkOSPRayTetrahedraMapperNode.h:60
vtkOSPRayTetrahedraMapperNode::TransferFunction
OSPTransferFunction TransferFunction
Definition: vtkOSPRayTetrahedraMapperNode.h:59
vtkOSPRayTetrahedraMapperNode::Cells
std::vector< int > Cells
Definition: vtkOSPRayTetrahedraMapperNode.h:63
vtkOSPRayTetrahedraMapperNode::OSPRayVolume
OSPVolume OSPRayVolume
Definition: vtkOSPRayTetrahedraMapperNode.h:58
vtkOSPRayVolumeCache
temporal cache ospray structures to speed flipbooks
Definition: vtkOSPRayVolumeCache.h:35
vtkOSPRayTetrahedraMapperNode::Vertices
std::vector< osp::vec3f > Vertices
Definition: vtkOSPRayTetrahedraMapperNode.h:64
vtkOSPRayTetrahedraMapperNode::PropertyTime
vtkTimeStamp PropertyTime
Definition: vtkOSPRayTetrahedraMapperNode.h:56
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkViewNode::Render
virtual void Render(bool)
Makes calls to make self visible.
Definition: vtkViewNode.h:67
vtkVolumeMapperNode.h
vtkOSPRayTetrahedraMapperNode::SamplingRate
double SamplingRate
Definition: vtkOSPRayTetrahedraMapperNode.h:53
vtkOSPRayTetrahedraMapperNode::BuildTime
vtkTimeStamp BuildTime
Definition: vtkOSPRayTetrahedraMapperNode.h:55
vtkVolumeMapperNode
vtkViewNode specialized for vtkVolumeMappers
Definition: vtkVolumeMapperNode.h:36
vtkOSPRayTetrahedraMapperNode::Field
std::vector< float > Field
Definition: vtkOSPRayTetrahedraMapperNode.h:65
vtkOSPRayTetrahedraMapperNode::Cache
vtkOSPRayVolumeCache * Cache
Definition: vtkOSPRayTetrahedraMapperNode.h:67
vtkOSPRayTetrahedraMapperNode::TFOVals
std::vector< float > TFOVals
Definition: vtkOSPRayTetrahedraMapperNode.h:61