# Lock_Masks

## Fields

int | `mask`
int | `value`
int | `color_mask`
int | `color_value`
short | `color_face_mask`
short | `color_face_value`
short | `color_edge_mask`
short | `color_edge_value`
short | `color_line_mask`
short | `color_line_value`
short | `color_marker_mask`
short | `color_marker_value`
short | `color_text_mask`
short | `color_text_value`
short | `color_window_mask`
short | `color_window_value`
short | `color_face_contrast_mask`
short | `color_face_contrast_value`
short | `color_window_contrast_mask`
short | `color_window_contrast_value`
short | `color_back_mask`
short | `color_back_value`
short | `color_vertex_mask`
short | `color_vertex_value`
short | `color_edge_contrast_mask`
short | `color_edge_contrast_value`
short | `color_line_contrast_mask`
short | `color_line_contrast_value`
short | `color_marker_contrast_mask`
short | `color_marker_contrast_value`
short | `color_vertex_contrast_mask`
short | `color_vertex_contrast_value`
short | `color_text_contrast_mask`
short | `color_text_contrast_value`
short | `color_simple_reflection_mask`
short | `color_simple_reflection_value`
short | `color_cut_face_mask`
short | `color_cut_face_value`
short | `color_cut_edge_mask`
short | `color_cut_edge_value`
int | `visibility_mask`
int | `visibility_value`

## Functions

| `Lock_Masks`
`TK_Status` | `Read`
`TK_Status` | `Write`
`TK_Status` | `Read`
`TK_Status` | `Write`
void | `init`
void | `set_color`

## Detailed Description

class Lock_Masks : public BBaseOpcodeHandler

  Public Functions

  inline Lock_Masks()
  inline virtual TK_Status Read(BStreamFileToolkit&)

    Reads data from the toolkit buffer, decodes/decompresses it, and maps it to the opcode handlers data members. User-defined classes which need to write out custom data should utilize one of the available GetData() methods.

    Parameters

      tk – A reference to the BStreamFileToolkit object.

    Returns

      The result of the function call.

  inline virtual TK_Status Write(BStreamFileToolkit&)

    Encodes/compresses data and writes data to the toolkit buffer. User-defined classes which need to write out custom data should utilize one of the available PutData() methods, and first write out the opcode associated with the group of binary data followed by the data itself.

    Parameters

      tk – A reference to the BStreamFileToolkit object.

    Returns

      The result of the function call.

  TK_Status Read(BStreamFileToolkit &tk, bool mask_only)
  TK_Status Write(BStreamFileToolkit &tk, bool mask_only)
  inline void init()
  inline void set_color()

  Public Members

  int mask

    For internal use only.

  int value

    For internal use only.

  int color_mask

    For internal use only.

  int color_value

    For internal use only.

  short color_face_mask

    For internal use only.

  short color_face_value

    For internal use only.

  short color_edge_mask

    For internal use only.

  short color_edge_value

    For internal use only.

  short color_line_mask

    For internal use only.

  short color_line_value

    For internal use only.

  short color_marker_mask

    For internal use only.

  short color_marker_value

    For internal use only.

  short color_text_mask

    For internal use only.

  short color_text_value

    For internal use only.

  short color_window_mask

    For internal use only.

  short color_window_value

    For internal use only.

  short color_face_contrast_mask

    For internal use only.

  short color_face_contrast_value

    For internal use only.

  short color_window_contrast_mask

    For internal use only.

  short color_window_contrast_value

    For internal use only.

  short color_back_mask

    For internal use only.

  short color_back_value

    For internal use only.

  short color_vertex_mask

    For internal use only.

  short color_vertex_value

    For internal use only.

  short color_edge_contrast_mask

    For internal use only.

  short color_edge_contrast_value

    For internal use only.

  short color_line_contrast_mask

    For internal use only.

  short color_line_contrast_value

    For internal use only.

  short color_marker_contrast_mask

    For internal use only.

  short color_marker_contrast_value

    For internal use only.

  short color_vertex_contrast_mask

    For internal use only.

  short color_vertex_contrast_value

    For internal use only.

  short color_text_contrast_mask

    For internal use only.

  short color_text_contrast_value

    For internal use only.

  short color_simple_reflection_mask

    For internal use only.

  short color_simple_reflection_value

    For internal use only.

  short color_cut_face_mask

    For internal use only.

  short color_cut_face_value

    For internal use only.

  short color_cut_edge_mask

    For internal use only.

  short color_cut_edge_value

    For internal use only.

  int visibility_mask

    For internal use only.

  int visibility_value

    For internal use only.