Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
MeshDeformClass Class Reference

#include <MeshDeform.h>

Inherits OSModifier.

Public Member Functions

 MeshDeformClass (void)
 
virtual ~MeshDeformClass (void)
 
void Set_Deform_State (float state=1.0F)
 
float Get_Deform_State (void) const
 
void Set_Vertex_Color (const Point3 &color, bool button_up)
 
void Get_Vertex_Color (Point3 &color)
 
void Set_Max_Deform_Sets (int max)
 
int Get_Max_Deform_Sets (void) const
 
void Set_Current_Set (int index, bool update_selection)
 
int Get_Current_Set (void) const
 
void Update_UI (MeshDeformModData *mod_data)
 
void Auto_Apply (bool auto_apply=true)
 
void DeleteThis (void)
 
void GetClassName (TSTR &s)
 
TCHAR * GetObjectName (void)
 
SClass_ID SuperClassID (void)
 
Class_ID ClassID (void)
 
void BeginEditParams (IObjParam *ip, ULONG flags, Animatable *prev)
 
void EndEditParams (IObjParam *ip, ULONG flags, Animatable *next)
 
ChannelMask ChannelsUsed (void)
 
ChannelMask ChannelsChanged (void)
 
void ModifyObject (TimeValue t, ModContext &mod_context, ObjectState *os, INode *node)
 
BOOL DependOnTopology (ModContext &mod_context)
 
int NeedUseSubselButton (void)
 
Class_ID InputType (void)
 
RefResult NotifyRefChanged (Interval time, RefTargetHandle htarget, PartID &part_id, RefMessage mesage)
 
IOResult SaveLocalData (ISave *save_obj, LocalModData *mod_context)
 
IOResult LoadLocalData (ILoad *load_obj, LocalModData **mod_context)
 
CreateMouseCallBack * GetCreateMouseCallBack (void)
 
void ActivateSubobjSel (int level, XFormModes &modes)
 
int HitTest (TimeValue time_value, INode *node, int type, int crossing, int flags, IPoint2 *point, ViewExp *viewport, ModContext *mod_context)
 
void SelectSubComponent (HitRecord *hit_record, BOOL selected, BOOL all, BOOL invert)
 
void GetSubObjectCenters (SubObjAxisCallback *cb, TimeValue t, INode *node, ModContext *mc)
 
void GetSubObjectTMs (SubObjAxisCallback *cb, TimeValue t, INode *node, ModContext *mc)
 
int SubObjectIndex (HitRecord *hitRec)
 
void ClearSelection (int selLevel)
 
void Move (TimeValue time_val, Matrix3 &parent_tm, Matrix3 &tm_axis, Point3 &point, BOOL local_origin)
 
void Rotate (TimeValue time_val, Matrix3 &parent_tm, Matrix3 &tm_axis, Quat &rotation, BOOL local_origin)
 
void Scale (TimeValue time_val, Matrix3 &parent_tm, Matrix3 &tm_axis, Point3 &value, BOOL local_origin)
 
void TransformStart (TimeValue time_val)
 
void TransformFinish (TimeValue time_val)
 
void TransformCancel (TimeValue time_val)
 

Protected Member Functions

void Update_Current_Set (void)
 
void Update_Set_Count (void)
 

Detailed Description

Definition at line 64 of file MeshDeform.h.

Constructor & Destructor Documentation

◆ MeshDeformClass()

MeshDeformClass::MeshDeformClass ( void )
inline

Definition at line 71 of file MeshDeform.h.

◆ ~MeshDeformClass()

virtual MeshDeformClass::~MeshDeformClass ( void )
inlinevirtual

Definition at line 87 of file MeshDeform.h.

Member Function Documentation

◆ ActivateSubobjSel()

void MeshDeformClass::ActivateSubobjSel ( int level,
XFormModes & modes )

Definition at line 312 of file MeshDeform.cpp.

◆ Auto_Apply()

void MeshDeformClass::Auto_Apply ( bool auto_apply = true)

Definition at line 1071 of file MeshDeform.cpp.

◆ BeginEditParams()

void MeshDeformClass::BeginEditParams ( IObjParam * ip,
ULONG flags,
Animatable * prev )

Definition at line 207 of file MeshDeform.cpp.

◆ ChannelsChanged()

ChannelMask MeshDeformClass::ChannelsChanged ( void )

Definition at line 107 of file MeshDeform.cpp.

◆ ChannelsUsed()

ChannelMask MeshDeformClass::ChannelsUsed ( void )

Definition at line 95 of file MeshDeform.cpp.

◆ ClassID()

Class_ID MeshDeformClass::ClassID ( void )
inline

Definition at line 117 of file MeshDeform.h.

◆ ClearSelection()

void MeshDeformClass::ClearSelection ( int selLevel)

Definition at line 522 of file MeshDeform.cpp.

◆ DeleteThis()

void MeshDeformClass::DeleteThis ( void )
inline

Definition at line 113 of file MeshDeform.h.

◆ DependOnTopology()

BOOL MeshDeformClass::DependOnTopology ( ModContext & mod_context)
inline

Definition at line 128 of file MeshDeform.h.

◆ EndEditParams()

void MeshDeformClass::EndEditParams ( IObjParam * ip,
ULONG flags,
Animatable * next )

Definition at line 270 of file MeshDeform.cpp.

◆ Get_Current_Set()

int MeshDeformClass::Get_Current_Set ( void ) const
inline

Definition at line 102 of file MeshDeform.h.

◆ Get_Deform_State()

float MeshDeformClass::Get_Deform_State ( void ) const
inline

Definition at line 96 of file MeshDeform.h.

◆ Get_Max_Deform_Sets()

