3
Contains implementations of maya editors
5
__docformat__ = "restructuredtext"
10
class EditorBase( uibase.NamedUI, uiutil.UIContainerBase ):
11
""" Structural base for all Layouts allowing general queries and name handling
12
Layouts may track their children """
17
"mainListConnection", "mlc",
18
"forceMainConnection", "fmc",
19
"selectionConnection", "slc",
20
"highlightConnection", "hlc",
22
"lockMainConnection", "lck",
24
"unlockMainConnection", "ulk",
25
"updateMainConnection", "upd",
30
class ColorEditor( uibase.NamedUI ):
38
class BlendShapeEditor( EditorBase ):
40
"verticalSliders", "vs",
41
"targetControlList", "tcl",
45
class OutlinerEditor( EditorBase ):
49
"showAttributes", "atr",
50
"showConnected", "con",
51
"showAnimCurvesOnly", "aco",
52
"showTextureNodesOnly", "tno",
54
"ignoreDagHierarchy", "hir",
56
"expandConnections", "xc",
57
"showUnitlessCurves", "su",
58
"showCompounds", "cmp",
60
"showNumericAttrsOnly", "num",
61
"editAttrName", "ean",
62
"showUVAttrsOnly", "uv",
63
"highlightActive", "ha",
64
"highlightSecondary", "hs",
65
"autoSelectNewObjects", "as",
66
"doNotSelectNewObjects", "dns",
67
"dropIsParent", "dip",
68
"transmitFilters", "tf",
71
"showSetMembers", "ssm",
72
"allowMultiSelection", "ams",
73
"alwaysToggleSelect", "ats",
77
"expandObjects", "eo",
78
"setsIgnoreFilters", "sif",
79
"showAttrValues", "av",
80
"masterOutliner", "mst",
81
"isChildSelected", "ics",
82
"attrAlphaOrder", "aao",
88
_events_ = ( "selectCommand", "sec" )
90
class AnimEditorBase( EditorBase ):
93
"displayTangents", "dtn",
94
"displayActiveKeys", "dak",
95
"displayActiveKeyTangents", "dat",
96
"displayInfinities", "di",
103
class AnimCurveEditor( AnimEditorBase ):
106
"showBufferCurves", "sb",
108
"resultScreenSamples", "rss",
109
"resultUpdate", "ru",
114
"normalizeCurvesCommand", "ncc",
115
"denormalizeCurvesCommand", "dcc"
119
class RenderEditorBase( EditorBase ):
124
"singleBuffer", "sbf",
125
"doubleBuffer", "dbf",
126
"displayImage", "di",
129
"displayStyle", "dst",
131
"removeAllImages", "ra",
137
class RenderWindowEditor( RenderEditorBase ):
145
"currentCamera", "crc",
156
_events_ = ( "changedCommand", "cc" )
159
class GlRenderEditor( EditorBase ):
161
"viewCameraName", "vcn",
164
"glRenderViewName", "rvn"
167
class ModelEditor( EditorBase ):
171
"displayLights", "dl",
175
"twoSidedLighting", "tsl",
176
"displayAppearance", "da",
177
"wireframeOnShaded", "wos",
178
"headsUpDisplay", "hud",
179
"selectionHiliteDisplay", "sel",
180
"useDefaultMaterial", "udm",
181
"useColorIndex", "uci",
182
"wireframeBackingStore", "wbs",
183
"useRGBImagePlane", "ip",
184
"updateColorMode", "ucm",
186
"backfaceCulling", "bfc",
188
"maxConstantTransparency", "mct",
189
"displayTextures", "dtx",
190
"smoothWireframe", "swf",
191
"textureMaxSize", "tms",
192
"textureMemoryUsed", "tmu",
193
"textureAnisotropic", "ta",
194
"textureSampling", "ts",
195
"textureDisplay", "td",
196
"textureHighlight", "th",
205
"rendererName", "rnm",
206
"rendererList", "rls",
207
"rendererListUI", "rlu",
208
"colorResolution", "crz",
209
"bumpResolution", "brz",
210
"transparencyAlgorithm", "tal",
211
"transpInShadows", "tis",
212
"cullingOverride", "cov",
213
"lowQualityLighting", "lql",
214
"occlusionCulling", "ocl",
215
"useBaseRenderer", "ubr",
217
"nurbsSurfaces", "ns",
219
"subdivSurfaces", "sds",
223
"controlVertices", "cv",
235
"dynamicConstraints", "dc",
237
"manipulators", "mlocators",
244
"useInteractiveMode", "ui",
246
"sortTransparent", "st",
247
"viewSelected", "vs",
256
class ClipEditor( AnimEditorBase ):
258
"characterOutline", "co",
259
"highlightedBlend", "hb",
260
"highlightedClip", "hc",
265
"listAllCharacters", "lac",
266
"listCurrentCharacters", "lc",
268
"allTrackHeights", "th"
276
class DeviceEditor( EditorBase ):
277
_properties_ = ( "takePath", "tp" )
280
class DynPaintEditor( RenderEditorBase ):
283
"displayAppearance", "dsa",
284
"displayLights", "dsl",
285
"displayTextures", "dtx",
299
"refreshMode", "rmd",
302
"drawContext", "drc",
305
"saveBumpmap", "sbm",
308
"currentCanvasSize", "ccs"
312
class ComponentEditor( EditorBase ):
316
"setOperationLabel", "sol",
317
"operationLabels", "ol",
318
"operationCount", "oc",
319
"operationType", "ot",
320
"hideZeroColumns", "hzc",
323
"showSelected", "ss",
326
"hidePathName", "hpn",
333
class SelectionConnection( uibase.NamedUI ):
338
"connectionList", "lst",
357
class ItemFilterBase( uibase.BaseUI ):
365
"classification", "cls",
366
"listBuiltInFilters", "lbf",
367
"listUserFilters", "luf",
368
"listOtherFilters", "lof"
377
class ItemFilter( ItemFilterBase ):
380
"clearByType", "cbt",
384
"uniqueNodeNames", "unn"
387
class ItemFilterAttr( ItemFilterBase ):
393
"scaleRotateTranslate", "srt",
394
"hasExpression", "he",
395
"byNameString", "bns"
398
class ItemFilterRender( ItemFilterBase ):
407
"renderUtilityNode", "run",
408
"exclusiveLights", "exl",
409
"linkedLights", "ls",
411
"nonIlluminatingLights", "nil"
412
"nonExclusiveLights", "nxl",
413
"renderableObjectSets", "ros",
414
"texturesProcedural", "tp"