replaced "NULL" with "nullptr"
added ClippingRegionNode