Go to the documentation of this file.
25 #ifndef vtkOSPRayRendererNode_h
26 #define vtkOSPRayRendererNode_h
28 #include "vtkRenderingOSPRayModule.h"
61 virtual void Build(
bool prepass);
66 virtual void Render(
bool prepass);
76 virtual void WriteLayer(
unsigned char *buffer,
float *zbuffer,
77 int buffx,
int buffy,
int layer);
92 static void SetSamplesPerPixel(
int,
vtkRenderer *renderer);
93 static int GetSamplesPerPixel(
vtkRenderer *renderer);
104 static void SetMaxFrames(
int,
vtkRenderer *renderer);
128 static void SetAmbientSamples(
int,
vtkRenderer *renderer);
129 static int GetAmbientSamples(
vtkRenderer *renderer);
141 static void SetCompositeOnGL(
int,
vtkRenderer *renderer);
142 static int GetCompositeOnGL(
vtkRenderer *renderer);
151 this->Lights.push_back(light); }
157 return this->Buffer; }
163 return this->ZBuffer; }
167 virtual void Traverse(
int operation);
virtual void Build(bool prepass)
Build containers for our child nodes.
links vtkRenderers to OSPRay
virtual float * GetZBuffer()
Get the last rendered ZBuffer.
OSPModel GetOModel()
Methods for other nodes to access.
osp::FrameBuffer * OSPFrameBuffer
OSPFrameBuffer OFrameBuffer
virtual unsigned char * GetBuffer()
Get the last rendered ColorBuffer.
osp::Renderer * OSPRenderer
static vtkRendererNode * New()
std::vector< OSPLight > Lights
a simple class to control print indentation
virtual void Render(bool)
Makes calls to make self visible.
osp::Texture2D * OSPTexture2D
void AddLight(OSPLight light)
abstract specification for renderers
OSPRenderer GetORenderer()
vtkViewNode specialized for vtkRenderers
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void Invalidate(bool)
Clear any cached data.
virtual void Traverse(int operation)