59 #define CAMERAOBJECT_C 145 std::cerr <<
"Error when creating Camera Object! materialNode is NULL!" << std::endl;
170 std::string nodename = std::string(
"CameraNode for Camera " + _name.toUtf8() );
194 output +=
"========================================================================\n";
198 output +=
"Object Contains Camera : ";
207 output +=
"========================================================================\n";
void setDataType(DataType _type)
MaterialNode * materialNode()
get a pointer to the materialnode
void setName(QString _name)
Set the name of the Object.
ACG::SceneGraph::CameraNode CameraNode
Simple Name for CameraNode.
bool picked(uint _node_idx)
detect if the node has been picked
void enablePicking(bool _enable)
virtual void cleanup()
Reset current object, including all related nodes.
virtual void setName(QString _name)
path to the file from which the object is loaded ( defaults to "." )
virtual void init(CameraNode *_plane=0)
Initialize current object, including all related nodes.
CameraNode * cameraNode_
Get the scenegraph Node.
void deleteData()
Delete all data attached to this object ( calls delete on each object )
virtual ~CameraObject()
destructor
std::string name() const
Returns: name of node (needs not be unique)
virtual void update(UpdateType _type=UPDATE_ALL)
This function is called to update the object.
bool pickingEnabled()
Check if picking is enabled for this Object.
QString name() const
return the name of the object. The name defaults to NONAME if unset.
virtual void update(UpdateType _type=UPDATE_ALL)
Update the whole Object (Selection,Topology,...)
void enablePicking(bool _enable)
Enable or disable picking for this Object.
virtual QString getObjectinfo()
Get all Info for the Object as a string.
CameraNode * cameraNode()
Get the scenegraph Node.
CameraObject()
constructor
QString getObjectinfo()
Get all Info for the Object as a string.
DataType dataType() const