class MRenderLine

Jump to documentation

Class for accessing paint effects output curve data. (OpenMayaFX)

public members:

MRenderLine ()
~MRenderLine ()
MRenderLine & operator = (const MRenderLine & other )
MVectorArray getLine () const
MVectorArray getTwist () const
MDoubleArray getWidth () const
MDoubleArray getFlatness () const
MDoubleArray getParameter () const
MVectorArray getColor () const
MVectorArray getIncandescence () const
MVectorArray getTransparency () const

Documentation

Class for accessing paint effects output curve data. (OpenMayaFX)
Description

A MRenderLine provides access to paint effects curve rendering info. This class contains arrays for per vertex attributes along an individual curve: line: the vertices in worldspace twist: a twist vector at each vertice width: the tube widths flatness: the tube flatness along the twist vector direction parameter: the u parameterization value for each vertice color: color rgb value for each vertice incandescence: incandescence rgb value for each vertice transpareancy: transparency rgb value for each vertice

Functions

MRenderLine:: MRenderLine ()

Description

The class constructor.

MRenderLine:: ~MRenderLine ()

Description

The class destructor.

MRenderLine & MRenderLine:: operator = ( const MRenderLine & other )

Description

Assignment operator. This simply copies the internal data pointer. Any arrays access from the copy will thus point to the same data. MRenderLine is basically a handle that points to the internal render line data on an MRenderLineArray.

Arguments

  • other the MRenderLine to be copied

Return Value

  • A reference to the copied MRenderLine

MVectorArray MRenderLine:: getLine () const

Description

Return the array of vertices along the curve.

Return Value

  • the vertex array

MVectorArray MRenderLine:: getTwist () const

Description

Return the array of twist vectors along the curve.

Return Value

  • the twist vector array

MDoubleArray MRenderLine:: getWidth () const

Description

Return the array of tube widths along the curve.

Return Value

  • the width array

MDoubleArray MRenderLine:: getFlatness () const

Description

Return the array of flatness along the curve.

Return Value

  • the flatness array

MDoubleArray MRenderLine:: getParameter () const

Description

Return the array of parameter along the curve.

Return Value

  • the parameter array

MVectorArray MRenderLine:: getColor () const

Description

Return the array of colors along the curve.

Return Value

  • the color array

MVectorArray MRenderLine:: getIncandescence () const

Description

Return the array of incandescence along the curve.

Return Value

  • the incandescence array

MVectorArray MRenderLine:: getTransparency () const

Description

Return the array of transparency along the curve.

Return Value

  • the transparency array

This class has no child classes.


Autodesk® Maya® 8.0 © 1997-2006 Autodesk, Inc. All rights reserved. doc++ Copyright