You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: HSVDirectionKey.m
    path of file: ./repos/mtex/plotting/directionColorKeys
    
    the code of the file until where you have to start completion: classdef HSVDirectionKey < directionColorKey
  % converts crystal or specimen directions to rgb values
  %
  % T
    
function rot = green2white % rotate green 2 white
      rot = rotation.byAxisAngle(xvector,90*degree); 
    end

    function rot = blue2green % switch blue and green
      rot = reflection(yvector); 
    end