A form of the word who (which clearly denotes a person), whose is used with people. In contrast, of which is used with inanimate objects, since the word which does not denote or connote any sense of personality.
Consider the example sentence in the cropped graphic above. Some might consider the use of whose here an exception to the rule, since following the rule produces a sentence that sounds awkward to some.