# hou.Matrix4 class

A 4×4 matrix of floating point values.

4×4 matrices are typically used in Houdini to represent a 3D transformation (e.g. some combination of rotation, scaling, shearing, and translation). A single matrix compactly represents a transformation, and is much easier to deal with than multiple translate, rotate, scale, shear, transformation order, and rotation order values.

Note that Houdini’s matrices are stored in row-major format, and vectors that are multiplied with matrices are treated as row vectors. So, if `p` is a hou.Vector4 representing a point and `M` is a Matrix4, you write `p*M`, not `M*p`. Similarly, `p*M1*M2` will first transform `p` by `M1`, and then transform it by `M2`.

You can multiply Vector3s or Vector4s by Matrix4s. If you multiply a Vector3, it is the same as multiplying a Vector4 where the fourth component is 1 (see hou.Vector3.__mul__()).

To transform a normal (as opposed to a point or vector), you need to multiply by the inverse transpose of the matrix. For example, suppose:

`p`

is a hou.Vector3 object representing a position (or a hou.Vector4 with `v[4]==1`)

`v`

is a hou.Vector4 object representing a vector (a direction with a length but no fixed location in space), with `v[3]==0`

`n`

is a hou.Vector4 object representing a normal, with `v[3]==0`

`m`

is a Matrix4 object representing a transform matrix

Then you would write:

```p * m # to transform the point
v * m # to transform the vector
n * m.inverted().transposed() # to transform the normal
# (note that m.inverted().transposed() is mathematically equivalent to m.transposed().inverted())
```

Here is a concrete example:

```>>> m = hou.hmath.buildTranslate((1, 1, 2))
>>> m
<hou.Matrix4 [[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [1, 1, 2, 1]]>
>>> p = hou.Vector3(1, 2, 3)
>>> p * m
<hou.Vector3 [2, 3, 5]>
```

Both VEX and the UT_DMatrix4 class in the Houdini Development Kit (HDK) also store matrices in row-major format.

# hou

## Animation

• Abstract base class for all keyframe class.

• Class representing the default keyframe type, a numerical keyframe.

## Digital assets

• Represents the definition of a houdini digital asset (HDA).

• User-defined Python module containing functions, classes, and constants that are stored with and accessed from a digital asset.

• Stores miscellaneous options about a houdini digital asset (HDA).

• Represents a "section" of data stored along with a digital asset.

• Module containing functions related to Houdini Digital Assets.

• Given a node type category, operator name and digital asset library path, return an HDADefinition object. Return None if no such digital asset definition matches the arguments.

• Enumeration of types of events that can happen for digital asset libraries.

• Enumeration of digital asset license permission levels.

## Channels

• Class representing a CHOP node.

• Evaluate a Bezier interpolation spline for an animated parameter using the left keyframe’s outgoing value, tangent, and acceleration and the right keyframe’s incoming value, tangent, and acceleration.

• Evaluate an animation function for an animated parameter. The return value is always the left keyframe’s outgoing value.

• Smooth curve between the left keyframe’s outgoing slope and the right’s incoming slope.

• Repeats the motion between two times.

• Repeats the motion between two frames, lining up the first repeated value with the left keyframe’s value.

• Repeats the motion between two times, lining up the repeated values with the left keyframe’s value.

• Repeats the motion between two times.

• Interpolates between the left keyframe’s outgoing value and the right keyframe’s incoming value.

• Interpolates between the left keyframe’s outgoing value and the right keyframe’s incoming value.

• Interpolates between the values of two keyframes.

• Interpolates between the left keyframe’s outgoing value and the right keyframe’s incoming value.

• Interpolates between the values of two keyframes.

• Interpolates between the values of two keyframes.

• Linearly interpolates between the left keyframe’s outgoing value and the right keyframe’s incoming value.

• Creates a smooth curve between the left keyframe’s incoming slope and the right keyframe’s outgoing slope.

• Creates a straight line from the left keyframe’s incoming value, matching the left keyframe’s incoming slope.

• Creates a straight line from the right keyframe’s outgoing value, matching the right keyframe’s outgoing slope.

• Linearly interpolates between keyframes using quaternions.

