![]() |
OGRE
master
Object-Oriented Graphics Rendering Engine
|
Convenience functions for python. More...
Functions | |
def | Python.Numpy.AsDataStream (arr) |
copy numpy array to Ogre.MemoryDataStream that can be used in Ogre More... | |
def | Python.HighPy.camera_intrinsics |
def | Python.HighPy.imshow |
def | Python.HighPy.mesh_hide |
def | Python.HighPy.mesh_show |
def | Python.HighPy.point_light |
def | Python.Numpy.view (o) |
writable numpy view to the ogre data types More... | |
def | Python.HighPy.window_compositor |
def | Python.HighPy.window_create |
def | Python.HighPy.window_draw |
def | Python.HighPy.window_pixel_data |
def | Python.HighPy.window_use_imgui |
Variables | |
int | Python.HighPy.AXES_ZBACKWARD_YUP = 0 |
Ogre & OpenGL coordinate system More... | |
int | Python.HighPy.AXES_ZFORWARD_YDOWN = 1 |
OpenCV & colmap coordinate system. More... | |
Python.HighPy.user_resource_locations = set() | |
add paths here to override the default resource location "." More... | |
Convenience functions for python.
def Python.Numpy.AsDataStream | ( | arr | ) |
copy numpy array to Ogre.MemoryDataStream that can be used in Ogre
arr | some numpy array |
References Python.Numpy.view().
def Python.Numpy.view | ( | o | ) |
writable numpy view to the ogre data types
take care that the ogre type does not get released while the view is used. e.g. this is invalid
instead do
to pass numpy arrays into Ogre use AsDataStream()
References Ogre::PixelUtil.getNumElemBytes(), Ogre::MaterialManager.getSingleton(), and Ogre::TextureManager.getSingleton().
Referenced by Python.Numpy.AsDataStream().
def Python.HighPy.window_create | ( | window_name | ) |
def Python.HighPy.window_draw | ( | window_name | ) |
def Python.HighPy.window_use_imgui | ( | window_name | ) |
def Python.HighPy.window_compositor | ( | window_name | ) |
References Ogre::CompositorManager.getSingleton().
def Python.HighPy.window_pixel_data | ( | window_name | ) |
References Ogre::CompositorManager.getSingleton().
def Python.HighPy.imshow | ( | window_name | ) |
def Python.HighPy.camera_intrinsics | ( | window_name | ) |
def Python.HighPy.mesh_show | ( | window_name | ) |
def Python.HighPy.mesh_hide | ( | window_name | ) |
def Python.HighPy.point_light | ( | window_name | ) |
int Python.HighPy.AXES_ZBACKWARD_YUP = 0 |
Ogre & OpenGL coordinate system
int Python.HighPy.AXES_ZFORWARD_YDOWN = 1 |
OpenCV & colmap coordinate system.
Python.HighPy.user_resource_locations = set() |
add paths here to override the default resource location "."