26 #ifndef vtkOpenGLImageSliceMapper_h 27 #define vtkOpenGLImageSliceMapper_h 29 #include "vtkRenderingOpenGLModule.h" 67 void RenderColorAndLighting(
68 double red,
double green,
double blue,
69 double alpha,
double ambient,
double diffuse);
76 void RecursiveRenderTexturedPolygon(
84 void RenderTexturedPolygon(
98 void RenderBackground(
118 void ComputeTextureSize(
119 const
int extent[6],
int &xdim,
int &ydim,
120 int imageSize[2],
int textureSize[2]) VTK_OVERRIDE;
126 bool TextureSizeOK(const
int size[2]);
134 long BackgroundTextureIndex;
135 long FragmentShaderIndex;
138 int TextureBytesPerPixel;
145 bool UsePowerOfTwoTextures;
147 bool UseFragmentProgram;
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this mapper.
Wrapper around std::string to keep symbols short.
static vtkImageSliceMapper * New()
record modification and/or execution time
abstract specification for renderers
OpenGL mapper for image slice display.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
window superclass for vtkRenderWindow
a simple class to control print indentation
topologically and geometrically regular array of data
create a window for renderers to draw into
represents an image in a 3D scene
void Render(vtkRenderer *renderer, vtkImageSlice *prop) override
This should only be called by the renderer.
map a slice of a vtkImageData to the screen
represent and manipulate 3D points