• Evaluate an interpolation function for an animated parameter that gives a smooth curve between the left keyframe’s outgoing value and the right keyframe’s incoming value, using the left’s outgoing slope and acceleration and the right’s incoming slope and acceleration.

• Repeats the motion between two times.

• Repeats the motion between two times.

• Fits a spline through consecutive keyframe values.

• Matches the incoming and outgoing values and slopes.

• Matches the left keyframe’s incoming slope.

• Matches the right keyframe’s outgoing slope.

## Cooking

• Return Houdini’s cook update mode (Auto Update/On Mouse Up/Manual) that is displayed in the status bar.

• Enumeration of interface update modes.

• Return Houdini’s cook update mode (Auto Update/On Mouse Up/Manual) that is displayed in the status bar.

## Crowds

• An agent primitive.

• An agent’s animation clip.

• The shared data for an agent primitive.

• An agent’s layer.

• The rig of an agent primitive.

• An agent’s shape.

• A shape binding in an agent’s layer.

• A deformer for agent shapes.

• The shape library of an agent primitive.

• A group of transforms in an agent’s rig.

• Crowd-related functions.

## Dynamics

• A piece of data stored inside a DOP network’s simulation.

• Represents a dynamics node.

• A type of DOP data that contains an object in the simulation.

• A table of values stored inside a DopData.

• A type of DOP data that stores which DOP objects affect one another.

• A dynamics simulation contained inside a DOP network node.

• Returns the DOP Network node set as the "current" simulation in the UI.

• DOP related functions.

• Enumeration of field types.

## Exceptions

• Base class for all exceptions in the hou module.

• Exception that is raised when you try to modify geometry from outside of a Python SOP.

• Exception that is raised when you try to set a node’s input to something invalid.

• Exception that is raised when you try to call a method on a Node that isn’t supported by that type of node.

• Exception that is raised when you pass a sequence of the wrong length to a function.

• Exception class for when loading a hip file in Houdini generates warnings.

• Exception raised when a name conflict is detected during an operation.

• Exception class used to set errors on nodes implemented via Python.

• Exception class used to set warnings on nodes implemented via Python.

• Exception class for when an operation attempted to use a feature that is not available. This class is a subclass of .

• Exception class for when you use a stale variable to attempt to access something that was deleted in Houdini. This class is a subclass of .

## File I/O

• Search the Houdini path for the specified directory, returning a tuple of all the matches. The directory name specified should be relative to the Houdini directory.

• Search the Houdini path for a specified directory, returning the first match found. The directory name specified should be relative to the Houdini directory.

• Search the Houdini path for a specified file, returning the first match found. The filename specified should be relative to the Houdini directory.

• Search the Houdini path for the specified file, returning a tuple of all the matches. The filename specified should be relative to the Houdini directory.

• Search the Houdini path for files with a particular extension, returning a tuple of all the matches. A subdirectory can also be optionally provided which is appended to each entry in the Houdini path before looking for files.

• Return the path to the Houdini directory in your \$HOME directory.

• Return the contents of the Houdini path as a tuple of strings.

• Given a string containing data in CPIO data format, decode the data and return a sequence of (name, value) pairs representing the data.

• Given a file containing data in index data format, decode the data and return a dictionary representing the data.

• Given a string containing data in index data format, decode the data and return a dictionary representing the data.

• Read a file, returning the contents in a string. Supports regular files, opdef: and oplib: paths, and http URLs.

• Given a sequence of (name, value) string tuples, encode that data into a string in CPIO format.

• Given a dictionary mapping strings to strings, encode that data in index data format and save it into a file.

• Given a dictionary mapping strings to strings, encode that data into a string in index data format.

## General

• This class is the base class for an enumeration value. It cannot be instanced and is not meant to be used directly by the user.

• Use this class to turn any Python code block into an interruptable operation.

• Used to edit the current session overlay layer that is applied to the current LOP node’s scene graph.

• Use this class to collect multiple redraws for any Python code block and only redraw once.

• Use this class to disable undos within a Python code block.

• Used to group all undos within a Python code block into a single action.

• Allow (or disallow) an environment variable to overwrite the value of a global variable saved in a hip file.

• Compares two numbers and returns True if they are almost equal in terms of how far apart they are when represented as floating point numbers.

