Visual Servoing Platform  version 3.6.1 under development (2024-07-15)
vpDisplayFactory Namespace Reference

Functions

vpDisplaydisplayFactory ()
 
template<typename T >
vpDisplaydisplayFactory (vpImage< T > &I)
 
template<typename T >
vpDisplaydisplayFactory (vpImage< T > &I, vpDisplay::vpScaleType scale_type)
 

Function Documentation

◆ displayFactory() [1/3]

vpDisplay* vpDisplayFactory::displayFactory ( )

Return a newly allocated vpDisplay specialization if a GUI library is available or nullptr otherwise.

Returns
A newly allocated vpDisplay specialization if a GUI library is available or nullptr otherwise.
Examples
mbot-apriltag-ibvs.cpp, mbot-apriltag-pbvs.cpp, tutorial-draw-circle.cpp, tutorial-grabber-1394-writer.cpp, tutorial-grabber-v4l2-threaded.cpp, tutorial-video-reader.cpp, and tutorial-video-recorder.cpp.

Definition at line 59 of file vpDisplayFactory.h.

◆ displayFactory() [2/3]

template<typename T >
vpDisplay* vpDisplayFactory::displayFactory ( vpImage< T > &  I)

Return a newly allocated vpDisplay specialization initialized with I if a GUI library is available or nullptr otherwise.

Template Parameters
T: Any type that an image can handle and that can be displayed.
Parameters
[in]I: The image the display must be initialized with.
Returns
A newly allocated vpDisplay specialization initialized with I if a GUI library is available or nullptr otherwise.

Definition at line 89 of file vpDisplayFactory.h.

◆ displayFactory() [3/3]

template<typename T >
vpDisplay* vpDisplayFactory::displayFactory ( vpImage< T > &  I,
vpDisplay::vpScaleType  scale_type 
)

Return a newly allocated vpDisplay specialization initialized with I if a GUI library is available or nullptr otherwise.

Template Parameters
T: Any type that an image can handle and that can be displayed.
Parameters
[in]I: The image the display must be initialized with.
[in]scale_type: If this parameter is set to:
Returns
A newly allocated vpDisplay specialization initialized with I if a GUI library is available or nullptr otherwise.

Definition at line 127 of file vpDisplayFactory.h.