Changeset 588 for trunk


Ignore:
Timestamp:
09/07/11 13:00:29 (9 months ago)
Author:
ddangelo
Message:

function to get the osg::viewer::GraphicsWindow?.

Location:
trunk/avango-display/python/avango/display
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/avango-display/python/avango/display/__init__.py

    r587 r588  
    128128    return _selected_display.get_view(subdisplay) 
    129129 
     130def get_window(subdisplay): 
     131    """ 
     132    Get the osg.viewer.GraphicsWindow object of the selected subdisplay. If no window for the 
     133    given subdisplay is found, None is returned 
     134    """ 
     135    return _selected_display.get_window(subdisplay) 
     136 
    130137def make_user(user=0, interface="", subdisplay=""): 
    131138    """Create a field container that represents the user position. 
  • trunk/avango-display/python/avango/display/_display.py

    r587 r588  
    107107 
    108108    def get_camera(self, subdisplay): 
     109        return None 
     110     
     111    def get_window(self, subdisplay): 
    109112        return None 
    110113 
Note: See TracChangeset for help on using the changeset viewer.