• Appends the given source code to the hou.session module. The appended code is made available immediately. You do not have to re-import hou.session.

• Returns the application’s compilation date.

• Returns the application name.

• Returns a string containing information about the system that compiled this version of Houdini.

• Returns the application’s version number as a tuple of integers – (major_version, minor_version, build_version).

• Returns the application’s version number as a string.

• Functions related to playing audio using Houdini’s playbar.

• Returns a CHOP node path pattern to take precedence when exporting to the same channel.

• Exits Houdini, returning the exit code to the operating system. If suppress_save_prompt is false, this function asks the user if he/she wants to save. If the user presses "Cancel", the exit will be canceled and the next statement will execute.

• Enumeration of the hip file event types that can be handled by callback functions.

• Houdini and 3D related math functions.

• Module containing hotkey related functions.

• Return whether the application is an apprentice (non-commercial) version.

• Return the category of license (Commercial, Apprentice, ApprenticeHD, etc.) in use.

• Enumeration of license category values.

• Returns the number of threads used for processing.

• Enumeration of numeric value types.

• Matches a pattern in a string.

• Release the currently held Houdini license.

• Enumeration of hip file save modes.

• This module is used to define custom classes, functions and variables that can be called from within the current Houdini session. The contents of this module are saved into the .hip file.

• Returns the contents of the hou.session module.

• Sets a CHOP node path pattern to take precedence when exporting to the same channel.

• Sets the maximum number of threads to use for multi-processing.

• Sets the contents of the hou.session module. The new contents is made available immediately. You do not have to re-import hou.session.

• Starts a Houdini Engine debugging session in Houdini if no session is currently active

• Deprecated: Use InterruptableOperation.

## Geometry

• This class stores information about a Geometry attribute.

• Each Edge object resides inside a Geometry object and stores an edge. Edges are reprsented as pairs of points.

• A named group of edges inside a Geometry object.

• A Face is a kind of geometry primitive (Prim object) that contains a sequence of vertices (Vertex objects). How these vertices are used depends on the type of face; polygons, for example, use the vertices to define the edges of the polygon, while NURBS curves use them as control points.

• A Geometry object contains the points and primitives that define a 3D geometric shape. For example, each SOP node in Houdini generates a single Geometry object.

• Geometry delta provides access to the geometry differences (deltas) stored by some Geometry nodes such as the edit SOP.

• Describes properties of an index pair attribute.

• A packed fragment primitive.

• A packed geometry primitive.

• A packed primitive.

• Represents a point on a geometry primitive, such as a polygon or NURBS surface.

• A named group of points inside a Geometry object.

• A Polygon is a kind of Face whose vertices are connected via straight lines.

• Each Prim resides inside a Geometry object and stores some sort of 3D geometric primitive, like a polygon, a NURBS curve, or a volume. Each primitive usually contains a set of Vertex objects, each of which references a Point object.

• A named group of primitives inside a Geometry object.

• A Quadric is a kind of geometry primitive (Prim object) that represents a 3-dimensional surface defined by a quadratic polynomial equation (e.g. a sphere or tube).

• A class that represents a geometry component selection.

• Represents a surface node.

• Represents the code of a surface node.

• A Surface is a kind of geometry primitive (Prim object) that contains a two dimensional grid of vertices (Vertex objects). How these vertices are used depends on the type of surface: meshes, for example, use the vertices to define a quadrilateral mesh, while NURBS surfaces use them as control points.

• A VDB is a kind geometry primitive (Prim object) that stores data in a three dimensional grid of voxels.

• Existing inside a Geometry object, a Vertex object is contained in exactly one Prim, and references exactly one Point.

• A Volume is a kind geometry primitive (Prim object) storing a three dimensional array of voxels.

• Enumeration of attribute data types.

• Enumeration of geometry attribute types.

• Enumeration of component loop types.

• Enumeration of geometry component types.

• Enumeration of primitive types.

• Enumeration of voxel data types.

## Images

• Minimal class representing a compositing view pane.

• Represents a compositing node.

• Enumeration of image depths (data formats) for representing the pixels in an image plane.

• Return the resolution of an image in a file.

• Create an image file from color and alpha pixel data.

## Nodes

