MRPT logo

mrpt::opengl::CGridPlaneXZ Class Reference

A grid of lines over the XZ plane. More...

#include <mrpt/opengl/CGridPlaneXZ.h>

Inheritance diagram for mrpt::opengl::CGridPlaneXZ:

mrpt::opengl::CRenderizable mrpt::utils::CSerializable

List of all members.

Public Member Functions

void setPlaneLimits (float xmin, float xmax, float zmin, float zmax)
void getPlaneLimits (float &xmin, float &xmax, float &zmin, float &zmax) const
void setPlaneYcoord (float y)
float getPlaneYcoord () const
void setGridFrequency (float freq)
float getGridFrequency () const
void render () const
 Render.

Static Public Member Functions

static CGridPlaneXZPtr Create (float xMin=-10, float xMax=10, float zMin=-10, float zMax=10, float y=0, float frequency=1)
 Class factory.

Protected Attributes

float m_xMin
float m_xMax
float m_zMin
float m_zMax
float m_plane_y
float m_frequency

Private Member Functions

 CGridPlaneXZ (float xMin=-10, float xMax=10, float zMin=-10, float zMax=10, float y=0, float frequency=1)
 Constructor.
virtual ~CGridPlaneXZ ()
 Private, virtual destructor: only can be deleted from smart pointers.


Detailed Description

A grid of lines over the XZ plane.

See also:
opengl::COpenGLScene

Definition at line 46 of file CGridPlaneXZ.h.


Constructor & Destructor Documentation

mrpt::opengl::CGridPlaneXZ::CGridPlaneXZ ( float  xMin = -10,
float  xMax = 10,
float  zMin = -10,
float  zMax = 10,
float  y = 0,
float  frequency = 1 
) [inline, private]

Constructor.

Definition at line 98 of file CGridPlaneXZ.h.

virtual mrpt::opengl::CGridPlaneXZ::~CGridPlaneXZ (  )  [inline, private, virtual]

Private, virtual destructor: only can be deleted from smart pointers.

Definition at line 113 of file CGridPlaneXZ.h.


Member Function Documentation

static CGridPlaneXZPtr mrpt::opengl::CGridPlaneXZ::Create ( float  xMin = -10,
float  xMax = 10,
float  zMin = -10,
float  zMax = 10,
float  y = 0,
float  frequency = 1 
) [inline, static]

Class factory.

Definition at line 79 of file CGridPlaneXZ.h.

References mrpt::opengl::CGridPlaneXZ.

float mrpt::opengl::CGridPlaneXZ::getGridFrequency (  )  const [inline]

Definition at line 74 of file CGridPlaneXZ.h.

void mrpt::opengl::CGridPlaneXZ::getPlaneLimits ( float &  xmin,
float &  xmax,
float &  zmin,
float &  zmax 
) const [inline]

Definition at line 64 of file CGridPlaneXZ.h.

float mrpt::opengl::CGridPlaneXZ::getPlaneYcoord (  )  const [inline]

Definition at line 71 of file CGridPlaneXZ.h.

void mrpt::opengl::CGridPlaneXZ::render (  )  const [virtual]

Render.

Implements mrpt::opengl::CRenderizable.

void mrpt::opengl::CGridPlaneXZ::setGridFrequency ( float  freq  )  [inline]

Definition at line 73 of file CGridPlaneXZ.h.

References ASSERT_.

void mrpt::opengl::CGridPlaneXZ::setPlaneLimits ( float  xmin,
float  xmax,
float  zmin,
float  zmax 
) [inline]

Definition at line 58 of file CGridPlaneXZ.h.

void mrpt::opengl::CGridPlaneXZ::setPlaneYcoord ( float  y  )  [inline]

Definition at line 70 of file CGridPlaneXZ.h.


Member Data Documentation

Definition at line 54 of file CGridPlaneXZ.h.

Definition at line 53 of file CGridPlaneXZ.h.

Definition at line 51 of file CGridPlaneXZ.h.

Definition at line 51 of file CGridPlaneXZ.h.

Definition at line 52 of file CGridPlaneXZ.h.

Definition at line 52 of file CGridPlaneXZ.h.




Page generated by Doxygen 1.5.7.1 for MRPT 0.7.1 SVN: at Mon Aug 17 23:10:56 EDT 2009