vtkCOMMAND Procedure
Sends Tcl and VTK commands to the Tcl process.
Usage
vtkCOMMAND, command
Input Parameters
command—A string representing the VTK command to invoke.
Keywords
result—A string or string array containing any results from the execution of the command in the Tcl shell.
Discussion
The Basic interface to send raw Tcl or VTK commands to the spawned Tcl process.
Example
Use vtkCOMMAND to set the background blue.
vtkwindow, 1
vtkcommand, 'renderer1 SetBackground 0.0 0.0 1.0'
vtkrenderwindow
See Also