• An abstract base class for a network item that can be used as an input to nodes in the same network, but which is not a node itself.

• Represents a lighting node.

• Represents a lighting node.

• A small dot in a network that allows wires to be routed along specific paths without affecting the data passing through them.

• The base class for all visible elements within a network.

• The base class for all visible elements within a network, such as Nodes, Network Boxes, and Sticky Notes.

• The base class for all nodes in Houdini (objects, SOPs, COPs, etc.) An instance of this class corresponds to exactly one instance of a node in Houdini.

• Represents a connection (wire) between two Nodes.

• A tree structure designed to contain information about nodes and the data they generate.

• Information common to all instances of a type of node, such as the parameters.

• Represents a particle node.

• This kind of NodeType contains extra attributes specific to SOP nodes.

• A node-like item that appears inside subnets and corresponds to the node wired into the subnet.

• Enumeration of types of appearance change events that can happen to nodes.

• Change the current node. Houdini has one current node, analogous to a current directory in a file system. If a relative path is given, it is relative to the node returned by hou.pwd().

• Clears the selected state for all nodes, network boxes, and other subclasses of hou.NetworkMovableItem in the Houdini session.

• Copy all given nodes to a new place in node hierarchy.

• Copy given nodes to clipboard.

• Return the default color for a particular network element.

• Given a path string, return a NetworkMovableItem object. Return None if the path does not refer to an item.

• Given an item’s session id and an item type, return a NetworkMovableItem object. Return None if the id does not correspond to a valid item.

• Takes a sequence of node path strings and returns a tuple of NetworkMovableItem objects.

• Move all given nodes to a new place in node hierarchy.

• Given a network box’s session id, return a NetworkBox object. Return None if the id does not correspond to a valid network box.

• Given a dot’s session id, return a NetworkDot object. Return None if the id does not correspond to a valid dot (e.g. if the dot was deleted).

• Given a path string, return a Node object. Return None if the path does not refer to a node.

• Given a node’s session id, return a Node object. Return None if the id does not correspond to a valid node (e.g. if the node was deleted).

• Given a node’s session id and an input index, return a NodeConnection object. Return None if the id does not correspond to a valid node (e.g. if the node was deleted), or the specified input index is not connected.

• Enumeration of types of events that can happen to nodes.

• Enumeration of the different node flags.

• Given a node type category object and a name, or possibly just a node type name that includes the category, return the corresponding NodeType object. The exact name is assumed so node type aliases are not evaluated. To check aliases use hou.preferredNodeType() instead. Return None if there is no such type with that name.

• Enumeration of node type sources.

• Takes a sequence of node path strings and returns a tuple of Node objects.

• Return the parent of the current node.

• Paste previously copied nodes to a given network.

• A shortcut for hou.pwd().hdaModule().

• Given a node type name that includes the category and optionally a parent node, return the corresponding NodeType object after evaluating aliases. Return None if there is no such type with that name.

• If called from an evaluating parm, return the node containing the parm. Otherwise, return Houdini’s global current node. You can change this current node with hou.cd

• Return the root node (i.e. /).

• Return a list of all selected node connections.

• Return a list of all selected nodes, network boxes, sticky notes, subnet indirect inputs, and network dots.

• Return a list of all selected nodes.

• Return the setDefault color for a particular network element.

• Make the given node Houdini’s current node. This function is equivalent to hou.cd(node.path()).

• Given a tuple of path strings, return a tuple of path strings sorted in input/outputs order. Invalid node paths won’t be part of the sorted list.

• Given a tuple of , return a tuple of sorted in input/outputs order.

• Given a sticky note’s session id, return a StickyNote object. Return None if the id does not correspond to a valid sticky note.

• Given a subnet input’s session id, return a SubnetIndirectInput object. Return None if the id does not correspond to a valid subnet input (e.g. if the subnet containing the input was deleted).

## Node types

• Represents a category of node types, such as surface nodes (SOPs) or dynamics nodes (DOPs).

• Return the NodeTypeCategory instance for Houdini channel container (chopnet) nodes.

• Return the NodeTypeCategory instance for Houdini channel (chop) nodes.

• Return the NodeTypeCategory instance for Houdini composite container (copnet) nodes.

