SeExpr
Public Member Functions | Public Attributes | List of all members
VectorEditable Struct Reference

#include <Editable.h>

Inheritance diagram for VectorEditable:
Editable

Public Member Functions

 VectorEditable (const std::string &name, int startPos, int endPos, const SeExpr2::Vec3d &val)
 
bool parseComment (const std::string &comment)
 parses a comment. if false is returned then delete the control from the editable More...
 
std::string str () const
 
void appendString (std::stringstream &stream) const
 
virtual bool controlsMatch (const Editable &other) const
 
- Public Member Functions inherited from Editable
 Editable (const std::string &name, int startPos, int endPos)
 
void updatePositions (const Editable &other)
 
virtual ~Editable ()
 

Public Attributes

SeExpr2::Vec3d v
 
double min
 
double max
 
bool isColor
 
- Public Attributes inherited from Editable
std::string name
 
int startPos
 
int endPos
 

Detailed Description

Definition at line 114 of file Editable.h.

Constructor & Destructor Documentation

VectorEditable::VectorEditable ( const std::string &  name,
int  startPos,
int  endPos,
const SeExpr2::Vec3d val 
)
inline

Definition at line 119 of file Editable.h.

Member Function Documentation

void VectorEditable::appendString ( std::stringstream &  stream) const
inlinevirtual

Implements Editable.

Definition at line 139 of file Editable.h.

References printVal(), and v.

virtual bool VectorEditable::controlsMatch ( const Editable other) const
inlinevirtual

Implements Editable.

Definition at line 141 of file Editable.h.

References max, min, Editable::name, and v.

bool VectorEditable::parseComment ( const std::string &  comment)
inlinevirtual

parses a comment. if false is returned then delete the control from the editable

Implements Editable.

Definition at line 123 of file Editable.h.

References isColor, max, and min.

std::string VectorEditable::str ( ) const
inlinevirtual

Reimplemented from Editable.

Definition at line 133 of file Editable.h.

References max, min, Editable::name, and v.

Member Data Documentation

bool VectorEditable::isColor
double VectorEditable::max
double VectorEditable::min
SeExpr2::Vec3d VectorEditable::v

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