ChangeBlenderOpParam Class Reference

Holds the info needed to change the blender in a certain way. More...

#include <blndtool.h>

Inheritance diagram for ChangeBlenderOpParam:

OpParam CCObject SimpleCCObject List of all members.

Public Member Functions

 ChangeBlenderOpParam ()
 ChangeBlenderOpParam (ChangeBlenderType Type)
 ~ChangeBlenderOpParam ()
void SetOldValues (NodeBlender *pNodeBlender)
 Copies the current state of the blender node into this classes Old member vars.
void SetNewValues (NodeBlender *pNodeBlender)
 Copies the current state of the blender node into this classes New member vars.
void SwapOldAndNew ()
 Swaps the old and new values of this class.

Public Attributes

ChangeBlenderType m_ChangeType
double m_NewAngleStart
double m_OldAngleStart
double m_NewAngleEnd
double m_OldAngleEnd
double m_OldPathStart
double m_NewPathStart
double m_OldPathEnd
double m_NewPathEnd
INT32 m_OldNodeBlendPathIndex
INT32 m_NewNodeBlendPathIndex
BOOL m_OldBlendedOnCurve
BOOL m_NewBlendedOnCurve
INT32 m_OldObjIndexStart
INT32 m_NewObjIndexStart
INT32 m_OldObjIndexEnd
INT32 m_NewObjIndexEnd

Detailed Description

Holds the info needed to change the blender in a certain way.

Author:
Mark_Neves (Xara Group Ltd) <camelotdev@xara.com>
Date:
20/3/99
See also:
-

Definition at line 1095 of file blndtool.h.


Constructor & Destructor Documentation

ChangeBlenderOpParam::ChangeBlenderOpParam  )  [inline]
 

Definition at line 1101 of file blndtool.h.

ChangeBlenderOpParam::ChangeBlenderOpParam ChangeBlenderType  Type  )  [inline]
 

Definition at line 1102 of file blndtool.h.

01102 { m_ChangeType = Type; }

ChangeBlenderOpParam::~ChangeBlenderOpParam  )  [inline]
 

Definition at line 1103 of file blndtool.h.

01103 {}


Member Function Documentation

void ChangeBlenderOpParam::SetNewValues NodeBlender pNodeBlender  ) 
 

Copies the current state of the blender node into this classes New member vars.

Author:
Mark_Neves (Xara Group Ltd) <camelotdev@xara.com>
Date:
20/5/99
Parameters:
pNodeBlender = ptr to a node blend object [INPUTS]
- [OUTPUTS]
Returns:
-

Errors: -

Definition at line 8545 of file blndtool.cpp.

08546 {
08547     m_NewAngleStart = pNodeBlender->GetAngleStart();
08548     m_NewAngleEnd   = pNodeBlender->GetAngleEnd();
08549     m_NewPathStart  = pNodeBlender->GetProportionOfPathDistStart();
08550     m_NewPathEnd    = pNodeBlender->GetProportionOfPathDistEnd();
08551     m_NewNodeBlendPathIndex = pNodeBlender->GetNodeBlendPathIndex();
08552     m_NewBlendedOnCurve = pNodeBlender->IsBlendedOnCurve();
08553     m_NewObjIndexEnd = pNodeBlender->GetObjIndexEnd();
08554     m_NewObjIndexStart = pNodeBlender->GetObjIndexStart();
08555 }

void ChangeBlenderOpParam::SetOldValues NodeBlender pNodeBlender  ) 
 

Copies the current state of the blender node into this classes Old member vars.

Author:
Mark_Neves (Xara Group Ltd) <camelotdev@xara.com>
Date:
20/5/99
Parameters:
pNodeBlender = ptr to a node blend object [INPUTS]
- [OUTPUTS]
Returns:
-

Errors: -

Definition at line 8517 of file blndtool.cpp.

08518 {
08519     m_OldAngleStart = pNodeBlender->GetAngleStart();
08520     m_OldAngleEnd   = pNodeBlender->GetAngleEnd();
08521     m_OldPathStart  = pNodeBlender->GetProportionOfPathDistStart();
08522     m_OldPathEnd    = pNodeBlender->GetProportionOfPathDistEnd();
08523     m_OldNodeBlendPathIndex = pNodeBlender->GetNodeBlendPathIndex();
08524     m_OldBlendedOnCurve = pNodeBlender->IsBlendedOnCurve();
08525     m_OldObjIndexEnd = pNodeBlender->GetObjIndexEnd();
08526     m_OldObjIndexStart = pNodeBlender->GetObjIndexStart();
08527 
08528 
08529 }

void ChangeBlenderOpParam::SwapOldAndNew  ) 
 

Swaps the old and new values of this class.

Author:
Mark_Neves (Xara Group Ltd) <camelotdev@xara.com>
Date:
20/5/99
Parameters:
- [INPUTS]
- [OUTPUTS]
Returns:
-

Errors: -

Definition at line 8571 of file blndtool.cpp.


Member Data Documentation

ChangeBlenderType ChangeBlenderOpParam::m_ChangeType
 

Definition at line 1109 of file blndtool.h.

double ChangeBlenderOpParam::m_NewAngleEnd
 

Definition at line 1113 of file blndtool.h.

double ChangeBlenderOpParam::m_NewAngleStart
 

Definition at line 1111 of file blndtool.h.

BOOL ChangeBlenderOpParam::m_NewBlendedOnCurve
 

Definition at line 1122 of file blndtool.h.

INT32 ChangeBlenderOpParam::m_NewNodeBlendPathIndex
 

Definition at line 1120 of file blndtool.h.

INT32 ChangeBlenderOpParam::m_NewObjIndexEnd
 

Definition at line 1126 of file blndtool.h.

INT32 ChangeBlenderOpParam::m_NewObjIndexStart
 

Definition at line 1124 of file blndtool.h.

double ChangeBlenderOpParam::m_NewPathEnd
 

Definition at line 1118 of file blndtool.h.

double ChangeBlenderOpParam::m_NewPathStart
 

Definition at line 1116 of file blndtool.h.

double ChangeBlenderOpParam::m_OldAngleEnd
 

Definition at line 1114 of file blndtool.h.

double ChangeBlenderOpParam::m_OldAngleStart
 

Definition at line 1112 of file blndtool.h.

BOOL ChangeBlenderOpParam::m_OldBlendedOnCurve
 

Definition at line 1121 of file blndtool.h.

INT32 ChangeBlenderOpParam::m_OldNodeBlendPathIndex
 

Definition at line 1119 of file blndtool.h.

INT32 ChangeBlenderOpParam::m_OldObjIndexEnd
 

Definition at line 1125 of file blndtool.h.

INT32 ChangeBlenderOpParam::m_OldObjIndexStart
 

Definition at line 1123 of file blndtool.h.

double ChangeBlenderOpParam::m_OldPathEnd
 

Definition at line 1117 of file blndtool.h.

double ChangeBlenderOpParam::m_OldPathStart
 

Definition at line 1115 of file blndtool.h.


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