AGX Dynamics 2.40.1.0
Loading...
Searching...
No Matches
agxOSG::Panel Class Referenceabstract

#include <PickHandler.h>

+ Inheritance diagram for agxOSG::Panel:

Public Member Functions

 Panel ()
 
 Panel (const agx::Vec2 &position, const agx::Vec2 &size, const agx::Vec4 &color)
 
agx::Vec4 getColor () const
 
const agx::Vec2getPosition () const
 
const agx::Vec2getSize () const
 
virtual bool isValid () const =0
 
virtual bool match (const void *obj) const =0
 
void setColor (const agx::Vec4 &color)
 
void setPosition (const agx::Vec2 &position)
 
void setSize (const agx::Vec2 &size)
 
virtual void uninitialize (osg::Group *sceneData)=0
 
virtual void update ()=0
 

Protected Member Functions

virtual ~Panel ()
 
void initialize ()
 

Protected Attributes

osg::ref_ptr< osg::Vec4Array > m_color
 
osg::ref_ptr< osg::Geometry > m_geometry
 
osg::ref_ptr< osg::DrawElementsUInt > m_indices
 
osg::ref_ptr< osg::Vec3Array > m_normals
 
agx::Vec2 m_position
 
agx::Vec2 m_size
 
osg::ref_ptr< osg::Vec3Array > m_vertices
 

Detailed Description

Definition at line 32 of file agxOSG/PickHandler.h.

Constructor & Destructor Documentation

◆ Panel() [1/2]

agxOSG::Panel::Panel ( )

◆ Panel() [2/2]

agxOSG::Panel::Panel ( const agx::Vec2 position,
const agx::Vec2 size,
const agx::Vec4 color 
)

◆ ~Panel()

virtual agxOSG::Panel::~Panel ( )
inlineprotectedvirtual

Definition at line 53 of file agxOSG/PickHandler.h.

Member Function Documentation

◆ getColor()

agx::Vec4 agxOSG::Panel::getColor ( ) const

◆ getPosition()

const agx::Vec2 & agxOSG::Panel::getPosition ( ) const
inline

Definition at line 39 of file agxOSG/PickHandler.h.

◆ getSize()

const agx::Vec2 & agxOSG::Panel::getSize ( ) const
inline

Definition at line 42 of file agxOSG/PickHandler.h.

References m_size.

◆ initialize()

void agxOSG::Panel::initialize ( )
protected

◆ isValid()

virtual bool agxOSG::Panel::isValid ( ) const
pure virtual

◆ match()

virtual bool agxOSG::Panel::match ( const void *  obj) const
pure virtual

◆ setColor()

void agxOSG::Panel::setColor ( const agx::Vec4 color)

◆ setPosition()

void agxOSG::Panel::setPosition ( const agx::Vec2 position)

◆ setSize()

void agxOSG::Panel::setSize ( const agx::Vec2 size)

◆ uninitialize()

virtual void agxOSG::Panel::uninitialize ( osg::Group *  sceneData)
pure virtual

◆ update()

virtual void agxOSG::Panel::update ( )
pure virtual

Member Data Documentation

◆ m_color

osg::ref_ptr<osg::Vec4Array> agxOSG::Panel::m_color
protected

Definition at line 63 of file agxOSG/PickHandler.h.

◆ m_geometry

osg::ref_ptr<osg::Geometry> agxOSG::Panel::m_geometry
protected

Definition at line 60 of file agxOSG/PickHandler.h.

◆ m_indices

osg::ref_ptr<osg::DrawElementsUInt> agxOSG::Panel::m_indices
protected

Definition at line 62 of file agxOSG/PickHandler.h.

◆ m_normals

osg::ref_ptr<osg::Vec3Array> agxOSG::Panel::m_normals
protected

Definition at line 64 of file agxOSG/PickHandler.h.

◆ m_position

agx::Vec2 agxOSG::Panel::m_position
protected

Definition at line 57 of file agxOSG/PickHandler.h.

◆ m_size

agx::Vec2 agxOSG::Panel::m_size
protected

Definition at line 58 of file agxOSG/PickHandler.h.

◆ m_vertices

osg::ref_ptr<osg::Vec3Array> agxOSG::Panel::m_vertices
protected

Definition at line 61 of file agxOSG/PickHandler.h.


The documentation for this class was generated from the following file: