Seltypes¶
LXiSEL_ACTION
LXiSEL_ITEM
LXiSEL_VERTEX
LXiSEL_POLYGON
LXiSEL_MODIFIER
LXiSEL_CHANNEL
LXiSEL_CINEMA
LXiSEL_PARTICLE
LXiSEL_ENVELOPE
LXiSEL_ENVELOPE_KEY
LXiSEL_GRADIENT_KEY
LXiSEL_EDGE
LXiSEL_VMAP
LXiSEL_PTAG
LXiSEL_PIVOT
LXiSEL_CENTER
LXiSEL_LINK
LXiSEL_VECTORSHAPE
LXiSEL_VECTORPATH
LXiSEL_VECTORKNOT
-
LXsSELTYP_SCENE
¶ Scene selection determines which scene is currently active for commands. The selection packet can be read or encoded.
ILxScenePacketTranslation¶
-
class
ILxScenePacketTranslation
¶ Scene selection determines which scene is currently active for commands. The selection packet can be read or encoded.
Public Functions
-
LxResult
Scene
(LXtObjectID self, void *packet, void **ppvObj)¶
-
void *
Packet
(LXtObjectID self, LXtObjectID scene)¶
-
bool
autoInit
()¶ User Class Only:
-
bool
GetScene
(void *packet, CLxLoc_Scene &scene)¶
-
LxResult
-
LXsSELTYP_ITEM
¶ Selected items can be of different types, and each packet encodes a single item selection.
ILxItemPacketTranslation¶
-
class
ILxItemPacketTranslation
¶ Selected items can be of different types, and each packet encodes a single item selection.
Public Functions
-
LxResult
Item
(LXtObjectID self, void *packet, void **ppvObj)¶
-
void *
Packet
(LXtObjectID self, LXtObjectID item)¶
-
LxResult
-
LXsSELTYP_NODE
¶ Selected nodes can be of different types, and each packet encodes a single node selection.
ILxNodePacketTranslation¶
-
class
ILxNodePacketTranslation
¶ Selected nodes can be of different types, and each packet encodes a single node selection.
Public Functions
-
LxResult
Node
(LXtObjectID self, void *packet, void **ppvObj)¶
-
void *
Packet
(LXtObjectID self, LXtObjectID node)¶
-
bool
autoInit
()¶ User Class Only:
-
bool
GetNode
(void *packet, CLxLoc_Item &node)¶
-
LxResult
-
LXsSELTYP_CHANNEL
¶ Selected channels are wrapped in a COM object that contains an item/channel pair.
ILxChannelPacketTranslation¶
-
class
ILxChannelPacketTranslation
¶ Selected channels are wrapped in a COM object that contains an item/channel pair.
Public Functions
-
LxResult
Item
(LXtObjectID self, void *packet, void **ppvObj)¶
-
unsigned int
Index
(LXtObjectID self, void *packet)¶
-
void *
Packet
(LXtObjectID self, LXtObjectID item, unsigned int index)¶
-
bool
autoInit
()¶ User Class Only:
-
bool
GetItem
(void *packet, CLxLoc_Item &item)¶
-
LxResult
-
LXsSELTYP_CENTER
¶ Selected centers are identical to selected items, but need a different translation interface.
ILxCenterPacketTranslation¶
-
class
ILxCenterPacketTranslation
¶ Selected centers are identical to selected items, but need a different translation interface.
Public Functions
-
LxResult
Item
(LXtObjectID self, void *packet, void **ppvObj)¶
-
void *
Packet
(LXtObjectID self, LXtObjectID item)¶
-
bool
autoInit
()¶ User Class Only:
-
bool
GetItem
(void *packet, CLxLoc_Item &item)¶
-
LxResult
-
LXsSELTYP_PIVOT
¶ Pivots have an item and a type. NOTE: define the types here…
ILxPivotPacketTranslation¶
-
class
ILxPivotPacketTranslation
¶ Pivots have an item and a type. NOTE: define the types here…
Public Functions
-
LxResult
Item
(LXtObjectID self, void *packet, void **ppvObj)¶
-
unsigned int
Type
(LXtObjectID self, void *packet)¶
-
void *
Packet
(LXtObjectID self, LXtObjectID item, unsigned int type)¶
-
bool
autoInit
()¶ User Class Only:
-
bool
GetItem
(void *packet, CLxLoc_Item &item)¶
-
LxResult
-
LXsSELTYP_LINK
¶ Links are defined by a starting item and channel, and an ending item and channel. NOTE: shouldn’t we also know the graph?
ILxLinkPacketTranslation¶
-
class
ILxLinkPacketTranslation
¶ Links are defined by a starting item and channel, and an ending item and channel. NOTE: shouldn’t we also know the graph?
Public Functions
-
LxResult
From
(LXtObjectID self, void *packet, int *channel, void **ppvObj)¶
-
LxResult
To
(LXtObjectID self, void *packet, int *channel, void **ppvObj)¶
-
void *
Packet
(LXtObjectID self, LXtObjectID fromItem, int fromChannel, LXtObjectID toItem, int toChannel)¶
-
LxResult
LXsSELTYP_ACTIONLAYER
ILxActionLayerPacketTranslation¶
-
class
ILxActionLayerPacketTranslation
¶ Public Functions
-
LxResult
Item
(LXtObjectID self, void *packet, void **ppvObj)¶
-
unsigned int
Index
(LXtObjectID self, void *packet)¶
-
void *
Packet
(LXtObjectID self, LXtObjectID item, unsigned int index)¶
-
LxResult
-
LXsSELTYP_VERTEX
¶ A selected vertex is part of a mesh, which can be read from the packet. The selected vertex may also be discontinuous, in which case the polygon associated with the selected vertex will be non-null.
ILxVertexPacketTranslation¶
-
class
ILxVertexPacketTranslation
¶ A selected vertex is part of a mesh, which can be read from the packet. The selected vertex may also be discontinuous, in which case the polygon associated with the selected vertex will be non-null.
Public Functions
-
LxResult
Vertex
(LXtObjectID self, void *packet, LXtPointID *vertex)¶
-
LxResult
Polygon
(LXtObjectID self, void *packet, LXtPolygonID *polygon)¶
-
LxResult
Mesh
(LXtObjectID self, void *packet, void **ppvObj)¶
-
void *
Packet
(LXtObjectID self, LXtPointID vertex, LXtPolygonID polygon, LXtObjectID mesh)¶
-
LxResult
Item
(LXtObjectID self, void *packet, void **ppvObj)¶
-
bool
autoInit
()¶ User Class Only:
-
bool
GetMesh
(void *packet, CLxLoc_Mesh &mesh)¶
-
bool
GetItem
(void *packet, CLxLoc_Item &item)¶
-
LxResult
-
LXsSELTYP_EDGE
¶ A selected edge is given by a pair of vertices in a mesh. As with vertices, edge selections may be discontinuous in which case the polygon will be non-null.
ILxEdgePacketTranslation¶
-
class
ILxEdgePacketTranslation
¶ A selected edge is given by a pair of vertices in a mesh. As with vertices, edge selections may be discontinuous in which case the polygon will be non-null.
Public Functions
-
LxResult
Vertices
(LXtObjectID self, void *packet, LXtPointID *vertexA, LXtPointID *vertexB)¶
-
LxResult
Polygon
(LXtObjectID self, void *packet, LXtPolygonID *polygon)¶
-
LxResult
Mesh
(LXtObjectID self, void *packet, void **ppvObj)¶
-
void *
Packet
(LXtObjectID self, LXtPointID vertexA, LXtPointID vertexB, LXtPolygonID polygon, LXtObjectID mesh)¶
-
LxResult
Item
(LXtObjectID self, void *packet, void **ppvObj)¶
-
bool
autoInit
()¶ User Class Only:
-
bool
GetMesh
(void *packet, CLxLoc_Mesh &mesh)¶
-
bool
GetItem
(void *packet, CLxLoc_Item &item)¶
-
LxResult
-
LXsSELTYP_POLYGON
¶ Polygon selection is just a polygon ID in a mesh.
ILxPolygonPacketTranslation¶
-
class
ILxPolygonPacketTranslation
¶ Polygon selection is just a polygon ID in a mesh.
Public Functions
-
LxResult
Polygon
(LXtObjectID self, void *packet, LXtPolygonID *polygon)¶
-
LxResult
Mesh
(LXtObjectID self, void *packet, void **ppvObj)¶
-
void *
Packet
(LXtObjectID self, LXtPolygonID polygon, LXtObjectID mesh)¶
-
LxResult
Item
(LXtObjectID self, void *packet, void **ppvObj)¶
-
bool
autoInit
()¶ User Class Only:
-
bool
GetMesh
(void *packet, CLxLoc_Mesh &mesh)¶
-
bool
GetItem
(void *packet, CLxLoc_Item &item)¶
-
LxResult
-
LXsSELTYP_VERTEXMAP
¶ A selected vertex map consists entirely of a name and a type. Commands affect all selected mesh items that contain a vertex map with that name and type.
ILxVMapPacketTranslation¶
-
class
ILxVMapPacketTranslation
¶ A selected vertex map consists entirely of a name and a type. Commands affect all selected mesh items that contain a vertex map with that name and type.
Public Functions
-
LxResult
Name
(LXtObjectID self, void *packet, const char **name)¶
-
LxResult
Type
(LXtObjectID self, void *packet, LXtID4 *type)¶
-
void *
Packet
(LXtObjectID self, LXtID4 type, const char *name)¶
-
bool
autoInit
()¶ User Class Only:
-
LxResult
LXsSELTYP_PRESETPATH
ILxPresetPathPacketTranslation¶
-
class
ILxPresetPathPacketTranslation
¶ Public Functions
-
LxResult
Path
(LXtObjectID self, void *packet, const char **path)¶ The preset path selection packet includes the path to a preset on disk, and an optional client identifier that can be used as a selection sub-type. These identifiers are usually associated with a Preset Browser viewport instance. See the Preset Browser documentation for more information on the preset path selection packet. These return the path and identifier. If these strings are not set or empty in the packet, the pointers returned will be NULL.
-
LxResult
Identifier
(LXtObjectID self, void *packet, const char **identifier)¶
-
void *
Packet
(LXtObjectID self, const char *path, const char *identifier)¶ This creates anew packet from a given path and identifier. This packet is only valid until the next call to this function.
-
bool
autoInit
()¶ User Class Only:
-
const char *
GetPath
(void *packet)¶
-
const char *
GetIdentifier
(void *packet)¶
-
LxResult
ILxItemChannel¶
-
class
ILxItemChannel
¶ This simple read-only interface is used to represent a single channel in an item as a single entity.
Public Functions
-
LxResult
Item
(LXtObjectID self, void **ppvObj)¶
-
unsigned int
ChannelIndex
(LXtObjectID self)¶
-
LxResult
-
LXsSELTYP_VECTORSHAPE
¶ Vector Shapes provide a shape, the canvas the shape belongs to, as well as the vector item.
ILxVectorShapePacketTranslation¶
-
class
ILxVectorShapePacketTranslation
¶ Vector Shapes provide a shape, the canvas the shape belongs to, as well as the vector item.
Public Functions
-
LxResult
Shape
(LXtObjectID self, void *packet, void **ppvObj)¶
-
LxResult
Canvas
(LXtObjectID self, void *packet, void **ppvObj)¶
-
LxResult
Item
(LXtObjectID self, void *packet, void **ppvObj)¶
-
void *
Packet
(LXtObjectID self, LXtObjectID shape)¶
-
bool
autoInit
()¶ User Class Only:
-
LxResult
-
LXsSELTYP_VECTORPATH
¶ Vector Paths provide a path, the shape and canvas the path belongs to, as well as the vector item.
ILxVectorPathPacketTranslation¶
-
class
ILxVectorPathPacketTranslation
¶ Vector Paths provide a path, the shape and canvas the path belongs to, as well as the vector item.
Public Functions
-
LxResult
Path
(LXtObjectID self, void *packet, void **ppvObj)¶
-
LxResult
Shape
(LXtObjectID self, void *packet, void **ppvObj)¶
-
LxResult
Canvas
(LXtObjectID self, void *packet, void **ppvObj)¶
-
LxResult
Item
(LXtObjectID self, void *packet, void **ppvObj)¶
-
void *
Packet
(LXtObjectID self, LXtObjectID path)¶
-
bool
autoInit
()¶ User Class Only:
-
LxResult
-
LXsSELTYP_VECTORKNOT
¶ Vector Knots provide a knot, the path, shape and canvas the knot belongs to, as well as the vector item.
ILxVectorKnotPacketTranslation¶
-
class
ILxVectorKnotPacketTranslation
¶ Vector Knots provide a knot, the path, shape and canvas the knot belongs to, as well as the vector item.
Public Functions
-
LxResult
Knot
(LXtObjectID self, void *packet, LXtVectorKnotID *knot)¶
-
LxResult
Path
(LXtObjectID self, void *packet, void **ppvObj)¶
-
LxResult
Shape
(LXtObjectID self, void *packet, void **ppvObj)¶
-
LxResult
Canvas
(LXtObjectID self, void *packet, void **ppvObj)¶
-
LxResult
Item
(LXtObjectID self, void *packet, void **ppvObj)¶
-
void *
Packet
(LXtObjectID self, LXtVectorKnotID knot)¶
-
bool
autoInit
()¶ User Class Only:
-
LxResult