• Return the NodeTypeCategory instance for Houdini composite (cop) nodes.

• Return the NodeTypeCategory instance for Houdini dynamic (DOP) nodes.

• Return the NodeTypeCategory instance for Houdini lighting (lop) nodes.

• Return the NodeTypeCategory instance for Houdini manager nodes. The manager nodes are /obj, /out, /part, /ch, /shop, /img, and /vex.

• Return a dictionary where the keys are the category names (e.g. "Object", "Sop") and the values are hou.NodeTypeCategory objects.

• Return the NodeTypeCategory instance for Houdini object nodes. For example, if /obj/model is an object then hou.node("/obj/model").type().category() is hou.objectNodeTypeCategory().

• Return the NodeTypeCategory instance for Houdini root (/) node. There is only one instance of the root node, and it has its own node type category.

• Return the NodeTypeCategory instance for Houdini output (rop) nodes.

• Return the NodeTypeCategory object corresponding to shader (SHOP) nodes.

• Return the NodeTypeCategory instance for Houdini geometry (sop) nodes.

• Return the NodeTypeCategory instance for Houdini task (top) nodes.

• Return the NodeTypeCategory instance for Houdini vex builder container (vopnet) nodes.

• Return the NodeTypeCategory instance for Houdini vex builder (VOP) nodes.

## Objects

• An instance of an object node in the Houdini scene.

## Organization

• Represents a network box.

• A named set of nodes whose contents can be from different networks. A bundle’s contents may be fixed or may be determined from a pattern, and the contents may be filtered by node type.

• Represents a node group.

• Represents a sticky note.

• Create a new node bundle with the specified name.

• Given a node bundle name, return the corresponding NodeBundle object, or None if there is not one with that name.

• Return a tuple containing all the node bundles in the current session.

• Enumeration of available node type filters.

• Return a tuple containing all the node bundles that are selected in the bundle list pane.

## Parameters

• A parameter in a node. Each parameter has a unique name within its node and exists inside a parameter tuple.

• A tuple of one or more node parameters. Each parameter tuple has a unique name within its node.

• The same as evalParm(). Provided for backward compatibility.

• Evaluate a parameter that references a node, and return the absolute path to the node.

• Evaluate a parameter that references a node path list, and return a space separated list of absolute node paths.

• Returns the value of a cook context option.

• Returns the names of all available cook context options.

• Evaluate a parameter, given either an absolute or a relative path to it. Relative path searches are done from the node returned by . This function is a shortcut for hou.parm(path).eval().

• Evaluate a parameter, given either an absolute or a relative path to it. Relative path searches are done from the node returned by . This function is a shortcut for hou.parmTuple(path).eval().

• Return the parameter that is currently evaluating.

• Enumeration of available expression languages.

• Enumeration of file types.

• Returns True if the specified option exists in the current cook context.

• Return the value of a node’s local variable. Call this function from expressions inside node parameters.

• Given a path string, return a Parm object. Return None if the path does not refer to a parameter.

• Enumeration of Bake Chop modes.

• Returns the contents of the parameter clipboard as a tuple of copied parameter dictionaries.

• Enumeration of available parameter conditional types.

• Enumeration of Extrapolation methods when evaluating value outside the keyframe range.

• Given a path string, return a ParmTuple object. Return None if the path does not refer to a parameter tuple.

• Enumeration of available script languages.

• Sets the default value for a cook context option.

## Parameter templates

• Describes a parameter tuple containing a button.

• Describes a parameter tuple containing data values.

• Describes a parameter tuple containing floating point values.

• Describes a folder in a parameter dialog.

• Describes a set of folders.

• Describes a parameter tuple containing integer values.

• Describes a label parameter. Unlike most other parameters, labels do not store parameter values.

• Describes a menu parameter containing evaluating to integer values. Note that StringParmTemplates may also have menus.

• Describes a parameter tuple (its name, type, etc.). This is base class for all parameter templates.

• A group of parameter templates used to represent the parameter layout of a node or the parameters in a digital asset definition.

• Parameter template for a ramp parameter.

• Template for a separator parameter. Separators are just lines between parameters and do not store any parameter values.

• Describes a parameter tuple containing string values. These values can be arbitrary strings or references to files or nodes

