HNurbsMessageHandler

Functions

HNurbsMessageHandler

void

ProcessMessage

Detailed Description

class HNurbsMessageHandler : public MVOMessageHandler

HNurbsMessageHandler is subclassed from MVOMessageHandler. It handles messages from “H_INSERT_NURBS”, “H_FINISH_NURBS_EDITING” and “H_MODIFY_CONTROL_POINT”.

Public Functions

inline HNurbsMessageHandler(HBaseView *hbaseview)

Constructs an HNurbsMessageHandler object.

Parameters

hbaseview – A pointer to the HBaseView object associated with this message handler.

inline void ProcessMessage(char const *message_type, char const *data, unsigned int data_length)

This method receives the messages “H_INSERT_NURBS”, “H_FINISH_NURBS_EDITING” and “H_MODIFY_CONTROL_POINT” and calls HOpCreateNurbs3D::InsertNurbsFromMessage, HOpCreateNurbs3D::FinishNurbsEditingFromMessage and HOpCreateNurbs3D::ModifyControlPointFromMessage respectively.

Parameters
  • message_type – A character pointer denoting the type of message.

  • data – A character pointer denoting the message data.

  • data_length – An unsigned int indicating the length of the data in bytes.