add type (triangle for 2d shape)
class category move to type (SWIndex3 -> TIndex3)