• Describes a parameter tuple containing a checkbox.

• Enumeration of data parameter types.

• Enumeration of folder types for FolderParmTemplates.

• Enumeration of parameter menu types.

• Enumeration of parameter data types.

• Enumeration of available looks for a parameter

• Enumeration of available naming schemes for a parameter.

• Enumeration of parameter template types.

• Enumeration of string parameter types.

## Performance

• Represents an event that is recorded by the performance monitor and used to generate time and memory growth statistics for profiles.

• Represents a performance monitor profile.

• Represents the set of options used by the Performance Monitor and specifies the type of statistics to be recorded in a profile.

• Module containing performance monitor related functions.

## Playbar

• Return the number of frames per second.

• Return the playbar’s current frame. Note that Houdini can be on a fractional frame if fractional frames are enabled.

• Convert from a given frame value to a time value.

• Return the playbar’s current frame, rounded to the nearest integer.

• Enumeration of play modes for the main playbar in Houdini.

• The animation playbar module.

• Enumeration of the playbar events that can be handled by callback functions.

• Set the number of frames per second.

• Set the playbar’s current frame. Note that the frame may be a fractional value.

• Set the playbar’s time.

• Return the playbar’s current time, in seconds of playback.

• Convert from a given time value to a frame value, rounding the result to a integer if it is close to an integer.

## preferences

• Return a preference value.

• Return all the preference names.

• Sets a preference given a name and returns true on success.

## Rendering

• Represents a render output node.

• Enumeration of dependency rendering methods.

## Scripting

• Use this to temporarily change the scripting evaluation context within a Python code block.

• A proxy object that replaces Python’s stdin, stdout, and stderr streams within Houdini.

• Decodes a variable or geometry attribute name that was previously encoded.

• Encodes any string into a valid variable or geometry attribute name.

• Expands global variables and expressions in a string at the current frame.

• Expands global variables and expressions in a string at a given frame.

• Return the globals dictionary used by the parameter expression evaluation namespace.

• Return the value of the specified Houdini environment variable.

• Return the base URL for all Houdini help pages.

• Executes the given hscript command and returns a 2-tuple of strings where the first string contains the regular output of the executed command and the second string contains the error output. You can specify multiple commands by using ';' or the newline character as the separator.

• Return the text help of an hscript command. This function is used to help re-implement hscript commands in Python.

• Deprecated: Use expandString.

• Evaluate an Hscript expression.

• Evaluate an Hscript expression as a float.

• Evaluate an Hscript expression as a vector.

• Evaluate an Hscript expression as a float.

• Evaluate an Hscript expression as a vector.

• Increments the number in a string, or appends a number to the string.

• Set the value of the specified Houdini environment variable.

• Unset the specified Houdini environment variable.

• A collection of gallery entries that can be applied to operator nodes to set their parameters to predefined values.

• A gallery entry that can be applied to operator nodes to set their parameters to predefined values.

• The base class for all SHOP nodes in Houdini. An instance of this class corresponds to exactly one instance of a node in Houdini.

• A class that represents a Houdini style sheet. It can be used to evaluate, test, and debug style sheet output.

• A module for managing galleries and their entries.

• A module for accessing standard render properties.

• Enumeration of SHOP shader types.

• A module for managing style sheets that are stored with the hip file.

## Shelf

• Represents a tab of shelf tools.

• Represents the shelf area at the top of the screen, within which shelf sets and shelf tabs exist.

• Superclass of shelf tools, shelf tabs, and shelf sets.

• Represents a collection of shelf tabs.

• Represents a tool on the shelf, encapsulating a script as well as a label, help, and other information.

• Contains functions for working with shelf tabs and shelf tools.

## UI

• Represents a Data Tree panetab.

• Class representing a Houdini desktop (a pane layout).

• Class representing a Houdini dialog.

• A floating window that contains one or more panes.

• Class representing a help browser pane tab. Provides methods for controlling the help browser.

• An interactive preview render (IPR) window.

• A value to adjust the appearance of a network editor without changing the underlying node data.

• Represents a Network Editor panetab.

• Describes the conditions under which a footprint ring should be displayed for a node in a network editor pane.

