| Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
SketchDataRoot Class ReferenceParent class for SketchData<T> More...
Inheritance diagram for SketchDataRoot:
![]() Detailed DescriptionParent class for SketchData<T> Definition at line 20 of file SketchDataRoot.h.
Constructor & Destructor Documentation
Definition at line 65 of file SketchDataRoot.h.
Definition at line 71 of file SketchDataRoot.h.
never call this Member Function Documentation
Returns the current color assigned to the sketch; only used for rendering Sketch<bool> Definition at line 107 of file SketchDataRoot.h. Referenced by BaseData::inheritFrom().
Return the sketch's current colormap setting. Definition at line 117 of file SketchDataRoot.h.
Returns the ShapeSpace associated with the SketchSpace for this Sketch. Definition at line 12 of file SketchDataRoot.cc.
Width and height of sketches in this space. Definition at line 15 of file SketchDataRoot.cc. Referenced by SketchData< T >::at(), and SketchData< T >::savePixels().
Return the id of this sketch. Definition at line 80 of file SketchDataRoot.h. Referenced by SketchDataRoot::getViewableId().
Return the name of a sketch as a string. Definition at line 123 of file SketchDataRoot.h.
Width and height of sketches in this space. Definition at line 16 of file SketchDataRoot.cc. Referenced by SketchData< T >::savePixels().
Return the id of this sketch's parent; value is zero for parentless sketches. Definition at line 83 of file SketchDataRoot.h. Referenced by SketchDataRoot::getViewableId().
Returns the reference count of the sketch; should always be positive in user code. Definition at line 104 of file SketchDataRoot.h.
Returns the SketchSpace that owns the pool containing this SketchData object. Definition at line 74 of file SketchDataRoot.h. Referenced by VRmixin::encodeSketch().
Return the type of data stored in this sketch. Virtual function overridden by each SketchData<T> class. Implemented in SketchData< T >, SketchData< uchar >, SketchData< bool >, SketchData< DualCoding::uchar >, SketchData< skindex >, SketchData< T >, SketchData< T >, SketchData< T >, SketchData< T >, SketchData< T >, and SketchData< T >.
Return the id of the closest viewable ancestor; will be the sketch's own id if it's viewable. Definition at line 89 of file SketchDataRoot.h. Referenced by BaseData::inheritFrom().
Width and height of sketches in this space. Definition at line 14 of file SketchDataRoot.cc. Referenced by SketchData< T >::at(), SketchDataRoot::indexOf(), SketchDataRoot::indexX(), SketchDataRoot::indexY(), and SketchData< T >::savePixels().
Converts (x,y) into a sketch index. Definition at line 158 of file SketchDataRoot.h.
X coordinate encoded by sketch index. Definition at line 152 of file SketchDataRoot.h.
Y coordinate encoded by sketch index. Definition at line 155 of file SketchDataRoot.h.
Set parentId and inherit color and colormap properties from a parent sketch. Definition at line 32 of file SketchDataRoot.cc.
Set parentId and inherit color and colormap properties from a parent sketch. Definition at line 27 of file SketchDataRoot.cc.
Set parentId and inherit color and colormap properties from a parent sketch. Definition at line 18 of file SketchDataRoot.cc.
Returns true if the sketch is currently retained. Definition at line 101 of file SketchDataRoot.h.
Returns true if the sketch is currently viewable by the SketchGUI. Definition at line 92 of file SketchDataRoot.h. Referenced by SketchDataRoot::getViewableId().
Make a sketch non-viewable and change its name; used by NEW_SKETCH_N macro. Definition at line 42 of file SketchDataRoot.cc.
never call this
Sets or clears the retain bit, which prevents a sketch from being reclaimed even if its reference count goes to zero; such a sketch may still be retrieved via GET_SKETCH. Definition at line 98 of file SketchDataRoot.h.
Save a sketch to a buffer; used in the SketchGUI interface. Definition at line 58 of file SketchDataRoot.cc. Referenced by VRmixin::encodeSketch().
handle copying pixels to buffer Implemented in SketchData< T >, SketchData< uchar >, SketchData< bool >, SketchData< DualCoding::uchar >, SketchData< skindex >, and SketchData< T >.
Set the color of the sketch. Definition at line 51 of file SketchDataRoot.cc.
Set the color of the sketch. Definition at line 47 of file SketchDataRoot.cc.
Set the color of the sketch. Definition at line 111 of file SketchDataRoot.h. Referenced by SketchDataRoot::saveBuffer().
Change the colormap of a sketch. Definition at line 120 of file SketchDataRoot.h.
Change the name of a sketch. Note that since the name is actually stored in the SketchData object, all Sketch objects pointing to this sketch will be affected. Definition at line 126 of file SketchDataRoot.h.
Set the parent id of a sketch; normally used only inside visops functions. Definition at line 86 of file SketchDataRoot.h.
Sets whether the sketch is viewabile by the SketchGUI. Definition at line 95 of file SketchDataRoot.h.
Make a sketch viewable and change its name; used by NEW_SKETCH macro. Definition at line 37 of file SketchDataRoot.cc. Friends And Related Function Documentation
Definition at line 60 of file SketchDataRoot.h.
Definition at line 61 of file SketchDataRoot.h.
Definition at line 59 of file SketchDataRoot.h.
Definition at line 62 of file SketchDataRoot.h. Member Data Documentation
True if we've tried to clear this sketch but the SketchGUI was looking at it. Definition at line 47 of file SketchDataRoot.h. Color to use for displaying this sketch. Only meaningful for Sketch<bool> but info is preserved for inheritance by children or in case we coerce bool to int or float and then back to bool. Definition at line 52 of file SketchDataRoot.h. Referenced by SketchDataRoot::getColor(), and SketchDataRoot::setColor().
Which color map to use; default is to use the robot's own color table. Other tables are used for displaying grayscale images, or scaled quantities like distance or area using a continuous color scale from red to blue. Definition at line 57 of file SketchDataRoot.h. Referenced by SketchDataRoot::getColorMap(), SketchDataRoot::setColorMap(), and SketchData< T >::SketchData().
Sketch-specific integer ID, for unique identification. Definition at line 29 of file SketchDataRoot.h. Referenced by SketchDataRoot::getId().
Name of this sketch. Definition at line 26 of file SketchDataRoot.h. Referenced by SketchDataRoot::getName(), and SketchDataRoot::setName().
Integer ID of the "parent" Sketch, 0 if no parent; used in GUI. Definition at line 32 of file SketchDataRoot.h. Referenced by SketchDataRoot::getParentId(), and SketchDataRoot::setParentId().
Reference count for the sketch. When SketchPool detects this as 0, it may reuse it. Definition at line 35 of file SketchDataRoot.h. Referenced by SketchDataRoot::getRefcount().
Last time this sketch was included in a sketch list sent to the SketchGUI. Definition at line 44 of file SketchDataRoot.h.
If true, don't garbage collect this sketch when refcount is zero, so it can still be retrieved by GET_SKETCH. Definition at line 38 of file SketchDataRoot.h. Referenced by SketchDataRoot::isRetained(), and SketchDataRoot::retain().
The SketchSpace that owns the pool containing this SketchData object. Definition at line 23 of file SketchDataRoot.h. Referenced by SketchData< T >::at(), SketchDataRoot::getSpace(), SketchDataRoot::inheritFrom(), and SketchData< skindex >::operator()().
True if the Sketch is currently viewable via the SketchGUI. Definition at line 41 of file SketchDataRoot.h. Referenced by SketchDataRoot::isViewable(), and SketchDataRoot::setViewable(). The documentation for this class was generated from the following files: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
DualCoding 5.1CVS |
Generated Fri Mar 16 05:23:53 2012 by Doxygen 1.6.3 |