1 #ifndef SPLATCLOUD_EXTENSIONS_HH 2 #define SPLATCLOUD_EXTENSIONS_HH 19 r_[0][0] = 1.0; r_[0][1] = 0.0; r_[0][2] = 0.0;
20 r_[1][0] = 0.0; r_[1][1] = 1.0; r_[1][2] = 0.0;
21 r_[2][0] = 0.0; r_[2][1] = 0.0; r_[2][2] = 1.0;
22 t_ [0] = 0.0; t_ [1] = 0.0; t_ [2] = 0.0;
34 SplatCloud_Camera() : objectId_( -1 ), projection_(), imagePath_(
"" ), imageWidth_( 0 ), imageHeight_( 0 ) { }
38 std::string imagePath_;
39 unsigned int imageWidth_, imageHeight_;
49 unsigned int numSplats_;
78 typedef std::vector<SplatCloud_Camera> SplatCloud_Cameras;
79 typedef std::vector<SplatCloud_Cluster> SplatCloud_Clusters;
80 typedef std::bitset<8> SplatCloud_Flags;
88 SplatCloud_Cameras cameras_;
99 SplatCloud_Clusters clusters_;
108 SplatCloud_Flags flags_;
122 static const unsigned int SPLATCLOUD_CAMERA_HAS_IMAGEPATH_FLAG = 0;
123 static const unsigned int SPLATCLOUD_CAMERA_HAS_IMAGERESOLUTION_FLAG = 1;
124 static const unsigned int SPLATCLOUD_SPLAT_VIEWLIST_HAS_FEATURE_INDICES_FLAG = 2;
125 static const unsigned int SPLATCLOUD_SPLAT_VIEWLIST_COORDS_NORMALIZED_FLAG = 3;
126 static const unsigned int SPLATCLOUD_CLUSTER_HAS_QUAD_FLAG = 4;
129 #endif // SPLATCLOUD_EXTENSIONS_HH
VectorT< double, 3 > Vec3d