31 #include "Utils/ThreeDOut.hh"
33 #include <Base/Common/BIASpragma.hh>
80 for (
unsigned int i=0; i<IMSIZE*IMSIZE; i++)
81 im.GetImageDataArray()[i/IMSIZE][i%IMSIZE]
82 = (255 / (IMSIZE*IMSIZE)) * i;
85 offset1(5,-5,12), offset2(17,-5, 2);
86 T.AddImage(UL+offset2, UR+offset2, LL+offset2, IMSIZE, IMSIZE, im.GetImageData(),
87 1,
"testbillboard1",
false);
89 T.AddImage(UL+offset1, UR+offset1, LL+offset1, IMSIZE, IMSIZE,
91 1,
"testbillboard2",
true);
97 cout<<
"K is "<<K<<endl;
98 K[0][0] = K[1][1] = 256;
102 PM2(K,
RMatrix(MatrixIdentity), offset2),
104 T.AddPMatrix(PM1, 512, 512);
105 T.AddPMatrix(PM2, 512, 512);
108 T.VRMLOut(
"test.wrl");
class RGBAuc is asynonym for a Vector4 of corerct type
Unified output of 3D entities via OpenGL or VRML.
configuration struct for drawing styles of various 3d objects
CameraDrawingStyle CameraStyle
bool DrawUncertaintyEllipsoids
void SetIdentity()
set the elements of this matrix to the matrix 1 0 0 0 0 1 0 0 0 0 1 0 which is no strict identity (!)...
class for 3x3 covariance matrices
LineDrawingStyle LineStyle
class HomgPoint3D describes a point with 3 degrees of freedom in projective coordinates.
K describes the mapping from world coordinates (wcs) to pixel coordinates (pcs).
describes a projective 3D -> 2D mapping in homogenous coordinates
PointDrawingStyle PointStyle
void SetIdentity()
set the elements of this matrix to the identity matrix (possibly overriding the inherited method) ...