DzImageComponent Class Reference

Inheritance diagram for DzImageComponent:

QObject Object DzImageLayer DzImageMask List of all members.

Properties

String label
Boolean visible

Methods

void addManipulator (DzImageManip manip)
Image getImageData ()
DzImageManip getManipulator (Number idx)
Number getNumManipulators ()
Size getSize ()
void insertManipulator (Number idx, DzImageManip manip)
Boolean removeManipulator (DzImageManip manip)
Boolean removeManipulator (Number idx)

Signals

void imageDataChanged ()
 Signature: "imageDataChanged()"
void labelChanged (String label)
 Signature: "labelChanged(const QString&)"
void manipulatorListChanged ()
 Signature: "manipulatorListChanged()"
void visibilityChanged (Boolean onOff)
 Signature: "visibilityChanged(bool)"

Detailed Description

A single layer in a multi-layer texture image.


Member Function Documentation

void DzImageComponent::addManipulator ( DzImageManip  manip  ) 

Adds a manipulator to the list of manipulators that affect this image.

Parameters:
manip A pointer to the manipulator to add to the layer. The layer takes ownership of this object and deletes it when it is no longer needed.

Image DzImageComponent::getImageData (  ) 

Returns:
The image data of the component.

DzImageManip DzImageComponent::getManipulator ( Number  idx  ) 

Parameters:
idx The index of the manipulator to return.
Returns:
A pointer to the manipulator at the given index. The layer owns this object.

Number DzImageComponent::getNumManipulators (  ) 

Returns:
The number of manipulators that affect this image layer.

Size DzImageComponent::getSize (  ) 

Returns:
The size of the image data of the component.

void DzImageComponent::imageDataChanged (  )  [signal]

Signature: "imageDataChanged()"

Emitted when the image data for the component has been changed.

void DzImageComponent::insertManipulator ( Number  idx,
DzImageManip  manip 
)

Inserts a manipulator into the list of manipulators that affect this image.

Parameters:
idx The position in the list where the manipulator should be inserted.
manip A pointer to the manipulator to add to the layer. The layer takes ownership of this object and deletes it when it is no longer needed.

void DzImageComponent::labelChanged ( String  label  )  [signal]

Signature: "labelChanged(const QString&)"

Emitted when the label of the component has been changed.

void DzImageComponent::manipulatorListChanged (  )  [signal]

Signature: "manipulatorListChanged()"

Emitted when the list of manipulators for the component has been changed.

Boolean DzImageComponent::removeManipulator ( DzImageManip  manip  ) 

Removes a manipulator from the list of manipulators that affect this layer.

Parameters:
manip A pointer to the manipulator to remove from this layer.
Returns:
true if the manipulator was removed, false if the manipulator was not in the list.

Boolean DzImageComponent::removeManipulator ( Number  idx  ) 

Removes a manipulator from the list of manipulators that affect this layer.

Parameters:
idx The index of the manipulator to remove from this layer.
Returns:
true if the manipulator was removed, false if the index was invalid.

void DzImageComponent::visibilityChanged ( Boolean  onOff  )  [signal]

Signature: "visibilityChanged(bool)"

Emitted when the visibility of the component has been changed.


Member Data Documentation

String DzImageComponent::label

The label for the component.

Boolean DzImageComponent::visible

Whether or not the component is visible.


Generated on Thu Sep 24 12:21:12 2009

Copyright © 2002 - 2009 DAZ 3D, Inc.