cam2D%u -bgcolor [%f %f %f]
| get/set RGB color of background (each color is between 0.0 and 1.0)
|
cam2D%u -boundingBoxColor [%f %f %f]
| get/set bounding box RGB color (each color is between 0.0 and 1.0)
|
cam2D%u -boundingBoxWidth [%f]
| get/set bounding box line width
|
cam2D%u -button1Pressed %x %y
| left button pressed callback
|
cam2D%u -button1Released %x %y
| left button released callback
|
cam2D%u -button2Pressed %x %y
| middle button pressed callback
|
cam2D%u -button2Released %x %y
| middle button released callback
|
cam2D%u -button3Pressed %x %y
| right button pressed callback
|
cam2D%u -button3Released %x %y
| right button released callback
|
cam2D%u -cameraCenter [%f %f]
| get/set the center in canvas coordinate where the camera is looking for(important when scaling camera)
|
cam2D%u -center [%f %f]
| get/set the center in world coordinate where the camera is looking for(important when scaling camera)
|
cam2D%u -ctrlButton1Pressed %x %y
| ctrl-left button pressed callback
|
cam2D%u -ctrlButton1Released %x %y
| ctrl-left button released callback
|
cam2D%u -ctrlButton2Pressed %x %y
| ctrl-middle button pressed callback
|
cam2D%u -ctrlButton2Released %x %y
| ctrl-middle button released callback
|
cam2D%u -ctrlButton3Pressed %x %y
| ctrl-right button pressed callback
|
cam2D%u -ctrlButton3Released %x %y
| ctrl-right button released callback
|
cam2D%u -destroy
| delete 2D camera
|
cam2D%u -focus
| reset 2D camera focus to view all scene
|
cam2D%u -height [%u [-width %u]]
| get height or set height and possibly width of 2D camera
|
cam2D%u -keyDown
|
|
cam2D%u -keyLeft
|
|
cam2D%u -keyRight
|
|
cam2D%u -keyUp
|
|
cam2D%u -kind
| returns the name of the object kind associated with a given object
|
cam2D%u -menu
| return the name of the Tcl menu name associated with the camera
|
cam2D%u -motionMode [camera | object]
| get/set object bound to mouse motion
|
cam2D%u -mouseMotion %x %y
| mouse moved callback
|
cam2D%u -record < file=%f | pause | stop>
| start/stop camera movie dumps in file named file0000.xwd, file0001.xwd...
|
cam2D%u -redraw
| cause 2D camera to redraw itself
|
cam2D%u -resize %u %u
| associated canvas has been resized to given width and height
|
cam2D%u -saveToeps <%s>
| save the camera view in a eps format image file
|
cam2D%u -scale [%f | * %f | / %f]
| get or set 2D camera scale (can set either an absolute scale or a relative one)
|
cam2D%u -scene
| return scene shown
|
cam2D%u -select
| get/set the selected object
|
cam2D%u -shiftButton1Pressed %x %y
| shift-left button pressed callback
|
cam2D%u -shiftButton1Released %x %y
| shift-left button released callback
|
cam2D%u -shiftButton2Pressed %x %y
| shift-left middle pressed callback
|
cam2D%u -shiftButton2Released %x %y
| shift-middle button released callback
|
cam2D%u -shiftButton3Pressed %x %y
| shift-left right pressed callback
|
cam2D%u -shiftButton3Released %x %y
| shift-right button released callback
|
cam2D%u -showBoundingBox [%b]
| get/set bounding box showing flag
|
cam2D%u -translate [%f %f]
| get/set camera center translation
|
cam2D%u -widget
| return associated TCL canvas name
|
cam2D%u -width [%u [-height %u]]
| get width or set width and possibly height of 2D camera
|