MCPcopy Create free account
hub / github.com/Kitware/VTK / ClearImage

Method ClearImage

Rendering/Volume/vtkFixedPointRayCastImage.cxx:62–73  ·  view source on GitHub ↗

Clear image to 0

Source from the content-addressed store, hash-verified

60
61// Clear image to 0
62void vtkFixedPointRayCastImage::ClearImage()
63{
64 unsigned short* ucptr = this->Image;
65
66 for (int i = 0; i < this->ImageMemorySize[0] * this->ImageMemorySize[1]; i++)
67 {
68 *(ucptr++) = 0;
69 *(ucptr++) = 0;
70 *(ucptr++) = 0;
71 *(ucptr++) = 0;
72 }
73}
74
75void vtkFixedPointRayCastImage::AllocateZBuffer()
76{

Callers 1

ComputeRowBoundsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected