enum | LightingMode
| kLightAll
| | kLightSelected
| | kLightActive
| | kLightDefault
| | kLightNone
| | kLightQuality
|
|
enum | FogSource
| kFogFragment
fog is computed per pixel (default)
| | kFogCoordinate
fog is computed by specified vertex fog coordinates
|
|
enum | FogMode
| kFogLinear
linear drop off
| | kFogExponential
exponential drop-off
| | kFogExponentialSquared
squared exponential drop-off
|
|
| MPx3dModelView ()
|
virtual | ~MPx3dModelView ()
|
MString | name ( MStatus *ReturnStatus = NULL) const
|
virtual MString | viewType () const
|
virtual void | preMultipleDraw ()
|
virtual void | postMultipleDraw ()
|
virtual void | preMultipleDrawPass (unsigned int index)
|
virtual void | postMultipleDrawPass (unsigned int index)
|
virtual bool | okForMultipleDraw (const MDagPath &)
|
virtual unsigned int | multipleDrawPassCount ()
|
bool | multipleDrawEnabled () const
|
void | setMultipleDrawEnable (bool enable)
|
bool | destroyOnPanelDestruction () const
|
void | setDestroyOnPanelDestruction (bool how)
|
MStatus | updateViewingParameters ()
|
virtual void | removingCamera ( MDagPath &cameraPath)
|
MStatus | refresh (bool all = false, bool force = false)
|
MStatus | drawText (const MString &text, const MPoint position, M3dView::TextPosition textPosition = M3dView::kLeft )
|
MStatus | beginGL ()
|
MStatus | endGL ()
|
MStatus | setCameraInDraw ( MDagPath & camera)
|
MStatus | setCamera ( MDagPath & camera)
|
MStatus | getCamera ( MDagPath & camera)
|
virtual MString | getCameraHUDName ()
|
MStatus | setDisplayHUD (bool display)
|
bool | displayHUD ( MStatus *ReturnStatus = NULL) const
|
MStatus | drawHUDNow ()
|
MStatus | setDrawAdornments (bool display)
|
bool | drawAdornments ( MStatus *ReturnStatus = NULL )
|
MStatus | drawAdornmentsNow ()
|
MStatus | setDisplayAxis (bool display)
|
bool | displayAxisOn ( MStatus *ReturnStatus = NULL) const
|
MStatus | setDisplayAxisAtOrigin (bool display)
|
bool | displayAxisAtOriginOn ( MStatus *ReturnStatus = NULL) const
|
MStatus | setDisplayCameraAnnotation (bool display)
|
bool | displayCameraAnnotationOn ( MStatus *ReturnStatus = NULL) const
|
bool | isVisible ( MStatus *ReturnStatus = NULL) const
|
M3dView::DisplayStyle | displayStyle ( MStatus *ReturnStatus = NULL) const
|
bool | isShadeActiveOnly ( MStatus *ReturnStatus = NULL) const
|
MStatus | setDisplayStyle ( M3dView::DisplayStyle style, bool activeOnly = false)
|
int | portWidth ( MStatus * ReturnStatus = NULL )
|
int | portHeight ( MStatus * ReturnStatus = NULL )
|
MStatus | beginOverlayDrawing ()
|
MStatus | endOverlayDrawing ()
|
MStatus | clearOverlayPlane ()
|
MStatus | setDrawColor (unsigned int index, M3dView::ColorTable table = M3dView::kActiveColors )
|
MStatus | setDrawColor (const MColor & color)
|
bool | isColorIndexMode ( MStatus * ReturnStatus = NULL)
|
MStatus | setColorIndexMode (bool state)
|
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, M3dView::ColorTable table = M3dView::kActiveColors , MStatus * ReturnStatus = NULL)
|
MStatus | getColorIndexAndTable (unsigned int glindex, unsigned int &index, M3dView::ColorTable &table ) const
|
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 | setObjectDisplay ( M3dView::DisplayObjects , bool)
|
bool | objectDisplay ( M3dView::DisplayObjects , MStatus *ReturnStatus = NULL)
|
MStatus | setBackfaceCulling (bool cull)
|
bool | isBackfaceCulling ( MStatus *ReturnStatus = NULL) const
|
MStatus | setWireframeOnShaded (bool on)
|
bool | isWireframeOnShaded ( MStatus *ReturnStatus = NULL) const
|
MStatus | setXrayEnabled (bool xray)
|
bool | isXrayEnabled ( MStatus *ReturnStatus = NULL) const
|
MStatus | setTextureDisplayEnabled (bool texture)
|
bool | isTextureDisplayEnabled ( MStatus *ReturnStatus = NULL) const
|
MStatus | setTwoSidedLighting (bool twoSided)
|
bool | isTwoSidedLighting ( MStatus *ReturnStatus = NULL) const
|
MStatus | setLightingMode ( MPx3dModelView::LightingMode )
|
MPx3dModelView::LightingMode | lightingMode ( MStatus *ReturnStatus = NULL) const
|
MStatus | setFogEnabled (bool state)
|
bool | isFogEnabled ( MStatus *ReturnStatus = NULL) const
|
MPx3dModelView::FogSource | fogSource ( MStatus *ReturnStatus = NULL) const
|
MStatus | setFogSource ( MPx3dModelView::FogSource )
|
MPx3dModelView::FogMode | fogMode ( MStatus *ReturnStatus = NULL) const
|
MStatus | setFogMode ( MPx3dModelView::FogMode )
|
double | fogDensity ( MStatus *ReturnStatus = NULL) const
|
MStatus | setFogDensity (double)
|
double | fogStart ( MStatus *ReturnStatus = NULL) const
|
MStatus | setFogStart (double)
|
double | fogEnd ( MStatus *ReturnStatus = NULL) const
|
MStatus | setFogEnd (double)
|
MColor | fogColor ( MStatus *ReturnStatus = NULL) const
|
MStatus | setFogColor (const MColor &)
|
bool | isBackgroundFogEnabled ( MStatus *ReturnStatus = NULL) const
|
MStatus | setBackgroundFogEnabled (bool enable)
|
MString | viewSelectedPrefix ( MStatus *ReturnStatus) const
|
MStatus | setViewSelectedPrefix (const MString &prefix)
|
bool | viewSelected ( MStatus *ReturnStatus = NULL) const
|
MStatus | setViewSelected (bool viewSelected )
|
MObject | viewSelectedSet ( MStatus *ReturnStatus = NULL) const
|
MStatus | setViewSelectedSet ( MObject &set)
|
MStatus | getObjectsToView ( MSelectionList &list) const
|
MStatus | setObjectsToView (const MSelectionList &list)
|
bool | hasStereoBufferSupport () const
|
MStatus | getAsM3dView ( M3dView &view)
|
static MPx3dModelView * | getModelView (const MString & name , MStatus *ReturnStatus = NULL)
|
virtual bool | wantStereoGLBuffer () const
|