Basic Image AlgorithmS Library
2.8.0
|
Unified output of 3D entities via OpenGL or VRML. More...
#include <Utils/ThreeDOut.hh>
Public Member Functions | |
void | AddDebugLevel (const long int lv) |
void | AddDebugLevel (const std::string &name) |
bool | DebugLevelIsSet (const long int lv) const |
bool | DebugLevelIsSet (const std::string &name) const |
void | Dump () |
list all internal 3d objects on cout More... | |
void | GetBoundingBox (Vector3< double > &min, Vector3< double > &max) |
Get the min and max vector of the smallest bounding box, which is drawn around the added points. More... | |
Vector3< double > | GetCenterOfPoints () |
get center of gravity (mean of structure) More... | |
int | GetDebugLevel () const |
std::ostream & | GetDebugStream () const |
void | GetDebugStream (std::ostream &os) const |
std::map< unsigned int, PMatrix3DData > & | GetMapPMatrices () |
call by reference accessor for data member mapPMatrices_ JW More... | |
long int | Name2DebugLevel (const std::string &name) const |
looks up a debuglevel in the internal map, returns 0 if not found More... | |
long int | NewDebugLevel (const std::string &name) |
creates a new debuglevel More... | |
void | OpenGLOut (const BIAS::RGBAuc &Color) |
draw all entities (with the same color) using OpenGL Includes lines, points, pmatrices etc. More... | |
void | OpenGLOut () |
render all entities (with the same color) using OpenGL Includes lines, points, pmatrices etc. More... | |
void | OpenGLOutEllipsoids (const BIAS::RGBAuc &Color) |
draw all ellipsoids with the same color: More... | |
void | OpenGLOutEllipsoids () |
draw all ellipsoids with their own color: More... | |
void | OpenGLOutImages (const bool &disableBlending=true) |
draw all image patches using OpenGL More... | |
void | OpenGLOutIndexedFaceSets () |
draw mesh into opengl More... | |
void | OpenGLOutLines (const BIAS::RGBAuc &Color) |
draw all lines with the same color: More... | |
void | OpenGLOutLines () |
draw all pmatrices with their own color More... | |
void | OpenGLOutPMatrices (const BIAS::RGBAuc &Color) |
draw all pmatrices with the same color: More... | |
void | OpenGLOutPMatrices () |
draw all pmatrices with their own color: More... | |
void | OpenGLOutPoints (const BIAS::RGBAuc &Color) |
draw all points with the same color: More... | |
void | OpenGLOutPoints () |
draw all points with their own color: More... | |
void | OpenGLOutWCS () |
display the world coordinate system origin and axes More... | |
void | PrintDebugLevel (std::ostream &os=std::cout) const |
void | RemoveAll () |
removes all entites Essentially a clear on each entityt container. More... | |
void | RemoveAllCamEllipsoids () |
void | RemoveAllEllipsoids () |
completely removes all ellipsoids from the internal structures, there is no way to get it back More... | |
void | RemoveAllImages () |
completely removes all images from the internal structures, there is no way to get it back More... | |
void | RemoveAllIndexedFaceSets () |
void | RemoveAllLines () |
completely removes all lines from the internal structures JW More... | |
void | RemoveAllPMatrices () |
completely removes all images from the internal structures, there is no way to get it back More... | |
void | RemoveAllPoints () |
completely removes all points from the internal structures, there is no way to get them back More... | |
void | RemoveDebugLevel (const long int lv) |
void | RemoveDebugLevel (const std::string &name) |
void | RemoveEllipsoid (const unsigned int &EIndex) |
completely removes the ellipsoid from the internal structures, there is no way to get it back More... | |
void | RemoveImage (const unsigned int &EIndex) |
completely removes the image from the internal structures, there is no way to get it back More... | |
void | RemoveLine (const unsigned int &LineIndex) |
completely removes the line from the internal structures, there is no way to get it back More... | |
void | RemovePMatrix (int index) |
removes the P-matrix index, there is no way to get it back More... | |
void | RemovePoint (const unsigned int &PointIndex) |
completely removes the point from the internal structures, there is no way to get it back More... | |
void | SetDebugLevel (const long int lv) |
void | SetDebugLevel (const std::string &name) |
void | SetDebugStream (const std::ostream &os) |
void | SetParams (const ThreeDOutParameters ¶ms) |
void | SetParamsCameraScale (double cameraScale) |
void | SetParamsCameraStyle (CameraDrawingStyle cameraStyle) |
void | SetParamsDrawCameraEllipse (bool drawEllipse) |
void | SetParamsDrawEllipse (bool drawEllipse) |
void | SetParamsEllipsoidScale (double ellipsoidScale) |
void | SetParamsLineDrawingStyle (const LineDrawingStyle lineStyle) |
void | SetParamsLineWidth (const int lineWidth) |
void | SetParamsPointDrawingStyle (const PointDrawingStyle pointStyle) |
void | SetParamsPointSize (const double pointSize) |
void | SetParamsWCSAxesLength (double WCSAxesLength) |
void | SetWriteViewpoints (const bool &val) |
write VRML viewpoint nodes for some P matrices ? More... | |
void | ShowDebugLevel (std::ostream &os=std::cout) const |
prints all internally known debuglevels More... | |
ThreeDOut (const BIAS::ThreeDOutParameters ¶ms=BIAS::ThreeDOutParameters()) | |
Constructor for empty 3D scene with given parameters. More... | |
void | Translation (const Vector3< double > &movement) |
transfers the whole scene by this offset More... | |
void | UpdateEllipsoid (const unsigned int &EIndex, BIAS::CovMatrix3x3 &cov, BIAS::Vector3< double > &C, const BIAS::RGBAuc &Color=RGBAuc_WHITE_SEMI, const double &dConfidenceRegionScale=DEF_P_SCALE) |
void | UpdateEllipsoid (const unsigned int &EIndex, BIAS::CovMatrix3x3 &cov, BIAS::HomgPoint3D &C, const BIAS::RGBAuc &Color=RGBAuc_WHITE_SEMI, const double &dConfidenceRegionScale=DEF_P_SCALE) |
void | UpdateLine (const unsigned int &LineIndex, const BIAS::Vector3< double > &Start, const BIAS::Vector3< double > &End, const BIAS::RGBAuc &Color=RGBAuc_WHITE_OPAQUE) |
void | UpdateLine (const unsigned int &LineIndex, const BIAS::HomgPoint3D &Start, const BIAS::HomgPoint3D &End, const BIAS::RGBAuc &Color=RGBAuc_WHITE_OPAQUE) |
void | UpdatePMatrix (const unsigned int &PIndex, BIAS::PMatrix &P, const unsigned int &width, const unsigned int &height, const BIAS::RGBAuc &Color=RGBAuc_WHITE_OPAQUE, const double &dScale=DEF_P_SCALE) |
void | UpdatePMatrixColor (const unsigned int &PIndex, const BIAS::RGBAuc &Color) |
void | UpdatePoint (const unsigned int &PointIndex, const BIAS::Vector3< double > &v, const BIAS::RGBAuc &Color=RGBAuc_WHITE_OPAQUE) |
void | UpdatePoint (const unsigned int &PointIndex, const BIAS::HomgPoint3D &v, const BIAS::RGBAuc &Color=RGBAuc_WHITE_OPAQUE) |
void | UpdatePointColor (const unsigned int &PointIndex, const BIAS::RGBAuc &Color) |
int | VRMLOut (const std::string &sFilename) |
flush all 3d objects to a vrml file with name sFilename, this is the function most users would call More... | |
int | VRMLOut (const std::string &sFilename, const BIAS::RGBAuc &Color) |
flush all 3d objects to a vrml file with name sFilename, use Color as the color for all elements More... | |
int | VRMLOutEllipsoids (std::ostream &vrml, const BIAS::RGBAuc &Color) |
only write (previously stored) ellipsoids to an open vrml file, override their individual colors with Color More... | |
int | VRMLOutEllipsoids (std::ostream &vrml) |
only write (previously stored) ellipsoids into an open vrml file More... | |
int | VRMLOutImages (std::ostream &VRMLFile) |
only write (previously stored) images into an open vrml file More... | |
int | VRMLOutIndexedFaceSets (std::ostream &VRMLFile) |
only write (previously stored) face sets into an open vrml file Will include texture into VRML as PixelTexture node. More... | |
int | VRMLOutLines (std::ostream &vrml, const BIAS::RGBAuc &Color) |
only write (previously stored) lines into an open vrml file, override their individual colors with Color More... | |
int | VRMLOutLines (std::ostream &vrml) |
only write (previously stored) points into an open vrml file More... | |
int | VRMLOutPMatrices (std::ostream &vrml, const BIAS::RGBAuc &Color) |
only write (previously stored) cameras into an open vrml file, override their individual colors with Color More... | |
int | VRMLOutPMatrices (std::ostream &vrml) |
only write (previously stored) cameras into an open vrml file More... | |
int | VRMLOutPMatricesRoutine (std::ostream &VRMLFile, const PMatrix3DData *it, double r=255.0, double g=255.0, double b=255.0, double transparency=0.0, bool CenterAsSphere=false) |
only write camera into an open vrml file More... | |
int | VRMLOutPoints (std::ostream &vrml, const BIAS::RGBAuc &Color) |
only write (previously stored) points into an open vrml file, override their individual colors with Color More... | |
int | VRMLOutPoints (std::ostream &vrml) |
only write (previously stored) points into an open vrml file More... | |
int | VRMLOutProjection (std::ostream &VRMLFile) |
only write previously stored projection objects into opened vrml file. More... | |
int | VRMLOutProjectionView (std::ostream &VRMLFile) |
only write previously stored projectionview objects into opened vrml file. More... | |
void | VRMLOutWCS (std::ostream &vrml) |
write world coordinate system origin and axes More... | |
int | VRMLOutWriteHeader (std::ostream &vrml) |
write the VRML 2.0 header into an open file More... | |
void | VRMLOutWriteNavigationInfo (std::ostream &vrml) |
write VRML 2.0 navigation info node More... | |
void | VRMLOutWriteViewpoint (std::ostream &vrml) |
write VRMl 2.0 viewpoint that can selecetd in vrml viewer More... | |
virtual int | WriteToFile (const std::string &filename) |
Generic write method (wrapper for VRMLOut). More... | |
virtual | ~ThreeDOut () |
Destructor releases all memory used. More... | |
Static Public Member Functions | |
static long int | GetGlobalDebugLevel () |
static void | SetGlobalDebugLevel (long int lev) |
static double | VRMLtransparency (const unsigned char alpha) |
get alpha opacity value as VRML transparency helper mapping, usually transparency = (1-alpha) More... | |
static double | VRMLtransparency (const BIAS::Vector4< unsigned char > &vRgba) |
get alpha opacity component as VRML transparency g More... | |
Public Attributes | |
bool | visualize_viewports |
Protected Member Functions | |
long | ConsumeNextFreeDebuglevel_ () |
returns the next available debuglevel More... | |
void | CoordinateSystem (std::ostream &VRMLFile, double selectionRadius, double r, double g, double b, double axeslength, double scale=1.0, const std::string &name="") |
Write a projection of a camera in COORDINATE-style into VRML. More... | |
std::string | CorrectDefString_ (const std::string &defstring) |
replace invalid characters in def string and return corrected More... | |
void | DrawSphere_ (double radius, int lats, int longs) |
void | OpenGLOutPMatrices_ (const BIAS::RGBAuc &Color, bool UseOneColor) |
void | PaintCone (std::ostream &VRMLFile, double selectionRadius, double r, double g, double b, double transparency, double angle, double scale=1.0, const std::string &name="") |
Write a parameterized cone into VRMLFile. More... | |
void | PaintPyramid (std::ostream &VRMLFile, double selectionRadius, double r, double g, double b, double transparency, double angle, double ratio=4.0/3.0, double scale=1.0, const std::string &name="", bool paint_lines=false) |
Write a parameterized pyramid into VRMLFile. More... | |
void | VRMLOutEllipsoid_ (std::ostream &vrml, Ellipsoid3DData &E, const BIAS::RGBAuc &Color) |
int | VRMLOutPMatricesAsArrows_ (std::ostream &vrml, const BIAS::RGBAuc &Color) |
this is an optimized strategy to avoid hundred of shape nodes More... | |
int | VRMLOutPMatricesAsMesh_ (std::ostream &vrml, const BIAS::RGBAuc &Color) |
int | VRMLOutPointsAsBoxes_ (std::ostream &VRMLFile) |
int | VRMLOutPointsAsPointSet_ (std::ostream &VRMLFile) |
int | VRMLOutPointsAsSpheres_ (std::ostream &VRMLFile) |
void | VRMLOutViewPortConical (std::ostream &VRMLFile, double selectionRadius, double r, double g, double b, double angle, double scale, const std::string &name, bool solid=false) |
Write a projection of a NON-PERSPECTIVE camera into VRML. More... | |
void | VRMLOutViewPortPyramidal (std::ostream &VRMLFile, double selectionRadius, double r, double g, double b, double angle, double ratio, double scale, const std::string &name, bool solid=false) |
Write a projection of a PERSPECTIVE camera into VRML. More... | |
Protected Attributes | |
long int | _liDebugLevel |
long int | _liNextDebugLevel |
new concept, debuglevel are managed here in the debug class More... | |
std::map< std::string, long int > | _String2Debuglevel |
bool | glewInitialized_ |
std::map< unsigned int, Ellipsoid3DData > | mapCamEllipsoids_ |
map of all ellipsoid structures More... | |
std::map< unsigned int, Ellipsoid3DData > | mapEllipsoids_ |
map of all ellipsoid structures More... | |
std::map< unsigned int, Image3DData > | mapImages_ |
map of all image structures More... | |
std::map< unsigned int, IndexedFaceSet > | mapIndexedFaceSet_ |
std::map< unsigned int, Line3DData > | mapLines_ |
map of all line structures More... | |
std::map< unsigned int, PMatrix3DData > | mapPMatrices_ |
the cameras are saved in a vector for efficiency reasons More... | |
std::map< unsigned int, Point3DData > | mapPoints_ |
map of all point structures More... | |
std::map< unsigned int, Projection3DData > | mapProjection3D_ |
std::map< unsigned int, Text3DData > | mapTexts_ |
map of all point structures More... | |
std::vector< double > | meanDraw |
unsigned int | NextCamEllipsoidIndex_ |
counter for the next ellipsoid index, gaps are not reused by now More... | |
unsigned int | NextEllipsoidIndex_ |
counter for the next ellipsoid index, gaps are not reused by now More... | |
unsigned int | NextImageIndex_ |
counter for the next index, gaps (due to delete) are not reused by now More... | |
unsigned int | NextIndexedFaceSetIndex_ |
unsigned int | NextLineIndex_ |
counter for the next line index, gaps (due to delete) arent reused More... | |
unsigned int | NextPIndex_ |
counter for the next index, gaps (due to delete) are not reused by now More... | |
unsigned int | NextPointIndex_ |
counter for the next index, gaps (due to delete) are not reused by now More... | |
unsigned int | NextProjection3DIndex_ |
unsigned int | NextTextIndex_ |
counter for the next index, gaps (due to delete) are not reused by now More... | |
ThreeDOutParameters | Params_ |
holds the params set by constructor or SetParams More... | |
bool | WriteViewpoints_ |
Static Protected Attributes | |
static std::ostream | _zDebugStream |
static long int | GlobalDebugLevel = 0 |
Functions to add geometric objects for output | |
unsigned int | AddPoint (const BIAS::Vector3< double > &v, const BIAS::RGBAuc &Color=RGBAuc_WHITE_OPAQUE) |
unsigned int | AddText (const std::string &thetext, const BIAS::Vector3< double > &position, const BIAS::Quaternion< double > &direction=BIAS::Quaternion< double >(0.0, 0.0, 0.0, 0.0), const double &thesize=-12.0, const BIAS::RGBAuc &Color=RGBAuc_WHITE_OPAQUE) |
unsigned int | AddPoint (const BIAS::HomgPoint3D &v, const BIAS::RGBAuc &Color=RGBAuc_WHITE_OPAQUE) |
unsigned int | AddLine (const BIAS::Vector3< double > &Start, const BIAS::Vector3< double > &End, const BIAS::RGBAuc &Color=RGBAuc_WHITE_OPAQUE) |
unsigned int | AddLine (const BIAS::HomgPoint3D &Start, const BIAS::HomgPoint3D &End, const BIAS::RGBAuc &Color=RGBAuc_WHITE_OPAQUE) |
unsigned int | AddEllipsoid (BIAS::CovMatrix3x3 &cov, const BIAS::Vector3< double > &C, const BIAS::RGBAuc &Color=RGBAuc_WHITE_SEMI, const double &dConfidenceRegionScale=DEF_P_SCALE, const bool cameraCov=false) |
unsigned int | AddEllipsoid (BIAS::CovMatrix3x3 &cov, const BIAS::HomgPoint3D &C, const BIAS::RGBAuc &Color=RGBAuc_WHITE_SEMI, const double &dConfidenceRegionScale=DEF_P_SCALE, const bool cameraCov=false) |
void | AddPlane (const HomgPlane3D &plane, const RGBAuc &colour=RGBAuc_WHITE_SEMI, const double size=1.0, const Vector3< double > &translation=Vector3< double >(0.0, 0.0, 0.0), const bool wireframe=true) |
Adds the given plane to the scene, visualising it with lines or with a colored quad. More... | |
unsigned int | AddPMatrix (BIAS::PMatrix &P, const unsigned int &width, const unsigned int &height, const BIAS::RGBAuc &Color=RGBAuc_WHITE_OPAQUE, const double &dScale=DEF_P_SCALE, const std::string &name="") |
decompose P and add to internal data structures. More... | |
unsigned int | AddPMatrix (BIAS::Matrix3x4< double > &M, const unsigned int &width, const unsigned int &height, const BIAS::RGBAuc &Color=RGBAuc_WHITE_OPAQUE, const double &dScale=DEF_P_SCALE, const std::string &name="") |
interface for the above More... | |
unsigned int | AddImage (const Vector3< double > &UL, const Vector3< double > &UR, const Vector3< double > &LL, unsigned int Width, unsigned int Height, unsigned char *pData, unsigned int channels=1, const std::string &name="", bool billboard=false) |
add a small rectangular image patch spanned by three 3d points small means really small (only a few pixels), the patch is approximated in a very complicated way in vrml to allow for inline data More... | |
unsigned int | AddImage (const Vector3< double > &UL, const Vector3< double > &UR, const Vector3< double > &LL, const Vector3< double > &LR, unsigned int Width, unsigned int Height, unsigned char *pData, unsigned int channels=1, const std::string &name="", bool billboard=false) |
add a small image patch spanned by four 3d points small means really small (only a few pixels), the patch is approximated in a very complicated way in vrml to allow for inline data More... | |
unsigned int | AddTriangleMesh (const TriangleMesh &mesh, const std::string &name="", const std::string &textureOutputName="", bool writeOutTexture=true, bool calcNormals=false) |
Adds triangle mesh as IndexedFaceSet to ThreeDOut mem. More... | |
unsigned int | AddProjection (const Projection &p, const RGBAuc &colorSelection=RGBAuc_WHITE_OPAQUE, const double radius=0.1, const double scale=1.0, const std::string &identifier="", const int camera_type=-1) |
Add a projection object to ThreeDOut mem. More... | |
unsigned int | AddProjection (const Projection &p, const std::string &identifier) |
interface for above More... | |
unsigned int | AddPose (const PoseParametrization &p, const RGBAuc &colorSelection=RGBAuc_WHITE_OPAQUE, const double radius=0.1, const double scale=1.0, const int camera_type=-1) |
static void | ComputePlaneCorners (const HomgPlane3D &plane, const double size, std::vector< Vector3< double > > &corners) |
Helper function computing the corners of a 3D plane. More... | |
Unified output of 3D entities via OpenGL or VRML.
Alpha blending policy (like OpenGL defaults):
glEnable (GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
However, VRML has inverse interpretation (!), thus a conversion is required, see http://www.web3d.org/x3d/specifications/vrml/ISO-IEC-14772-VRML97/part1/nodesRef.html
Definition at line 349 of file ThreeDOut.hh.
|
virtual |
Destructor releases all memory used.
Definition at line 206 of file ThreeDOut.cpp.
ThreeDOut::ThreeDOut | ( | const BIAS::ThreeDOutParameters & | params = BIAS::ThreeDOutParameters() | ) |
Constructor for empty 3D scene with given parameters.
Definition at line 189 of file ThreeDOut.cpp.
References NextCamEllipsoidIndex_, NextEllipsoidIndex_, NextImageIndex_, NextIndexedFaceSetIndex_, NextLineIndex_, NextPIndex_, NextPointIndex_, NextTextIndex_, SetParams(), visualize_viewports, and WriteViewpoints_.
|
inlineinherited |
Definition at line 355 of file Debug.hh.
Referenced by BIAS::GLProjectionParametersBase::AddDebugLevel(), BIAS::Triangulation::CorrectCorrespondences(), BIAS::FilterBase< InputStorageType, OutputStorageType >::FilterBase(), BIAS::ShowCamWxVideoSourceFactory::OpenDevice(), and BIAS::SceneOpenSceneGraph::SceneOpenSceneGraph().
|
inlineinherited |
unsigned int ThreeDOut::AddEllipsoid | ( | BIAS::CovMatrix3x3 & | cov, |
const BIAS::Vector3< double > & | C, | ||
const BIAS::RGBAuc & | Color = RGBAuc_WHITE_SEMI , |
||
const double & | dConfidenceRegionScale = DEF_P_SCALE , |
||
const bool | cameraCov = false |
||
) |
dConfidenceRegionScale | see Quadric3D.hh for the relationship between enlarging the standard confidence region and the probability that a measurement will be inside that region, 1.0 means sigma |
Definition at line 782 of file ThreeDOut.cpp.
References BIAS::Ellipsoid3DData::C, BIAS::Ellipsoid3DData::Color, BIAS::Ellipsoid3DData::dAngle, BIAS::CovMatrix3x3::GetPCA(), BIAS::RMatrixBase::GetRotationAxisAngle(), BIAS::Matrix3x3< T >::GetRow(), BIAS::Greater(), BIAS::Matrix3x3< T >::IsZero(), mapCamEllipsoids_, mapEllipsoids_, BIAS::MatrixIdentity, BIAS::MatrixZero, NextCamEllipsoidIndex_, NextEllipsoidIndex_, BIAS::Ellipsoid3DData::RotAxis, BIAS::Ellipsoid3DData::s0, BIAS::Ellipsoid3DData::s1, BIAS::Ellipsoid3DData::s2, and BIAS::Matrix3x3< T >::Transpose().
Referenced by AddEllipsoid().
unsigned int ThreeDOut::AddEllipsoid | ( | BIAS::CovMatrix3x3 & | cov, |
const BIAS::HomgPoint3D & | C, | ||
const BIAS::RGBAuc & | Color = RGBAuc_WHITE_SEMI , |
||
const double & | dConfidenceRegionScale = DEF_P_SCALE , |
||
const bool | cameraCov = false |
||
) |
dConfidenceRegionScale | see Quadric3D.hh for the relationship between enlarging the standard confidence region and the probability that a measurement will be inside that region, 1.0 means sigma |
Definition at line 823 of file ThreeDOut.cpp.
References AddEllipsoid(), and BIAS::HomgPoint3D::IsHomogenized().
|
inline |
add a small rectangular image patch spanned by three 3d points small means really small (only a few pixels), the patch is approximated in a very complicated way in vrml to allow for inline data
channels | number of channels: 1=grey, 3=rgb |
Definition at line 512 of file ThreeDOut.hh.
unsigned int ThreeDOut::AddImage | ( | const Vector3< double > & | UL, |
const Vector3< double > & | UR, | ||
const Vector3< double > & | LL, | ||
const Vector3< double > & | LR, | ||
unsigned int | Width, | ||
unsigned int | Height, | ||
unsigned char * | pData, | ||
unsigned int | channels = 1 , |
||
const std::string & | name = "" , |
||
bool | billboard = false |
||
) |
add a small image patch spanned by four 3d points small means really small (only a few pixels), the patch is approximated in a very complicated way in vrml to allow for inline data
channels | number of channels: 1=grey, 3=rgb |
Definition at line 963 of file ThreeDOut.cpp.
References BIAS::Image3DData::BillBoard, CorrectDefString_(), BIAS::Image< StorageType >::GetImageDataArray(), BIAS::Image3DData::ImageData, BIAS::Image< StorageType >::Init(), BIAS::ImageBase::IsEmpty(), BIAS::Image3DData::LL, BIAS::Image3DData::LR, mapImages_, BIAS::Image3DData::name, NextImageIndex_, BIAS::Image< StorageType >::Release(), BIAS::ImageBase::SetROI(), BIAS::Image3DData::UL, and BIAS::Image3DData::UR.
unsigned int ThreeDOut::AddLine | ( | const BIAS::Vector3< double > & | Start, |
const BIAS::Vector3< double > & | End, | ||
const BIAS::RGBAuc & | Color = RGBAuc_WHITE_OPAQUE |
||
) |
Start | Start point of line |
End | End point of line |
Definition at line 756 of file ThreeDOut.cpp.
References BIAS::Line3DData::Color, BIAS::Line3DData::End, mapLines_, NextLineIndex_, and BIAS::Line3DData::Start.
Referenced by AddLine(), AddPlane(), and AddProjection().
unsigned int ThreeDOut::AddLine | ( | const BIAS::HomgPoint3D & | Start, |
const BIAS::HomgPoint3D & | End, | ||
const BIAS::RGBAuc & | Color = RGBAuc_WHITE_OPAQUE |
||
) |
Start | Start point of line |
End | End point of line |
Definition at line 769 of file ThreeDOut.cpp.
References AddLine(), and BIAS::HomgPoint3D::IsHomogenized().
void ThreeDOut::AddPlane | ( | const HomgPlane3D & | plane, |
const RGBAuc & | colour = RGBAuc_WHITE_SEMI , |
||
const double | size = 1.0 , |
||
const Vector3< double > & | translation = Vector3<double>(0.0, 0.0, 0.0) , |
||
const bool | wireframe = true |
||
) |
Adds the given plane to the scene, visualising it with lines or with a colored quad.
plane | the plane to add |
colour | the colour used for drawing |
size | edge length of the plane |
translation | the lines are moved by this vector |
wireframe | specifies if plane should be displayed with lines or solid |
Definition at line 837 of file ThreeDOut.cpp.
References AddLine(), AddTriangleMesh(), ComputePlaneCorners(), BIAS::HomgPlane3D::GetNormalVector(), and BIAS::TriangleMesh::SetMesh().
unsigned int ThreeDOut::AddPMatrix | ( | BIAS::PMatrix & | P, |
const unsigned int & | width, | ||
const unsigned int & | height, | ||
const BIAS::RGBAuc & | Color = RGBAuc_WHITE_OPAQUE , |
||
const double & | dScale = DEF_P_SCALE , |
||
const std::string & | name = "" |
||
) |
decompose P and add to internal data structures.
name | defines node name in vrml - does not like dots ('.')! |
Definition at line 1029 of file ThreeDOut.cpp.
References BIAS::PMatrix3DData::C, BIAS::PMatrix3DData::Color, CorrectDefString_(), BIAS::PMatrix::GetA(), BIAS::PMatrix::GetC(), BIAS::PMatrix::GetK(), BIAS::PMatrix::GetR(), BIAS::PMatrix3DData::LL, BIAS::PMatrix3DData::LR, mapPMatrices_, BIAS::Matrix3x3< T >::Mult(), BIAS::PMatrix3DData::name, NextPIndex_, BIAS::PMatrix3DData::PP, BIAS::Vector3< T >::ScalarProduct(), BIAS::Matrix3x3< T >::Transpose(), BIAS::PMatrix3DData::UL, BIAS::PMatrix3DData::Up, and BIAS::PMatrix3DData::UR.
Referenced by AddPMatrix(), BIAS::GenSynthMatches::CreateVRML_(), and UpdatePMatrix().
unsigned int ThreeDOut::AddPMatrix | ( | BIAS::Matrix3x4< double > & | M, |
const unsigned int & | width, | ||
const unsigned int & | height, | ||
const BIAS::RGBAuc & | Color = RGBAuc_WHITE_OPAQUE , |
||
const double & | dScale = DEF_P_SCALE , |
||
const std::string & | name = "" |
||
) |
unsigned int ThreeDOut::AddPoint | ( | const BIAS::Vector3< double > & | v, |
const BIAS::RGBAuc & | Color = RGBAuc_WHITE_OPAQUE |
||
) |
v | point coordinates |
Definition at line 719 of file ThreeDOut.cpp.
References BIAS::Point3DData::Color, mapPoints_, NextPointIndex_, and BIAS::Point3DData::Point.
Referenced by AddPoint(), and BIAS::GenSynthMatches::CreateVRML_().
unsigned int ThreeDOut::AddPoint | ( | const BIAS::HomgPoint3D & | v, |
const BIAS::RGBAuc & | Color = RGBAuc_WHITE_OPAQUE |
||
) |
v | point coordinates |
Definition at line 729 of file ThreeDOut.cpp.
References AddPoint(), and BIAS::HomgPoint3D::IsHomogenized().
unsigned int ThreeDOut::AddPose | ( | const PoseParametrization & | p, |
const RGBAuc & | colorSelection = RGBAuc_WHITE_OPAQUE , |
||
const double | radius = 0.1 , |
||
const double | scale = 1.0 , |
||
const int | camera_type = -1 |
||
) |
Definition at line 1407 of file ThreeDOut.cpp.
References BIAS::Projection3DData::ColorOfSelection, mapProjection3D_, NextProjection3DIndex_, BIAS::Projection3DData::radiusSelection, BIAS::Projection3DData::Set(), and BIAS::Projection3DData::type.
Referenced by BIAS::GenSynthMatches::CreateVRML_().
unsigned int ThreeDOut::AddProjection | ( | const Projection & | p, |
const RGBAuc & | colorSelection = RGBAuc_WHITE_OPAQUE , |
||
const double | radius = 0.1 , |
||
const double | scale = 1.0 , |
||
const std::string & | identifier = "" , |
||
const int | camera_type = -1 |
||
) |
Add a projection object to ThreeDOut mem.
colorSelection | color of the small sphere around the center Draws the four cam coordinate axes (A in red, H in Green, V in blue) and a small sphere around the center which is usefull for selection. |
VIEWPORT PART, DUE TO BE IMPLEMENTED unsigned int wid = 0; unsigned int hei = 0;
calculate the angle if(camera_type != -1){ calculate the size of an image p.GetParameters()->GetImageSize(wid, hei); HomgPoint2D p1_2D, p2_2D;
cout << "wid: " << wid << ", hei: " << hei << endl;
if(hei==0 && wid==0){ cout << "Unable to calculate size of an img from projection..." << endl; } else{ if(camera_type == 0){ p1_2D[0] = 0; p1_2D[1] = rint(hei/2); p2_2D[0] = rint(wid/2); p2_2D[1] = rint(hei/2); } if(camera_type == 1){ we take a point (wid/4, hei/2) and (wid/2, hei/2), 'cause the angle could be more than 180 degrees p1_2D[0] = rint(wid/4); p1_2D[1] = rint(hei/2); p2_2D[0] = rint(wid/2); p2_2D[1] = rint(hei/2); } HomgPoint3D p1_3D = p.GetParameters()->UnProjectToPoint(p1_2D, 1.0); HomgPoint3D p2_3D = p.GetParameters()->UnProjectToPoint(p2_2D, 1.0);
double dx = p1_3D[0]-p2_3D[0]; double dy = p1_3D[1]-p2_3D[1]; double dz = p1_3D[2]-p2_3D[2];
half of the distance between two 1.0-lentgh-rays from the principal point it's equal to a sin of an alpha/2 for perspective and aplpha/4 for non-perspective cameras, whereas alpha is an cutoffangle of the camera. double dist_div_2 = sqrt(dx*dx+dy*dy+dz*dz)/2;
if(camera_type == 0) data.angle = 2*asin(dist_div_2); if(camera_type == 1) data.angle = 4*asin(dist_div_2); } }
Definition at line 1308 of file ThreeDOut.cpp.
References AddLine(), BIAS::Projection3DData::C, BIAS::Projection3DData::ColorOfSelection, BIAS::CoordinateTransform3D::ConcatenateLocalTransform(), BIAS::CoordinateTransform3D::GetC(), BIAS::Projection::GetC(), BIAS::Projection::GetParameters(), BIAS::ProjectionParametersBase::GetPose(), BIAS::CoordinateTransform3D::GetQ(), BIAS::Projection::GetQ(), BIAS::Projection3DData::identifier, mapProjection3D_, NextProjection3DIndex_, BIAS::Projection3DData::radiusSelection, BIAS::Projection3DData::scale, BIAS::Projection3DData::Set(), BIAS::RMatrixBase::SetFromQuaternion(), BIAS::Projection::Size(), and BIAS::Projection3DData::type.
|
inline |
interface for above
Definition at line 573 of file ThreeDOut.hh.
unsigned int ThreeDOut::AddText | ( | const std::string & | thetext, |
const BIAS::Vector3< double > & | position, | ||
const BIAS::Quaternion< double > & | direction = BIAS::Quaternion<double>(0.0,0.0,0.0,0.0) , |
||
const double & | thesize = -12.0 , |
||
const BIAS::RGBAuc & | Color = RGBAuc_WHITE_OPAQUE |
||
) |
position | text coordinates |
orientation | 3d orientation (screen-aligned if zero) |
thetext | string to be visualized in 3d |
thesize,: | if>0: 3d height of text if<0: 2d height (in pixels) of text |
Definition at line 739 of file ThreeDOut.cpp.
References BIAS::Text3DData::Color, BIAS::Text3DData::Direction, mapTexts_, NextTextIndex_, BIAS::Text3DData::Position, BIAS::Text3DData::Size, and BIAS::Text3DData::Text.
unsigned int ThreeDOut::AddTriangleMesh | ( | const TriangleMesh & | mesh, |
const std::string & | name = "" , |
||
const std::string & | textureOutputName = "" , |
||
bool | writeOutTexture = true , |
||
bool | calcNormals = false |
||
) |
Adds triangle mesh as IndexedFaceSet to ThreeDOut mem.
name | defines node name in vrml - must not contain dots ('.')! |
textureOutputName | is telling which name the texture shall have when writing the vrml. If this param is empty (default), the texture is integrated into the vrml as PixelMap. |
writeOutTexture | if true and the textureOutputName is not "" then the texture is written into textureOutputName, otherwise only the texture name or a PixelMap is integrated into vrml. (default = true) |
calcNormals[in],: | set whether to calculate normals (e.g. for lighting) or not. Normally normals are only calculated if no texture is present in mesh (default behaviour) |
Definition at line 1104 of file ThreeDOut.cpp.
References BIAS::IndexedFaceSet::bbmax, BIAS::IndexedFaceSet::bbmin, BIAS::IndexedFaceSet::CASize, BIAS::IndexedFaceSet::ColorArray, CorrectDefString_(), BIAS::Vector3< T >::CrossProduct(), BIAS::Equal(), BIAS::IndexedFaceSet::faceIndices, BIAS::IndexedFaceSet::facetArray, BIAS::IndexedFaceSet::facetIndicesCountArray, BIAS::ImageBase::GetHeight(), BIAS::TriangleMesh::GetNormals(), BIAS::TriangleMesh::GetTexCoords(), BIAS::TriangleMesh::GetTexture(), BIAS::TriangleMesh::GetTriangleIndices(), BIAS::TriangleMesh::GetVertexColors(), BIAS::TriangleMesh::GetVertices(), BIAS::ImageBase::GetWidth(), mapIndexedFaceSet_, BIAS::IndexedFaceSet::name, NextIndexedFaceSetIndex_, BIAS::IndexedFaceSet::NormalArray, BIAS::Vector3< T >::NormL2(), BIAS::IndexedFaceSet::NumFacets, BIAS::ImageBase::PowerOfTwoSize(), BIAS::IndexedFaceSet::TASize, BIAS::IndexedFaceSet::texCoordSet, BIAS::IndexedFaceSet::texture, BIAS::IndexedFaceSet::TextureCoordArray, BIAS::IndexedFaceSet::textureName, BIAS::IndexedFaceSet::useColoredVertices, BIAS::IndexedFaceSet::useNormals, BIAS::IndexedFaceSet::useTexture, BIAS::IndexedFaceSet::VASize, BIAS::IndexedFaceSet::VertArray, BIAS::IndexedFaceSet::vertexColorSet, BIAS::IndexedFaceSet::vertexSet, and BIAS::IndexedFaceSet::writeOutTexture.
Referenced by AddPlane(), BIAS::ImageBlender::BlendImages(), and BIAS::ImageBlenderIncremental::BlendImages().
|
static |
Helper function computing the corners of a 3D plane.
plane | the plane to compute corners for |
size | edge length of the plane |
corners | returns 3D coordinates of plane corners |
Definition at line 877 of file ThreeDOut.cpp.
References BIAS::Vector3< T >::CrossProduct(), BIAS::Matrix3x3< T >::GetInverse(), BIAS::HomgPlane3D::GetNormalVector(), and BIAS::Vector3< T >::ScalarProduct().
Referenced by AddPlane().
|
inlineprotectedinherited |
|
protected |
Write a projection of a camera in COORDINATE-style into VRML.
VRMLFile | destination, writes to an end of the file |
scale | scale of the projection |
VRMLFile<<" geometry Box{ size "<<selectionRadius<<" " <<selectionRadius<<" "<<selectionRadius<<" } "<<std::endl;
Definition at line 599 of file ThreeDOut.cpp.
References CorrectDefString_().
Referenced by VRMLOutProjection(), and VRMLOutWCS().
|
protected |
replace invalid characters in def string and return corrected
Definition at line 273 of file ThreeDOut.cpp.
Referenced by AddImage(), AddPMatrix(), AddTriangleMesh(), CoordinateSystem(), PaintCone(), PaintPyramid(), VRMLOutImages(), VRMLOutIndexedFaceSets(), and VRMLOutPMatricesRoutine().
|
inlineinherited |
Definition at line 341 of file Debug.hh.
Referenced by BIAS::GenSynthMatches::_AddUniformDistributedOutliers(), BIAS::GenSynthMatches::_CreateCamMovement(), BIAS::GenSynthMatches::_CreateStatic2DPoints(), BIAS::UnscentedTransform::ComputeSigmaPoints_(), BIAS::Triangulation::CorrectCorrespondences(), BIAS::GenSynthMatches::GetGTNormalizedF(), BIAS::MonteCarloTransform::GetSamples_(), and BIAS::MonteCarloTransform::Transform().
|
inlineinherited |
|
protected |
Definition at line 2502 of file ThreeDOut.cpp.
Referenced by OpenGLOutPoints().
void ThreeDOut::Dump | ( | ) |
list all internal 3d objects on cout
Definition at line 3706 of file ThreeDOut.cpp.
References mapEllipsoids_, mapLines_, mapPMatrices_, and mapPoints_.
Get the min and max vector of the smallest bounding box, which is drawn around the added points.
uncompleted, doesn't deliver correct results (mostly 0) alpha
Definition at line 3756 of file ThreeDOut.cpp.
References mapCamEllipsoids_, mapEllipsoids_, mapImages_, mapIndexedFaceSet_, mapLines_, mapPMatrices_, and mapPoints_.
Vector3< double > ThreeDOut::GetCenterOfPoints | ( | ) |
get center of gravity (mean of structure)
Definition at line 3740 of file ThreeDOut.cpp.
References mapPoints_.
|
inlineinherited |
Definition at line 332 of file Debug.hh.
Referenced by BIAS::listenthread(), BIAS::Image< StorageType >::operator=(), and BIAS::ImageBase::operator=().
|
inlineinherited |
|
inlineinherited |
|
inlinestaticinherited |
|
inline |
call by reference accessor for data member mapPMatrices_ JW
Definition at line 853 of file ThreeDOut.hh.
|
inlineinherited |
|
inlineinherited |
creates a new debuglevel
Definition at line 474 of file Debug.hh.
Referenced by BIAS::COSAC< SolutionType >::COSAC(), BIAS::ProjectionParametersPerspectiveDepth::Init(), BIAS::MonteCarloTransform::MonteCarloTransform(), BIAS::PMatrixEstimation::PMatrixEstimation(), BIAS::PreemptiveRANSAC< SolutionType >::PreemptiveRANSAC(), BIAS::RANSACPreKnowledge< SolutionType >::RANSACPreKnowledge(), BIAS::ROI::ROI(), BIAS::RotationAveraging::RotationAveraging(), BIAS::SceneOpenSceneGraph::SceneOpenSceneGraph(), BIAS::ThreeDOutOpenSceneGraph::ThreeDOutOpenSceneGraph(), BIAS::Triangulation::Triangulation(), and BIAS::UnscentedTransform::UnscentedTransform().
void ThreeDOut::OpenGLOut | ( | const BIAS::RGBAuc & | Color | ) |
draw all entities (with the same color) using OpenGL Includes lines, points, pmatrices etc.
(everything)
Definition at line 2470 of file ThreeDOut.cpp.
References BIAS::ThreeDOutParameters::DrawUncertaintyEllipsoids, OpenGLOutEllipsoids(), OpenGLOutImages(), OpenGLOutIndexedFaceSets(), OpenGLOutLines(), OpenGLOutPMatrices(), OpenGLOutPoints(), OpenGLOutWCS(), Params_, and BIAS::ThreeDOutParameters::WCSAxesLength.
void ThreeDOut::OpenGLOut | ( | ) |
render all entities (with the same color) using OpenGL Includes lines, points, pmatrices etc.
(everything)
Definition at line 2485 of file ThreeDOut.cpp.
References BIAS::ThreeDOutParameters::DrawUncertaintyEllipsoids, OpenGLOutEllipsoids(), OpenGLOutImages(), OpenGLOutIndexedFaceSets(), OpenGLOutLines(), OpenGLOutPMatrices(), OpenGLOutPoints(), OpenGLOutWCS(), Params_, and BIAS::ThreeDOutParameters::WCSAxesLength.
void ThreeDOut::OpenGLOutEllipsoids | ( | const BIAS::RGBAuc & | Color | ) |
draw all ellipsoids with the same color:
Definition at line 2330 of file ThreeDOut.cpp.
References BIAS::ThreeDOutParameters::EllipsoidScale, BIAS::Vector4< T >::GetData(), mapEllipsoids_, and Params_.
void ThreeDOut::OpenGLOutEllipsoids | ( | ) |
draw all ellipsoids with their own color:
Definition at line 2361 of file ThreeDOut.cpp.
References BIAS::ThreeDOutParameters::EllipsoidScale, mapEllipsoids_, and Params_.
Referenced by OpenGLOut().
void ThreeDOut::OpenGLOutImages | ( | const bool & | disableBlending = true | ) |
draw all image patches using OpenGL
disableBlending | true to glDisbale(GL_BLEND) temporarily |
Definition at line 2038 of file ThreeDOut.cpp.
References mapImages_.
Referenced by OpenGLOut().
void ThreeDOut::OpenGLOutIndexedFaceSets | ( | ) |
draw mesh into opengl
Definition at line 2101 of file ThreeDOut.cpp.
References BIAS::ImageBase::CM_Grey, BIAS::ImageBase::CM_RGB, BIAS::ImageBase::CM_RGBA, BIAS::ImageBase::Flip(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetWidth(), BIAS::ThreeDOutParameters::IndexedFaceSetPrimitiveMode, BIAS::Image< StorageType >::Init(), BIAS::ImageBase::IsEmpty(), mapIndexedFaceSet_, BIAS::ImageBase::PadToPowerOfTwo(), Params_, and BIAS::ImageBase::SetColorModel().
Referenced by OpenGLOut().
void ThreeDOut::OpenGLOutLines | ( | const BIAS::RGBAuc & | Color | ) |
draw all lines with the same color:
Definition at line 2292 of file ThreeDOut.cpp.
References BIAS::Vector4< T >::GetData(), BIAS::ThreeDOutParameters::LineWidth, mapLines_, and Params_.
void ThreeDOut::OpenGLOutLines | ( | ) |
draw all pmatrices with their own color
Definition at line 2310 of file ThreeDOut.cpp.
References BIAS::ThreeDOutParameters::LineWidth, mapLines_, and Params_.
Referenced by OpenGLOut().
void ThreeDOut::OpenGLOutPMatrices | ( | const BIAS::RGBAuc & | Color | ) |
draw all pmatrices with the same color:
Definition at line 2028 of file ThreeDOut.cpp.
References OpenGLOutPMatrices_().
void ThreeDOut::OpenGLOutPMatrices | ( | ) |
draw all pmatrices with their own color:
Definition at line 2032 of file ThreeDOut.cpp.
References OpenGLOutPMatrices_().
Referenced by OpenGLOut().
|
protected |
Definition at line 1793 of file ThreeDOut.cpp.
References BIAS::Arrow, BIAS::PMatrix3DData::C, BIAS::ThreeDOutParameters::CameraScale, BIAS::ThreeDOutParameters::CameraStyle, BIAS::PMatrix3DData::Color, BIAS::ThreeDOutParameters::DrawCameraUncertaintyEllipsoids, BIAS::ThreeDOutParameters::EllipsoidScale, BIAS::Vector4< T >::GetData(), BIAS::Vector3< T >::GetData(), BIAS::ThreeDOutParameters::LineWidth, BIAS::PMatrix3DData::LL, BIAS::PMatrix3DData::LR, mapCamEllipsoids_, mapPMatrices_, Params_, BIAS::PMatrix3DData::PP, BIAS::PyramidMesh, BIAS::PyramidMeshWithArrow, BIAS::PyramidSolid, BIAS::PyramidWithCenterBox, BIAS::PMatrix3DData::UL, BIAS::Undrawn, BIAS::PMatrix3DData::Up, and BIAS::PMatrix3DData::UR.
Referenced by OpenGLOutPMatrices().
void ThreeDOut::OpenGLOutPoints | ( | const BIAS::RGBAuc & | Color | ) |
draw all points with the same color:
Definition at line 1690 of file ThreeDOut.cpp.
References BIAS::Box, DrawSphere_(), BIAS::Vector4< T >::GetData(), mapPoints_, Params_, BIAS::Point, BIAS::ThreeDOutParameters::PointSize, BIAS::PointSprite, BIAS::ThreeDOutParameters::PointStyle, and BIAS::Sphere.
void ThreeDOut::OpenGLOutPoints | ( | ) |
draw all points with their own color:
Definition at line 1724 of file ThreeDOut.cpp.
References BIAS::Box, DrawSphere_(), mapPoints_, Params_, BIAS::Point, BIAS::ThreeDOutParameters::PointSize, BIAS::PointSprite, BIAS::ThreeDOutParameters::PointStyle, and BIAS::Sphere.
Referenced by OpenGLOut().
void ThreeDOut::OpenGLOutWCS | ( | ) |
display the world coordinate system origin and axes
Definition at line 1631 of file ThreeDOut.cpp.
References BIAS::DrawTextGL::InitFont(), Params_, BIAS::DrawTextGL::Print3D(), and BIAS::ThreeDOutParameters::WCSAxesLength.
Referenced by OpenGLOut().
|
protected |
Write a parameterized cone into VRMLFile.
VRMLFile | destination, writes to an end of the file |
selectionRadius | length of the side of the cone |
transparency | transparency of given (r,g,b)-color |
angle | angle of the cone |
Definition at line 461 of file ThreeDOut.cpp.
References CorrectDefString_().
Referenced by VRMLOutViewPortConical().
|
protected |
Write a parameterized pyramid into VRMLFile.
VRMLFile | destination, writes to an end of the file |
selectionRadius | length of an edge of the pyramid |
transparency | transparency of given (r,g,b)-color |
angle | angle between two opposite faces of pyramid which 3rd edges are width-of-the-projection far from eachother |
ratio | width-of-the-projection/height-of-the-projection |
paint_lines | redraw 4 edges of the pyramid (looks better) |
Definition at line 306 of file ThreeDOut.cpp.
References CorrectDefString_().
Referenced by VRMLOutViewPortPyramidal().
|
inlineinherited |
void ThreeDOut::RemoveAll | ( | ) |
removes all entites Essentially a clear on each entityt container.
Definition at line 3855 of file ThreeDOut.cpp.
References RemoveAllCamEllipsoids(), RemoveAllEllipsoids(), RemoveAllImages(), RemoveAllIndexedFaceSets(), RemoveAllLines(), RemoveAllPMatrices(), and RemoveAllPoints().
void ThreeDOut::RemoveAllCamEllipsoids | ( | ) |
Definition at line 1585 of file ThreeDOut.cpp.
References mapCamEllipsoids_.
Referenced by RemoveAll().
void ThreeDOut::RemoveAllEllipsoids | ( | ) |
completely removes all ellipsoids from the internal structures, there is no way to get it back
Definition at line 1581 of file ThreeDOut.cpp.
References mapEllipsoids_.
Referenced by RemoveAll().
void ThreeDOut::RemoveAllImages | ( | ) |
completely removes all images from the internal structures, there is no way to get it back
Definition at line 1602 of file ThreeDOut.cpp.
References mapImages_.
Referenced by RemoveAll().
void ThreeDOut::RemoveAllIndexedFaceSets | ( | ) |
Definition at line 1596 of file ThreeDOut.cpp.
References mapIndexedFaceSet_, and NextIndexedFaceSetIndex_.
Referenced by RemoveAll().
void ThreeDOut::RemoveAllLines | ( | ) |
completely removes all lines from the internal structures JW
Definition at line 1569 of file ThreeDOut.cpp.
References mapLines_.
Referenced by RemoveAll().
void ThreeDOut::RemoveAllPMatrices | ( | ) |
completely removes all images from the internal structures, there is no way to get it back
Definition at line 1607 of file ThreeDOut.cpp.
References mapPMatrices_.
Referenced by RemoveAll().
void ThreeDOut::RemoveAllPoints | ( | ) |
completely removes all points from the internal structures, there is no way to get them back
Definition at line 1557 of file ThreeDOut.cpp.
References mapPoints_.
Referenced by RemoveAll().
|
inlineinherited |
|
inlineinherited |
void ThreeDOut::RemoveEllipsoid | ( | const unsigned int & | EIndex | ) |
completely removes the ellipsoid from the internal structures, there is no way to get it back
Definition at line 1574 of file ThreeDOut.cpp.
References mapEllipsoids_.
void ThreeDOut::RemoveImage | ( | const unsigned int & | EIndex | ) |
completely removes the image from the internal structures, there is no way to get it back
Definition at line 1589 of file ThreeDOut.cpp.
References mapImages_.
void ThreeDOut::RemoveLine | ( | const unsigned int & | LineIndex | ) |
completely removes the line from the internal structures, there is no way to get it back
Definition at line 1562 of file ThreeDOut.cpp.
References mapLines_.
void ThreeDOut::RemovePMatrix | ( | int | index | ) |
removes the P-matrix index, there is no way to get it back
Definition at line 1612 of file ThreeDOut.cpp.
References mapPMatrices_.
void ThreeDOut::RemovePoint | ( | const unsigned int & | PointIndex | ) |
completely removes the point from the internal structures, there is no way to get it back
Definition at line 1550 of file ThreeDOut.cpp.
References mapPoints_.
|
inlineinherited |
Definition at line 318 of file Debug.hh.
Referenced by BIAS::ShowCamWxVideoSourceFactory::CreateBumbleBee(), BIAS::ShowCamWxVideoSourceFactory::CreateDCAM(), BIAS::VideoSource_MDcam::ScanBus(), BIAS::GLProjectionParametersBase::SetDebugLevel(), BIAS::VideoSource_Disk::VideoSource_Disk(), BIAS::VideoSource_DV2::VideoSource_DV2(), BIAS::VideoSource_DV::VideoSource_DV_Internal_Init_(), and BIAS::VideoSource_V4L::VideoSource_V4L().
|
inlineinherited |
|
inlineinherited |
|
inlinestaticinherited |
void ThreeDOut::SetParams | ( | const ThreeDOutParameters & | params | ) |
Definition at line 209 of file ThreeDOut.cpp.
References Params_.
Referenced by ThreeDOut().
void ThreeDOut::SetParamsCameraScale | ( | double | cameraScale | ) |
Definition at line 225 of file ThreeDOut.cpp.
References BIAS::ThreeDOutParameters::CameraScale, and Params_.
void ThreeDOut::SetParamsCameraStyle | ( | CameraDrawingStyle | cameraStyle | ) |
Definition at line 231 of file ThreeDOut.cpp.
References BIAS::ThreeDOutParameters::CameraStyle, and Params_.
Referenced by BIAS::GenSynthMatches::CreateVRML_().
void ThreeDOut::SetParamsDrawCameraEllipse | ( | bool | drawEllipse | ) |
Definition at line 243 of file ThreeDOut.cpp.
References BIAS::ThreeDOutParameters::DrawCameraUncertaintyEllipsoids, and Params_.
void ThreeDOut::SetParamsDrawEllipse | ( | bool | drawEllipse | ) |
Definition at line 237 of file ThreeDOut.cpp.
References BIAS::ThreeDOutParameters::DrawUncertaintyEllipsoids, and Params_.
void ThreeDOut::SetParamsEllipsoidScale | ( | double | ellipsoidScale | ) |
Definition at line 249 of file ThreeDOut.cpp.
References BIAS::ThreeDOutParameters::EllipsoidScale, and Params_.
void ThreeDOut::SetParamsLineDrawingStyle | ( | const LineDrawingStyle | lineStyle | ) |
Definition at line 267 of file ThreeDOut.cpp.
References BIAS::ThreeDOutParameters::LineStyle, and Params_.
void ThreeDOut::SetParamsLineWidth | ( | const int | lineWidth | ) |
Definition at line 219 of file ThreeDOut.cpp.
References BIAS::ThreeDOutParameters::LineWidth, and Params_.
void ThreeDOut::SetParamsPointDrawingStyle | ( | const PointDrawingStyle | pointStyle | ) |
Definition at line 261 of file ThreeDOut.cpp.
References Params_, and BIAS::ThreeDOutParameters::PointStyle.
Referenced by BIAS::GenSynthMatches::CreateVRML_().
void ThreeDOut::SetParamsPointSize | ( | const double | pointSize | ) |
Definition at line 214 of file ThreeDOut.cpp.
References Params_, and BIAS::ThreeDOutParameters::PointSize.
Referenced by BIAS::GenSynthMatches::CreateVRML_().
void ThreeDOut::SetParamsWCSAxesLength | ( | double | WCSAxesLength | ) |
Definition at line 255 of file ThreeDOut.cpp.
References Params_, and BIAS::ThreeDOutParameters::WCSAxesLength.
void ThreeDOut::SetWriteViewpoints | ( | const bool & | val | ) |
write VRML viewpoint nodes for some P matrices ?
Definition at line 3878 of file ThreeDOut.cpp.
References WriteViewpoints_.
|
inlineinherited |
void ThreeDOut::Translation | ( | const Vector3< double > & | movement | ) |
transfers the whole scene by this offset
Definition at line 3934 of file ThreeDOut.cpp.
References mapCamEllipsoids_, mapEllipsoids_, mapImages_, mapIndexedFaceSet_, mapLines_, mapPMatrices_, mapPoints_, and mapProjection3D_.
void ThreeDOut::UpdateEllipsoid | ( | const unsigned int & | EIndex, |
BIAS::CovMatrix3x3 & | cov, | ||
BIAS::Vector3< double > & | C, | ||
const BIAS::RGBAuc & | Color = RGBAuc_WHITE_SEMI , |
||
const double & | dConfidenceRegionScale = DEF_P_SCALE |
||
) |
dConfidenceRegionScale | see Quadric3D.hh for the relationship between enlarging the standard confidence region and the probability that a measurement will be inside that region, 1.0 means sigma |
Definition at line 1504 of file ThreeDOut.cpp.
References BIAS::Ellipsoid3DData::C, BIAS::Ellipsoid3DData::Color, BIAS::Ellipsoid3DData::dAngle, BIAS::CovMatrix3x3::GetPCA(), BIAS::RMatrixBase::GetRotationAxisAngle(), BIAS::Matrix3x3< T >::GetRow(), BIAS::Greater(), BIAS::Matrix3x3< T >::IsZero(), mapEllipsoids_, BIAS::MatrixIdentity, BIAS::MatrixZero, BIAS::Ellipsoid3DData::RotAxis, BIAS::Ellipsoid3DData::s0, BIAS::Ellipsoid3DData::s1, BIAS::Ellipsoid3DData::s2, and BIAS::Matrix3x3< T >::Transpose().
Referenced by UpdateEllipsoid().
void ThreeDOut::UpdateEllipsoid | ( | const unsigned int & | EIndex, |
BIAS::CovMatrix3x3 & | cov, | ||
BIAS::HomgPoint3D & | C, | ||
const BIAS::RGBAuc & | Color = RGBAuc_WHITE_SEMI , |
||
const double & | dConfidenceRegionScale = DEF_P_SCALE |
||
) |
dConfidenceRegionScale | see Quadric3D.hh for the relationship between enlarging the standard confidence region and the probability that a measurement will be inside that region, 1.0 means sigma |
Definition at line 1537 of file ThreeDOut.cpp.
References BIAS::HomgPoint3D::IsHomogenized(), and UpdateEllipsoid().
void ThreeDOut::UpdateLine | ( | const unsigned int & | LineIndex, |
const BIAS::Vector3< double > & | Start, | ||
const BIAS::Vector3< double > & | End, | ||
const BIAS::RGBAuc & | Color = RGBAuc_WHITE_OPAQUE |
||
) |
LineIndex | value previously returned by AddLine |
Start | Start point of line |
End | End point of line |
Definition at line 1475 of file ThreeDOut.cpp.
References BIAS::Line3DData::Color, BIAS::Line3DData::End, mapLines_, and BIAS::Line3DData::Start.
Referenced by UpdateLine().
void ThreeDOut::UpdateLine | ( | const unsigned int & | LineIndex, |
const BIAS::HomgPoint3D & | Start, | ||
const BIAS::HomgPoint3D & | End, | ||
const BIAS::RGBAuc & | Color = RGBAuc_WHITE_OPAQUE |
||
) |
LineIndex | value previously returned by AddLine |
Start | Start point of line |
End | End point of line |
Definition at line 1489 of file ThreeDOut.cpp.
References BIAS::HomgPoint3D::IsHomogenized(), and UpdateLine().
void ThreeDOut::UpdatePMatrix | ( | const unsigned int & | PIndex, |
BIAS::PMatrix & | P, | ||
const unsigned int & | width, | ||
const unsigned int & | height, | ||
const BIAS::RGBAuc & | Color = RGBAuc_WHITE_OPAQUE , |
||
const double & | dScale = DEF_P_SCALE |
||
) |
PIndex | value previously returned by AddPMatrix |
Definition at line 1456 of file ThreeDOut.cpp.
References AddPMatrix(), and NextPIndex_.
void ThreeDOut::UpdatePMatrixColor | ( | const unsigned int & | PIndex, |
const BIAS::RGBAuc & | Color | ||
) |
PIndex | value previously returned by AddPMatrix |
Definition at line 1469 of file ThreeDOut.cpp.
References mapPMatrices_.
void ThreeDOut::UpdatePoint | ( | const unsigned int & | PointIndex, |
const BIAS::Vector3< double > & | v, | ||
const BIAS::RGBAuc & | Color = RGBAuc_WHITE_OPAQUE |
||
) |
PointIndex | value previously returned by AddPoint |
Definition at line 1427 of file ThreeDOut.cpp.
References BIAS::Point3DData::Color, mapPoints_, and BIAS::Point3DData::Point.
Referenced by UpdatePoint().
void ThreeDOut::UpdatePoint | ( | const unsigned int & | PointIndex, |
const BIAS::HomgPoint3D & | v, | ||
const BIAS::RGBAuc & | Color = RGBAuc_WHITE_OPAQUE |
||
) |
PointIndex | value previously returned by AddPoint |
Definition at line 1445 of file ThreeDOut.cpp.
References BIAS::HomgPoint3D::IsHomogenized(), and UpdatePoint().
void ThreeDOut::UpdatePointColor | ( | const unsigned int & | PointIndex, |
const BIAS::RGBAuc & | Color | ||
) |
PointIndex | value previously returned by AddPoint |
Definition at line 1439 of file ThreeDOut.cpp.
References mapPoints_.
int ThreeDOut::VRMLOut | ( | const std::string & | sFilename | ) |
flush all 3d objects to a vrml file with name sFilename, this is the function most users would call
Definition at line 3670 of file ThreeDOut.cpp.
References Params_, VRMLOutEllipsoids(), VRMLOutImages(), VRMLOutIndexedFaceSets(), VRMLOutLines(), VRMLOutPMatrices(), VRMLOutPoints(), VRMLOutProjection(), VRMLOutWCS(), VRMLOutWriteHeader(), VRMLOutWriteViewpoint(), BIAS::ThreeDOutParameters::WCSAxesLength, and WriteViewpoints_.
Referenced by BIAS::ImageBlender::BlendImages(), BIAS::ImageBlenderIncremental::BlendImages(), and BIAS::GenSynthMatches::CreateVRML_().
int ThreeDOut::VRMLOut | ( | const std::string & | sFilename, |
const BIAS::RGBAuc & | Color | ||
) |
flush all 3d objects to a vrml file with name sFilename, use Color as the color for all elements
Definition at line 3650 of file ThreeDOut.cpp.
References Params_, VRMLOutEllipsoids(), VRMLOutImages(), VRMLOutIndexedFaceSets(), VRMLOutLines(), VRMLOutPMatrices(), VRMLOutPoints(), VRMLOutWCS(), VRMLOutWriteHeader(), and BIAS::ThreeDOutParameters::WCSAxesLength.
|
protected |
Definition at line 3549 of file ThreeDOut.cpp.
References BIAS::Ellipsoid3DData::C, BIAS::Ellipsoid3DData::dAngle, BIAS::ThreeDOutParameters::EllipsoidScale, Params_, BIAS::Ellipsoid3DData::RotAxis, BIAS::Ellipsoid3DData::s0, BIAS::Ellipsoid3DData::s1, BIAS::Ellipsoid3DData::s2, and VRMLtransparency().
Referenced by VRMLOutEllipsoids(), and VRMLOutPMatrices().
int ThreeDOut::VRMLOutEllipsoids | ( | std::ostream & | vrml, |
const BIAS::RGBAuc & | Color | ||
) |
only write (previously stored) ellipsoids to an open vrml file, override their individual colors with Color
Definition at line 3575 of file ThreeDOut.cpp.
References mapEllipsoids_, and VRMLOutEllipsoid_().
Referenced by VRMLOut().
int ThreeDOut::VRMLOutEllipsoids | ( | std::ostream & | vrml | ) |
only write (previously stored) ellipsoids into an open vrml file
Definition at line 3618 of file ThreeDOut.cpp.
References BIAS::Ellipsoid3DData::C, BIAS::Ellipsoid3DData::Color, BIAS::Ellipsoid3DData::dAngle, BIAS::ThreeDOutParameters::EllipsoidScale, mapEllipsoids_, Params_, BIAS::Ellipsoid3DData::RotAxis, BIAS::Ellipsoid3DData::s0, BIAS::Ellipsoid3DData::s1, BIAS::Ellipsoid3DData::s2, and VRMLtransparency().
int ThreeDOut::VRMLOutImages | ( | std::ostream & | VRMLFile | ) |
only write (previously stored) images into an open vrml file
Definition at line 3335 of file ThreeDOut.cpp.
References CorrectDefString_(), mapImages_, BIAS::Vector3< T >::Normalize(), and BIAS::Vector3< T >::NormL2().
Referenced by VRMLOut().
int ThreeDOut::VRMLOutIndexedFaceSets | ( | std::ostream & | VRMLFile | ) |
only write (previously stored) face sets into an open vrml file Will include texture into VRML as PixelTexture node.
Definition at line 3203 of file ThreeDOut.cpp.
References CorrectDefString_(), mapIndexedFaceSet_, and BIAS::ImageIO::Save().
Referenced by VRMLOut().
int ThreeDOut::VRMLOutLines | ( | std::ostream & | vrml, |
const BIAS::RGBAuc & | Color | ||
) |
only write (previously stored) lines into an open vrml file, override their individual colors with Color
Definition at line 3072 of file ThreeDOut.cpp.
References BIAS::ThreeDOutParameters::LineStyle, BIAS::ThreeDOutParameters::LineWidth, mapLines_, Params_, and BIAS::Solid.
Referenced by VRMLOut().
int ThreeDOut::VRMLOutLines | ( | std::ostream & | vrml | ) |
only write (previously stored) points into an open vrml file
Definition at line 3502 of file ThreeDOut.cpp.
References BIAS::ThreeDOutParameters::LineStyle, BIAS::ThreeDOutParameters::LineWidth, mapLines_, Params_, BIAS::Solid, and VRMLtransparency().
int ThreeDOut::VRMLOutPMatrices | ( | std::ostream & | vrml, |
const BIAS::RGBAuc & | Color | ||
) |
only write (previously stored) cameras into an open vrml file, override their individual colors with Color
Definition at line 2751 of file ThreeDOut.cpp.
References BIAS::Arrow, BIAS::ThreeDOutParameters::CameraStyle, BIAS::ThreeDOutParameters::DrawCameraUncertaintyEllipsoids, mapCamEllipsoids_, Params_, BIAS::PyramidMesh, VRMLOutEllipsoid_(), VRMLOutPMatricesAsArrows_(), and VRMLOutPMatricesAsMesh_().
Referenced by VRMLOut().
int ThreeDOut::VRMLOutPMatrices | ( | std::ostream & | vrml | ) |
only write (previously stored) cameras into an open vrml file
Definition at line 3044 of file ThreeDOut.cpp.
References BIAS::PMatrix3DData::Color, BIAS::ThreeDOutParameters::DrawCameraUncertaintyEllipsoids, mapCamEllipsoids_, mapPMatrices_, Params_, VRMLOutEllipsoid_(), and VRMLOutPMatricesRoutine().
|
protected |
this is an optimized strategy to avoid hundred of shape nodes
Definition at line 2825 of file ThreeDOut.cpp.
References BIAS::PMatrix3DData::C, BIAS::ThreeDOutParameters::LineWidth, mapPMatrices_, Params_, BIAS::PMatrix3DData::PP, and BIAS::PMatrix3DData::Up.
Referenced by VRMLOutPMatrices().
|
protected |
Definition at line 2770 of file ThreeDOut.cpp.
References BIAS::PMatrix3DData::C, BIAS::ThreeDOutParameters::LineWidth, BIAS::PMatrix3DData::LL, BIAS::PMatrix3DData::LR, mapPMatrices_, Params_, BIAS::PMatrix3DData::UL, and BIAS::PMatrix3DData::UR.
Referenced by VRMLOutPMatrices().
int ThreeDOut::VRMLOutPMatricesRoutine | ( | std::ostream & | VRMLFile, |
const PMatrix3DData * | it, | ||
double | r = 255.0 , |
||
double | g = 255.0 , |
||
double | b = 255.0 , |
||
double | transparency = 0.0 , |
||
bool | CenterAsSphere = false |
||
) |
only write camera into an open vrml file
Definition at line 2871 of file ThreeDOut.cpp.
References BIAS::Arrow, BIAS::PMatrix3DData::C, BIAS::ThreeDOutParameters::CameraScale, BIAS::ThreeDOutParameters::CameraStyle, BIAS::PMatrix3DData::Color, CorrectDefString_(), BIAS::ThreeDOutParameters::LineWidth, BIAS::PMatrix3DData::LL, BIAS::PMatrix3DData::LR, BIAS::PMatrix3DData::name, Params_, BIAS::PMatrix3DData::PP, BIAS::PyramidMesh, BIAS::PyramidMeshWithArrow, BIAS::PyramidSolid, BIAS::PMatrix3DData::UL, BIAS::PMatrix3DData::UR, and VRMLtransparency().
Referenced by VRMLOutPMatrices().
int ThreeDOut::VRMLOutPoints | ( | std::ostream & | vrml, |
const BIAS::RGBAuc & | Color | ||
) |
only write (previously stored) points into an open vrml file, override their individual colors with Color
Definition at line 2533 of file ThreeDOut.cpp.
References mapPoints_.
Referenced by VRMLOut().
int ThreeDOut::VRMLOutPoints | ( | std::ostream & | vrml | ) |
only write (previously stored) points into an open vrml file
Definition at line 2731 of file ThreeDOut.cpp.
References BIAS::Box, mapPoints_, Params_, BIAS::Point, BIAS::PointSprite, BIAS::ThreeDOutParameters::PointStyle, BIAS::Sphere, VRMLOutPointsAsBoxes_(), VRMLOutPointsAsPointSet_(), and VRMLOutPointsAsSpheres_().
|
protected |
Definition at line 2609 of file ThreeDOut.cpp.
References BIAS::Point3DData::Color, mapPoints_, Params_, BIAS::Point3DData::Point, and BIAS::ThreeDOutParameters::PointSize.
Referenced by VRMLOutPoints().
|
protected |
Definition at line 2545 of file ThreeDOut.cpp.
References BIAS::Point3DData::Color, mapPoints_, and BIAS::Point3DData::Point.
Referenced by VRMLOutPoints().
|
protected |
Definition at line 3587 of file ThreeDOut.cpp.
References BIAS::Point3DData::Color, mapPoints_, Params_, BIAS::Point3DData::Point, BIAS::ThreeDOutParameters::PointSize, and VRMLtransparency().
Referenced by VRMLOutPoints().
int ThreeDOut::VRMLOutProjection | ( | std::ostream & | VRMLFile | ) |
only write previously stored projection objects into opened vrml file.
VIEWPORT PART, DUE TO BE IMPLEMENTED
VIEWPORT PART, DUE TO BE IMPLEMENTED
Definition at line 3108 of file ThreeDOut.cpp.
References BIAS::ThreeDOutParameters::CameraStyle, CoordinateSystem(), mapProjection3D_, Params_, BIAS::PyramidMesh, BIAS::PyramidMeshWithArrow, BIAS::PyramidSolid, VRMLOutViewPortConical(), and VRMLOutViewPortPyramidal().
Referenced by VRMLOut().
int BIAS::ThreeDOut::VRMLOutProjectionView | ( | std::ostream & | VRMLFile | ) |
only write previously stored projectionview objects into opened vrml file.
|
protected |
Write a projection of a NON-PERSPECTIVE camera into VRML.
VRMLFile | destination, writes to an end of the file |
selectionRadius | length of a side of the cone(s) |
angle | maximum angle of the camera-view |
scale | scale of the projection |
solid | true if Style = PyramidSolid |
Definition at line 564 of file ThreeDOut.cpp.
References PaintCone().
Referenced by VRMLOutProjection().
|
protected |
Write a projection of a PERSPECTIVE camera into VRML.
VRMLFile | destination, writes to an end of the file |
selectionRadius | length of an edge of the pyramid(s) |
angle | maximum angle of the camera-view |
ratio | width-of-the-projection/height-of-the-projection |
scale | scale of the projection |
solid | true if Style = PyramidSolid |
Definition at line 530 of file ThreeDOut.cpp.
References PaintPyramid().
Referenced by VRMLOutProjection().
void ThreeDOut::VRMLOutWCS | ( | std::ostream & | vrml | ) |
write world coordinate system origin and axes
Definition at line 1622 of file ThreeDOut.cpp.
References CoordinateSystem(), Params_, and BIAS::ThreeDOutParameters::WCSAxesLength.
Referenced by VRMLOut().
int ThreeDOut::VRMLOutWriteHeader | ( | std::ostream & | vrml | ) |
write the VRML 2.0 header into an open file
Definition at line 3696 of file ThreeDOut.cpp.
Referenced by VRMLOut().
void ThreeDOut::VRMLOutWriteNavigationInfo | ( | std::ostream & | vrml | ) |
write VRML 2.0 navigation info node
Definition at line 3883 of file ThreeDOut.cpp.
Referenced by VRMLOutWriteViewpoint().
void ThreeDOut::VRMLOutWriteViewpoint | ( | std::ostream & | vrml | ) |
write VRMl 2.0 viewpoint that can selecetd in vrml viewer
Definition at line 3894 of file ThreeDOut.cpp.
References BIAS::PMatrix3DData::C, BIAS::Vector3< T >::Length(), mapPMatrices_, BIAS::PMatrix3DData::PP, BIAS::Vector3< T >::ScalarProduct(), BIAS::PMatrix3DData::UL, BIAS::PMatrix3DData::UR, and VRMLOutWriteNavigationInfo().
Referenced by VRMLOut().
|
static |
get alpha opacity value as VRML transparency helper mapping, usually transparency = (1-alpha)
Definition at line 3867 of file ThreeDOut.cpp.
Referenced by VRMLOutEllipsoid_(), VRMLOutEllipsoids(), VRMLOutLines(), VRMLOutPMatricesRoutine(), VRMLOutPointsAsSpheres_(), and VRMLtransparency().
|
static |
get alpha opacity component as VRML transparency g
Definition at line 3873 of file ThreeDOut.cpp.
References VRMLtransparency().
|
inlinevirtual |
Generic write method (wrapper for VRMLOut).
Reimplemented in BIAS::ThreeDOutOpenSceneGraph.
Definition at line 766 of file ThreeDOut.hh.
|
protectedinherited |
Definition at line 510 of file Debug.hh.
Referenced by BIAS::Debug::operator=(), and BIAS::ImageBase::operator=().
|
protectedinherited |
new concept, debuglevel are managed here in the debug class
Definition at line 516 of file Debug.hh.
Referenced by BIAS::Debug::operator=().
|
protectedinherited |
Definition at line 517 of file Debug.hh.
Referenced by BIAS::Debug::operator=().
|
staticprotectedinherited |
Definition at line 511 of file Debug.hh.
Referenced by BIAS::Debug::operator=().
|
protected |
Definition at line 914 of file ThreeDOut.hh.
|
staticprotectedinherited |
|
protected |
map of all ellipsoid structures
Definition at line 1014 of file ThreeDOut.hh.
Referenced by AddEllipsoid(), BIAS::ThreeDOutOpenSceneGraph::AddOSGEllipsoids_(), GetBoundingBox(), OpenGLOutPMatrices_(), RemoveAllCamEllipsoids(), Translation(), and VRMLOutPMatrices().
|
protected |
map of all ellipsoid structures
Definition at line 1009 of file ThreeDOut.hh.
Referenced by AddEllipsoid(), BIAS::ThreeDOutOpenSceneGraph::AddOSGEllipsoids_(), Dump(), GetBoundingBox(), OpenGLOutEllipsoids(), RemoveAllEllipsoids(), RemoveEllipsoid(), Translation(), UpdateEllipsoid(), and VRMLOutEllipsoids().
|
protected |
map of all image structures
Definition at line 989 of file ThreeDOut.hh.
Referenced by AddImage(), BIAS::ThreeDOutOpenSceneGraph::AddOSGImage_(), GetBoundingBox(), OpenGLOutImages(), RemoveAllImages(), RemoveImage(), Translation(), and VRMLOutImages().
|
protected |
Definition at line 1018 of file ThreeDOut.hh.
Referenced by BIAS::ThreeDOutOpenSceneGraph::AddOSGIndexedFaceSets_(), AddTriangleMesh(), GetBoundingBox(), OpenGLOutIndexedFaceSets(), RemoveAllIndexedFaceSets(), Translation(), and VRMLOutIndexedFaceSets().
|
protected |
map of all line structures
Definition at line 1004 of file ThreeDOut.hh.
Referenced by AddLine(), BIAS::ThreeDOutOpenSceneGraph::AddOSGLines_(), Dump(), GetBoundingBox(), OpenGLOutLines(), RemoveAllLines(), RemoveLine(), Translation(), UpdateLine(), and VRMLOutLines().
|
protected |
the cameras are saved in a vector for efficiency reasons
Definition at line 984 of file ThreeDOut.hh.
Referenced by BIAS::ThreeDOutOpenSceneGraph::AddOSGPMatrix_(), AddPMatrix(), Dump(), GetBoundingBox(), OpenGLOutPMatrices_(), RemoveAllPMatrices(), RemovePMatrix(), Translation(), UpdatePMatrixColor(), VRMLOutPMatrices(), VRMLOutPMatricesAsArrows_(), VRMLOutPMatricesAsMesh_(), and VRMLOutWriteViewpoint().
|
protected |
map of all point structures
Definition at line 994 of file ThreeDOut.hh.
Referenced by BIAS::ThreeDOutOpenSceneGraph::AddOSGPoints_(), AddPoint(), Dump(), GetBoundingBox(), GetCenterOfPoints(), OpenGLOutPoints(), RemoveAllPoints(), RemovePoint(), Translation(), UpdatePoint(), UpdatePointColor(), VRMLOutPoints(), VRMLOutPointsAsBoxes_(), VRMLOutPointsAsPointSet_(), and VRMLOutPointsAsSpheres_().
|
protected |
Definition at line 1021 of file ThreeDOut.hh.
Referenced by AddPose(), AddProjection(), Translation(), and VRMLOutProjection().
|
protected |
map of all point structures
Definition at line 999 of file ThreeDOut.hh.
Referenced by BIAS::ThreeDOutOpenSceneGraph::AddOSGTexts_(), and AddText().
|
protected |
Definition at line 1026 of file ThreeDOut.hh.
|
protected |
counter for the next ellipsoid index, gaps are not reused by now
Definition at line 1016 of file ThreeDOut.hh.
Referenced by AddEllipsoid(), and ThreeDOut().
|
protected |
counter for the next ellipsoid index, gaps are not reused by now
Definition at line 1011 of file ThreeDOut.hh.
Referenced by AddEllipsoid(), and ThreeDOut().
|
protected |
counter for the next index, gaps (due to delete) are not reused by now
Definition at line 991 of file ThreeDOut.hh.
Referenced by AddImage(), and ThreeDOut().
|
protected |
Definition at line 1019 of file ThreeDOut.hh.
Referenced by AddTriangleMesh(), RemoveAllIndexedFaceSets(), and ThreeDOut().
|
protected |
counter for the next line index, gaps (due to delete) arent reused
Definition at line 1006 of file ThreeDOut.hh.
Referenced by AddLine(), and ThreeDOut().
|
protected |
counter for the next index, gaps (due to delete) are not reused by now
Definition at line 986 of file ThreeDOut.hh.
Referenced by AddPMatrix(), ThreeDOut(), and UpdatePMatrix().
|
protected |
counter for the next index, gaps (due to delete) are not reused by now
Definition at line 996 of file ThreeDOut.hh.
Referenced by AddPoint(), and ThreeDOut().
|
protected |
Definition at line 1022 of file ThreeDOut.hh.
Referenced by AddPose(), and AddProjection().
|
protected |
counter for the next index, gaps (due to delete) are not reused by now
Definition at line 1001 of file ThreeDOut.hh.
Referenced by AddText(), and ThreeDOut().
|
protected |
holds the params set by constructor or SetParams
Definition at line 981 of file ThreeDOut.hh.
Referenced by BIAS::ThreeDOutOpenSceneGraph::AddOSGEllipsoids_(), BIAS::ThreeDOutOpenSceneGraph::AddOSGLines_(), BIAS::ThreeDOutOpenSceneGraph::AddOSGPMatrix_(), BIAS::ThreeDOutOpenSceneGraph::AddOSGPoints_(), OpenGLOut(), OpenGLOutEllipsoids(), OpenGLOutIndexedFaceSets(), OpenGLOutLines(), OpenGLOutPMatrices_(), OpenGLOutPoints(), OpenGLOutWCS(), SetParams(), SetParamsCameraScale(), SetParamsCameraStyle(), SetParamsDrawCameraEllipse(), SetParamsDrawEllipse(), SetParamsEllipsoidScale(), SetParamsLineDrawingStyle(), SetParamsLineWidth(), SetParamsPointDrawingStyle(), SetParamsPointSize(), SetParamsWCSAxesLength(), VRMLOut(), VRMLOutEllipsoid_(), VRMLOutEllipsoids(), VRMLOutLines(), VRMLOutPMatrices(), VRMLOutPMatricesAsArrows_(), VRMLOutPMatricesAsMesh_(), VRMLOutPMatricesRoutine(), VRMLOutPoints(), VRMLOutPointsAsBoxes_(), VRMLOutPointsAsSpheres_(), VRMLOutProjection(), and VRMLOutWCS().
bool BIAS::ThreeDOut::visualize_viewports |
Definition at line 355 of file ThreeDOut.hh.
Referenced by ThreeDOut().
|
protected |
Definition at line 1024 of file ThreeDOut.hh.
Referenced by SetWriteViewpoints(), ThreeDOut(), and VRMLOut().