Plugins/PointSprite/ParaViewPlugin/Qvis/AttributeGroup.cpp
bool
AttributeGroup::IsSelected(int i) const
{
    bool retval = false;

    // If the index is valid, check the selected flag.
    if(i >= 0 && i < static_cast<int>(typeMap.size()))
    {
         retval = typeMap[i].selected;
    }

    return retval;
}
// ****************************************************************************
// Method: AttributeGroup::IsSelected
//
// Purpose:
//   Returns whether or not a particular attribute is selected. If it
//   is selected, then a value has been changed recently, or the
//   object is being prepared for transmission across a Connection.
//
// Arguments:
//   i : The index of the attribute that is to be checked.
//
// Returns:
//   If it is not in the range [0..NumAttributes()-1], the return value
//   is false. Otherwise, the value returned is whether or no the
//   attribute is selected.
//
// Note:
//
// Programmer: Brad Whitlock
// Creation:   Fri Aug 4 16:31:38 PST 2000
//
// Modifications:
//
// ****************************************************************************
:IsSelected
Purpose:
Returns whether or not a particular attribute is selected. If it
is selected, then a value has been changed recently, or the
object is being prepared for transmission across a Connection.

i : The index of the attribute that is to be checked.

If it is not in the range [0..NumAttributes()-1], the return value
is false. Otherwise, the value returned is whether or no the
attribute is selected.



Brad Whitlock
Creation:   Fri Aug 4 16:31:38 PST 2000


: IsSelected Purpose : Returns whether or not a particular attribute is selected . If it is selected then a value has been changed recently or the object is being prepared for transmission across a Connection . i : The index of the attribute that is to be checked . If it is not in the range [ 0 .. NumAttributes () - 1 ] the return value is false . Otherwise the value returned is whether or no the attribute is selected . Brad Whitlock Creation : Fri Aug 4 16 : 31 : 38 PST 2000
bool
AttributeGroup::IsSelected(int i) const
{
    bool retval = false;
    if(i >= 0 && i < static_cast<int>(typeMap.size()))
    {
         retval = typeMap[i].selected;
    }
    return retval;
}
bool AttributeGroup :: IsSelected ( int i ) const { bool retval = false ; if ( i >= 0 && i < static_cast < int > ( typeMap . size ( ) ) ) { retval = typeMap [ i ] . selected ; } return retval ; }
Method: AttributeGroup::IsSelected
Purpose:
Returns whether or not a particular attribute is selected.
Method : AttributeGroup :: IsSelected Purpose : Returns whether or not a particular attribute is selected .
// If the index is valid, check the selected flag.