subclass TProfile[2D|3D]