C++ API Reference
MRenderLine Class Reference

Class for accessing paint effects output curve data. More...

#include <MRenderLine.h>

Public Member Functions

 MRenderLine ()
 The class constructor.
 
 ~MRenderLine ()
 The class destructor.
 
MRenderLineoperator= (const MRenderLine &other)
 Assignment operator. More...
 
MVectorArray getLine () const
 Return the array of vertices along the curve. More...
 
MVectorArray getTwist () const
 Return the array of twist vectors along the curve. More...
 
MDoubleArray getWidth () const
 Return the array of tube widths along the curve. More...
 
MDoubleArray getFlatness () const
 Return the array of flatness along the curve. More...
 
MDoubleArray getParameter () const
 Return the array of parameter along the curve. More...
 
MVectorArray getColor () const
 Return the array of colors along the curve. More...
 
MVectorArray getIncandescence () const
 Return the array of incandescence along the curve. More...
 
MVectorArray getTransparency () const
 Return the array of transparency along the curve. More...
 

Static Public Member Functions

static const char * className ()
 Returns the name of this class. More...
 

Detailed Description

Class for accessing paint effects output curve data.

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

Examples:
pfxInfoCmd/pfxInfoCmd.cpp.

Member Function Documentation

MRenderLine & operator= ( const MRenderLine other)

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.

Parameters
[in]otherthe MRenderLine to be copied
Returns
A reference to the copied MRenderLine
MVectorArray getLine ( ) const

Return the array of vertices along the curve.

Returns
The vertex array
Examples:
pfxInfoCmd/pfxInfoCmd.cpp.
MVectorArray getTwist ( ) const

Return the array of twist vectors along the curve.

Returns
The twist vector array
Examples:
pfxInfoCmd/pfxInfoCmd.cpp.
MDoubleArray getWidth ( ) const

Return the array of tube widths along the curve.

Returns
The width array
Examples:
pfxInfoCmd/pfxInfoCmd.cpp.
MDoubleArray getFlatness ( ) const

Return the array of flatness along the curve.

Returns
The flatness array
Examples:
pfxInfoCmd/pfxInfoCmd.cpp.
MDoubleArray getParameter ( ) const

Return the array of parameter along the curve.

Returns
The parameter array
Examples:
pfxInfoCmd/pfxInfoCmd.cpp.
MVectorArray getColor ( ) const

Return the array of colors along the curve.

Returns
The color array
Examples:
pfxInfoCmd/pfxInfoCmd.cpp.
MVectorArray getIncandescence ( ) const

Return the array of incandescence along the curve.

Returns
The incandescence array
Examples:
pfxInfoCmd/pfxInfoCmd.cpp.
MVectorArray getTransparency ( ) const

Return the array of transparency along the curve.

Returns
The transparency array
Examples:
pfxInfoCmd/pfxInfoCmd.cpp.
const char * className ( )
static

Returns the name of this class.

Returns
The name of this class.

The documentation for this class was generated from the following files: