Reference Guide > U–V Routines > vtkGETNAMES Function
  

vtkGETNAMES Function
Returns the names of all Lights, Cameras and Actors in a renderer.
Usage
names = vtkGETNAMES([windx, /Lights, /Camera, /Actors, /All])
Input Parameters
windx—(optional) The vtk Window index to query.
Returned Value
names—A string (/Camera), string array (/Lights and /Actors) or an Associative Array (/All)
Keywords
Actors—Returns a string array containing names of all actors.
Lights—Returns a string array containing names of all lights.
Camera—Returns the name of the current camera.
All—Returns an associative array containing the results of all queries of the renderer.
Example
vtkSurface, DIST(10), xticks=5, /label
print, vtkGetNames(/Actors)

Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.