The only built in occlusion function is the BSP tree. DirectX Queries, as in the sample code, require the object to be drawn and thus can't be used for occlusion tests.
In your case the obvious criterion is not the occlusion, but the orientation of the panels. Surfaces facing away from the camera are not drawn by DirectX. Make sure that all panel surfaces face outwards.