------------------------------------------------------------------------------ Returns true when rendering the GL2PS background raster image. Vectorizable primitives should not be drawn during these passes.
| 129 | // Returns true when rendering the GL2PS background raster image. Vectorizable |
| 130 | // primitives should not be drawn during these passes. |
| 131 | bool SkipDraw() |
| 132 | { |
| 133 | vtkOpenGLGL2PSHelper* gl2ps = vtkOpenGLGL2PSHelper::GetInstance(); |
| 134 | return gl2ps && gl2ps->GetActiveState() == vtkOpenGLGL2PSHelper::Background; |
| 135 | } |
| 136 | |
| 137 | //------------------------------------------------------------------------------ |
| 138 | // Releases the current shader program if it is inconsistent with the GL2PS |
no outgoing calls
no test coverage detected