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;
125 virtual GLS_EXPORT
void AlphaMode(
int mode );
126 virtual GLS_EXPORT
int AlphaMode(
void );
127 virtual GLS_EXPORT
void AntiAlias(
bool alias );
128 virtual GLS_EXPORT
bool AntiAlias(
void );
135 virtual GLS_EXPORT
int DepthTest(
void );
136 virtual GLS_EXPORT
void DepthTest(
int zbuf );
143 virtual GLS_EXPORT
float LineWidth(
void );
144 virtual GLS_EXPORT
void LineWidth(
float width );
151 virtual GLS_EXPORT
int PolygonOffset(
void )
const;
152 virtual GLS_EXPORT
void PolygonOffset(
const int offset );
153 virtual GLS_EXPORT
int Shading(
void );
154 virtual GLS_EXPORT
void Shading(
const int shading );
156 virtual GLS_EXPORT
void TextureIndex(
int textureIndex );
168 virtual GLS_EXPORT
void Calculate(
double time );
170 virtual GLS_EXPORT
void CalculateBoundingBox(
void );
185 virtual GLS_EXPORT
void Draw();
187 virtual GLS_EXPORT
void GetExtents(
float& x,
float& y,
float& z,
float& x1,
float& y1,
float& z1 );
195 virtual GLS_EXPORT
void Init();
200 const Vector& logicalCoords,
202 const Vector& directionVector,
219 GLS_EXPORT
void SetValue(
int spec, va_list& args );
222 virtual void GLS_EXPORT
Invalidate() DISTI_METHOD_OVERRIDE;
237 PROCESSING_MOUSE_DRAG,
238 WAITING_FOR_MOUSE_DOWN
242 AttributeWrapperMap* _attributeWrapperMap;
243 EmittedEventHandlerImpl* _rsoEmittedEventHandler;
244 char* _lastEmittedEventInitiatorName;
246 unsigned int _currentCursor;
247 unsigned int _rsoVersion;
virtual int AlphaMode(void)
virtual void PreDraw(const OpenGLMatrices ¤t, Culler &culler)
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)
virtual void SetPainter(GlsPainter *painter)
int HandleEmittedEvent(RsoImplBaseInterface::Event *ev)
Definition: dynamic_array.h:62
virtual void Rotate(const Vector &orig, float angle, const Vector &axis)
Class to contain current OpenGL view, projection and draw matrices.
Definition: util.h:301
virtual void Invalidate()
virtual int DepthTest(void)
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:234
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)
T * end(DynamicArray< T, TypeIsSimple > &array)
Overload end() so that range-for loops and other constructs work with DynamicArray.
Definition: dynamic_array.h:450
Definition: rso_interface_1.h:60
RsoImplBaseInterface * RSOInterface()
Definition: disti_metadata.h:182
Definition: gls_color.h:53
virtual DisplayObject * CloneObject(bool generateNames=false)
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:109
Definition: gls_rso_wrapper.h:66
Definition: gls_resources.h:50
bool AbsolutePlacement() const
Definition: component_base.h:112
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)