# TK_PIImage

## Functions

| `TK_PIImage`
TK_Status | `Interpret`
TK_Status | `Write`
TK_Status | `Execute`
TK_Status | `Clone`

## Detailed Description

class TK_PIImage : public HTK_Image

  A custom HTK_Image class which includes the HOOPS/3dgs key and pointer to an HSharedKey persistent indentifier object

  Public Functions

  inline TK_PIImage(HSharedKey *persIdent)

    Constructs a TK_PIImage object.

    Parameters

      persIdent – A pointer to the shared key that you want to associate with this object.

  inline TK_Status Interpret(BStreamFileToolkit &tk, HC_KEY key, int variant = 0)
  inline TK_Status Write(BStreamFileToolkit &tk)
  inline TK_Status Execute(BStreamFileToolkit &tk)
  TK_Status Clone(BStreamFileToolkit &tk, BBaseOpcodeHandler**) const

    This method makes a copy of itself and return a pointer to the newly created object.

    Parameters

      - tk – A reference to the BStreamFileToolkit object.

      - handler – The method will return a pointer to a copy of itself.

    Returns

      A #TK_Status indicating whether the operation was successful.