+ handling of organized point cloud

This commit is contained in:
wmayer
2016-02-20 22:19:47 +01:00
parent 60e0c447ca
commit 7bdecf9b38
9 changed files with 159 additions and 5 deletions

View File

@@ -91,6 +91,20 @@ void Feature::onChanged(const App::Property* prop)
// ---------------------------------------------------------
PROPERTY_SOURCE(Points::Organized, Points::Feature)
Organized::Organized()
{
ADD_PROPERTY_TYPE(Width,(1),"Width",App::Prop_ReadOnly,"Width");
ADD_PROPERTY_TYPE(Height,(1),"Height",App::Prop_ReadOnly,"Height");
}
Organized::~Organized()
{
}
// ---------------------------------------------------------
namespace App {
/// @cond DOXERR
PROPERTY_SOURCE_TEMPLATE(Points::FeatureCustom, Points::Feature)
@@ -100,6 +114,15 @@ PROPERTY_SOURCE_TEMPLATE(Points::FeatureCustom, Points::Feature)
template class PointsExport FeatureCustomT<Points::Feature>;
}
namespace App {
/// @cond DOXERR
PROPERTY_SOURCE_TEMPLATE(Points::OrganizedCustom, Points::Organized)
/// @endcond
// explicit template instantiation
template class PointsExport FeatureCustomT<Points::Organized>;
}
// ---------------------------------------------------------
namespace App {