mudbox::AttributeFloatRange Class Reference

#include <node.h>

Inheritance diagram for mudbox::AttributeFloatRange:

Inheritance graph
[legend]
List of all members.

Detailed Description

This attribute represents a float value which has a minimum and a maximum value. These values will be used in the user interface only, but the user will be able to assign values out of the range to the attribute.

Public Member Functions

  AttributeFloatRange (Node *pOwner, const QString &sID, float fMinimum=0, float fMaximum=1, float fFactor=1)
  Creates the attribute with the given name and limits.
  OPERATORS (float)
void  StartEvent (NodeEventType cType) const
AttributeWidget *  CreateEditorWidget (QWidget *pParent, int iWidth)
float  Min (void) const
float  Max (void) const
void  SetMin (float fValue)
void  SetMax (float fValue)

Constructor & Destructor Documentation

mudbox::AttributeFloatRange::AttributeFloatRange (  Node *  pOwner,
const QString &  sID,
float  fMinimum = 0,
float  fMaximum = 1,
float  fFactor = 1
) 
 

Creates the attribute with the given name and limits.


Member Function Documentation

mudbox::AttributeFloatRange::OPERATORS (  float   ) 
 
void mudbox::AttributeFloatRange::StartEvent (  NodeEventType  cType  )  const [virtual]
 

Reimplemented from mudbox::Attribute.

AttributeWidget* mudbox::AttributeFloatRange::CreateEditorWidget (  QWidget *  pParent,
int  iWidth
)  [virtual]
 

Reimplemented from mudbox::AttributeInstance< type >.

float mudbox::AttributeFloatRange::Min (  void   )  const
 
float mudbox::AttributeFloatRange::Max (  void   )  const
 
void mudbox::AttributeFloatRange::SetMin (  float  fValue  ) 
 
void mudbox::AttributeFloatRange::SetMax (  float  fValue  ) 
 

mudbox::AttributeFloatRange mudbox::AttributeFloatRange mudbox::AttributeFloatRange mudbox::AttributeFloatRange mudbox::AttributeFloatRange mudbox::AttributeFloatRange mudbox::AttributeFloatRange mudbox::AttributeFloatRange mudbox::AttributeFloatRange mudbox::AttributeFloatRange
mudbox::AttributeFloatRange mudbox::AttributeFloatRange mudbox::AttributeFloatRange mudbox::AttributeFloatRange mudbox::AttributeFloatRange mudbox::AttributeFloatRange mudbox::AttributeFloatRange mudbox::AttributeFloatRange mudbox::AttributeFloatRange mudbox::AttributeFloatRange