• Describes a background image that can be displayed in a network editor pane.

• The base class for extra shapes that can be drawn into a network editor.

• Describes a rectangular area that can be drawn into a network editor.

• Describes a wire that can be drawn into a network editor.

• Describes a line that can be drawn into a network editor.

• Describes a node shape that can be drawn into a network editor.

• A rectangular area of the desktop that contains one or more pane tabs.

• One of the tabs inside a desktop pane.

• Represents a Performance Monitor panetab.

• Class representing a pane tab that can display an embedded PySide or PyQt interface.

• Represents the definition of a Python panel interface.

• Enumeration of confirmation dialog suppression options.

• Enumerator for the drawable display mode.

• Enumerator for the drawable primitive types.

• Enumeration of possible read/write modes for the file chooser.

• Return whether or not the hou.ui module is available.

• Enumeration of possible pane link values.

• Enumeration of pane tab types.

• Enumeration of the different structures that are used to view objects in the Performance Monitor panetab.

• Enumeration of the different formats used when viewing times in the Performance Monitor panetab.

• Module containing functions related to Python panels.

• Module containing Qt related functions.

• A widget for color input.

• A button used for selecting colors with the Houdini look and feel.

• A non-scrollable combo box (menu button and menu) with the Houdini look and feel.

• A simple dialog with the Houdini look and feel.

• A simple label for input fields.

• A button with the Houdini look and feel that opens the Houdini file chooser dialog when clicked.

• A button with the Houdini look and feel that opens a help page when clicked.

• An icon generated from a Houdini icon name.

• A vector of text fields (one to four) that store either integers, floats or strings.

• A menu with the Houdini look and feel.

• A menubar with the Houdini look and feel.

• A button with the Houdini look and feel that opens a drop-down menu when clicked.

• A button with the Houdini look and feel that opens the Houdini node chooser dialog when clicked.

• A button with the Houdini look and feel that opens the Houdini node chooser dialog when clicked.

• A button with the Houdini look and feel that opens the Houdini node chooser dialog when clicked.

• A simple separator widget with the Houdini look and feel.

• A tooltip window with the Houdini look and feel that can be used for hover tooltips.

• A button with the Houdini look and feel that opens the Houdini track chooser dialog when clicked.

• A generic window with the Houdini look and feel.

• Convert the given QColor to a HOM color and alpha value.

• Return a QColor object for a specified Houdini resource color.

• Return a QCursor object for a Houdini cursor.

• Converts inches to pixels, accounting for both Qt and Houdini’s dpi settings.

• Return a QWidget instance representing the main Houdini Window.

• Converts pixels to inches, accounting for both Qt and Houdini’s dpi settings.

• Converts a Qt key with Qt modifiers and the key evevnt’s text into a string that is suitable for UI display or to pass to the hot key manager.

• Converts a Qt key with Qt modifiers into a UI key and UI modifiers if possible.

• Disable automatic closing of menus for the current mouse button event.

• Return the Houdini style sheet.

• Convert the given HOM color and alpha value to a QColor.

• Enumeration of dialog message severities.

• Enumeration of possible node generation modes by states.

• Enumeration of state viewer types.

• Enumerator representing the type of action a state selector can perform if triggered with .

• Module containing user interface related functions.

• Values representing reasons Houdini generated a particular UI event.

• Enumerator for UI event value types.

• Enumeration of the different data types that may be manipulated by a value ladder.

• Enumeration of the different value ladder types.

• Enumeration of the Viewer state events that can be handled by callback functions.

## Utility

• An axis-aligned 3D rectangular region.

• An axis-aligned 2D rectangular region.

• Represents a color value.

• Stores a set of rules that define how to make a selection of scene graph primitives.

• Stores a description of which payloads on the USD stage should be loaded into the viewport.

• A 2×2 matrix of floating point values.

• A 3×3 matrix of floating point values.

• A 4×4 matrix of floating point values.

• An oriented 2D rectangular region.

• A representation of a 3D rotation (or orientation). You can smoothly interpolate between two rotation values by interpolating between two quaternions.

• A Ramp represents a function that yields either floating point values or colors. You can evaluate this function between 0.0 and 1.0, and the function’s shape is determined by a sequence of values at key positions between 0.0 and 1.0.