int MeshDeformClass::Get_Max_Deform_Sets ( void ) const
inline

Definition at line 100 of file MeshDeform.h.

◆ Get_Vertex_Color()

void MeshDeformClass::Get_Vertex_Color ( Point3 & color)

Definition at line 974 of file MeshDeform.cpp.

◆ GetClassName()

void MeshDeformClass::GetClassName ( TSTR & s)
inline

Definition at line 114 of file MeshDeform.h.

◆ GetCreateMouseCallBack()

CreateMouseCallBack * MeshDeformClass::GetCreateMouseCallBack ( void )

Definition at line 195 of file MeshDeform.cpp.

◆ GetObjectName()

TCHAR * MeshDeformClass::GetObjectName ( void )
inline

Definition at line 115 of file MeshDeform.h.

◆ GetSubObjectCenters()

void MeshDeformClass::GetSubObjectCenters ( SubObjAxisCallback * cb,
TimeValue t,
INode * node,
ModContext * mc )

Definition at line 485 of file MeshDeform.cpp.

◆ GetSubObjectTMs()

void MeshDeformClass::GetSubObjectTMs ( SubObjAxisCallback * cb,
TimeValue t,
INode * node,
ModContext * mc )

Definition at line 466 of file MeshDeform.cpp.

◆ HitTest()

int MeshDeformClass::HitTest ( TimeValue time_value,
INode * node,
int type,
int crossing,
int flags,
IPoint2 * point,
ViewExp * viewport,
ModContext * mod_context )

Definition at line 352 of file MeshDeform.cpp.

◆ InputType()

Class_ID MeshDeformClass::InputType ( void )

Definition at line 165 of file MeshDeform.cpp.

◆ LoadLocalData()

IOResult MeshDeformClass::LoadLocalData ( ILoad * load_obj,
LocalModData ** mod_context )

Definition at line 1295 of file MeshDeform.cpp.

◆ ModifyObject()

void MeshDeformClass::ModifyObject ( TimeValue t,
ModContext & mod_context,
ObjectState * os,
INode * node )

Definition at line 119 of file MeshDeform.cpp.

◆ Move()

void MeshDeformClass::Move ( TimeValue time_val,
Matrix3 & parent_tm,
Matrix3 & tm_axis,
Point3 & point,
BOOL local_origin )

Definition at line 560 of file MeshDeform.cpp.

◆ NeedUseSubselButton()

int MeshDeformClass::NeedUseSubselButton ( void )
inline

Definition at line 129 of file MeshDeform.h.

◆ NotifyRefChanged()

RefResult MeshDeformClass::NotifyRefChanged ( Interval time,
RefTargetHandle htarget,
PartID & part_id,
RefMessage mesage )

Definition at line 177 of file MeshDeform.cpp.

◆ Rotate()

void MeshDeformClass::Rotate ( TimeValue time_val,
Matrix3 & parent_tm,
Matrix3 & tm_axis,
Quat & rotation,
BOOL local_origin )

Definition at line 705 of file MeshDeform.cpp.

◆ SaveLocalData()

IOResult MeshDeformClass::SaveLocalData ( ISave * save_obj,
LocalModData * mod_context )

Definition at line 1282 of file MeshDeform.cpp.

◆ Scale()

void MeshDeformClass::Scale ( TimeValue time_val,
Matrix3 & parent_tm,
Matrix3 & tm_axis,
Point3 & value,
BOOL local_origin )

Definition at line 631 of file MeshDeform.cpp.

◆ SelectSubComponent()

void MeshDeformClass::SelectSubComponent ( HitRecord * hit_record,
BOOL selected,
BOOL all,
BOOL invert )

Definition at line 419 of file MeshDeform.cpp.

◆ Set_Current_Set()

void MeshDeformClass::Set_Current_Set ( int index,
bool update_selection )

Definition at line 1187 of file MeshDeform.cpp.

◆ Set_Deform_State()

void MeshDeformClass::Set_Deform_State ( float state = 1.0F)

Definition at line 875 of file MeshDeform.cpp.

◆ Set_Max_Deform_Sets()

void MeshDeformClass::Set_Max_Deform_Sets ( int max)

Definition at line 1106 of file MeshDeform.cpp.

◆ Set_Vertex_Color()

void MeshDeformClass::Set_Vertex_Color ( const Point3 & color,
bool button_up )

Definition at line 896 of file MeshDeform.cpp.

◆ SubObjectIndex()

int MeshDeformClass::SubObjectIndex ( HitRecord * hitRec)
inline

Definition at line 149 of file MeshDeform.h.

◆ SuperClassID()

SClass_ID MeshDeformClass::SuperClassID ( void )
inline

Definition at line 116 of file MeshDeform.h.

◆ TransformCancel()

void MeshDeformClass::TransformCancel ( TimeValue time_val)

Definition at line 857 of file MeshDeform.cpp.

◆ TransformFinish()

void MeshDeformClass::TransformFinish ( TimeValue time_val)

Definition at line 839 of file MeshDeform.cpp.

◆ TransformStart()

void MeshDeformClass::TransformStart ( TimeValue time_val)

Definition at line 785 of file MeshDeform.cpp.

◆ Update_Current_Set()

void MeshDeformClass::Update_Current_Set ( void )
protected

Definition at line 1245 of file MeshDeform.cpp.

◆ Update_Set_Count()

void MeshDeformClass::Update_Set_Count ( void )
protected

Definition at line 1151 of file MeshDeform.cpp.

◆ Update_UI()

void MeshDeformClass::Update_UI ( MeshDeformModData * mod_data)

Definition at line 1044 of file MeshDeform.cpp.


The documentation for this class was generated from the following files: