AttrNoiseScaleChange Class Reference

Change Noise fill class This Attribute never exists in the Tree. It is used for changing a Noise fill. More...

#include <fillattr2.h>

Inheritance diagram for AttrNoiseScaleChange:

AttrValueChange AttrFillGeometry NodeAttribute NodeRenderable Node CCObject SimpleCCObject List of all members.

Public Member Functions

virtual UINT32 GetAttrNameID (void)
 Returns a string resource ID describing the attribute.
virtual AttributeValueGetAttributeValue ()
virtual AttrFillGeometryMutateFill (AttrFillGeometry *FillToMutate)
 Changes the noise scale of a fill.

Protected Attributes

NoiseFillAttribute Value

Detailed Description

Change Noise fill class This Attribute never exists in the Tree. It is used for changing a Noise fill.

Author:
Mike_Kenny (Xara Group Ltd) <camelotdev@xara.com>
Date:
20/01/97
See also:
AttrFillGeometry

Definition at line 432 of file fillattr2.h.


Member Function Documentation

virtual AttributeValue* AttrNoiseScaleChange::GetAttributeValue  )  [inline, virtual]
 

Implements AttrValueChange.

Definition at line 438 of file fillattr2.h.

00438 { return &Value; }

UINT32 AttrNoiseScaleChange::GetAttrNameID void   )  [virtual]
 

Returns a string resource ID describing the attribute.

Author:
Mike_Kenny (Xara Group Ltd) <camelotdev@xara.com>
Date:
20/01/97
Returns:
Attribute description ID

Reimplemented from AttrValueChange.

Definition at line 4517 of file fillattr.cpp.

04518 {
04519     return (_R(IDS_NOISESCALE_CHANGE));
04520 }                                  

AttrFillGeometry * AttrNoiseScaleChange::MutateFill AttrFillGeometry FillToMutate  )  [virtual]
 

Changes the noise scale of a fill.

Author:
Mike_Kenny (Xara Group Ltd) <camelotdev@xara.com>
Date:
20/01/97
Parameters:
The fill that is to be changed. [INPUTS]

Reimplemented from AttrValueChange.

Definition at line 4292 of file fillattr.cpp.

04293 { 
04294 #if !defined(EXCLUDE_FROM_RALPH)
04295     // Make a copy of this Fill to change
04296     AttrFillGeometry* NewFill = (AttrFillGeometry*)FillToMutate->SimpleCopy();
04297     if (NewFill == NULL)
04298         return NULL;
04299 
04300     // get the value from us.
04301     NewFill->SetGraininess(GetGraininess());
04302     NewFill->RecalcFractal();
04303 
04304     return NewFill; 
04305 #else
04306     return NULL;
04307 #endif
04308 }


Member Data Documentation

NoiseFillAttribute AttrNoiseScaleChange::Value [protected]
 

Definition at line 442 of file fillattr2.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:50:28 2007 for Camelot by  doxygen 1.4.4