The potential energy surfaces of some superheavy nuclei are determined, using a mapping from the microscopic shell model space to a geometrical model. The content of the shell model space is determined through the knowledge of the absolute deformation and a single-particle spectrum as a function of deformation. Both have to be extracted from a microscopic model. We show that one cannot restrict to only prolate or oblate deformations because the content of the microscopic space already implies triaxiality. Also cases of gamma instability occur. The mass parameter of No-254 is determined through the knowledge of at least one rotational state of the ground-state band. Assuming the same mass parameter for the other superheavy elements, the spectrum of each of them is determined. The following superheavy nuclei are considered: No-254, (260)Rf, (262)Sg, (270)Hs, (274)110(Ds), (276)112, and (290)114, where (260)Rf and (262)Sg turn out to be gamma unstable.