Plugins/PointSprite/ParaViewPlugin/Qvis/ColorTableAttributes.cpp
const ColorControlPointList *
ColorTableAttributes::GetColorControlPoints(int index) const
{
    if(index >= 0 && index < static_cast<int>(colorTables.size()))
        return ((ColorControlPointList *)colorTables[index]);
    else
        return 0;
}
// ****************************************************************************
// Method: ColorTableAttributes::GetColorControlPoints
//
// Purpose: 
//   Returns a pointer to the color control points for the specified color
//   table index.
//
// Arguments:
//   index : The index for which we want the color control points.
//
// Returns:    The color control points or NULL.
//
// Note:       
//
// Programmer: Brad Whitlock
// Creation:   Sat Jun 16 20:33:22 PST 2001
//
// Modifications:
//   
// ****************************************************************************
:GetColorControlPoints
Purpose:
Returns a pointer to the color control points for the specified color
table index.

index : The index for which we want the color control points.

The color control points or NULL.



Brad Whitlock
Creation:   Sat Jun 16 20:33:22 PST 2001


: GetColorControlPoints Purpose : Returns a pointer to the color control points for the specified color table index . index : The index for which we want the color control points . The color control points or NULL . Brad Whitlock Creation : Sat Jun 16 20 : 33 : 22 PST 2001
const ColorControlPointList *
ColorTableAttributes::GetColorControlPoints(int index) const
{
    if(index >= 0 && index < static_cast<int>(colorTables.size()))
        return ((ColorControlPointList *)colorTables[index]);
    else
        return 0;
}
const ColorControlPointList * ColorTableAttributes :: GetColorControlPoints ( int index ) const { if ( index >= 0 && index < static_cast < int > ( colorTables . size ( ) ) ) return ( ( ColorControlPointList * ) colorTables [ index ] ) ; else return 0 ; }
Method: ColorTableAttributes::GetColorControlPoints
Purpose:
Returns a pointer to the color control points for the specified color
table index.
Method : ColorTableAttributes :: GetColorControlPoints Purpose : Returns a pointer to the color control points for the specified color table index .