Basic Image AlgorithmS Library
2.8.0
|
a class for exporting ThreeDOut objects to OSG scene graphs More...
#include <GLviewer/ThreeDOutOpenSceneGraph.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... | |
int | GetOpenSceneGraph (osg::ref_ptr< osg::Group > &sg, bool exporttextures=false) const |
Get ThreeDOut object as OpenSceneGraph structure. 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... | |
int | OpenSceneGraphOut (const std::string &filename) const |
save ThreeDOut object as OpenSceneGraph saves an Open Scene Graph and the needed textures 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 | SetImageFileExtension (std::string ext) |
Set the file extension and type of the saved textures. More... | |
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... | |
ThreeDOutOpenSceneGraph (const BIAS::ThreeDOutParameters ¶ms=BIAS::ThreeDOutParameters()) | |
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 OpenSceneGraphOut). More... | |
virtual | ~ThreeDOutOpenSceneGraph () |
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 | |
void | AddOSGEllipsoids_ (osg::ref_ptr< osg::Group > &rootNode, bool camEllipsoids=false) const |
void | AddOSGImage_ (osg::ref_ptr< osg::Group > &Rootnode, bool exportTextures, std::string graphfilename) const |
osg::Node * | AddOSGIndexedFaceSets_ (bool exporttextures, std::string graphfilename) const |
create one transform (IndexedFaceSets), add another transform for each indexed face set, then convert all indexed face-set data from ThreeDOut More... | |
void | AddOSGLines_ (osg::ref_ptr< osg::Group > &Rootnode) const |
void | AddOSGPMatrix_ (osg::ref_ptr< osg::Group > &rootNode) const |
void | AddOSGPoints_ (osg::ref_ptr< osg::Group > &Rootnode) const |
void | AddOSGTexts_ (osg::ref_ptr< osg::Group > &Rootnode) const |
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) |
std::string | GenerateFilename_ (std::string graphfilename, std::string subname, unsigned int texnumber) const |
int | GetSceneGraph_ (osg::ref_ptr< osg::Group > &sg, bool exporttextures, const std::string &filename) const |
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... | |
std::string | TexImgExtension_ |
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 | AddPoint (const BIAS::HomgPoint3D &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 | 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... | |
a class for exporting ThreeDOut objects to OSG scene graphs
Definition at line 25 of file ThreeDOutOpenSceneGraph.hh.
ThreeDOutOpenSceneGraph::ThreeDOutOpenSceneGraph | ( | const BIAS::ThreeDOutParameters & | params = BIAS::ThreeDOutParameters() | ) |
Definition at line 45 of file ThreeDOutOpenSceneGraph.cpp.
References BIAS::Debug::NewDebugLevel(), and TexImgExtension_.
|
virtual |
Definition at line 53 of file ThreeDOutOpenSceneGraph.cpp.
|
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 |
|
inherited |
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(), BIAS::ThreeDOut::mapCamEllipsoids_, BIAS::ThreeDOut::mapEllipsoids_, BIAS::MatrixIdentity, BIAS::MatrixZero, BIAS::ThreeDOut::NextCamEllipsoidIndex_, BIAS::ThreeDOut::NextEllipsoidIndex_, BIAS::Ellipsoid3DData::RotAxis, BIAS::Ellipsoid3DData::s0, BIAS::Ellipsoid3DData::s1, BIAS::Ellipsoid3DData::s2, and BIAS::Matrix3x3< T >::Transpose().
Referenced by BIAS::ThreeDOut::AddEllipsoid().
|
inherited |
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 BIAS::ThreeDOut::AddEllipsoid(), and BIAS::HomgPoint3D::IsHomogenized().
|
inlineinherited |
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.
|
inherited |
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, BIAS::ThreeDOut::CorrectDefString_(), BIAS::Image< StorageType >::GetImageDataArray(), BIAS::Image3DData::ImageData, BIAS::Image< StorageType >::Init(), BIAS::ImageBase::IsEmpty(), BIAS::Image3DData::LL, BIAS::Image3DData::LR, BIAS::ThreeDOut::mapImages_, BIAS::Image3DData::name, BIAS::ThreeDOut::NextImageIndex_, BIAS::Image< StorageType >::Release(), BIAS::ImageBase::SetROI(), BIAS::Image3DData::UL, and BIAS::Image3DData::UR.
|
inherited |
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, BIAS::ThreeDOut::mapLines_, BIAS::ThreeDOut::NextLineIndex_, and BIAS::Line3DData::Start.
Referenced by BIAS::ThreeDOut::AddLine(), BIAS::ThreeDOut::AddPlane(), and BIAS::ThreeDOut::AddProjection().
|
inherited |
Start | Start point of line |
End | End point of line |
Definition at line 769 of file ThreeDOut.cpp.
References BIAS::ThreeDOut::AddLine(), and BIAS::HomgPoint3D::IsHomogenized().
|
protected |
Definition at line 441 of file ThreeDOutOpenSceneGraph.cpp.
References BIAS::ThreeDOutParameters::EllipsoidScale, BIAS::ThreeDOut::mapCamEllipsoids_, BIAS::ThreeDOut::mapEllipsoids_, and BIAS::ThreeDOut::Params_.
Referenced by AddOSGPMatrix_(), and GetSceneGraph_().
|
protected |
Definition at line 763 of file ThreeDOutOpenSceneGraph.cpp.
References BIAS::OpenSceneGraphHelper::BIASimageToOSGimage(), GenerateFilename_(), BIAS::ThreeDOut::mapImages_, BIAS::Vector3< T >::MultIP(), and BIAS::ImageIO::Save().
Referenced by GetSceneGraph_().
|
protected |
create one transform (IndexedFaceSets), add another transform for each indexed face set, then convert all indexed face-set data from ThreeDOut
Definition at line 145 of file ThreeDOutOpenSceneGraph.cpp.
References BIAS::OpenSceneGraphHelper::BIASimageToOSGimage(), GenerateFilename_(), and BIAS::ThreeDOut::mapIndexedFaceSet_.
Referenced by GetSceneGraph_().
|
protected |
Definition at line 373 of file ThreeDOutOpenSceneGraph.cpp.
References BIAS::Dashed, BIAS::ThreeDOutParameters::LineStyle, BIAS::ThreeDOutParameters::LineWidth, BIAS::ThreeDOut::mapLines_, and BIAS::ThreeDOut::Params_.
Referenced by GetSceneGraph_().
|
protected |
Definition at line 566 of file ThreeDOutOpenSceneGraph.cpp.
References AddOSGEllipsoids_(), BIAS::Arrow, BIAS::PMatrix3DData::C, BIAS::ThreeDOutParameters::CameraScale, BIAS::ThreeDOutParameters::CameraStyle, BIAS::PMatrix3DData::Color, BIAS::Dashed, BIAS::ThreeDOutParameters::LineStyle, BIAS::ThreeDOutParameters::LineWidth, BIAS::PMatrix3DData::LL, BIAS::PMatrix3DData::LR, BIAS::ThreeDOut::mapPMatrices_, BIAS::PMatrix3DData::name, BIAS::ThreeDOut::Params_, BIAS::ThreeDOutParameters::PointSize, BIAS::PMatrix3DData::PP, BIAS::PyramidMesh, BIAS::PyramidMeshWithArrow, BIAS::PyramidSolid, BIAS::PyramidWithCenterBox, BIAS::PMatrix3DData::UL, BIAS::PMatrix3DData::Up, and BIAS::PMatrix3DData::UR.
Referenced by GetSceneGraph_().
|
protected |
Definition at line 505 of file ThreeDOutOpenSceneGraph.cpp.
References BIAS::ThreeDOut::mapPoints_, BIAS::ThreeDOut::Params_, BIAS::Point, BIAS::ThreeDOutParameters::PointSize, and BIAS::ThreeDOutParameters::PointStyle.
Referenced by GetSceneGraph_().
|
protected |
Definition at line 894 of file ThreeDOutOpenSceneGraph.cpp.
References BIAS::ThreeDOut::mapTexts_.
Referenced by GetSceneGraph_().
|
inherited |
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 BIAS::ThreeDOut::AddLine(), BIAS::ThreeDOut::AddTriangleMesh(), BIAS::ThreeDOut::ComputePlaneCorners(), BIAS::HomgPlane3D::GetNormalVector(), and BIAS::TriangleMesh::SetMesh().
|
inherited |
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, BIAS::ThreeDOut::CorrectDefString_(), BIAS::PMatrix::GetA(), BIAS::PMatrix::GetC(), BIAS::PMatrix::GetK(), BIAS::PMatrix::GetR(), BIAS::PMatrix3DData::LL, BIAS::PMatrix3DData::LR, BIAS::ThreeDOut::mapPMatrices_, BIAS::Matrix3x3< T >::Mult(), BIAS::PMatrix3DData::name, BIAS::ThreeDOut::NextPIndex_, BIAS::PMatrix3DData::PP, BIAS::Vector3< T >::ScalarProduct(), BIAS::Matrix3x3< T >::Transpose(), BIAS::PMatrix3DData::UL, BIAS::PMatrix3DData::Up, and BIAS::PMatrix3DData::UR.
Referenced by BIAS::ThreeDOut::AddPMatrix(), BIAS::GenSynthMatches::CreateVRML_(), and BIAS::ThreeDOut::UpdatePMatrix().
|
inherited |
interface for the above
Definition at line 1012 of file ThreeDOut.cpp.
References BIAS::ThreeDOut::AddPMatrix().
|
inherited |
v | point coordinates |
Definition at line 719 of file ThreeDOut.cpp.
References BIAS::Point3DData::Color, BIAS::ThreeDOut::mapPoints_, BIAS::ThreeDOut::NextPointIndex_, and BIAS::Point3DData::Point.
Referenced by BIAS::ThreeDOut::AddPoint(), and BIAS::GenSynthMatches::CreateVRML_().
|
inherited |
v | point coordinates |
Definition at line 729 of file ThreeDOut.cpp.
References BIAS::ThreeDOut::AddPoint(), and BIAS::HomgPoint3D::IsHomogenized().
|
inherited |
Definition at line 1407 of file ThreeDOut.cpp.
References BIAS::Projection3DData::ColorOfSelection, BIAS::ThreeDOut::mapProjection3D_, BIAS::ThreeDOut::NextProjection3DIndex_, BIAS::Projection3DData::radiusSelection, BIAS::Projection3DData::Set(), and BIAS::Projection3DData::type.
Referenced by BIAS::GenSynthMatches::CreateVRML_().
|
inherited |
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 BIAS::ThreeDOut::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, BIAS::ThreeDOut::mapProjection3D_, BIAS::ThreeDOut::NextProjection3DIndex_, BIAS::Projection3DData::radiusSelection, BIAS::Projection3DData::scale, BIAS::Projection3DData::Set(), BIAS::RMatrixBase::SetFromQuaternion(), BIAS::Projection::Size(), and BIAS::Projection3DData::type.
|
inlineinherited |
interface for above
Definition at line 573 of file ThreeDOut.hh.
|
inherited |
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, BIAS::ThreeDOut::mapTexts_, BIAS::ThreeDOut::NextTextIndex_, BIAS::Text3DData::Position, BIAS::Text3DData::Size, and BIAS::Text3DData::Text.
|
inherited |
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, BIAS::ThreeDOut::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(), BIAS::ThreeDOut::mapIndexedFaceSet_, BIAS::IndexedFaceSet::name, BIAS::ThreeDOut::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 BIAS::ThreeDOut::AddPlane(), BIAS::ImageBlender::BlendImages(), and BIAS::ImageBlenderIncremental::BlendImages().
|
staticinherited |
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 BIAS::ThreeDOut::AddPlane().
|
inlineprotectedinherited |
|
protectedinherited |
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 BIAS::ThreeDOut::CorrectDefString_().
Referenced by BIAS::ThreeDOut::VRMLOutProjection(), and BIAS::ThreeDOut::VRMLOutWCS().
|
protectedinherited |
replace invalid characters in def string and return corrected
Definition at line 273 of file ThreeDOut.cpp.
Referenced by BIAS::ThreeDOut::AddImage(), BIAS::ThreeDOut::AddPMatrix(), BIAS::ThreeDOut::AddTriangleMesh(), BIAS::ThreeDOut::CoordinateSystem(), BIAS::ThreeDOut::PaintCone(), BIAS::ThreeDOut::PaintPyramid(), BIAS::ThreeDOut::VRMLOutImages(), BIAS::ThreeDOut::VRMLOutIndexedFaceSets(), and BIAS::ThreeDOut::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 |
|
protectedinherited |
Definition at line 2502 of file ThreeDOut.cpp.
Referenced by BIAS::ThreeDOut::OpenGLOutPoints().
|
inherited |
list all internal 3d objects on cout
Definition at line 3706 of file ThreeDOut.cpp.
References BIAS::ThreeDOut::mapEllipsoids_, BIAS::ThreeDOut::mapLines_, BIAS::ThreeDOut::mapPMatrices_, and BIAS::ThreeDOut::mapPoints_.
|
protected |
Definition at line 354 of file ThreeDOutOpenSceneGraph.cpp.
References BIAS::FileHandling::SplitName(), and TexImgExtension_.
Referenced by AddOSGImage_(), and AddOSGIndexedFaceSets_().
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 BIAS::ThreeDOut::mapCamEllipsoids_, BIAS::ThreeDOut::mapEllipsoids_, BIAS::ThreeDOut::mapImages_, BIAS::ThreeDOut::mapIndexedFaceSet_, BIAS::ThreeDOut::mapLines_, BIAS::ThreeDOut::mapPMatrices_, and BIAS::ThreeDOut::mapPoints_.
|
inherited |
get center of gravity (mean of structure)
Definition at line 3740 of file ThreeDOut.cpp.
References BIAS::ThreeDOut::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 |
|
inlineinherited |
call by reference accessor for data member mapPMatrices_ JW
Definition at line 853 of file ThreeDOut.hh.
int ThreeDOutOpenSceneGraph::GetOpenSceneGraph | ( | osg::ref_ptr< osg::Group > & | sg, |
bool | exporttextures = false |
||
) | const |
Get ThreeDOut object as OpenSceneGraph structure.
sg | an empty ref_ptr after calling GetOpenSceneGraph sg points to the scene graph structure |
Definition at line 111 of file ThreeDOutOpenSceneGraph.cpp.
References GetSceneGraph_().
|
protected |
Definition at line 118 of file ThreeDOutOpenSceneGraph.cpp.
References AddOSGEllipsoids_(), AddOSGImage_(), AddOSGIndexedFaceSets_(), AddOSGLines_(), AddOSGPMatrix_(), AddOSGPoints_(), and AddOSGTexts_().
Referenced by GetOpenSceneGraph(), and OpenSceneGraphOut().
|
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(), ThreeDOutOpenSceneGraph(), BIAS::Triangulation::Triangulation(), and BIAS::UnscentedTransform::UnscentedTransform().
|
inherited |
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, BIAS::ThreeDOut::OpenGLOutEllipsoids(), BIAS::ThreeDOut::OpenGLOutImages(), BIAS::ThreeDOut::OpenGLOutIndexedFaceSets(), BIAS::ThreeDOut::OpenGLOutLines(), BIAS::ThreeDOut::OpenGLOutPMatrices(), BIAS::ThreeDOut::OpenGLOutPoints(), BIAS::ThreeDOut::OpenGLOutWCS(), BIAS::ThreeDOut::Params_, and BIAS::ThreeDOutParameters::WCSAxesLength.
|
inherited |
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, BIAS::ThreeDOut::OpenGLOutEllipsoids(), BIAS::ThreeDOut::OpenGLOutImages(), BIAS::ThreeDOut::OpenGLOutIndexedFaceSets(), BIAS::ThreeDOut::OpenGLOutLines(), BIAS::ThreeDOut::OpenGLOutPMatrices(), BIAS::ThreeDOut::OpenGLOutPoints(), BIAS::ThreeDOut::OpenGLOutWCS(), BIAS::ThreeDOut::Params_, and BIAS::ThreeDOutParameters::WCSAxesLength.
|
inherited |
draw all ellipsoids with the same color:
Definition at line 2330 of file ThreeDOut.cpp.
References BIAS::ThreeDOutParameters::EllipsoidScale, BIAS::Vector4< T >::GetData(), BIAS::ThreeDOut::mapEllipsoids_, and BIAS::ThreeDOut::Params_.
|
inherited |
draw all ellipsoids with their own color:
Definition at line 2361 of file ThreeDOut.cpp.
References BIAS::ThreeDOutParameters::EllipsoidScale, BIAS::ThreeDOut::mapEllipsoids_, and BIAS::ThreeDOut::Params_.
Referenced by BIAS::ThreeDOut::OpenGLOut().
|
inherited |
draw all image patches using OpenGL
disableBlending | true to glDisbale(GL_BLEND) temporarily |
Definition at line 2038 of file ThreeDOut.cpp.
References BIAS::ThreeDOut::mapImages_.
Referenced by BIAS::ThreeDOut::OpenGLOut().
|
inherited |
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(), BIAS::ThreeDOut::mapIndexedFaceSet_, BIAS::ImageBase::PadToPowerOfTwo(), BIAS::ThreeDOut::Params_, and BIAS::ImageBase::SetColorModel().
Referenced by BIAS::ThreeDOut::OpenGLOut().
|
inherited |
draw all lines with the same color:
Definition at line 2292 of file ThreeDOut.cpp.
References BIAS::Vector4< T >::GetData(), BIAS::ThreeDOutParameters::LineWidth, BIAS::ThreeDOut::mapLines_, and BIAS::ThreeDOut::Params_.
|
inherited |
draw all pmatrices with their own color
Definition at line 2310 of file ThreeDOut.cpp.
References BIAS::ThreeDOutParameters::LineWidth, BIAS::ThreeDOut::mapLines_, and BIAS::ThreeDOut::Params_.
Referenced by BIAS::ThreeDOut::OpenGLOut().
|
inherited |
draw all pmatrices with the same color:
Definition at line 2028 of file ThreeDOut.cpp.
References BIAS::ThreeDOut::OpenGLOutPMatrices_().
|
inherited |
draw all pmatrices with their own color:
Definition at line 2032 of file ThreeDOut.cpp.
References BIAS::ThreeDOut::OpenGLOutPMatrices_().
Referenced by BIAS::ThreeDOut::OpenGLOut().
|
protectedinherited |
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, BIAS::ThreeDOut::mapCamEllipsoids_, BIAS::ThreeDOut::mapPMatrices_, BIAS::ThreeDOut::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 BIAS::ThreeDOut::OpenGLOutPMatrices().
|
inherited |
draw all points with the same color:
Definition at line 1690 of file ThreeDOut.cpp.
References BIAS::Box, BIAS::ThreeDOut::DrawSphere_(), BIAS::Vector4< T >::GetData(), BIAS::ThreeDOut::mapPoints_, BIAS::ThreeDOut::Params_, BIAS::Point, BIAS::ThreeDOutParameters::PointSize, BIAS::PointSprite, BIAS::ThreeDOutParameters::PointStyle, and BIAS::Sphere.
|
inherited |
draw all points with their own color:
Definition at line 1724 of file ThreeDOut.cpp.
References BIAS::Box, BIAS::ThreeDOut::DrawSphere_(), BIAS::ThreeDOut::mapPoints_, BIAS::ThreeDOut::Params_, BIAS::Point, BIAS::ThreeDOutParameters::PointSize, BIAS::PointSprite, BIAS::ThreeDOutParameters::PointStyle, and BIAS::Sphere.
Referenced by BIAS::ThreeDOut::OpenGLOut().
|
inherited |
display the world coordinate system origin and axes
Definition at line 1631 of file ThreeDOut.cpp.
References BIAS::DrawTextGL::InitFont(), BIAS::ThreeDOut::Params_, BIAS::DrawTextGL::Print3D(), and BIAS::ThreeDOutParameters::WCSAxesLength.
Referenced by BIAS::ThreeDOut::OpenGLOut().
int ThreeDOutOpenSceneGraph::OpenSceneGraphOut | ( | const std::string & | filename | ) | const |
save ThreeDOut object as OpenSceneGraph saves an Open Scene Graph and the needed textures
filename | filename of scene graph (XXXX.osg or XXXXXXX.ive) OpenScenegraphOut() saves the textures contained in ThreeDOut to disk, since they can't be embedded in .osg-files. the filename will be used as prefix for the texture file names. In case of saving an osg binary format file (.ive) the textures will be included in this file. |
Definition at line 57 of file ThreeDOutOpenSceneGraph.cpp.
References GetSceneGraph_(), and BIAS::FileHandling::SplitName().
|
protectedinherited |
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 BIAS::ThreeDOut::CorrectDefString_().
Referenced by BIAS::ThreeDOut::VRMLOutViewPortConical().
|
protectedinherited |
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 BIAS::ThreeDOut::CorrectDefString_().
Referenced by BIAS::ThreeDOut::VRMLOutViewPortPyramidal().
|
inlineinherited |
|
inherited |
removes all entites Essentially a clear on each entityt container.
Definition at line 3855 of file ThreeDOut.cpp.
References BIAS::ThreeDOut::RemoveAllCamEllipsoids(), BIAS::ThreeDOut::RemoveAllEllipsoids(), BIAS::ThreeDOut::RemoveAllImages(), BIAS::ThreeDOut::RemoveAllIndexedFaceSets(), BIAS::ThreeDOut::RemoveAllLines(), BIAS::ThreeDOut::RemoveAllPMatrices(), and BIAS::ThreeDOut::RemoveAllPoints().
|
inherited |
Definition at line 1585 of file ThreeDOut.cpp.
References BIAS::ThreeDOut::mapCamEllipsoids_.
Referenced by BIAS::ThreeDOut::RemoveAll().
|
inherited |
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 BIAS::ThreeDOut::mapEllipsoids_.
Referenced by BIAS::ThreeDOut::RemoveAll().
|
inherited |
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 BIAS::ThreeDOut::mapImages_.
Referenced by BIAS::ThreeDOut::RemoveAll().
|
inherited |
Definition at line 1596 of file ThreeDOut.cpp.
References BIAS::ThreeDOut::mapIndexedFaceSet_, and BIAS::ThreeDOut::NextIndexedFaceSetIndex_.
Referenced by BIAS::ThreeDOut::RemoveAll().
|
inherited |
completely removes all lines from the internal structures JW
Definition at line 1569 of file ThreeDOut.cpp.
References BIAS::ThreeDOut::mapLines_.
Referenced by BIAS::ThreeDOut::RemoveAll().
|
inherited |
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 BIAS::ThreeDOut::mapPMatrices_.
Referenced by BIAS::ThreeDOut::RemoveAll().
|
inherited |
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 BIAS::ThreeDOut::mapPoints_.
Referenced by BIAS::ThreeDOut::RemoveAll().
|
inlineinherited |
|
inlineinherited |
|
inherited |
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 BIAS::ThreeDOut::mapEllipsoids_.
|
inherited |
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 BIAS::ThreeDOut::mapImages_.
|
inherited |
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 BIAS::ThreeDOut::mapLines_.
|
inherited |
removes the P-matrix index, there is no way to get it back
Definition at line 1612 of file ThreeDOut.cpp.
References BIAS::ThreeDOut::mapPMatrices_.
|
inherited |
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 BIAS::ThreeDOut::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 |
|
inline |
Set the file extension and type of the saved textures.
ext | a string with no leading point. e.g. "jpeg" if OpenScenegraphOut() is called the textures contained in ThreeDOut are saved to disk. the default type of this textures is "tif". By calling SetImageFileExtension() the file type/extension can be changed. |
Definition at line 64 of file ThreeDOutOpenSceneGraph.hh.
|
inherited |
Definition at line 209 of file ThreeDOut.cpp.
References BIAS::ThreeDOut::Params_.
Referenced by BIAS::ThreeDOut::ThreeDOut().
|
inherited |
Definition at line 225 of file ThreeDOut.cpp.
References BIAS::ThreeDOutParameters::CameraScale, and BIAS::ThreeDOut::Params_.
|
inherited |
Definition at line 231 of file ThreeDOut.cpp.
References BIAS::ThreeDOutParameters::CameraStyle, and BIAS::ThreeDOut::Params_.
Referenced by BIAS::GenSynthMatches::CreateVRML_().
|
inherited |
Definition at line 243 of file ThreeDOut.cpp.
References BIAS::ThreeDOutParameters::DrawCameraUncertaintyEllipsoids, and BIAS::ThreeDOut::Params_.
|
inherited |
Definition at line 237 of file ThreeDOut.cpp.
References BIAS::ThreeDOutParameters::DrawUncertaintyEllipsoids, and BIAS::ThreeDOut::Params_.
|
inherited |
Definition at line 249 of file ThreeDOut.cpp.
References BIAS::ThreeDOutParameters::EllipsoidScale, and BIAS::ThreeDOut::Params_.
|
inherited |
Definition at line 267 of file ThreeDOut.cpp.
References BIAS::ThreeDOutParameters::LineStyle, and BIAS::ThreeDOut::Params_.
|
inherited |
Definition at line 219 of file ThreeDOut.cpp.
References BIAS::ThreeDOutParameters::LineWidth, and BIAS::ThreeDOut::Params_.
|
inherited |
Definition at line 261 of file ThreeDOut.cpp.
References BIAS::ThreeDOut::Params_, and BIAS::ThreeDOutParameters::PointStyle.
Referenced by BIAS::GenSynthMatches::CreateVRML_().
|
inherited |
Definition at line 214 of file ThreeDOut.cpp.
References BIAS::ThreeDOut::Params_, and BIAS::ThreeDOutParameters::PointSize.
Referenced by BIAS::GenSynthMatches::CreateVRML_().
|
inherited |
Definition at line 255 of file ThreeDOut.cpp.
References BIAS::ThreeDOut::Params_, and BIAS::ThreeDOutParameters::WCSAxesLength.
|
inherited |
write VRML viewpoint nodes for some P matrices ?
Definition at line 3878 of file ThreeDOut.cpp.
References BIAS::ThreeDOut::WriteViewpoints_.
|
inlineinherited |
|
inherited |
transfers the whole scene by this offset
Definition at line 3934 of file ThreeDOut.cpp.
References BIAS::ThreeDOut::mapCamEllipsoids_, BIAS::ThreeDOut::mapEllipsoids_, BIAS::ThreeDOut::mapImages_, BIAS::ThreeDOut::mapIndexedFaceSet_, BIAS::ThreeDOut::mapLines_, BIAS::ThreeDOut::mapPMatrices_, BIAS::ThreeDOut::mapPoints_, and BIAS::ThreeDOut::mapProjection3D_.
|
inherited |
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(), BIAS::ThreeDOut::mapEllipsoids_, BIAS::MatrixIdentity, BIAS::MatrixZero, BIAS::Ellipsoid3DData::RotAxis, BIAS::Ellipsoid3DData::s0, BIAS::Ellipsoid3DData::s1, BIAS::Ellipsoid3DData::s2, and BIAS::Matrix3x3< T >::Transpose().
Referenced by BIAS::ThreeDOut::UpdateEllipsoid().
|
inherited |
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 BIAS::ThreeDOut::UpdateEllipsoid().
|
inherited |
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, BIAS::ThreeDOut::mapLines_, and BIAS::Line3DData::Start.
Referenced by BIAS::ThreeDOut::UpdateLine().
|
inherited |
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 BIAS::ThreeDOut::UpdateLine().
|
inherited |
PIndex | value previously returned by AddPMatrix |
Definition at line 1456 of file ThreeDOut.cpp.
References BIAS::ThreeDOut::AddPMatrix(), and BIAS::ThreeDOut::NextPIndex_.
|
inherited |
PIndex | value previously returned by AddPMatrix |
Definition at line 1469 of file ThreeDOut.cpp.
References BIAS::ThreeDOut::mapPMatrices_.
|
inherited |
PointIndex | value previously returned by AddPoint |
Definition at line 1427 of file ThreeDOut.cpp.
References BIAS::Point3DData::Color, BIAS::ThreeDOut::mapPoints_, and BIAS::Point3DData::Point.
Referenced by BIAS::ThreeDOut::UpdatePoint().
|
inherited |
PointIndex | value previously returned by AddPoint |
Definition at line 1445 of file ThreeDOut.cpp.
References BIAS::HomgPoint3D::IsHomogenized(), and BIAS::ThreeDOut::UpdatePoint().
|
inherited |
PointIndex | value previously returned by AddPoint |
Definition at line 1439 of file ThreeDOut.cpp.
References BIAS::ThreeDOut::mapPoints_.
|
inherited |
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 BIAS::ThreeDOut::Params_, BIAS::ThreeDOut::VRMLOutEllipsoids(), BIAS::ThreeDOut::VRMLOutImages(), BIAS::ThreeDOut::VRMLOutIndexedFaceSets(), BIAS::ThreeDOut::VRMLOutLines(), BIAS::ThreeDOut::VRMLOutPMatrices(), BIAS::ThreeDOut::VRMLOutPoints(), BIAS::ThreeDOut::VRMLOutProjection(), BIAS::ThreeDOut::VRMLOutWCS(), BIAS::ThreeDOut::VRMLOutWriteHeader(), BIAS::ThreeDOut::VRMLOutWriteViewpoint(), BIAS::ThreeDOutParameters::WCSAxesLength, and BIAS::ThreeDOut::WriteViewpoints_.
Referenced by BIAS::ImageBlender::BlendImages(), BIAS::ImageBlenderIncremental::BlendImages(), and BIAS::GenSynthMatches::CreateVRML_().
|
inherited |
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 BIAS::ThreeDOut::Params_, BIAS::ThreeDOut::VRMLOutEllipsoids(), BIAS::ThreeDOut::VRMLOutImages(), BIAS::ThreeDOut::VRMLOutIndexedFaceSets(), BIAS::ThreeDOut::VRMLOutLines(), BIAS::ThreeDOut::VRMLOutPMatrices(), BIAS::ThreeDOut::VRMLOutPoints(), BIAS::ThreeDOut::VRMLOutWCS(), BIAS::ThreeDOut::VRMLOutWriteHeader(), and BIAS::ThreeDOutParameters::WCSAxesLength.
|
protectedinherited |
Definition at line 3549 of file ThreeDOut.cpp.
References BIAS::Ellipsoid3DData::C, BIAS::Ellipsoid3DData::dAngle, BIAS::ThreeDOutParameters::EllipsoidScale, BIAS::ThreeDOut::Params_, BIAS::Ellipsoid3DData::RotAxis, BIAS::Ellipsoid3DData::s0, BIAS::Ellipsoid3DData::s1, BIAS::Ellipsoid3DData::s2, and BIAS::ThreeDOut::VRMLtransparency().
Referenced by BIAS::ThreeDOut::VRMLOutEllipsoids(), and BIAS::ThreeDOut::VRMLOutPMatrices().
|
inherited |
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 BIAS::ThreeDOut::mapEllipsoids_, and BIAS::ThreeDOut::VRMLOutEllipsoid_().
Referenced by BIAS::ThreeDOut::VRMLOut().
|
inherited |
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, BIAS::ThreeDOut::mapEllipsoids_, BIAS::ThreeDOut::Params_, BIAS::Ellipsoid3DData::RotAxis, BIAS::Ellipsoid3DData::s0, BIAS::Ellipsoid3DData::s1, BIAS::Ellipsoid3DData::s2, and BIAS::ThreeDOut::VRMLtransparency().
|
inherited |
only write (previously stored) images into an open vrml file
Definition at line 3335 of file ThreeDOut.cpp.
References BIAS::ThreeDOut::CorrectDefString_(), BIAS::ThreeDOut::mapImages_, BIAS::Vector3< T >::Normalize(), and BIAS::Vector3< T >::NormL2().
Referenced by BIAS::ThreeDOut::VRMLOut().
|
inherited |
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 BIAS::ThreeDOut::CorrectDefString_(), BIAS::ThreeDOut::mapIndexedFaceSet_, and BIAS::ImageIO::Save().
Referenced by BIAS::ThreeDOut::VRMLOut().
|
inherited |
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, BIAS::ThreeDOut::mapLines_, BIAS::ThreeDOut::Params_, and BIAS::Solid.
Referenced by BIAS::ThreeDOut::VRMLOut().
|
inherited |
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, BIAS::ThreeDOut::mapLines_, BIAS::ThreeDOut::Params_, BIAS::Solid, and BIAS::ThreeDOut::VRMLtransparency().
|
inherited |
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, BIAS::ThreeDOut::mapCamEllipsoids_, BIAS::ThreeDOut::Params_, BIAS::PyramidMesh, BIAS::ThreeDOut::VRMLOutEllipsoid_(), BIAS::ThreeDOut::VRMLOutPMatricesAsArrows_(), and BIAS::ThreeDOut::VRMLOutPMatricesAsMesh_().
Referenced by BIAS::ThreeDOut::VRMLOut().
|
inherited |
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, BIAS::ThreeDOut::mapCamEllipsoids_, BIAS::ThreeDOut::mapPMatrices_, BIAS::ThreeDOut::Params_, BIAS::ThreeDOut::VRMLOutEllipsoid_(), and BIAS::ThreeDOut::VRMLOutPMatricesRoutine().
|
protectedinherited |
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, BIAS::ThreeDOut::mapPMatrices_, BIAS::ThreeDOut::Params_, BIAS::PMatrix3DData::PP, and BIAS::PMatrix3DData::Up.
Referenced by BIAS::ThreeDOut::VRMLOutPMatrices().
|
protectedinherited |
Definition at line 2770 of file ThreeDOut.cpp.
References BIAS::PMatrix3DData::C, BIAS::ThreeDOutParameters::LineWidth, BIAS::PMatrix3DData::LL, BIAS::PMatrix3DData::LR, BIAS::ThreeDOut::mapPMatrices_, BIAS::ThreeDOut::Params_, BIAS::PMatrix3DData::UL, and BIAS::PMatrix3DData::UR.
Referenced by BIAS::ThreeDOut::VRMLOutPMatrices().
|
inherited |
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, BIAS::ThreeDOut::CorrectDefString_(), BIAS::ThreeDOutParameters::LineWidth, BIAS::PMatrix3DData::LL, BIAS::PMatrix3DData::LR, BIAS::PMatrix3DData::name, BIAS::ThreeDOut::Params_, BIAS::PMatrix3DData::PP, BIAS::PyramidMesh, BIAS::PyramidMeshWithArrow, BIAS::PyramidSolid, BIAS::PMatrix3DData::UL, BIAS::PMatrix3DData::UR, and BIAS::ThreeDOut::VRMLtransparency().
Referenced by BIAS::ThreeDOut::VRMLOutPMatrices().
|
inherited |
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 BIAS::ThreeDOut::mapPoints_.
Referenced by BIAS::ThreeDOut::VRMLOut().
|
inherited |
only write (previously stored) points into an open vrml file
Definition at line 2731 of file ThreeDOut.cpp.
References BIAS::Box, BIAS::ThreeDOut::mapPoints_, BIAS::ThreeDOut::Params_, BIAS::Point, BIAS::PointSprite, BIAS::ThreeDOutParameters::PointStyle, BIAS::Sphere, BIAS::ThreeDOut::VRMLOutPointsAsBoxes_(), BIAS::ThreeDOut::VRMLOutPointsAsPointSet_(), and BIAS::ThreeDOut::VRMLOutPointsAsSpheres_().
|
protectedinherited |
Definition at line 2609 of file ThreeDOut.cpp.
References BIAS::Point3DData::Color, BIAS::ThreeDOut::mapPoints_, BIAS::ThreeDOut::Params_, BIAS::Point3DData::Point, and BIAS::ThreeDOutParameters::PointSize.
Referenced by BIAS::ThreeDOut::VRMLOutPoints().
|
protectedinherited |
Definition at line 2545 of file ThreeDOut.cpp.
References BIAS::Point3DData::Color, BIAS::ThreeDOut::mapPoints_, and BIAS::Point3DData::Point.
Referenced by BIAS::ThreeDOut::VRMLOutPoints().
|
protectedinherited |
Definition at line 3587 of file ThreeDOut.cpp.
References BIAS::Point3DData::Color, BIAS::ThreeDOut::mapPoints_, BIAS::ThreeDOut::Params_, BIAS::Point3DData::Point, BIAS::ThreeDOutParameters::PointSize, and BIAS::ThreeDOut::VRMLtransparency().
Referenced by BIAS::ThreeDOut::VRMLOutPoints().
|
inherited |
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, BIAS::ThreeDOut::CoordinateSystem(), BIAS::ThreeDOut::mapProjection3D_, BIAS::ThreeDOut::Params_, BIAS::PyramidMesh, BIAS::PyramidMeshWithArrow, BIAS::PyramidSolid, BIAS::ThreeDOut::VRMLOutViewPortConical(), and BIAS::ThreeDOut::VRMLOutViewPortPyramidal().
Referenced by BIAS::ThreeDOut::VRMLOut().
|
inherited |
only write previously stored projectionview objects into opened vrml file.
|
protectedinherited |
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 BIAS::ThreeDOut::PaintCone().
Referenced by BIAS::ThreeDOut::VRMLOutProjection().
|
protectedinherited |
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 BIAS::ThreeDOut::PaintPyramid().
Referenced by BIAS::ThreeDOut::VRMLOutProjection().
|
inherited |
write world coordinate system origin and axes
Definition at line 1622 of file ThreeDOut.cpp.
References BIAS::ThreeDOut::CoordinateSystem(), BIAS::ThreeDOut::Params_, and BIAS::ThreeDOutParameters::WCSAxesLength.
Referenced by BIAS::ThreeDOut::VRMLOut().
|
inherited |
write the VRML 2.0 header into an open file
Definition at line 3696 of file ThreeDOut.cpp.
Referenced by BIAS::ThreeDOut::VRMLOut().
|
inherited |
write VRML 2.0 navigation info node
Definition at line 3883 of file ThreeDOut.cpp.
Referenced by BIAS::ThreeDOut::VRMLOutWriteViewpoint().
|
inherited |
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(), BIAS::ThreeDOut::mapPMatrices_, BIAS::PMatrix3DData::PP, BIAS::Vector3< T >::ScalarProduct(), BIAS::PMatrix3DData::UL, BIAS::PMatrix3DData::UR, and BIAS::ThreeDOut::VRMLOutWriteNavigationInfo().
Referenced by BIAS::ThreeDOut::VRMLOut().
|
staticinherited |
get alpha opacity value as VRML transparency helper mapping, usually transparency = (1-alpha)
Definition at line 3867 of file ThreeDOut.cpp.
Referenced by BIAS::ThreeDOut::VRMLOutEllipsoid_(), BIAS::ThreeDOut::VRMLOutEllipsoids(), BIAS::ThreeDOut::VRMLOutLines(), BIAS::ThreeDOut::VRMLOutPMatricesRoutine(), BIAS::ThreeDOut::VRMLOutPointsAsSpheres_(), and BIAS::ThreeDOut::VRMLtransparency().
|
staticinherited |
get alpha opacity component as VRML transparency g
Definition at line 3873 of file ThreeDOut.cpp.
References BIAS::ThreeDOut::VRMLtransparency().
|
inlinevirtual |
Generic write method (wrapper for OpenSceneGraphOut).
Reimplemented from BIAS::ThreeDOut.
Definition at line 34 of file ThreeDOutOpenSceneGraph.hh.
References BIAS::FileHandling::Extension().
|
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=().
|
protectedinherited |
Definition at line 914 of file ThreeDOut.hh.
|
staticprotectedinherited |
|
protectedinherited |
map of all ellipsoid structures
Definition at line 1014 of file ThreeDOut.hh.
Referenced by BIAS::ThreeDOut::AddEllipsoid(), AddOSGEllipsoids_(), BIAS::ThreeDOut::GetBoundingBox(), BIAS::ThreeDOut::OpenGLOutPMatrices_(), BIAS::ThreeDOut::RemoveAllCamEllipsoids(), BIAS::ThreeDOut::Translation(), and BIAS::ThreeDOut::VRMLOutPMatrices().
|
protectedinherited |
map of all ellipsoid structures
Definition at line 1009 of file ThreeDOut.hh.
Referenced by BIAS::ThreeDOut::AddEllipsoid(), AddOSGEllipsoids_(), BIAS::ThreeDOut::Dump(), BIAS::ThreeDOut::GetBoundingBox(), BIAS::ThreeDOut::OpenGLOutEllipsoids(), BIAS::ThreeDOut::RemoveAllEllipsoids(), BIAS::ThreeDOut::RemoveEllipsoid(), BIAS::ThreeDOut::Translation(), BIAS::ThreeDOut::UpdateEllipsoid(), and BIAS::ThreeDOut::VRMLOutEllipsoids().
|
protectedinherited |
map of all image structures
Definition at line 989 of file ThreeDOut.hh.
Referenced by BIAS::ThreeDOut::AddImage(), AddOSGImage_(), BIAS::ThreeDOut::GetBoundingBox(), BIAS::ThreeDOut::OpenGLOutImages(), BIAS::ThreeDOut::RemoveAllImages(), BIAS::ThreeDOut::RemoveImage(), BIAS::ThreeDOut::Translation(), and BIAS::ThreeDOut::VRMLOutImages().
|
protectedinherited |
Definition at line 1018 of file ThreeDOut.hh.
Referenced by AddOSGIndexedFaceSets_(), BIAS::ThreeDOut::AddTriangleMesh(), BIAS::ThreeDOut::GetBoundingBox(), BIAS::ThreeDOut::OpenGLOutIndexedFaceSets(), BIAS::ThreeDOut::RemoveAllIndexedFaceSets(), BIAS::ThreeDOut::Translation(), and BIAS::ThreeDOut::VRMLOutIndexedFaceSets().
|
protectedinherited |
map of all line structures
Definition at line 1004 of file ThreeDOut.hh.
Referenced by BIAS::ThreeDOut::AddLine(), AddOSGLines_(), BIAS::ThreeDOut::Dump(), BIAS::ThreeDOut::GetBoundingBox(), BIAS::ThreeDOut::OpenGLOutLines(), BIAS::ThreeDOut::RemoveAllLines(), BIAS::ThreeDOut::RemoveLine(), BIAS::ThreeDOut::Translation(), BIAS::ThreeDOut::UpdateLine(), and BIAS::ThreeDOut::VRMLOutLines().
|
protectedinherited |
the cameras are saved in a vector for efficiency reasons
Definition at line 984 of file ThreeDOut.hh.
Referenced by AddOSGPMatrix_(), BIAS::ThreeDOut::AddPMatrix(), BIAS::ThreeDOut::Dump(), BIAS::ThreeDOut::GetBoundingBox(), BIAS::ThreeDOut::OpenGLOutPMatrices_(), BIAS::ThreeDOut::RemoveAllPMatrices(), BIAS::ThreeDOut::RemovePMatrix(), BIAS::ThreeDOut::Translation(), BIAS::ThreeDOut::UpdatePMatrixColor(), BIAS::ThreeDOut::VRMLOutPMatrices(), BIAS::ThreeDOut::VRMLOutPMatricesAsArrows_(), BIAS::ThreeDOut::VRMLOutPMatricesAsMesh_(), and BIAS::ThreeDOut::VRMLOutWriteViewpoint().
|
protectedinherited |
map of all point structures
Definition at line 994 of file ThreeDOut.hh.
Referenced by AddOSGPoints_(), BIAS::ThreeDOut::AddPoint(), BIAS::ThreeDOut::Dump(), BIAS::ThreeDOut::GetBoundingBox(), BIAS::ThreeDOut::GetCenterOfPoints(), BIAS::ThreeDOut::OpenGLOutPoints(), BIAS::ThreeDOut::RemoveAllPoints(), BIAS::ThreeDOut::RemovePoint(), BIAS::ThreeDOut::Translation(), BIAS::ThreeDOut::UpdatePoint(), BIAS::ThreeDOut::UpdatePointColor(), BIAS::ThreeDOut::VRMLOutPoints(), BIAS::ThreeDOut::VRMLOutPointsAsBoxes_(), BIAS::ThreeDOut::VRMLOutPointsAsPointSet_(), and BIAS::ThreeDOut::VRMLOutPointsAsSpheres_().
|
protectedinherited |
Definition at line 1021 of file ThreeDOut.hh.
Referenced by BIAS::ThreeDOut::AddPose(), BIAS::ThreeDOut::AddProjection(), BIAS::ThreeDOut::Translation(), and BIAS::ThreeDOut::VRMLOutProjection().
|
protectedinherited |
map of all point structures
Definition at line 999 of file ThreeDOut.hh.
Referenced by AddOSGTexts_(), and BIAS::ThreeDOut::AddText().
|
protectedinherited |
Definition at line 1026 of file ThreeDOut.hh.
|
protectedinherited |
counter for the next ellipsoid index, gaps are not reused by now
Definition at line 1016 of file ThreeDOut.hh.
Referenced by BIAS::ThreeDOut::AddEllipsoid(), and BIAS::ThreeDOut::ThreeDOut().
|
protectedinherited |
counter for the next ellipsoid index, gaps are not reused by now
Definition at line 1011 of file ThreeDOut.hh.
Referenced by BIAS::ThreeDOut::AddEllipsoid(), and BIAS::ThreeDOut::ThreeDOut().
|
protectedinherited |
counter for the next index, gaps (due to delete) are not reused by now
Definition at line 991 of file ThreeDOut.hh.
Referenced by BIAS::ThreeDOut::AddImage(), and BIAS::ThreeDOut::ThreeDOut().
|
protectedinherited |
Definition at line 1019 of file ThreeDOut.hh.
Referenced by BIAS::ThreeDOut::AddTriangleMesh(), BIAS::ThreeDOut::RemoveAllIndexedFaceSets(), and BIAS::ThreeDOut::ThreeDOut().
|
protectedinherited |
counter for the next line index, gaps (due to delete) arent reused
Definition at line 1006 of file ThreeDOut.hh.
Referenced by BIAS::ThreeDOut::AddLine(), and BIAS::ThreeDOut::ThreeDOut().
|
protectedinherited |
counter for the next index, gaps (due to delete) are not reused by now
Definition at line 986 of file ThreeDOut.hh.
Referenced by BIAS::ThreeDOut::AddPMatrix(), BIAS::ThreeDOut::ThreeDOut(), and BIAS::ThreeDOut::UpdatePMatrix().
|
protectedinherited |
counter for the next index, gaps (due to delete) are not reused by now
Definition at line 996 of file ThreeDOut.hh.
Referenced by BIAS::ThreeDOut::AddPoint(), and BIAS::ThreeDOut::ThreeDOut().
|
protectedinherited |
Definition at line 1022 of file ThreeDOut.hh.
Referenced by BIAS::ThreeDOut::AddPose(), and BIAS::ThreeDOut::AddProjection().
|
protectedinherited |
counter for the next index, gaps (due to delete) are not reused by now
Definition at line 1001 of file ThreeDOut.hh.
Referenced by BIAS::ThreeDOut::AddText(), and BIAS::ThreeDOut::ThreeDOut().
|
protectedinherited |
holds the params set by constructor or SetParams
Definition at line 981 of file ThreeDOut.hh.
Referenced by AddOSGEllipsoids_(), AddOSGLines_(), AddOSGPMatrix_(), AddOSGPoints_(), BIAS::ThreeDOut::OpenGLOut(), BIAS::ThreeDOut::OpenGLOutEllipsoids(), BIAS::ThreeDOut::OpenGLOutIndexedFaceSets(), BIAS::ThreeDOut::OpenGLOutLines(), BIAS::ThreeDOut::OpenGLOutPMatrices_(), BIAS::ThreeDOut::OpenGLOutPoints(), BIAS::ThreeDOut::OpenGLOutWCS(), BIAS::ThreeDOut::SetParams(), BIAS::ThreeDOut::SetParamsCameraScale(), BIAS::ThreeDOut::SetParamsCameraStyle(), BIAS::ThreeDOut::SetParamsDrawCameraEllipse(), BIAS::ThreeDOut::SetParamsDrawEllipse(), BIAS::ThreeDOut::SetParamsEllipsoidScale(), BIAS::ThreeDOut::SetParamsLineDrawingStyle(), BIAS::ThreeDOut::SetParamsLineWidth(), BIAS::ThreeDOut::SetParamsPointDrawingStyle(), BIAS::ThreeDOut::SetParamsPointSize(), BIAS::ThreeDOut::SetParamsWCSAxesLength(), BIAS::ThreeDOut::VRMLOut(), BIAS::ThreeDOut::VRMLOutEllipsoid_(), BIAS::ThreeDOut::VRMLOutEllipsoids(), BIAS::ThreeDOut::VRMLOutLines(), BIAS::ThreeDOut::VRMLOutPMatrices(), BIAS::ThreeDOut::VRMLOutPMatricesAsArrows_(), BIAS::ThreeDOut::VRMLOutPMatricesAsMesh_(), BIAS::ThreeDOut::VRMLOutPMatricesRoutine(), BIAS::ThreeDOut::VRMLOutPoints(), BIAS::ThreeDOut::VRMLOutPointsAsBoxes_(), BIAS::ThreeDOut::VRMLOutPointsAsSpheres_(), BIAS::ThreeDOut::VRMLOutProjection(), and BIAS::ThreeDOut::VRMLOutWCS().
|
protected |
Definition at line 104 of file ThreeDOutOpenSceneGraph.hh.
Referenced by GenerateFilename_(), and ThreeDOutOpenSceneGraph().
|
inherited |
Definition at line 355 of file ThreeDOut.hh.
Referenced by BIAS::ThreeDOut::ThreeDOut().
|
protectedinherited |
Definition at line 1024 of file ThreeDOut.hh.
Referenced by BIAS::ThreeDOut::SetWriteViewpoints(), BIAS::ThreeDOut::ThreeDOut(), and BIAS::ThreeDOut::VRMLOut().