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 );
128 virtual GLS_EXPORT
int AlphaMode(
void );
129 virtual GLS_EXPORT
void AntiAlias(
bool alias );
130 virtual GLS_EXPORT
bool AntiAlias(
void );
137 virtual GLS_EXPORT
int DepthTest(
void );
138 virtual GLS_EXPORT
void DepthTest(
int zbuf );
145 virtual GLS_EXPORT
float LineWidth(
void );
146 virtual GLS_EXPORT
void LineWidth(
float width );
152 virtual GLS_EXPORT
void PolygonEnd(
const int end );
153 virtual GLS_EXPORT
int PolygonOffset(
void )
const;
154 virtual GLS_EXPORT
void PolygonOffset(
const int offset );
155 virtual GLS_EXPORT
int Shading(
void );
156 virtual GLS_EXPORT
void Shading(
const int shading );
158 virtual GLS_EXPORT
void TextureIndex(
int textureIndex );
170 virtual GLS_EXPORT
void Calculate(
double time );
172 virtual GLS_EXPORT
void CalculateBoundingBox(
void );
187 virtual GLS_EXPORT
void Draw();
189 virtual GLS_EXPORT
void GetExtents(
float& x,
float& y,
float& z,
float& x1,
float& y1,
float& z1 );
197 virtual GLS_EXPORT
void Init();
202 const Vector& logicalCoords,
204 const Vector& directionVector,
221 GLS_EXPORT
void SetValue(
int spec, va_list& args );
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 AlphaMode(void)
virtual void PreDraw(const OpenGLMatrices ¤t, Culler &culler)
#define DISTI_DEPRECATED(msg)
Defines whether this compiler supports the C++14 deprecated attribute.
Definition: gls_cpp_lang_support.h:436
virtual void CreateObjects()
virtual int MaterialIndex()
The disti::ComponentBase class.
virtual int TextureMagnificationFilter(void)
Definition: rso_interface_5.h:64
virtual void UpdateBoundingVolume(void)
virtual void GetTransformedExtents(Vector &min, Vector &max, const GlsMatrixType &matrix, bool resetMinMax=true)
int HandleEmittedEvent(RsoImplBaseInterface::Event *ev)
Definition: dynamic_array.h:66
virtual void Rotate(const Vector &orig, float angle, const Vector &axis)
Class to contain current OpenGL view, projection and draw matrices.
Definition: util.h:296
virtual int DepthTest(void)
virtual void Invalidate() override
virtual int TextureMinificationFilter(void)
virtual float LineWidth(void)
virtual InterfaceListType * GetCppInterfaceDescription(InterfaceListType *addToThisList=NULL)
virtual int TextureMappingTechnique(void)
virtual int TextureIndex(void)
void ChangeRSO(RsoImplBaseInterface *rso, bool deleteCurrent=true)
virtual DisplayObject * Pick3D(const Vector &winLoc, const Vector &logicalCoords, float scale, const Vector &directionVector, Vector &collisionWinLoc, const OpenGLMatrices &drawnMatrices)
virtual GlsColor GetBlendColor()
MultitouchState
Definition: gls_rso_wrapper.h:236
virtual void SetBlendColor(const GlsColor &color)
virtual int Shading(void)
Definition: component_base.h:67
Definition: gls_painter.h:51
Definition: rso_interface_1.h:302
GlsRSOWrapper(RsoImplBaseInterface *rso, unsigned int RSOVersion)
virtual void CopyProperties(DisplayObject *src)
virtual DisplayObject * HandleMultiTouchInput(MouseEvent *mev)
virtual void Calculate(double time)
virtual DisplayObject * handle(DisplayEvent *ev)
void SetValue(int spec, va_list &args)
virtual int LineStippleMultiplier(void)
virtual void SetColor(const GlsColor &color)
Definition: rso_interface_1.h:60
RsoImplBaseInterface * RSOInterface()
Definition: disti_metadata.h:186
Definition: gls_color.h:53
virtual DisplayObject * CloneObject(bool generateNames=false)
virtual void SetPainter(GlsPainter *painter) override
virtual DistiAttributeBase & Resource(const char *name)
virtual void GetResources(std::ostream &outstr, GlsResourceFilter *filter=NULL)
virtual int PolygonEnd(void)
virtual int PolygonMode(void)
virtual void GetExtents(float &x, float &y, float &z, float &x1, float &y1, float &z1)
virtual void CopyGeometry(DisplayObject *src)
virtual void GetCppInterfaceDescriptionFree(InterfaceListType *array)
virtual float Scale(void)
Definition: display_frame.h:135
virtual DisplayObject * HandleInput(DisplayEvent *ev)
virtual void DeleteInstance()
const char * LastEmittedEventInitiatorName() const
virtual int LineStipplePattern(void)
virtual bool AntiAlias(void)
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
static GlsRSOWrapper * CreateInstance(RsoImplBaseInterface *rso, unsigned int RSOVersion)
virtual GlsColor GetColor()
virtual bool LightingEnabled()
Definition: bmpimage.h:46
Defines the RSO interface v5, which extends v4 to add conditional rendering support.
virtual void Initialize()
virtual bool CullBackFace(void)
virtual bool TextureRepeat(void)