DGtal 1.4.0
|
#include <DGtal/io/viewers/Viewer3D.h>
Data Structures | |
struct | CompFarthestPolygonFromCamera |
struct | CompFarthestSurfelFromCamera |
struct | CompFarthestTriangleFromCamera |
struct | CompFarthestVoxelFromCamera |
struct | Extension |
struct | GLTextureImage |
struct | Image2DDomainD3D |
struct | TextureImage |
Public Types | |
enum | RenderingMode { RenderingDefault , RenderingMetallic , RenderingPlastic , RenderingLambertian } |
enum | ImageDirection { xDirection , yDirection , zDirection , undefDirection } |
the 3 possible axes for the image direction More... | |
enum | TextureMode { RGBMode , GrayScaleMode } |
the modes of representation of an image More... | |
typedef TSpace | Space |
typedef TKSpace | KSpace |
typedef Viewer3D< Space, KSpace > | Self |
typedef Display3D< Space, KSpace > | Display |
typedef Display::SelectCallbackFct | SelectCallbackFct |
typedef Display::RealPoint | RealPoint |
Public Types inherited from DGtal::Display3D< Space, KSpace > | |
enum | StreamKey { addNewList , updateDisplay , shiftSurfelVisu } |
typedef Display3D< Space, KSpace > | Self |
typedef Space::RealPoint | RealPoint |
RealPoint type. | |
typedef Space::RealVector | RealVector |
RealVector type. | |
typedef CanonicEmbedder< Space > | Embedder |
typedef CanonicCellEmbedder< KSpace > | CellEmbedder |
typedef CanonicSCellEmbedder< KSpace > | SCellEmbedder |
typedef int(* | SelectCallbackFct) (void *viewer, DGtal::int32_t name, void *data) |
Select callback function type. | |
typedef std::map< DGtal::int32_t, std::vector< QuadD3D > > | QuadsMap |
The type that maps identifier name -> vector of QuadD3D. | |
typedef std::map< DGtal::int32_t, std::vector< CubeD3D > > | CubesMap |
The type that maps identifier name -> vector of CubeD3D. | |
typedef std::map< std::string, std::string > | ModeMapping |
typedef std::map< std::string, CountedPtr< DrawableWithDisplay3D > > | StyleMapping |
Public Member Functions | |
Viewer3D () | |
Viewer3D (const KSpace &KSEmb) | |
void | setExtension (Extension *ext) |
void | removeExtension () |
void | setCameraPosition (double ax, double ay, double az) |
void | setCameraDirection (double ax, double ay, double az) |
void | setCameraUpVector (double ax, double ay, double az) |
void | setNearFar (double _near, double _far) |
void | setGLScale (float sx, float sy, float sz) |
void | setGLDoubleRenderingMode (bool doubleSidedRendering) |
void | setGLMaterialShininessCoefficient (const GLfloat matShininessCoeff) |
void | setGLLightAmbientCoefficients (const GLfloat lightAmbientCoeffs[4]) |
void | setGLLightDiffuseCoefficients (const GLfloat lightDiffuseCoeffs[4]) |
void | setGLLightSpecularCoefficients (const GLfloat lightSpecularCoeffs[4]) |
void | setUseGLPointForBalls (bool useOpenGLPt) |
void | updateRenderingCoefficients (const RenderingMode aRenderMode, bool displayState=true) |
Viewer3D< Space, KSpace > & | operator<< (const DGtal::Color &aColor) |
Viewer3D< Space, KSpace > & | operator<< (const typename Viewer3D< Space, KSpace >::StreamKey &key) |
void | sortSurfelFromCamera () |
void | sortTriangleFromCamera () |
void | sortQuadFromCamera () |
void | sortPolygonFromCamera () |
template<typename TDrawableWithViewer3D > | |
Viewer3D< Space, KSpace > & | operator<< (const TDrawableWithViewer3D &object) |
void | selfDisplay (std::ostream &out) const |
bool | isValid () const |
virtual unsigned int | getCurrentDomainNumber () |
virtual unsigned int | getCurrentGLImageNumber () |
virtual void | paintGL () |
Overload of the QGLViewer method in order to change the order of display (to fix the QGLViewer axis display trough transparency). | |
virtual void | show () |
Overload QWidget method in order to add a call to updateList() method (to ensure that the lists are well created in the particular case where show() is called at the end of the program). | |
void | addTextureImage (const TextureImage &image) |
template<typename TImageType , typename TFunctor > | |
void | updateTextureImage (unsigned int imageIndex, const TImageType &image, const TFunctor &aFunctor, double xTranslation=0.0, double yTranslation=0.0, double zTranslation=0.0, double rotationAngle=0.0, ImageDirection rotationDir=zDirection) |
void | updateOrientationTextureImage (unsigned int imageIndex, double xPosition, double yPosition, double zPosition, ImageDirection newDirection) |
void | updateEmbeddingTextureImage (unsigned int anImageIndex, typename Space::Point aPoint1, typename Space::Point aPoint2, typename Space::Point aPoint3, typename Space::Point aPoint4) |
template<typename TDomain > | |
void | addImage2DDomainD3D (const TDomain &anImageDomain, std::string mode, const DGtal::Color &aColor=DGtal::Color::Red) |
void | updateAn2DDomainOrientation (unsigned int imageIndex, double xPosition, double yPosition, double zPosition, ImageDirection newDirection) |
void | translateAn2DDomain (unsigned int domainIndex, double xTranslation, double yTranslation, double zTranslation) |
std::vector< typename DGtal::Viewer3D< Space, KSpace >::LineD3D > | compute2DDomainLineRepresentation (Image2DDomainD3D &anImageDomain, double delta) |
std::vector< typename DGtal::Viewer3D< Space, KSpace >::LineD3D > | compute2DDomainLineRepresentation (Image2DDomainD3D &anImageDomain) |
template<typename TContainer > | |
void | rotateLineD3D (typename DGtal::Display3D< Space, KSpace >::LineD3D &aLine, DGtal::PointVector< 3, int, TContainer > pt, double angleRotation, ImageDirection dirRotation) |
void | rotateDomain (Image2DDomainD3D &anDom, double angle, ImageDirection rotationDir) |
void | setLightModeFixToCamera (bool fixedToCam, bool verbose=true) |
void | drawSomeLight (GLenum light) const |
To call the protected method drawLight . | |
void | drawSomeLight (GLenum light, float zoom) const |
To call the protected method drawLight . | |
void | updateList (bool needToUpdateBoundingBox=true) |
void | glDrawGLBall (const typename Viewer3D< Space, KSpace >::BallD3D &aBall) |
virtual void | keyPressEvent (QKeyEvent *e) |
virtual void | mouseMoveEvent (QMouseEvent *e) |
virtual void | mousePressEvent (QMouseEvent *e) |
virtual void | mouseReleaseEvent (QMouseEvent *e) |
virtual void | drawWithNames () |
drawWithNames | |
virtual void | draw () |
draw | |
virtual void | init () |
init | |
virtual QString | helpString () const |
virtual void | postSelection (const QPoint &point) |
postSelection | |
virtual QDomElement | domElement (const QString &name, QDomDocument &document) const |
Overload of the QGLViewer method which returns an XML QDomElement representing the QGLViewer state. This overload adds the light position attribute. | |
virtual void | initFromDOMElement (const QDomElement &element) |
Overload of the QGLViewer method which restores the viewer state from a QDomDocument element. This overload recovers and loads default viewer attributes with the add of the the light position. | |
Public Member Functions inherited from DGtal::Display3D< Space, KSpace > | |
BOOST_CONCEPT_ASSERT ((concepts::CSpace< Space >)) | |
virtual | ~Display3D () |
Display3D (const KSpace &KSEmb) | |
Display3D () | |
Display3D (const Display3D &)=delete | |
Copy constructor. Deleted. | |
Display3D (Display3D &&)=delete | |
Move constructor. Deleted. | |
Display3D & | operator= (const Display3D &)=delete |
Assignment operator. Deleted. | |
Display3D & | operator= (Display3D &&)=delete |
Move operator. Deleted. | |
const Embedder & | embedder () const |
const CellEmbedder & | cellEmbedder () const |
const SCellEmbedder & | sCellEmbedder () const |
const KSpace & | space () const |
virtual void | setFillColor (DGtal::Color aColor) |
virtual void | setFillTransparency (unsigned char alpha) |
virtual void | setLineColor (DGtal::Color aColor) |
virtual DGtal::Color | getFillColor () |
virtual DGtal::Color | getLineColor () |
virtual void | setKSpace (const KSpace &aKSpace) |
void | setName3d (DGtal::int32_t name=-1) |
DGtal::int32_t | name3d () const |
void | setSelectCallback3D (SelectCallbackFct fct, void *data, DGtal::int32_t min_name, DGtal::int32_t max_name) |
SelectCallbackFct | getSelectCallback3D (DGtal::int32_t aName, void *&data) const |
void | addClippingPlane (double a, double b, double c, double d, bool drawPlane) |
std::string | getMode (const std::string &objectName) const |
void | createNewLineList (std::string s="") |
void | createNewBallList (std::string s="") |
DGtal::int32_t | createNewCubeList () |
bool | deleteCubeList (const DGtal::int32_t name) |
DGtal::int32_t | createNewQuadList () |
bool | deleteQuadList (const DGtal::int32_t name) |
void | createNewTriangleList (std::string s="") |
void | createNewPolygonList (std::string s="") |
void | addQuad (const RealPoint &p1, const RealPoint &p2, const RealPoint &p3, const RealPoint &p4) |
void | addQuadWithNormal (const RealPoint &p1, const RealPoint &p2, const RealPoint &p3, const RealPoint &p4, const RealPoint &n, const bool enableReorientation, const bool enableDoubleFace=false) |
void | addQuadFromSurfelCenter (const RealPoint &baseQuadCenter, bool xSurfel, bool ySurfel, bool zSurfel) |
void | addQuadFromSurfelCenterWithNormal (const RealPoint &baseQuadCenter, bool xSurfel, bool ySurfel, bool zSurfel, const RealVector &aNormal, const bool enableReorientation, const bool sign, const bool enableDoubleFace=false) |
void | addTriangle (const RealPoint &p1, const RealPoint &p2, const RealPoint &p3) |
void | addPolygon (const std::vector< RealPoint > &vertices) |
void | addLine (const RealPoint &p1, const RealPoint &p2, const double width=0.03) |
void | addCube (const RealPoint ¢er, double width=1.0) |
void | addBall (const RealPoint ¢er, const double radius=0.5, const unsigned int resolution=30) |
void | addPrism (const RealPoint &baseQuadCenter, bool xSurfel, bool ySurfel, bool zSurfel, double sizeShiftFactor, double sizeFactor=1.0, bool isSigned=false, bool aSign=true) |
void | addBasicSurfel (const RealPoint &baseQuadCenter, bool xSurfel, bool ySurfel, bool zSurfel) |
void | addCone (const RealPoint &p1, const RealPoint &p2, double width=0.08) |
void | addCylinder (const RealPoint &p1, const RealPoint &p2, const double width=0.02) |
void | updateBoundingBox (const RealPoint &point) |
void | exportToMesh (Mesh< RealPoint > &aMesh) const |
template<typename TDrawableWithDisplay3D > | |
Display3D & | operator<< (const TDrawableWithDisplay3D &object) |
void | selfDisplay (std::ostream &out) const |
bool | isValid () const |
void | clear () |
RealPoint | embed (const typename Space::Point &dp) const |
RealPoint | embedKS (const typename KSpace::SCell &cell) const |
RealPoint | embedKS (const DGtal::TransformedPrism &aTrans) const |
RealPoint | embedK (const typename KSpace::Cell &cell) const |
Static Public Member Functions | |
template<typename TImageORDomain > | |
static void | rotateImageVertex (TImageORDomain &anImageOrDom, double angle, ImageDirection rotationDir) |
template<typename TValues > | |
static void | rotatePoint (TValues &x, TValues &y, TValues &z, double cx, double cy, double cz, double rotationAngle, ImageDirection rotationDir) |
Data Fields | |
DGtal::Color | myDefaultBackgroundColor |
the default background color of the viewer | |
DGtal::Color | myDefaultColor |
the default color of the viewer | |
bool | myIsBackgroundDefault |
true if the background is default | |
bool | myViewWire |
objects have shadows which follow the camera if false | |
double | myGLPointMinWidth = 1.5 |
double | myGLLineMinWidth = 1.5 |
to improve the display of gl points | |
bool | myAutoSaveState |
flag to save automatically or not the Viewer3d state when closing the viewer | |
RenderingMode | myRenderingMode = RenderingDefault |
Data Fields inherited from DGtal::Display3D< Space, KSpace > | |
ModeMapping | myModes |
StyleMapping | myStyles |
bool | myBoundingPtEmptyTag |
True if the bounding box is empty (no objects added) | |
double | myBoundingPtUp [3] |
upper point of the bounding box | |
double | myBoundingPtLow [3] |
lower point of the bouding box | |
Protected Member Functions | |
virtual void | closeEvent (QCloseEvent *e) |
Overload the QWidget method to customize the viewer state auto saving. Now it save the viewer state if the flag myAutoSaveState is true (false by default) and call the QGLWidget::closeEvent(). | |
Private Types | |
typedef std::vector< typename Viewer3D< Space, KSpace >::CubeD3D > | VectorCubes |
typedef std::vector< typename Viewer3D< Space, KSpace >::QuadD3D > | VectorQuad |
typedef std::vector< typename Viewer3D< Space, KSpace >::LineD3D > | VectorLine |
typedef std::vector< typename Viewer3D< Space, KSpace >::BallD3D > | VectorBall |
typedef std::vector< typename Viewer3D< Space, KSpace >::TriangleD3D > | VectorTriangle |
typedef std::vector< typename Viewer3D< Space, KSpace >::PolygonD3D > | VectorPolygon |
typedef std::vector< typename Viewer3D< Space, KSpace >::TextureImage > | VectorTextureImage |
typedef VectorCubes::iterator | ItCube |
Private Member Functions | |
BOOST_CONCEPT_ASSERT ((concepts::CSpace< TSpace >)) | |
void | glCreateListCubesMaps (const typename Display3D< Space, KSpace >::CubesMap &aCubeMap, unsigned int idList) |
void | glCreateListQuadD3D (const VectorQuad &aVectQuad, unsigned int idList) |
void | glCreateListLines (const VectorLine &aVectLine, unsigned int idList) |
void | glCreateListBalls (const VectorBall &aVectBall, unsigned int idList) |
void | glCreateListQuadMaps (const typename Display3D< Space, KSpace >::QuadsMap &aQuadMap, unsigned int idList) |
void | glCreateListQuadMapsWired (const typename Display3D< Space, KSpace >::QuadsMap &aQuadMap, unsigned int idList) |
void | glCreateListTriangles (const std::vector< VectorTriangle > &aVectTriangle, unsigned int idList) |
void | glCreateListTrianglesWired (const std::vector< VectorTriangle > &aVectTriangle, unsigned int idList) |
void | glCreateListPolygons (const std::vector< VectorPolygon > &aVectPolygon, unsigned int idList) |
void | glCreateListPolygonsWired (const std::vector< VectorPolygon > &aVectPolygon, unsigned int idList) |
void | glUpdateTextureImages (const VectorTextureImage &aVectImage) |
void | glUpdateLightRenderingMode () const |
void | glUpdateBackground () |
void | updateLightCoordsFromCamera () |
void | updateRelativeCameraFromLightPosition () |
Private Attributes | |
GLuint | myTriangleSetListId |
lists of the list to draw | |
GLuint | myTriangleSetListWiredId |
GLuint | myPolygonSetListId |
GLuint | myPolygonSetListWiredId |
GLuint | myLineSetListId |
GLuint | myBallSetListId |
GLuint | myPrismListId |
GLuint | myQuadsMapId |
GLuint | myQuadsMapWiredId |
GLuint | myCubesMapId |
GLuint | myCubeSetListWiredId |
unsigned int | myNbListe |
number of lists in myListToAff | |
unsigned int | myNbLineSetList |
unsigned int | myNbBallSetList |
unsigned int | myNbPrismSetList |
int | mySelectedElementId = -1 |
used to displayed selected elements | |
unsigned char | mySelectionColorShift = 150 |
qglviewer::Vec | myOrig |
information linked to the navigation in the viewer | |
qglviewer::Vec | myDir |
qglviewer::Vec | myDirSelector |
qglviewer::Vec | mySelectedPoint |
QPoint | myPosSelector |
a point selected with postSelection | |
std::vector< GLTextureImage > | myVectTextureImage |
list of the images textures in this viewer | |
bool | myIsDoubleFaceRendering = true |
true if is double face rendering | |
double | camera_position [3] |
camera position | |
double | camera_direction [3] |
camera direction | |
double | camera_upVector [3] |
camera up-vector | |
bool | myLightPositionFixToCamera = true |
double | myLightTheta |
double | myLightPhi |
the light position (inclination) | |
double | myLightR |
the light position (azimuth) | |
GLfloat | myLightPosition [4] = {0.0f, 0.0f, 1.0f, 1.0f} |
the light position (distance) | |
GLfloat | myLightPositionRefCameraDefault [3] = {-100.0f, 100.0f, 0.0f} |
GLfloat | myLightPositionRefCamera [3] = {0.0f, 0.0f, 0.0f} |
GLfloat | myMaterialShininessCoeff [1] = {50.0f} |
GLfloat | myMaterialSpecularCoeffs [4] = { 1.0f, 1.0f, 1.0f, 1.0f } |
GLfloat | myLightSpecularCoeffs [4] = { 0.3f, 0.3f, 0.3f, 1.0f } |
GLfloat | myLightAmbientCoeffs [4] = { 0.0f, 0.0f, 0.0f, 1.0f } |
GLfloat | myLightDiffuseCoeffs [4] = { 0.7f, 0.7f, 0.7f, 1.0f } |
const GLfloat | myDefaultRenderSpec = 0.3f |
const GLfloat | myDefaultRenderDiff = 0.7f |
const GLfloat | myLambertRenderSpec = 0.0f |
const GLfloat | myLambertRenderDiff = 0.9f |
const GLfloat | myMetallicRenderSpec = 0.5f |
const GLfloat | myMetallicRenderDiff = 0.5f |
const GLfloat | myPlasticRenderSpec = 0.8f |
const GLfloat | myPlasticRenderDiff = 0.2f |
bool | myUseGLPointsForBalls = false |
double | ZNear |
znear distance | |
double | ZFar |
zfar distance | |
float | myMeshDefaultLineWidth |
float | myGLScaleFactorX =1.0 |
float | myGLScaleFactorY =1.0 |
float | myGLScaleFactorZ =1.0 |
double | myLigthRotationStep |
int | myRefMouseXPos |
the angle rotation increment used for interactive light move | |
int | myRefMouseYPos |
the reference mouse x-position used to determince the light position change (azimuth) | |
bool | myIsMovingLight |
the reference mouse y-position used to determince the light position change (inclination) | |
std::vector< TextureImage > | myGSImageList |
flag to display the ligth source when it is moved by the user | |
std::vector< Image2DDomainD3D > | myImageDomainList |
Used to store all the domains. | |
Extension * | myExtension |
Stored a possible extension to the viewer (pointer owned). | |
Additional Inherited Members | |
Static Protected Member Functions inherited from DGtal::Display3D< Space, KSpace > | |
static void | cross (double dst[3], double srcA[3], double srcB[3]) |
static void | normalize (double vec[3]) |
Protected Attributes inherited from DGtal::Display3D< Space, KSpace > | |
KSpace | myKSpace |
The Khalimsky space. | |
Embedder * | myEmbedder |
an embeder from a dgtal space point to a real space point | |
CellEmbedder * | myCellEmbedder |
an embeder from a unsigned khalimsky space point to a real space point | |
SCellEmbedder * | mySCellEmbedder |
an embeder from a signed khalimsky space point to a real space point | |
DGtal::Color | myCurrentFillColor |
DGtal::Color | myCurrentLineColor |
double | myCurrentfShiftVisuPrisms |
std::vector< std::vector< LineD3D > > | myLineSetList |
std::vector< std::vector< BallD3D > > | myBallSetList |
std::vector< ClippingPlaneD3D > | myClippingPlaneList |
std::vector< QuadD3D > | myPrismList |
QuadsMap | myQuadsMap |
std::vector< std::vector< TriangleD3D > > | myTriangleSetList |
Represents all the triangles drawn in the Display3D. | |
std::vector< std::vector< PolygonD3D > > | myPolygonSetList |
Represents all the polygon drawn in the Display3D. | |
CubesMap | myCubesMap |
std::vector< std::string > | myCubeSetNameList |
std::vector< std::string > | myLineSetNameList |
std::vector< std::string > | myBallSetNameList |
std::vector< std::string > | myClippingPlaneNameList |
std::vector< std::string > | myPrismNameList |
std::vector< std::string > | myQuadSetNameList |
std::vector< std::string > | myTriangleSetNameList |
std::vector< std::string > | myPolygonSetNameList |
DGtal::int32_t | myName3d |
std::set< SelectCallbackFctStore > | mySelectCallBackFcts |
bool | myBoundingPtChangedTag = false |
Description of class 'Viewer3D'
Aim: Display 3D primitive (like PointVector, DigitalSetBySTLSet, Object ...). This class uses the libQGLViewer library (
For instance you can display objects as follows:
This class is parametrized by both the Digital and Khalimsky space used to display object. More precisely, embed methods are used to compute the Euclidean coordinate of digital objects/khalimksy cells.
TSpace | any model of Digital 3D Space |
TKSpace | any mode of Khalimksky 3D space |
Definition at line 131 of file Viewer3D.h.
typedef Display3D<Space, KSpace> DGtal::Viewer3D< TSpace, TKSpace >::Display |
Definition at line 143 of file Viewer3D.h.
|
private |
Definition at line 1400 of file Viewer3D.h.
typedef TKSpace DGtal::Viewer3D< TSpace, TKSpace >::KSpace |
Definition at line 141 of file Viewer3D.h.
typedef Display::RealPoint DGtal::Viewer3D< TSpace, TKSpace >::RealPoint |
Definition at line 145 of file Viewer3D.h.
typedef Display::SelectCallbackFct DGtal::Viewer3D< TSpace, TKSpace >::SelectCallbackFct |
Definition at line 144 of file Viewer3D.h.
typedef Viewer3D<Space, KSpace> DGtal::Viewer3D< TSpace, TKSpace >::Self |
Definition at line 142 of file Viewer3D.h.
typedef TSpace DGtal::Viewer3D< TSpace, TKSpace >::Space |
Definition at line 140 of file Viewer3D.h.
|
private |
Definition at line 1394 of file Viewer3D.h.
|
private |
Type associated to the special intern method GLCreateCubeSetList.
Definition at line 1391 of file Viewer3D.h.
|
private |
Definition at line 1393 of file Viewer3D.h.
|
private |
Definition at line 1396 of file Viewer3D.h.
|
private |
Definition at line 1392 of file Viewer3D.h.
|
private |
Definition at line 1397 of file Viewer3D.h.
|
private |
Definition at line 1395 of file Viewer3D.h.
enum DGtal::Viewer3D::ImageDirection |
the 3 possible axes for the image direction
Enumerator | |
---|---|
xDirection | |
yDirection | |
zDirection | |
undefDirection |
Definition at line 470 of file Viewer3D.h.
enum DGtal::Viewer3D::RenderingMode |
Enumerator | |
---|---|
RenderingDefault | |
RenderingMetallic | |
RenderingPlastic | |
RenderingLambertian |
Definition at line 148 of file Viewer3D.h.
enum DGtal::Viewer3D::TextureMode |
the modes of representation of an image
Enumerator | |
---|---|
RGBMode | |
GrayScaleMode |
Definition at line 472 of file Viewer3D.h.
|
inline |
Constructor
Definition at line 294 of file Viewer3D.h.
|
inline |
Constructor with a khalimsky space
KSEmb | the Khalimsky space |
Definition at line 303 of file Viewer3D.h.
void DGtal::Viewer3D< TSpace, TKSpace >::addImage2DDomainD3D | ( | const TDomain & | anImageDomain, |
std::string | mode, | ||
const DGtal::Color & | aColor = DGtal::Color::Red ) |
add an 2D image in a 3d space
anImageDomain | an image and its domain |
mode | mode of representation |
aColor | color of the image |
void DGtal::Viewer3D< TSpace, TKSpace >::addTextureImage | ( | const TextureImage & | image | ) |
Add a TextureImage in the list of image to be displayed.
image | a TextureImage including image data buffer and position, orientation. |
|
private |
|
protectedvirtual |
Overload the QWidget method to customize the viewer state auto saving. Now it save the viewer state if the flag myAutoSaveState is true (false by default) and call the QGLWidget::closeEvent().
e | the QCloseEvent calling the method. |
std::vector< typename DGtal::Viewer3D< Space, KSpace >::LineD3D > DGtal::Viewer3D< TSpace, TKSpace >::compute2DDomainLineRepresentation | ( | Image2DDomainD3D & | anImageDomain | ) |
compute2DDomainLineRepresentation
anImageDomain | the image domain |
std::vector< typename DGtal::Viewer3D< Space, KSpace >::LineD3D > DGtal::Viewer3D< TSpace, TKSpace >::compute2DDomainLineRepresentation | ( | Image2DDomainD3D & | anImageDomain, |
double | delta ) |
compute2DDomainLineRepresentation
anImageDomain | the image domain |
delta | the delte for computing |
|
virtual |
Overload of the QGLViewer method which returns an XML QDomElement representing the QGLViewer state. This overload adds the light position attribute.
name | the name of the QDomElement tag. |
document | the QDomElement factory used to create QDomElement. |
|
virtual |
draw
|
inline |
To call the protected method drawLight
.
Definition at line 1000 of file Viewer3D.h.
|
inline |
To call the protected method drawLight
.
Definition at line 1005 of file Viewer3D.h.
|
virtual |
drawWithNames
|
virtual |
|
virtual |
|
private |
Creates an OpenGL list of type GL_POINTS from a vector of BallD3D.
[in] | aVectBall | a vector of balls (BallD3D) containing the points to be displayed. |
[in] | idList | the Id of the list (should be given by glGenLists). |
|
private |
Creates an OpenGL list of type GL_QUADS from a CubeD3D. Only one OpenGL list is created but each map compoment (CubeD3D vector) are marked by its identifier through the OpenGl glPushName() function. See Limited interaction when using selection with QGLViewer Viewer3D stream mechanism for more details.
[in] | aCubeMap | a map of cube (CubesMap) associating a name to a vector of CubeD3D. |
[in] | idList | the Id of the list (should be given by glGenLists). |
|
private |
Creates an OpenGL list of type QL_LINES from a vector of LineD3D.
[in] | aVectLine | a vector of lines (LineD3D) containing the quads to be displayed. |
[in] | idList | the Id of the list (should be given by glGenLists). |
|
private |
Creates an OpenGL list of type GL_POLYGON from a vector of VectorPolygon. All polygons are displayed in the same list.
aVectPolygon | a vector of VectorPolygon containing the points to be displayed. |
idList | the Id of the list (should be given by glGenLists). |
|
private |
Creates an OpenGL list of type GL_LINES from a vector of VectorPolygon. All polygons are displayed in the same list.
[in] | aVectPolygon | a vector of vector of polygons (VectorPolygon) containing the points to be displayed. |
[in] | idList | the Id of the list (should be given by glGenLists). |
|
private |
Creates an OpenGL list of type GL_QUADS from a vector of QuadD3D.
[in] | aVectQuad | a vector of quads (QuadD3D) containing the quads to be displayed. |
[in] | idList | the Id of the list (should be given by glGenLists). |
|
private |
Creates an OpenGL list of type GL_QUADS from a QuadsMap. Only one OpenGL list is created but each map compoment (QuadD3D vector) are marked by its identifier through the OpenGl glPushName() function. See Limited interaction when using selection with QGLViewer Viewer3D stream mechanism for more details.
[in] | aQuadMap | a map of quad (QuadsMap) associating a name to a vector of QuadD3D. |
[in] | idList | the Id of the list (should be given by glGenLists). |
|
private |
Creates an OpenGL list of type GL_LINES from a QuadsMap. Only one OpenGL list is created but each map compoment (QuadD3D vector) are marked by its identifier through the OpenGl glPushName() function. See Limited interaction when using selection with QGLViewer Viewer3D stream mechanism for more details.
[in] | aQuadMap | a map of quad (QuadsMap) associating a name to a vector of QuadD3D. |
[in] | idList | the Id of the list (should be given by glGenLists). |
|
private |
Creates an OpenGL list of type GL_TRIANGLES from a vector of VectorTriangle. All triangles are displayed in the same list.
[in] | aVectTriangle | a vector of VectorTriangle containing the set of triangles to be displayed. |
[in] | idList | the Id of the list (should be given by glGenLists). |
|
private |
Creates an OpenGL list of type GL_LINES defines from a vector of VectorTriangle. All triangles are displayed in the same list.
[in] | aVectTriangle | a vector of VectorTriangle containing the set of triangles to be displayed. |
[in] | idList | the Id of the list (should be given by glGenLists). |
void DGtal::Viewer3D< TSpace, TKSpace >::glDrawGLBall | ( | const typename Viewer3D< Space, KSpace >::BallD3D & | aBall | ) |
Draw a ball by using quads strip primitive.
[in] | aBall | the ball to be drawn |
|
private |
Updates opengl background color according the current mode (default or customized color)
|
private |
Updates opengl light rendering mode (GL_LIGHT_MODEL_TWO_SIDE) according to the values of private attribute myIsDoubleFaceRendering.
|
private |
Updates the container of GLTextureImage object with the given vector of TextureImage.
[in] | aVectImage | the vector containing |
|
virtual |
|
virtual |
init
|
virtual |
Overload of the QGLViewer method which restores the viewer state from a QDomDocument element. This overload recovers and loads default viewer attributes with the add of the the light position.
element | QDomDocument used to apply the restoration. |
bool DGtal::Viewer3D< TSpace, TKSpace >::isValid | ( | ) | const |
Checks the validity/consistency of the object.
|
virtual |
Used to manage new key event (wich are added from the default QGLviewer keys).
Note that when a new key event is taken into account it could be added in the QGLviewer init() method to update automatically the key description in the help QGLviewer window. For instance when a new key is processed in this method you simply should add the following code in the init() method:
e | the QKeyEvent |
|
virtual |
Used to manage a mouse move event (to handle light move).
e | the QMouseEvent |
|
virtual |
Used to manage a mouse press event (to handle light move).
e | the QMouseEvent |
|
virtual |
Used to manage a mouse release event (to handle light move).
e | the QMouseEvent |
Viewer3D< Space, KSpace > & DGtal::Viewer3D< TSpace, TKSpace >::operator<< | ( | const DGtal::Color & | aColor | ) |
Set the default color for future drawing.
aColor | a DGtal::Color (allow to set a trasnparency value). |
Viewer3D< Space, KSpace > & DGtal::Viewer3D< TSpace, TKSpace >::operator<< | ( | const TDrawableWithViewer3D< TSpace, TKSpace > & | object | ) |
Draws the drawable [object] in this board. It should satisfy the concept CDrawableWithViewer3D, which requires for instance a method setStyle( Viewer3D<Space, KSpace> & ).
object | any drawable object. |
Viewer3D< Space, KSpace > & DGtal::Viewer3D< TSpace, TKSpace >::operator<< | ( | const typename Viewer3D< Space, KSpace >::StreamKey & | key | ) |
Set the default color for future drawing.
key | a stream key |
|
virtual |
Overload of the QGLViewer method in order to change the order of display (to fix the QGLViewer axis display trough transparency).
|
virtual |
postSelection
point | a point |
|
inline |
Removes the current extension to the viewer or does nothing if no extension was present.
Definition at line 321 of file Viewer3D.h.
References DGtal::Viewer3D< TSpace, TKSpace >::myExtension.
void DGtal::Viewer3D< TSpace, TKSpace >::rotateDomain | ( | Image2DDomainD3D & | anDom, |
double | angle, | ||
ImageDirection | rotationDir ) |
Rotate an Image2DDomainD3D from its bounding points and from its grid line.
anDom | (returns) the domain to be rotated. |
angle | the angle of rotation. |
rotationDir | the rotation will be applied around this direction. |
|
inlinestatic |
Rotates Image2DDomainD3D or TextureImage vertex from a given angle and a rotation direction. The center of rotation is defined from the image center point.
TImageORDomain | the type object to be rotated (should be an Image2DDomainD3D or a TextureImage) |
anImageOrDom | (returns) the domain or image to be rotated. |
angle | the angle of the rotation. |
rotationDir | the rotation is applied around this axis direction. |
Definition at line 1563 of file Viewer3D.h.
References DGtal::Viewer3D< TSpace, TKSpace >::rotatePoint().
void DGtal::Viewer3D< TSpace, TKSpace >::rotateLineD3D | ( | typename DGtal::Display3D< Space, KSpace >::LineD3D & | aLine, |
DGtal::PointVector< 3, int, TContainer > | pt, | ||
double | angleRotation, | ||
ImageDirection | dirRotation ) |
Rotate an lineD3D from its two extremity points.
aLine | (returns) the line to be rotated. |
pt | the center of rotation. |
angleRotation | the angle of rotation. |
dirRotation | the rotation will be applied around this direction. |
|
static |
Rotate a vertex from a given angle, a center point and a rotation direction.
TValues | the type of coordinate to be rotated. |
x | the x coordinate of the point to rotated (return). |
y | the y coordinate of the point to rotated (return). |
z | the z coordinate of the point to rotated (return). |
cx | the x coordinate of the rotation center. |
cy | the y coordinate of the rotation center. |
cz | the z coordinate of the rotation center. |
rotationAngle | the angle of the rotation. |
rotationDir | the rotation is applied around this axis direction. |
Referenced by DGtal::Viewer3D< TSpace, TKSpace >::rotateImageVertex().
void DGtal::Viewer3D< TSpace, TKSpace >::selfDisplay | ( | std::ostream & | out | ) | const |
Writes/Displays the object on an output stream.
out | the output stream where the object is written. |
|
inline |
Set camera direction.
ax | x direction. |
ay | y direction. |
az | z direction. |
Definition at line 345 of file Viewer3D.h.
References DGtal::Viewer3D< TSpace, TKSpace >::camera_direction.
|
inline |
Set camera position.
ax | x position. |
ay | y position. |
az | z position. |
Definition at line 334 of file Viewer3D.h.
References DGtal::Viewer3D< TSpace, TKSpace >::camera_position.
|
inline |
Set camera up-vector.
ax | x coordinate of up-vector. |
ay | y coordinate of up-vector. |
az | z coordinate of up-vector. |
Definition at line 356 of file Viewer3D.h.
References DGtal::Viewer3D< TSpace, TKSpace >::camera_upVector.
|
inline |
Sets the extension ext to the viewer. The object is acquired by the viewer and should be dynamically allocated.
ext | any dynamically allocated object deriving from Extension. |
Definition at line 312 of file Viewer3D.h.
References DGtal::Viewer3D< TSpace, TKSpace >::myExtension.
void DGtal::Viewer3D< TSpace, TKSpace >::setGLDoubleRenderingMode | ( | bool | doubleSidedRendering | ) |
Changes the light rendering mode (GL_LIGHT_MODEL_TWO_SIDE) for single face primitives (polygons, quads or triangles). It will have no effect for cube or ball primitive which will be always rendered with single face.
[in] | doubleSidedRendering | if true (resp. false) the double (resp. single) rendering mode will be activated for polygons, quads and triangles. |
void DGtal::Viewer3D< TSpace, TKSpace >::setGLLightAmbientCoefficients | ( | const GLfloat | lightAmbientCoeffs[4] | ) |
Change the light ambient coefficients used in opengl rendering (used in glLightfv with GL_AMBIENT parameters).
[in] | lightAmbientCoeffs | the values of specular coefficient of RGBA channels (defined in [0,1], default: {0.0,0.0,0.0,1.0}). |
void DGtal::Viewer3D< TSpace, TKSpace >::setGLLightDiffuseCoefficients | ( | const GLfloat | lightDiffuseCoeffs[4] | ) |
Change the material ambient coefficients used in opengl rendering (used in glMaterialf with GL_AMBIENT parameters).
[in] | lightDiffuseCoeffs | the values of specular coefficient of RGBA channels (defined in [0,1], default: {1.0,1.0,1.0,1.0}). |
void DGtal::Viewer3D< TSpace, TKSpace >::setGLLightSpecularCoefficients | ( | const GLfloat | lightSpecularCoeffs[4] | ) |
Change the light specular coefficients used in opengl rendering (used in glLightfv with GL_SPECULAR parameters).
[in] | lightSpecularCoeffs | the values of specular coefficient of RGBA channels (defined in [0,1], default: {1.0,1.0,1.0,1.0}). |
void DGtal::Viewer3D< TSpace, TKSpace >::setGLMaterialShininessCoefficient | ( | const GLfloat | matShininessCoeff | ) |
Change the light shininess coefficients used in opengl rendering (used in glMaterialf with GL_SPECULAR parameters).
[in] | matShininessCoeff | the value of the shininess coefficient (defined in [0, 128], default 50.0). |
|
inline |
Set the open gl scale of x,y,z axis. It doesn't change the geometry of anything, it is just visualisation parameter (useful to produce more realistic 3D volume display)
sx | the scale on the x axis. |
sy | the scale on the y axis. |
sz | the scale on the z axis. |
Definition at line 380 of file Viewer3D.h.
References DGtal::Viewer3D< TSpace, TKSpace >::myGLScaleFactorX, DGtal::Viewer3D< TSpace, TKSpace >::myGLScaleFactorY, and DGtal::Viewer3D< TSpace, TKSpace >::myGLScaleFactorZ.
|
inline |
Change the light position mode (attached to camera or to the scence).
fixedToCam | if true (resp. false) the light position will be attached to the camera (resp. scene). |
verbose | is set to true, it will display the current mode on the viewer. |
Definition at line 971 of file Viewer3D.h.
References DGtal::Viewer3D< TSpace, TKSpace >::myLightPositionFixToCamera, DGtal::Viewer3D< TSpace, TKSpace >::updateLightCoordsFromCamera(), and DGtal::Viewer3D< TSpace, TKSpace >::updateRelativeCameraFromLightPosition().
|
inline |
Set near and far distance, too near or too far end up not visible.
_near | near distance. |
_far | far distance. |
Definition at line 366 of file Viewer3D.h.
References DGtal::Viewer3D< TSpace, TKSpace >::ZFar, and DGtal::Viewer3D< TSpace, TKSpace >::ZNear.
void DGtal::Viewer3D< TSpace, TKSpace >::setUseGLPointForBalls | ( | bool | useOpenGLPt | ) |
Change the primitive to display ball (OpenGl points instead balls created with quads).
[in] | useOpenGLPt | if true all points will be displayed with OpenGl points instead the default balls (defined from quads). |
|
virtual |
Overload QWidget method in order to add a call to updateList() method (to ensure that the lists are well created in the particular case where show() is called at the end of the program).
Referenced by laplacian(), main(), TEST_CASE(), and testLocalConvolutionNormalVectorEstimator().
void DGtal::Viewer3D< TSpace, TKSpace >::sortPolygonFromCamera | ( | ) |
Sort all polygons from the camera.
void DGtal::Viewer3D< TSpace, TKSpace >::sortQuadFromCamera | ( | ) |
Sort all triangle from the camera.
void DGtal::Viewer3D< TSpace, TKSpace >::sortSurfelFromCamera | ( | ) |
Sort all surfels from the camera.
void DGtal::Viewer3D< TSpace, TKSpace >::sortTriangleFromCamera | ( | ) |
Sort all triangle from the camera.
void DGtal::Viewer3D< TSpace, TKSpace >::translateAn2DDomain | ( | unsigned int | domainIndex, |
double | xTranslation, | ||
double | yTranslation, | ||
double | zTranslation ) |
translate a 2D domain
domainIndex | the index of the domain in the list |
xTranslation | x part of the translation vector |
yTranslation | y part of the translation vector |
zTranslation | z part of the translation vector |
void DGtal::Viewer3D< TSpace, TKSpace >::updateAn2DDomainOrientation | ( | unsigned int | imageIndex, |
double | xPosition, | ||
double | yPosition, | ||
double | zPosition, | ||
ImageDirection | newDirection ) |
update a 2D domain orientation
imageIndex | index of the image in the list |
xPosition | the x position |
yPosition | the y position |
zPosition | the z position |
newDirection | the new direction |
void DGtal::Viewer3D< TSpace, TKSpace >::updateEmbeddingTextureImage | ( | unsigned int | anImageIndex, |
typename Space::Point | aPoint1, | ||
typename Space::Point | aPoint2, | ||
typename Space::Point | aPoint3, | ||
typename Space::Point | aPoint4 ) |
Update the vertex coordinates of the image embedded in 3D.
anImageIndex | corresponds to the chronoloigic index given by the fuction (addTextureImage). |
aPoint1 | the new first point position embedded in 3D associated the lower point of the 2D image. |
aPoint2 | the new second point position embedded in 3D (in CCW order). |
aPoint3 | the new third point position embedded in 3D associated the upper point of the 2D image. |
aPoint4 | the new fourth point position embedded in 3D (in CCW order). |
|
private |
Updates the light source coordinates (myLightPosition) from the camera relative coordinates (myLightPositionRefCamera). It could be useful when the light source position is fix according to camera position.
Referenced by DGtal::Viewer3D< TSpace, TKSpace >::setLightModeFixToCamera().
void DGtal::Viewer3D< TSpace, TKSpace >::updateList | ( | bool | needToUpdateBoundingBox = true | ) |
Permit to update the OpenGL list to be displayed. Need to called after a number of addVoxel or after a sortSurfelFromCamera().
needToUpdateBoundingBox | flag to update the bounding box |
void DGtal::Viewer3D< TSpace, TKSpace >::updateOrientationTextureImage | ( | unsigned int | imageIndex, |
double | xPosition, | ||
double | yPosition, | ||
double | zPosition, | ||
ImageDirection | newDirection ) |
Update the image parameters from std image (image buffer, vertex coordinates) The new image should be with same dimension than the original.
imageIndex | corresponds to the chronoloigic index given by the fuction (addTextureImage). |
xPosition | the image translation in the x direction (default 0). |
yPosition | the image translation in the y direction (default 0). |
zPosition | the image translation in the z direction (default 0). |
newDirection | a new direction |
|
private |
Updates the camera relative light source coordinates (myLightPositionRefCamera) from the scene light coordinates (myLightPosition). It could be useful when the light source position is fix in the main scene.
Referenced by DGtal::Viewer3D< TSpace, TKSpace >::setLightModeFixToCamera().
void DGtal::Viewer3D< TSpace, TKSpace >::updateRenderingCoefficients | ( | const RenderingMode | aRenderMode, |
bool | displayState = true ) |
Change the current rendering mode of the viewer.
[in] | aRenderMode | the mode of the rendering. |
[in] | displayState | if true (default) the viewer will display the current rendering mode. |
void DGtal::Viewer3D< TSpace, TKSpace >::updateTextureImage | ( | unsigned int | imageIndex, |
const TImageType & | image, | ||
const TFunctor & | aFunctor, | ||
double | xTranslation = 0.0, | ||
double | yTranslation = 0.0, | ||
double | zTranslation = 0.0, | ||
double | rotationAngle = 0.0, | ||
ImageDirection | rotationDir = zDirection ) |
Update the image parameters from std image (image buffer, vertex coordinates) The new image should be with same dimension than the original.
imageIndex | corresponds to the chronoloigic index given by the fuction (addTextureImage). |
image | the new image containing the new buffer (with same dimensions than the other image). |
aFunctor | a functor |
xTranslation | the image translation in the x direction (default 0). |
yTranslation | the image translation in the y direction (default 0). |
zTranslation | the image translation in the z direction (default 0). |
rotationAngle | the angle of rotation. |
rotationDir | the rotation is applied around the given direction. |
|
private |
camera direction
Definition at line 1640 of file Viewer3D.h.
Referenced by DGtal::Viewer3D< TSpace, TKSpace >::setCameraDirection().
|
private |
camera position
Definition at line 1639 of file Viewer3D.h.
Referenced by DGtal::Viewer3D< TSpace, TKSpace >::setCameraPosition().
|
private |
camera up-vector
Definition at line 1641 of file Viewer3D.h.
Referenced by DGtal::Viewer3D< TSpace, TKSpace >::setCameraUpVector().
bool DGtal::Viewer3D< TSpace, TKSpace >::myAutoSaveState |
flag to save automatically or not the Viewer3d state when closing the viewer
to improve the display of gl line
Definition at line 485 of file Viewer3D.h.
|
private |
Definition at line 1610 of file Viewer3D.h.
|
private |
Definition at line 1617 of file Viewer3D.h.
|
private |
Definition at line 1616 of file Viewer3D.h.
DGtal::Color DGtal::Viewer3D< TSpace, TKSpace >::myDefaultBackgroundColor |
the default background color of the viewer
Definition at line 475 of file Viewer3D.h.
DGtal::Color DGtal::Viewer3D< TSpace, TKSpace >::myDefaultColor |
the default color of the viewer
Definition at line 477 of file Viewer3D.h.
|
private |
Definition at line 1657 of file Viewer3D.h.
|
private |
Definition at line 1656 of file Viewer3D.h.
|
private |
Definition at line 1631 of file Viewer3D.h.
|
private |
Definition at line 1631 of file Viewer3D.h.
|
private |
Stored a possible extension to the viewer (pointer owned).
Definition at line 1689 of file Viewer3D.h.
Referenced by DGtal::Viewer3D< TSpace, TKSpace >::removeExtension(), and DGtal::Viewer3D< TSpace, TKSpace >::setExtension().
double DGtal::Viewer3D< TSpace, TKSpace >::myGLLineMinWidth = 1.5 |
to improve the display of gl points
Definition at line 483 of file Viewer3D.h.
double DGtal::Viewer3D< TSpace, TKSpace >::myGLPointMinWidth = 1.5 |
Definition at line 482 of file Viewer3D.h.
|
private |
Definition at line 1674 of file Viewer3D.h.
Referenced by DGtal::Viewer3D< TSpace, TKSpace >::setGLScale().
|
private |
Definition at line 1675 of file Viewer3D.h.
Referenced by DGtal::Viewer3D< TSpace, TKSpace >::setGLScale().
|
private |
Definition at line 1676 of file Viewer3D.h.
Referenced by DGtal::Viewer3D< TSpace, TKSpace >::setGLScale().
|
private |
flag to display the ligth source when it is moved by the user
Used to store all displayed images
Definition at line 1685 of file Viewer3D.h.
|
private |
Used to store all the domains.
Definition at line 1687 of file Viewer3D.h.
bool DGtal::Viewer3D< TSpace, TKSpace >::myIsBackgroundDefault |
true if the background is default
Definition at line 479 of file Viewer3D.h.
|
private |
true if is double face rendering
Definition at line 1637 of file Viewer3D.h.
|
private |
the reference mouse y-position used to determince the light position change (inclination)
Definition at line 1682 of file Viewer3D.h.
|
private |
Definition at line 1659 of file Viewer3D.h.
|
private |
Definition at line 1658 of file Viewer3D.h.
|
private |
Definition at line 1653 of file Viewer3D.h.
|
private |
Definition at line 1654 of file Viewer3D.h.
|
private |
the light position (inclination)
Definition at line 1645 of file Viewer3D.h.
|
private |
the light position (distance)
Definition at line 1647 of file Viewer3D.h.
|
private |
Definition at line 1643 of file Viewer3D.h.
Referenced by DGtal::Viewer3D< TSpace, TKSpace >::setLightModeFixToCamera().
|
private |
Definition at line 1649 of file Viewer3D.h.
|
private |
Definition at line 1648 of file Viewer3D.h.
|
private |
the light position (azimuth)
Definition at line 1646 of file Viewer3D.h.
|
private |
Definition at line 1652 of file Viewer3D.h.
|
private |
Definition at line 1644 of file Viewer3D.h.
|
private |
Definition at line 1679 of file Viewer3D.h.
|
private |
Definition at line 1609 of file Viewer3D.h.
|
private |
Definition at line 1650 of file Viewer3D.h.
|
private |
Definition at line 1651 of file Viewer3D.h.
|
private |
Definition at line 1671 of file Viewer3D.h.
|
private |
Definition at line 1661 of file Viewer3D.h.
|
private |
Definition at line 1660 of file Viewer3D.h.
|
private |
Definition at line 1623 of file Viewer3D.h.
|
private |
Definition at line 1622 of file Viewer3D.h.
|
private |
number of lists in myListToAff
Definition at line 1621 of file Viewer3D.h.
|
private |
Definition at line 1624 of file Viewer3D.h.
|
private |
information linked to the navigation in the viewer
Definition at line 1631 of file Viewer3D.h.
|
private |
Definition at line 1663 of file Viewer3D.h.
|
private |
Definition at line 1662 of file Viewer3D.h.
|
private |
Definition at line 1606 of file Viewer3D.h.
|
private |
Definition at line 1607 of file Viewer3D.h.
|
private |
a point selected with postSelection
Definition at line 1633 of file Viewer3D.h.
|
private |
Definition at line 1611 of file Viewer3D.h.
|
private |
Definition at line 1613 of file Viewer3D.h.
|
private |
Definition at line 1614 of file Viewer3D.h.
|
private |
the angle rotation increment used for interactive light move
Definition at line 1680 of file Viewer3D.h.
|
private |
the reference mouse x-position used to determince the light position change (azimuth)
Definition at line 1681 of file Viewer3D.h.
RenderingMode DGtal::Viewer3D< TSpace, TKSpace >::myRenderingMode = RenderingDefault |
Definition at line 487 of file Viewer3D.h.
|
private |
used to displayed selected elements
Definition at line 1627 of file Viewer3D.h.
|
private |
Definition at line 1631 of file Viewer3D.h.
|
private |
Definition at line 1628 of file Viewer3D.h.
|
private |
lists of the list to draw
Definition at line 1603 of file Viewer3D.h.
|
private |
Definition at line 1604 of file Viewer3D.h.
|
private |
Definition at line 1665 of file Viewer3D.h.
|
private |
list of the images textures in this viewer
Definition at line 1635 of file Viewer3D.h.
bool DGtal::Viewer3D< TSpace, TKSpace >::myViewWire |
objects have shadows which follow the camera if false
Definition at line 481 of file Viewer3D.h.
|
private |
zfar distance
Definition at line 1668 of file Viewer3D.h.
Referenced by DGtal::Viewer3D< TSpace, TKSpace >::setNearFar().
|
private |
znear distance
Definition at line 1667 of file Viewer3D.h.
Referenced by DGtal::Viewer3D< TSpace, TKSpace >::setNearFar().