29 #ifndef NVXIO_RENDER3D_HPP
30 #define NVXIO_RENDER3D_HPP
36 #include <NVXIO/Export.hpp>
135 virtual void setOnKeyboardEventCallback(OnKeyboardEventCallback callback,
void* context) = 0;
141 virtual void setOnMouseEventCallback(OnMouseEventCallback callback,
void* context) = 0;
166 virtual bool flush() = 0;
171 virtual void close() = 0;
178 virtual void setViewMatrix(
vx_matrix view) = 0;
185 virtual void getViewMatrix(
vx_matrix view)
const = 0;
192 virtual void setProjectionMatrix(
vx_matrix projection) = 0;
198 virtual void getProjectionMatrix(
vx_matrix projection)
const = 0;
204 virtual void setDefaultFOV(
float fov) = 0;
211 virtual void enableDefaultKeyboardEventCallback() = 0;
215 virtual void disableDefaultKeyboardEventCallback() = 0;
220 virtual bool useDefaultKeyboardEventCallback() = 0;
237 virtual void putImage(
vx_image image) = 0;
struct _vx_image * vx_image
An opaque reference to an image.
NVXIO_EXPORT std::unique_ptr< Render3D > createDefaultRender3D(vx_context context, int xPos, int yPos, const std::string &title, vx_uint32 width, vx_uint32 height)
Creates Render3D.
const TargetType targetType
vx_float32 maxDistance
Holds the maximal distance that a point can have.
struct _vx_array * vx_array
The Array Object. Array is a strongly-typed container for other data structures.
TargetType
Defines Render3D types.
Render3D(TargetType type=Render3D::UNKNOWN_RENDER, const std::string &name="Undefined")
vx_float32 minDistance
Holds the minimal distance that a plane can have.
vx_float32 maxDistance
Holds the maximal distance that a plane can have.
Indicates the left mouse button has been pressed down.
char vx_char
An 8 bit ASCII character.
float vx_float32
A 32-bit float value.
Holds the point cloud style.
struct _vx_context * vx_context
An opaque reference to the implementation context.
Indicates a middle mouse button has been pressed down.
Indicates the middle mouse button has been released.
Indicates the right mouse button has been released.
virtual ~Render3D()
Destructor.
The Render interface and utility functions.
The top level OpenVX Header.
MouseButtonEvent
Defines mouse events.
const std::string renderName
Indicates the left mouse button has been released.
Defines the text box parameters.
uint32_t vx_uint32
A 32-bit unsigned value.
vx_float32 minDistance
Holds the minimal distance that a point can have.
struct _vx_matrix * vx_matrix
The Matrix Object. An MxN matrix of some unit type.
Indicates the right mouse button has been pressed down.