VTK
vtkOSPRayPolyDataMapperNode.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkOSPRayPolyDataMapperNode.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 vtkOSPRayPolyDataMapperNode_h
23#define vtkOSPRayPolyDataMapperNode_h
24
25#include "vtkRenderingOSPRayModule.h" // For export macro
27
29class vtkPolyData;
30
31class VTKRENDERINGOSPRAY_EXPORT vtkOSPRayPolyDataMapperNode :
33{
34public:
37 void PrintSelf(ostream& os, vtkIndent indent);
38
42 virtual void Render(bool prepass);
43
47 virtual void Invalidate(bool prepass);
48
49protected:
52
53 void ORenderPoly(void *renderer, void *model,
54 vtkOSPRayActorNode *aNode, vtkPolyData * poly,
55 double *ambientColor,
56 double *diffuseColor,
57 double opacity);
58
59 void *OSPMeshes;
61 void AddMeshesToModel(void *arg);
62
63private:
65 void operator=(const vtkOSPRayPolyDataMapperNode&) VTK_DELETE_FUNCTION;
66};
67#endif
a simple class to control print indentation
Definition: vtkIndent.h:40
links vtkActor and vtkMapper to OSPRay
links vtkActor and vtkMapper to OSPRay
virtual void Render(bool prepass)
Make ospray calls to render me.
static vtkOSPRayPolyDataMapperNode * New()
void AddMeshesToModel(void *arg)
virtual void Invalidate(bool prepass)
Invalidates cached rendering data.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void ORenderPoly(void *renderer, void *model, vtkOSPRayActorNode *aNode, vtkPolyData *poly, double *ambientColor, double *diffuseColor, double opacity)
vtkViewNode specialized for vtkPolyDataMappers
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:86
@ diffuseColor
Definition: vtkX3D.h:240