enum | DisplayStyle
| kBoundingBox
bounding box display
| | kFlatShaded
flat shaded display
| | kGouraudShaded
gouraud shaded display
| | kWireFrame
wire frame display
| | kPoints
points only display
|
|
enum | DisplayStatus
| kActive
object is active (selected)
| | kLive
object is live (construction surface)
| | kDormant
object is domant
| | kInvisible
object is invisible (not drawn)
| | kHilite
object is hilited (has selectable components)
| | kTemplate
object is templated (Not renderable)
| | kActiveTemplate
object is active and templated
| | kActiveComponent
object has active components
| | kLead
Last selected object
| | kIntermediateObject
Construction object (not drawn)
| | kActiveAffected
Affected by active object(s)
| | kNoStatus
object does not have a valid display status
|
|
enum | ColorTable
| kActiveColors
colors for active objects
| | kDormantColors
colors for dormant objects
| | kTemplateColor
colors for templated objects
| | kBackgroundColor
colors for background color
|
|
enum | TextPosition
| kLeft
draw text to the left of the point
| | kCenter
draw text centered around the point
| | kRight
draw text to the right of the point
|
|
enum | DisplayObjects
| kDisplayEverything
show everything
| | kDisplayNurbsCurves
show nurbs curves
| | kDisplayNurbsSurfaces
show nurbs surfaces
| | kDisplayMeshes
show meshes
| | kDisplayPlanes
show planes
| | kDisplayLights
show lights
| | kDisplayCameras
show camera
| | kDisplayJoints
show joints
| | kDisplayIkHandles
show IK handles
| | kDisplayDeformers
show deformers
| | kDisplayDynamics
show dynamics
| | kDisplayLocators
show locators
| | kDisplayDimensions
show dimensions
| | kDisplaySelectHandles
show selection handles
| | kDisplayPivots
show pivots
| | kDisplayTextures
show textures
| | kDisplayGrid
show the grid
| | kDisplayCVs
show NURBS CVs
| | kDisplayHulls
show NURBS hulls
| | kDisplayStrokes
show strokes
| | kDisplaySubdivSurfaces
show subdivision surfaces
|
|
enum | LightingMode
| kLightAll
All lights ON mode
| | kLightSelected
Selected lights ON mode
| | kLightActive
Active lights ON mode
| | kLightDefault
Default light ON mode
|
|
enum | RendererName
| kDefaultQualityRenderer
Equivalent to when the renderer name is "base_OpenGL_Renderer" when queried from the "modelEditor" command
| | kHighQualityRenderer
Equivalent to when the renderer name is "hwRender_OpenGL_Renderer" when queried from the "modelEditor" command
| | kExternalRenderer
An externally defined renderer name has been set.
|
|
enum | DepthBufferFormat
| kDepth_8
| | kDepth_Float
|
|
| M3dView ()
|
virtual | ~M3dView ()
|
static M3dView | active3dView ( MStatus * ReturnStatus = NULL )
|
static unsigned int | numberOf3dViews ()
|
static MStatus | get3dView ( const unsigned int index, M3dView & view )
|
AGLContext | display ( MStatus * ReturnStatus = NULL )
Mac OS X
|
Display * | display ( MStatus * ReturnStatus = NULL )
Linux
|
GLXContext | glxContext ( MStatus * ReturnStatus = NULL )
Linux
|
HGLRC | display ( MStatus * ReturnStatus = NULL )
Windows
|
HDC | deviceContext ( MStatus * ReturnStatus = NULL )
Windows
|
static MWindow | applicationShell ( MStatus * ReturnStatus = NULL )
|
M3dWindow | window ( MStatus * ReturnStatus = NULL )
|
int | portWidth ( MStatus * ReturnStatus = NULL )
|
int | portHeight ( MStatus * ReturnStatus = NULL )
|
MStatus | pushViewport (unsigned int x, unsigned int y, unsigned int width, unsigned int height)
|
MStatus | popViewport ()
|
MStatus | viewport (unsigned int &x, unsigned int &y, unsigned int &width, unsigned int &height) const
|
MStatus | beginGL ()
|
MStatus | endGL ()
|
void | beginSelect (GLuint *buffer = NULL, GLsizei size = 0)
|
GLint | endSelect ()
|
bool | selectMode () const
|
bool | textureMode () const
|
void | loadName (GLuint name)
|
void | pushName (GLuint name)
|
void | popName ()
|
void | initNames ()
|
MStatus | beginOverlayDrawing ()
|
MStatus | endOverlayDrawing ()
|
MStatus | clearOverlayPlane ()
|
MStatus | setDrawColor ( unsigned int index, ColorTable table = kActiveColors )
|
MStatus | setDrawColor ( const MColor & color )
|
bool | isColorIndexMode ( MStatus * ReturnStatus = NULL )
|
unsigned int | numDormantColors ( MStatus * ReturnStatus = NULL )
|
unsigned int | numActiveColors ( MStatus * ReturnStatus = NULL )
|
unsigned int | numUserDefinedColors ( MStatus * ReturnStatus = NULL )
|
MStatus | setUserDefinedColor ( unsigned int index, const MColor & color )
|
unsigned int | userDefinedColorIndex ( unsigned int index, MStatus * ReturnStatus = NULL )
|
MColor | templateColor ( MStatus * ReturnStatus = NULL )
|
MColor | backgroundColor ( MStatus * ReturnStatus = NULL )
|
MColor | colorAtIndex ( unsigned int index, ColorTable table = kActiveColors , MStatus * ReturnStatus = NULL )
|
MStatus | getColorIndexAndTable ( unsigned int glindex, unsigned int &index, ColorTable &table ) const
|
MStatus | drawText ( const MString & text, const MPoint position, TextPosition textPosition = kLeft )
|
MStatus | getCamera ( MDagPath & camera )
|
MStatus | setCamera ( MDagPath & camera )
|
MStatus | refresh ( bool all = false, bool force = false )
|
MStatus | refresh ( bool all, bool force, bool offscreen )
|
MStatus | refresh ( MPxGlBuffer &buffer )
|
MStatus | refresh ( MPxGlBuffer &buffer, bool offscreen )
|
MStatus | refresh ( MPxGlBuffer &buffer, bool offscreen, const MMatrix & projectionMatrix )
|
MStatus | getLightCount ( unsigned int &count, bool visible = TRUE )
|
MStatus | getLightingMode ( LightingMode &mode )
|
MStatus | getLightPath ( unsigned int lightNumber, MDagPath &light )
|
MStatus | isLightVisible ( unsigned int lightNumber, bool &visible )
|
MStatus | getLightIndex ( unsigned int lightNumber, unsigned int &lightIndex )
|
MStatus | viewToWorld ( short x_pos, short y_pos, MPoint & worldPt, MVector & worldVector ) const
|
MStatus | viewToWorld ( short x_pos, short y_pos, MPoint & nearClipPt, MPoint & farClipPt ) const
|
MStatus | viewToObjectSpace ( short x_pos, short y_pos, const MMatrix & localMatrixInverse, MPoint & oPt, MVector & oVector ) const
|
bool | worldToView ( const MPoint & worldPt, short& x_pos, short& y_pos, MStatus * ReturnStatus = NULL ) const
|
MStatus | projectionMatrix ( MMatrix & projectionMatrix ) const
|
MStatus | modelViewMatrix ( MMatrix & modelViewMatrix ) const
|
MString | viewSelectedPrefix ( MStatus *ReturnStatus) const
|
MStatus | setViewSelectedPrefix ( const MString &prefix)
|
bool | showViewSelectedChildren ( MStatus *ReturnStatus) const
|
MStatus | setShowViewSelectedChildren (bool)
|
static MStatus | getM3dViewFromModelPanel (const MString &modelPaneName, M3dView &view)
|
static MStatus | getM3dViewFromModelEditor (const MString &modelPaneName, M3dView &view)
|
DisplayStyle | displayStyle ( MStatus * ReturnStatus = NULL ) const
|
bool | isShadeActiveOnly ( MStatus * ReturnStatus = NULL ) const
|
MStatus | setDisplayStyle ( DisplayStyle style, bool activeOnly = false)
|
RendererName | getRendererName ( MStatus *ReturnStatus ) const
|
MString | rendererString ( MStatus * ReturnStatus = NULL ) const
|
bool | wireframeOnlyInShadedMode ( MStatus *ReturnStatus ) const
|
MStatus | readColorBuffer ( MImage &image, bool readRGBA = false )
|
MStatus | writeColorBuffer ( const MImage &image, signed short x = 0, signed short y = 0) const
|
MStatus | readDepthMap (unsigned short x, unsigned short y, unsigned int width, unsigned int height, unsigned char* bufferPtr, DepthBufferFormat depthMapPrecision)
|
MStatus | readBufferTo2dTexture (unsigned short x, unsigned short y, unsigned int width, unsigned int height)
|
MStatus | getRendererString ( MString &stringName ) const
NO SCRIPT SUPPORT
|