Trees | Indices | Help |
|
---|
|
The OpenSG Widget module.
Example:
See also example dock-window.py
Functions | |||
float |
|
||
float |
|
||
tuple of vrNodePtr, Pnt3f, Vec3f, Vec2f |
|
||
tuple of vrNodePtr, Pnt3f, Vec3f, Vec2f |
|
||
vector of floats |
|
||
vector of floats |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
bool |
|
||
|
|||
|
|||
bool |
|
||
|
|||
|
|||
bool |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
boolean |
|
||
|
|||
|
|||
|
|||
|
|||
boolean |
|
||
bool |
|
||
float |
|
||
Pnt3f |
|
||
bool |
|
||
float (64bit) |
|
||
|
|||
vrNodePtr |
|
||
bool |
|
||
bool |
|
||
integer |
|
||
bool |
|
||
int |
|
||
|
|||
float (64bit) |
|
||
float |
|
||
float |
|
||
Pnt3f |
|
||
unsigned int |
|
||
|
|||
|
|||
vrMaterialPtr |
|
||
vrNodePtr |
|
||
Pnt3f |
|
||
boolean |
|
||
float |
|
||
list of 2 integers |
|
||
Pnt3f |
|
||
|
|||
float |
|
||
MaterialPtr |
|
||
Pnt3f |
|
||
int |
|
||
|
|||
integer |
|
||
bool |
|
||
vrNodePtr |
|
||
list of vrNodePtrs |
|
||
unsigned int |
|
||
int |
|
||
int |
|
||
Real32 |
|
||
int |
|
||
Color3f |
|
||
float |
|
||
bool |
|
||
|
|||
bool |
|
||
bool |
|
||
bool |
|
||
unsigned int |
|
||
Vec3f |
|
||
boolean |
|
||
bool |
|
||
bool |
|
||
bool |
|
||
|
|||
bool |
|
||
|
|||
vector of floats |
|
||
|
|||
|
|||
|
|||
Pnt3f |
|
||
tuple of Pnt3f and Vec3f |
|
||
|
|||
bool |
|
||
bool |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Function Details |
Returns the height above the ground.
|
Returns the height above the ground.
|
Returns the intersection of the given ray with the scene.
|
Returns the intersection of the view ray of the active camera through the given pixel coordinates in the render window.
|
Gets the user projection camera world matrix (column-wise).
|
Gets the user projection camera world matrix (column-wise).
|
Set camera "relativeHeight" above the ground
|
Set camera "relativeHeight" above the ground
|
Set camera "relativeHeight" above the ground. Primarily checking for the ground plane specified (if it has a Shadow material)
|
Zooms to node.
|
Zooms to node.
|
Deprecated. See enableBackplates |
Deprecated. See enableBackplates |
Returns if backplate rendering is enabled for the active render window. See also getSceneplatesEnabled for the global switch if sceneplates should be rendered at all.
|
Enables or disables backplate rendering for the active render window. See also enableSceneplates for the global switch if sceneplates should be rendered at all.
|
Enables or disables backplate rendering for the given render window. See also enableSceneplates for the global switch if sceneplates should be rendered at all.
|
Returns if frontplate rendering is enabled for the active render window. See also getSceneplatesEnabled for the global switch if sceneplates should be rendered at all.
|
Enables or disables frontplate rendering for the active render window. See also enableSceneplates for the global switch if sceneplates should be rendered at all.
|
Enables or disables frontplate rendering for the given render window. See also enableSceneplates for the global switch if sceneplates should be rendered at all.
|
Returns if sceneplate rendering is enabled for the active render window. This works as a master-off for all sceneplate types, e.g. in order to render frontplates, sceneplate and frontplate rendering has to be enabled. See also getFrontplatesEnabled and getBackplatesEnabled.
|
Enables or disables sceneplate rendering for the active render window. This works as a master-off for all sceneplate types, e.g. in order to render frontplates, sceneplate and frontplate rendering has to be enabled. See also enableFrontplates and enableBackplates.
|
Enables or disables sceneplate rendering for the given render window. This works as a master-off for all sceneplate types, e.g. in order to render frontplates, sceneplate and frontplate rendering has to be enabled. See also enableFrontplates and enableBackplates.
|
Automatically adjusts the zero parallax distance.
|
Deletes all recorded statistics of the given render window.
|
Deprecated. Compresses all the textures. |
Creates a screenshot of the render window and writes out a image file. Note: It's best to call updateRender(True) before this to make sure the created screenshot is really up to date.
|
Destroys a render window.
|
Sets anti-aliasing.
|
Enables draw action.
|
Sets the headlight state.
|
Enables local powerwall mode.
|
Enables or disables raytracing.
|
Sets raytracing downscale.
|
Sets rendering state.
|
Sets region rendering.
|
Enables stereo. Split stereo modi (passive = True): VR_STEREO_SPLIT_TOP_BOTTOM = 0, VR_STEREO_SPLIT_LEFT_RIGHT = 1, VR_STEREO_LEFT_EYE = 2, VR_STEREO_RIGHT_EYE = 3, VR_STEREO_SPLIT_LEFT_RIGHT_HALF = 4. Stereo modi (passive = False): VR_STEREO_DOUBLEBUFFER = 0, VR_STEREO_REDCYAN = 1, VR_STEREO_BLUEYELLOW = 2, VR_STEREO_GREENMAGENTA = 3, VR_STEREO_HORIZONTALINTERLACED = 4, VR_STEREO_VERTICALINTERLACED = 5.
|
Checks, if anti-aliasing is enabled.
|
Gets the aspect ratio.
|
Returns "at" point.
|
Returns the visibility state of the auxiliary nodes during antialiasing.
|
Returns the average number of frames per second.
|
Gets the camera node.
|
Returns the visibility state of the the camera pivot while not navigating.
|
Returns the visibility state of the the camera pivot .
|
Returns the current deep learning supersampling quality.
|
Returns whether depth peeling is enabled in OpenGL.
|
Returns the number of layers that are peeled for depth peeling in OpenGL.
|
Returns the current number of frames per second.
|
Gets the far clipping plane.
|
Gets the field of view.
|
Returns "from" point.
|
Returns current genlocking frame count.
|
Returns the last picked material.
|
Returns the last picked node.
|
Returns the last picked position.
|
Returns whether GPU texture compression is enabled for lightmaps in OpenGL rendering.
|
Returns the current motion factor.
|
Returns the current pixel coordinates of the mouse over the given render window.
|
Returns navigation pivot. See also setPivot.
|
Gets the near clipping plane.
|
Returns the temporary override material a node uses in OpenGL.
|
Returns the Oculus Rift tracking reference origin. Default is (0, 0, 0). Can be changed with setOculusRiftTrackingOrigin.
|
Windows only: Retrieves the tracking origin type for the oculus rift.
|
Returns the raytracing downscale factor.
|
Checks, if raytracing is enabled.
|
Gets the render root.
|
Gets the render roots.
|
Returns number of render windows.
|
Returns the render window height.
|
Returns the render window width.
|
Get navigator roll.
|
Returns the still anti-aliasing window.
|
Returns color multiplier for the baked separate illumination in 3D rendering.
|
Returns intensity multiplier for the baked separate illumination in 3D rendering.
|
Returns whether shadow map updates are enabled or disabled.
|
Get the Shadow Plane given a regexp. Will check so that the node is active and has a shadow material:
|
Returns the state of the A Side rendering flag.
|
Returns the state of the B Side rendering flag.
|
Checks, if super sampling is enabled (Visualization > Realtime Antialiasing).
|
Returns the current realtime antialiasing quality. See setSuperSamplingQuality
|
Returns "up" vector.
|
Returns whether individual baking components are enabled to be used by 3D rendering.
|
Returns whether bindless graphics should be used or not.
|
Deprecated: Commandlists are not supported.
|
Returns whether multicast SLI should be used or not.
|
Returns whether single pass stereo is activated for stereo rendering or not
|
Gets the user projection transform matrix (column-wise).
|
Deprecated. Please use get/setUserMatrix instead. |
Returns "ViewAt" point.
|
Returns a ray that starts at the active camera and goes through the pixel at the given coordinates (x, y) in the render window.
|
Returns True, if deep learning supersampling is supported.
|
Checks, if raytracing downscale is enabled.
|
Moves a render window.
|
Sets the position of the render statistic.
|
Resets the isolate view on the render window.
|
Resets the temporary node material override.
|
Resets the tracking origin according to the current headset location and sets the yaw orientation to the current headset yaw value. In 'Standing' mode, the tracking origin is set to the position on the floor below the HMD. |
Resizes a render window.
|
Enables or disables ambient occlusion rendering.
|
Enables or disables ambient occlusion shadows for OpenGL.
|
Sets the renderpass for the specified window.
|
Sets gradient background for all render windows.
|
Activates Navigation for all MGLW.
|
Enables or disables analytic rendering.
|
Sets the aspect ratio.
|
Set camera "at" point. Actually there are two functions: setAt(index,x,y,z) sets the "at" point with the widget index and three float parameters. setAt(index,point) sets the "at" point with the widget index and a point parameter.
|
Sets the auto frustum.
|
Enable/disable display of auxiliary nodes during antialiasing.
|
Renders the whole scene with backface culling.
|
Deprecated. Move the camera node instead. |
Sets camera constraint and optionally the minimum distance.
|
Panning of the camera.
|
Enable/disable display of the camera pivot while not navigating.
|
Enable/disable display of the camera pivot during navigation.
|
Rotates the camera.
|
Scales the camera, e.g for vertical flipping (1, -1, 1).
|
Sets camera z up.
|
Zooms the camera.
|
Sets the connection of the cameras in a cluster.
|
Sets the deep learning supersampling quality.
|
Deprecated. Move the camera node instead. |
Sets the depth only pass state. If enabled the scene is rendered without shaders first to fill the depth buffer and then again to execute the shaders on the visible pixel.
|
Enables or disables depth peeling in OpenGL. Default is off.
|
Sets the number of layers to peel for depth peeling in OpenGL.
|
Enables or disables surface analysis rendering.
|
Sets the display mode.
|
Set camera distance.
|
Set the scalefactor for the navigator dolly speed.
|
Enables or disables clipping plane evaluation in OpenGL. Default is on.
|
Sets eye separation factor.
|
Enables or disables face normal rendering.
|
Sets the far clipping plane.
|
Set a fixed size for the main render window. Pass -1, -1 for dynamic resolution.
|
Switches between virtual trackball and fly navigation.
|
Enables/diables the selection of objects with a 100% transparent material in the render window.
|
Sets the field of view.
|
Freezes the current state of the occlusion culling for debugging purposes.
|
Set camera "from" point. Actually there are two functions: setFrom(index,x,y,z) sets the "from" point with the widget index and three float parameters. setFrom(index,point) sets the "from" point with the widget index and a point parameter.
|
Set camera "from", "at" and "up". Actually there are two functions: setFromAtUp(index,fx,fy,fz,ax,ay,az,ux,uy,uz) sets the camera parameters with the widget index and nine float parameters. setFromAtUp(index,from,at,up) sets the camera parameters with the widget index and two point and one vector parameter.
|
Set camera frustum
|
Sets the frustum culling.
|
Enables or disables genlocking.
|
Sets gradient background for a given render window.
|
Enables or disables high quality anti-aliasing.
|
Deprecated. Enables or disables precomputed illumination rendering.
|
Set the interaction mode.
|
Sets the isolate view on the provided objects.
|
Enables or disables keeping of the raytracing structure.
|
Enables/disables GPU texture compression for lightmaps to reduce memory consumption on the GPU for OpenGL rendering. Currently, only separate lightmaps are compressed. Default is on. Disable in case you see compression artifacts in 3D rendering. Please note, activating the compression can take a while depending on number of separate lightmaps and their size, as textures are compressed and uploaded to the GPU.
|
Sets local light source mode.
|
Disable stereo.
|
Sets motion factor.
|
Switches between different navigation modi.
|
Sets navigation orbit mode to on/off.
|
Set the navigator speed mode for two axis and trackball navigation modes.
|
Sets the near clipping plane.
|
Sets a temporary override for the material a node uses for rendering in OpenGL. Use resetNodeMaterial to reset the override to its original state.
|
Sets the occlusion culling state.
|
Sets the occlusion culling mode.(experimental) OcclusionCullingAccurate renders all objects visible in the current frame. OcclusionCullingFast renders all objects visible in the previous frame.
|
Windows only: Enables/Disables tracking of the oculus rift.
|
Sets the tracking reference origin for oculus rift tracking. Use it to correct any offsets in the scene. This function always assumes Y-Up, even if Z-up is set in the scene. If the tracking origin should be at pos = (x_scene, y_scene, z_scene) in the VRED scene, call setOculusRiftTrackingOrigin(Pnt3f(-x_scene, -z_scene, y_scene)).
|
Windows only: Sets the tracking origin type for the oculus rift. Please note: This also resets the tracking origin according to the current headset location and yaw orientation. Wear the headset and stand or sit in a comfortable position.
|
Enables/Disables OpenGL Debugging. This currently only works on Nvidia Quadro Hardware.
|
Set the scalefactor for the navigator panning speed when pivot based panning or linear navigation is turned on.
|
Set navigator rotation pivot. Actually there are two functions: setPivot(index,x,y,z) sets the rotation pivot with the widget index and three float parameters. setPivot(index,point) sets the rotation pivot with the widget index and a point parameter. See also getNavigationPivot.
|
Enables/Disables postprocessing antialiasing.
|
Enables or disables precomputed illumination rendering.
|
Sets the raytracing downscale factor.
|
Enables or disables realistic rendering. If nothing else is chosen, this is the default rendering mode.
|
Maximizes/minimizes the render widget.
|
Sets the render quality.
|
Sets render region parameters.
|
Sets render root.
|
Sets render roots.
|
Docks a render window.
|
Set navigator roll.
|
Sets the still anti-aliasing window, -1 means use window with focus.
|
Enables or disables screen space ambient occlusion in OpenGL. Default is off.
|
Sets the selection mode.
|
Sets color multiplier for the baked separate illumination in 3D rendering. Default is white.
|
Sets intensity multiplier for the baked separate illumination in 3D rendering. Default is 1.0.
|
Sets shadow state.
|
Enables/Disables updates to the shadow map.
|
Enable/disable the rendering of A and B Sides.
|
Show snapshot frame.
|
Sets transparent sorting.
|
Sets a fixed height in spacemouse mode.
|
Sets the spacemouse pivot mode.
|
Sets the two axis mode for the spacemouse.
|
Sets the spacemouse view mode.
|
Enables depth of field.
|
Enables or disables super sampling (Visualization > Realtime Antialiasing).
|
Enables/Disables super sampling (realtime antialiasing) on camera movements.
|
Sets the super sampling quality (Visualization > Realtime Antialiasing). Note, to enable realtime antialiasing you must also call setSuperSampling(True).
|
Sets the opengl texture compression state.
|
Select a transform node by mouse press event.
|
Deselect of a transform node by mouse release event.
|
Set camera "up" vector. Actually there are two functions: setUp(index,x,y,z) sets the "up" vector with the widget index and three float parameters. setUp(index,vector) sets the "up" vector with the widget index and a vector parameter.
|
Enables/Disables individual baking components to be used by 3D rendering. This applies to both vertex and texture baking. By default, all components are on.
|
Windows only, Experimental: Enables/Disables the use of bindless graphics extension if available. This can reduce the cost of rendering many geometries in OpenGL but it might get unstable if GPU memory is not sufficient.
|
Deprecated: Commandlists are not supported.
|
Re-use old draw tree.
|
Windows only: Enables/Disables use of multicast SLI for stereo rendering if present.
|
Set the navigator panning mode to be based on the pivot.
|
Windows only: Enables/Disables use of single pass stereo if supported. This command should be called before stereo rendering is activated.
|
Sets whether a fixed height is used or not.
|
Enable or disable variable rate shading.
|
Sets the user projection transform matrix (column-wise).
|
Sets the V-Sync swap interval. 0 disables V-Sync, 1 Enables V-Sync. -1 Enables adaptive V-Sync if the GPU supports it.
|
Set shading rate mode.
|
Set a predefined shading quality for uniform and foveated rendering. Latter one requires value of 6 to work properly. The super-sampling modes require enabled real-time antialiasing with corresponding multi-samples.
|
Sets the active camera for the given render window to the camera of the given camera node.
|
Sets volume drawing mode.
|
Sets wireframe rendering mode.
|
Sets wireframe selection mode.
|
Sets z write transparency.
|
Sets zero parallax distance.
|
Enable/disable Autodesk logo.
|
Shows a banner on all render widgets. There are four valid sets of parameters: showBanner(text) showBanner(text,t) showBanner(text,t,bcolor) showBanner(text,t,bcolor,width,height)
|
Sets display of the render coordinate systems.
|
Sets oculus rift performance HUD .
|
Enable/disable Autodesk logo.
|
Show progress cursor.
|
Sets display of the render statistic.
|
Enable/disable Autodesk logo.
|
Show view cube.
|
Starts (resumes) recording statistical data of the given render window.
|
Stops (pauses) recording statistical data of the given render window.
|
switched between fullscreen and normal mode.
|
Toggle RayTracing on/off
|
Write all recorded statistics of the given render window to a csv file.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Nov 29 09:33:22 2024 | http://epydoc.sourceforge.net |