• This kind of NodeType contains extra attributes specific to SHOP nodes.

• A sequence of 2 floating point values, with associated mathematical operations.

• A sequence of 3 floating point values, with associated mathematical operations.

• A sequence of 4 floating point values, with associated mathematical operations.

• This kind of NodeType contains extra attributes specific to VOP nodes.

• Enumeration of color spaces.

• Enumeration of compression types.

• Enumeration of ramp interpolation types.

• Enumeration of ramp types.

## VEX

• Represents a VEX/VOP context. Different contexts allow the use of different functions/VOPs.

• Represents a VOP (VEX Operator) node.

• Invokes the main function in a compiled VEX file, returning the exported values.

• Takes a NodeTypeCategory object and returns a VexContext object representing the context of VOP networks the node would contain.

• Enumeration of the different node configurations that can be created for the inputs of a VOP node.

## Views

• The grid (a.k.a. construction plane) in the scene viewer pane tab.

• A class representing a context viewer pane tab.

• Represents extra geometry to draw in the viewer alongside user content (for example, as guide geometry).

• A collection of options for the viewport flipbook dialog.

• Represents a component selection performed by the user in a viewport.

• A Display Set represents a group of 3D viewport display options that apply to a particular context of geometry.

• The reference grid (a.k.a. reference plane) in the scene viewer pane tab.

• Describes how Houdini should prompt the user to choose geometry in the viewport when creating a new SOP node instance.

• Represents a user interface event, such as a mouse press. You can access this object in an event handler to respond to user input.

• Object containing methods for testing input-device-specific information on a UI event, such as which mouse button was pressed.

• Represents a user interface event specific to viewers.

• Describes an interactive state for a viewer pane.

• Builds a context menu for a viewer state.

• Contains attributes describing a custom viewer state (tool).

• Represents a viewport visualizer.

• Represents a viewport visualizer type.

• Enum for viewport boundary overlay.

• Enumeration of connectivity types.

• Enum of viewport geometry contexts.

• Enum values for flipbook antialiasing settings.

• Enum values used to specify the motion blur subframe range.

• Enum values for setting the flipbook’s visible object types.

• Enumeration of the geometry viewport events that can be handled by callback functions.

• Enumeration of viewport layouts.

• Enumeration of scene viewer viewport types.

• Enum for viewport shading modes

• Enumeration of group list types.

• Enumeration of handle axes that can be aligned to a geometry normal.

• Enum of visibility options for marker visualizers.

• Enumeration of global orientation mode.

• Enumeration for describing the facing direction of pickable components.

• Enumeration of methods for modifying selections with new components.

• Enumeration of pick styles.

• Enumeration of spaces.

• Enumeration of selection modes.

• Enumeration of snapping modes.

• Enumeration of snapping priority.

• Enum for deforming agent quality

• Enum for agent wireframe mode display

• Background image view target for the viewport display options

• Viewport highlight of primitives with selected components

• Viewport Color Schemes

• Geometry information display state

• Enum for grid numbering on viewport grids.

• Viewport guides

• Viewport font sizes for visualizer text

• Handle highlight size

• Automatic viewport clip plane adjustment during homing

• Lighting modes for the viewport

• Enum for the update frequency of viewport material assignments

• Enum for the culled packed geometry display mode.

• Viewport display option for particle display visualization.

• The quality of shadows produced in the viewport

• Replacement geometry for instances culled in the viewport.

• Stereoscopic viewport display modes

• Enum for the viewport texture bit depth limit

• Transparency rendering quality for the viewport

• Enumeration of the different categories of viewport visualizers.

• Enumeration of the different scopes of viewport visualizers.

• Module containing viewport visualizer functionality.

• Display options for viewport volume rendering quality

## viewer

• Viewport Prompt Message Type

## widgets

• This method is deprecated.

• This method is deprecated.

• This method is deprecated.

• This method is deprecated.

• This method is deprecated.

• This method is deprecated.

• This method is deprecated.

• This method is deprecated.

• This method is deprecated.

• This method is deprecated.

• This method is deprecated.

• This method is deprecated.

• This method is deprecated.

• Return a QWidget instance representing the window for the specified floating panel.