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

Function vtkSetClampMacro

Views/Infovis/vtkRenderView.h:135–137  ·  view source on GitHub ↗

@{ * Sets the selection mode for the render view. * SURFACE selection uses vtkHardwareSelector to perform a selection * of visible cells. * FRUSTUM selection just creates a view frustum selection, which will * select everything in the frustum. */

Source from the content-addressed store, hash-verified

133 * select everything in the frustum.
134 */
135 vtkSetClampMacro(SelectionMode, int, 0, 1);
136 vtkGetMacro(SelectionMode, int);
137 void SetSelectionModeToSurface() { this->SetSelectionMode(SURFACE); }
138 void SetSelectionModeToFrustum() { this->SetSelectionMode(FRUSTUM); }
139 ///@}
140

Callers

nothing calls this directly

Calls 1

SetSelectionModeMethod · 0.80

Tested by

no test coverage detected