Class CMScene extends CMItem
CMScene
Copyright (C) 2020, Humboldt State University, Jim Graham
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General
Public License as published by the Free Software Foundation, either version 3 of the License, or (at your
option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see
Object Functions
Inherited From: CMItem
Returns | Function | Throws |
---|---|---|
SetToolHandler(NewToolHandler) | ||
GetToolHandler() | ||
NewTool | GetTool() | |
Resize(TheView) | ||
Repaint(TheView) | ||
GetBounds() |
Object Functions
SetToolHandler(NewToolHandler)
Add a tool handler to the view
Parameters:
NewToolHandler -
GetToolHandler()
Get the current tool handler, if any
NewTool=GetTool()
Returns the current tool
Returns: NewTool - from the enums: CMToolHandler.TOOL_HAND,...
Resize(TheView)
Called when the window is resized
Parameters:
TheView - the view that recieved the event
Repaint(TheView)
Called by the layers to repaint the scene
Parameters:
TheView - the view that recieved the event
GetBounds()
Gets the bounds of all the geo bounds combined.