[quote user="Nenad Poljcic"]I am guessing some reference is missing[/quote]
First, include MdlApi.h, because that includes lots of common headers...
#include <Mstn/MdlApi/MdlApi.h>
OrientedBox is declared in PointCloudClipHander.h. That header provides the typedefs that are causing your problem...
typedef OrientedBox& OrientedBoxR; typedef OrientedBox const& OrientedBoxCR; typedef bvector<OrientedBox> OrientedBoxList; typedef OrientedBoxList& OrientedBoxListR; typedef OrientedBoxList const& OrientedBoxListCR;
Use a Text Editor with File Search
I found that header file quickly because I use a text editor with built-in text search in multiple files. I find it invaluable when stuck with something in the CONNECT API, with its complex hierarchy of nested folders. I happen to use TextPad, but there are several other programmer's editors that provide a similar tool. Some are mentioned here:
http://www.la-solutions.co.uk/content/links.htm#ProgrammersEditors