40 #ifndef _GLS_RSO_WRAPPER_H
41 #define _GLS_RSO_WRAPPER_H
46 # include "rso_interface_es_2.h"
48 typedef disti::RSOInterfaceES2::RSOPainter
RSOPainterT;
59 class AttributeWrapperMap;
60 class EmittedEventHandlerImpl;
70 DISTI_DEPRECATED(
"This identifier is forbidden by the C++ standard. Use BaseClass instead." )
127 virtual GLS_EXPORT
void AlphaMode(
int mode ) DISTI_METHOD_OVERRIDE;
128 virtual GLS_EXPORT
int AlphaMode(
void ) DISTI_METHOD_OVERRIDE;
129 virtual GLS_EXPORT
void AntiAlias(
bool alias ) DISTI_METHOD_OVERRIDE;
130 virtual GLS_EXPORT
bool AntiAlias(
void ) DISTI_METHOD_OVERRIDE;
134 virtual GLS_EXPORT
void SetColor( const
GlsColor& color ) DISTI_METHOD_OVERRIDE;
135 virtual GLS_EXPORT
void CullBackFace( const
bool val ) DISTI_METHOD_OVERRIDE;
136 virtual GLS_EXPORT
bool CullBackFace(
void ) DISTI_METHOD_OVERRIDE;
137 virtual GLS_EXPORT
int DepthTest(
void ) DISTI_METHOD_OVERRIDE;
138 virtual GLS_EXPORT
void DepthTest(
unsigned char zbuf ) DISTI_METHOD_OVERRIDE;
140 virtual GLS_EXPORT
void LightingEnabled(
bool lighting ) DISTI_METHOD_OVERRIDE;
145 virtual GLS_EXPORT
float LineWidth(
void ) DISTI_METHOD_OVERRIDE;
146 virtual GLS_EXPORT
void LineWidth(
float width ) DISTI_METHOD_OVERRIDE;
147 virtual GLS_EXPORT
int MaterialIndex() DISTI_METHOD_OVERRIDE;
148 virtual GLS_EXPORT
void MaterialIndex(
int index ) DISTI_METHOD_OVERRIDE;
149 virtual GLS_EXPORT
int PolygonMode(
void ) DISTI_METHOD_OVERRIDE;
150 virtual GLS_EXPORT
void PolygonMode(
int mode ) DISTI_METHOD_OVERRIDE;
151 virtual GLS_EXPORT
int PolygonEnd(
void ) DISTI_METHOD_OVERRIDE;
152 virtual GLS_EXPORT
void PolygonEnd( const
int end ) DISTI_METHOD_OVERRIDE;
153 virtual GLS_EXPORT
int PolygonOffset(
void ) const DISTI_METHOD_OVERRIDE;
154 virtual GLS_EXPORT
void PolygonOffset( const
int offset ) DISTI_METHOD_OVERRIDE;
155 virtual GLS_EXPORT
int Shading(
void ) DISTI_METHOD_OVERRIDE;
156 virtual GLS_EXPORT
void Shading( const
int shading ) DISTI_METHOD_OVERRIDE;
157 virtual GLS_EXPORT
int TextureIndex(
void ) DISTI_METHOD_OVERRIDE;
158 virtual GLS_EXPORT
void TextureIndex(
int textureIndex ) DISTI_METHOD_OVERRIDE;
159 virtual GLS_EXPORT
bool TextureRepeat(
void ) DISTI_METHOD_OVERRIDE;
160 virtual GLS_EXPORT
void TextureRepeat( const
int rep ) DISTI_METHOD_OVERRIDE;
170 virtual GLS_EXPORT
void Calculate(
double time ) DISTI_METHOD_OVERRIDE;
172 virtual GLS_EXPORT
void CalculateBoundingBox(
void ) DISTI_METHOD_OVERRIDE;
185 virtual GLS_EXPORT
void CreateObjects() DISTI_METHOD_OVERRIDE;
187 virtual GLS_EXPORT
void Draw() DISTI_METHOD_OVERRIDE;
189 virtual GLS_EXPORT
void GetExtents(
float& x,
float& y,
float& z,
float& x1,
float& y1,
float& z1 ) DISTI_METHOD_OVERRIDE;
197 virtual GLS_EXPORT
void Init() DISTI_METHOD_OVERRIDE;
199 virtual GLS_EXPORT
void Initialize() DISTI_METHOD_OVERRIDE;
202 const
Vector& logicalCoords,
204 const
Vector& directionVector,
221 GLS_EXPORT
void SetValue(
int spec, va_list& args ) DISTI_METHOD_OVERRIDE;
224 virtual
void GLS_EXPORT
Invalidate() DISTI_METHOD_OVERRIDE;
239 PROCESSING_MOUSE_DRAG,
240 WAITING_FOR_MOUSE_DOWN
244 AttributeWrapperMap* _attributeWrapperMap;
245 EmittedEventHandlerImpl* _rsoEmittedEventHandler;
246 char* _lastEmittedEventInitiatorName;
248 unsigned int _currentCursor;
249 unsigned int _rsoVersion;
virtual int PolygonMode(void) override
virtual DisplayObject * HandleInput(DisplayEvent *ev) override
#define DISTI_DEPRECATED(msg)
Defines whether this compiler supports the C++14 deprecated attribute.
Definition: gls_cpp_lang_support.h:436
The disti::ComponentBase class.
Definition: rso_interface_5.h:64
virtual int LineStipplePattern(void) override
virtual int LineStippleMultiplier(void) override
int HandleEmittedEvent(RsoImplBaseInterface::Event *ev)
Definition: dynamic_array.h:66
Class to contain current OpenGL view, projection and draw matrices.
Definition: util.h:473
virtual int PolygonEnd(void) override
virtual GlsColor GetColor() override
virtual void Invalidate() override
virtual int TextureMagnificationFilter(void) override
virtual bool AntiAlias(void) override
virtual void Init() override
virtual InterfaceListType * GetCppInterfaceDescription(InterfaceListType *addToThisList=NULL) override
virtual int MaterialIndex() override
virtual void GetResources(std::ostream &outstr, GlsResourceFilter *filter=NULL) override
virtual void Draw() override
virtual void CreateObjects() override
virtual float LineWidth(void) override
virtual int TextureMappingTechnique(void) override
void ChangeRSO(RsoImplBaseInterface *rso, bool deleteCurrent=true)
virtual void GetCppInterfaceDescriptionFree(InterfaceListType *array) override
MultitouchState
Definition: gls_rso_wrapper.h:236
virtual DisplayObject * CloneObject(bool generateNames=false) override
Definition: component_base.h:67
Definition: gls_painter.h:51
Definition: rso_interface_1.h:302
GlsRSOWrapper(RsoImplBaseInterface *rso, unsigned int RSOVersion)
virtual DisplayObject * HandleMultiTouchInput(MouseEvent *mev)
virtual DistiAttributeBase & Resource(const char *name) override
virtual void SetBlendColor(const GlsColor &color) override
virtual void SetColor(const GlsColor &color) override
Definition: rso_interface_1.h:60
RsoImplBaseInterface * RSOInterface()
Definition: disti_metadata.h:186
virtual int TextureMinificationFilter(void) override
void SetValue(int spec, va_list &args) override
Definition: gls_color.h:53
virtual bool CullBackFace(void) override
virtual void SetPainter(GlsPainter *painter) override
virtual bool LightingEnabled() override
virtual int AlphaMode(void) override
virtual void UpdateBoundingVolume(void) override
virtual bool TextureRepeat(void) override
virtual void PreDraw(const OpenGLMatrices ¤t, Culler &culler) override
virtual float Scale(void)
Definition: display_frame.h:135
virtual void Rotate(const Vector &orig, float angle, const Vector &axis) override
virtual void DeleteInstance()
const char * LastEmittedEventInitiatorName() const
virtual DisplayObject * handle(DisplayEvent *ev) override
virtual int Shading(void) override
virtual int DepthTest(void) override
unsigned int GetRSOVersion() const
Definition: gls_rso_wrapper.h:111
Definition: gls_rso_wrapper.h:66
Definition: gls_resources.h:50
bool AbsolutePlacement() const
Definition: component_base.h:125
virtual void GetExtents(float &x, float &y, float &z, float &x1, float &y1, float &z1) override
virtual void CopyGeometry(DisplayObject *src) override
virtual DisplayObject * Pick3D(const Vector &winLoc, const Vector &logicalCoords, float scale, const Vector &directionVector, Vector &collisionWinLoc, const OpenGLMatrices &drawnMatrices) override
virtual void Initialize() override
static GlsRSOWrapper * CreateInstance(RsoImplBaseInterface *rso, unsigned int RSOVersion)
virtual void GetTransformedExtents(Vector &min, Vector &max, const GlsMatrixType &matrix, bool resetMinMax=true) override
Definition: bmpimage.h:46
virtual void Calculate(double time) override
virtual void CopyProperties(DisplayObject *src) override
Defines the RSO interface v5, which extends v4 to add conditional rendering support.
virtual GlsColor GetBlendColor() override
virtual int TextureIndex(void) override